Revert "swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single"
This reverts commit 85a5a6875c.
Fixes the ABI issues in 5.10.35 that at the moment, we can't handle due
to the KABI freeze. These are not patches that mean much for android
systems, and will be reverted the next KABI "reset" point.
Bug: 161946584
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ibe7639f73acc11b356f6b2f8f76011844c7f451b
This commit is contained in:
parent
b4ae4430ab
commit
2201384121
1 changed files with 1 additions and 0 deletions
|
|
@ -644,6 +644,7 @@ 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