aboutsummaryrefslogtreecommitdiff
path: root/include/centaur.h
AgeCommit message (Collapse)AuthorFilesLines
2016-09-13centaur: Mark centaur offline after 10 consecutive access errorsBenjamin Herrenschmidt1-0/+2
This avoids spamming the logs when the centaur is dead and PRD constantly tries to access it Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-07-06centaur: Improve FSI SCOM error handlingBenjamin Herrenschmidt1-0/+1
Based on HostBoot, recovers from bad XSCOM addresses Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-07-06p8-i2c: Add support for Centaur i2cBenjamin Herrenschmidt1-0/+3
The Centaur i2c differs from the main P8 one two ways: - It doesn't have interrupts, we need to always use polling - There is a sensor cache for use by the OCC that regularly generates i2c transactions in HW on that bus. It needs to be disabled before we can perform i2c accesses and re-enabled later. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-07-06centaur: Add API to enable/disable the sensor cacheBenjamin Herrenschmidt1-0/+4
The i2c driver will need to use them to avoid conflicts between i2c accesses initiated by the host and by the sensor cache. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2015-07-06centaur: Expose centaur_chip and get_centaur()Benjamin Herrenschmidt1-0/+17
They will be used by the i2c driver Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2014-11-27Liberally sprinkle attribute((warn_unused_result)) around the placeStewart Smith1-2/+2
None of these actually produce any warnings. My next patch will. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
2014-07-02Initial commit of Open Source releaseBenjamin Herrenschmidt1-0/+24
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>