[Skiboot] [PATCH 12/33] Timebase quirk for slow simulators like AWAN and SIMICS

Stewart Smith stewart at linux.vnet.ibm.com
Wed Jul 6 19:46:04 AEST 2016


Benjamin Herrenschmidt <benh at kernel.crashing.org> writes:
> This will internally pretend the timebase is running 1000 times
> slower, which reduces some otherwise really terrible delays in
> some simulators.
>
> Signed-off-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> ---
>  core/chip.c              | 13 ++++++++++++-
>  core/test/run-timebase.c |  2 ++
>  core/test/run-timer.c    |  2 ++
>  core/timebase.c          |  8 +++++++-
>  hdata/test/hdata_to_dt.c |  2 ++
>  hw/xscom.c               |  3 ++-
>  include/chip.h           |  1 +
>  include/timebase.h       |  2 +-
>  8 files changed, 29 insertions(+), 4 deletions(-)

I've taken up to this patch (12) as of 59e6663 as that's all fairly
non-contriversial and good.

I'll look at the new PCI OPAL call tomorrow.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list