commit | 616badd2fb499320d3ac3b54462f55dededd0e0f | [log] [tgz] |
---|---|---|
author | Alistair Popple <alistair@popple.id.au> | Tue Jan 10 15:41:44 2017 +1100 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Mon Jan 30 20:34:53 2017 +1100 |
tree | 9bf17ff7ec554e7f5ae825ec9ba04fd177add268 | |
parent | 1d0761d2557d1540727723e4f05395d53321d555 [diff] |
powerpc/powernv: Use OPAL call for TCE kill on NVLink2 Add detection of NPU2 PHBs. NPU2/NVLink2 has a different register layout for the TCE kill register therefore TCE invalidation should be done via the OPAL call rather than using the register directly as it is for PHB3 and NVLink1. This changes TCE invalidation to use the OPAL call in the case of a NPU2 PHB model. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>