summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-pci-wrap.c
diff options
context:
space:
mode:
authorYang Shi <yang@os.amperecomputing.com>2025-10-23 13:44:28 -0700
committerCatalin Marinas <catalin.marinas@arm.com>2025-11-13 18:07:21 +0000
commit37cb0aab9068e8d7907822405fe5545a2cd7af0b (patch)
treecbde7b5dca5383f9ab5ca141f3b3d803836329a3 /drivers/usb/cdns3/cdns3-pci-wrap.c
parentc320dbb7c80d93a762c01b4a652d9292629869e7 (diff)
arm64: mm: make linear mapping permission update more robust for patial range
The commit fcf8dda8cc48 ("arm64: pageattr: Explicitly bail out when changing permissions for vmalloc_huge mappings") made permission update for partial range more robust. But the linear mapping permission update still assumes update the whole range by iterating from the first page all the way to the last page of the area. Make it more robust by updating the linear mapping permission from the page mapped by start address, and update the number of numpages. Reviewed-by: Ryan Roberts <ryan.roberts@arm.com> Reviewed-by: Dev Jain <dev.jain@arm.com> Signed-off-by: Yang Shi <yang@os.amperecomputing.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-pci-wrap.c')
0 files changed, 0 insertions, 0 deletions