lkml.org 
[lkml]   [2016]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC] ARCv2: MCIP: Deprecate setting of affinity in Device Tree
From
Date
Hi Vineet,

On 08/11/16 20:57, Vineet Gupta wrote:
> +CC MarcZ
>
> Hi Marc,
>
> I have a question below
>

[...]

> So as discussed in a prior thread, we no longer support setting the default
> affinity via DT (so removed from xlate function). However we are now using the
> domain map function to set "seed" affinity based on cpu_online_mask(). Will that
> be the wrong place again to do this too.
> Also as Yuriy notes above, it is not guaranteed that all cpus will be online when
> the map function is called. So then better to set to boot cpu only : wondering
> what approach you guys take for ARM ?

For global interrupts (that can target any CPU), we make them affine to
the boot CPU, and let userspace move them around if required. Note that
we do not support round-robin on any of our recent interrupt
controllers, but maybe that's an acceptable configuration for you.

Thanks,

M.
--
Jazz is not dead. It just smells funny...

\
 
 \ /
  Last update: 2016-11-09 10:36    [W:0.966 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site