* [PATCH 1/2] bus: bt1-apb: Build the driver into the kernel
@ 2020-05-28 19:31 Serge Semin
2020-05-28 19:31 ` [PATCH 2/2] bus: bt1-axi: " Serge Semin
0 siblings, 1 reply; 2+ messages in thread
From: Serge Semin @ 2020-05-28 19:31 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Serge Semin, Serge Semin, Alexey Malahov, Olof Johansson, soc,
linux-kernel
Seeing trigger_all_cpu_backtrace() isn't exported from the kernel and
since calling it is a very important part of driver, which may provide
a better description of a possible cause of the error, let's disable the
ability to build the driver as a loadable kernel module.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
Cc: Olof Johansson <olof@lixom.net>
Cc: soc@kernel.org
---
drivers/bus/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index 030f0e59f193..18858f560d1f 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -30,7 +30,7 @@ config BRCMSTB_GISB_ARB
and internal bus master decoding.
config BT1_APB
- tristate "Baikal-T1 APB-bus driver"
+ bool "Baikal-T1 APB-bus driver"
depends on MIPS_BAIKAL_T1 || COMPILE_TEST
select REGMAP_MMIO
help
--
2.26.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 2/2] bus: bt1-axi: Build the driver into the kernel
2020-05-28 19:31 [PATCH 1/2] bus: bt1-apb: Build the driver into the kernel Serge Semin
@ 2020-05-28 19:31 ` Serge Semin
0 siblings, 0 replies; 2+ messages in thread
From: Serge Semin @ 2020-05-28 19:31 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Serge Semin, Serge Semin, Alexey Malahov, Olof Johansson, soc,
linux-kernel
Alas the method trigger_all_cpu_backtrace() isn't exported by the
kernel, but we need to have it called in case of the bus errors detected
to get a better description of a possible cause of the error. Let's
disable the ability to build the driver as a loadable kernel module then.
Note In future the driver will support the AXI-bus interconnect capability,
so we'd have to make it built into the kernel anyway.
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Cc: Alexey Malahov <Alexey.Malahov@baikalelectronics.ru>
Cc: Olof Johansson <olof@lixom.net>
Cc: soc@kernel.org
---
drivers/bus/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/bus/Kconfig b/drivers/bus/Kconfig
index 18858f560d1f..4be793c5ab4d 100644
--- a/drivers/bus/Kconfig
+++ b/drivers/bus/Kconfig
@@ -45,7 +45,7 @@ config BT1_APB
accessed via corresponding sysfs nodes.
config BT1_AXI
- tristate "Baikal-T1 AXI-bus driver"
+ bool "Baikal-T1 AXI-bus driver"
depends on MIPS_BAIKAL_T1 || COMPILE_TEST
select MFD_SYSCON
help
--
2.26.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-28 19:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-28 19:31 [PATCH 1/2] bus: bt1-apb: Build the driver into the kernel Serge Semin
2020-05-28 19:31 ` [PATCH 2/2] bus: bt1-axi: " Serge Semin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®