lkml.org 
[lkml]   [2020]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3 02/14] arm64: Allow mismatched 32-bit EL0 support
Date

On 13/11/20 09:37, Will Deacon wrote:
> +const struct cpumask *system_32bit_el0_cpumask(void)
> +{
> + if (!system_supports_32bit_el0())
> + return cpu_none_mask;
> +
> + if (static_branch_unlikely(&arm64_mismatched_32bit_el0))
> + return cpu_32bit_el0_mask;
> +
> + return cpu_present_mask;
> +}

Nit: this is used in patch 13 to implement arch_cpu_allowed_mask(). Since
that latter defaults to cpu_possible_mask, this probably should too.

\
 
 \ /
  Last update: 2020-11-19 12:29    [W:0.213 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site