summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/intel/pmt/class.c
diff options
context:
space:
mode:
authorSuma Hegde <suma.hegde@amd.com>2024-11-12 12:04:49 +0000
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2024-11-13 15:36:26 +0200
commit996b318e6fce255035efd555837d1250433bb0e7 (patch)
treea795634a482ed74688e1632fa8dcd9112cd6b232 /drivers/platform/x86/intel/pmt/class.c
parentbd17863a708692bbd7a265212daf8a3aa4a3d0b7 (diff)
downloadlinux-996b318e6fce255035efd555837d1250433bb0e7.tar.gz
linux-996b318e6fce255035efd555837d1250433bb0e7.tar.bz2
linux-996b318e6fce255035efd555837d1250433bb0e7.zip
platform/x86/amd/hsmp: Add new error code and error logs
Firmware is updated to send HSMP_ERR_PREREQ_NOT_SATISFIED(0xFD) and HSMP_ERR_SMU_BUSY(0xFC) error codes. Add them here. Add error logs to make it easy to understand the failure reason for different error conditions. Replace pr_err() with dev_err() to identify the driver printing the error. Signed-off-by: Suma Hegde <suma.hegde@amd.com> Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com> Link: https://lore.kernel.org/r/20241112120450.2407125-1-suma.hegde@amd.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions