From: Sinan Kaya <okaya@codeaurora.org>
To: Bjorn Helgaas <helgaas@kernel.org>
Cc: Lorenzo Pieralisi <Lorenzo.Pieralisi@arm.com>,
Vikram Sethi <vikrams@codeaurora.org>,
Linux PCI <linux-pci@vger.kernel.org>,
Joerg Roedel <joro@8bytes.org>, Will Deacon <will.deacon@arm.com>,
iommu@lists.linux-foundation.org,
"shankerd@codeaurora.org" <shankerd@codeaurora.org>,
linux-arm Mailing List <linux-arm-kernel@lists.infradead.org>,
"Goel, Sameer" <sgoel@codeaurora.org>,
David Woodhouse <dwmw2@infradead.org>,
kexec@lists.infradead.org,
Nate Watterson <nwatters@codeaurora.org>
Subject: Re: RFC on Kdump and PCIe on ARM64
Date: Fri, 2 Mar 2018 09:20:54 -0500 [thread overview]
Message-ID: <feeab007-951d-7743-70e6-122486feddf7@codeaurora.org> (raw)
In-Reply-To: <20180302000303.GD74737@bhelgaas-glaptop.roam.corp.google.com>
On 3/1/2018 7:03 PM, Bjorn Helgaas wrote:
>> 3. The last one is adapter gets into fuzzy state due to not coming
>> out of clean state in the second time init and being rejected by
>> SMMUv3 multiple times.
>>
>> [ 16.093441] pci 0000:01:00.0: aer_status: 0x00040000, aer_mask: 0x00000000
>> [ 16.099356] pci 0000:01:00.0: Malformed TLP
>> [ 16.103522] pci 0000:01:00.0: aer_layer=Transaction Layer, aer_agent=Receiver ID
>> [ 16.110900] pci 0000:01:00.0: aer_uncor_severity: 0x00062011
>> [ 16.116543] pci 0000:01:00.0: TLP Header: 0a00a000 00008100 01010100 00000000
> I'm not clear on this. I don't remember what an IOMMU fault looks
> like to an Endpoint. Are you saying that if an Endpoint sees too many
> of those faults, it gets into this "fuzzy state" (whatever that is :))?
> Is this a hardware defect? Do we care (this is a kdump kernel, after
> all)? If we do care, can we fix the device by resetting it?
fuzzy=funky=funny=wierd
Regardless of what we do in the IOMMU driver, I think we still have to reset
the endpoint in order to have a clean initialization.
I'm not sure if all endpoint drivers can recover an adapter from a live state.
I wasn't expecting to see a Malformed TLP error. I was guessing that this was
caused by SMMU giving a CA or UR to the endpoint or having a live adapter
in the middle of driver initialization.
I think we do care about the adapter coming up properly otherwise how would
you collect the dumps from the system?
I was expecting to come through the network interface and download it from
the target.
That's why, I was suggesting FLR/PM reset etc. when we know that we are
booting a kdump kernel.
--
Sinan Kaya
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next prev parent reply other threads:[~2018-03-02 14:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-01 17:44 RFC on Kdump and PCIe on ARM64 Sinan Kaya
2018-03-01 19:05 ` Bjorn Helgaas
2018-03-01 19:19 ` Sinan Kaya
2018-03-02 0:03 ` Bjorn Helgaas
2018-03-02 10:30 ` Will Deacon
2018-03-02 14:12 ` Sinan Kaya
2018-03-02 18:02 ` Will Deacon
2018-03-02 18:37 ` Sinan Kaya
2018-03-02 14:20 ` Sinan Kaya [this message]
2018-03-02 1:44 ` Baoquan He
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=feeab007-951d-7743-70e6-122486feddf7@codeaurora.org \
--to=okaya@codeaurora.org \
--cc=Lorenzo.Pieralisi@arm.com \
--cc=dwmw2@infradead.org \
--cc=helgaas@kernel.org \
--cc=iommu@lists.linux-foundation.org \
--cc=joro@8bytes.org \
--cc=kexec@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-pci@vger.kernel.org \
--cc=nwatters@codeaurora.org \
--cc=sgoel@codeaurora.org \
--cc=shankerd@codeaurora.org \
--cc=vikrams@codeaurora.org \
--cc=will.deacon@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox