X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=arch%2Fx86%2Fboot%2Fcompressed%2Fident_map_64.c;h=321a5011042d40f51120ff910786f6c17e80aaef;hb=2d4c140e9a604ee5fde5f22346ca90460e67af9f;hp=d4a314cc50d6ee6ecaa7268f59bbb946c71fb916;hpb=9daee913dc8d15eb65e0ff560803ab1c28bb480b;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/arch/x86/boot/compressed/ident_map_64.c b/arch/x86/boot/compressed/ident_map_64.c index d4a314cc..321a501 100644 --- a/arch/x86/boot/compressed/ident_map_64.c +++ b/arch/x86/boot/compressed/ident_map_64.c @@ -180,6 +180,12 @@ void initialize_identity_maps(void *rmode) /* Load the new page-table. */ write_cr3(top_level_pgt); + + /* + * Now that the required page table mappings are established and a + * GHCB can be used, check for SNP guest/HV feature compatibility. + */ + snp_check_features(); } static pte_t *split_large_pmd(struct x86_mapping_info *info,