summaryrefslogtreecommitdiffstats
path: root/core/ipmi-opal.c
Commit message (Collapse)AuthorAgeFilesLines
* core/ipmi-opal: Add interrupt-parent property for ipmi node on P9 and above.Pridhiviraj Paidipeddi2018-03-011-1/+7
| | | | | | | | | | | | | dtc complains below warning with newer 4.2+ kernels. dts: Warning (interrupts_property): Missing interrupt-parent for /ibm,opal/ipmi This fix adds interrupt-parent property under /ibm,opal/ipmi DT node on P9 and above, which allows ipmi-opal to properly use the OPAL irqchip. Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com> [stewart: fix indentation] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* ipmi: Convert common debug prints to traceVasant Hegde2017-10-101-2/+2
| | | | | | | | | | | | | | | OPAL logs messages for every IPMI request from host. Sometime OPAL console is filled with only these messages. This path is pretty stable now and we have enough logs to cover bad path. Hence lets convert these debug message to trace/info message. [ 1356.423958816,7] opal_ipmi_recv(cmd: 0xf0 netfn: 0x3b resp_size: 0x02) [ 1356.430774496,7] opal_ipmi_send(cmd: 0xf0 netfn: 0x3a len: 0x3b) [ 1356.430797392,7] BT: seq 0x20 netfn 0x3a cmd 0xf0: Message sent to host [ 1356.431668496,7] BT: seq 0x20 netfn 0x3a cmd 0xf0: IPMI MSG done Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Revert "core/ipmi: Set interrupt-parent property"Stewart Smith2016-11-111-5/+1
| | | | | | | | | | | | | | | | | This reverts commit d997e482705d9fdff8e25fcbe07fb56008f96ae1. A problem was found with pre 4.2 linux kernels where a spurious WARNING would be emitted. This change doesn't matter enough to scare users so we can just revert it. Warning was: [ 0.947741] irq: irq-62==>hwirq-0x3e mapping failed: -22 [ 0.947793] ------------[ cut here ]------------ [ 0.947838] WARNING: at kernel/irq/irqdomain.c:485 Reported-by: Pridhiviraj Paidipeddi <ppaidipe@in.ibm.com> Acked-By: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* core/ipmi: Set interrupt-parent propertySam Mendoza-Jonas2016-09-221-1/+5
| | | | | | | | | This allows ipmi-opal to properly use the OPAL irqchip rather than falling back to the event interface in Linux. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com> Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Move ipmi-opal.c from hw/ipmi to coreVasant Hegde2016-03-311-0/+141
ipmi-opal.c contain OPAL API related functions. Commit a561cf7b added IPMI support for FSP based system. Now FSP and AMI BMC based system makes use of these functions. Hence move this file from hw specific dir to core dir. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Acked-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud