Skip to contentSkip to conversation

x86 fix

GIT PULL Merged Ingo Molnar 2 participants 2 messages Mar 24, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86-urgent-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus

# HEAD: 870b4333a62e45b0b2000d14b301b7b8b8cad9da x86/ioremap: Fix CONFIG_EFI=n build

A build fix with certain Kconfig combinations.

Thanks,

Ingo

------------------>
Borislav Petkov (1):
x86/ioremap: Fix CONFIG_EFI=n build

 arch/x86/mm/ioremap.c | 3 +++
 1 file changed, 3 insertions(+)
arch/x86/mm/ioremap.c +3 -0
index 935a91e1fd77..18c637c0dc6f 100644
@@ -115,6 +115,9 @@ static void __ioremap_check_other(resource_size_t addr, struct ioremap_desc *des
 	if (!sev_active())
 		return;
 
+	if (!IS_ENABLED(CONFIG_EFI))
+		return;
+
 	if (efi_mem_type(addr) == EFI_RUNTIME_SERVICES_DATA)
 		desc->flags |= IORES_MAP_ENCRYPTED;
 }
merge bot Merged
#1 lore raw
The pull request you sent on Tue, 24 Mar 2020 10:06:27 +0100:

The pull request you sent on Tue, 24 Mar 2020 10:06:27 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/3f3ee43a462344f6509bd15c988e39d330af91b3

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker