Re: [PATCH v2 06/19] powerpc/cputable: Split cpu_specs[] out of cputable.h

2022-10-07 Thread Michael Ellerman
Christophe Leroy writes: > Le 20/09/2022 à 10:56, Nicholas Piggin a écrit : >> On Tue Sep 20, 2022 at 3:01 AM AEST, Christophe Leroy wrote: >> >> This series is a nice cleanup. No comments yet but kernel/ is getting >> pretty crowded. Should we make some subdirectories for subarch things >> like

Re: [PATCH v2 06/19] powerpc/cputable: Split cpu_specs[] out of cputable.h

2022-10-06 Thread Christophe Leroy
Le 20/09/2022 à 10:56, Nicholas Piggin a écrit : > On Tue Sep 20, 2022 at 3:01 AM AEST, Christophe Leroy wrote: > > This series is a nice cleanup. No comments yet but kernel/ is getting > pretty crowded. Should we make some subdirectories for subarch things > like mm has? > > Can do that after

Re: [PATCH v2 06/19] powerpc/cputable: Split cpu_specs[] out of cputable.h

2022-09-20 Thread Nicholas Piggin
On Tue Sep 20, 2022 at 3:01 AM AEST, Christophe Leroy wrote: > cpu_specs[] is full of #ifdefs depending on the different > types of CPU. > > CPUs are mutually exclusive, it is therefore possible to split > cpu_specs[] into smaller more readable pieces. > > Create cpu_specs_XXX.h that will each be d

[PATCH v2 06/19] powerpc/cputable: Split cpu_specs[] out of cputable.h

2022-09-19 Thread Christophe Leroy
cpu_specs[] is full of #ifdefs depending on the different types of CPU. CPUs are mutually exclusive, it is therefore possible to split cpu_specs[] into smaller more readable pieces. Create cpu_specs_XXX.h that will each be dedicated on one of the following mutually exclusive families: - 40x - 44x