(subset) [PATCH v5 0/5] ppc, fbdev: Clean up fbdev mmap helper

Thomas Zimmermann tzimmermann at suse.de
Mon Nov 13 20:22:35 AEDT 2023



Am 13.11.23 um 03:45 schrieb Michael Ellerman:
> On Fri, 22 Sep 2023 10:04:54 +0200, Thomas Zimmermann wrote:
>> Clean up and rename fb_pgprotect() to work without struct file. Then
>> refactor the implementation for PowerPC. This change has been discussed
>> at [1] in the context of refactoring fbdev's mmap code.
>>
>> The first two patches update fbdev and replace fbdev's fb_pgprotect()
>> with pgprot_framebuffer() on all architectures. The new helper's stream-
>> lined interface enables more refactoring within fbdev's mmap
>> implementation.
>>
>> [...]
> 
> Patches 3-5 applied to powerpc/fixes.
> 
> [3/5] arch/powerpc: Remove trailing whitespaces
>        https://git.kernel.org/powerpc/c/322948c3198cf80e7c10d953ddad24ebd85757cd
> [4/5] arch/powerpc: Remove file parameter from phys_mem_access_prot code
>        https://git.kernel.org/powerpc/c/1f92a844c35e483c00bab8a7b7d39c555ee799d8
> [5/5] arch/powerpc: Call internal __phys_mem_access_prot() in fbdev code
>        https://git.kernel.org/powerpc/c/deebe5f607d7f72f83c41163191ad0c1c4356385

Great, thanks a lot!

> 
> cheers

-- 
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20231113/ff55117c/attachment.sig>


More information about the Linuxppc-dev mailing list