diff options
| author | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-07-23 09:13:12 -0700 | 
| commit | c74a7469f97c0f40b46e82ee979f9fb1bb6e847c (patch) | |
| tree | f2690a1a916b73ef94657fbf0e0141ae57701825 /arch/arm64/kernel/cpufeature.c | |
| parent | 6f15a7de86c8cf2dc09fc9e6d07047efa40ef809 (diff) | |
| parent | 500775074f88d9cf5416bed2ca19592812d62c41 (diff) | |
Merge drm/drm-next into drm-intel-next-queued
We need a backmerge to get DP_DPCD_REV_14 before we push other
i915 changes to dinq that could break compilation.
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'arch/arm64/kernel/cpufeature.c')
| -rw-r--r-- | arch/arm64/kernel/cpufeature.c | 12 | 
1 files changed, 4 insertions, 8 deletions
| diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 9d1b06d67c53..f24892a40d2c 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -937,7 +937,7 @@ static int __init parse_kpti(char *str)  	__kpti_forced = enabled ? 1 : -1;  	return 0;  } -__setup("kpti=", parse_kpti); +early_param("kpti", parse_kpti);  #endif	/* CONFIG_UNMAP_KERNEL_AT_EL0 */  #ifdef CONFIG_ARM64_HW_AFDBM @@ -1606,7 +1606,6 @@ static void __init setup_system_capabilities(void)  void __init setup_cpu_features(void)  {  	u32 cwg; -	int cls;  	setup_system_capabilities();  	mark_const_caps_ready(); @@ -1619,6 +1618,7 @@ void __init setup_cpu_features(void)  		pr_info("emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching\n");  	sve_setup(); +	minsigstksz_setup();  	/* Advertise that we have computed the system capabilities */  	set_sys_caps_initialised(); @@ -1627,13 +1627,9 @@ void __init setup_cpu_features(void)  	 * Check for sane CTR_EL0.CWG value.  	 */  	cwg = cache_type_cwg(); -	cls = cache_line_size();  	if (!cwg) -		pr_warn("No Cache Writeback Granule information, assuming cache line size %d\n", -			cls); -	if (L1_CACHE_BYTES < cls) -		pr_warn("L1_CACHE_BYTES smaller than the Cache Writeback Granule (%d < %d)\n", -			L1_CACHE_BYTES, cls); +		pr_warn("No Cache Writeback Granule information, assuming %d\n", +			ARCH_DMA_MINALIGN);  }  static bool __maybe_unused |