From patchwork Fri Jun 19 03:40:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zheng, Lv" X-Patchwork-Id: 50062 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5753722903 for ; Fri, 19 Jun 2015 03:40:24 +0000 (UTC) Received: by wgez8 with SMTP id z8sf24559301wge.2 for ; Thu, 18 Jun 2015 20:40:23 -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=dzP3stSsjcLys8wo8bPbPs8/ul1sDepPQ0rByrnCyMzxJjSvFaA1My7TLo9Bj0Qany tVHlSc25RJzx9/fq+oYbYVh1sBEHzdCWNnZfr9RVllAKKdScDev/kil5pF7G+CzA7fDO j2mcfpc1nfcmXHyCe9P4DACRjXpMNdVJNyk6rdhMg1H+KiUWE67rPTqVHj8dVaerz9Dt kExq1FKN1I7rcnpTDMFIJfJautnlxb7BpEt/IS3a7gI7Gqnj/HfFmyipE3RMxc7hU6V2 bu1sKgGMpuQgzgc7jgIueiZ+1i6+OWNX9uwfZNingGd/T36NCxY78l2Iw4kwnGsiqgcb cXnQ== X-Gm-Message-State: ALoCoQldWarbVFTU4IIXoZ488sKB3ROx/24MysR5TFxSn9dtUu5BCHb2kN2yButjkVL+lg4VMFtc X-Received: by 10.180.182.49 with SMTP id eb17mr1320840wic.2.1434685223700; Thu, 18 Jun 2015 20:40:23 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.88.41 with SMTP id bd9ls568066lab.109.gmail; Thu, 18 Jun 2015 20:40:23 -0700 (PDT) X-Received: by 10.112.190.10 with SMTP id gm10mr15394491lbc.2.1434685223534; Thu, 18 Jun 2015 20:40:23 -0700 (PDT) Received: from mail-la0-f53.google.com (mail-la0-f53.google.com. [209.85.215.53]) by mx.google.com with ESMTPS id t12si7190742lby.128.2015.06.18.20.40.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jun 2015 20:40:23 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.53 as permitted sender) client-ip=209.85.215.53; Received: by laka10 with SMTP id a10so66380201lak.0 for ; Thu, 18 Jun 2015 20:40:23 -0700 (PDT) X-Received: by 10.112.220.7 with SMTP id ps7mr15597490lbc.72.1434685223446; Thu, 18 Jun 2015 20:40:23 -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 hn6csp273498lbb; Thu, 18 Jun 2015 20:40:22 -0700 (PDT) X-Received: by 10.70.136.67 with SMTP id py3mr27494641pdb.112.1434685221575; Thu, 18 Jun 2015 20:40:21 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id lz6si14144434pdb.199.2015.06.18.20.40.20; Thu, 18 Jun 2015 20:40:21 -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 S1752606AbbFSDkM (ORCPT + 6 others); Thu, 18 Jun 2015 23:40:12 -0400 Received: from mga01.intel.com ([192.55.52.88]:19369 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932291AbbFSDkI (ORCPT ); Thu, 18 Jun 2015 23:40:08 -0400 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 18 Jun 2015 20:40:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,642,1427785200"; d="scan'208";a="730403617" Received: from lvzheng-z530.sh.intel.com ([10.239.159.74]) by fmsmga001.fm.intel.com with ESMTP; 18 Jun 2015 20:40:05 -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 16/32] ACPICA: ACPI 6.0: Add values for MADT GIC version field. Date: Fri, 19 Jun 2015 11:40:02 +0800 Message-Id: <46d3ee764e1f7ea60930321102d87fcb3deadb74.1434684720.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.53 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 {