From patchwork Mon Sep 17 10:34:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 10602365 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 7A6BA6CB for ; Mon, 17 Sep 2018 10:38:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6753C29800 for ; Mon, 17 Sep 2018 10:38:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5AE1729805; Mon, 17 Sep 2018 10:38:56 +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 3529329800 for ; Mon, 17 Sep 2018 10:38:54 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id E601D8E0015; Mon, 17 Sep 2018 06:38:53 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id E102A8E0001; Mon, 17 Sep 2018 06:38:53 -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 CFF3C8E0015; Mon, 17 Sep 2018 06:38:53 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by kanga.kvack.org (Postfix) with ESMTP id 930CC8E0001 for ; Mon, 17 Sep 2018 06:38:53 -0400 (EDT) Received: by mail-pf1-f197.google.com with SMTP id h65-v6so8318867pfk.18 for ; Mon, 17 Sep 2018 03:38:53 -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=vqJagxSwxy31+nCL6oF+siJ4D5C8TxmVTK9MK8qjfsE=; b=sKTz0Ch7payPqSo3yyBPf43YZ7SOLVU50j8JH0MYZXl1XT78GGPqoMC/lvgxUjhpiV /degMNtx4CmmxDhMVtFeGCBzjdVfS/fV/1uIqjAkb8qEZKs84Bl5pAwjqRwKc3WIlLBz ypthkgq0mxt/Ta+ecjOm8/5mCHOsYma4ieWvkohiN1DEWeMWNOS6j0qcQlvs7Zue699t UPXBHUqvoNjAa/3KaxutclwhTwP03iW1wbPD7cwZ7ge4PA6UHIfSBFrR59d4OTpDcOUP NC5girFbhIEjdej5cXlQ8pdaMnuEJ++W9nHns4WGB8CUaGh20RDQ1bo3CRtkYtBCupdE 1eOQ== 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: APzg51A9WYWbP0oMKj4TtN24WEpdwnkCynQGwbWQSxaSOnQ/DVPk6mPy otyOylhe+oP4JHsmqGNt/dG47WjP6G7QhYtHsYiGd7njBCtEgaVqlvLg6YsioaGB4FHENJwtIDL TtfPQ0lD62bOwDDeQYHCEuc7IIgaE+CjrDSKF8K0hjs77dsJUEem7MtbZSVwmoUC9wg== X-Received: by 2002:a17:902:d688:: with SMTP id v8-v6mr24164179ply.278.1537180733186; Mon, 17 Sep 2018 03:38:53 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYgfBrI/U/yMqgcwoZtlkmofXDQ61LbpR7bVRoKDqvz1QZxw6uuWbw08B8pscTMARXZlgJc X-Received: by 2002:a17:902:d688:: with SMTP id v8-v6mr24164129ply.278.1537180732358; Mon, 17 Sep 2018 03:38:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537180732; cv=none; d=google.com; s=arc-20160816; b=Q3JSbzy155whrH4vhTS0mHr9YKDtbw9eUtaIe4YPxI4ejRdCjDRofgk6+Ygh8K4BZp 4/XGoBfJjCgsAAs/AdWLZMTvk+1mCG7xTtUVtMFSFJuNZ/3vUMp92bAe26NsgoiMuqdB 4rw/o3Z5x02d6Hv7mex4NK6/OI2Xg5seIBYt7BjlHR/Ia5kzIfdjH1qndCJdJCLUly+z RvFfRGJQG6kOzC+01k+ld44XD32KaU7/5kN6si+dUe2TTHaflpXw0h+QzjssCOJvya17 7RP4v0OzhUsNv+C7SdmM0bKp/K9Ds5nYaJ63YOcBLgOa9h16N7d79r7mEjgnT3CoDWQI 53pQ== 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=vqJagxSwxy31+nCL6oF+siJ4D5C8TxmVTK9MK8qjfsE=; b=xGirf6mqOUwcarpMz++zrZta+R8USZFxvWpc5jk5KHan7y/NqbhRGFyndnR8lOzTaI 2417Tvi6I8lw2zz3ps1yHp0XX2vOLuPebN4zLpHkVn+uc4P7U8qHMuMAJNF/XSR6YVd2 I1pZbNqOLf5o3dcijzy5OibTX/yhxePPfY/zlKNphwWRuEMssM2VePpKGgVbZvtuLO5N NDnJga4L/rlqu8oQAI8M4n639rYaXkHLV0wrbxah+whppbgN7d8ClQaXwSmxamA800Ai zsje3gDcYVVvmblpBoPfsrdVbp1scxvTfmWgZ56j6n0+j/pZGWLpp+Q/jn8Gh1QcaChl A2TQ== 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 92-v6si15516834pli.518.2018.09.17.03.38.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Sep 2018 03:38:52 -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 10F96BE0; Mon, 17 Sep 2018 10:38:51 +0000 (UTC) Subject: Patch "x86/mm: Remove in_nmi() warning from vmalloc_fault()" has been added to the 4.14-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:34:34 +0200 Message-ID: <153718047494252@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.14-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.14 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:33:31 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.14/x86-kexec-allocate-8k-pgds-for-pti.patch queue-4.14/iommu-ipmmu-vmsa-fix-allocation-in-atomic-context.patch queue-4.14/x86-mm-remove-in_nmi-warning-from-vmalloc_fault.patch --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c @@ -317,8 +317,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.