lkml.org 
[lkml]   [2017]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PCI MSI: allow alignment restrictions on vector allocation
On Mon, 2 Oct 2017, Thomas Gleixner wrote:
> On Mon, 2 Oct 2017, Thomas Gleixner wrote:
> > On Mon, 2 Oct 2017, Daniel Drake wrote:
> > 2) The affinity setting of straight MSI interrupts (w/o remapping) on x86
> > requires to make the affinity change from the interrupt context of the
> > current active vector in order not to lose interrupts or worst case
> > getting into a stale state.
> >
> > That works for single vectors, but trying to move all vectors in one
> > go is more or less impossible, as there is no reliable way to
> > determine that none of the other vectors is on flight.
> >
> > There might be some 'workarounds' for that, but I rather avoid that
> > unless we get an official documented one from Intel/AMD.
>
> Thinking more about it. That might be actually a non issue for MSI, but we
> have that modus operandi in the current code and we need to address that
> first before even thinking about multi MSI support.

But even if its possible, it's very debatable whether it's worth the effort
when this driver just can use the legacy INTx.and be done with it.

Thanks,

tglx

\
 
 \ /
  Last update: 2017-10-03 23:08    [W:1.362 / U:0.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site