[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210307051416.3197109-1-ilya.lipnitskiy@gmail.com>
Date: Sat, 6 Mar 2021 21:14:16 -0800
From: Ilya Lipnitskiy <ilya.lipnitskiy@...il.com>
To: Thomas Bogendoerfer <tsbogend@...ha.franken.de>,
John Crispin <john@...ozen.org>
Cc: Ilya Lipnitskiy <ilya.lipnitskiy@...il.com>,
linux-mips@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] MIPS: ralink: make RALINK_ILL_ACC symbol visible
The illegal access driver is optional - it is informational and does not
provide critical functionality. Furthermore, it is currently not
functional on RT5350 SoCs, so a user may choose to omit non-functional
code on that platform. The default is kept at 'y' for backwards
compatibility. This change only makes the symbol visible and adds a
brief description.
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@...il.com>
Cc: linux-mips@...r.kernel.org
Cc: linux-kernel@...r.kernel.org
---
arch/mips/ralink/Kconfig | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/arch/mips/ralink/Kconfig b/arch/mips/ralink/Kconfig
index c10d8b233ab1..c20c44788b62 100644
--- a/arch/mips/ralink/Kconfig
+++ b/arch/mips/ralink/Kconfig
@@ -9,9 +9,14 @@ config CLKEVT_RT3352
select CLKSRC_MMIO
config RALINK_ILL_ACC
- bool
+ bool "Illegal memory access IRQ driver"
depends on SOC_RT305X
default y
+ help
+ This enables notifications of illegal memory access events.
+
+ RT305x/RT5350 SoCs have a special IRQ that fires upon an illegal memory
+ access.
config IRQ_INTC
bool
--
2.30.1
Powered by blists - more mailing lists