Skip to contentSkip to conversation

Patch "x86/mm: Remove in_nmi() warning from vmalloc_fault()" has been added to the 4.4-stable tree

PATCH [email protected] 1 participant 1 message Sep 17, 2018

Subsystems (3)
lore
Share & tools
lore

[email protected]

author Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

x86/mm: Remove in_nmi() warning from vmalloc_fault()

to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
x86-mm-remove-in_nmi-warning-from-vmalloc_fault.patch
and it can be found in the queue-4.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From foo@baz Mon Sep 17 12:15:09 CEST 2018

From: Joerg Roedel <[email protected]>
Date: Wed, 25 Jul 2018 17:48:01 +0200
Subject: x86/mm: Remove in_nmi() warning from vmalloc_fault()

From: Joerg Roedel <[email protected]>

[ Upstream commit 6863ea0cda8725072522cd78bda332d9a0b73150 ]

It is perfectly okay to take page-faults, especially on the vmalloc area while executing an NMI handler. Remove the warning.

Cc "H . Peter Anvin" <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Andy Lutomirski <[email protected]>
Cc Dave Hansen <[email protected]>
Cc Josh Poimboeuf <[email protected]>
Cc Juergen Gross <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Borislav Petkov <[email protected]>
Cc Jiri Kosina <[email protected]>
Cc Boris Ostrovsky <[email protected]>
Cc Brian Gerst <[email protected]>
Cc David Laight <[email protected]>
Cc Denys Vlasenko <[email protected]>
Cc Eduardo Valentin <[email protected]>
Cc Greg KH <[email protected]>
Cc Will Deacon <[email protected]>
Cc Andrea Arcangeli <[email protected]>
Cc Waiman Long <[email protected]>
Cc Pavel Machek <[email protected]>
Cc Arnaldo Carvalho de Melo <[email protected]>
Cc Alexander Shishkin <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Namhyung Kim <[email protected]>
---
 arch/x86/mm/fault.c |    2 --
 1 file changed, 2 deletions(-)
arch/x86/mm/fault.c +0 -2
@@ -273,8 +273,6 @@ static noinline int vmalloc_fault(unsign
 	if (!(address >= VMALLOC_START && address < VMALLOC_END))
 		return -1;
 
-	WARN_ON_ONCE(in_nmi());
-
 	/*
 	 * Synchronize this task's top level page-table
 	 * with the 'reference' page table.

Patches currently in stable-queue which might be from [email protected] are

queue-4.4/x86-kexec-allocate-8k-pgds-for-pti.patch queue-4.4/iommu-ipmmu-vmsa-fix-allocation-in-atomic-context.patch queue-4.4/x86-mm-remove-in_nmi-warning-from-vmalloc_fault.patch