[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230906073902.4229-1-adrian.hunter@intel.com>
Date: Wed, 6 Sep 2023 10:38:59 +0300
From: Adrian Hunter <adrian.hunter@...el.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Borislav Petkov <bp@...en8.de>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Dave Hansen <dave.hansen@...el.com>,
Vlastimil Babka <vbabka@...e.cz>,
Mike Rapoport <rppt@...ux.ibm.com>,
Lorenzo Stoakes <lstoakes@...il.com>,
Tom Lendacky <thomas.lendacky@....com>,
Baoquan He <bhe@...hat.com>, Vivek Goyal <vgoyal@...hat.com>,
Dave Young <dyoung@...hat.com>, linux-kernel@...r.kernel.org,
linux-fsdevel@...r.kernel.org, linux-mm@...ck.org,
linux-coco@...ts.linux.dev, linux-efi@...r.kernel.org,
kexec@...ts.infradead.org
Subject: [PATCH 0/3] Do not map unaccepted memory
Hi
Support for unaccepted memory was added recently, refer commit
dcdfdd40fa82 ("mm: Add support for unaccepted memory"), whereby
a virtual machine may need to accept memory before it can be used.
Plug a few gaps where RAM is exposed without checking if it is
unaccepted memory.
Adrian Hunter (3):
proc/vmcore: Do not map unaccepted memory
proc/kcore: Do not map unaccepted memory
/dev/mem: Do not map unaccepted memory
drivers/char/mem.c | 9 +++++++--
fs/proc/kcore.c | 10 +++++++++-
fs/proc/vmcore.c | 15 ++++++++++++---
3 files changed, 28 insertions(+), 6 deletions(-)
Regards
Adrian
Powered by blists - more mailing lists