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: 50064 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5862C218C9 for ; Fri, 19 Jun 2015 08:47:14 +0000 (UTC) Received: by wicnd19 with SMTP id nd19sf3462514wic.0 for ; Fri, 19 Jun 2015 01:47:13 -0700 (PDT) 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:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=GG1bweJidB4N47/IhHaCUP3ecvSFsdVlGLR4dUAJUwc=; b=bpfHl+61rSJUejSGgcNPo0Rvi/CaOURP/aldXtQz0ErEPqDwrDMRrNNWrxUdLRGLhR elnDKOFjXB+RNfhY26nVnnXor0w9s/6pX1SQ8/VPlDTeAi1KtY1OCOlc6B3UgerFMCLJ cpCIh+vjpZlXARq3wyMiG2WIggqPBKrtZqG/GUyv2zuNoZNAtTNk5Kb1YWe5cCizR/ja VaZelFehRTLBCdCuegd6/+eh+9nZ3Fj1Vb7mXwZZ5M8hMvcPdVhID662RtLUTEGvG5od JuGdLKiVRDLrnv4CFXEsdcgnsLcPiXXLKdFA6Hm6zxJQuFvOb+qJPyvoi0EjtzSN/Ty0 kSFQ== X-Gm-Message-State: ALoCoQnQfJvplf0Js1Etah58qfGkudqHj52N18zhyF6emYewvpqyqJfpBVJtSSwZG55okHnQcmxB X-Received: by 10.112.9.100 with SMTP id y4mr14250398lba.20.1434703633612; Fri, 19 Jun 2015 01:47:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.25.166 with SMTP id d6ls585238lag.54.gmail; Fri, 19 Jun 2015 01:47:13 -0700 (PDT) X-Received: by 10.112.213.108 with SMTP id nr12mr16922202lbc.42.1434703633437; Fri, 19 Jun 2015 01:47:13 -0700 (PDT) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com. [209.85.217.171]) by mx.google.com with ESMTPS id to6si8591418lbb.131.2015.06.19.01.47.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2015 01:47:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.171 as permitted sender) client-ip=209.85.217.171; Received: by lbbwc1 with SMTP id wc1so68030579lbb.2 for ; Fri, 19 Jun 2015 01:47:13 -0700 (PDT) X-Received: by 10.112.155.197 with SMTP id vy5mr16534755lbb.29.1434703633323; Fri, 19 Jun 2015 01:47:13 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp411717lbb; Fri, 19 Jun 2015 01:47:12 -0700 (PDT) X-Received: by 10.66.63.33 with SMTP id d1mr30127346pas.33.1434703631399; Fri, 19 Jun 2015 01:47:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ks3si15386836pdb.43.2015.06.19.01.47.10; Fri, 19 Jun 2015 01:47:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754736AbbFSIrF (ORCPT + 30 others); Fri, 19 Jun 2015 04:47:05 -0400 Received: from mail-pd0-f170.google.com ([209.85.192.170]:36781 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754630AbbFSIqj (ORCPT ); Fri, 19 Jun 2015 04:46:39 -0400 Received: by pdjm12 with SMTP id m12so86202373pdj.3 for ; Fri, 19 Jun 2015 01:46:38 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@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.171 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 {