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: 6643721 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1B9C39F358 for ; Fri, 19 Jun 2015 08:48:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4086820967 for ; Fri, 19 Jun 2015 08:48:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5E68320968 for ; Fri, 19 Jun 2015 08:48:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754788AbbFSIre (ORCPT ); Fri, 19 Jun 2015 04:47:34 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:35212 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754649AbbFSIqj (ORCPT ); Fri, 19 Jun 2015 04:46:39 -0400 Received: by pacyx8 with SMTP id yx8so81008122pac.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=QGF+5sQEGSi9wPalshEY+7vlqcNbI3UbS7ZbH4rrXlZG/hGRyk45unUs/25sgZNzby OZgG13HFem7D/gy9hQNHAjVEVTvbhQsdKlllmrNdDwUSiGj3Yil6s0bJEc7foJaGLtkn NbBsPXYNyWk0rqFML8T41wkvRWEw5T9rin2rOk4XOy3VTPkSqNLiaE58cx7SBlZBpZzv nGjoYkhYKp6CYQG0yRraD4WIroyoVtE7fcVD7YirlTU3czIw0A4y8MXdnkcB4jlfxR5T CUWcY8LohR99BfErEBwXZMAXDnDlPQjlnBqRHwwZ223GDN51Co4Jqt697psqBBNM4pXL h4VA== X-Gm-Message-State: ALoCoQkkT+aiiR9NJg7vDDrYTNS9KejqJ26XLzO3lkbX0dWiZKcL6+a+Z1rq3wvdkGLQNPR7RGG/ 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" Cc: Thomas Gleixner , Jiang Liu , Lorenzo Pieralisi , Arnd Bergmann , Tomasz Nowicki , Grant Likely , Olof Johansson , Wei Huang , linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linaro-acpi@lists.linaro.org, Hanjun Guo , Bob Moore , Lv Zheng 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> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 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 {