Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752159AbdFHEpE (ORCPT ); Thu, 8 Jun 2017 00:45:04 -0400 Received: from mail-by2nam01on0053.outbound.protection.outlook.com ([104.47.34.53]:35876 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750799AbdFHEpC (ORCPT ); Thu, 8 Jun 2017 00:45:02 -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 v3 0/2] acpi/iort, numa: Add numa node mapping for smmuv3 devices Date: Thu, 8 Jun 2017 10:14:17 +0530 Message-Id: <1496897059-8272-1-git-send-email-ganapatrao.kulkarni@cavium.com> X-Mailer: git-send-email 1.8.1.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0093.INDPRD01.PROD.OUTLOOK.COM (10.174.208.161) To CY1PR07MB2571.namprd07.prod.outlook.com (10.167.16.26) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY1PR07MB2571: X-MS-Office365-Filtering-Correlation-Id: 2a6739f4-5297-49ac-5e0d-08d4ae291ed8 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:CY1PR07MB2571; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2571;3:l+YrBKWGS1BwJZL1FBuMkM15CuqPtIhIbQJ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mwJBRakMK1pgH5U+v60DejbigfKD6U0xvsm/PNkXZ3ebhIGRN4b5aSiehs6YWgRHq2ICSxTzi0l1j5na+cQ/OGrrFY1yrIxrkrjyHtIzpeeC7l9tGNUngU/t+WfeV0uVXGS30TYl5kYa7e2Ruysg1NPANtj3QpTRH/vukx9tu/7/AEw1MyNHGbh7IKCT0AKnCzcqyzX5yxMPQ24hHrwCPB6QvEy/exeKY9TeR5NmjHnM3rP5KhDkMv1LLBS1OUrrOnDJTRz16Sa0YrB0ZOGzsYKOPxie8n/HiWXt8yGgNtnoybbJ10QnZFxTG4RV2srAEVfM3IUPXcmyzpPpX5LrY+jDcSqNLtyykKOaGyDiI0P2Cd6ggxTvE1U+bhAGgSXbOvgYYq0hWSn3Vk2FtozhAQHmt0YH78O3b/A2337w5STavz5ODt2+7tY3FHg6Aw2wNoO3uKfDocEtTUem8vf8O7r1VIgj1X2NNhzjNA7Xf+Fp00PLl4Up4hCK 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)(93006095)(93001095)(3002001)(100000703101)(100105400095)(10201501046)(6041248)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR07MB2571;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR07MB2571; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2571;4:CS2VJ289ifCrUaYQD97tsL4H5LkAQKCQW019gEE/gp?= =?us-ascii?Q?HhhiHNnrmDyEA/X0Nt4E0/YmZfU/QJxz3j5EhpA6gbJTup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QQfyqCKjAPVxsWJWdInQv+JBq8jxgtz9p+Y5Ou5q3?= =?us-ascii?Q?CE4cx3S/Njm/qEnrlaHKYzLeZJSTfCDQZG4LGK5CDbvqV+J63fPQXPAsZ5pp?= =?us-ascii?Q?OGleAUND7VTvAjBFAky1wiSA2ATgF4vuN36HbEcH2NSlSSSQ60ItSTg3nGE9?= =?us-ascii?Q?4sASl9/qFhGpoZ33V0Ng2VHIiJ/fj5?= X-Forefront-PRVS: 0332AACBC3 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39850400002)(39400400002)(39410400002)(39450400003)(39840400002)(72206003)(38730400002)(3846002)(110136004)(50986999)(66066001)(6512007)(6486002)(86362001)(53936002)(6666003)(6506006)(4720700003)(81166006)(6116002)(50226002)(8676002)(42186005)(5003940100001)(47776003)(53416004)(189998001)(36756003)(33646002)(48376002)(5660300001)(478600001)(25786009)(4326008)(7416002)(5009440100003)(50466002)(7736002)(305945005);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2571;H:mypc.caveonetworks.com;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR07MB2571;23:/EyetfC790TxphYS+DqwLFAgYi/vZVoyJpjmM3D2U?= =?us-ascii?Q?FKnVtQlt1uCkYfapUNhBTnCyn5U6i+5+UgA7rbfY+S0J8FusK/gf+ZceAuXi?= =?us-ascii?Q?1iacavYhCLE6dvZoaDvV3xWLpSQeZzV9XVqVMAwJPfuvEjNf4+QY0fZe5MMz?= =?us-ascii?Q?sbF8+jjylkWOuDYWx2PtYVq42vaPggY89L9ssKfTB1HH2TJWR1oRt0yXCi7+?= =?us-ascii?Q?m6NYigFu0tsv3gzvKhawe/w3TDg8bV2OSdqJhFMU2w91Z0h3bZ/FfeGWSCIU?= =?us-ascii?Q?Re8+W4f0sAenlxAgbiHKxKo4J0UjPbXuTGusai4z+aOoZHp8xjqcwX4SQXrg?= =?us-ascii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DiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2571;7:uRtHkmzCKdE6BDgReVenxV7QNhjMuhkS6K1bCEby7iyKl/0MQ+NgNLteLTPX+U6OmpGZGYXh4rwguTzHgCmRF30RTyj18bw+cm4kwowiU7+QUBc/OL/5Y/Nt815/2TdNPXSVk4aPGQLq5AMreuz2HD8tR2lw/ePWGFbe0ZRmVZyskoGkJVGHP3cz8vfrxfKjr9PfWMffdgvwQoH1MZHl01R01ANuV7kaNa1AdvWp9vcHKvrsPtgQWySRw8T67e5tqD5VsruGYB3d3HK3Nh7I6DyqtJOjr6K6LJ9PpHBLiVtUbKRyYquqDC85eYGQDQQFcCtEE0b4LTIbVJeodhd2lw== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Jun 2017 04:44:55.2039 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2571 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 647 Lines: 23 ARM IORT specification(rev. C) has added provision to define proximity domain in SMMUv3 IORT table. Adding required code to parse Proximity domain and set numa_node of smmv3 platform devices. v3: - Addressed Lorenzo Pieralisi comment. v2: - Changed as per Lorenzo Pieralisi and Hanjun Guo suggestions. v1: - Initial patch Ganapatrao Kulkarni (2): acpica: iort: Update SMMUv3 header for proximity domain mapping acpi/iort: numa: Add numa node mapping for smmuv3 devices drivers/acpi/arm64/iort.c | 28 ++++++++++++++++++++++++++-- include/acpi/actbl2.h | 4 ++++ 2 files changed, 30 insertions(+), 2 deletions(-) -- 1.8.1.4