aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2019-12-16add little endian supportNicholas Piggin1-1/+1
This adds support for building LE skiboot with LITTLE_ENDIAN=1. This is not complete, notably PHB3, NPU* and *CAPI*, but it is sufficient to build and boot on mambo and OpenPOWER POWER9 systems. LE/ELFv2 is a nicer calling convention, and results in smaller image and less stack usage. It also follows the rest of the Linux/OpenPOWER stack moving to LE. The OPALv3 call interface still requires an ugly transition through BE for compatibility, but that is all handled on the OPAL side. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-12-11skiboot v6.5.2 release notesVasant Hegde1-0/+28
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-12-11skiboot 5.4.11 release notesVasant Hegde1-0/+27
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-12-05secvar_devtree: add generic compatible, and new format device tree propertyEric Richter1-1/+20
This patch adds a generic compatible entry to the secvar/compatible device tree property for kernels, etc to match for basic secvar information (e.g. the linux secvar-sysfs implementation). The new "format" property exposes the expected format for data passing in and out of the secvar API. In most cases, this should be the same as the backend-specific compatible entry. Signed-off-by: Eric Richter <erichte@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-12-04phb4: Add PHB options get/set OPAL callsAlexey Kardashevskiy2-0/+67
These are new OPAL calls to tweak various PHB parameters. The first two are: - TVT Select 'GTE4GB' Option of the PHB control register to enable use of the second TVE for DMA trafic just above 4GB; - MMIO EEH Disable to disable EEH for all MMIO commands. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-11-07doc: add opal secure variable documentationEric Richter3-0/+366
This patch contains the work-in-progress documentation for the secure variable design in OPAL. Future revisions of this patch set will (hopefully) add new pieces of documentation here. Signed-off-by: Eric Richter <erichte@linux.ibm.com> [oliver: whitespace error fixes, removed old backend node docs] Signed-off-by: Oliver O'Halloran <oohall@gmail.com> --- V3: - removed metadata - removed get_size - updated _get semantics for size queries - added/expanded device tree properties V4: - updated for new device tree changes V5: - removed incorrect ibm,secureboot changes - rewrote bindings using a different format - moved secvar documentation under ibm,opal V6: - moved os-secureboot-enforcing to ibm,secureboot - removed backend node from secvar node - updated documentation on secvar node compatible
2019-11-05VAS: Alloc IRQ and port address for each VAS instanceHaren Myneni2-0/+21
Setup IRQ and trigger port for each VAS instance. Export these values through device-tree with 'interrupts' and 'ibm,vas-port' properties in each VAS device node. Kernel setup IRQ and register port address for each send window. Enable 'vas-user-space' NVRAM config to allocate IRQ sources and provide 'interrupts' property. nvram -p ibm,skiboot --update-config vas-user-space=enable Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Haren Myneni <haren@us.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-10-24skiboot v6.5.1 release notesVasant Hegde1-0/+27
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-10-24skiboot v6.3.4 release notesVasant Hegde1-0/+29
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-08-16skiboot 6.5 release notesv6.5Oliver O'Halloran1-0/+20
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-08-15MPIPL: Add documentationVasant Hegde6-0/+250
Document MPIPL device tree and OPAL APIs. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Ananth N Mavinakayanahalli <ananth@linux.vnet.ibm.com> [oliver: rebased] Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-08-15platform: Introduce new reboot typeVasant Hegde1-0/+7
Enhance reboot2 call to support MPIPL. Payload will call this interface to initiate MPIPL. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> [oliver: rebased] Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-08-02doc/device-tree/ibm, opal/firmware/version: clarify timeline of git-id vs ↵Stewart Smith1-2/+6
version Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-08-02doc/requirements.txt: pin docutils at 0.14Stewart Smith1-0/+2
docutils is a dependency for sphinx. The recently released 0.15 version throws a syntax error like so: + cd doc + make html sphinx-build -b html -d _build/doctrees . _build/html Traceback (most recent call last): File "/usr/bin/sphinx-build", line 6, in <module> from sphinx.cmd.build import main File "/usr/lib64/python2.7/site-packages/sphinx/cmd/build.py", line 20, in <module> from docutils.utils import SystemMessage File "/usr/lib/python2.7/site-packages/docutils/utils/__init__.py", line 21, in <module> import docutils.io File "/usr/lib/python2.7/site-packages/docutils/io.py", line 348 (self.destination.mode, mode)), file=self._stderr) ^ SyntaxError: invalid syntax make: *** [Makefile:53: html] Error 1 obviously, this isn't ideal - so let's pin our version to one that actually works. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-08-02occ: Add pstate corresponding to base frequency to DTShilpasri G Bhat1-1/+11
Unlike POWER8, nominal frequency is not the highest guaranteed frequency of the POWER9 chip. In POWER9, the highest guaranteed frequency is greater than the nominal frequency and is referred to as base frequency. In POWER9 base frequency is the highest frequency the processor will operate at when ALL cores are active and in ANY operating condition. This patch exports the turbo pstate as the base frequency as per OCC documentation. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> [oliver: delete ibm,pstate-base on fast reboot] Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
2019-07-16skiboot v6.4 release notesv6.4Stewart Smith1-0/+850
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-07-08skiboot v6.4-rc1 release notesv6.4-rc1Stewart Smith1-0/+788
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-07-02skiboot v6.3.2 release notesVasant Hegde1-0/+219
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> (cherry picked from commit 7a2b63d5457345c7dd8b6d7d9524b58a0aa0ae5e) Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-27doc: Add .nojekyll to not confuse gh-pagesStewart Smith1-0/+0
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-24doc: travis-ci deploy docs!Stewart Smith1-0/+17
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-07doc: Futher document OPAL_REINIT_CPUS_MMU_* modesStewart Smith1-0/+14
Fixes: https://github.com/open-power/skiboot/issues/134 Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-04doc: Add OPAL tokens 46-48 as never usedStewart Smith1-0/+6
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-04Remove POWER7 and POWER7+ supportStewart Smith1-51/+4
It's been a good long while since either OPAL POWER7 user touched a machine, and even longer since they'd have been okay using an old version rather than tracking master. There's also been no testing of OPAL on POWER7 systems for an awfully long time, so it's pretty safe to assume that it's very much bitrotted. It also saves a whole 14kb of xz compressed payload space. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Enthusiasticly-Acked-by: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03prd: Implement generic HBRT - FSP interfaceVasant Hegde1-0/+6
This patch implements generic interface to pass data from HBRT to FSP during runtime (HBRT -> opal-prd -> kernel -> OPAL -> FSP). HBRT sends data via firmware_request interface. We have to convert that to MBOX format and send it to FSP. OPAL uses TCE mapped memory to send data. FSP will reuse same memory for response. Once processing is complete FSP sends response to OPAL. Finally OPAL calls HBRT with firmware_response message. Also introduces new opal_msg type (OPAL_MSG_PRD2) to pass bigger prd message to kernel. - if (prd_msg > OPAL_MSG_FIXED_PARAMS_SIZE) use OPAL_MSG_PRD2 Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03opal-msg: Enhance opal-get-msg APIVasant Hegde1-3/+4
Linux uses opal_get_msg (OPAL_GET_MSG) API to get OPAL messages. This interface supports upto 8 params (64 bytes). We have a requirement to send bigger data to Linux. This patch enhances OPAL to send bigger data to Linux. - Linux will use "opal-msg-size" device tree property to allocate memory for OPAL messages (previous patch increased "opal-msg-size" to 64K). - Replaced `reserved` field in "struct opal_msg" with `size`. So that Linux side opal_get_msg user can detect actual data size. - If buffer size < actual message size, then opal_get_msg will copy partial data and return OPAL_PARTIAL to Linux. - Add new variable "extended" to "opal_msg_entry" structure to keep track of messages that has more than 64byte data. We will allocate separate memory for these messages and once kernel consumes message we will release that memory. Cc: Jeremy Kerr <jk@ozlabs.org> Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Cc: Oliver O'Halloran <oohall@gmail.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Acked-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: fixup misc broken linksStewart Smith4-4/+5
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: prettify OPAL_GET_XIVE and OPAL_SET_XIVEStewart Smith2-3/+13
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Document OPAL_CONFIG_CPU_IDLE_STATEStewart Smith1-0/+32
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: skeleton OPAL_PCI_EEH_FREEZE_SET docsStewart Smith1-0/+29
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Skeleton OPAL_PCI_ERR_INJECT docsStewart Smith1-0/+54
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Document OPAL_WRITE_OPPANEL_ASYNCStewart Smith2-0/+51
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Document OPAL_ELOG_SEND as not ever usedStewart Smith1-1/+12
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Document OPAL_GET_PARAM and OPAL_SET_PARAMStewart Smith2-0/+122
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: prettify OPAL_SYNC_HOST_REBOOTStewart Smith1-8/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: prettify OPAL_CHECK_ASYNC_COMPLETIONStewart Smith1-6/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: prettify OPAL_GET_MSGStewart Smith1-11/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Add skeleton OPAL_RESYNC_TIMEBASE docsStewart Smith1-0/+21
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Add OPAL_ELOG_WRITE to a list of future callsStewart Smith1-0/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Add OPAL_PCI_MSI_EOI skeleton docsStewart Smith1-0/+24
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Skeleton OPAL_PCI_POLL docsStewart Smith1-0/+18
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Add skeleton for OPAL_PCI_NEXT_ERRORStewart Smith1-0/+41
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: OPAL_RESERVED[12], reserved but never usedStewart Smith1-2/+22
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: OPAL_SET_SYSTEM_ATTENTION_LED was never implementedStewart Smith1-1/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Add OPAL_GET_EPOW_STATUS docsStewart Smith2-1/+69
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Mark OPAL_SET_SLOT_LED_STATUS as never implementedStewart Smith1-1/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: OPAL_PCI_MASK_PE_ERROR was never implementedStewart Smith1-1/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Add skeleton for OPAL_PCI_REINITStewart Smith1-0/+31
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: OPAL_PCI_FENCE_PHB was never implementedStewart Smith1-1/+11
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03Remove remnants of OPAL_PCI_GET_PHB_DIAG_DATAStewart Smith2-12/+22
Never present in a public OPAL release, and only kernels prior to 3.11 would ever attempt to call it. Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
2019-06-03doc: Flesh out OPAL_PCI_GET_PHB_DIAG_DATA2 docsStewart Smith1-9/+253
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>