forked from luck/tmp_suning_uos_patched
parent
3b74eab6cc
commit
788dc6a895
|
@ -1403,7 +1403,8 @@ config ARM64_PAN
|
|||
instruction if the cpu does not implement the feature.
|
||||
|
||||
config AS_HAS_LSE_ATOMICS
|
||||
def_bool $(as-instr,.arch_extension lse)
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARM64_LSE_ATOMICS
|
||||
bool
|
||||
|
@ -1550,18 +1551,20 @@ config ARM64_PTR_AUTH
|
|||
DYNAMIC_FTRACE_WITH_REGS is enabled.
|
||||
|
||||
config CC_HAS_BRANCH_PROT_PAC_RET
|
||||
# GCC 9 or later, clang 8 or later
|
||||
def_bool $(cc-option,-mbranch-protection=pac-ret+leaf)
|
||||
bool
|
||||
default n
|
||||
|
||||
config CC_HAS_SIGN_RETURN_ADDRESS
|
||||
# GCC 7, 8
|
||||
def_bool $(cc-option,-msign-return-address=all)
|
||||
bool
|
||||
default n
|
||||
|
||||
config AS_HAS_PAC
|
||||
def_bool $(cc-option,-Wa$(comma)-march=armv8.3-a)
|
||||
bool
|
||||
default n
|
||||
|
||||
config AS_HAS_CFI_NEGATE_RA_STATE
|
||||
def_bool $(as-instr,.cfi_startproc\n.cfi_negate_ra_state\n.cfi_endproc\n)
|
||||
bool
|
||||
default n
|
||||
|
||||
endmenu
|
||||
|
||||
|
@ -1647,8 +1650,8 @@ config ARM64_BTI_KERNEL
|
|||
modular code must have BTI enabled.
|
||||
|
||||
config CC_HAS_BRANCH_PROT_PAC_RET_BTI
|
||||
# GCC 9 or later, clang 8 or later
|
||||
def_bool $(cc-option,-mbranch-protection=pac-ret+leaf+bti)
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARM64_E0PD
|
||||
bool "Enable support for E0PD"
|
||||
|
@ -1676,7 +1679,8 @@ config ARM64_AS_HAS_MTE
|
|||
# as a late addition to the final architecture spec (LDGM/STGM)
|
||||
# is only supported in the newer 2.32.x and 2.33 binutils
|
||||
# versions, hence the extra "stgm" instruction check below.
|
||||
def_bool $(as-instr,.arch armv8.5-a+memtag\nstgm xzr$(comma)[x0])
|
||||
bool
|
||||
default n
|
||||
|
||||
config ARM64_MTE
|
||||
bool "Memory Tagging Extension support"
|
||||
|
|
Loading…
Reference in New Issue
Block a user