arm64: enable tlbi range instructions
authorZhenyu Ye <yezhenyu2@huawei.com>
Wed, 15 Jul 2020 07:19:44 +0000 (15:19 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 15 Jul 2020 15:01:01 +0000 (16:01 +0100)
commit7c78f67e9bd97478d56157c2ad53823668b5b822
treee846da84e4dbda4de151f72a9a3fc1f6c3723259
parentb620ba54547cd0f98e35c1be102eec2cc25fda5d
arm64: enable tlbi range instructions

TLBI RANGE feature instoduces new assembly instructions and only
support by binutils >= 2.30.  Add necessary Kconfig logic to allow
this to be enabled and pass '-march=armv8.4-a' to KBUILD_CFLAGS.

Signed-off-by: Zhenyu Ye <yezhenyu2@huawei.com>
Link: https://lore.kernel.org/r/20200715071945.897-3-yezhenyu2@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/Makefile