Re: [PATCH v4 1/6] kunit: move KUNIT_TABLE out of INIT_DATA

2023-12-12 Thread David Gow
On Wed, 13 Dec 2023 at 09:02, Rae Moar wrote: > > Alter the linker section of KUNIT_TABLE to move it out of INIT_DATA and > into DATA_DATA. > > Data for KUnit tests does not need to be in the init section. > > In order to run tests again after boot the KUnit data cannot be labeled as > init data a

[PATCH v4 1/6] kunit: move KUNIT_TABLE out of INIT_DATA

2023-12-12 Thread Rae Moar
Alter the linker section of KUNIT_TABLE to move it out of INIT_DATA and into DATA_DATA. Data for KUnit tests does not need to be in the init section. In order to run tests again after boot the KUnit data cannot be labeled as init data as the kernel could write over it. Add a KUNIT_INIT_TABLE in