lkml.org 
[lkml]   [2008]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: default IRQ affinity change in v2.6.27 (breaking several SMP PPC based systems)
Kumar Gala wrote:
> It appears the default IRQ affinity changes from being just cpu 0 to all
> cpu's. This breaks several PPC SMP systems in which only a single
> processor is allowed to be selected as the destination of the IRQ.
>
> What is the right answer in fixing this? Should we:
>
> cpumask_t irq_default_affinity = 1;
>
> instead of
>
> cpumask_t irq_default_affinity = CPU_MASK_ALL?

On those systems, perhaps, but not universally. There's plenty of hardware
where the physical topology of the machine is abstracted away from the OS, and
you need to leave the mask wide open and let the APIC figure out where to map
the IRQs. Ideally, we should probably make this decision based on the APIC, but
if there's no PPC hardware that uses this technique, then it would suffice to
make this arch-specific.

-- Chris


\
 
 \ /
  Last update: 2008-10-24 17:19    [W:0.049 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site