Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1797489yba; Fri, 17 May 2019 05:39:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHFPeix9i19yeoEnqw6qF4XiUb0jhcRuA2PyCueg3LorxnhTEjCq8xAspmNskTGUBcGMQW X-Received: by 2002:a17:902:e9:: with SMTP id a96mr30256144pla.37.1558096785135; Fri, 17 May 2019 05:39:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558096785; cv=none; d=google.com; s=arc-20160816; b=qq5bGT9HpOpAn2mXWQ8RzQMo113ufH+gTqAEyNAIkLbrkeA0V8A3v7b30CduG0cpDc 8spcSEx1nUunPW9YWe5cPuBaVncEGIjJPn5jSBnfS0iumDf+/Ztyh/Ut5WLwpyY3TkSO KLR2746BtbOuur+GqyVv7CBTI0JollETJbKJ9BoKKC2ZFfg6GPoS2ED13E+5j/LhZuO2 WUwWtrlzoH7jPghgH3K1bWJvTdcn6sIIJxkECpS5va41aKBGtOB7AS4Uk9vLGfe4gZw8 NyycDE7BMG1qCu1DxoX3fqd7Jr08uJSu1zQbQXPyAoShMxWOTfo9eYZUtkTkYA5+943F exFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=OwWtsCGngi5aDAzEOWJinlaWxMEet3A+MV05EBGnNBA=; b=KIHurlZgvNXWJHA1khSL71koibJ5qS5NNigscZMFT6USwArtnf2cApRXn/LbDSE5JP tnVdhCa7G7ixDXBRJFLNb6+XJdEmRSjCWuF9UnVW43l3AnYW1xTseoBpXFoLh19NYnw+ JJvkRQie41VvzjsGl2VE5WR6LLXuJPZrPW5xKHkyb3BRDuUefKOmT13FFneLKcZOEIBW VeETJYNe5pPhrFD3eWgcSiLmVuQIKQLA9wEL2DYGsyDkSzSlgeU15oRd6pFXDtLgK/aL W39xiS11Y/S7ArgNBA5O72XRQjD1EONv/CoDAsZEosGRkeQqOAfR+lQdg1kkXHoTQYAC HZWA== ARC-Authentication-Results: i=1; mx.google.com; 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 6si8084381pld.277.2019.05.17.05.39.29; Fri, 17 May 2019 05:39:45 -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; 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 S1728862AbfEQLeN (ORCPT + 99 others); Fri, 17 May 2019 07:34:13 -0400 Received: from 5.mo178.mail-out.ovh.net ([46.105.51.53]:47117 "EHLO 5.mo178.mail-out.ovh.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728103AbfEQLeM (ORCPT ); Fri, 17 May 2019 07:34:12 -0400 X-Greylist: delayed 2169 seconds by postgrey-1.27 at vger.kernel.org; Fri, 17 May 2019 07:34:11 EDT Received: from player763.ha.ovh.net (unknown [10.109.143.183]) by mo178.mail-out.ovh.net (Postfix) with ESMTP id 1EF5A681A4 for ; Fri, 17 May 2019 12:58:01 +0200 (CEST) Received: from kaod.org (lns-bzn-46-82-253-208-248.adsl.proxad.net [82.253.208.248]) (Authenticated sender: groug@kaod.org) by player763.ha.ovh.net (Postfix) with ESMTPSA id 00FA25E06E1D; Fri, 17 May 2019 10:57:54 +0000 (UTC) Date: Fri, 17 May 2019 12:57:54 +0200 From: Greg Kurz To: Sasha Levin Cc: Michael Ellerman , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, stable@vger.kernel.org, =?UTF-8?B?Q8OpZHJp?= =?UTF-8?B?Yw==?= Le Goater Subject: Re: [PATCH] powerpc/pseries: Fix xive=off command line Message-ID: <20190517125754.2f0a572e@bahia.lan> In-Reply-To: <20190515105443.835E72084E@mail.kernel.org> References: <155791470178.432724.8008395673479905061.stgit@bahia.lan> <20190515105443.835E72084E@mail.kernel.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 10644257719299512787 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduuddruddtvddgfeehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 15 May 2019 10:54:42 +0000 Sasha Levin wrote: > Hi, > Hi, > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag, > fixing commit: eac1e731b59e powerpc/xive: guest exploitation of the XIVE interrupt controller. > > The bot has tested the following trees: v5.1.1, v5.0.15, v4.19.42, v4.14.118. > > v5.1.1: Build OK! > v5.0.15: Build OK! > v4.19.42: Failed to apply! Possible dependencies: > 8ca2d5151e7f ("powerpc/prom_init: Move a few remaining statics to appropriate sections") > c886087caee7 ("powerpc/prom_init: Move prom_radix_disable to __prombss") > Dependencies are: 3bad719b4954 ("powerpc/prom_init: Make of_workarounds static") e63334e556d9 ("powerpc/prom_init: Replace __initdata with __prombss when applicable") 11fdb309341c ("powerpc/prom_init: Remove support for OPAL v2") c886087caee7 ("powerpc/prom_init: Move prom_radix_disable to __prombss") 8ca2d5151e7f ("powerpc/prom_init: Move a few remaining statics to appropriate sections") f1f208e54d08 ("powerpc/prom_init: Generate "phandle" instead of "linux, phandle"") cbe46bd4f510 ("powerpc: remove CONFIG_CMDLINE #ifdef mess") 450e7dd4001f ("powerpc/prom_init: don't use string functions from lib/") The patches apply flawlessly and allow the build to succeed. > v4.14.118: Failed to apply! Possible dependencies: > 028555a590d6 ("powerpc/xive: fix hcall H_INT_RESET to support long busy delays") > 7a22d6321c3d ("powerpc/mm/radix: Update command line parsing for disable_radix") > 8ca2d5151e7f ("powerpc/prom_init: Move a few remaining statics to appropriate sections") > c886087caee7 ("powerpc/prom_init: Move prom_radix_disable to __prombss") > Dependencies are: 7a22d6321c3d ("powerpc/mm/radix: Update command line parsing for disable_radix") 028555a590d6 ("powerpc/xive: fix hcall H_INT_RESET to support long busy delays") 3bad719b4954 ("powerpc/prom_init: Make of_workarounds static") e63334e556d9 ("powerpc/prom_init: Replace __initdata with __prombss when applicable") 11fdb309341c ("powerpc/prom_init: Remove support for OPAL v2") c886087caee7 ("powerpc/prom_init: Move prom_radix_disable to __prombss") 8ca2d5151e7f ("powerpc/prom_init: Move a few remaining statics to appropriate sections") f1f208e54d08 ("powerpc/prom_init: Generate "phandle" instead of "linux, phandle"") cbe46bd4f510 ("powerpc: remove CONFIG_CMDLINE #ifdef mess") 450e7dd4001f ("powerpc/prom_init: don't use string functions from lib/") The patches apply flawlessly and allow the build to succeed. > > How should we proceed with this patch? > xive=off allows the kernel to use the legacy XICS interrupt controller interface on POWER9, definitely not a recommended setting. A typical usage for this would be to workaround some issue that would only pop up when using XIVE. Note also that this only affects the pseries platform, ie. running under an hypervisor (KVM or pHyp). I cannot state right now whether it is worth the pain to cherry-pick all the dependencies to fix this or not in older kernels... Cheers, -- Greg > -- > Thanks, > Sasha