diff options
author | Gaurav Batra <[email protected]> | 2023-05-25 09:34:54 -0500 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-05-30 16:33:10 +1000 |
commit | 9d2ccf00bddc268045e3d65a8108d61ada0e4b4e (patch) | |
tree | c5910fc79f5efb0cc11c2a285f34dc4d1092cc95 /tools/testing/selftests/bpf/prog_tests | |
parent | 81d358b118dc364bd147432db569d4d400a5a4f2 (diff) |
powerpc/iommu: Limit number of TCEs to 512 for H_STUFF_TCE hcall
Currently in tce_freemulti_pSeriesLP() there is no limit on how many
TCEs are passed to the H_STUFF_TCE hcall. This has not caused an issue
until now, but newer firmware releases have started enforcing a limit of
512 TCEs per call.
The limit is correct per the specification (PAPR v2.12 ยง 14.5.4.2.3).
The code has been in it's current form since it was initially merged.
Cc: [email protected]
Signed-off-by: Gaurav Batra <[email protected]>
Reviewed-by: Brian King <[email protected]>
[mpe: Tweak change log wording & add PAPR reference]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions