Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754401AbdFWE74 (ORCPT ); Fri, 23 Jun 2017 00:59:56 -0400 Received: from mail-cys01nam02on0060.outbound.protection.outlook.com ([104.47.37.60]:47808 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751409AbdFWE7x (ORCPT ); Fri, 23 Jun 2017 00:59:53 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=cavium.com; Date: Fri, 23 Jun 2017 06:59:33 +0200 From: Robert Richter To: Lorenzo Pieralisi Cc: Will Deacon , Geetha sowjanya , linux-arm-kernel@lists.infradead.org, robh@kernel.org, devel@acpica.org, catalin.marinas@arm.com, Charles.Garcia-Tobin@arm.com, geethasowjanya.akula@gmail.com, jcm@redhat.com, linu.cherian@cavium.com, rjw@rjwysocki.net, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, iommu@lists.linux-foundation.org, sgoutham@cavium.com, robin.murphy@arm.com Subject: [PATCH] iommu/arm-smmu-v3, acpi: Add temporary Cavium SMMU-V3 IORT model number definitions Message-ID: <20170623045933.GR16981@rric.localdomain> References: <1498133138-20244-1-git-send-email-gakula@caviumnetworks.com> <20170622182257.GI15336@arm.com> <20170622185822.GK15336@arm.com> <20170622193535.GA10237@rric.localdomain> <20170622210437.GA27861@red-moon> <20170623045541.GQ16981@rric.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20170623045541.GQ16981@rric.localdomain> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [92.229.135.253] X-ClientProxiedBy: HE1PR0501CA0028.eurprd05.prod.outlook.com (10.168.27.166) To CY1PR07MB2348.namprd07.prod.outlook.com (10.166.194.147) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 8c1253ea-0d29-4102-f854-08d4b9f4ae22 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:CY1PR07MB2348; X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2348;3:7FNDeuS+iUpiI4SFqjLYG51K+rqy3uze4oGPwfxr8Q0oeS0vsUjLLHgTBryvvOTcnv9e7ffd1wxXfynbY9P3tP+QzUHsdVz23ev/gykohszxpH9LdkrmhHokair3A4+BRPn3m6/7KAOFx6UL3aZYqbB41zrnSTxoDXZqwAgTpzB67uv/W3V3a30UP1lmFEWuTvURIh7FtTptNsS5fdvQnP43k/DMaA/fo4Pf2yj5qPOWqTWfsPrBD5k/7d4uTWN6WLspitxALvo6W2rEtp8Mq15Pg1ztRhHCiTJyhXPsWxPpr9ShNXRJpN4rUl4cmUFC2NLMjrXPTI4nszVUHWSaxQ==;25:tAD7ghJBYtFpcrAfV0L5U9ghStmPLanjrbWekCQSbRJrtuqjmGQFnm5t6EcjqlSlMyXNbT/cf0agJNt4P65VH+HGcr9dYDbzIgO5MY/3aMbZ+SqV/2RMo8KQ1ZbMG4dRyTFdcZKBJKDZHfTntdnV0wSHrTqR9K8AfM3u5eL9HRc7/kQ9NoMcP99GRKjFGGK44aIh89nz9lI+0YSzkF2w6oF5lilkWeqNc+MwVabGdYP1gvRdFzcCexSl0uHArADTaojCCBV+YBJHVA9D/1qRp2JrIB2YsjXpDGflqgnYqRj12BrQiIUGWJJJIcgK2ay/aIaNZYfcJK52Ec2hzqm/7tjdLJTtnODsdzQ1E/rEHUk8TarWJckKw37D2h/BqYs6bjmVSWCx8GSPKVA/NJNUPnYk57wW8situYpbLS3Bf6eJXvX5y07VrAYwVmUmtAe58UDu2xB5/v4qTwhb5Ul4TiZRam6D6ybcCA9LnH++8U8= X-MS-TrafficTypeDiagnostic: CY1PR07MB2348: X-Microsoft-Exchange-Diagnostics: 1;CY1PR07MB2348;31:2K9TkRcMGH/wuVfmNhwCKrZLQA3gn9I8hbm20SbtWYvXADPf9TMbv3nb9fslcL8QwAlDuncAV5Gb3vdplZ2H+umg0E7Flc2/F7pNpu9qWmSJ8v//EmrV+2ZdrK2mhRt10YiFBCecVlgYQVQgoLoBwct+S4E6Nyg+0D6ZMHlLyoDwfBfh9JgOO8quVnDF+pBGX7V9b2nXHfER2IBZYIc3sKJGFD+dpcs28yC66Hpvp62Ddy2VlhZT/Mac9Dci1QndQMfrJXDGqnY+YbpS2R/Crw==;20:fHxUQk4o2P85b4cBNNxQebrciPu3veo3UKbFDKTy4hB3kF+/MhOc77eaxYVXMHqyNzI6rFCD6MzcyxxCyPd/b8x8B5xCW00cAfO5TcQVCN5hlxIvTo3+epvzjrHEQ6VWrYYObMzEYanlrrHMOnu9wYMeZ8AnTXQPdAyC682rnR/21sDrKRKw3XBdcd6Xp6netxawt1libgkBdT+GsP+4cKV/QNk5ebjA4pevYmq0STLg6ZR7dIQI65fxgkGMQFA8oxVl6LCG8mR0B/j60pIch74I/7BaZ7bgSZJKccR4YGJOC05Xp3adcJkQoT6E4pYymCOCggOZWoYMnW0r//cX/adIhYsu3Pj73Jqx2DgHphV/wJl5qnX4E2kPnRCBrFB9M/0ZfhqXojz+HDxZ9jQYY1Q9xpwfhvO7RWjXani1DGwRj97/R5L05XALxkxefNFdh0DRVRv0ct73s8hD1Q3y5EYrZND6W2/X/F5q5kicxrNss5yZzh8oILw/+v/3OSLy X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(166708455590820); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(100000703101)(100105400095)(10201501046)(6041248)(20161123562025)(20161123555025)(20161123564025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR07MB2348;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR07MB2348; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA3TUIyMzQ4OzQ6QjRCNXVqcmI2c2x0Tkp6QzRaWXkydGJEeDdv?= =?utf-8?B?cjBGODdvZVNvUnE1N2kxUzhxNWljWWVrZ0FlYTNCYjRuOTVnZm13eVNtZ2xH?= =?utf-8?B?bHlXbWdXNlJkaHA0VXVmZHE2UUpsUGZURkRPWUFqM1Z6VFdHdnhvaGdYZjd5?= =?utf-8?B?a3ZlQmZYRXdRSXJNZjl2U1BTeXhJak9NUU0rK2R2QkttMjA0YXdDYlBaTlN4?= =?utf-8?B?dzFvbEtkK1plQitJa1pRcE11UURSa2t4SXVWMER1b21CRmRGUTNiOFlwWk5n?= =?utf-8?B?eVhtTzZDS3pJOFBMSlZoT3F2T1dFS0FMd1pIVCtyYk8wczJKYXIwNmwyVUZn?= =?utf-8?B?ZWhjL3VWdlA4ekptYmZaZEZRZEloWFBpdW4zMkN5dWtYVEpPem5TSEtUOTN5?= =?utf-8?B?Q1BnUGhETmIzZUdCNEJvUEJuSDQ2QU5RZlAzeno4T3JqWGVJK1M5WnYzbEox?= =?utf-8?B?T3hPOXZIYkVxd05jRW9UekExd0tIaUM0Rm5xTS9KY2ZsRzRBbC9RajFBRXl5?= =?utf-8?B?SklLTmZYVUxMRGJlSDVEYTd3ZklxZWRKL1cvdlpXUitSVitPTVUwK25DNTR4?= =?utf-8?B?R1RNRDNYOGttNnYweGIyS0ZudkpnZ0FDRGFKNlNvNEtHQ3NtbWlwNEJiai84?= =?utf-8?B?WVlwSWtJbXFDbXJxN0R0bmpvSVNUeGhjOWR5Yzc3cUR6bGVKR3k0b3pmVi9k?= =?utf-8?B?Wm9STExZdnJzdHp4UUZhSHppbEx6NGpnRkJjNzF3aXZtS2NTL040VUlzSEpo?= =?utf-8?B?OW1QLzFicERzeU5oenI5UkhtUXZ0czhVYk9jN1B4S2pCcDFPOThWTGJyUDJO?= =?utf-8?B?TUxobjI2MEZOWEwrMWkxSFphVDk3Y2RTZ2pUY0g4cXJkZWZZWDdOWmJqN0pz?= =?utf-8?B?TlcrYURGSzRLNVVuYkswUnJpdEhkWU5tV05NNWpvbHRPMzhVZmVuN2lKU3o4?= =?utf-8?B?RHM3VFZSRTVvU1V2WDh0NjVxcW83SmkvYWlPMXN0dTMwbnUzNUtKdDdHQ1kz?= =?utf-8?B?dFcycGd0Z2FWbkNEUjhwNFY2VHZSeFlBVXM0NzFsSHlqR0ZoZ3VLK1dnWUhI?= =?utf-8?B?U1N4UCtDZmNwSTNGMldSVXZyREhNM0c1bGtXOWg0MEQ1SUx0a0FNY0JZREo5?= =?utf-8?B?cUx0WHJYZ2JOT1czSWZjVFYzRWdHV0EyMHRkMmhXNHUxY2h5cktpMG90WnRJ?= =?utf-8?B?Zi9mSjRUem9lTlBvbTlRb1pvd2NVcklQUUVjdkN2blpBa1F2L0J4Wk9xMnRi?= =?utf-8?B?bkR5Vnl1eHFmQ1N1ME9FV282b3duV3BRRHZSM2svNlJTZEZIdVJjaFRTMURX?= =?utf-8?B?d2RpRXU1L3ZsUDNZMHVuRWd4LytkQnczQXkyNXB3ajlyM0ZoK3BsRkRiZDFL?= =?utf-8?B?V254WkpHalE1bThGTW4yREpMWXpOUlZXKzdBY1d3R25vVEl3bElyNTJJWHVP?= =?utf-8?B?NXNxdUdDUWcrYXJ1Nk9PVEpjSjVaRThyNnVzVHdPQ3o4eWdZenRIdSt2ekRK?= =?utf-8?B?S0RoSHhYeUxKNE4yUXFzQ3NHaUtFcXVTWTV2YzF3TUhYampjL0dYSmxXVWFz?= =?utf-8?Q?e3+UyN0QdAVREkj8Exjbk+9z+UdeseWBRpuI5yd29iE=3D?= X-Forefront-PRVS: 0347410860 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39840400002)(39850400002)(39400400002)(39450400003)(39410400002)(24454002)(83506001)(4001350100001)(189998001)(72206003)(478600001)(93886004)(230783001)(53936002)(55016002)(54906002)(6306002)(9686003)(38730400002)(23676002)(54356999)(76176999)(42186005)(50986999)(966005)(6506006)(110136004)(50466002)(53546010)(81166006)(25786009)(8676002)(305945005)(86362001)(4326008)(2950100002)(33656002)(7736002)(6916009)(1076002)(5660300001)(3846002)(6116002)(7416002)(47776003)(66066001)(2870700001)(6666003)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR07MB2348;H:rric.localdomain;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA3TUIyMzQ4OzIzOmtCZloxZnNlRHdhNkk4Mm52emsxV1ljck1u?= =?utf-8?B?SWFPSzQ1WGNkZEoya0hKNnNEUm1nUC9OUjZZdUxZVGVYaEQ3enVKeVpRbVZH?= =?utf-8?B?cEJ0QlpNRWV5cTBmREkwY0xJM3JSQngyNHIwY0Y2eGtPc2p4TEVCWU5WcFJ0?= =?utf-8?B?UnBIWUYxUVNZRkJCcWlWTUJ6SHZRK2hVN3BjYkNkY2h6UnlUQ0VhTWYvWWQ2?= =?utf-8?B?TXkyU2dSTmZsZzFuU3BBd25KR3l1R1NPSHg4THQzTnppUGZtaCtIdG1ONFh4?= =?utf-8?B?ZURjYjFnakFvWE55S2NEa3dUKzBqNHVlWUhpT3UweG9xNHMwL3k5S01lcDVO?= =?utf-8?B?ZHorN0ZwakNMd215T1d3bDlGOFlNZWZlMm4vYjUwWnpqbnhZVDNtSitsbS9i?= =?utf-8?B?Y285bkdPclU2cVBPOVgrUVVwdkhrZzZlellabnBYUHJVN1pPRS9KNEUvRGRZ?= =?utf-8?B?MDljcyt2TnA1ay9KeGlONlhPMzlBd1ZBTFVwc3RPZzRPVU52T3IrVTRhL3JV?= =?utf-8?B?b01LTEY0OGkxNk5teStPMkd6a0Jjc09ETjBZdHdzbmExeDVQK203NW9aTGFW?= =?ut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6447GndGNbMbfCQBEKkj2NEzlDieoMBsOzbRMAa3DLncnPbk2cayeWZ8s0JbQO/Oi5n0m48NJaL0QEq6JorMfr35IlA9t1iMxM0+co8tCd0dwhl5PzrLWMPIKiy3ZvQKkwkVWI606eaZ8kejunMUK/7juEAPuvYjm71eNrg4fLQ7mTxw35NVVcE9KTiyxPCrG6GIptRd1oqNAoyEd1rZoWDooH7HF0aTR+1YMVvkAoPmJrBrl9PKlnzhm+zsfpV9A1FuDsKE= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Jun 2017 04:59:46.7950 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR07MB2348 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4536 Lines: 121 On 23.06.17 06:55:41, Robert Richter wrote: > On 22.06.17 22:04:37, Lorenzo Pieralisi wrote: > > On Thu, Jun 22, 2017 at 09:35:35PM +0200, Robert Richter wrote: > > > On 22.06.17 19:58:22, Will Deacon wrote: > > > > On Thu, Jun 22, 2017 at 07:22:57PM +0100, Will Deacon wrote: > > > > > On Thu, Jun 22, 2017 at 05:35:35PM +0530, Geetha sowjanya wrote: > > > > > > Cavium ThunderX2 SMMUv3 implementation has two Silicon Erratas. > > > > > > 1. Errata ID #74 > > > > > > SMMU register alias Page 1 is not implemented > > > > > > 2. Errata ID #126 > > > > > > SMMU doesnt support unique IRQ lines and also MSI for gerror, > > > > > > eventq and cmdq-sync > > > > > > > > > > > > The following patchset does software workaround for these two erratas. > > > > > > > > > > I've picked up the first two patches, and left comments on the final patch. > > > > > > > > ... except that it doesn't build: > > > > > > > > > > > > drivers/acpi/arm64/iort.c: In function ‘arm_smmu_v3_resource_size’: > > > > drivers/acpi/arm64/iort.c:837:21: error: ‘ACPI_IORT_SMMU_V3_CAVIUM_CN99XX’ undeclared (first use in this function) > > > > if (smmu->model == ACPI_IORT_SMMU_V3_CAVIUM_CN99XX) > > > > ^ > > > > drivers/acpi/arm64/iort.c:837:21: note: each undeclared identifier is reported only once for each function it appears in > > > > make[4]: *** [drivers/acpi/arm64/iort.o] Error 1 > > > > > > > > > > > > I don't see ACPI_IORT_SMMU_V3_CAVIUM_CN99XX defined, even in linux-next. > > > > > > > > What's the plan here? > > > > > > It is defined already in acpica and we actually waiting for the acpi > > > maintainers to include it: > > > > > > https://github.com/acpica/acpica/commit/d00a4eb86e64 > > > > > > We could add > > > > > > /* Until ACPICA headers cover IORT rev. C */ > > > #ifndef ACPI_IORT_SMMU_V3_CAVIUM_CN99XX > > > #define ACPI_IORT_SMMU_V3_CAVIUM_CN99XX 0x2 > > > #endif > > > > > > to both files: > > > > > > drivers/acpi/arm64/iort.c > > > drivers/iommu/arm-smmu-v3.c > > > > > > > I thought it was a solved problem (and that the IORT patch was based > > on Robin's workaround) but I was clearly wrong and I apologise to > > Will about this. > > > > FWIW, you could add the define in include/linux/acpi_iort.h and I will > > remove it whenever ACPICA changes make it into the kernel. > > Adding it there will still let depend us on acpi maintainers, while I > think the over 2 files might go through arm64 tree smoothly. A change > in acpi_iort.h also adds the definition to other archs and I don't > think that adding arch #ifdefs to avoid that are welcome in that > header file too. > > I am going to resend my patch below with an improved wording. Here it comes: >From d210b4c540bc4adcebd51d5a87437d2049649e94 Mon Sep 17 00:00:00 2001 From: Robert Richter Date: Thu, 22 Jun 2017 21:20:54 +0200 Subject: [PATCH] iommu/arm-smmu-v3, acpi: Add temporary Cavium SMMU-V3 IORT model number definitions The model number is already defined in acpica and we are actually waiting for the acpi maintainers to include it: https://github.com/acpica/acpica/commit/d00a4eb86e64 Adding those temporary definitions until the change makes it into include/acpi/actbl2.h. Once that is done this patch can be reverted. Signed-off-by: Robert Richter --- drivers/acpi/arm64/iort.c | 5 +++++ drivers/iommu/arm-smmu-v3.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c index 797b28dc7b34..15491237a657 100644 --- a/drivers/acpi/arm64/iort.c +++ b/drivers/acpi/arm64/iort.c @@ -31,6 +31,11 @@ #define IORT_IOMMU_TYPE ((1 << ACPI_IORT_NODE_SMMU) | \ (1 << ACPI_IORT_NODE_SMMU_V3)) +/* Until ACPICA headers cover IORT rev. C */ +#ifndef ACPI_IORT_SMMU_V3_CAVIUM_CN99XX +#define ACPI_IORT_SMMU_V3_CAVIUM_CN99XX 0x2 +#endif + struct iort_its_msi_chip { struct list_head list; struct fwnode_handle *fw_node; diff --git a/drivers/iommu/arm-smmu-v3.c b/drivers/iommu/arm-smmu-v3.c index 380969aa60d5..c759dfa7442d 100644 --- a/drivers/iommu/arm-smmu-v3.c +++ b/drivers/iommu/arm-smmu-v3.c @@ -412,6 +412,11 @@ #define MSI_IOVA_BASE 0x8000000 #define MSI_IOVA_LENGTH 0x100000 +/* Until ACPICA headers cover IORT rev. C */ +#ifndef ACPI_IORT_SMMU_V3_CAVIUM_CN99XX +#define ACPI_IORT_SMMU_V3_CAVIUM_CN99XX 0x2 +#endif + static bool disable_bypass; module_param_named(disable_bypass, disable_bypass, bool, S_IRUGO); MODULE_PARM_DESC(disable_bypass, -- 2.11.0