Revert "Revert "swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single""
This reverts commit 2201384121.
Bring back the commit in 5.10.35 that broke the kabi.
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I14d47f0fc68b35b08323b26eb045b5cdda845cf0
This commit is contained in:
parent
9bd37c7924
commit
a4094253bf
1 changed files with 0 additions and 1 deletions
|
|
@ -644,7 +644,6 @@ void swiotlb_tbl_sync_single(struct device *hwdev, phys_addr_t tlb_addr,
|
|||
|
||||
if (orig_addr == INVALID_PHYS_ADDR)
|
||||
return;
|
||||
orig_addr += (unsigned long)tlb_addr & (IO_TLB_SIZE - 1);
|
||||
|
||||
switch (target) {
|
||||
case SYNC_FOR_CPU:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue