iommu/amd: Fix domain flush size when syncing iotlb
Domain flush takes gather bounds (end-start) as size param. This is off
by 1 as the end address is defined as the last inclusive address (start
+ size - 1).
Google-Bug-Id: 261230717
SOURCE=TPU
BUG=b/275360853
TEST=presubmit
RELEASE_NOTE=None
cos-patch: bug
Change-Id: Idf4fd2769517e3ea0814629c606c54de8c735f65
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/45749
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Vaibhav Rustagi <vaibhavrustagi@google.com>
1 file changed