Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751482AbdFFKtA (ORCPT ); Tue, 6 Jun 2017 06:49:00 -0400 Received: from mail-cys01nam02on0041.outbound.protection.outlook.com ([104.47.37.41]:21906 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751388AbdFFKs4 (ORCPT ); Tue, 6 Jun 2017 06:48:56 -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 0/2] acpi/iort, numa: Add numa node mapping for smmuv3 devices Date: Tue, 6 Jun 2017 16:17:43 +0530 Message-Id: <1496746065-11082-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: 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: 6699bbf0-4298-447d-bce0-08d4acc99f3d X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:BN3PR07MB2564; X-Microsoft-Exchange-Diagnostics: 1;BN3PR07MB2564;3:vb6C7nOaaEulfguQRbHTpyxDbNaZml4fgibX2XI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FYzXgf41B4hQ/m+owXIojc4O+OzicVo4akoz3oiwajwHXrfBCrRNG++8mGGVr9vY6zjsRG6RL/ZOpgHR2aP5MUSPUhVLEJB6/Ely4nITEnw2KFES+RN+oMvjkAlatuHwQJnR3k/44hwGmh8i8IkK93SF/ueWOMVUVicoDFp9cwPJ6TsxGU7XLFD1i5nPso0//VSVJpqw1dyHSntIx/2S01ThusOZC47Wwpz80M4YxAQvljqRZLbWuntPjLFK18w/DdxWzuThFgNhImbNm2My935P260omtBJTE8DjwAwOzDh9IIeJJS3JaaZytcFJyT4E3wW2O4pC1mmK9Fl6Dyx5koVXp0Nz462ySy0VFYjswib0e7N0rUqOcFC+iRjoOVmrnQfPrLDx6nyGSeiNQ+G/RhCziIGVBvrJVEQG/8jCrooV+fdMG4MvchwoZyFTaoYdQ70nuwwsxfTA77r5s0E8MvBFM/AoX9XjbbyQBNyEznzPSaSOFChzNyhzny 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:DlhaIWs+sFowOYSnv4USzQS4OoNdp61Cp0eHoDg9Y2?= =?us-ascii?Q?FbG8yAyGFQtf5hljgZIU5iAGxqf2Qv5Y70VgoQuIaItMJ/1Sd5YFn70hQfHD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kNWQPgKNcQFJAYv9oxg4x8/CxB8W4yBwYLR?= =?us-ascii?Q?MJZzcnsb19SdT13OMrhYdl4wE96X+87JJ/Ycu5bXLqWH/XyWL2plwJBv9b4G?= =?us-ascii?Q?5Ee9DTpJOVIn3Xj7AidmSsJ2iFjHuv3XYbjzRy8f+3n1UprIHTKoD4SA2t4u?= =?us-ascii?Q?nM3Yf4mjTIpf7lTeWMdWfeyrPVb71V?= 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)(47776003)(25786009)(6116002)(4326008)(478600001)(3846002)(110136004)(38730400002)(50466002)(5003940100001)(42186005)(7416002)(6486002)(86362001)(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:rVvKB6wBOvKR/YKZI8iUR54eGewEdcdMQkKHUw/PA?= =?us-ascii?Q?MHaaABKB98zvu9cHee0Gk47X/So3lY2MEZ5U5xPnmWs9jgCUv0wgb59s5DKa?= =?us-ascii?Q?ZaZyBpdI8UaSZ4KbHL0s+tFR6ALdaMtnrQfgJAJbLwCvTq9wi0LIzGq/fKeZ?= =?us-ascii?Q?fIIXGXD76Q1kvoXNsz93/sS6VW4+QARk5bg6kmNO1QU9I5AXeeWzeA0GPwyl?= =?us-ascii?Q?dKVz6WBkNKNg8jutku9fXMCPQY9XDHHVuzs+kp8VcDYEKOV3QlVhh5cb8b7t?= =?us-ascii?Q?m+hMtn2C87Kbo+KDKNzP/bkT8p89vOU6DAh99j2ABRLRSdMeY0hzHIQGBlOc?= =?us-ascii?Q?dGu9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etadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN3PR07MB2564;7:LRAxzMRBSV/VyJYIWrdloi2FVa+Afh7p4bSuRQX+fPBh9aEOBOvJoAwX3EWHWKyKc5QnldZBLVECH5cwcj43Ruc41pM+GoR3qMwrG9i0+9mQUYXMi+Weda3N4iLFoGAiWNhsirsUHQk1erSt26S1O8Fn73PerjkrcAlJyjqS5+46qOqrXTQwk5rAwqqFUhEo48bHVShWPalYzazaRJtzomFQEg5DgNjgaLrA9q7au/TDf2ExRZza1mW927sxIfmZbS8u/5y+vfud7P69yQuh2SsBwTV6Hqo+fex8pbGlXXqvee7hEFTz/VQ8AmEQ6/pJorQCfAvXyf61oUDJ5Albuw== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2017 10:48:48.5797 (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: 646 Lines: 22 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. Signed-off-by: Ganapatrao Kulkarni 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 | 20 ++++++++++++++++++++ include/acpi/actbl2.h | 4 ++++ 2 files changed, 24 insertions(+) -- 1.8.1.4