summaryrefslogtreecommitdiffstats
path: root/hw/p5ioc2-phb.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused p5ioc2_set_sm_timeout from p5ioc2-phb.cStewart Smith2015-06-111-13/+0
| | | | Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* change direct use of LSH to SETFIELDDan Streetman2015-02-191-2/+3
| | | | | | | | | | | | In several places, a "bus/device/function" u16 was being directly or'ed into an address using a left-shift. This should be using SETFIELD, especially now that all _LSH have been removed. Change use of BDFN (bus/device/function) field from using plain left-shift to using SETFIELD(). Add proper BDFN field definitions. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* update users of GET/SETFIELD()Dan Streetman2015-02-191-1/+1
| | | | | | | | | | | | | | | | | The last two patches updated GETFIELD() and SETFIELD() to no longer require the user to specify the mask and shift of a field, and to remove all _LSH defines and rename any _MASK defines. There are some places where the masks were used directly, where the caller needs to have the _MASK suffix removed. There are also two users of SETFIELD() where the field name still has the _MASK suffix because there is an existing macro with the base name. Change users of SETFIELD() to include the _MASK suffix where needed. Change direct users of any mask to remove the _MASK suffix. Signed-off-by: Dan Streetman <ddstreet@ieee.org> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
* Use small macros for PHB debug/log messagesStewart Smith2014-08-081-19/+4
| | | | | | | Save stack space, remove code and improve logging all in one handy patch. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
* Initial commit of Open Source releaseBenjamin Herrenschmidt2014-07-021-0/+1233
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
OpenPOWER on IntegriCloud