[lkml]   [2019]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 8/8] RISC-V: Assign hwcap only according to current cpu.
On Tue, Jan 08, 2019 at 01:38:38AM -0800, Atish Patra wrote:
> Currently, we set hwcap based on first valid cpu from
> DT. This may not be correct always as that CPU might not
> be current booting cpu.
> Set hwcap based on the current cpu instead of first
> valid CPU from DT.

This is generally the right thing to do. But can the kernel even cope
with different hwcaps per hart? I know arm land and I think x86 as well
don't, so we might want to add a sanity check that they match or reduce
them to the common subset.

 \ /
  Last update: 2019-01-15 14:56    [W:0.261 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site