commit | 5f415b5d1489e74efbae0a601dd679ed499ec770 | [log] [tgz] |
---|---|---|
author | Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> | Wed Jul 29 13:53:50 2020 -0300 |
committer | Klaus Heinrich Kiwi <klausk@br.ibm.com> | Wed Jul 29 17:18:08 2020 -0300 |
tree | f21a15b5c8ccbf2f3077ccc08711ed50de8e76f1 | |
parent | 16499df017a01d0d8cd0de7e78113a3ba8ecc372 [diff] |
Bump Skiboot to latest p10 version containing Big-Core patches This pulls a new Skiboot with significant changes, maily focused on Big-Core support. Summary of changes since 85b27f5: Benjamin Herrenschmidt (7): xive: Set the fused core mode properly chip: Fix pir_to_thread_id for fused cores cpu: Keep track of the "ec_primary" in big core more direct-ctl: Use the EC primary for special wakeups slw: Limit fused cores P9 to STOP0/1/2 cpu: Make cpu_get_core_index() return the fused core number imc: Use pir_to_core_id() rather than cpu_get_core_index() Cédric Le Goater (2): xive/p10: configure XIVE for fused cores xive/p10: Enforce thread enablement Oliver O'Halloran (1): fix the bonus cleanup_cpu_state() Ryan Grimm (1): Add basic P9 fused core support Ryan P Grimm (1): Merge pull request #26 from svaidyan/p10-fusedcore Vaidyanathan Srinivasan (6): Add POWER9 Cumulus processor PVR type Add POWER9 Fleetwood platform support Fused core support for P10 chip: fixes for fused cores on P10 xive/p10: add automatic Context Save and Restore support Enable fused core mode support in OPAL Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com> ---------------- asm/head.S | 27 +++++++++++++++++++++++---- core/chip.c | 47 +++++++++++++++++++++++++++++++++++++++-------- core/cpu.c | 58 +++++++++++++++++++++++++++++++++++++++++++++------------- core/cpufeatures.c | 19 +++++++++++++++++++ core/direct-controls.c | 8 ++++---- core/fast-reboot.c | 12 ++++++++++-- core/init.c | 4 ---- hdata/test/hdata_to_dt.c | 9 ++++++++- hw/imc.c | 8 ++++---- hw/slw.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/xive.c | 6 +++++- hw/xive2.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- include/chip.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ include/cpu.h | 13 +++++++++++++ include/opal-api.h | 1 + include/processor.h | 37 +++++++++++++++++++++++++++++-------- include/xive-p9-regs.h | 1 + include/xive2-regs.h | 20 +++++++++++++++++++- include/xscom.h | 3 +++ platforms/ibm-fsp/zz.c | 4 ++++ 20 files changed, 426 insertions(+), 52 deletions(-)
The OpenPOWER firmware build process uses Buildroot to create a toolchain and build the various components of the PNOR firmware, including Hostboot, Skiboot, OCC, Petitboot etc.
https://open-power.github.io/op-build/
See the doc/ directory for documentation source. Contributions are VERY welcome!
Issues, Milestones, pull requests and code hosting is on GitHub: https://github.com/open-power/op-build
See CONTRIBUTING.md for howto contribute code.
To build an image for a Palmetto system:
git clone --recursive git@github.ibm.com:open-power/op-build.git cd op-build ./op-build rainier_defconfig && ./op-build
There are also default configurations for other platforms in openpower/configs/
. Current POWER8 platforms include Habanero, Firestone, and Garrison. Current POWER9 platforms include Witherspoon, Boston (p9dsu), Romulus, and Zaius.
Buildroot/op-build supports both native and cross-compilation - it will automatically download and build an appropriate toolchain as part of the build process, so you don't need to worry about setting up a cross-compiler. Cross-compiling from a x86-64 host is officially supported.
The machine your building on will need Python 2.7, GCC 6.2 (or later), and a handful of other packages (see below).
Install Ubuntu (>= 18.04) or Debian (>= 9) 64-bit.
Enable Universe (Ubuntu only):
sudo apt-get install software-properties-common sudo add-apt-repository universe
Install the packages necessary for the build:
sudo apt-get install cscope ctags libz-dev libexpat-dev \ python language-pack-en texinfo \ build-essential g++ git bison flex unzip \ libssl-dev libxml-simple-perl libxml-sax-perl libxml-parser-perl libxml2-dev libxml2-utils xsltproc \ wget bc rsync
Install Fedora (>= 25) 64-bit.
Install the packages necessary for the build:
sudo dnf install gcc-c++ flex bison git ctags cscope expat-devel patch \ zlib-devel zlib-static texinfo "perl(bigint)" "perl(XML::Simple)" \ "perl(YAML)" "perl(XML::SAX)" "perl(Fatal)" "perl(Thread::Queue)" \ "perl(Env)" "perl(XML::LibXML)" "perl(Digest::SHA1)" "perl(ExtUtils::MakeMaker)" \ libxml2-devel which wget unzip tar cpio python bzip2 bc findutils ncurses-devel \ openssl-devel make libxslt vim-common lzo-devel python2