[PATCH] uacce: make uacce_class constant

Zhangfei Gao zhangfei.gao at linaro.org
Thu Oct 26 13:21:52 AEDT 2023


On Tue, 24 Oct 2023 at 19:50, Greg Kroah-Hartman
<gregkh at linuxfoundation.org> wrote:
>
> Now that the driver core allows for struct class to be in read-only
> memory, we should make all 'class' structures declared at build time
> placing them into read-only memory, instead of having to be dynamically
> allocated at runtime.
>
> Cc: Zhangfei Gao <zhangfei.gao at linaro.org>
> Cc: Zhou Wang <wangzhou1 at hisilicon.com>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: linux-accelerators at lists.ozlabs.org
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>

Thanks, Greg

Tested-by: Zhangfei Gao <zhangfei.gao at linaro.org>


More information about the Linux-accelerators mailing list