powerpc/pseries: Don't override CONFIG_PPC_PSERIES_DEBUG
EEH and pci_dlpar #undef DEBUG, but I think they were added before the ability to control this from Kconfig. It's really annoying to only get some of the debug messages from these files. Leave the lpar.c #undef alone as it produces so much output as to make the kernel unusable. Update the Kconfig text to indicate this particular quirk :) Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com> Acked-by: Michael Ellerman <michael@ellerman.id.au> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
parent
acbfd58e8a
commit
01cf6fe855
@ -47,6 +47,12 @@ config LPARCFG
|
|||||||
config PPC_PSERIES_DEBUG
|
config PPC_PSERIES_DEBUG
|
||||||
depends on PPC_PSERIES && PPC_EARLY_DEBUG
|
depends on PPC_PSERIES && PPC_EARLY_DEBUG
|
||||||
bool "Enable extra debug logging in platforms/pseries"
|
bool "Enable extra debug logging in platforms/pseries"
|
||||||
|
help
|
||||||
|
Say Y here if you want the pseries core to produce a bunch of
|
||||||
|
debug messages to the system log. Select this if you are having a
|
||||||
|
problem with the pseries core and want to see more of what is
|
||||||
|
going on. This does not enable debugging in lpar.c, which must
|
||||||
|
be manually done due to its verbosity.
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config PPC_SMLPAR
|
config PPC_SMLPAR
|
||||||
|
@ -21,8 +21,6 @@
|
|||||||
* Please address comments and feedback to Linas Vepstas <linas@austin.ibm.com>
|
* Please address comments and feedback to Linas Vepstas <linas@austin.ibm.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#undef DEBUG
|
|
||||||
|
|
||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
|
@ -25,8 +25,6 @@
|
|||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#undef DEBUG
|
|
||||||
|
|
||||||
#include <linux/pci.h>
|
#include <linux/pci.h>
|
||||||
#include <asm/pci-bridge.h>
|
#include <asm/pci-bridge.h>
|
||||||
#include <asm/ppc-pci.h>
|
#include <asm/ppc-pci.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user