[PATCH v2 4/4] powerpc/pseries: Move dtl scanning and steal time accounting to pseries platform

Guenter Roeck linux at roeck-us.net
Tue Oct 11 07:49:29 AEDT 2022


On Fri, Sep 02, 2022 at 06:53:16PM +1000, Nicholas Piggin wrote:
> dtl is the PAPR Dispatch Trace Log, which is entirely a pseries feature.
> The pseries platform alrady has a file dealing with the dtl, so move
> scanning for stolen time accounting there from kernel/time.c.
> 
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>

This patch ties DTL to PPC_SPLPAR without updating configuration
dependencies. As result, the following build error may now be seen
if CONFIG_PPC_SPLPAR=y and CONFIG_DTL=n.

arch/powerpc/kernel/irq.o: in function `.do_IRQ':
irq.c:(.text+0x2798): undefined reference to `.pseries_accumulate_stolen_time'

I updated my own configurations to avoid the problem, but you might see
randconfig failures with this error in the future.

Guenter


More information about the Linuxppc-dev mailing list