From patchwork Tue Nov 17 09:40:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shannon Zhao X-Patchwork-Id: 7634791 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 78C12BF90C for ; Tue, 17 Nov 2015 09:56:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9204220489 for ; Tue, 17 Nov 2015 09:56:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 634AB20483 for ; Tue, 17 Nov 2015 09:56:45 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zycxx-0001L9-E5; Tue, 17 Nov 2015 09:54:21 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zycnl-0006HS-DH for linux-arm-kernel@lists.infradead.org; Tue, 17 Nov 2015 09:43:53 +0000 Received: by wmvv187 with SMTP id v187so217764543wmv.1 for ; Tue, 17 Nov 2015 01:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro_org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4NiHp967Vp5mfMWKLiQf98AOdHuu3EYkl/XfSPs7X3k=; b=w0Bzf8VcBvSmdTRQGdAbNUFlBniXsO6JNpRxGOR7KZTAkp7U7nzV4Qu/HREd8WEksR S0JytuoXDTc4Jr5LdwAbHEM7M5vfAfehGKp4O5hRi4Sjrmy9WYa7AybAM149JqPnfPiq ugoNHufMyRwCsB6XBrVhSzvz0MnVqdpd5/ZMeBvxhv0r4n9EFHBBc1oZjdPUuT96ACgq 0aDWBelKwKZchi2lQ9i2pPlcWdqSMvuOkmB6CwC+gK4PqC8sAGThKVJQtiEUV/6UtmAC m2bmcTNzKapoWxnQA75ZeRY533fezCu4Jx8y07SDx0A6cNF4CGgSAQSMFkkKTTk6Inzo Cv/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4NiHp967Vp5mfMWKLiQf98AOdHuu3EYkl/XfSPs7X3k=; b=MjCSgJ2hPK7X2rsGZiTpMjHHWRhwnghH+IQ8Oa0NeKE/SEfiHaCqSqGwiOILGVNddL 43fNrJbuhs+oOqJT1CvJ5/njKDZlylXeEN2lYzXSAJ/f/ROSuLRvvY3/oZPejp09Q9d0 dHeC+bZNZDWmEXa7gufG0q7JDz12QoPOprjrEIYGNAUQEWM9raW53V4gerXm5gKUQVdm cXSiV3bt8IXbwWHcj540gDLdq6btWXT1yRxRQ7e7kSIPvod6iVaxDtkM9Q8xxKTa36Ak nBl4cszJ6VzS5lrTMcaH+eDsKPntJrdniMlkP6Mt3uzVtH2O3uEo1sSM7TpwlnO7p/SJ 3VBA== X-Gm-Message-State: ALoCoQlw0ynOshQcVOIdRTAzmUz8H87bIQYzfry3nyR/2Rad9ECpGJiq6siFF5ELBr2NcD/5JRyk X-Received: by 10.28.87.72 with SMTP id l69mr1426295wmb.70.1447753407859; Tue, 17 Nov 2015 01:43:27 -0800 (PST) Received: from localhost ([78.129.251.54]) by smtp.gmail.com with ESMTPSA id u185sm22946732wmu.19.2015.11.17.01.43.25 (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 17 Nov 2015 01:43:27 -0800 (PST) From: shannon.zhao@linaro.org To: ian.campbell@citrix.com, stefano.stabellini@citrix.com, keir@xen.org, jbeulich@suse.com, andrew.cooper3@citrix.com, julien.grall@citrix.com, xen-devel@lists.xen.org Subject: [PATCH v3 16/62] ACPICA: ACPI 6.0: Add values for MADT GIC version field Date: Tue, 17 Nov 2015 17:40:15 +0800 Message-Id: <1447753261-7552-17-git-send-email-shannon.zhao@linaro.org> X-Mailer: git-send-email 1.9.5.msysgit.1 In-Reply-To: <1447753261-7552-1-git-send-email-shannon.zhao@linaro.org> References: <1447753261-7552-1-git-send-email-shannon.zhao@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151117_014349_821578_68F5B6DD X-CRM114-Status: GOOD ( 10.24 ) X-Spam-Score: -2.6 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, hangaohuai@huawei.com, ard.biesheuvel@linaro.org, shannon.zhao@linaro.org, christoffer.dall@linaro.org, peter.huangpeng@huawei.com, david.vrabel@citrix.com, zhaoshenglong@huawei.com, linux-arm-kernel@lists.infradead.org, roger.pau@citrix.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Hanjun Guo ACPICA commit 4b100dc43e8baee8c8b4891b23bc7ad03eba6a28 Support for the new version field in the generic distributor subtable. Hanjun Guo Link: https://github.com/acpica/acpica/commit/4b100dc4 Signed-off-by: Hanjun Guo Signed-off-by: Bob Moore Signed-off-by: Lv Zheng Signed-off-by: Rafael J. Wysocki [Linux commit a8bd0f07eb594df51845d33f272fb1952fec1a6f] Signed-off-by: Shannon Zhao Acked-by: Stefano Stabellini --- xen/include/acpi/actbl1.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xen/include/acpi/actbl1.h b/xen/include/acpi/actbl1.h index 7dd6960..cf31837 100644 --- a/xen/include/acpi/actbl1.h +++ b/xen/include/acpi/actbl1.h @@ -804,6 +804,17 @@ struct acpi_madt_generic_distributor { u8 reserved2[3]; /* reserved - must be zero */ }; +/* Values for Version field above */ + +enum acpi_madt_gic_version { + ACPI_MADT_GIC_VERSION_NONE = 0, + ACPI_MADT_GIC_VERSION_V1 = 1, + ACPI_MADT_GIC_VERSION_V2 = 2, + ACPI_MADT_GIC_VERSION_V3 = 3, + ACPI_MADT_GIC_VERSION_V4 = 4, + ACPI_MADT_GIC_VERSION_RESERVED = 5 /* 5 and greater are reserved */ +}; + /* 13: GIC MSI Frame (ACPI 5.1) */ struct acpi_madt_generic_msi_frame {