From patchwork Fri Nov 17 23:42:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Schmauss, Erik" X-Patchwork-Id: 119234 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp1139503qgn; Fri, 17 Nov 2017 15:46:39 -0800 (PST) X-Google-Smtp-Source: AGs4zMZVc/wrJnZ4B6H/jkTJ+8+pB5e6izXmzqLRp1dXZglKTx0q7WyBAJ/c7PRO4kpQHTTBR+s6 X-Received: by 10.84.132.34 with SMTP id 31mr717220ple.395.1510962399097; Fri, 17 Nov 2017 15:46:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510962399; cv=none; d=google.com; s=arc-20160816; b=nutFrohv+L+faEVWH8iL40Zm+nhHhZvFR+B6PUtSBK++nbHPDbKby3LfhdgKDYQl6y 4s9DPLsOhitgOwhSY7naivnM2ekwfa/RZ5A7tihuTT/k/jOi2vVy9QJhmdv3oChrCwdB fJVebY5m8bIk98d7m7Cim3U2/FNvtOWX/AAwpwoJJbjIkPgS5nUz0ZHscR7stH4i8dwb j3TasjuQo7Mp9AQGkfD72Ta5mm6Ncrq4VJonz/Uuk9JrkK214IlaJSbVMwkeB4A94EBp qf2IbNKl98RPtFSL39DV+SCgiGc8HqXcMYlNtlnnul3rjJqc++SKwiqfCosaWz/LU5/A USgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=jlwEzKrj1OBfK+fPZCV+kV1rouwUz9j0wZOSLVjinpg=; b=plOxpGGXuiB2wG+gKGXW2oPlAKPCYgZtKDbep1vBEbgDq1HMtGwNbZaunNFxJcSpyY qthes44sTI1KYHT561hDddAAmSIYmT5kwPG82kRNSyTGi/xvw9xD6TX24nbS5/c+hz4p 3FGRmtT7Oxd5agF3hGDsv1Xcm2qcnbnbJ1Oj1PbKwTIky9sDeXAG/tq2Fnr8D9g5fg8d nrwTA7QIR+89uvg10o712Sux3NRrBsHH+eD5qrO4MzHIlvrKW1uXezofYDc0NSI2VRUu vq20zcb7KCWwG+yYqBYJl+2NxEyhShJsQFWmaTdhkHTDJ5Y5UbQcGloAqsMQBpwGeEiE n6GA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y38si3661695plh.61.2017.11.17.15.46.38; Fri, 17 Nov 2017 15:46:39 -0800 (PST) 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; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-acpi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-acpi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759958AbdKQXqh (ORCPT + 7 others); Fri, 17 Nov 2017 18:46:37 -0500 Received: from mga02.intel.com ([134.134.136.20]:39431 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759953AbdKQXqh (ORCPT ); Fri, 17 Nov 2017 18:46:37 -0500 Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Nov 2017 15:46:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,411,1505804400"; d="scan'208";a="177058270" Received: from bartok.jf.intel.com ([10.54.75.154]) by fmsmga005.fm.intel.com with ESMTP; 17 Nov 2017 15:46:36 -0800 From: Erik Schmauss To: linux-acpi@vger.kernel.org Cc: Hanjun Guo , Bob Moore , Erik Schmauss Subject: [PATCH 04/15] ACPICA: iasl: Add SMMUv3 device ID mapping index support Date: Fri, 17 Nov 2017 15:42:19 -0800 Message-Id: <20171117234230.913-5-erik.schmauss@intel.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20171117234230.913-1-erik.schmauss@intel.com> References: <20171117234230.913-1-erik.schmauss@intel.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org From: Hanjun Guo ACPICA commit 5c371879e035122c5807752f42247fd091d107d6 SMMUv3 device ID mapping index is used for SMMUv3 MSI which is introduced in IORT spec revision c, add its support for iasl. Tested with iasl -t IORT then get the right SMMUv3 node in iort.asl. Link: https://github.com/acpica/acpica/commit/5c371879 Signed-off-by: Hanjun Guo Signed-off-by: Bob Moore Signed-off-by: Erik Schmauss --- include/acpi/actbl2.h | 1 + 1 file changed, 1 insertion(+) -- 2.13.6 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 2623f9d72e46..0d60d5df14f8 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -810,6 +810,7 @@ struct acpi_iort_smmu_v3 { u8 pxm; u8 reserved1; u16 reserved2; + u32 id_mapping_index; }; /* Values for Model field above */