aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)AuthorFilesLines
2016-07-20Document changes to how firmware versions are passed to host on P9Stewart Smith2-1/+4
We won't do mi-version/ml-version, but we will always have version. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-20device-tree: Only advertise ibm, opal-v3 (not v2) on POWER9 and aboveStewart Smith2-1/+6
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-20doc/opal-api: Document OPAL_PCI_GET_PHB_DIAG_DATA2Russell Currey1-0/+24
Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-18doc: add OPAL_SYNC_HOST_REBOOT documentationStewart Smith1-0/+15
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-14OPAL_REINIT_CPUS: clarify that for P9 and above, we can have other flagsStewart Smith2-0/+7
On P8 we got it a bit wrong and would fall into a workaround for P8 DD1 HILE setting if other bits were set in the flags to OPAL_REINIT_CPUS, limiting our opportunity to extend it in the future. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-14Document OPAL_RETURN_CPU and OPAL_REINIT_CPUSStewart Smith2-0/+44
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-12interrupts: Remove #interrupt-cells from ICP nodesBenjamin Herrenschmidt1-1/+0
It's not necessary and not in PAPR. HostBoot should probably do a similar change. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-12Merge branch 'skiboot-5.2.x' - skiboot 5.2.4 release notesStewart Smith1-0/+27
2016-07-12Add skiboot-5.2.4 release notesskiboot-5.2.4Stewart Smith1-0/+27
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-11doc/error-logging : Updates the doc on error loggingMukesh Ojha1-3/+3
Fix include new file location for the error logging interface and the PEL structure and correct typo mistake. Signed-off-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-08doc/device-tree/examples/power9-phb4.dts: Enable a couple of extra PHBsStewart Smith1-2/+2
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-08lpc: Example DT update for P9 LPC busBenjamin Herrenschmidt1-0/+36
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-08power9: Add example device tree for phb4Benjamin Herrenschmidt1-0/+156
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-08Add documentation for OPAL_PCI_TCE_KILLStewart Smith1-0/+55
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-06doc/OPAL_INT_EOI: document positive return valueStewart Smith1-0/+5
From benh suggestion in id:1467792521.13965.118.camel@kernel.crashing.org Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-07-06Reserve OPAL API numbers for XICS emulation for XIVEStewart Smith4-0/+61
Additionally, we put in some skeleton docs for what's coming, key points being that this is for P9 and above, relies on a device being present in the device tree and is modelled on the PAPR calls. Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-30Merge branch 'skiboot-5.2.x'Stewart Smith1-0/+57
2016-06-30Add skiboot-5.2.3 release notesskiboot-5.2.3Stewart Smith1-0/+57
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-21doc/opal-api/power9-changes: Document needed device tree fixStewart Smith1-0/+4
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-21Document changes in OPAL API for POWER9Stewart Smith1-0/+19
Well, the beginning of a TODO list at least Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-20Fix for typosFrederic Bonnard11-17/+17
While reviewing the Debian packaging, codespell found those. Most proposed fixes are based on codespell's default dictionnary. Signed-off-by: Frederic Bonnard <frediz@linux.vnet.ibm.com> Reviewed-by: Mukesh Ojha <mukesh02@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-20doc/device-tree: Add documentation for ibm, cpu-idle-state-* propertiesShreyas B. Prabhu1-5/+27
Add documentation for following nodes- ibm,cpu-idle-state-pmicr ibm,cpu-idle-state-pmicr-mask ibm,cpu-idle-state-psscr ibm,cpu-idle-state-psscr-mask ibm,cpu-idle-state-flags Also removing ibm,cpu-idle-state-names from FIXME since its already documented. Acked-by: Michael Neuling <mikey@neuling.org> Signed-off-by: Shreyas B. Prabhu <shreyas@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-14doc: PCI slotGavin Shan2-17/+119
This renames document pci-slot-properties.txt to pci-slot.txt and more description added regarding the new introduced functionalities to PCI slot by the series of patches. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-14core/opal: Support PCI slot and new APIsGavin Shan3-0/+77
The various reset requests are completed by PHB's callbacks. All of them (except reset on IODA table or error injection) are covered by PCI slot. opal_pci_poll() faces similar situation. This reimplements opal_pci_reset() and opal_pci_poll() based on the callbacks provided by PCI slot instead of PHB. Also, couple of new APIs are introduced based on the callbacks in PCI slot as below: * opal_pci_get_presence_state(): Check if there is adapter presented behind the specified PHB or PCI slot. * opal_pci_get_power_state(): Returns power supply state (on or off) on the specified PHB or PCI slot. * opal_pci_set_power_state(): Sets power supply state (on or off) on the specified PHB or PCI slot. Besides, the state can be (offline or online) without changing the PCI slot's power state. Eventually, the definition of unused PHB's callbacks are removed. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Reviewed-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-14core/fdt: Introduce opal_get_device_tree()Gavin Shan1-0/+24
This introduces OPAL API opal_get_device_tree() to get the device sub-tree. It's going to be used in PCI hot add path. Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-06-07doc: Add initial BMC interactions documentJeremy Kerr1-0/+57
This change adds a minimal document to describe some of the OPAL <--> BMC interactions supported by skiboot. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-05-05Add skiboot 5.2.2 release notesskiboot-5.2.2Stewart Smith1-0/+32
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-04-29Merge branch 'skiboot-5.1.x' into skiboot-5.2.x - 5.1.16 release notesStewart Smith1-0/+52
2016-04-29Add skiboot-5.1.16 release notesskiboot-5.1.16Stewart Smith1-0/+52
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-04-27Add skiboot-5.2.1 release notesskiboot-5.2.1Stewart Smith1-0/+121
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-03-31xscom: Return OPAL_WRONG_STATE on XSCOM ops if CPU is asleepRussell Currey1-0/+5
xscom_read and xscom_write return OPAL_SUCCESS if they worked, and OPAL_HARDWARE if they didn't. This doesn't provide information about why the operation failed, such as if the CPU happens to be asleep. This is specifically useful in error scanning, so if every CPU is being scanned for errors, sleeping CPUs likely aren't the cause of failures. So, return OPAL_WRONG_STATE in xscom_read and xscom_write if the CPU is sleeping. Signed-off-by: Russell Currey <ruscur@russell.cc> Reviewed-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-03-24update doc/stable-skiboot-rules.txt with new tree namesStewart Smith1-3/+3
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-03-16Add skiboot-5.2.0 release notesskiboot-5.2.0Stewart Smith1-0/+249
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-03-16Merge branch 'stable' - skiboot-5.1.15 release notesStewart Smith1-0/+9
2016-03-16Add skiboot-5.1.15 release notesskiboot-5.1.15Stewart Smith1-0/+9
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-03-09Merge branch 'stable' - 5.1.14 release notesStewart Smith1-0/+20
2016-03-09add skiboot-5.1.14 release notesskiboot-5.1.14Stewart Smith1-0/+20
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-03-09Add skiboot-5.2.0-rc2 release notesskiboot-5.2.0-rc2Stewart Smith1-0/+53
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-02-26Add skiboot 5.2.0-rc1 release notesskiboot-5.2.0-rc1Stewart Smith1-0/+211
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-02-23occ: Add support to read V2 format of OCC-OPAL shared memory regionShilpasri G Bhat1-0/+11
Add support to read OCC-OPAL shared memory region version2 to parse ultra-turbo pstates and core-to-max-pstate-allowed array and append it to device tree. Each element of core-to-max-pstate-allowed indicates the maximum pstate sustained with 'n' online cores. Signed-off-by: Shilpasri G Bhat <shilpa.bhat@linux.vnet.ibm.com> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-01-27Merge skiboot-5.1.13 release notesStewart Smith1-0/+43
2016-01-27Add skiboot-5.1.13 release notesskiboot-5.1.13Stewart Smith1-0/+43
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-01-12nvlink: Set a bit in config space to indicate a real PCI device was boundRussell Currey1-2/+13
The version was already set (somewhat obscurely), that has been refactored and the version incremented as per the following patch (which supercedes the previous): Signed-off-by: Russell Currey <ruscur@russell.cc> Acked-By: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2016-01-12Merge OPAL_CONSOLE_FLUSH from stableStewart Smith1-1/+15
2016-01-12Add OPAL_CONSOLE_FLUSH to the OPAL APIRussell Currey1-1/+15
uart consoles only flush output when polled. The Linux kernel calls these pollers frequently, except when in a panic state. As such, panic messages are not fully printed unless the system is configured to reboot after panic. This patch adds a new call to the OPAL API to flush the buffer. If the system has a uart console (i.e. BMC machines), it will incrementally flush the buffer, returning if there is more to be flushed or not. If the system has a different console, the function will have no effect. This will allow the Linux kernel to ensure that panic message have been fully printed out. The existing synchronous flushing mechanism used in OPAL's shutdown and reboot routines has been refactored into a helper that repeatedly calls the new partial flush function. Signed-off-by: Russell Currey <ruscur@russell.cc> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-12-04Merge skiboot-5.1.12 release notesStewart Smith1-0/+44
2015-12-04Add skiboot-5.1.12 release notesskiboot-5.1.12Stewart Smith1-0/+44
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-11-13Merge branch 'stable'Stewart Smith1-0/+16
2015-11-13Add skiboot-5.1.11 release notesskiboot-5.1.11Stewart Smith1-0/+16
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-11-13Merge branch 'stable'Stewart Smith1-0/+34