[Skiboot] [PATCH v5 0/5] Add SBE driver support
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Sun Jul 23 21:30:45 AEST 2017
This patchset adds SBE driver in OPAL.
Patch 1&2 patches adds primary property to xscom node. Its used to detect
master SBE.
Patch 3 moves P8 timer code to separate file.
Patch 4 adds base SBE driver.
Patch 5 adds SBE timer support.
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 (5):
hdata: Add PNOR info structure
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/timer.c | 21 +-
hdata/spira.c | 15 ++
hdata/spira.h | 24 ++
hw/Makefile.inc | 2 +-
hw/sbe-p8.c | 203 +++++++++++++++
hw/sbe-p9.c | 733 +++++++++++++++++++++++++++++++++++++++++++++++++++++-
hw/slw.c | 185 +-------------
include/chip.h | 4 +
include/sbe-p8.h | 28 +++
include/sbe-p9.h | 202 +++++++++++++++
include/skiboot.h | 6 -
13 files changed, 1231 insertions(+), 205 deletions(-)
create mode 100644 hw/sbe-p8.c
create mode 100644 include/sbe-p8.h
--
2.9.3
More information about the Skiboot
mailing list