From patchwork Fri Jun 19 08:46:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 6643771 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 93B42C0020 for ; Fri, 19 Jun 2015 08:50:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B8AAC20967 for ; Fri, 19 Jun 2015 08:50:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C930420965 for ; Fri, 19 Jun 2015 08:50:15 +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 1Z5rxn-0007if-R7; Fri, 19 Jun 2015 08:47:51 +0000 Received: from mail-pd0-f174.google.com ([209.85.192.174]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z5rwx-0007Cl-Bh for linux-arm-kernel@lists.infradead.org; Fri, 19 Jun 2015 08:47:00 +0000 Received: by pdbci14 with SMTP id ci14so27793533pdb.2 for ; Fri, 19 Jun 2015 01:46:38 -0700 (PDT) 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=OHNQIdZiZ544l2VNEfDUMNXz41snBfajx9dlK9HSUy4=; b=FlImSZ6Ez0ZakBD7tUlD5hnQ2v1YXhct2lNHddIbrW/+gQd0CssyLLhAYW1fDzK+ge IU8P1VJhHWvCpQ9q1jZOX8dcMy19bOauqaLJqIHi9JMjbSkkHn2cbVWXq0Hf3hkEm42Y 4GMVjPJVClnoACreVJuWBzzZG921zoQinDUF/O4qwav0szdMhSAYY/TWtv8v1sTM59au 6LknUhqB61OLhkBgOhMQyFY96XNIg5KICOESd2FbCgZ3psTXqziGqkhX+9PUspPQ/xm2 2aaBcc7UJuotZjG3HjwfyrzoaheHNILCAZPzMvr15Na0t/JnU8gi4q1OCyVaEdtQxUxv XD/w== X-Gm-Message-State: ALoCoQlALZL4MGTIW4Gu1qmral3iU4VfobCvqWuSqeFPzp0Mkv8o6cCwbWx4bowiSop2q4VNxRGs X-Received: by 10.68.180.131 with SMTP id do3mr29547510pbc.42.1434703598289; Fri, 19 Jun 2015 01:46:38 -0700 (PDT) Received: from localhost ([180.150.157.4]) by mx.google.com with ESMTPSA id gp1sm10398500pbd.64.2015.06.19.01.46.36 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 19 Jun 2015 01:46:37 -0700 (PDT) From: Hanjun Guo To: Marc Zyngier , Jason Cooper , Will Deacon , Catalin Marinas , "Rafael J. Wysocki" Subject: [PATCH v2 2/9] ACPICA: ACPI 6.0: Add values for MADT GIC version field. Date: Fri, 19 Jun 2015 16:46:05 +0800 Message-Id: <1434703572-26221-3-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1434703572-26221-1-git-send-email-hanjun.guo@linaro.org> References: <1434703572-26221-1-git-send-email-hanjun.guo@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150619_014659_486416_38B7EC50 X-CRM114-Status: GOOD ( 10.48 ) X-Spam-Score: -0.7 (/) Cc: Wei Huang , Lorenzo Pieralisi , Arnd Bergmann , linux-acpi@vger.kernel.org, linaro-acpi@lists.linaro.org, linux-kernel@vger.kernel.org, Tomasz Nowicki , Bob Moore , Olof Johansson , Hanjun Guo , Grant Likely , Thomas Gleixner , Jiang Liu , linux-arm-kernel@lists.infradead.org, Lv Zheng X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 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 --- This patch is also for review purpose only, already merged into ACPICA core and sent out for review for linux ACPICA by Lv Zheng. (Thank you, Bob and Lv :) ) include/acpi/actbl1.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index cadf21c..a21bc50 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h @@ -834,6 +834,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: Generic MSI Frame (ACPI 5.1) */ struct acpi_madt_generic_msi_frame {