]> git.baikalelectronics.ru Git - kernel.git/commit
arm64/fpsimdmacros: Introduce a macro to update ZCR_EL1.LEN
authorJulien Grall <julien.grall@arm.com>
Fri, 28 Aug 2020 18:11:51 +0000 (19:11 +0100)
committerWill Deacon <will@kernel.org>
Mon, 21 Sep 2020 17:06:32 +0000 (18:06 +0100)
commitb7710c582663562c3cee8989484bac008cde9f6e
treeb76acafc7cc07225c9cb0740133492dd81b44457
parente13bb839712fadc36199ab8f67043a2ec268cc2b
arm64/fpsimdmacros: Introduce a macro to update ZCR_EL1.LEN

A follow-up patch will need to update ZCR_EL1.LEN.

Add a macro that could be re-used in the current and new places to
avoid code duplication.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Dave Martin <Dave.Martin@arm.com>
Link: https://lore.kernel.org/r/20200828181155.17745-5-broonie@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/fpsimdmacros.h