[Skiboot] [PATCH v6 0/4] Add SBE driver support
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Thu Mar 29 21:40:57 AEDT 2018
This patchset adds support to communicate to SBE. This patchset adds
base SBE driver and timer support.
Patch 1 adds primary property to xscom node. Its used to detect master SBE.
Patch 2 moves P8 timer code to separate file.
Patch 3 adds base SBE driver.
Patch 5 adds SBE timer support.
Changes in v6:
- Reworked base driver code based on Ben's review comment.
- Using new HDAT property to detect master chip SBE
- Changed default timer value from 10ms to 100us
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 (4):
hdata: Add 'primary' property to master chip xscom node
Move P8 timer code to separate file
Add SBE driver support
SBE: Add timer support
core/init.c | 7 +
core/interrupts.c | 6 +-
core/test/run-timer.c | 10 +-
core/timer.c | 22 +-
hdata/spira.c | 5 +-
hdata/spira.h | 1 +
hw/Makefile.inc | 2 +-
hw/psi.c | 2 +-
hw/sbe-p8.c | 203 ++++++++++++++
hw/sbe-p9.c | 758 +++++++++++++++++++++++++++++++++++++++++++++++++-
hw/slw.c | 185 +-----------
include/chip.h | 4 +
include/sbe-p8.h | 28 ++
include/sbe-p9.h | 211 +++++++++++++-
include/skiboot.h | 6 -
15 files changed, 1237 insertions(+), 213 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