History

Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull EFI fix from Ingo Molnar: "An UEFI variables fix for SEV guests" * 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/efi: Access EFI MMIO data as unencrypted when SEV is active

Linus Torvalds committed 8 years ago

Commit d464b032 parents acb1872 9b788f31 file · +1 −1Browse files

Unified · Split

arch/x86/platform/efi/efi_64.c+1−1
@@ -417,7 +417,7 @@ static void __init __map_region(efi_memory_desc_t *md, u64 va) · 416 unmodified lines
417 if (!(md->attribute & EFI_MEMORY_WB))417 if (!(md->attribute & EFI_MEMORY_WB))
418 flags |= _PAGE_PCD;418 flags |= _PAGE_PCD;
419 419
420 if (sev_active())420 if (sev_active() && md->type != EFI_MEMORY_MAPPED_IO)
421 flags |= _PAGE_ENC;421 flags |= _PAGE_ENC;
422 422
423 pfn = md->phys_addr >> PAGE_SHIFT;423 pfn = md->phys_addr >> PAGE_SHIFT;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t