summaryrefslogtreecommitdiff
path: root/drivers/hwtracing/coresight/coresight-tmc-core.c
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2021-09-03 18:28:54 -0700
committerMathieu Poirier <mathieu.poirier@linaro.org>2021-10-27 11:44:30 -0600
commit204879e6990d2a57d7a6e26792cec34f97a63c0e (patch)
treefc258ee3a5081d360105a00d22fe619ca8eb831b /drivers/hwtracing/coresight/coresight-tmc-core.c
parent692c9a499b286ea478f41b23a91fe3873b9e1326 (diff)
downloadlinux-204879e6990d2a57d7a6e26792cec34f97a63c0e.tar.gz
linux-204879e6990d2a57d7a6e26792cec34f97a63c0e.tar.bz2
linux-204879e6990d2a57d7a6e26792cec34f97a63c0e.zip
coresight: cpu-debug: Control default behavior via Kconfig
Debugfs is nice and so are module parameters, but * debugfs doesn't take effect early (e.g., if drivers are locking up before user space gets anywhere) * module parameters either add a lot to the kernel command line, or else take effect late as well (if you build =m and configure in /etc/modprobe.d/) So in the same spirit as these CONFIG_PANIC_ON_OOPS (also available via cmdline or modparam) CONFIG_INTEL_IOMMU_DEFAULT_ON (also available via cmdline) add a new Kconfig option. Module parameters and debugfs can still override. Signed-off-by: Brian Norris <briannorris@chromium.org> Reviewed-by: Leo Yan <leo.yan@linaro.org> [Fixed missing double quote in Kconfig title] Link: https://lore.kernel.org/r/20210903182839.1.I20856983f2841b78936134dcf9cdf6ecafe632b9@changeid Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/hwtracing/coresight/coresight-tmc-core.c')
0 files changed, 0 insertions, 0 deletions