Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753160AbdFVMZg (ORCPT ); Thu, 22 Jun 2017 08:25:36 -0400 Received: from mail-co1nam03on0053.outbound.protection.outlook.com ([104.47.40.53]:9017 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753078AbdFVMZb (ORCPT ); Thu, 22 Jun 2017 08:25:31 -0400 Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=caviumnetworks.com; From: Geetha sowjanya To: will.deacon@arm.com, robin.murphy@arm.com, lorenzo.pieralisi@arm.com, hanjun.guo@linaro.org, sudeep.holla@arm.com, iommu@lists.linux-foundation.org Cc: robert.moore@intel.com, lv.zheng@intel.com, rjw@rjwysocki.net, jcm@redhat.com, linux-kernel@vger.kernel.org, robert.richter@cavium.com, catalin.marinas@arm.com, sgoutham@cavium.com, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, geethasowjanya.akula@gmail.com, devel@acpica.org, linu.cherian@cavium.com, Charles.Garcia-Tobin@arm.com, robh@kernel.org, Geetha sowjanya Subject: [PATCH v9 0/3] Cavium ThunderX2 SMMUv3 errata workarounds Date: Thu, 22 Jun 2017 17:35:35 +0530 Message-Id: <1498133138-20244-1-git-send-email-gakula@caviumnetworks.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [14.140.2.178] X-ClientProxiedBy: BM1PR01CA0116.INDPRD01.PROD.OUTLOOK.COM (10.174.208.32) To CY1PR0701MB2026.namprd07.prod.outlook.com (10.163.142.13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aefd2720-242d-47b8-d9ca-08d4b969c4c2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:CY1PR0701MB2026; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB2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qIwblry2oHP3jB+BIA+c+FwISNdSHOsTc4hMJfYXuY459AqfEt2Ucbpeo4K/75AKeVx4shJVLZ4r9Emo/qA8wTUvXF13BBA2iD044Jk4HqiE9TUy3ghW1n36HetaBc1kXwaupojbNG51UnCcqujtxS0/NVlwSBPaIM7SjQhEEJjhv1Mmn0uLsDPWgjHoZHys78bylgGJ2/C9Bu8kW8Rux44s0HJFufgLoWIhH7/rKUdt5Z8Oje0uA542a1RWFg3TRvjn7tFT8fKkVDhbXADcA/0kc8EYdTKDcusws78vnrIcEl/5Qz4eEgzjlCWcpgDaWc6ZmUZ48Cg8bxUqKNhZzpZdFkfpqCU0UKytPDNwbMYLVagVcLcv1JZC64AET83mlTtnhEX47YSk3SGMfyEHGgYmE2KGkPM+4eFHgkQCDqhpKxcAHTh4Ty8Y9s0QMwXFIvFG3hx+1uqUnlpPU7L+8noYqKSuOCWOOoqOvS/MHxxZz48lyj0BFPdew+THD9kUmq5dzST/5uadvMdbUpYiZ+sqliyp+Qngoy82rU3MUXqxJb/FNqUvlNxbYhPPhME/fcQtOeeVhSLnX4Y+8bmjPGT0asFJI0ubY= 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)(5005006)(8121501046)(3002001)(93006095)(100000703101)(100105400095)(10201501046)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123562025)(20161123555025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:CY1PR0701MB2026;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:CY1PR0701MB2026; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB2026;4:RvlzA6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-ascii?Q?QdOegNm1iigRG0LU710uE/kdsbuHZYcKsUe1QyHWo72i42LCAeFPjdhr5B/J?= =?us-ascii?Q?RIKXi8xIDIaJEYDKqh6SovjSi2ThRdSoadCdMxAjzREFYS4ZUBSxEwA6HXwO?= =?us-ascii?Q?OotxOknFZ/0v3HFt0znNbgeiYD8s4Rve4URjTfWNC8xpP3olFW3+qjmx+K0t?= =?us-ascii?Q?3/t0dG60AnX8vo+aEDIrVzyUTEdDo2xCgRe/E8NavKv/4swXK7DoO2kausZr?= =?us-ascii?Q?wl7ZsabnvyQ=3D?= X-Forefront-PRVS: 03468CBA43 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(6069001)(39410400002)(39850400002)(39400400002)(39450400003)(39840400002)(6506006)(66066001)(36756003)(47776003)(72206003)(110136004)(7736002)(189998001)(966005)(6306002)(6512007)(3846002)(50226002)(81166006)(81156014)(5009440100003)(8676002)(38730400002)(107886003)(53936002)(6116002)(6486002)(6666003)(48376002)(42882006)(50986999)(50466002)(33646002)(5003940100001)(2906002)(7416002)(4326008)(305945005)(25786009)(5660300001)(478600001)(42186005)(110426004)(42262002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB2026;H:localhost.localdomain;FPR:;SPF:None;MLV:nov;PTR:InfoNoRecords;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB2026;23:I2Mt2ml/Ga92LR6AJF2WiptnG+PFMHP/QFTgt4e?= =?us-ascii?Q?XibnXay65pXQlMu0G9/KUWDcLA/R2WSeuxRRvTme93LPkhlY9dOOTy9b/O5w?= =?us-ascii?Q?omn77sTwaAd0gmqedlP21HKtOrWjz43PLbeFgMmbOPeqfaUgyXelb4gfJiI+?= =?us-ascii?Q?/4NNOF2i5VdliNEAl/s0iZ1kSEZce3Axiy97Qh2lZHrfYXwPQVtqZKBnoCl9?= =?us-ascii?Q?NtW4AFTN89irWcIkS7QUBCL6XIVp2qN/6M/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R9gjL9oDPm1Bt1ErxdSrxFEfZSScjBrHoSTZCITOQToZ2cN4U/tA6JGE3+Si?= =?us-ascii?Q?1Z31BSN4aEUFUi8E=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB2026;6:kMOkT1o1wk8EspYlRvuCMz0V/pWX/p+6/zXcznxB?= =?us-ascii?Q?yoAyI2ALqxsVr10yW+NaemEemShqYxf9WzFb4tbK5ECSolAPXwMcBfl+fK9M?= =?us-ascii?Q?gGUDCeOdNnHg4r9u/u+5KMKvIV/JNKn2kD79eg2m6T6nrI5Acuwls5UxRfI9?= =?us-ascii?Q?T8t7y2uaiRZ44AuN8ofBHoIIe8oieNaLCHGerYZn4ab7cVzs6tkKBm7SM83k?= =?us-ascii?Q?kGs2KCf265VYGo4Tj2MgTbrHBs/6r8aEAY5ugWWyf3XlrOIra8bHgjxcnqLX?= =?us-ascii?Q?kdPFqVFDhWz66qXQiJZ/bm3rvQOytTQMluw9aeRIo06rpU/XF2ZPdTpb+dQr?= =?us-ascii?Q?pCPWCwtGPtzlosa3MYnJE/IevvQF0bu08s9C90TTLn6AArxpc++2DwzxPyf3?= =?us-ascii?Q?Lg2t5C+lHVG6daShuesGzSqQwgO5MAKCKqIKdSev0FnjhHPbQP3Bc80LRUK0?= =?us-ascii?Q?CMJgWdHJVgVR+W3uoXSBzLlhoq746CkV/2slJ6YUEVz3abx4a67wokrrQKS+?= =?us-ascii?Q?9iU1P/zjO0cUN6vY9xlo+eekWMSj6srTyuDjONw8GTjt33UjK+7JmCtt6SCU?= =?us-ascii?Q?BVUcoPWXzscBPmuNGDu4LA8wSLdMoymKhFkE3NTQgSY46DJ2TUAt9gFaPCCW?= =?us-ascii?Q?yYLV5uhiwsFLux0g0Rnc2RIhxucrUzB7hOFh645QpIHjhmoTA2lBo6xgDclB?= =?us-ascii?Q?/bst2CKYUrSTebfFO3frmPkPgZdrGw+9vovZkGhEZItPNldx/hy5RNYZK9W+?= =?us-ascii?Q?E0X4z2k/eYk09x0uzBEWA1k8lzxb1dGkgRSW6kYFMQaDoW580sa4E815FmHr?= =?us-ascii?Q?oaKsMpwDDlqLq3PYCkDUPNnBWI4sYf1c6T6/o+Drl9KtTDP1fLq95ypqPzXq?= =?us-ascii?Q?rR/5ueQeClhZqycF+gISzpMMQK0zJYZ50QZcZezYq6PhmtX0pDMck8/zXFmo?= =?us-ascii?Q?kkKNONnEcNulpJ7PC307/gxeUfUpmB1sRacNHgfiGmbbR231FNdog+veCoam?= =?us-ascii?Q?xvg=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB2026;5:K38hENurWqnp4VDM/4wsysbr38ECUYid0iCTOlz25uCEUi/iiLEYsrnLMCJeq+dohsHV7M2P4Q1LgnNp3xw4PWnTBhsnnU3sHEycTIaMS2UK7wmnVCfnrPZEqS2GQxQQf9jYORqBjmrTz72K8cPa8UPsvyscgORbFOwkGCp2/eI1nBnJtI9OMTCKKzBCwQLN0/5/5+mHBDr6Kjuy02Ib/UKwzpTl/NdBynsmK0Z1vSGENqcJ6eMpB+qEubXTpyMICeHNl6oOmWbRmtnN2awqCpPLir4ihgNvptO+7uB8ea3icstth9LxbEkymh8lKHxp7MtgpCVgWSyESsTyy72fOFk+lncZnWzpLLFKGhPtx8+lS91Y12bYmYDqTIhQdX9hvGyy/Zl+sK9ghfcQge4QEyrP4YP+jPZSpJ1CRVvvgSJXlHgFzJ5UZhlPmAQKt4ufSdoq1xk25uMBdhuA7GBQRBCaOJ6ZEZ1c48/o/46g+JnOs4AFtEc5l6adLpNHncXL;24:jRIx0CcY79xUIF2q9dixTrJgrULsnRkNbEScspLDLfvMSyOKhbqj4y8Rmcp+vq5lCbu/KhGg5rKwLWHXjsx4Vdymp48vYQ7TPA5TcIVjLMM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB2026;7:AVpcvEtd6U9kuwG80qrHiZij7FiuOH8Ikd5fGQhDbXUcFSGQ3NQCOOwNg0CDUNXsd/Bpm4OLcqpBy3cClyeP/3G0IF5dqwU3pAxqFnMcA2cEUpkGafeG3DeT50lU3BD4CucvpyR89jUbUE39qVIdnAV6pvc8tBImRKWi8WoPMdNCyHxSbfrLnu8lf5DsF4Rz50JSV3wnErj9xPokUr72km074vcP3gZ6J/XJo3JLL/4TZ9wzLH6L0wivcW32BS6q29/+GcLWlvEqn0U3Am2GI+jtwRnvv7W0Jao1J/RUU5TUcUt3xQu5NA7OzFZSs7sSsxguF2hQrwofnXzVk1qFF5Nxr7NEOSi8cAYBrubKrh3u45vYenljcNAj/p1R7wQ817vQUNY0JdJlKF2azpDfjGUd5NamQVjqY3gentsAjoGrhpyWlIVPfv+lEl4Ij7HxzKAwU83tDVH5CmeNOoP/OVGvZ5TVML5BOwE+D56XkNKG4ww3wbZ245+ePPcWWf2hWUpXNS2uzkGGPymhVY4ZevTV2EzevC3lRBNbLu0nsoMu/GhSsCkJYdHCVABfAmPADxoU4H+HduzmQWpkl/BE1cjFQvg4FlCaIuVdtQ4D0cE2BEBMESyK6RP9m7daV7tcGMxhzxMpn1zOhtx9alvPh4qOllzzwFo8t9tKgjqRvfz7gUlIORHO1ZWy0/s5aE+nC42QPklqB9ZtQdfH6NtrVF0HV4NKpfO15c3Q5vKHqBV6MURIxV1v6aQ9fQ0rAOyitSsM8kwSwR4YDt4L/pC3ZU1JQvRtn50mjDX09+TV3SM= X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jun 2017 12:25:22.1763 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB2026 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2614 Lines: 65 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. This series is based on patchset. https://www.spinics.net/lists/arm-kernel/msg578443.html Changes since v8: - Reworked patch #3 as suggested by Will. - Corrected typo mistake in patch #2 Changes since v7: - Added new function "arm_smmu_v3_resource_size" in iort.c to get resource size. - Added new SMMU option "SHARED_IRQ" to enable errata #126 workaround. - Coding style issues fixed. - Suggested changes in arm_smmu_device_probe addressed. - Replaced ACPI_IORT_SMMU_CAVIUM_CN99XX macro with ACPI_IORT_SMMU_V3_CAVIUM_CN99XX Changes since v6: - Changed device tree compatible string to vendor specific. - Rebased on Robin's latest "Update SMMU models for IORT rev. C" v2 patch. https://www.spinics.net/lists/arm-kernel/msg582809.html Changes since v5: - Rebased on Robin's "Update SMMU models for IORT rev. C" patch. https://www.spinics.net/lists/arm-kernel/msg580728.html - Replaced ACPI_IORT_SMMU_V3_CAVIUM_CN99XX macro with ACPI_IORT_SMMU_CAVIUM_CN99XX Changes since v4: - Replaced all page1 offset macros ARM_SMMU_EVTQ/PRIQ_PROD/CONS with arm_smmu_page1_fixup(ARM_SMMU_EVTQ/PRIQ_PROD/CONS, smmu) Changes since v3: - Merged patches 1, 2 and 4 of Version 3. - Modified the page1_offset_adjust() and get_irq_flags() implementation as suggested by Robin. Changes since v2: - Updated "Documentation/devicetree/bindings/iommu/arm,smmu-v3.txt" document with new SMMU option used to enable errata workaround. Changes since v1: - Since the use of MIDR register is rejected and SMMU_IIDR is broken on this silicon, as suggested by Will Deacon modified the patches to use ThunderX2 SMMUv3 IORT model number to enable errata workaround. Geetha Sowjanya (1): iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126 Linu Cherian (2): ACPI/IORT: Fixup SMMUv3 resource size for Cavium ThunderX2 SMMUv3 model iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #74 Documentation/arm64/silicon-errata.txt | 2 + .../devicetree/bindings/iommu/arm,smmu-v3.txt | 7 + drivers/acpi/arm64/iort.c | 69 ++++++--- drivers/iommu/arm-smmu-v3.c | 171 +++++++++++++++----- 4 files changed, 186 insertions(+), 63 deletions(-)