[PATCH 0/2] arm64/mm: A fix and a documentation bit for change_memory_common()

Dev Jain posted 2 patches 2 months, 3 weeks ago
arch/arm64/mm/pageattr.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
[PATCH 0/2] arm64/mm: A fix and a documentation bit for change_memory_common()
Posted by Dev Jain 2 months, 3 weeks ago
The first patch is a fix to prevent suppression of error encountered during
linear map alias permission change. This is needed because the rodata=on
security measure requires us to proceed only if we first do the linear map
alias protection change.

The second patch documents why linear map split failure during the vfreeing
path isn't problematic.

Dev Jain (2):
  arm64/pageattr: Propagate return value from __change_memory_common
  arm64/mm: Document why linear map split failure upon vm_reset_perms is
    not problematic

 arch/arm64/mm/pageattr.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

-- 
2.30.2
Re: [PATCH 0/2] arm64/mm: A fix and a documentation bit for change_memory_common()
Posted by Catalin Marinas 2 months, 1 week ago
On Wed, 12 Nov 2025 11:57:14 +0530, Dev Jain wrote:
> The first patch is a fix to prevent suppression of error encountered during
> linear map alias permission change. This is needed because the rodata=on
> security measure requires us to proceed only if we first do the linear map
> alias protection change.
> 
> The second patch documents why linear map split failure during the vfreeing
> path isn't problematic.
> 
> [...]

Applied to arm64 (for-next/set_memory), thanks!

[1/2] arm64/pageattr: Propagate return value from __change_memory_common
      https://git.kernel.org/arm64/c/e5efd56fa157
[2/2] arm64/mm: Document why linear map split failure upon vm_reset_perms is not problematic
      https://git.kernel.org/arm64/c/0c2988aaa4d3

-- 
Catalin