Commit 8168a7b
crypto: ccp - allow callers to use HV-Fixed page API when SEV is disabled
When SEV is disabled, the HV-Fixed page allocation call fails, which in
turn causes SFS initialization to fail.
Fix the HV-Fixed API so callers (for example, SFS) can use it even when
SEV is disabled by performing normal page allocation and freeing.
Fixes: e09701d ("crypto: ccp - Add new HV-Fixed page allocation/free API")
Cc: stable@vger.kernel.org
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>1 parent 6de23f8 commit 8168a7b
1 file changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1105 | 1105 | | |
1106 | 1106 | | |
1107 | 1107 | | |
1108 | | - | |
1109 | 1108 | | |
1110 | 1109 | | |
1111 | 1110 | | |
1112 | | - | |
| 1111 | + | |
1113 | 1112 | | |
1114 | 1113 | | |
1115 | | - | |
1116 | | - | |
1117 | 1114 | | |
1118 | 1115 | | |
1119 | 1116 | | |
| |||
1126 | 1123 | | |
1127 | 1124 | | |
1128 | 1125 | | |
1129 | | - | |
| 1126 | + | |
| 1127 | + | |
1130 | 1128 | | |
1131 | 1129 | | |
1132 | 1130 | | |
| |||
1162 | 1160 | | |
1163 | 1161 | | |
1164 | 1162 | | |
1165 | | - | |
| 1163 | + | |
1166 | 1164 | | |
1167 | 1165 | | |
1168 | 1166 | | |
| |||
0 commit comments