]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'virtio-mem-for-5.16' of git://github.com/davidhildenbrand/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Nov 2021 21:14:05 +0000 (13:14 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Nov 2021 21:14:05 +0000 (13:14 -0800)
commit9392e3e86b407cbf0ebda3717ca2ff6ea60792c7
treef8350ca2054e1f6350cc4a308d08c60b5fa59a94
parent296abe3f55d990f592dad04fcef0a78a7516e99b
parent06f37c2336afff4d89eeabaf9c9f0d8b697bf2ab
Merge tag 'virtio-mem-for-5.16' of git://github.com/davidhildenbrand/linux

Pull virtio-mem update from David Hildenbrand:
 "Support the VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE feature in virtio-mem,
  now that "accidential" access to logically unplugged memory inside
  added Linux memory blocks is no longer possible, because we:

   - Removed /dev/kmem in commit 9944c199d6f3 ("drivers/char: remove
     /dev/kmem for good")

   - Disallowed access to virtio-mem device memory via /dev/mem in
     commit ff2e8b264ba ("virtio-mem: disallow mapping virtio-mem memory
     via /dev/mem")

   - Sanitized access to virtio-mem device memory via /proc/kcore in
     commit 352b20752f0f ("fs/proc/kcore: don't read offline sections,
     logically offline pages and hwpoisoned pages")

   - Sanitized access to virtio-mem device memory via /proc/vmcore in
     commit b4157c21a510 ("virtio-mem: kdump mode to sanitize
     /proc/vmcore access")

  The new VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE feature that will be
  required by some hypervisors implementing virtio-mem in the near
  future, so let's support it now that we safely can"

* tag 'virtio-mem-for-5.16' of git://github.com/davidhildenbrand/linux:
  virtio-mem: support VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE