From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754062AbcDVNlF (ORCPT ); Fri, 22 Apr 2016 09:41:05 -0400 Received: from foss.arm.com ([217.140.101.70]:34402 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753953AbcDVNlD (ORCPT ); Fri, 22 Apr 2016 09:41:03 -0400 Date: Fri, 22 Apr 2016 14:40:53 +0100 From: Catalin Marinas To: Suzuki K Poulose Cc: linux-arm-kernel@lists.infradead.org, mark.rutland@arm.com, marc.zyngier@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, Andre Przywara , Vadim.Lomovtsev@caviumnetworks.com Subject: Re: [PATCH v4 4/5] arm64: Verify CPU errata work arounds on hotplugged CPU Message-ID: <20160422134053.GL2998@e104818-lin.cambridge.arm.com> References: <1461324335-5081-1-git-send-email-suzuki.poulose@arm.com> <1461324335-5081-5-git-send-email-suzuki.poulose@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1461324335-5081-5-git-send-email-suzuki.poulose@arm.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 22, 2016 at 12:25:34PM +0100, Suzuki K. Poulose wrote: > CPU Errata work arounds are detected and applied to the > kernel code at boot time and the data is then freed up. > If a new hotplugged CPU requires a work around which > was not applied at boot time, there is nothing we can > do but simply fail the booting. > > Cc: Will Deacon > Cc: Mark Rutland > Cc: Andre Przywara > Cc: Catalin Marinas > Signed-off-by: Suzuki K Poulose I think Will commented on this previously. Was a decision made to leave this patch as it is and subsequently add support for enabling local workarounds for hot-plugged CPUs? I'm fine with this given that most per-CPU workarounds like undocumented bits are set by firmware. But I'd like to see it done properly once we have a workaround that needs per-CPU enabling. Reviewed-by: Catalin Marinas