Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752035AbbHSQHC (ORCPT ); Wed, 19 Aug 2015 12:07:02 -0400 Received: from mail-bl2on0087.outbound.protection.outlook.com ([65.55.169.87]:31088 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751371AbbHSQHA (ORCPT ); Wed, 19 Aug 2015 12:07:00 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Robert.Richter@caviumnetworks.com; Date: Wed, 19 Aug 2015 18:05:58 +0200 From: Robert Richter To: David Daney CC: Robert Richter , Marc Zygnier , Thomas Gleixner , Jason Cooper , Catalin Marinas , Will Deacon , Tirumalesh Chalamarla , , Subject: Re: [PATCH v4 2/5] irqchip, gicv3: Workaround for Cavium ThunderX erratum 23154 Message-ID: <20150819160558.GY1820@rric.localhost> References: <1439576885-15621-1-git-send-email-rric@kernel.org> <1439576885-15621-3-git-send-email-rric@kernel.org> <55D21345.3040903@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <55D21345.3040903@caviumnetworks.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [92.224.195.251] X-ClientProxiedBy: HE1PR03CA0014.eurprd03.prod.outlook.com (25.163.170.152) To CY1PR0701MB1613.namprd07.prod.outlook.com (25.163.20.150) X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1613;2:NQ83bFXM+ps3KT68mV0bFCiuLtBoy4rsGzgDVrXSf/fPyph81REJ4sZT6xkTbZA58FVqejHXEcMsSRJoBTa89sV+Wv0On5qqw/P++0DSO0thV773uUtvkvAguXPHnOssB5LfnTpxzxMMprohfuvP1D7Faed/lGO9Jq/DabNzxaQ=;3:KEoFl2JXsm0FIYZYhsc+3E8D2r0nvLsvJZovikgkEBV7a0pYK2ScuF1dO42xyIipEjutt9K+w/x0AfY44qy7EfS4w4fg0uo4AkEE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v6/m4aJSJwEaqIqEYRigHQzD2yb68Xs=;4:QK5y6+criCF/FPhFz98s8w8Jkpi4pWcpn57Yuot8PtBP91hmNv+vk4J/aFly9x9LJfxB02Ne25ZDk1JW7i4W2mDhBmHduGlBThXzwJ7XWRCHWY/4vx0KecGSPq7A87EJDXVeFJv3HzU3BB7iVqlaRYg9m228NaXvwjMnLbsjVLxavfRnZ70JIXI4LGwM46bnJ8pK8c4KWmuPijZ0K/wa7nXWt/kYUWjWdDak/hp6qsXmqnhaAz4ilkPcsYw4Nt3eaBF/aU40ux9T733KSvqdNqraQsagyl88DWOKzNyXsXNynhf2JpsO0ftVKkr983f1 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(8121501046)(5005006)(3002001);SRVR:CY1PR0701MB1613;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0701MB1613; X-Forefront-PRVS: 0673F5BE31 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(6009001)(164054003)(199003)(479174004)(377454003)(189002)(24454002)(2950100001)(62966003)(92566002)(50466002)(77156002)(76506005)(40100003)(23726002)(4001450100002)(4001540100001)(110136002)(5001860100001)(68736005)(5001830100001)(189998001)(64706001)(4001350100001)(5001960100002)(77096005)(66066001)(97736004)(81156007)(122386002)(47776003)(97756001)(46102003)(54356999)(87976001)(101416001)(50986999)(33656002)(76176999)(86362001)(83506001)(46406003)(106356001)(105586002)(42186005);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB1613;H:rric.localhost;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CY1PR0701MB1613;23:j1Njvtk04SSkRpwfzLWdswHnVZAvhUOZj8SR7iv?= =?us-ascii?Q?OJDfetAF2+besCKVwE6VQwbsPuWAFztK3JsfjNU6jNMWdxqSFcBGNfiTfsMb?=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x6oulIb967ttmb2P/mgPonaxK4hlbDENo5G4Hbrn?= =?us-ascii?Q?y3Ar64Yf6KCh9tlJbrH78UyMbr1Soh8Sb7Oe6nT/ZAQ729m5R1HtCuZt2lbT?= =?us-ascii?Q?vu/u+z1qbT0yD/PJVtF2OGqzTAGn8+nZylYcHZV78ypOcpK2wNtTXFyqtL8o?= =?us-ascii?Q?W+/8AapE1fTbAVZDWo2eUHCy8x4NtV+LzE5pyNmris0ZAskUCUaVfX6UrYw0?= =?us-ascii?Q?Q/dcQQRTf/47Bx9+aW0uRVnflb7oC6CKslkWMxXEINsWS/mj05YwH7x9BKw?= =?us-ascii?Q?=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1613;5:AQdC10fLcs3Xr2VgNFiyE5HeU+w2/A2gCBuO4cMz0eZOPxoPOhUk9kybBqSoNmlYtzPPU9MYEwxHBDZsdaPU9kO4r8f//NHU8MJSDChdmwvHZKWKfvZsk7e9PdIaqdRXqgLqFzfnVCeNTWIjE4zsrg==;24:7XMpfFy5dsiE2y8dC4RICNNLX+zXxhq9qGxocqY8w7QyiPN2YfAHwpmTfOAvoU3m/CY7dQVbAO3an4xiakU0Ua9R6OVbn+2+CYUNiRnslQQ=;20:eHWdMoQ59QbiJSX3MU3lhPSLISZgrIqsUQATUcFvx8WJmicSNVny7Jq8sweW3UoCRTem8729/YXb1zpFvfHEjw== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Aug 2015 16:06:11.4046 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1613 X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1372;2:pzbBal0R+nfFZa6CoPmhDQ66zRT9pkf97pv+7OM6thColbGXqE9IyMpO5/goBY9fzZBFTEWw12xrcMKsZGmHzyvWm1qjqY2sVAb5BhST+6oChtQrY+kKH1YnJkA8dnvuHSDarBN1jlsTrPeVDYRK0cRi37NlhD53JO3FNoUIgAA=;3:PsKDqwxrKGRe5NwpV3t+8AOENXFMPZpcBPqxqJT+QwgHg8CPGszm48q96gjsR7Byvb2i/kjM2WRdAg/jxdymDUJn78SOCzL0PfvOTbfj8srH1yudDpPLUvdYtOee8f1DwwA3momPmRZIrQykFXtVSA==;25:LBF56wjZtEZt9MOD+a7vPyCenXM3KuQBMUHR9+V9TbvEOhzcjW/w84XOR73VFqrKtv30wfZsWdLed7jMWZ7uD+8riYoQUAAbyjFWkRidCGryG8dpMfY47YIazjgTxIRsXQ9QSbprnIStpw3oQHeKdkukcqiZmVvwBISyPYoEC5xJsnW8sdiYeA47fxkkvBL89qJEr6avsoZgxwg9a5w299PWKNwCJVS1swUjOHR/PzfJ1tqvcgUdvdotqV0pfxUjVeBTJ/FNZleiXNjaOrKf4A==;23:1OgwdY0aR93NZyb2nVNEQ3RPb+b2pBe0PZRgryiyqPnqVC4UdM1i6A9qTBtJ0uglibStiG9tcxnlL6CvkQv7N+uDgr/qj0UIIo+psXVuJpCUdNKlIYcQvkmR9/cPzyPBgTqtIIG00JI+N2SQNrVHS11TvitShO5DA+mekZDfuxRdWf95VDKQKxITju1qJh2E X-OriginatorOrg: caviumnetworks.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1014 Lines: 28 On 17.08.15 10:00:53, David Daney wrote: > On 08/14/2015 11:28 AM, Robert Richter wrote: > >+config CAVIUM_ERRATUM_23154 > >+ bool "Cavium erratum 23154: Access to ICC_IAR1_EL1 is not sync'ed" > >+ depends on ARCH_THUNDER > > None of the other errata depend on a specific ARCH_*. I think we should > remove this 'depends on', so that a generic kernel can be configured to work > on Thunder without having to first select ARCH_THUNDER. Right, will remove the dependency. Same as for the other errata then. Thanks, -Robert > >+ default y > >+ help > >+ The gicv3 of ThunderX requires a modified version for > >+ reading the IAR status to ensure data synchronization > >+ (access to icc_iar1_el1 is not sync'ed before and after). > >+ > >+ If unsure, say Y. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/