linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powerpc: Document xive=off option
@ 2019-05-13  5:39 Michael Neuling
  2019-05-13  6:36 ` Cédric Le Goater
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Michael Neuling @ 2019-05-13  5:39 UTC (permalink / raw)
  To: mpe; +Cc: mikey, linuxppc-dev, Cédric Le Goater

commit 243e25112d06 ("powerpc/xive: Native exploitation of the XIVE
interrupt controller") added an option to turn off Linux native XIVE
usage via the xive=off kernel command line option.

This documents this option.

Signed-off-by: Michael Neuling <mikey@neuling.org>
---
 Documentation/admin-guide/kernel-parameters.txt | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
index c45a19d654..ee410d0ef4 100644
--- a/Documentation/admin-guide/kernel-parameters.txt
+++ b/Documentation/admin-guide/kernel-parameters.txt
@@ -5177,6 +5177,15 @@
 			Format:
 			<irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
 
+	xive=		[PPC]
+			By default on POWER9 and above, the kernel will
+			natively use the XIVE interrupt controller. This option
+			allows the fallback firmware mode to be used:
+
+			off       Fallback to firmware control of XIVE interrupt
+				  controller on both pseries and powernv
+				  platforms. Only useful on POWER9 and above.
+
 	xhci-hcd.quirks		[USB,KNL]
 			A hex value specifying bitmask with supplemental xhci
 			host controller quirks. Meaning of each bit can be
-- 
2.21.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] powerpc: Document xive=off option
  2019-05-13  5:39 [PATCH] powerpc: Document xive=off option Michael Neuling
@ 2019-05-13  6:36 ` Cédric Le Goater
  2019-06-25  3:38 ` Stewart Smith
  2019-07-03 14:27 ` Michael Ellerman
  2 siblings, 0 replies; 4+ messages in thread
From: Cédric Le Goater @ 2019-05-13  6:36 UTC (permalink / raw)
  To: Michael Neuling, mpe; +Cc: linuxppc-dev, Greg Kurz

On 5/13/19 7:39 AM, Michael Neuling wrote:
> commit 243e25112d06 ("powerpc/xive: Native exploitation of the XIVE
> interrupt controller") added an option to turn off Linux native XIVE
> usage via the xive=off kernel command line option.
> 
> This documents this option.
> 
> Signed-off-by: Michael Neuling <mikey@neuling.org>



Reviewed-by: Cédric Le Goater <clg@kaod.org>


But,

We should fix the behavior because xive=off does not work on pseries. 
This is not handled correctly in prom when CAS negotiates with the 
hypervisor which interrupt mode is to be used. 

I haven't tried this option on PowerNV.

Cheers,

C.


> ---
>  Documentation/admin-guide/kernel-parameters.txt | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 
> diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
> index c45a19d654..ee410d0ef4 100644
> --- a/Documentation/admin-guide/kernel-parameters.txt
> +++ b/Documentation/admin-guide/kernel-parameters.txt
> @@ -5177,6 +5177,15 @@
>  			Format:
>  			<irq>,<irq_mask>,<io>,<full_duplex>,<do_sound>,<lockup_hack>[,<irq2>[,<irq3>[,<irq4>]]]
>  
> +	xive=		[PPC]
> +			By default on POWER9 and above, the kernel will
> +			natively use the XIVE interrupt controller. This option
> +			allows the fallback firmware mode to be used:
> +
> +			off       Fallback to firmware control of XIVE interrupt
> +				  controller on both pseries and powernv
> +				  platforms. Only useful on POWER9 and above.
> +
>  	xhci-hcd.quirks		[USB,KNL]
>  			A hex value specifying bitmask with supplemental xhci
>  			host controller quirks. Meaning of each bit can be
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] powerpc: Document xive=off option
  2019-05-13  5:39 [PATCH] powerpc: Document xive=off option Michael Neuling
  2019-05-13  6:36 ` Cédric Le Goater
@ 2019-06-25  3:38 ` Stewart Smith
  2019-07-03 14:27 ` Michael Ellerman
  2 siblings, 0 replies; 4+ messages in thread
From: Stewart Smith @ 2019-06-25  3:38 UTC (permalink / raw)
  To: Michael Neuling, mpe; +Cc: mikey, linuxppc-dev, Cédric Le Goater

Michael Neuling <mikey@neuling.org> writes:
> commit 243e25112d06 ("powerpc/xive: Native exploitation of the XIVE
> interrupt controller") added an option to turn off Linux native XIVE
> usage via the xive=off kernel command line option.
>
> This documents this option.
>
> Signed-off-by: Michael Neuling <mikey@neuling.org>

Acked-by: Stewart Smith <stewart@linux.ibm.com>

-- 
Stewart Smith
OPAL Architect, IBM.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] powerpc: Document xive=off option
  2019-05-13  5:39 [PATCH] powerpc: Document xive=off option Michael Neuling
  2019-05-13  6:36 ` Cédric Le Goater
  2019-06-25  3:38 ` Stewart Smith
@ 2019-07-03 14:27 ` Michael Ellerman
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Ellerman @ 2019-07-03 14:27 UTC (permalink / raw)
  To: Michael Neuling; +Cc: mikey, linuxppc-dev, Cédric Le Goater

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]

On Mon, 2019-05-13 at 05:39:10 UTC, Michael Neuling wrote:
> commit 243e25112d06 ("powerpc/xive: Native exploitation of the XIVE
> interrupt controller") added an option to turn off Linux native XIVE
> usage via the xive=off kernel command line option.
> 
> This documents this option.
> 
> Signed-off-by: Michael Neuling <mikey@neuling.org>
> Reviewed-by: Cédric Le Goater <clg@kaod.org>
> Acked-by: Stewart Smith <stewart@linux.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/ba45cff610a4223ce3ad98a700a820e3d60e3f7c

cheers

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-03 14:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-13  5:39 [PATCH] powerpc: Document xive=off option Michael Neuling
2019-05-13  6:36 ` Cédric Le Goater
2019-06-25  3:38 ` Stewart Smith
2019-07-03 14:27 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).