From patchwork Wed Jun 24 03:04:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zheng, Lv" X-Patchwork-Id: 50251 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f72.google.com (mail-wg0-f72.google.com [74.125.82.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5DB1121575 for ; Wed, 24 Jun 2015 03:04:41 +0000 (UTC) Received: by wgfj7 with SMTP id j7sf7418999wgf.1 for ; Tue, 23 Jun 2015 20:04:40 -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=cbMyErHIRsffjIO8sw1OrzXKKxgTALHdmbtK7baJTLShzejKxVrpixRjk4YDFYJaYU IMzC4vuxLy53bVwFQzqfBbfBG/Os5b2zKDmq0c0T/n3qV+5a6HYKxXzzVR6pjslkjApU Weq3QpdUWSBxti+cH0SI+jRYEt6J1/MYGlWqYKy0aIoxzYDUhxTYqFENNf3LOAbsDL0l V+atDruBAGSNPhO13xawykcHU5R9P7qWpjpz17xpg2rjk+Vjtr7C51sFbj1s1NxSQVKP 4zJg+bFLCRKQ3kRf1Wo+9ChTfcpu2xjnCQ+QM0098PHhDNMCVFWU1M3v1zj6Zp5ieWFS rd+Q== X-Gm-Message-State: ALoCoQmDqZQTYnfkscS5xPhKNOjvfve8aYd0n5508Q3MAcOtikjBgoG7kX3OoZ1C3z1nhqapRrzC X-Received: by 10.112.9.100 with SMTP id y4mr34292936lba.20.1435115080576; Tue, 23 Jun 2015 20:04:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.35 with SMTP id cj3ls145626lad.7.gmail; Tue, 23 Jun 2015 20:04:40 -0700 (PDT) X-Received: by 10.152.115.199 with SMTP id jq7mr9918755lab.113.1435115080430; Tue, 23 Jun 2015 20:04:40 -0700 (PDT) Received: from mail-la0-f45.google.com (mail-la0-f45.google.com. [209.85.215.45]) by mx.google.com with ESMTPS id de7si5243229lbd.58.2015.06.23.20.04.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 20:04:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.45 as permitted sender) client-ip=209.85.215.45; Received: by lagx9 with SMTP id x9so17917276lag.1 for ; Tue, 23 Jun 2015 20:04:40 -0700 (PDT) X-Received: by 10.152.36.161 with SMTP id r1mr37892095laj.88.1435115080012; Tue, 23 Jun 2015 20:04:40 -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 hn6csp3484416lbb; Tue, 23 Jun 2015 20:04:38 -0700 (PDT) X-Received: by 10.66.145.74 with SMTP id ss10mr75565881pab.28.1435115078078; Tue, 23 Jun 2015 20:04:38 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hy8si37490655pab.227.2015.06.23.20.04.37; Tue, 23 Jun 2015 20:04:38 -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 S934198AbbFXDE2 (ORCPT + 6 others); Tue, 23 Jun 2015 23:04:28 -0400 Received: from mga14.intel.com ([192.55.52.115]:56508 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934135AbbFXDEZ (ORCPT ); Tue, 23 Jun 2015 23:04:25 -0400 Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 23 Jun 2015 20:04:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,669,1427785200"; d="scan'208";a="513300365" Received: from lvzheng-z530.sh.intel.com ([10.239.159.147]) by FMSMGA003.fm.intel.com with ESMTP; 23 Jun 2015 20:04:23 -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 v2 14/28] ACPICA: ACPI 6.0: Add values for MADT GIC version field. Date: Wed, 24 Jun 2015 11:04:19 +0800 Message-Id: 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.45 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 {