From patchwork Mon Sep 17 10:15:39 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 10602349 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 505371508 for ; Mon, 17 Sep 2018 10:17:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3DDC629724 for ; Mon, 17 Sep 2018 10:17:47 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 314E329735; Mon, 17 Sep 2018 10:17:47 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F6A929724 for ; Mon, 17 Sep 2018 10:17:46 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 39D188E0011; Mon, 17 Sep 2018 06:17:45 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 2FDE58E0001; Mon, 17 Sep 2018 06:17:45 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1519E8E0011; Mon, 17 Sep 2018 06:17:45 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pl1-f198.google.com (mail-pl1-f198.google.com [209.85.214.198]) by kanga.kvack.org (Postfix) with ESMTP id C82EB8E0001 for ; Mon, 17 Sep 2018 06:17:44 -0400 (EDT) Received: by mail-pl1-f198.google.com with SMTP id h4-v6so7604755pls.17 for ; Mon, 17 Sep 2018 03:17:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:subject:to:cc :from:date:message-id:mime-version:content-transfer-encoding; bh=YFP7MSxky1uWImOZA1uymySBkDyhnzOBaHIeGLf1r5w=; b=TE261WpeUp/7dWelkLlh+I8jgGi5o2nbxHcqd8oB0Mxs5hh9kY41qVK1ptQXaz7EQy 5LDp/Z8XduWQg2dNfF4X1Pi3QUW0SFbCHRDgpdEWG8w6769+jZXyi9R3POBgacKWxKOF HKMAKjyznZEOnQyZ3qQxB5e/bimdggBLrMLwnNwX77cgLH7JmgzL2y1+t/d8VY6eU4Q5 oGdMzmas+ekDf4WfOl2lqcUjEmAGl/MndnRZeQcs8RtuiUpQfW79qpCYO3vAXkfYgI9E x6610fRl0Z1YOP+lNkbmmLQaKoBMqTbXlWTOPU9B4YXCZ+f043iUIgtBEBW+iDpYZdVD zAqw== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org X-Gm-Message-State: APzg51CXt0SQX0nw3V5WJM7NduD8lDOE/2AA3yQC4RXRrgcb7TS5B+wX Goqh0A9FwuqJ+3bcN5dg+UrwyT58fR5mef6Z5hcIiGY0qISy9zntWubQttDIwf5/yOyDcUglufj 1O9dfrhEu1tGPrk8uIA41VjIeNXL0X1R1ans3DPAlp3dz3Ti7WpTOV+jNVu5SQTFmJA== X-Received: by 2002:a63:9a42:: with SMTP id e2-v6mr23449498pgo.263.1537179464485; Mon, 17 Sep 2018 03:17:44 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbD9DH7rtITTV2HF/X2RHVx9zxrJm3xVIBFMLSVCyQjGlxh5J7F0sOvlHfRV+QOdUkvABOJ X-Received: by 2002:a63:9a42:: with SMTP id e2-v6mr23449451pgo.263.1537179463626; Mon, 17 Sep 2018 03:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537179463; cv=none; d=google.com; s=arc-20160816; b=w/JZGYxwzOqeENyJw7QlLv27osQ2v/+lgTlVzCn6+EHLkTJoRokNPxXNXGf0F6lQLe +tVXONR3KDCTCrSa/va6ZVgqnHbsje0355vowR4KX4W1qKhLkud8/Zbj93Ce5o/GKVaz PqHbETYyp8H+l4UanMfXCAMGIkbzqIxfw1wsp70P+3B/Fk5PlxM9PQgyk0ieP595QDYA /ZAC2Sxqc20O0Cf5sRL7rhidAmY+tR7dDVrivZ7AilscBbbBgiixWqjeT5oKkwz8RSOz 9JIxU4spcSc2m7j7PwU8eNVAiV0NMZckXLpp9xqv5qtR3xByA5ZGCdowUiuvrY57wqif 0j3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:from:cc:to :subject; bh=YFP7MSxky1uWImOZA1uymySBkDyhnzOBaHIeGLf1r5w=; b=EXSHvC73wH7lo62zKtCUYePB2lFNoVKJHGGwCuEAlKpQr9KieuMAGvd+DZ4NH21xfL 7E2K6SSZiXcKOEzZH8rmyY8T0M/WpkdbHgL6eemeqPMH33tLDq8s2aNbt2Ny5JCSXCMb +kQmDb9NGNndF5JsHTpbFZG+KQ8WVS4gBsc2vAN8sKjYw3EXcDzQ1KLQyEKPBuxfITKA a8y5EyirvpSmZRI4vfFpZhu/fgvABN4Bl7FLFMerlQWthx/bsdHvtJCoW9CZNDWKawIk IyOEjga+f5zs/qphNLahcoA0OZEfGXUrM6O7htFVag8/BDHv/T5oVIrg+/YYaFh3dsfB V2fA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by mx.google.com with ESMTPS id d10-v6si15289681pla.436.2018.09.17.03.17.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Sep 2018 03:17:43 -0700 (PDT) Received-SPF: pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) client-ip=140.211.169.12; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) smtp.mailfrom=gregkh@linuxfoundation.org Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A8E54BC4; Mon, 17 Sep 2018 10:17:42 +0000 (UTC) Subject: Patch "x86/mm: Remove in_nmi() warning from vmalloc_fault()" has been added to the 4.4-stable tree To: 1532533683-5988-2-git-send-email-joro@8bytes.org,David.Laight@aculab.com,aarcange@redhat.com,acme@kernel.org,alexander.levin@microsoft.com,alexander.shishkin@linux.intel.com,aliguori@amazon.com,boris.ostrovsky@oracle.com,bp@alien8.de,brgerst@gmail.com,daniel.gruss@iaik.tugraz.at,dave.hansen@intel.com,dhgutteridge@sympatico.ca,dvlasenk@redhat.com,eduval@amazon.com,gregkh@linuxfoundation.org,hpa@zytor.com,hughd@google.com,jgross@suse.com,jkosina@suse.cz,jolsa@redhat.com,joro@8bytes.org,jpoimboe@redhat.com,jroedel@suse.de,keescook@google.com,linux-mm@kvack.org,llong@redhat.com,luto@kernel.org,namhyung@kernel.org,pavel@ucw.cz,peterz@infradead.org,tglx@linutronix.de,torvalds@linux-foundation.org,will.deacon@arm.com Cc: From: Date: Mon, 17 Sep 2018 12:15:39 +0200 Message-ID: <1537179339199235@kroah.com> MIME-Version: 1.0 X-stable: commit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP 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 know about it. From foo@baz Mon Sep 17 12:15:09 CEST 2018 From: Joerg Roedel Date: Wed, 25 Jul 2018 17:48:01 +0200 Subject: x86/mm: Remove in_nmi() warning from vmalloc_fault() From: Joerg Roedel [ Upstream commit 6863ea0cda8725072522cd78bda332d9a0b73150 ] It is perfectly okay to take page-faults, especially on the vmalloc area while executing an NMI handler. Remove the warning. Signed-off-by: Joerg Roedel Signed-off-by: Thomas Gleixner Tested-by: David H. Gutteridge Cc: "H . Peter Anvin" Cc: linux-mm@kvack.org Cc: Linus Torvalds Cc: Andy Lutomirski Cc: Dave Hansen Cc: Josh Poimboeuf Cc: Juergen Gross Cc: Peter Zijlstra Cc: Borislav Petkov Cc: Jiri Kosina Cc: Boris Ostrovsky Cc: Brian Gerst Cc: David Laight Cc: Denys Vlasenko Cc: Eduardo Valentin Cc: Greg KH Cc: Will Deacon Cc: aliguori@amazon.com Cc: daniel.gruss@iaik.tugraz.at Cc: hughd@google.com Cc: keescook@google.com Cc: Andrea Arcangeli Cc: Waiman Long Cc: Pavel Machek Cc: Arnaldo Carvalho de Melo Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: joro@8bytes.org Link: https://lkml.kernel.org/r/1532533683-5988-2-git-send-email-joro@8bytes.org Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/x86/mm/fault.c | 2 -- 1 file changed, 2 deletions(-) Patches currently in stable-queue which might be from jroedel@suse.de 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 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -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.