From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5DCFC04AB4 for ; Fri, 17 May 2019 11:24:21 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 71F562087B for ; Fri, 17 May 2019 11:24:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 71F562087B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kaod.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 4555Xg2cbKzDqFv for ; Fri, 17 May 2019 21:24:19 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=kaod.org (client-ip=46.105.74.148; helo=10.mo173.mail-out.ovh.net; envelope-from=groug@kaod.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=kaod.org X-Greylist: delayed 899 seconds by postgrey-1.36 at bilbo; Fri, 17 May 2019 21:23:03 AEST Received: from 10.mo173.mail-out.ovh.net (10.mo173.mail-out.ovh.net [46.105.74.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4555WC4Z2ZzDq5b for ; Fri, 17 May 2019 21:22:59 +1000 (AEST) Received: from player763.ha.ovh.net (unknown [10.109.159.157]) by mo173.mail-out.ovh.net (Postfix) with ESMTP id 11FC0FE3C2 for ; Fri, 17 May 2019 12:58:00 +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 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 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, =?UTF-8?B?Q8OpZHJp?= =?UTF-8?B?Yw==?= Le Goater Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" 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