linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Do not map unaccepted memory
@ 2023-09-06  7:38 Adrian Hunter
  2023-09-06  7:39 ` [PATCH 1/3] proc/vmcore: " Adrian Hunter
                   ` (3 more replies)
  0 siblings, 4 replies; 24+ messages in thread
From: Adrian Hunter @ 2023-09-06  7:38 UTC (permalink / raw)
  To: Kirill A. Shutemov, Borislav Petkov, Andrew Morton
  Cc: Dave Hansen, Vlastimil Babka, Mike Rapoport, Lorenzo Stoakes,
	Tom Lendacky, Baoquan He, Vivek Goyal, Dave Young, linux-kernel,
	linux-fsdevel, linux-mm, linux-coco, linux-efi, kexec

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

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2023-09-11 21:04 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06  7:38 [PATCH 0/3] Do not map unaccepted memory Adrian Hunter
2023-09-06  7:39 ` [PATCH 1/3] proc/vmcore: " Adrian Hunter
2023-09-07 15:39   ` Dave Hansen
2023-09-07 15:44     ` Adrian Hunter
2023-09-07 15:51       ` Dave Hansen
2023-09-11  8:03   ` David Hildenbrand
2023-09-11  8:41     ` Kirill A. Shutemov
2023-09-11  8:42       ` David Hildenbrand
2023-09-11  9:27         ` Kirill A. Shutemov
2023-09-11  9:50           ` David Hildenbrand
2023-09-11 10:05             ` Kirill A. Shutemov
2023-09-11 14:33               ` David Hildenbrand
2023-09-06  7:39 ` [PATCH 2/3] proc/kcore: " Adrian Hunter
2023-09-07 15:36   ` Dave Hansen
2023-09-07 15:43   ` Dave Hansen
2023-09-06  7:39 ` [PATCH 3/3] /dev/mem: " Adrian Hunter
2023-09-07 10:06   ` Kirill A. Shutemov
2023-09-07 14:15   ` Dave Hansen
2023-09-07 14:25     ` Kirill A. Shutemov
2023-09-07 14:46       ` Dave Hansen
2023-09-07 15:04         ` Dave Hansen
2023-09-11  8:09         ` David Hildenbrand
2023-09-11 14:32           ` Dave Hansen
2023-09-07 10:07 ` [PATCH 0/3] " Kirill A. Shutemov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).