Re: [PATCH v2 1/3] /dev/mem: disallow access to explicitly excluded system RAM regions

2021-08-25 Thread David Hildenbrand
On 25.08.21 19:07, Dan Williams wrote: On Wed, Aug 25, 2021 at 12:23 AM David Hildenbrand wrote: On 25.08.21 02:58, Dan Williams wrote: On Mon, Aug 16, 2021 at 7:25 AM David Hildenbrand wrote: virtio-mem dynamically exposes memory inside a device memory region as system RAM to Linux, coord

Re: [PATCH v2 1/3] /dev/mem: disallow access to explicitly excluded system RAM regions

2021-08-25 Thread Dan Williams
On Wed, Aug 25, 2021 at 12:23 AM David Hildenbrand wrote: > > On 25.08.21 02:58, Dan Williams wrote: > > On Mon, Aug 16, 2021 at 7:25 AM David Hildenbrand wrote: > >> > >> virtio-mem dynamically exposes memory inside a device memory region as > >> system RAM to Linux, coordinating with the hyperv

Re: [PATCH v2 1/3] /dev/mem: disallow access to explicitly excluded system RAM regions

2021-08-25 Thread David Hildenbrand
On 25.08.21 02:58, Dan Williams wrote: On Mon, Aug 16, 2021 at 7:25 AM David Hildenbrand wrote: virtio-mem dynamically exposes memory inside a device memory region as system RAM to Linux, coordinating with the hypervisor which parts are actually "plugged" and consequently usable/accessible. On

Re: [PATCH v2 1/3] /dev/mem: disallow access to explicitly excluded system RAM regions

2021-08-24 Thread Dan Williams
On Mon, Aug 16, 2021 at 7:25 AM David Hildenbrand wrote: > > virtio-mem dynamically exposes memory inside a device memory region as > system RAM to Linux, coordinating with the hypervisor which parts are > actually "plugged" and consequently usable/accessible. On the one hand, the > virtio-mem dri

[PATCH v2 1/3] /dev/mem: disallow access to explicitly excluded system RAM regions

2021-08-16 Thread David Hildenbrand
virtio-mem dynamically exposes memory inside a device memory region as system RAM to Linux, coordinating with the hypervisor which parts are actually "plugged" and consequently usable/accessible. On the one hand, the virtio-mem driver adds/removes whole memory blocks, creating/removing busy IORESOU