summaryrefslogtreecommitdiffstats
path: root/drivers/ps3/ps3av.c
diff options
context:
space:
mode:
authorMuralidhara M K <muralidhara.mk@amd.com>2023-01-27 18:04:13 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2023-03-24 13:03:20 +0100
commiteb2bcdfc3755342f6af5b9b8365f27c05e4bf275 (patch)
tree8e130df6210cf14abc077ba4d1e9f754bbd280f2 /drivers/ps3/ps3av.c
parentEDAC/amd64: Split read_mc_regs() into dct/umc functions (diff)
downloadlinux-eb2bcdfc3755342f6af5b9b8365f27c05e4bf275.tar.xz
linux-eb2bcdfc3755342f6af5b9b8365f27c05e4bf275.zip
EDAC/amd64: Split ecc_enabled() into dct/umc functions
Call them using a function pointer in pvt->ops. The "ECC enabled" check is done outside of the hardware information gathering done in hw_info_get(). So a high-level function pointer is needed to separate the legacy and modern paths. No functional change is intended. [Yazen: rebased/reworked patch and reworded commit message. ] Signed-off-by: Muralidhara M K <muralidhara.mk@amd.com> Co-developed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com> Signed-off-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com> Co-developed-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Yazen Ghannam <yazen.ghannam@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20230127170419.1824692-17-yazen.ghannam@amd.com
Diffstat (limited to 'drivers/ps3/ps3av.c')
0 files changed, 0 insertions, 0 deletions