diff options
| author | Oliver O'Halloran <[email protected]> | 2020-07-22 16:57:08 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2020-07-26 23:34:22 +1000 |
| commit | a610d35cc8780e781321ea8d002d5fef8484bf59 (patch) | |
| tree | 1c67da0939ca3191c0e96e2f0c9352c3354a9d6a /tools/perf/scripts/python | |
| parent | ad9add529d99d195195c27abf99e42d4965d35e2 (diff) | |
powerpc/powernv/sriov: Factor out M64 BAR setup
The sequence required to use the single PE BAR mode is kinda janky and
requires a little explanation. The API was designed with P7-IOC style
windows where the setup process is something like:
1. Configure the window start / end address
2. Enable the window
3. Map the segments of each window to the PE
For Single PE BARs the process is:
1. Set the PE for segment zero on a disabled window
2. Set the range
3. Enable the window
Move the OPAL calls into their own helper functions where the quirks can be
contained.
Signed-off-by: Oliver O'Halloran <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions