[PATCH] arm64: mm: Add additional parameter to uaccess_ttbr0_disable

Marc Zyngier marc.zyngier at arm.com
Wed Jan 17 04:57:32 PST 2018


On 17/01/18 11:38, Christoffer Dall wrote:
> Add an extra temporary register parameter to uaccess_ttbr0_disable which
> is about to be required for arm64 PAN support.
> 
> This patch doesn't introduce any functional change but ensures that the
> kernel compiles once the KVM/ARM tree is merged with the arm64 tree by
> ensuring a trivially mergable conflict with commit
> 6b88a32c7af68895134872cdec3b6bfdb532d94e
> ("arm64: kpti: Fix the interaction between ASID switching and software PAN").
> 
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Marc Zyngier <marc.zyngier at arm.com>
> Signed-off-by: Christoffer Dall <christoffer.dall at linaro.org>
> ---
>  arch/arm64/include/asm/asm-uaccess.h | 8 ++++----
>  arch/arm64/lib/clear_user.S          | 2 +-
>  arch/arm64/lib/copy_from_user.S      | 2 +-
>  arch/arm64/lib/copy_in_user.S        | 2 +-
>  arch/arm64/lib/copy_to_user.S        | 2 +-
>  arch/arm64/mm/cache.S                | 4 ++--
>  arch/arm64/xen/hypercall.S           | 2 +-
>  7 files changed, 11 insertions(+), 11 deletions(-)

Acked-by: Marc Zyngier <marc.zyngier at arm.com>

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list