* [PATCH] powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE
@ 2016-06-28 5:02 Michael Ellerman
2016-07-17 10:28 ` Michael Ellerman
0 siblings, 1 reply; 2+ messages in thread
From: Michael Ellerman @ 2016-06-28 5:02 UTC (permalink / raw)
To: linuxppc-dev
The pseries HVC early debug options, CONFIG_PPC_EARLY_DEBUG_LPAR and
CONFIG_PPC_EARLY_DEBUG_LPAR_HVSI both require code that is part of the
hvc driver. If we turn them on but not CONFIG_HVC_CONSOLE then we get:
arch/powerpc/kernel/built-in.o: In function `.udbg_early_init':
arch/powerpc/kernel/built-in.o:(.debug_addr+0x9a00): undefined reference to `udbg_init_debug_lpar'
Similarly for HVSI. So make them both depend on CONFIG_HVC_CONSOLE.
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
---
arch/powerpc/Kconfig.debug | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/Kconfig.debug b/arch/powerpc/Kconfig.debug
index d3fcf7e64e3a..cfe08eab90c6 100644
--- a/arch/powerpc/Kconfig.debug
+++ b/arch/powerpc/Kconfig.debug
@@ -149,14 +149,14 @@ config PPC_EARLY_DEBUG_BOOTX
config PPC_EARLY_DEBUG_LPAR
bool "LPAR HV Console"
- depends on PPC_PSERIES
+ depends on PPC_PSERIES && HVC_CONSOLE
help
Select this to enable early debugging for a machine with a HVC
console on vterm 0.
config PPC_EARLY_DEBUG_LPAR_HVSI
bool "LPAR HVSI Console"
- depends on PPC_PSERIES
+ depends on PPC_PSERIES && HVC_CONSOLE
help
Select this to enable early debugging for a machine with a HVSI
console on a specified vterm.
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE
2016-06-28 5:02 [PATCH] powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE Michael Ellerman
@ 2016-07-17 10:28 ` Michael Ellerman
0 siblings, 0 replies; 2+ messages in thread
From: Michael Ellerman @ 2016-07-17 10:28 UTC (permalink / raw)
To: Michael Ellerman, linuxppc-dev
On Tue, 2016-28-06 at 05:02:46 UTC, Michael Ellerman wrote:
> The pseries HVC early debug options, CONFIG_PPC_EARLY_DEBUG_LPAR and
> CONFIG_PPC_EARLY_DEBUG_LPAR_HVSI both require code that is part of the
> hvc driver. If we turn them on but not CONFIG_HVC_CONSOLE then we get:
>
> arch/powerpc/kernel/built-in.o: In function `.udbg_early_init':
> arch/powerpc/kernel/built-in.o:(.debug_addr+0x9a00): undefined reference to `udbg_init_debug_lpar'
>
> Similarly for HVSI. So make them both depend on CONFIG_HVC_CONSOLE.
>
> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Applied to powerpc next.
https://git.kernel.org/powerpc/c/236977609a81150c4561c33fa6
cheers
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-17 10:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-28 5:02 [PATCH] powerpc/pseries: HVC early debug options should depend on HVC_CONSOLE Michael Ellerman
2016-07-17 10:28 ` Michael Ellerman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.