[Skiboot] [PATCH RESEND v6 0/2] Add SBE timer support

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Apr 3 21:57:50 AEST 2018


This patchset adds SBE timer support.

This patchset depends on SBE base driver patchset [1].

[1] https://lists.ozlabs.org/pipermail/skiboot/2018-April/010903.html

Changes in v6:
  - Split base driver and timer support to separate patchset
  - Reworked timer code based on Ben's review comment
  - Changed timer granularity from ms to us.

Changes in v5:
  - Rebased on top of upstream master
  - Synced to latest SBE-Host spec
  - Fixed sbe_sync_msg()
  - Removed continous timer call

Changes in v4:
  - Used PNOR info idata pointer to find primary chip
  - Fixed few return value issues

Testing:
  - Tested this patchset on P9 machine and it working fine.

Vasant Hegde (2):
  Move P8 timer code to separate file
  SBE: Add timer support

 core/interrupts.c     |   6 +-
 core/test/run-timer.c |  10 ++-
 core/timer.c          |  22 ++++--
 hw/Makefile.inc       |   2 +-
 hw/sbe-p8.c           | 203 ++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/sbe-p9.c           | 159 +++++++++++++++++++++++++++++++++++++++
 hw/slw.c              | 185 +--------------------------------------------
 include/sbe-p8.h      |  28 +++++++
 include/sbe-p9.h      |   6 ++
 include/skiboot.h     |   6 --
 10 files changed, 429 insertions(+), 198 deletions(-)
 create mode 100644 hw/sbe-p8.c
 create mode 100644 include/sbe-p8.h

-- 
2.14.3



More information about the Skiboot mailing list