linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] virtio-mem changes for v5.16
@ 2021-11-10 16:37 David Hildenbrand
  2021-11-13  8:54 ` David Hildenbrand
  2021-11-13 21:19 ` pr-tracker-bot
  0 siblings, 2 replies; 3+ messages in thread
From: David Hildenbrand @ 2021-11-10 16:37 UTC (permalink / raw)
  To: linux-kernel
  Cc: Linus Torvalds, virtualization, Michael S . Tsirkin, David Hildenbrand

Hi Linus,

usually this would have went via the vhost tree, but as this patch depends
on some patches that just went in via Andrews tree and MST doesn't have
any other patches for this merge window, I'm sending it myself
and base it on current mainline that contains the relevant commits
already. Thanks!

The following changes since commit cb690f5238d71f543f4ce874aa59237cf53a877c:

  Merge tag 'for-5.16/drivers-2021-11-09' of git://git.kernel.dk/linux-block (2021-11-09 11:24:08 -0800)

are available in the Git repository at:

  https://github.com/davidhildenbrand/linux.git tags/virtio-mem-for-5.16

for you to fetch changes up to 61082ad6a6e1f999eef7e7e90046486c87933b1e:

  virtio-mem: support VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE (2021-11-10 15:32:38 +0100)

----------------------------------------------------------------
virtio-mem: support VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE

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:

1. Removed /dev/kmem in commit bbcd53c96071 ("drivers/char: remove
   /dev/kmem for good")
2. Disallowed access to virtio-mem device memory via /dev/mem in commit
   2128f4e21aa ("virtio-mem: disallow mapping virtio-mem memory via
   /dev/mem")
3. Sanitized access to virtio-mem device memory via /proc/kcore in
   commit 0daa322b8ff9 ("fs/proc/kcore: don't read offline sections,
   logically offline pages and hwpoisoned pages")
4. Sanitized access to virtio-mem device memory via /proc/vmcore in
   commit ce2814622e84 ("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.

Signed-off-by: David Hildenbrand <david@redhat.com>

----------------------------------------------------------------
David Hildenbrand (1):
      virtio-mem: support VIRTIO_MEM_F_UNPLUGGED_INACCESSIBLE

 drivers/virtio/virtio_mem.c     | 1 +
 include/uapi/linux/virtio_mem.h | 9 ++++++---
 2 files changed, 7 insertions(+), 3 deletions(-)


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

* Re: [GIT PULL] virtio-mem changes for v5.16
  2021-11-10 16:37 [GIT PULL] virtio-mem changes for v5.16 David Hildenbrand
@ 2021-11-13  8:54 ` David Hildenbrand
  2021-11-13 21:19 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: David Hildenbrand @ 2021-11-13  8:54 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linus Torvalds, virtualization, Michael S . Tsirkin

On 10.11.21 17:37, David Hildenbrand wrote:
> Hi Linus,
> 
> usually this would have went via the vhost tree, but as this patch depends
> on some patches that just went in via Andrews tree and MST doesn't have
> any other patches for this merge window, I'm sending it myself
> and base it on current mainline that contains the relevant commits
> already. Thanks!
> 

This is most probably at the end of the PULL queue, just a heads up that
it would be really nice to have this in v5.16. Thanks!


-- 
Thanks,

David / dhildenb


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

* Re: [GIT PULL] virtio-mem changes for v5.16
  2021-11-10 16:37 [GIT PULL] virtio-mem changes for v5.16 David Hildenbrand
  2021-11-13  8:54 ` David Hildenbrand
@ 2021-11-13 21:19 ` pr-tracker-bot
  1 sibling, 0 replies; 3+ messages in thread
From: pr-tracker-bot @ 2021-11-13 21:19 UTC (permalink / raw)
  To: David Hildenbrand
  Cc: linux-kernel, Linus Torvalds, virtualization,
	Michael S . Tsirkin, David Hildenbrand

The pull request you sent on Wed, 10 Nov 2021 17:37:54 +0100:

> https://github.com/davidhildenbrand/linux.git tags/virtio-mem-for-5.16

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/ccfff0a2bd2a30de130b5623d242ddecd0272bc2

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

end of thread, other threads:[~2021-11-13 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-10 16:37 [GIT PULL] virtio-mem changes for v5.16 David Hildenbrand
2021-11-13  8:54 ` David Hildenbrand
2021-11-13 21:19 ` pr-tracker-bot

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).