On Wed, Sep 26, 2018 at 07:58:11PM +0000, Haralanov, Mitko wrote: > We would be happy to implement whatever interface is deemed correct but > the requirement is that the 'root' user has full access to the device > BAR and the driver can remain loaded at the same time. The kernel community has decided not to permit that, sorry. The prohibition goes hand in hand with secure boot and a driver cannot defeat those restrictions. You need to figure out how to do what you want without a mmap'd BAR, or state your BAR is fully secured in HW. Jason