Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752762AbdFUSUJ (ORCPT ); Wed, 21 Jun 2017 14:20:09 -0400 Received: from mail-dm3nam03on0051.outbound.protection.outlook.com ([104.47.41.51]:25056 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751942AbdFUSUE (ORCPT ); Wed, 21 Jun 2017 14:20:04 -0400 Authentication-Results: caviumnetworks.com; dkim=none (message not signed) header.d=none;caviumnetworks.com; dmarc=none action=none header.from=cavium.com; Date: Wed, 21 Jun 2017 20:19:47 +0200 From: Robert Richter To: Geetha sowjanya Cc: 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, robert.moore@intel.com, lv.zheng@intel.com, rjw@rjwysocki.net, jcm@redhat.com, linux-kernel@vger.kernel.org, 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: Re: [PATCH v8 3/3] iommu/arm-smmu-v3: Add workaround for Cavium ThunderX2 erratum #126 Message-ID: <20170621181947.GH16981@rric.localdomain> References: <1497968259-16390-1-git-send-email-gakula@caviumnetworks.com> <1497968259-16390-4-git-send-email-gakula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1497968259-16390-4-git-send-email-gakula@caviumnetworks.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [78.52.107.233] X-ClientProxiedBy: VI1PR0501CA0001.eurprd05.prod.outlook.com (10.172.9.139) To SN1PR07MB2349.namprd07.prod.outlook.com (10.169.127.15) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: f2590fb7-28a5-47f2-f606-08d4b8d2217a X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131423075)(201703031133081);SRVR:SN1PR07MB2349; X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;3:x9enGqslq+c10oqo32LWjKYpG/382zKffJjbwzrJSArUge3hU7vxyRwpXw7n0T2y+rhw96KKs3jjQcSjPbmlRPeNG5Le1scxR/ALBEkiobX/0JZEpWXj6yXtnbkP2PMDl84yWGbTgg2ELsOwe6Z/TmkeU7dlCF9Tg5BHm0bvf+En4wNnGWy5N/RRwPOl9ABuHONncvsyLZJv5KrJmRHvT1cK7ZtoI1YBq1xgVznm1xOllJuaKq80+VTC2p1Ymvwe5bccWtunwMOTSXfVg6Dg1IrR4jHK7dBwNBp/993FxS0+SaaWu2rO1qESX+1XoBXdzPRP0NA5CBIYVJP1KeVoTg==;25:qApQvV7ZuKUz25qD7pSenSzIOL+KDsy6qDGXjcBKoIBK+QtXlXpHKqkB0NmtqJJ1g252y6yT5d5JXlArtkKhQhDC+w423fQmBaelw3yxCeMWCd0ods3tNBedRkay2FxDQUDoZpQ+CaD2Gc3i8vbypLZ+Vu1AUa+/vDxdHIulE7FDlulU2fvF/JFWhLM6MD24fNcUtlzodpOQpOxW/YC9HbldMAXITTCtIzjKYekwlh0Yzwpo/XZj38hKxo4H8AWi9E/gdPzLs0l7v2g++B01gToHev1fre7z8Zl6jzJRvOMyWbNvvRmutTC/9qagz4rCgyxXbFIs4YmPC/59OPt4VYha3Q/15ysr/cGjMIv+DO6QVqkTLAC06B6t++qUU73w01uzlVGE9/kx552NuzjY12U8MPZ3FynqfShwV05qpjDYALyYYOkKpElpiIvzkLyShS91/u1q952EeK1vsOj8/N/NuwBisRmR/6Jg6e/EMtk= X-MS-TrafficTypeDiagnostic: SN1PR07MB2349: X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;31:lH5i32MXMd+Qa8B8i7AmTUqhSlLlcT+3Orgq3W1ENyg3uvZnOD3y97y7yhjTtZcdFtWnQnQNraPz4VSeDfV3GNo/ktjQb42bUDy8OgNlGvnvcKcB9BnSOuQnTCU513ZKuEbp4Wwb/Sr/NNOzTPkT2nWKQShFycgRT8966YfitcfMd/0PR6GOBAE7AMkAQ7kw5UjStw1SJcCbDoe4mkqsvAOYQVSmolwU6FXJ/m1bK8k=;20:N/iHZyZppfd5I3bE7xYcLiJ7Bni1xtJs9wkglVbRG1a2EVgkICpCVASZ8NhVmjulGkBphTXri5ToyPOKaKn9M6rNnvcU3tba4zCGW34SLnAydAUXyWyROh1MmEXKJmfjMqgrD+xNb4jREqhkCdRwLfcO1Kf3wB64Vdh9SHuX9EV28tl30KToKu5IkHtD4XBHFTQuhoGhdHnEZuJNdMoopjmAxXX9uqsbGOJd2xbOfHlh/hs1VnsEbxmu1cAwu3gHofqf5Ku0FbkYKMwgUE+Sz+zVStX/q3XlCj9H8Okbs0BqVOz6Q73Re6HsfHuTeMeFKWj68VHl2Qd8jFrV68VooTJZLRSPYooQ71YYxnOJHUnZC+gZsvcHt6cYvmC2lxgF+fDfHkSZafhRZtPXV4s7QNzfBuE+IyTaLOAFdU2sDOuIF8+haDT2KPCRAUw18T4ZsdZB8fEcf0DfXy9hAQJlrGO8OiFrOW+ci8Uq+0jYFUh4HrG4hSgdA6yNOFtNpHnC 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)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123564025)(20161123560025)(20161123562025)(20161123555025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:SN1PR07MB2349;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:SN1PR07MB2349; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR07MB2349;4:XY9yZmGU7yOKDnUJXJq1/eTtbBsQ5p0REF+LtaxVzk?= =?us-ascii?Q?31BSZx8OH3bNN4rGsnM44Zj00l6KhgT8tgIIrbKhV5P9fOjKkV7qpdoy74bk?= =?us-ascii?Q?OUeugW7+ym1J/zJyjTDXcklWYcuGEXtmVgPOIznEQAqDIsmcGSuJjh6qFi4+?= =?us-ascii?Q?Qs7AYowEKE5Le3mfbBD/einPgJgXkapjcT14GAmFDeHevBP4Epn9bz52a5B2?= =?us-ascii?Q?2uACcQYbdK1b5iKWSVU4sOyXS//0QZvirpoYZ75qk3NgJJQMFgMiZrdQV6pK?= =?us-ascii?Q?Gjgx027WMLjcGE1QAOfTzyit/g86+49yKQFkcKLMou2Oj79ozy0HtfO3DlG7?= =?us-ascii?Q?7ihoQx5axCeZjJ40uQ42d+MrJVDureC1jELTH78Vdr4YN/nOcqtpvbnm2g9J?= =?us-ascii?Q?bCJ2EhFtE1PsxbhcwEXGj5xAgX7zV4PXCUj3Yv/6UECsSM+GQ0oCpswfrRyu?= =?us-ascii?Q?ChIfHwAtAGv4+Ox4uPvIINrUD0tl0BCWXoG1Yba8wN9dI22kH+o39vn8vwuZ?= =?us-ascii?Q?3tJxUCKSlX/ZpAkk36fLLl1vLvjfpw8EFNtyXVwpF00n20GG/I3pDO3VT4CU?= =?us-ascii?Q?o65k67h9KBlugte53iQUvASSQus8BCBLzj58qS6lCGosypLm0T4EgS+AgrEO?= =?us-ascii?Q?7gNGOY3UAldKvAARo12pT5L1RAjG8xomfk03/qRN93uT2HcNuxniY0WRWzkM?= =?us-ascii?Q?Qi8slVhXpt4phHCmy3+d3LrzCvs/UYpyiLFIRxizgpirX/PagPS4G0cBfkPR?= =?us-ascii?Q?JSdd6rAg5YomiuJtTZAxpURvlEIkCgPn1FWtb8WcFLPMwnUSwEO6uDQovr3A?= =?us-ascii?Q?j7EL6o4rEuzfNXY3a4e7h6CEc1RhIgzhoxaRhy2ZA7qFPa1cEcFAqb8YEqTb?= =?us-ascii?Q?1G3WvEnu4DlRmMfCPGRnYb3JixKmIt1uzx0CVhL6qJ+3SRYncW75B4cILw2N?= =?us-ascii?Q?YahTVoUpIBm93Q8brULwRMHp7VDhatFORierwNYY3DjiCbYZHx4TFg0PBDwJ?= =?us-ascii?Q?xw49KCd8QTliEYK7Uv8PTR14HfXgvfEDOnTjRjsDl1xqH7TS3/6CZApyeivF?= =?us-ascii?Q?+oOKWEZT0Xworl8+WDSZj2o9vWN1dbR+t8STpAoio9boPQRr31kwpmL7smWY?= =?us-ascii?Q?Y/MLu2n7ITuQiwtokycN9ZGnV+4DwS?= X-Forefront-PRVS: 0345CFD558 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(39450400003)(39840400002)(39850400002)(39410400002)(39400400002)(24454002)(189998001)(107886003)(4001350100001)(55016002)(53936002)(25786009)(38730400002)(9686003)(50466002)(110136004)(6246003)(8676002)(33656002)(81166006)(2950100002)(6666003)(50986999)(54356999)(76176999)(53546010)(229853002)(6862004)(5660300001)(42186005)(7736002)(230783001)(6506006)(4326008)(7416002)(6116002)(3846002)(1076002)(23726003)(305945005)(72206003)(83506001)(478600001)(86362001)(47776003)(2906002)(66066001)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR07MB2349;H:rric.localdomain;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR07MB2349;23:FDaK3ik0DD9mU/bebfdQHuTUecpwCB67fWlONCe5y?= =?us-ascii?Q?PNbZ+/olVSvnGb4fjO7m89hx+QVQDosimjS2UlwWluJH6g08/Jb4iaSXXQHs?= =?us-ascii?Q?u5b0lMcet45xv3dexKQpBWaLoghsXNM/siZjWEbjBaM9SaKPD7I/gkMURxDC?= =?us-ascii?Q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qUWoZhkGtiOuUET72+o01G?= =?us-ascii?Q?6iekTlGkkTXs0zartJW+z3Ito+aGholZokCFIeQgjIqMSpSo2wo40i/T6Cmw?= =?us-ascii?Q?7UcP9JhgztO6C8RLEGXt03gdwFQjlCpKSC+QH5PIeBtNuuUcKMtl3Gc2GX7p?= =?us-ascii?Q?C99T4EgUZW0Cq0m7HSZj179WJGH3rY3C6LpK8Oe1aA7gHUTkIr0ezBm7+IEM?= =?us-ascii?Q?e7ChqNt+H8J+dUgQ4g=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR07MB2349;6:0RcS+JbxomurgcesowR/A6uYH5kQCtsPBgF+ZvLfij?= =?us-ascii?Q?SXprm7+IrX6ngOdI//xJW9vAwMYxr6fGjNWjSW9BkF+53vAZQzVwwdCbno0g?= =?us-ascii?Q?YEmCIUGc8OTJ7T13qu6mmxzWj8D5klbExKNTjCgCKxQyghAg9/Y3m2yPWxsD?= =?us-ascii?Q?UoUZaI7DzKbeY8phQchPjiuIFmDJETiNrKAwPU6ZngqLTxXJMgtetAvKyFKQ?= =?us-ascii?Q?Pbt4/6yqC4yp7idUp0J4tmTGeV9cGgSriExTP/wpv72nfxpjPSqMfKs52hgi?= =?us-ascii?Q?QyPDKz+4tx3nYD6pkRm66baegHGGVB/9cutGoEU+9NHUsof1cScWaoY4P9J2?= =?us-ascii?Q?kg+IqDitEfJ0Rq1oBM4ciKw8ZERCpn7kVDeiMikS0artRx/K2rv6WizJJ56j?= =?us-ascii?Q?eBSMV8Atcq7YYmoanjDDHW2jOgUDFJ4G1ziQ5pEWrfBnCBo20hzGl8TxSKPE?= =?us-ascii?Q?6sf6BFG5nV49Y0J/IVOvj6vzOcDFXi61jKIQDU38M1g5EohLOyBqT3Gia85u?= =?us-ascii?Q?9pxIDA4vUAArGHlfZPEaG0aTGIpROacYtFMMESjXkYmf48EPCkAAMdv9luB5?= =?us-ascii?Q?gM9lOlPB4ppuX7eKcVGabS+XojeAAs8l7PfNT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xj9yF4Hgp650YiSU3BQYcLOzNXWVjrZC2b9Q1SZ39o5IaJkGjl6uQt7bW/ovTMOMnRI= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;SN1PR07MB2349;7:t9JhDVtuPX9kMOdBpeSeDl4eRv3+Y+EsCWQyLthbj0czPOCrUw9/ew3nNyphUpxPyUtmgjpbSmXCi7aqBm4UsrlYDIVhfKOOaPSo8cqMxsOmN67pztNs7kdLExEiWcYU1ItcALDLfEriVsRd9an7qUI0LNc7fn52BFMbzOJh7DE32c2p87t4NPmn84Xz0dQ5alcpn1997TXExUSlsdpqLK36pGUJUQBIhFA0RZAoMe4S1uW+qzrnYU0lJHXNgn2jDxNmHNWGrOXILcE3D83zN7RUzvL9BxR+o+vW6bMcgk+xkzr//srmAqtxWART1OasqKvM54VZfzQgISCayGjGmJuCbq0jQD9g6Kl9DG8UsPSAicE4GzpN4JOOImGlDVtq6oFdX0j4Tk+YpLCeZN1tSFnccA+LCPtmfy87WbwMTZVjvJnxpp46+3nBLUgsOFxIO5bl2GcFs6+Lr5opjMMovkbzp280jIKVeBCMn30Sgc1rtGUysreI1+9EUChQ7uqG7Fu50eJb/n4uuzknEEbwCylHZse+3522rRlImPIIycWMafN+Y5InP2H3XkrEjoyR6LUfkK0dJr5Yy+iDarQ/vn5DqRHGe/KdTcraMNzdiPdy26ax53SGOZOwaf+UNaugsHvd2fXhJk3KpHQ4m4kTyVGvzLO69rYmt3NxGps6CvJ5bcxya7tuOLGI7UR+COTTuubij/bR1uOQ68AF1dAhYmEOqHI5ELjo6/BnytnceI7eSzbkk4SXqMe7S2DrMxPhkPBknxEaWUSHFKFhKsC4VB7jJS4DGZTlCnJxEQucNO4= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2017 18:19:56.8555 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR07MB2349 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 721 Lines: 19 On 20.06.17 19:47:39, Geetha sowjanya wrote: > From: Geetha Sowjanya > > Cavium ThunderX2 SMMU doesn't support MSI and also doesn't have unique irq > lines for gerror, eventq and cmdq-sync. > > SHARED_IRQ option is set as a errata workaround, which allows to share the irq > line by register single irq handler for all the interrupts. I found the entry in silicon-errata.txt missing, is that on purpose? -Robert > > Signed-off-by: Geetha sowjanya > --- > .../devicetree/bindings/iommu/arm,smmu-v3.txt | 5 ++ > drivers/iommu/arm-smmu-v3.c | 73 ++++++++++++++++---- > 2 files changed, 64 insertions(+), 14 deletions(-)