Re: [PATCH v3,5/5] powerpc: sysdev: support userspace access of fsl_85xx_sram

2020-04-24 Thread 王文虎
create mode 100644 arch/powerpc/sysdev/fsl_85xx_sram_uapi.c >>> >>> We shouldn't add more stuff in arch/powerpc/sysdev/ >>> >>> Either it is dedicated to 85xx, and it should go into >>> arch/powerpc/platform/85xx/ , or it is common to several >>> platforms/architectures and should be moved

Re: [PATCH v3,5/5] powerpc: sysdev: support userspace access of fsl_85xx_sram

2020-04-24 Thread Christophe Leroy
Le 24/04/2020 à 09:05, 王文虎 a écrit : Le 24/04/2020 à 04:45, Wang Wenhu a écrit : New module which registers its memory allocation and free APIs to the sram_dynamic module, which would create a device of struct sram_device type to act as an interface for user level applications to access the b

Re: [PATCH v3,5/5] powerpc: sysdev: support userspace access of fsl_85xx_sram

2020-04-24 Thread 王文虎
>Le 24/04/2020 à 04:45, Wang Wenhu a écrit : >> New module which registers its memory allocation and free APIs to the >> sram_dynamic module, which would create a device of struct sram_device >> type to act as an interface for user level applications to access the >> backend hardware device, fsl_85

Re: [PATCH v3,5/5] powerpc: sysdev: support userspace access of fsl_85xx_sram

2020-04-23 Thread Christophe Leroy
Le 24/04/2020 à 04:45, Wang Wenhu a écrit : New module which registers its memory allocation and free APIs to the sram_dynamic module, which would create a device of struct sram_device type to act as an interface for user level applications to access the backend hardware device, fsl_85xx_cache