[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87h7wqjrsk.fsf@nanos.tec.linutronix.de>
Date: Fri, 08 May 2020 18:49:15 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: "Raj\, Ashok" <ashok.raj@...el.com>
Cc: "Raj\, Ashok" <ashok.raj@...ux.intel.com>,
Evan Green <evgreen@...omium.org>,
Mathias Nyman <mathias.nyman@...ux.intel.com>, x86@...nel.org,
linux-pci <linux-pci@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Bjorn Helgaas <bhelgaas@...gle.com>,
"Ghorai\, Sukumar" <sukumar.ghorai@...el.com>,
"Amara\, Madhusudanarao" <madhusudanarao.amara@...el.com>,
"Nandamuri\, Srikanth" <srikanth.nandamuri@...el.com>,
Ashok Raj <ashok.raj@...el.com>
Subject: Re: MSI interrupt for xhci still lost on 5.6-rc6 after cpu hotplug
Ashok,
"Raj, Ashok" <ashok.raj@...el.com> writes:
> On Fri, May 08, 2020 at 01:04:29PM +0200, Thomas Gleixner wrote:
>> TBH, I can't see anything what's wrong here from the kernel side and as
>> this is new silicon and you're the only ones reporting this it seems
>> that this is something which is specific to that particular
>> hardware. Have you talked to the hardware people about this?
>>
>
> After chasing it, I'm also trending to think that way. We had a question
> about the moderation timer and how its affecting this behavior.
> Mathias tried to turn off the moderation timer, and we are still able to
> see this hang. We are reaching out to the HW folks to get a handle on this.
>
> With legacy MSI we can have these races and kernel is trying to do the
> song and dance, but we see this happening even when IR is turned on.
> Which is perplexing. I think when we have IR, once we do the change vector
> and flush the interrupt entry cache, if there was an outstandng one in
> flight it should be in IRR. Possibly should be clearned up by the
> send_cleanup_vector() i suppose.
Ouch. With IR this really should never happen and yes the old vector
will catch one which was raised just before the migration disabled the
IR entry. During the change nothing can go wrong because the entry is
disabled and only reenabled after it's flushed which will send a pending
one to the new vector.
But if you see the issue with IR as well, then there is something wrong
with the local APICs in that CPU.
Thanks,
tglx
Powered by blists - more mailing lists