Re: [PATCH] powerpc/machdep: warn when machine_is() used too early

2023-02-13 Thread Nathan Lynch
Michael Ellerman writes: > Christophe Leroy writes: >> Le 11/02/2023 à 00:56, Nathan Lynch via B4 Submission Endpoint a écrit : >>> From: Nathan Lynch >>> >>> machine_is() can't provide correct results before probe_machine() has >>> run. Warn when it's used too early in boot. >>> >>>

Re: [PATCH] powerpc/machdep: warn when machine_is() used too early

2023-02-13 Thread Michael Ellerman
Christophe Leroy writes: > Le 11/02/2023 à 00:56, Nathan Lynch via B4 Submission Endpoint a écrit : >> From: Nathan Lynch >> >> machine_is() can't provide correct results before probe_machine() has >> run. Warn when it's used too early in boot. >> >> Signed-off-by: Nathan Lynch >> --- >>

Re: [PATCH] powerpc/machdep: warn when machine_is() used too early

2023-02-10 Thread Christophe Leroy
Le 11/02/2023 à 00:56, Nathan Lynch via B4 Submission Endpoint a écrit : > From: Nathan Lynch > > machine_is() can't provide correct results before probe_machine() has > run. Warn when it's used too early in boot. > > Signed-off-by: Nathan Lynch > --- > Prompted by my attempts to do some