EDAC, dsm_edac: Wrap ACPI DSM methods for address translation
Borislav Petkov
maintainerPATCH 4/5 EDAC, dsm_edac: Wrap ACPI DSM methods for address translation
+ Rafael.
Quoted 6 lines · Tony Luck
From: Qiuxu Zhuo <[email protected]>
Some machines provide BIOS ACPI DSM (Device Specific Method) to translate memory system address to DRAM address (socket, memory controller, channel, rank, bank, row, column). This patch wraps the DSM methods, and registers them to EDAC core.
Why?
Why isn't this part of the ACPI core and why isn't it exporting proper interfaces for EDAC to use?
This looks like a bunch of ACPI code outside of ACPI. And it is grafted on the EDAC core with an ops reg/dereg thing. Ewww.
Can we please design this properly instead of just slapping it where it sticks?
Thx.