Received: by 10.213.65.68 with SMTP id h4csp335658imn; Tue, 13 Mar 2018 06:03:49 -0700 (PDT) X-Google-Smtp-Source: AG47ELtIHZ7hKjVpfpwPYL8SQo0xN/5s+5PAzBcjyj8WHzKQ7l2/7fL8ym1A4i89wKjX6Dmijh5G X-Received: by 10.99.110.11 with SMTP id j11mr458937pgc.294.1520946229830; Tue, 13 Mar 2018 06:03:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520946229; cv=none; d=google.com; s=arc-20160816; b=oQNkhSIXP4WRBgxLiGsAaTRcuUTOOebbhQfK8CcBXafRWXxgZKz/SCModYEbfMrtgr s/nwGOAbOrIvnalhHKlVcpSvB9dVNRqlA7lsOoOMOmcrNHKzNbiNq8kcvb5cVRV+mVYw 8fERzg+bRpEsKt7X0rezhXxaem7R77j9P6roK1Bf2FjxnOhYd5IRcgM5PyRslCd1ZhWR CaFvel3wkMXLA+kdOGq8nj4h8XzsYefujAOVW4UcaOl+UtruQ/z0Gncg8/LqxssTuORe XKBFGZJSKsl8DfK1LCaPV5u6pKn4jP9Epc36ZWVewXIWNpHHERkbGqBOU11JIKwHRktB 0RpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=SyrbspwVa5cnOzDRhXS2hw1O6di1kY+RcJ+sJJ19kcI=; b=Vcw0J3bq7fk2b1MOds+t1FPMenKrAHvitoHbp9sK5VFmsfGmUeyTcdCQ9jg2bnzmuo CmHJJsAnjW9LOLyGBBpR2uDf7Mp2vPWZUWcbFDPozw2jNHtO7wmlti5Pqo6EIa+6wer4 BP9RnXsN06NrgK1ru6+WocaU3GjlLrX/vL2ZeOATnKCwSzwZPwSoFzsWueTDzu2DYs55 HpXg/uf6HJwud79Q6mAi9M6uN+468vRfCOh6v5rhwutvHzguus4ALGX4t7wbGXBuWQSS 2dFKlGCkKP3sN7eXSheUChepjWWyFk5UpLXBSPbfrfGcIRc22ds+Ls8lXGpSAnD5TXZc Hecw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QuohUsNY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y86si127445pfi.19.2018.03.13.06.03.34; Tue, 13 Mar 2018 06:03:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QuohUsNY; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752535AbeCMNBs (ORCPT + 99 others); Tue, 13 Mar 2018 09:01:48 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:33838 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752461AbeCMNBq (ORCPT ); Tue, 13 Mar 2018 09:01:46 -0400 Received: by mail-io0-f180.google.com with SMTP id e7so18486ioj.1 for ; Tue, 13 Mar 2018 06:01:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SyrbspwVa5cnOzDRhXS2hw1O6di1kY+RcJ+sJJ19kcI=; b=QuohUsNYuMVoRqaAL1MAfijdAtYwlyMoHP84GQ3wyrPJUrlK/ERE81TqZOskNX5pUz HLa1oGqfGIrJCEG8AXHw9PV/oBIB1CpXLvxy4wL+dFjW/RGZuYq0yJjmxlNn5UgYTDKC HFJa5Dlc5YO6uWpGVqgcEopZS9sFH/2OXxC9U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SyrbspwVa5cnOzDRhXS2hw1O6di1kY+RcJ+sJJ19kcI=; b=ENtwzhcsO4MNFLfO6Hpw6lw627yhLeEs+rFXNe+PyX1UwqzGKlNHMJF+rFJCZgVB9F nUzA7183TQGo1SBlLsbknbIMRdqGHXyK+DzdE1PUaeVfQujYgoW+klN5+oQ+PJjIe4kG gpgDt91gKTlfxpmpIS3+HTihDSMKBy/62bOCuY/D0ywU8JRaDFQX9Wf0svL9hZx6facD GWan1J+N7illO0a9TZFuY1HuYrNe1JNyoCp7qQs5TZSw5MsLq8sDNVBFSDi8F8LX8RwA 5ZyldfJS6uSV+8ljbS1gV3L5SGXWmdF5kCi0QA+L9yve9ronB8G9Z6YNrnJuLKIw4MHm z7ng== X-Gm-Message-State: AElRT7EI4eoMCm518yCBNrHSc+z95ni5AAhLJhYJl1tfHzjXItH7P/La s1d1pgE2ASgQL4VAvR3K3vGZG2TsCz8VKtnc5h9/gw== X-Received: by 10.107.5.199 with SMTP id 190mr597888iof.107.1520946105229; Tue, 13 Mar 2018 06:01:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.138.209 with HTTP; Tue, 13 Mar 2018 06:01:43 -0700 (PDT) In-Reply-To: <20180313103843.GA29908@kroah.com> References: <1519790211-16582-1-git-send-email-alex.shi@linaro.org> <20180301152450.GA4061@kroah.com> <5cf40379-9098-da02-a471-8abd7d8f0be8@linaro.org> <20180302165415.GB8704@kroah.com> <20180313100442.GB1999@kroah.com> <20180313103843.GA29908@kroah.com> From: Ard Biesheuvel Date: Tue, 13 Mar 2018 13:01:43 +0000 Message-ID: Subject: Re: [PATCH 0/29] arm meltdown fix backporting review for lts 4.9 To: Greg KH Cc: Alex Shi , Marc Zyngier , Will Deacon , Catalin Marinas , stable@vger.kernel.org, linux-arm-kernel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13 March 2018 at 10:38, Greg KH wrote: > On Tue, Mar 13, 2018 at 10:13:26AM +0000, Ard Biesheuvel wrote: >> On 13 March 2018 at 10:04, Greg KH wrote: >> > On Wed, Mar 07, 2018 at 06:24:09PM +0000, Ard Biesheuvel wrote: >> >> On 2 March 2018 at 16:54, Greg KH wrote: ... >> >> > Please test on the hardware that is affected, otherwise you do not know >> >> > if your patches do anything or not. >> >> > >> >> >> >> I don't think it is feasible to test these backports by confirming >> >> that they make the fundamental issue go away. We simply don't have the >> >> code to reproduce all the variants, and we have to rely on the >> >> information provided by ARM Ltd. regarding which cores are affected >> >> and which aren't. >> > >> > You really don't have the reproducers? Please work with ARM to resolve >> > that, this should not be a non-tested set of patches. That's really >> > worse than no patches at all, as if they were applied, that would >> > provide a false-sense of "all is fixed". >> > >> >> I know that on x86, the line between architecture and platform is >> blurry. That is not the case on ARM, though. >> >> Unlike platform firmware, the OS is built on top of an abstracted >> platform which is described by ARM's Architecture Reference Manual. If >> ARM Ltd. issues recommendations regarding what firmware PSCI methods >> to call when doing a context switch, or which barrier instruction to >> issue in certain circumstances, they do so because a certain class of >> hardware may require it in some cases. It is really not up to me to go >> find some exploit code on GitHub, run it before and after applying the >> patch and conclude that the problem is fixed. Instead, what I should >> do is confirm that the changes result in the recommended actions to be >> taken at the appropriate times. > > To _not_ take that exploit code and run it to _verify_ that your patches > work, would be foolish, right? > Oh, absolutely. But that presupposes access to both the affected hardware and the exploit code. > I can't believe we are having the argument of "Test that your patches > actually work"... > > Ugh, these series are all now dropped from my patch queue until you all > get your act together and get someone to verify the changes actually > work. > Fair enough. If anyone needs these patches for their systems, they can respond with a Tested-by: