Kernel: AMD Energy Driver, Security Features and Statsfs

-
The New AMD Energy Driver Is Working Out Well On Linux For Per-Socket/Core Reporting
Of the many features coming for Linux 5.8 one of the new drivers we are very much looking forward to is the AMD energy driver for finally exposing per-core and per-socket/package energy reporting of Zen/Zen2 CPUs under Linux. It's working out well so far in my evaluation.
CPU energy/power reporting is something that I and many other Linux users have long wanted to see under Linux for Zen CPUs, since it's exposed after all on Windows with Ryzen Master and other software. In the past AMD also maintained the "fam15h_power" driver for power reporting back on Bulldozer CPUs. But until Google sent out RAPL Zen patches recently and this "amd_energy" driver was then sent out by AMD engineers, there wasn't much public activity on getting this capability for existing Zen processors. There has also been the out-of-tree "Zenpower" driver for offering this based on public MSR data for Zen, albeit that driver isn't mainline, not maintained by AMD, and conflicts with k10temp when loading.
-
Kees Cook: security things in Linux v5.5
I got a bit behind on this blog post series! Let’s get caught up. Here are a bunch of security things I found interesting in the Linux kernel v5.5 release:
-
Statsfs: A Proposed Linux File-System For Kernel Statistics
Statsfs is a new RAM-based file-system proposal by a Red Hat engineer that is designed for exposing kernel statistics to user-space.
Currently when kernel subsystems want to expose different statistics to user-space, it's done via DebugFS (or sysfs). In the case of DebugFS, users generally need root privileges to access the data and users are often left to implement their own tools for each different subsystem exposing the statistics differently.
Red Hat's Emanuele Giuseppe Esposito has hacked together Statsfs in order to reduce kernel duplication of different subsystems working on their statistics reporting, avoid dirtying DebugFS with different statistics code, and making it easier for user-space to aggregate and display different kernel statistics.
-

- Login or register to post comments
Printer-friendly version- 3492 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago