Received: by 10.223.185.116 with SMTP id b49csp4078732wrg; Tue, 6 Mar 2018 09:26:56 -0800 (PST) X-Google-Smtp-Source: AG47ELttkMXLpb/7+UFXAbIa3kPiwMPj5gEXJtICsEPQoRSgeahe/4xiSlRy/NmvL78s1RU0sMwO X-Received: by 10.99.156.17 with SMTP id f17mr15950889pge.12.1520357216629; Tue, 06 Mar 2018 09:26:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520357216; cv=none; d=google.com; s=arc-20160816; b=FNVe4O+zSu1GzWg3MR+kdZWpNSvf/dJpdgK8JaLBJFJHzgOIjmRmd1JWA/hwUe1vl4 MNR1Nrm5tXBZZlkATlPkd/mpx+ld/jyp0al9kAjSdqj5kqXxIlFwqlYDCB3DoYoVyzxw uCgMFEqiKLaE7VBTAmKo0wOQnz4F1HwSa/zltvH7WxjFaTmlNPqmhXqmJAWS2kmRzRWD zEsRouLmr4qFOq1v6BYh6QbGGIMkIAvMpxL0hxvP6wRz+gH3fKS0l1TsyLuAlY1ipsu3 O99EpEnEaPfL+sWYWvdCJgUcnt7IaBef5/aOolWnXtokcxEyqq6n8a0VLoj6xXuC1jZm 07kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=AkIg5bkF3jJJFMt6w3aP8Hz1BLGeJYDwV1odulGDvEM=; b=vMB/K2Sj883nxjv9hmBZGbufYCF9lRwOeOMwwNsV1sTUHfTyWGt193s0JmMsX3lMdN xEgFRCKCW+5w0x+LNenonFKLjw4aAIqUjm8dyBjcnpLgQmHui7kx9By0GH1ThI0zdGAO 3WQWL9d0a9lWJdCb18BwRjC/v0/IiHraf5nHOgJB/E4VoJJuaI8GbrK9BsR8OexJ74mP 65hiVKYQnTxR8N9LZbcf+DTH23zi3fnnC4OgCCgvVVGQV9X0GUTUd9atm73SBU0nDbK6 gGv8MEwQO9n10LTdTT0B4gcxvnMGL6LmBS3IshgPRQRI1huUe6Ba0Dy4DLFqm6WIxy3p b4jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=C7r+hzIQ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z15si7688921pfm.352.2018.03.06.09.26.42; Tue, 06 Mar 2018 09:26:56 -0800 (PST) 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=@messagingengine.com header.s=fm2 header.b=C7r+hzIQ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754117AbeCFRZZ (ORCPT + 99 others); Tue, 6 Mar 2018 12:25:25 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:49513 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754097AbeCFRZW (ORCPT ); Tue, 6 Mar 2018 12:25:22 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 29A3620CBA; Tue, 6 Mar 2018 12:25:22 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Tue, 06 Mar 2018 12:25:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=AkIg5bkF3jJJFMt6w3aP8Hz1BLGeJ YDwV1odulGDvEM=; b=C7r+hzIQguqoc3kxxRolSeT+4Yivo5IknInoZ1WjJkc+o +kX1YlbmL4EjSlBY9+siU8OC7PVONi3KHi0UQhTjw0nZuPBEJ3cCQRocRgS+wAZL 8DFN4edpLkXrXn4GEklI0WVI/stR+PGHXyspjzq72xm2mZW7SmUTesC0Q8DgFvKC GxjkoZMRFL0qH0n4CD/+ZU3avuaurVoG5EJ5HTvwZsix5wxqRyiFo2hsRQT7fMhM ptHb7g9y7R/SDhCGksqLSl0rQhZBL0QQpeqAHNknoYcvp/wFHnvY5+ooHR7V1r88 vh5vNfEVi35JLwBpPT4PenQNbs0vz3IrD3qPgD5XQ== X-ME-Sender: Received: from localhost (unknown [185.236.200.248]) by mail.messagingengine.com (Postfix) with ESMTPA id 9869B7E12E; Tue, 6 Mar 2018 12:25:21 -0500 (EST) Date: Tue, 6 Mar 2018 09:25:25 -0800 From: Greg KH To: Mark Brown Cc: Alex Shi , Marc Zyngier , Will Deacon , Ard Biesheuvel , Catalin Marinas , stable@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/29] arm meltdown fix backporting review for lts 4.9 Message-ID: <20180306172525.GA6618@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> <20180305124638.GG8588@sirena.org.uk> <20180305130859.GB17802@kroah.com> <20180306142634.GC13586@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180306142634.GC13586@sirena.org.uk> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 06, 2018 at 02:26:34PM +0000, Mark Brown wrote: > On Mon, Mar 05, 2018 at 02:08:59PM +0100, Greg KH wrote: > > > I know there is lots more than Android to ARM, but the huge majority by > > quantity is Android. > > > What I'm saying here is look at all of the backports that were required > > to get this working in the android tree. It was non-trivial by a long > > shot, and based on that work, this series feels really "small" and I'm > > really worried that it's not really working or solving the problem here. > > Unfortunately what's been coming over was just the bit about using > android-common, not the bit about why you're worried about the code. :( Sorry, it's been a long few months, my ability to communicate well about this topic is tough at times without assuming everyone else has been dealing with it for as long as some of us have. > > There are major features that were backported to the android trees for > > ARM that the upstream features for Spectre and Meltdown built on top of > > to get their solution. To not backport all of that is a huge risk, > > right? > > I'm not far enough into the details to comment on the specifics here; > there's other people in the CCs who are. Let's let people look at the > code and see if they think some of the fixes are useful in LTS. The > Android tree does have things beyond what's in LTS and there's been more > time for analysis since the changes were made there. I suggest looking at the backports in the android-common tree that are needed for this "feature" to work properly, and pull them out and test them if you really want it in your Linaro trees. If you think some of them should be added to the LTS kernels, I'll be glad to consider them, but don't do a hack to try to work around the lack of these features, otherwise you will not be happy in the long-run. Again, look at the mess we have for x86 in 4.4.y and 4.9.y. You do not want that for ARM for the simple reason that ARM systems usually last "longer" with those old kernels than the x86 systems do. > > So that's why I keep pointing people at the android trees. Look at what > > they did there. There's nothing stoping anyone who is really insistant > > on staying on these old kernel versions from pulling from those branches > > to get these bugfixes in a known stable, and tested, implementation. > > I think there's enough stuff going on in the Android tree to make that > unpalatable for a good segment of users. Really? Like what? Last I looked it's only about 300 or so patches. Something like less than .5% of the normal SoC backport size for any ARM system recently. There were some numbers published a few months ago about the real count, I can dig them up if you are curious. > > Or just move to 4.14.y. Seriously, that's probably the safest thing in > > the long run for anyone here. And when you realize you can't do that, > > go yell at your SoC for forcing you into the nightmare that they conned > > you into by their 3+ million lines added to their kernel tree. You were > > always living on borowed time, and it looks like that time is finally > > up... > > Yes, there are some people who are stuck with enormous out of tree patch > sets on most architectures (just look at the enterprise distros!) - but > there are also people who are at or very close to vanilla and just > trying to control their validation costs by not changing too much when > they don't need to. Great, then move to 4.14.y :) And before someone says "but it takes more to validate a new kernel version than it does to just validate a core backport for the architecture code", well... > There's a good discussion to be had about it being sensible for people > to accept more change in that segment of the market but equally those > same attitudes have been an important part of the pressure that's been > placed on vendors long term to get things in mainline. > > > [1] It's also why I keep doing the LTS merges into the android-common > > trees within days of the upstream LTS release (today being an > > exception). That way once you do a pull/merge, you can just keep > > always merging to keep a secure device that is always up to date > > with the latest LTS releases in a simple way. How much easier can I > > make it for the ARM ecosystem here, really? > > That's great for the Android ecosystem, it's fantastic work and is doing > a lot to overcome resistances people had there to merging up the LTS > which is going to help many people. While that's a very large part of > ARM ecosystem it's not all of it, there are also chip vendors and system > integrators who have made deliberate choices to minimize out of tree > code just as we've been encouraging them to. Again great, go use 4.14.y for those systems please. It's better in the long run. thanks, greg k-h