diff options
author | Kai Huang <kai.huang@intel.com> | 2023-12-08 20:07:24 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2023-12-08 20:12:06 +0300 |
commit | 1e66a7e275393055d98d2306771fe1feadeb1cd6 (patch) | |
tree | 74dfb5d514aaf673468ccd5828848992e4b413cc /.cocciconfig | |
parent | 3115cabd935ade76fbe61154d1e405158e548272 (diff) | |
download | linux-1e66a7e275393055d98d2306771fe1feadeb1cd6.tar.xz |
x86/virt/tdx: Handle SEAMCALL no entropy error in common code
Some SEAMCALLs use the RDRAND hardware and can fail for the same reasons
as RDRAND. Use the kernel RDRAND retry logic for them.
There are three __seamcall*() variants. Do the SEAMCALL retry in common
code and add a wrapper for each of them.
Signed-off-by: Kai Huang <kai.huang@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Kirill A. Shutemov <kirll.shutemov@linux.intel.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20231208170740.53979-4-dave.hansen%40intel.com
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions