diff options
author | Geoff Levand <geoff@infradead.org> | 2021-06-03 19:17:01 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2021-06-10 21:44:57 +1000 |
commit | 6caebff168235b6102e5dc57cb95a2374301720a (patch) | |
tree | e4aeb8c52a30b27fbeeb9699d6d368c949431921 /arch/powerpc/include/asm/ps3.h | |
parent | ff4a825e4a24cdf7f840461ced6283bf865ab7be (diff) | |
download | linux-stable-6caebff168235b6102e5dc57cb95a2374301720a.tar.gz linux-stable-6caebff168235b6102e5dc57cb95a2374301720a.tar.bz2 linux-stable-6caebff168235b6102e5dc57cb95a2374301720a.zip |
powerpc/ps3: Add CONFIG_PS3_VERBOSE_RESULT option
To aid debugging, add a new PS3 kernel config option
PS3_VERBOSE_RESULT that, when enabled, will print more
verbose messages for the result of LV1 hypercalls.
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/0ce4b6969a08094a747bd382dbfd30b72ebc192d.1622746428.git.geoff@infradead.org
Diffstat (limited to 'arch/powerpc/include/asm/ps3.h')
-rw-r--r-- | arch/powerpc/include/asm/ps3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h index e646c7f218bc..7df145901def 100644 --- a/arch/powerpc/include/asm/ps3.h +++ b/arch/powerpc/include/asm/ps3.h @@ -232,7 +232,7 @@ enum lv1_result { static inline const char* ps3_result(int result) { -#if defined(DEBUG) || defined(PS3_VERBOSE_RESULT) +#if defined(DEBUG) || defined(PS3_VERBOSE_RESULT) || defined(CONFIG_PS3_VERBOSE_RESULT) switch (result) { case LV1_SUCCESS: return "LV1_SUCCESS (0)"; |