From patchwork Tue Dec 2 18:28:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Auger Eric X-Patchwork-Id: 41827 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C597425E3D for ; Tue, 2 Dec 2014 18:28:27 +0000 (UTC) Received: by mail-wg0-f72.google.com with SMTP id y19sf8494072wgg.7 for ; Tue, 02 Dec 2014 10:28:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=lCraMCyGd6WRLDJwjnBA/iMw5RzdmIEflvnfqBoNS34=; b=Bjsgg+Mcy3PSeeaS5ogj+6rI2mnnxV6j4iYquE+MF9BphLTs5aYRrgWvYon9Lh8nCk eg1i1Po1lvuKx5Pbnfic914JagB3JrAe7HmW1exkeT92IDR3xuhFqdAc+3Jw7Pf8/dNR B2dYnAt8jCcNmVNItBCheEHjcrCAs030684MU4iVx32CdIA/eCukNY7OtvEeXjANOGq5 MWI7EypTfIJA7aZWCki8bFTsrAdTgTM6qdQe8Yyjpkls+6iws0K3w62pz73wr9PGUgYs /mvl0OZ5PzFNji99JjKjv1S/n1g0Jkj+l1OFZRsy0MC5eDqNuz0xEwcqyomaXc06/g4Y sgnw== X-Gm-Message-State: ALoCoQlXyEPaqIq/FABPGzn+ohnDeEUZjxlz8v6kMnEOduQvGYt1rVYKoa+J3QO18bDjxE/agdY7 X-Received: by 10.180.82.34 with SMTP id f2mr1177492wiy.1.1417544907005; Tue, 02 Dec 2014 10:28:27 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.165 with SMTP id 5ls70584lav.42.gmail; Tue, 02 Dec 2014 10:28:26 -0800 (PST) X-Received: by 10.152.3.67 with SMTP id a3mr643853laa.56.1417544906826; Tue, 02 Dec 2014 10:28:26 -0800 (PST) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com. [209.85.217.169]) by mx.google.com with ESMTPS id v7si21028642lal.125.2014.12.02.10.28.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Dec 2014 10:28:26 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) client-ip=209.85.217.169; Received: by mail-lb0-f169.google.com with SMTP id p9so11063581lbv.28 for ; Tue, 02 Dec 2014 10:28:26 -0800 (PST) X-Received: by 10.112.235.196 with SMTP id uo4mr623581lbc.66.1417544906657; Tue, 02 Dec 2014 10:28:26 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp536949lbc; Tue, 2 Dec 2014 10:28:26 -0800 (PST) X-Received: by 10.180.78.9 with SMTP id x9mr7351494wiw.39.1417544905762; Tue, 02 Dec 2014 10:28:25 -0800 (PST) Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com. [209.85.212.180]) by mx.google.com with ESMTPS id gd5si36205626wjb.148.2014.12.02.10.28.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Dec 2014 10:28:25 -0800 (PST) Received-SPF: pass (google.com: domain of eric.auger@linaro.org designates 209.85.212.180 as permitted sender) client-ip=209.85.212.180; Received: by mail-wi0-f180.google.com with SMTP id n3so21839585wiv.13 for ; Tue, 02 Dec 2014 10:28:25 -0800 (PST) X-Received: by 10.180.85.33 with SMTP id e1mr7190656wiz.61.1417544905457; Tue, 02 Dec 2014 10:28:25 -0800 (PST) Received: from midway01-04-00.lavalab ([81.128.185.50]) by mx.google.com with ESMTPSA id dm10sm47446829wib.18.2014.12.02.10.28.24 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Dec 2014 10:28:24 -0800 (PST) From: Eric Auger To: eric.auger@st.com, christoffer.dall@linaro.org, qemu-devel@nongnu.org, a.rigo@virtualopensystems.com, marc.zyngier@arm.com, ard.biesheuvel@linaro.org, agraf@suse.de, peter.maydell@linaro.org, pbonzini@redhat.com, afaerber@suse.de Cc: eric.auger@linaro.org, kvmarm@lists.cs.columbia.edu, patches@linaro.org, a.motakis@virtualopensystems.com, alex.williamson@redhat.com Subject: [PATCH 1/2] linux-headers: Update KVM headers from linux-next tag ToBeFilled Date: Tue, 2 Dec 2014 18:28:13 +0000 Message-Id: <1417544894-2000-2-git-send-email-eric.auger@linaro.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1417544894-2000-1-git-send-email-eric.auger@linaro.org> References: <1417544894-2000-1-git-send-email-eric.auger@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: eric.auger@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.169 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Syncup KVM related linux headers from linux-next tree using scripts/update-linux-headers.sh. Add a new group/attribute in VGIC KVM device enabling to force vgic init: KVM_DEV_ARM_VGIC_GRP_CTRL/KVM_DEV_ARM_VGIC_CTRL_INIT Signed-off-by: Eric Auger --- linux-headers/asm-arm/kvm.h | 2 ++ linux-headers/asm-arm64/kvm.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/linux-headers/asm-arm/kvm.h b/linux-headers/asm-arm/kvm.h index 09ee408..0db25bc 100644 --- a/linux-headers/asm-arm/kvm.h +++ b/linux-headers/asm-arm/kvm.h @@ -175,6 +175,8 @@ struct kvm_arch_memory_slot { #define KVM_DEV_ARM_VGIC_OFFSET_SHIFT 0 #define KVM_DEV_ARM_VGIC_OFFSET_MASK (0xffffffffULL << KVM_DEV_ARM_VGIC_OFFSET_SHIFT) #define KVM_DEV_ARM_VGIC_GRP_NR_IRQS 3 +#define KVM_DEV_ARM_VGIC_GRP_CTRL 4 +#define KVM_DEV_ARM_VGIC_CTRL_INIT 0 /* KVM_IRQ_LINE irq field index values */ #define KVM_ARM_IRQ_TYPE_SHIFT 24 diff --git a/linux-headers/asm-arm64/kvm.h b/linux-headers/asm-arm64/kvm.h index 8e38878..cbce625 100644 --- a/linux-headers/asm-arm64/kvm.h +++ b/linux-headers/asm-arm64/kvm.h @@ -161,6 +161,8 @@ struct kvm_arch_memory_slot { #define KVM_DEV_ARM_VGIC_OFFSET_SHIFT 0 #define KVM_DEV_ARM_VGIC_OFFSET_MASK (0xffffffffULL << KVM_DEV_ARM_VGIC_OFFSET_SHIFT) #define KVM_DEV_ARM_VGIC_GRP_NR_IRQS 3 +#define KVM_DEV_ARM_VGIC_GRP_CTRL 4 +#define KVM_DEV_ARM_VGIC_CTRL_INIT 0 /* KVM_IRQ_LINE irq field index values */ #define KVM_ARM_IRQ_TYPE_SHIFT 24