Re: [PATCH v5 13/15] resource: Move devmem revoke code to resource framework

2020-10-31 Thread Daniel Vetter
On Sat, Oct 31, 2020 at 7:36 AM John Hubbard wrote: > > On 10/30/20 3:08 AM, Daniel Vetter wrote: > > We want all iomem mmaps to consistently revoke ptes when the kernel > > takes over and CONFIG_IO_STRICT_DEVMEM is enabled. This includes the > > pci bar mmaps available through procfs and sysfs, w

Re: [PATCH v5 13/15] resource: Move devmem revoke code to resource framework

2020-10-30 Thread John Hubbard
On 10/30/20 3:08 AM, Daniel Vetter wrote: We want all iomem mmaps to consistently revoke ptes when the kernel takes over and CONFIG_IO_STRICT_DEVMEM is enabled. This includes the pci bar mmaps available through procfs and sysfs, which currently do not revoke mappings. To prepare for this, move t

[PATCH v5 13/15] resource: Move devmem revoke code to resource framework

2020-10-30 Thread Daniel Vetter
We want all iomem mmaps to consistently revoke ptes when the kernel takes over and CONFIG_IO_STRICT_DEVMEM is enabled. This includes the pci bar mmaps available through procfs and sysfs, which currently do not revoke mappings. To prepare for this, move the code from the /dev/kmem driver to kernel/