Re: [PATCH] cxl: make cxl_class constant

2023-10-27 Thread Michael Ellerman
Greg Kroah-Hartman writes: > On Wed, Oct 25, 2023 at 10:16:55AM +0200, Frederic Barrat wrote: >> On 24/10/2023 13:48, Greg Kroah-Hartman 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 >> > pl

Re: [PATCH] cxl: make cxl_class constant

2023-10-25 Thread Greg Kroah-Hartman
On Wed, Oct 25, 2023 at 10:16:55AM +0200, Frederic Barrat wrote: > > > On 24/10/2023 13:48, Greg Kroah-Hartman 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 me

Re: [PATCH] cxl: make cxl_class constant

2023-10-25 Thread Frederic Barrat
On 24/10/2023 13:48, Greg Kroah-Hartman 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: Frederic Ba

[PATCH] cxl: make cxl_class constant

2023-10-24 Thread Greg Kroah-Hartman
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: Frederic Barrat Cc: Andrew Donnellan Cc: Arnd Bergmann Cc: l