summaryrefslogtreecommitdiffstats
path: root/p8-fsi.dts.m4
Commit message (Collapse)AuthorAgeFilesLines
* p8-fsi-dts: Fix mistake in m4 fileRashmica Gupta2018-06-151-1/+1
| | | | | | Fixes:fadb7906 (p8: Add support for second processor on Firestone) Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
* dts: Fix more warnings from dtcAmitay Isaacs2018-06-041-1/+3
| | | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Alistair Popple <alistair@popple.id.au>
* dt: Add missing #address-cells, #size-cells and reg propertiesAmitay Isaacs2018-05-241-0/+2
| | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* p8: Add support for second processor on FirestoneAlistair Popple2018-05-231-0/+16
| | | | | | | | | | The second processor module on Firestone is connected to a different HMFSI port than Garrison. In theory we should/could probe every HMFSI port but for simplicitly we really only need to probe the ones that we know to actually be in use on various systems so just add the port used by Firestone. Signed-off-by: Alistair Popple <alistair@popple.id.au>
* libpdbg: Lazy probingCyril Bur2018-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When libpdbg runs though the device tree and calls probe() on all the targets it marks any node (and all its children) which fails to probe as "disabled". When pdbg recieves arguments to specifiy a pib, core or thread (-p -c -t) it runs though the device tree and marks nodes which do not match the specified -p -c or -t as "disabled". These two scenarios are related - that is we don't want to be operating on any disabled nodes. However, they are not the same. Consider HTM wanting to know if the machine has powersave disabled. A simple way would be to loop through all the threads and if any of them are not in "active" state then powersave must be enabled. In this scenario HTM want to be able to get the status of every thread on the machine regardless of -p -c -t flags but if the machine isn't fully speced out and has cores which didn't probe, HTM wants to know to ignore those threads. This patch introduces a "nonexistant" pdbg target status which is set during libpdbg probe() time. Later pdbg can mark nodes to targets that do 'exist' but it would like to avoid as "disabled". Attempting to solve the above problem with only a "nonexistant" flag would also require everything to be probed before selecting out chips and threads that the user is not interested in. This would be highly inefficient. This patch probes the system lazily. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
* libpdbg/cfam.c: Enable hmfsi portsAlistair Popple2017-06-281-0/+1
| | | | | | | | Errors on the hmfsi port can cause them to be disabled. So rather than relying on the host to enable the corresponding FSI ports enable them during probing of the downstream FSI link. Signed-off-by: Alistair Popple <alistair@popple.id.au>
* Clean-up target configuration in preparation for adding P9 supportAlistair Popple2017-03-301-0/+49
The previous implementation of targeting was hardcoded, cumbersome and difficult to reconfigure for different chip types. This moves to a method of configuring targets using device-tree which is much easier to maintain and allows methods to be added to support operations like getmem on POWER9. Signed-off-by: Alistair Popple <alistair@popple.id.au>
OpenPOWER on IntegriCloud