]> git.ipfire.org Git - thirdparty/linux.git/commit
misc: amd-sbi: Add support for CPUID protocol
authorAkshay Gupta <akshay.gupta@amd.com>
Mon, 28 Apr 2025 06:30:31 +0000 (06:30 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 May 2025 12:44:40 +0000 (14:44 +0200)
commitbb13a84ed6b78200952b264b4d7a024b730e8246
tree8357c610b035a0d5727b24eafbf415bbe8c4b1c2
parent35ac2034db72bbbc73609aab5f05ff6e0d38fdd0
misc: amd-sbi: Add support for CPUID protocol

- AMD provides custom protocol to read Processor feature
  capabilities and configuration information through side band.
  The information is accessed by providing CPUID Function,
  extended function and thread ID to the protocol.
  Undefined function returns 0.

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-8-akshay.gupta@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/amd-sbi/rmi-core.c
drivers/misc/amd-sbi/rmi-core.h
include/uapi/misc/amd-apml.h