Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3428387yba; Tue, 16 Apr 2019 11:06:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+h0JIC3XkdtbFD6VgsDbLp2lQyM5eqPeS/8zn/Fd4oJZOUKrHdmPQJTAZkjvdrLrK0JFt X-Received: by 2002:a17:902:bf07:: with SMTP id bi7mr54621933plb.87.1555437984334; Tue, 16 Apr 2019 11:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555437984; cv=none; d=google.com; s=arc-20160816; b=Ddzer55q76mZ8fvjOesRAdBpbe7NHPQR+QLcPQ4MLEdqkIwYLRAxPMP3eipL4Tp3oQ izudqn/gH/TKcFSVM3PT+BwOTKKXq5H4R7+RLTSbiZxkfdddqxms5s9I+4Iz3UxsOOBE lRauJ6fcCYdEOGfZ0brBrG3mQXMCHANYBZwDVSeyHW4S7sLeo907uY2nRcLF9fPm1sXv wu/H0YW9QeQqawz2VO9HCUbfsXtnvdQD3AtbzEbWSUpC4kTUC0s5aX0wr9q+fErBp45x VOTTHyzD4JFZIlHm984CELkxRA6N0FNeU6Os4+QFCDkCJjR1xLeqk96I7LRAnGBMlYuH p1qA== 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=jY+8/8g3sjFg5gpMXJhm1SZ4QBP45+rddVfTRmByxAM=; b=i6eLe+422iX06u56HZyte1wxYPzf3og4M6JDQpJPxOuk+SnRyUJ2MIwSQFSNZYsPBJ yUiPHUtM5prLEbsf4VYolXK4A8xd12xZrNwIkq8B/k1VTfpZuNo0DyUdoSwM5f8RONbr poSAam0MDDMHFZQ6o7slPZn9BEo+67+ScqlVXMuTO7zAZj+9BzIMZYTyfZQLwVm+8XG3 l7Q69bHRSRcUyxvBVDWD12sNt9r/8mBK+4l1V5F2R03Mu4a220bjw6G5udoKTU71Rxu0 TsU2Anhc2XqCn9DHtS+QuP+OrGtt88lMGQsMiQsDhRtoGzheKLVv7Rko54x6OGxZcrpv 0a4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=109YCLU5; 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 m13si46217272pgv.582.2019.04.16.11.06.07; Tue, 16 Apr 2019 11:06:24 -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=109YCLU5; 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 S1730248AbfDPSDu (ORCPT + 99 others); Tue, 16 Apr 2019 14:03:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:51558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728809AbfDPSDu (ORCPT ); Tue, 16 Apr 2019 14:03:50 -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 66BF6206B6; Tue, 16 Apr 2019 18:03:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1555437829; bh=f5PLDSzQ0k6DZLuQf0lW+jMtus9QGMxToRDvwzpxAvo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=109YCLU5QG/mM1s0nJ4klZVC/m80YujbGzcityg2mE2QGOuIYcTjCmU3ncAn1Z2XH LRMEWoHJnBTWEVOyslvfQbzdvXvsCSVPvluRwnLXjolb6m5YG5ZuLz3hie3oQ3552z XM5Rz+Hi3pspCV7CC6fICK0fQW2R6OWACAx62ba8= Date: Tue, 16 Apr 2019 20:03:46 +0200 From: Greg Kroah-Hartman To: Helge Deller Cc: Linux Kernel Development , stable@vger.kernel.org Subject: Re: [PATCH 4.9 64/76] parisc: Detect QEMU earlier in boot process Message-ID: <20190416180346.GA26096@kroah.com> References: <20190415183707.712011689@linuxfoundation.org> <20190415183726.478117691@linuxfoundation.org> <20190416142350.GB31920@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 16, 2019 at 05:00:15PM +0200, Helge Deller wrote: > On 16.04.19 16:23, Greg Kroah-Hartman wrote: > > On Tue, Apr 16, 2019 at 03:50:16PM +0200, Helge Deller wrote: > >> Hi Greg, > >> > >> please do NOT apply this patch to the 4.9 tree. > >> See below, it was tagged for v4.14+ only. > > > > Yes, but I added it to 4.9 because: > > Ah, ok. > > >>> commit d006e95b5561f708d0385e9677ffe2c46f2ae345 upstream. > >>> > >>> While adding LASI support to QEMU, I noticed that the QEMU detection in > >>> the kernel happens much too late. For example, when a LASI chip is found > >>> by the kernel, it registers the LASI LED driver as well. But when we > >>> run on QEMU it makes sense to avoid spending unnecessary CPU cycles, so > >>> we need to access the running_on_QEMU flag earlier than before. > >>> > >>> This patch now makes the QEMU detection the fist task of the Linux > >>> kernel by moving it to where the kernel enters the C-coding. > >>> > >>> Fixes: 310d82784fb4 ("parisc: qemu idle sleep support") > > > > This commit is in 4.9.76. So why wouldn't it be valid in 4.9.y (with > > the exception of the fact that it doesn't build...)? > > In my opinion it was not a critical-enough patch to ask for backporting this > and the other depend patch. > Idle-sleep does work without this patch, it's just upcoming qemu-support > wich will not run optimal (but does work). > > That said, of course it would be nice to get that backported in 4.9. > I *think* if you pull in 5ffa8518851f1401817c15d2a7eecc0373c26ff9 too, > it should be ok and fix the build issue. Ok, I've pulled that patch in now as well, let me regenerate the tree and see if that solves the issue or not. thanks, greg k-h