Hi, Geert,
On 2/20/25 18:37, Geert Uytterhoeven wrote:
Hi Claudiu,
On Thu, 20 Feb 2025 at 17:00, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
On Sat, 15 Feb 2025 at 14:18, Claudiu <claudiu.beznea@xxxxxxxxx> wrote:
From: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
The matching data for the rz-sysc driver is marked with __initconst, which
means it is discarded after initialization. Because of this, attempting to
unbind/bind the driver through sysfs after system boot can lead to "Unable
to handle kernel paging request at virtual address" errors due to accessing
freed memory.
Since the System Controller (SYSC) is an essential block for Renesas SoCs,
suppress binding attributes to prevent them being exposed in sysfs,
avoiding potential issues.
Fixes: 1660e5ea6a3e ("soc: renesas: Add SYSC driver for Renesas RZ family")
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@xxxxxxxxxxxxxx>
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
i.e. will queue in renesas-devel for v6.15.
As the offending commit is only in renesas-devel, I'll fold the fix into
the original commit.
Sure, thank you!
Gr{oetje,eeting}s,
Geert