]> www.infradead.org Git - users/jedix/linux-maple.git/commit
misc: amd-sbi: Add support for read MCA register protocol
authorAkshay Gupta <akshay.gupta@amd.com>
Mon, 28 Apr 2025 06:30:32 +0000 (06:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 12:44:41 +0000 (14:44 +0200)
commit69b1ba83d21c4a89f6fcfbca1d515a60df65cf9e
tree77c29746e3cf7866fcae44a4ef5542e441b9a77f
parentbb13a84ed6b78200952b264b4d7a024b730e8246
misc: amd-sbi: Add support for read MCA register protocol

- AMD provides custom protocol to read Machine Check Architecture(MCA)
  registers over sideband. The information is accessed for range of
  MCA registers by passing register address and thread ID to the protocol.
  MCA register read command using the register address to access
  Core::X86::Msr::MCG_CAP which determines the number of MCA banks.
  Access is read-only

Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Signed-off-by: Akshay Gupta <akshay.gupta@amd.com>
Link: https://lore.kernel.org/r/20250428063034.2145566-9-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/amd-sbi/rmi-core.c
include/uapi/misc/amd-apml.h