Return-Path: Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:38594 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2408801AbeKWTyQ (ORCPT ); Fri, 23 Nov 2018 14:54:16 -0500 Subject: Re: [PATCH 4.4 00/18] V4.4 backport of 32-bit arm spectre patches To: Hanjun Guo , David Long , stable@vger.kernel.org, Russell King - ARM Linux , Florian Fainelli , Tony Lindgren , Mark Rutland Cc: Greg KH , Mark Brown References: <20181031140436.2964-1-dave.long@linaro.org> From: Marc Zyngier Message-ID: Date: Fri, 23 Nov 2018 09:10:50 +0000 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: stable-owner@vger.kernel.org List-ID: On 23/11/2018 01:25, Hanjun Guo wrote: > On 2018/10/31 22:04, David Long wrote: >> From: "David A. Long" >> >> V4.4 backport of spectre patches from Russell M. King's spectre branch. >> Most KVM patches are excluded. Patches not yet in upstream are excluded. > > I tested this patch set on top of stable 4.4 kernel, running on boards with > A9 and A15 based Hisilicon SoCs, didn't see boot regression and other function > regressions in our CI system, > > Tested-by: Hanjun Guo > > Since this patch set didn't include PSCI based hardening for arm32, so > bugfix 6282e916f774 ("ARM: 8809/1: proc-v7: fix Thumb annotation of > cpu_v7_hvc_switch_mm") is not needed for this patch set and this patch > set is in a good shape I think. So what's the plan for this patch set? Well, not having these patches means that a 32bit kernel won't be get any Spectre-v2 mitigation when run as a guest on an arm64 platform. It turns out that this is a pretty common setup among people building large pieces of SW, such as distributions. Not having KVM host mitigation on 32bit ARM is probably OK (let's face it, I'm the only user), but not mitigating it as a guest doesn't seem completely OK to me. Thanks, M. -- Jazz is not dead. It just smells funny...