Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751495AbdFFKtS (ORCPT ); Tue, 6 Jun 2017 06:49:18 -0400 Received: from mail-sn1nam02on0066.outbound.protection.outlook.com ([104.47.36.66]:48886 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751388AbdFFKtO (ORCPT ); Tue, 6 Jun 2017 06:49:14 -0400 Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=cavium.com; From: Ganapatrao Kulkarni To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org Cc: Will.Deacon@arm.com, lorenzo.pieralisi@arm.com, hanjun.guo@linaro.org, sudeep.holla@arm.com, robin.murphy@arm.com, lv.zheng@intel.com, joro@8bytes.org, rjw@rjwysocki.net, lenb@kernel.org, jnair@caviumnetworks.com, gpkulkarni@gmail.com Subject: [PATCH v2 1/2] acpica: iort: Update SMMUv3 header for proximity domain mapping Date: Tue, 6 Jun 2017 16:17:44 +0530 Message-Id: <1496746065-11082-2-git-send-email-ganapatrao.kulkarni@cavium.com> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1496746065-11082-1-git-send-email-ganapatrao.kulkarni@cavium.com> References: <1496746065-11082-1-git-send-email-ganapatrao.kulkarni@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0031.INDPRD01.PROD.OUTLOOK.COM (10.174.214.17) To BN3PR07MB2564.namprd07.prod.outlook.com (10.167.4.153) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN3PR07MB2564: X-MS-Office365-Filtering-Correlation-Id: 829ade96-7f51-4648-74ab-08d4acc9a21e X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BN3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itPysougU7VsQ/Iw/NmXT1MVh6kN437I0VIDfAv+NnRCaf0i67eGlZbkN0YcjgQ0RvSatmmGroJFtWNgE0AI3p/5jKiF44Jw=;20:zwmAjwZeu3UpMNSgmYPbcRIohqKkwGXsxu91+FPX837hqFd91U2IkQ5RpFAv9R8rQEma8YnyLiHvnSVgs6/HdPxvDZ+86rPnMJ9u3+aw16SkZeD8Df3We07sFFHiGj43mhAdxei2KlyFHiby8rCge6dzvIwt00FKoPWiMwHffutN37VDN5HpDqU/N1u+LNvtFQ+TK/mSrAivwZTP3x4+cvdeBV2AKQM3220q59f3e75o4p6Q6tOX5RS9c5iiTgl9r0uxkLAFJdF0VA4YVfYStmpPsPPjDP4q23E/J+X5V29r2SnR2zC2Z1I4QgMQLKOeQJcH+Og52ZjV2DNZvGVyo1ylfZ0a578GezsXkWxfOMsbfiGEGTYuIpcimzhsontbNXvnr0R9EyH0HsJqoKE9fl1ywsLftjguiE3bOtDk7YvYp7DuMaa+RaoQPJm80MJIKxpzwqmtH+EypMd7DHTz26ICD7dlSMd2/qoDLbM3hyH8pAM5dbGfiECN98lABIEU X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(10201501046)(3002001)(93006095)(93001095)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN3PR07MB2564;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN3PR07MB2564; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR07MB2564;4:pZvkkpJImusN89U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fJcnW5ieinmUrNbR84EhlHJX+hSM99dfrC/5lS3Yl5n9t6gxDCg0?= =?us-ascii?Q?MHSN8AkL7oNLsLzGg6WavcokrncwuZcder5HOR+ukv8cyFzPHGk+Mwp1QB5I?= =?us-ascii?Q?1NUzI5/XbyjwIfPCxdsQWWJ7twJqdSV7rVOVOe2W811WVVyVPVNRKm9RVOTT?= =?us-ascii?Q?zZsq+lIbSEwGLyw3pMLfQkY1yODGvSLIavuVoEfJYe3bvSUngYT9omKEpeTY?= =?us-ascii?Q?Pw73vOms6wV2O/84F+O4gQv6ZHRsyh?= X-Forefront-PRVS: 033054F29A X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39400400002)(39840400002)(39450400003)(39850400002)(39410400002)(6666003)(50986999)(53936002)(5660300001)(8676002)(81166006)(50226002)(189998001)(72206003)(66066001)(5009440100003)(15650500001)(47776003)(25786009)(6116002)(4326008)(478600001)(3846002)(110136004)(38730400002)(50466002)(5003940100001)(42186005)(76176999)(7416002)(6486002)(86362001)(2950100002)(7736002)(305945005)(6512007)(2906002)(6506006)(4720700003)(33646002)(36756003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR07MB2564;H:mypc.cavium.com.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN3PR07MB2564;23:VRih5UlETj1LYUeICWF1xBRSG5SWY1Kt28yVpwWSD?= =?us-ascii?Q?ENJcMwMJ8EXCVvgNtEETmzO18LzoHBMyt7mIuCL8IqzPe56ssuoeQY3l4+7S?= =?us-ascii?Q?srkHLRXVJtK6eZXJ9nAvkBP/k0+R8N/W+j5LA30pVN7lZqGryUqCvSUexoFQ?= =?us-ascii?Q?vlusueIKURET0gVqPpCB3UEUm/geO346axac0FMwqdAEhMlu3LnlArxF73Gl?= =?us-ascii?Q?oi84NkL0+F3JdpMGJiEV7rqBzXa+VOABGDHkyOi8ZHreEgglhU3QmfqgFTC5?= =?us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8ueyxLP8EjLp;24:DPpfFqI2LIJt05TbdH8DkbvU513HilPRl4/7Yn34Hw4k9phYTr8bjP6IgHz15OymqANbZ/Pm9CrOsvBI5lD7z30967a8vwFnHEziHB1HC5M= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR07MB2564;7:MNaFbaxVOqV3tELYTg6eAXW7aMzdmB/DEA/6ET8YrlUvbISrA/n0fSRGfFTwrBYaCBPtckTL0AzKdel2ReoLiQJ5Nx2DybOUyiV4zxPNMczhJlUiyOynsHHTkECLHx3LFp8GtRH6TxCLYmDOF0fClfieZfTR9xTju+b12WD+vyk83UKjnFYZXw9PQo72lbdogRV498Fu1lSRiKcuJLxadJT0X88zl7MkRLKQPtOVl0GHMS8CqB0NbmP8lO+CQRQSY4n9Col3+gwQGDQzaYpLNqCLa7Zcb78kyvyX1ieNrLV2KAoZrjt1GRYhARVnx9xYYQGy6zB7cBb8pPWUEbxtig== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 10:48:53.2672 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2564 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1194 Lines: 43 ARM IORT specification (rev. C) has added two new fields to define proximity domain for the SMMUv3 node in the IORT table. Proximity Domain Valid: Set to 1 if the value provided in the Proximity Domain field is valid. Set to 0 otherwise. Proximity domain: If the Proximity Domain Valid flag is set to 1, this entry provides the proximity domain to which this SMMU instance belongs. Update header file to reflect this. Signed-off-by: Ganapatrao Kulkarni --- include/acpi/actbl2.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index 4b306a6..c16ced8 100644 --- a/include/acpi/actbl2.h +++ b/include/acpi/actbl2.h @@ -805,6 +805,9 @@ struct acpi_iort_smmu_v3 { u32 pri_gsiv; u32 gerr_gsiv; u32 sync_gsiv; + u8 pxm; + u8 reserved1; + u16 reserved2; }; /* Values for Model field above */ @@ -817,6 +820,7 @@ struct acpi_iort_smmu_v3 { #define ACPI_IORT_SMMU_V3_COHACC_OVERRIDE (1) #define ACPI_IORT_SMMU_V3_HTTU_OVERRIDE (1<<1) +#define ACPI_IORT_SMMU_V3_PXM_VALID (1<<3) /******************************************************************************* * -- 1.8.1.4