Re: [PATCH 29/32] fbdev: Push pgprot_decrypted() into mmap implementations

2023-11-16 Thread Javier Martinez Canillas
Thomas Zimmermann writes: > If a driver sets struct fb_ops.fb_mmap, the fbdev core automatically > calls pgprot_decrypted(). But the default fb_mmap code doesn't handle > pgprot_decrypted(). > > Move the call to pgprot_decrypted() into each drivers' fb_mmap function. > This only concerns fb_mmap

[PATCH 29/32] fbdev: Push pgprot_decrypted() into mmap implementations

2023-11-15 Thread Thomas Zimmermann
If a driver sets struct fb_ops.fb_mmap, the fbdev core automatically calls pgprot_decrypted(). But the default fb_mmap code doesn't handle pgprot_decrypted(). Move the call to pgprot_decrypted() into each drivers' fb_mmap function. This only concerns fb_mmap functions for system and DMA memory. Fo