From patchwork Wed Jul 1 06:44:10 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zheng, Lv" X-Patchwork-Id: 50507 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f200.google.com (mail-lb0-f200.google.com [209.85.217.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 57ED7214B3 for ; Wed, 1 Jul 2015 06:44:56 +0000 (UTC) Received: by lbbpo10 with SMTP id po10sf3030196lbb.1 for ; Tue, 30 Jun 2015 23:44:55 -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=8ZiMFb3buDjptBcRAQfSWE5bNg98sNJjvkTFPlNhsFc=; b=ftPjlJjHwDY/N2cAMQ77x8HBtdDYi8ueABqyXCokEPISIAuLjb5SwLdinAqOA6xTPp mQQyB7Pnu/h3aRDOY75o9PkdLMSqDdSSYYnwGOtYvgEnbSb2bBClQ1lyMGt/kObQsLu3 DhPncMfPuowi4Bmk/WN0obcBbZ2V8RHgZrLgMwb03M5VSO8Kw7T22OwGyjLgeqZzLNwc +OFVfZXzHJWLC4a7+KwfyeXPV3II+P9l9aVPY7KBV1tRg8EO0q9iByPim18rBkn39oIi uZibhrrXxQxZlPxoQf7LyPbO/U1lP9nqPq//PXWsEnqs+IUN+gUImzLW0R9RqAgWomoW NkRg== X-Gm-Message-State: ALoCoQkpGwKTg+RxxTDEM0235Spwxrou7R/QL5ngB0LpzZv4u9VbuVU+XeMlg8Br2LO6LzFqa67g X-Received: by 10.152.5.2 with SMTP id o2mr16303160lao.0.1435733095434; Tue, 30 Jun 2015 23:44:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.40 with SMTP id kv8ls130186lac.94.gmail; Tue, 30 Jun 2015 23:44:55 -0700 (PDT) X-Received: by 10.152.6.132 with SMTP id b4mr20861397laa.53.1435733095029; Tue, 30 Jun 2015 23:44:55 -0700 (PDT) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id dp7si800441lbc.155.2015.06.30.23.44.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2015 23:44:54 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by lagh6 with SMTP id h6so34119967lag.2 for ; Tue, 30 Jun 2015 23:44:54 -0700 (PDT) X-Received: by 10.152.18.162 with SMTP id x2mr4240630lad.73.1435733094752; Tue, 30 Jun 2015 23:44:54 -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 hn6csp388553lbb; Tue, 30 Jun 2015 23:44:53 -0700 (PDT) X-Received: by 10.70.89.199 with SMTP id bq7mr50840006pdb.168.1435733092860; Tue, 30 Jun 2015 23:44:52 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k1si1735339pdr.179.2015.06.30.23.44.52; Tue, 30 Jun 2015 23:44:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-acpi-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 S1753327AbbGAGom (ORCPT + 6 others); Wed, 1 Jul 2015 02:44:42 -0400 Received: from mga01.intel.com ([192.55.52.88]:43606 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751092AbbGAGof (ORCPT ); Wed, 1 Jul 2015 02:44:35 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 30 Jun 2015 23:44:16 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.15,383,1432623600"; d="scan'208";a="738263654" Received: from lvzheng-z530.sh.intel.com ([10.239.159.94]) by fmsmga001.fm.intel.com with ESMTP; 30 Jun 2015 23:44:14 -0700 From: Lv Zheng To: "Rafael J. Wysocki" , Len Brown Cc: Lv Zheng , Lv Zheng , , linux-acpi@vger.kernel.org, Hanjun Guo , Bob Moore Subject: [PATCH v3 12/26] ACPICA: ACPI 6.0: Add values for MADT GIC version field. Date: Wed, 1 Jul 2015 14:44:10 +0800 Message-Id: <551c6e6c5a36225afee1a5e65d4932ed5a06a538.1435731597.git.lv.zheng@intel.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: References: Sender: linux-acpi-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lv.zheng@intel.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 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: , 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 --- include/acpi/actbl1.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/include/acpi/actbl1.h b/include/acpi/actbl1.h index 06b61f0..fcd5709 100644 --- a/include/acpi/actbl1.h +++ b/include/acpi/actbl1.h @@ -835,6 +835,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 {