Received: by 10.223.185.116 with SMTP id b49csp4311909wrg; Tue, 6 Mar 2018 13:32:48 -0800 (PST) X-Google-Smtp-Source: AG47ELuD7xT7znCdikzylhitKv2xiVZOMHGQWkKfuLffvpD5M4OrV8mVbYMmNuqHrdbR/4Jc6Jzd X-Received: by 10.101.65.5 with SMTP id w5mr16235372pgp.214.1520371967892; Tue, 06 Mar 2018 13:32:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520371967; cv=none; d=google.com; s=arc-20160816; b=fcQqK9K8PpsWrqiYPqlA68CMTnHejMypB6gnc2NA+1h/qNjM2SA11epQbfHYmoQp5E OYcsb4KMou/4fW7TXoWoCg1Of2JmcU+ZgjjLXim0mN7ZLQaTZAX1oBpaHCcPV/X50BtG A00xU1uiqGO9u6WrXMKguJyYlWy2TZkpgSPCj1i+7TVtuHTniBklbN0XamTIfc5+ywfx 2LEZMIdPRMw1sI0wDIP2ICqBa7kLAfJhQZdKAhsJQbzd55MnpS6f5KKgYZrhGDXwaODE Y4xeeuxVAmVAQ5ILJJ1cqdIMqQxFYhN2SqbMsBBk+8sVctdJVjxb4/RPZEe6t5RCyQQr 6nxw== 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=+q3CaP/v3hJS9mpa7ttlyqUNS/6d6GuvbW8va7VKSaw=; b=wF+oYwTaFlZBuJ8CxP15S61acAzeKj4TDHxjMK1Wspf9rpidQVLmRgP5HF7IFoohgp XLgGPCV0vXvxcEMEzvSdlgS+btJA4zqDgQwDcobBK/SRhhIPvjv0yq356Q7ep2Zvd/bu kSxn+WVqo/8Wx2DKdBPo9XHGxHa50Y+BO3cK5DBfODYIq4xQBmHgyLWsqFSmBF3KkKRt U81SYcnfhUCGm9QjILpI9QZBxAWxTGJJrPGrbu65j92LXjD9MTcC1vf1QNuOyd7q26t1 AgxTekSgfFXbbLBUHyNOi5ie+DFmc5R0XkpGTUYK6ib8lWZqrYDvUG5pdsPitdf2hhnz kihQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=V9VK9om2; 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 v21-v6si4174127plo.621.2018.03.06.13.32.33; Tue, 06 Mar 2018 13:32:47 -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=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=V9VK9om2; 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 S1753996AbeCFVbh (ORCPT + 99 others); Tue, 6 Mar 2018 16:31:37 -0500 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:59306 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753504AbeCFVbg (ORCPT ); Tue, 6 Mar 2018 16:31:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+q3CaP/v3hJS9mpa7ttlyqUNS/6d6GuvbW8va7VKSaw=; b=V9VK9om2cGaVOQGVb3P7s0nPv znHKWy1b8MWUBT2nZ018BsmTYrgUL/qGTAbOzj5wIKO9+a9v0uPtFYiveKRmoe/5Xj7b8z6GdepKr sSA+mDz4EE6MZ8DA6EMvLYIsiVD1VBNiurhEyOrPX5Y56xbEx+eKYcL86ypDC11Ixki8Y=; Received: from debutante.sirena.org.uk ([2001:470:1f1d:6b5::3] helo=debutante) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1etKBG-0007ZI-Tv; Tue, 06 Mar 2018 21:31:31 +0000 Received: from broonie by debutante with local (Exim 4.90_1) (envelope-from ) id 1etKBF-0008Uh-Al; Tue, 06 Mar 2018 21:31:29 +0000 Date: Tue, 6 Mar 2018 21:31:29 +0000 From: Mark Brown To: Greg KH 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: <20180306213129.GG13586@sirena.org.uk> 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> <20180306172525.GA6618@kroah.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="c7hkjup166d4FzgN" Content-Disposition: inline In-Reply-To: <20180306172525.GA6618@kroah.com> X-Cookie: DYSLEXICS OF THE WORLD, UNTIE! User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --c7hkjup166d4FzgN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 06, 2018 at 09:25:25AM -0800, Greg KH wrote: > On Tue, Mar 06, 2018 at 02:26:34PM +0000, Mark Brown wrote: > > 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 This isn't about getting anything into Linaro specific trees, this is about getting things into the LTS so that people who are doing the responsible thing and keeping up to date with LTS get the fixes. =20 > 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. Like I say let's let the architecture people review. > > > So that's why I keep pointing people at the android trees. Look at w= hat > > > they did there. There's nothing stoping anyone who is really insista= nt > > > on staying on these old kernel versions from pulling from those branc= hes > > > 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. Really. =20 The Android tree is making non-trivial modifications adding new features in core bits of the kernel like the scheduler - that's got an impact which will have follow on validation costs if it's not introduced early on in the process. As I have been saying not all the ARM world is the mobile SoCs you are focused on. Take for example Atmel who's tree I happen to have to hand right now, their diff in their v4.9 tree[1] is ballpark similar to the Android tree in terms of size, smaller than the v4.9 and a similar size to the v4.14 one. It's only about 50k lines, about 20k of which is wholesale removal of a staging driver, another 7k is new DTs for new boards/SoCs and the bulk of the rest is things like new drivers with few core changes (spot checks suggest that much of what's added is either already upstream or on the way). You can quite happily use many of their parts without ever taking any of these changes, and it's not just them either. Personally I've got a NAS running a standard Debian kernel (which has very few board support backports) on a sunxi board, works perfectly well and has never had anything else running on it as long as I've owned it. > > 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... Like it or not that's the reality of the situation. It's not that responsible testing of such changes is trivial but it does really help people direct their testing and manage their risk. It's essentially the same discussion as with the enterprise kernels, and it's about as likely that people will change their views in the short term. [1] git://github.com/linux4sam/linux-at91 linux-4.9-at91 --c7hkjup166d4FzgN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAlqfCLAACgkQJNaLcl1U h9AbUgf/YP+g0YJ9ND2sXpz6Fd/WFPuVu2tVcfoiFeNeOY7ug94zjnWt7FXzB7SX YDL6JYK2kjlb3KR841gy4NrsOTMwfajuehbuq6SsqSv1aVLAlSkY1QjnBykhW7V4 FCoHHjYMgiXHOAQriq/gw022wC4YxTog0gIF+SrpCwh++Fs5cQaSvG/2yXDN56/f 8d2j0s3oUk3OJgRuw6GfpPGQc8lNd4tehQiOUdLWyubVLycYrwronYqS2OMhNdxN HPV0z4eDEWKtl+anz4HCHz64j9m+ICwx86S+cBm32OJd4QXlFZ9dhRGrMCpxF0Kw ryRdAV2pN28RQcK9xL5sixE3DEgqgg== =1Vb/ -----END PGP SIGNATURE----- --c7hkjup166d4FzgN--