[PATCH] cxl: add option to enable -DDEBUG

Michael Ellerman mpe at ellerman.id.au
Mon Jul 18 20:49:01 AEST 2016

Andrew Donnellan <andrew.donnellan at au1.ibm.com> writes:

> Developers working on AFUs and AFU drivers often find it useful to see the
> pr_devel() and dev_dbg() messages from cxl. Give them an easy way to enable
> -DDEBUG by adding a Kconfig option, CONFIG_CXL_DEBUG.

Another option is to use DYNAMIC_DEBUG. If you turn that on the
dev_dbg()'s can be enabled at runtime, and you could en masse or
selectively convert the pr_devel()s to pr_debug() to get the same


More information about the Linuxppc-dev mailing list