radxa / apt

radxa debian packages repository
http://radxa.com/Rabian
35 stars 6 forks source link

linux-5.10-rock-5-latest: clk DebugFS is enabled in the kernel #48

Open jrstarke opened 1 year ago

jrstarke commented 1 year ago

I originally raised this in https://github.com/radxa/kernel/issues/46, but they pointed out that this was fixed in https://github.com/radxa-repo/bsp/blob/main/linux/rockchip/0100-vendor/0008-Revert-ANDROID-clk-Enable-writable-debugfs-files.patch, so I can only assume that this means that the kernel package is out of date.

From my dmesg output, you can see the notice saying that clk debug is enabled. You can also see from my uname and apt install output, that I'm running the latest packages.

rock@rock-5b:~$ dmesg | grep "\*\*"
[    3.404220] [BT_RFKILL]: ** disable irq
[    3.409619] ********************************************************************
[    3.409622] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    3.409624] **                                                                **
[    3.409627] **  WRITEABLE clk DebugFS SUPPORT HAS BEEN ENABLED IN THIS KERNEL **
[    3.409629] **                                                                **
[    3.409631] ** This means that this kernel is built to expose clk operations  **
[    3.409634] ** such as parent or rate setting, enabling, disabling, etc.      **
[    3.409636] ** to userspace, which may compromise security on your system.    **
[    3.409638] **                                                                **
[    3.409641] ** If you see this message and you are not debugging the          **
[    3.409643] ** kernel, report this immediately to your vendor!                **
[    3.409645] **                                                                **
[    3.409648] **     NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE           **
[    3.409650] ********************************************************************
rock@rock-5b:~$ uname -a
Linux rock-5b 5.10.110-31-rockchip-ged1406c748b1 #rockchip SMP Sat Nov 26 04:03:23 UTC 2022 aarch64 GNU/Linux
rock@rock-5b:~$ sudo apt install --upgrade linux-5.10-rock-5-latest
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
linux-5.10-rock-5-latest is already the newest version (5.10.110-31-rockchip).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I also confirmed in this repo that this is the latest referenced package