Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jrstarke opened this issue Dec 2, 2022 · 0 comments
Open

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

jrstarke opened this issue Dec 2, 2022 · 0 comments

Comments

@jrstarke
Copy link

jrstarke commented Dec 2, 2022

I originally raised this in radxa/kernel#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

@jrstarke jrstarke changed the title Rock 5 Latest linux-5.10-rock-5-latest: clk DebugFS is enabled in the kernel Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant