diff options
author | Jarkko Sakkinen <jarkko@profian.com> | 2022-08-10 01:49:15 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-08-19 13:39:36 +0300 |
commit | b3b9fdf1a9be4266b01a2063b1f37cdc20806e3b (patch) | |
tree | dd62b9d5ea3e186cc3ef739102b2089b5f0574ff /crypto/drbg.c | |
parent | 56fae4304c8eea2dfb9037ded1aa774acb110d69 (diff) | |
download | linux-b3b9fdf1a9be4266b01a2063b1f37cdc20806e3b.tar.xz |
crypto: ccp - Add a quirk to firmware update
A quirk for fixing the committed TCB version, when upgrading from a
firmware version earlier than 1.50. This is a known issue, and the
documented workaround is to load the firmware twice.
Currently, this issue requires the following workaround:
sudo modprobe -r kvm_amd
sudo modprobe -r ccp
sudo modprobe ccp
sudo modprobe kvm_amd
Implement this workaround inside kernel by checking whether the API
version is less than 1.50, and if so, download the firmware twice.
This addresses the TCB version issue.
Link: https://lore.kernel.org/all/de02389f-249d-f565-1136-4af3655fab2a@profian.com/
Reported-by: Harald Hoyer <harald@profian.com>
Signed-off-by: Jarkko Sakkinen <jarkko@profian.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/drbg.c')
0 files changed, 0 insertions, 0 deletions