To support a common pmap_mapdev_attr change pmap_kenter to include the
size any memory type in the signature.
Sponsored by: Arm Ltd
Differential D50307
arm: Make the pmap_kenter signature like arm64 andrew on May 12 2025, 1:04 PM. Authored by Tags None Referenced Files
Details
To support a common pmap_mapdev_attr change pmap_kenter to include the Sponsored by: Arm Ltd
Diff Detail
Event TimelineComment Actions LGTM with one tweak.
Comment Actions Split out the mapping part of pmap_kenter to:
Comment Actions Very briefly, I think this clashes with devmap_add_entry(), which is used on armv7 to reduce the TLB load. The pmap_mapdev_attr() function does not respect the required attributes for pages previously mapped by devmap_add_entry(). Imho, we don't have a method for changing page attributes on multiple mapped pages in an architecturally correct way. (And I'm afraid this is true for arm64 , for pages mapped by DMAP and also in some other way). |