Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752081AbdGFLUj (ORCPT ); Thu, 6 Jul 2017 07:20:39 -0400 Received: from mail-dm3nam03on0054.outbound.protection.outlook.com ([104.47.41.54]:12016 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750977AbdGFLUg (ORCPT ); Thu, 6 Jul 2017 07:20:36 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=cavium.com; Date: Thu, 6 Jul 2017 13:20:17 +0200 From: Robert Richter To: Lorenzo Pieralisi Cc: Ganapatrao Kulkarni , lv.zheng@intel.com, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org, Will.Deacon@arm.com, hanjun.guo@linaro.org, sudeep.holla@arm.com, robin.murphy@arm.com, joro@8bytes.org, lenb@kernel.org, jnair@caviumnetworks.com, gpkulkarni@gmail.com Subject: Re: [PATCH v3 2/2] acpi/iort: numa: Add numa node mapping for smmuv3 devices Message-ID: <20170706112017.GA16981@rric.localdomain> References: <1496897059-8272-1-git-send-email-ganapatrao.kulkarni@cavium.com> <1496897059-8272-3-git-send-email-ganapatrao.kulkarni@cavium.com> <20170615134603.GA16292@red-moon> <20170628174750.GY658@rric.localdomain> <20170704100759.GA17491@red-moon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170704100759.GA17491@red-moon> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [77.179.106.227] X-ClientProxiedBy: AM3PR07CA0062.eurprd07.prod.outlook.com (10.165.201.20) To BY2PR07MB2344.namprd07.prod.outlook.com (10.166.114.146) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 471067e1-3e96-46aa-659a-08d4c4610459 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:BY2PR07MB2344; X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB2344;3:S+M37IKAx30EPiZtgnxtMMzKcADZNuYMqwaRdYvIh/ukY9j0zL7jxzpj/Lub3nCDOhwEQv+unFaoLuFRhCK1j7/IDSgJwOUwPam0y4mfgp8uW+awl/QJ35S45fQXaeP7xbFrA/yLPDmCEkK/0R8CmMADB1YaDybaBYokXRmb6Fgrh275t+Wor+gtTDIQ7/lSWXVgkLOVJ2DWtAAk16JZZCc8CuHQWx5988pUs4yrc4XjEv4hl2iEIPdeZtBy+qjkelAlxNmiF2IIzDmuIazyAw9lJNa+pIlfWNwwZvfO2dov7P9mc+6ykf3FtQKg6c01eGhNUmcBLssGkcDUPYfbk06rUGmY+gIIMVjtjwH4DbrL23qK+nw0fiPVcUwHJLUT++WRyeGRqw5MOfyY2gHzybV6m5cqrJYno/LdKK4l+NbD/ogUzw+GJgnx63UD9czZRkaMe3Td0SDTA50K0Lnzt+ijwoqh3Qzf+49LJPq4RwFGKsxN9m1KYV0m5rKP0jkYMqcD90iM44Ab6OtMauqtNVyxJwL6XrnFLQbZ65+DDGipXShxeTnTJpknb6A4FirjSYade/tOk2KRP5tr3qvnkbl1NutBYvnX6ZnmZkf+/Z65s/vPDthQSJRJwVScGB9AZlPv+eg1lFxBIQPx2A0SFaXpGu9Pt6jT3H0piGCfQq8mMllA6sF6V6WtkGFtKk5tIgzAe8epWKHsR9nDw/Ghyedk6KwyCL1cretfeeCy6INM7xXjFDDL6x/YbsxjoqtA X-MS-TrafficTypeDiagnostic: BY2PR07MB2344: X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB2344;25:hZeIDprEM96P8JOLGabZq7R9UW9+IxNrWVOOK90ptuo++vnwAJku1GnY7YavJhiMeggpGXO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report-Test: UriScan:(166708455590820)(236129657087228)(48057245064654)(148574349560750)(247924648384137); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(20161123555025)(20161123558100)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BY2PR07MB2344;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BY2PR07MB2344; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR07MB2344;4:6stzhtE6mYwF/ml89RNNqOSLTc/75XurLxGWL0MH9t?= =?us-ascii?Q?zz0cYidH6udQny5QGcWoiLmMXJEWJ2D5zFHcRbnnYUW3u1a17qoESjrYHI29?= =?us-ascii?Q?z8TBOirrH+2uS/Gcp5Dcytx4hdg18od2DbsPH9dWO3y29u5q7Fr0lqVKo4zz?= =?us-ascii?Q?hZJPcvAs09P5PZn+GvMyGgVHV+NuPuatiHOWYY4x3xTase0uWolRwBK45W10?= =?us-ascii?Q?lTidCyeYRj9MHJ1WEoVwLArio68w1cBjLcZf9nHtUZK2Zq3dvIJB9ZaXhEga?= =?us-ascii?Q?oHwOmBmVdyUAswcTs5pgWZyAc8NBndX69b+sAPqyJCgNQNscOQD18+4LaL2K?= =?us-ascii?Q?eLxMbX7E7z5n427vYisrGm8SMvbCAJkt4H33XjxpsEBOHBldMcrVY6Mbwdaf?= =?us-ascii?Q?dcgSiRzt/+KrcUgl/Il3VJrYZR2qy77AnBVDwcdGblnErNjaaPDwoLR2RIi3?= =?us-ascii?Q?qaaka3EmNjsnidXIuf5nfmfqRgVB8IvRakdDbQxj09VY5YKRk2caZ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SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39410400002)(39840400002)(39850400002)(39450400003)(39400400002)(24454002)(23726003)(2950100002)(1076002)(6116002)(966005)(3846002)(25786009)(6916009)(229853002)(305945005)(66066001)(38730400002)(72206003)(6666003)(6306002)(6246003)(478600001)(55016002)(50466002)(9686003)(47776003)(4001350100001)(6506006)(4326008)(53936002)(110136004)(83506001)(50986999)(33656002)(2906002)(575784001)(76176999)(7416002)(54356999)(189998001)(81166006)(8676002)(5660300001)(53546010)(42186005)(86362001)(93886004)(7736002)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR07MB2344;H:rric.localdomain;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BY2PR07MB2344;23:gseT3NlCLInVDi3Kp3ppBwzrA8CO4PYg7J682rfX7?= =?us-ascii?Q?AZ/QEK9r8Yxb1UCnshGcZBOImKdxpyw6qLUD3y5EaauzPqtFG1XNAlxPwzBH?= =?us-ascii?Q?wnBUg4GSW5wPlUiw9YAFaUPIZWNHx157vhebaWdfCzyxjKw9U/DskkPE4D87?= =?us-ascii?Q?JF+jHmH1VFNe5zQbrVmWOToIq6M3wuz/zYVZmG3th8y7sg9uadi3WIe48o+b?= =?us-ascii?Q?Zam1mY88gFbD+itiTQTT9LdbFiKs7AQp18wps7pbVfUPYgWgL8vEtf3zsjFk?= =?us-ascii?Q?cuQYAjjTJBdhuTpyzsDXxabOLSM+6Pl1e94W0pGQfjK/QI88ZEWLX2isyWYg?= =?us-ascii?Q?JDFwsBB+RYpPmIJp4SlyWsWy4A8ddYPYqkcuvyvSIouStqaKi+m3yGkAqL6o?= =?us-ascii?Q?iSFZiHGIYFNI3LTp6cyp0/Whbxh7v1OMjmFqN/PRZZnjaUYE3ALrSU9LelGh?= =?us-ascii?Q?UvsZln4xE6a8Vc/iGHvQc3AV81xaljJoJSyW7S9a2XEY7MENZL/XFFl+Etnl?= =?us-ascii?Q?qqndy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rusUOoom+1lrwqVMgyfEwOnxuWAi+VVNK9Qln5bdch4ebzT2jU6VFjFTGBS?= =?us-ascii?Q?U=3D?= X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB2344;5:9W/kiTvRfI6SeXWFD20xnIoHJsOcYxXCqMitAbKVsMIoLZ5HxgPDr0RS3yVlIrBA+YyAP1c/DdJbHoMbusiSsjT/r2ovFeQa99JIIC+bGcsY0cY8/pcaGYkW/v77/Uyz9XVLbBRtHnaf0vUi6HtIk0GHJgSido6+coR3p3vykwXLYh81vnFOfTv00Qq8VHEKV5EdboE3XBXItcyJQJsF1ESaCs7N3zHFIr70j+6c+z7zqe3Nx1DLNLUDH1vxo72PbAhnxGmMHbaq4R27VdvVCu+378Z64IFs5d0SUVQtdRF6PJJLHUgzW5+vax/eh6tYnZ7LJb7VLlnlZY3r3VcOkRA3pZN56+1jeV/ZE2pgaAaCjSkqcTOUIX3QEVGMZhOK7fGc48EZ3aaS7tImmXFZoJBayNGsJ9eBWWiJzmbY94LI2LeMubr0WCXl43tasky2QfaGPOrVqTe1YLYW1XlSyMzyhFaOHrFrXaY3iyHpv0dpUMAXVacnTNbTdczENtOy;24:rNJkSs1tHnnuRM4SkgCTzKNJkE8TWir4wThao9Ie2ilOI+IlIM11os8PXSegBNTW2TPN5E+BBHR43LdhD9+icld+eirtZuW5791QpqSF3y0= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BY2PR07MB2344;7:2rqu5ugJbJTneYaN4VdJ8z+b1Ric7v2cNiSAO9SFaDqKkksqrRAfCBFxcVdYVfM95g2F5kWEMGveiVoTqb9reXJTZwlkkA0zQU0Jd2HA8X4ATI1AKflJPVMhwtxERyNXAYrZf6m4t9ZgP4Wk4eL11JW0nD/Z5fowlxziRdD14lV2ZTzcdbznFLEZ9fJlwmP/BUYXxJcBibFpezGdw+RQHi4R50IuTGg5dvX5WcMSaaAf1XVvMPtd8f2fQlXEAAKkH8P0j1U/58mVfz2PFZOddcnlOi5eFXWXi38sNPYi8G8bseSyt7pw65WW+UmCXGfd+wla6qDkvtAOre5mdEXoohpSDs8aOSa3gkLkTXXSRz1DdsOmFVLf9OiBaLf1pChHw/k8DRdr7nOmKhW7jXaOyVA9MFNTB6MucZ4al5TrcMt4L5RVNBVq1zk0DI2jNL6DgpdCWKlfsCuK174mUHjuruXVMu9nKujEVU3ULMmnnUkJgLtaCLpFacjW3HVvt+H6OXFtM8LOJNERhj0rUA9o7+lE2cogOP1dYo/Iv4Am5aDbOutmNu/KdjCbT7Z5kEsODRZUDK3kbih6M9mQTDBi9D4YNll35ADiuLA5CzNX7mDYL9woRiwmVjx1oECAVHgoXME7A0WKvziuz1BT5ciWyZcood1l6Aa/lTKzlpZVXrWwPvhPvej4LpPicyNEXsQ24N6VLk2m4qXrj8WEVTfsmmukWAloP7xoXY5uq6Dp4fELxBXGDE9qRaM40112TD70YciKoGJLlJlNOIEC+aXTr2nDOiAD6NGq6rKGxKJRWoo= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2017 11:20:29.3201 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2344 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2499 Lines: 69 On 04.07.17 11:07:59, Lorenzo Pieralisi wrote: > On Wed, Jun 28, 2017 at 07:47:50PM +0200, Robert Richter wrote: > > On 15.06.17 14:46:03, Lorenzo Pieralisi wrote: > > > On Thu, Jun 08, 2017 at 10:14:19AM +0530, Ganapatrao Kulkarni wrote: > > > > Add code to parse proximity domain in SMMUv3 IORT table to > > > > set numa node mapping for smmuv3 devices. > > > > > > > > Signed-off-by: Ganapatrao Kulkarni > > > > --- > > > > drivers/acpi/arm64/iort.c | 28 ++++++++++++++++++++++++++-- > > > > 1 file changed, 26 insertions(+), 2 deletions(-) > > > > > > I am happy to take this but I want to know what we shall do with > > > patch 1 and related ACPICA changes first. > > > > The change is now in acpica: > > > > https://github.com/acpica/acpica/commit/8cadc4fb500e2aa52241e367c87a0f95d9760c58 > > > > So we could guard the code with an #ifdef until that patch is pulled > > in via acpica tree: > > > > > > diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c > > > > index bba2b59..e804386 100644 > > > > --- a/drivers/acpi/arm64/iort.c > > > > +++ b/drivers/acpi/arm64/iort.c > > > > @@ -882,6 +882,23 @@ static bool __init arm_smmu_v3_is_coherent(struct acpi_iort_node *node) > > > > return smmu->flags & ACPI_IORT_SMMU_V3_COHACC_OVERRIDE; > > > > } > > > > > > > > +/* > > > > + * set numa proximity domain for smmuv3 device > > > > + */ > > > > +static void __init arm_smmu_v3_set_proximity(struct acpi_iort_node *node, > > > > + struct device *dev) > > > > +{ > > > > #ifdef ACPI_IORT_SMMU_V3_PXM_VALID > > > > > > + struct acpi_iort_smmu_v3 *smmu; > > > > + > > > > + smmu = (struct acpi_iort_smmu_v3 *)node->node_data; > > > > + if (smmu->flags & ACPI_IORT_SMMU_V3_PXM_VALID) { > > > > + set_dev_node(dev, acpi_map_pxm_to_node(smmu->pxm)); > > > > + pr_info("SMMUV3[%llx] Mapped to Proximity domain %d\n", > > > > + smmu->base_address, > > > > + smmu->pxm); > > > > + } > > > > #endif > > > > > > +} > > > > + > > > > Could the patch be applied with this change? > > Sorry I was away (and the ARM64 tree was not accepting any new code last > week anyway), I will send the patch upstream for 4.14 (with your change > above - or whatever ACPICA guard make it safe - since we will depend on > ACPICA changes merge timing anyway - they won't be merged this cycle). > > Bad timing, apologies, I hope it is not a burden to carry it for one > cycle. No problem. Good to hear this is accepted for 4.14. Thanks, -Robert