Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2632762ybh; Mon, 5 Aug 2019 04:18:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzryBCPEcUyzO7ZI4Scbhcm4S3H6KGzaknjfh09xVpkBUPt8pbIrcr6RXN6ORf97/tdoZfD X-Received: by 2002:a63:e84a:: with SMTP id a10mr8685152pgk.274.1565003881659; Mon, 05 Aug 2019 04:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565003881; cv=none; d=google.com; s=arc-20160816; b=h2vSxE7fLFnAz/W+eKzzvinDcGrSVjGKRr5wqU/FNJh79uesQVOdOKlndNlnI25CX2 MNgHbgc+rS5whfP5H+ND5TT0FexsjS+BzBzVByiXQp4Qy12ehliD9AwlooFGUk7+7eej F6GtCzkAktEqAcqtlX3gjfFOJeu60HSHAj0GBPW5aMFr2C78PYVT3kK1dfZiBQqSXFkp //IQSEQxWwwKLGrH87iKB9uHz2movhglsNZ+Yi2i14auo/UaKgJE4TWiVAc0pIGFpQIA M6Glx/z5VjaMJ6LhrPltOIyklUSSaO9MrnGIps0uZQtyB0a+8Jy2njVxejZPbJLh02iw +Ihg== 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; bh=E1SgbXvYZLLEXbNetHVv0D28zpp9rNCuDBxxU3wALwU=; b=oegOai35o3km8Vff6Ssvb1B90jFBDz/Tw4Sdz71kBjgkZQeWDz7zkv/6LgsXe6SoyI 2Rtqjcds4qh1+bsw+6yLW9tOk+vXcJsb7yimI5PlYg2hzUByj6K+mRZg0Q2qnmRH57nc RJjFIuMgS6TZqjSFJm6BUEY7piw7ISPve/CQQdbFew1uoib5XvwO2BSJInQu6/z97guV iDKxjAXIphyJMmcQ3+2GTeC/BjzmNItCzT0/qmibkVx8hZ2LjNKMM2RT94PM+qO1LJY5 0Pd0N2H2fRv/r5QHYv7oWzzo/BoeVi/fJ2sCewNGfoyTZ9FqXj5Nq9CA9P1RF4xTrYB4 QE5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=UGNAi413; 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 m5si38662701plt.167.2019.08.05.04.17.45; Mon, 05 Aug 2019 04:18:01 -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=@kernel.org header.s=default header.b=UGNAi413; 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 S1728409AbfHELRG (ORCPT + 99 others); Mon, 5 Aug 2019 07:17:06 -0400 Received: from mail.kernel.org ([198.145.29.99]:41982 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727158AbfHELRG (ORCPT ); Mon, 5 Aug 2019 07:17:06 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 94A3620856; Mon, 5 Aug 2019 11:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1565003825; bh=JCiN2ISR81s+2Lx+2tbYurR9+DzYblAfJLh6BdGkxrY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UGNAi4134dElHNtXnff3/vxvYhB9pmlQfEHL460cRQmeChXMUX01Xa6fKwMNcymHM 5w1ncMys94VH6IBbL9L91uAZoIyjS1UFmoJQzpHP8q9jbvZYMjUjQ1srFeB7PMCEiQ xNoh6h815xI/PVEljHzHiIbAzigwaQR2uVgCy0go= Date: Mon, 5 Aug 2019 13:17:02 +0200 From: Greg Kroah-Hartman To: Alexey Brodkin Cc: linux-stable , "linux-kernel@vger.kernel.org" , Corentin Labbe , "khilman@baylibre.com" , "linux-snps-arc@lists.infradead.org" , Eugeniy Paltsev , Vineet Gupta Subject: Re: [PATCH v2 2/2] ARC: enable uboot support unconditionally Message-ID: <20190805111702.GA8189@kroah.com> References: <20190214150745.18773-1-Eugeniy.Paltsev@synopsys.com> <20190214150745.18773-3-Eugeniy.Paltsev@synopsys.com> <20190802074053.GE26174@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 02, 2019 at 04:25:39PM +0000, Alexey Brodkin wrote: > Hi Greg, > > > > May we have this one back-ported to linux-4.19.y? > > > > > > It was initially applied to Linus' tree during 5.0 development > > > cycle [1] but was never back-ported. > > > > > > Now w/o that patch in KernelCI we see boot failure on ARC HSDK > > > board [2] as opposed to normally working later kernel versions. > > > > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=493a2f812446e92bcb1e69a77381b4d39808d730 > > > [2] https://storage.kernelci.org/stable/linux-4.19.y/v4.19.59/arc/hsdk_defconfig/gcc-8/lab-baylibre/boot-hsdk.txt > > > > > > Below is that same patch but rebased on linux-4.19 as in its pristine > > > form it won't apply due to offset of one of hunks. > > > > Why is this patch ok for stable kernel trees? Are you not removing > > existing support in 4.19 for a feature that people might be using there? > > What bug is this fixing that requires this removal? > > This patch removes a Kconfig option in a trade for properly working > detection of arguments passed from U-Boot. > > Back in the day [3] we had to add that option to get kernel reliably working > in use-cases w/o U-Boot (those were typically loading kernel image via JTAG). > But with a couple of fixes applied to linux-4.19.y already we no longer need > that explicit toggle as we may rely on data passed via dedicated registers > and thus automatically know if there was U-Boot which passed some info to > the kernel or there was no U-Boot and we don't need to mess with garbage in > those registers. > > Main reason is to make vanilla 4.19.y kernels usable on HSDK board in KernelCI > environment. Now they don't boot, see [2] as in HSDK's defconfig ARC_UBOOT_SUPPORT > is not set. So we have 2 solutions: > > 1. Add ARC_UBOOT_SUPPORT to arch/arc/configs/hsdk_defconfig > But we cannot do it for vanilla kernel because we simply cannot even submit that > change to the Linus' tree as that Kconfig option was removed. > Which means we cannot back-port it, right :) > > 2. Back-port proposed patch which already exists in the Linus'tree and thus is > perfectly back-portable. > > Makes sense? Ok, it's your arch, you get to deal with the angry users if you have any :) now queued up. greg k-h