diff options
author | Jay Buddhabhatti <jay.buddhabhatti@amd.com> | 2023-11-29 14:27:12 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-07 05:18:29 +0300 |
commit | 8c016c807a90535432543204dbbb032e4a709009 (patch) | |
tree | 3a61528ae78f05890f409127a57cb687e76b5fb2 /drivers/crypto/starfive/jh7110-hash.c | |
parent | a9d061840010df64aad2a3e5b308e663d6a36e2f (diff) | |
download | linux-8c016c807a90535432543204dbbb032e4a709009.tar.xz |
drivers: soc: xilinx: Fix error message on SGI registration failure
Failure to register SGI for firmware event notification is non-fatal error
when feature is not supported by other modules such as Xen and TF-A. Add
_info level log message for such special case.
Also add XST_PM_INVALID_VERSION error code and map it to -EOPNOSUPP Linux
kernel error code. If feature is not supported or EEMI API version is
mismatch, firmware can return XST_PM_INVALID_VERSION = 4 or
XST_PM_NO_FEATURE = 19 error code.
Co-developed-by: Tanmay Shah <tanmay.shah@amd.com>
Signed-off-by: Tanmay Shah <tanmay.shah@amd.com>
Signed-off-by: Jay Buddhabhatti <jay.buddhabhatti@amd.com>
Link: https://lore.kernel.org/r/20231129112713.22718-5-jay.buddhabhatti@amd.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/crypto/starfive/jh7110-hash.c')
0 files changed, 0 insertions, 0 deletions