From: Suravee Suthikulanit <suravee.suthikulpanit@amd.com>
To: Don Dutile <ddutile@redhat.com>
Cc: "Duran, Leo" <leo.duran@amd.com>,
"iommu@lists.linux-foundation.org"
<iommu@lists.linux-foundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: RFC: IOMMU/AMD: Error Handling
Date: Tue, 30 Apr 2013 09:56:22 -0500 [thread overview]
Message-ID: <517FDB96.7060602@amd.com> (raw)
In-Reply-To: <517EE940.8010005@redhat.com>
On 4/29/2013 4:42 PM, Don Dutile wrote:
> On 04/29/2013 04:34 PM, Duran, Leo wrote:
>> I'm wondering if resetting the IOMMU at init-time (once) would clear
>> any BIOS induced noise.
>> Leo
>>
> Well, depends what you mean by 'reset'....
> (a) setting it up for OS use is effectively a reset, but doesn't
> quiesce a device
> doing dma reads of a (bios-setup) queue. then the noisy messages
> begin
> (b) disable the iommu, and then the dma just occurs... and bad for
> writes, potentially.
>
> Similar issue is being reported & worked for kdump, where device are
> still
> doing DMA while the system is trying to 'reset' to the kexec'd kernel,
> and
> take a crash dump.
>
> Solution: stop devices from doing dma... but some you _want_ enabled
> throughout...
> like keyboard & mouse via usb controller, so you get to pick
> os from
> grub... not so for kexec...
>
> so, again, for isolation faults.... let the hw do its job -- isolate
> and throttle/silence the fault messages on a per-device, time-duration
> heuristic
> so the system can get through boot-up where enough OS is init'd
> (drivers started)
> to stop the temporary noise.
This sounds more like issue with the order of how things are initialized
in the system.
If so, could we separate the code which enabling of IOMMU error
logging/handling and
delay it until we are certain that systems are stable?
Suravee
next prev parent reply other threads:[~2013-04-30 14:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-29 19:45 Suravee Suthikulanit
2013-04-29 20:10 ` Don Dutile
2013-04-29 20:34 ` Duran, Leo
2013-04-29 21:42 ` Don Dutile
2013-04-29 22:31 ` Duran, Leo
2013-04-30 14:56 ` Suravee Suthikulanit [this message]
2013-04-30 15:09 ` Don Dutile
2013-04-30 15:21 ` Joerg Roedel
2013-04-30 14:49 ` Suravee Suthikulanit
2013-04-30 15:06 ` Don Dutile
2013-04-30 16:02 ` Alex Williamson
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=517FDB96.7060602@amd.com \
--to=suravee.suthikulpanit@amd.com \
--cc=ddutile@redhat.com \
--cc=iommu@lists.linux-foundation.org \
--cc=leo.duran@amd.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®