[PATCH] uacce: make uacce_class constant

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Oct 27 17:52:20 AEDT 2023


On Thu, Oct 26, 2023 at 10:21:52AM +0800, Zhangfei Gao wrote:
> 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>

Wonderful, thanks for testing!


More information about the Linux-accelerators mailing list