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: 56728 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1825727lbb; Tue, 17 Nov 2015 01:44:56 -0800 (PST) X-Received: by 10.31.8.195 with SMTP id 186mr2686751vki.107.1447753496735; Tue, 17 Nov 2015 01:44:56 -0800 (PST) Return-Path: Received: from lists.xen.org (lists.xenproject.org. [50.57.142.19]) by mx.google.com with ESMTPS id l204si2018139vke.38.2015.11.17.01.44.56 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 17 Nov 2015 01:44:56 -0800 (PST) Received-SPF: neutral (google.com: 50.57.142.19 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) client-ip=50.57.142.19; Authentication-Results: mx.google.com; spf=neutral (google.com: 50.57.142.19 is neither permitted nor denied by best guess record for domain of xen-devel-bounces@lists.xen.org) smtp.mailfrom=xen-devel-bounces@lists.xen.org; dkim=neutral (body hash did not verify) header.i=@linaro_org.20150623.gappssmtp.com Received: from localhost ([127.0.0.1] helo=lists.xen.org) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZycnS-0003HY-OR; Tue, 17 Nov 2015 09:43:30 +0000 Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZycnR-0003GB-JQ for xen-devel@lists.xen.org; Tue, 17 Nov 2015 09:43:29 +0000 Received: from [85.158.137.68] by server-6.bemta-3.messagelabs.com id 8E/35-29649-0C6FA465; Tue, 17 Nov 2015 09:43:28 +0000 X-Env-Sender: shannon.zhao@linaro.org X-Msg-Ref: server-7.tower-31.messagelabs.com!1447753407!4318203!1 X-Originating-IP: [74.125.82.54] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 7.19.2; banners=-,-,- X-VirusChecked: Checked Received: (qmail 62585 invoked from network); 17 Nov 2015 09:43:28 -0000 Received: from mail-wm0-f54.google.com (HELO mail-wm0-f54.google.com) (74.125.82.54) by server-7.tower-31.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 17 Nov 2015 09:43:28 -0000 Received: by wmww144 with SMTP id w144so145571005wmw.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=UV9Mbe+nFLC4aqxafU6F4EG/42ggW9Cubr3J0EtAFXm8g1H6pA9chMHLqO35iJsLYx QiCxThi4KnMacuuRgU8ThOJvXuSFaWMRwWDL+or52Z2TW18//Hl14ibLqbiGRj2wLYTL ZFY+VhV4TInmUSwMd/SyUNhtrC2vh8YwhBbbKQvWyzCU8IwynXctfuZt7LCBzOlehU9U QcWYHliNlQVpzeCwjWpmiy0Xqhm6Rh2I4tSRpYz2vhVR98BXYjYebuMs6jCrLrqLJQhF xaNpBH/iWRyt1lOd+3VWJKgw0Yfhx8dmIVmk5qH+wQfl/YAlJZNEGtixqnFtcLsHLQuA kJUQ== X-Gm-Message-State: ALoCoQmsNLGjrW4mRL5ccZipKp/yOTEssFRpM6tJHrN0N200NOS5Dc35i1UI5HqhqASoZoysBJ14 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 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> 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 Subject: [Xen-devel] [PATCH v3 16/62] ACPICA: ACPI 6.0: Add values for MADT GIC version field X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org 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 --- xen/include/acpi/actbl1.h | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 2.1.0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel 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 {