All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Hounschell <markh-n2QNKt385d+sTnJN9+BGXg@public.gmane.org>
To: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: Kernel Oops: iommu related?
Date: Thu, 12 Feb 2015 13:25:40 -0500	[thread overview]
Message-ID: <54DCF024.30309@compro.net> (raw)
In-Reply-To: <20150212180846.GD29106-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>

On 02/12/2015 01:08 PM, Joerg Roedel wrote:
> On Thu, Feb 12, 2015 at 12:53:42PM -0500, Mark Hounschell wrote:
>> This happens immediately after unloading one of our out of kernel GPL drivers.
>> The driver has done NOTHING other than load at bootup.  I'm running a 3.18.7
>> kernel (x86_64) on an AMD platform. I can't see anything obviously wrong in our
>> driver. It works fine when the iommu is disabled. This particular machine has 7 of
>> our cards in it. Four in one expansion rack and 3 in another. The 2 PCI expansion
>> racks use pci-e interface cards installed in the MB.
>>
>> Feb 12 10:47:15 harley kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=0f:00.0 domain=0x0000 address=0x00000000000ae640 flags=0x0070]
>> Feb 12 10:47:15 harley kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=0f:00.0 domain=0x0000 address=0x00000000000ae660 flags=0x0070]
>> Feb 12 10:47:15 harley kernel: AMD-Vi: Event logged [IO_PAGE_FAULT device=0f:00.0 domain=0x0000 address=0x00000000000ae670 flags=0x0070]
>> Feb 12 10:47:27 harley kernel: ------------[ cut here ]------------
>> Feb 12 10:47:27 harley kernel: WARNING: CPU: 3 PID: 0 at drivers/iommu/amd_iommu.c:2637 dma_ops_domain_unmap.part.13+0x65/0x70()
>
> This warning indicates that some driver is unmapping a dma range that
> was not mapped previously (meaning that a pte in the io-page-tables is
> zeroed out).
> The reason for this (and the IO_PAGE_FAULTs) you see are almost
> certainly because some driver does not use the DMA-API correctly.
>
>

I wonder what driver that could be. It certainly isn't the one that I 
just unloaded
as it for sure has not done anything dma realated. I'm pretty sure I 
uninstalled all
our other drivers but will go back and verify.

Thanks
Mark

  parent reply	other threads:[~2015-02-12 18:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-12 17:53 Kernel Oops: iommu related? Mark Hounschell
     [not found] ` <54DCE8A6.4000608-n2QNKt385d+sTnJN9+BGXg@public.gmane.org>
2015-02-12 18:08   ` Joerg Roedel
     [not found]     ` <20150212180846.GD29106-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-02-12 18:25       ` Mark Hounschell [this message]
     [not found]         ` <54DCF024.30309-n2QNKt385d+sTnJN9+BGXg@public.gmane.org>
2015-02-12 19:37           ` Mark Hounschell
     [not found]             ` <54DD00FE.2050009-n2QNKt385d+sTnJN9+BGXg@public.gmane.org>
2015-02-12 19:59               ` Mark Hounschell
2015-02-12 21:08               ` Joerg Roedel
2015-02-12 21:13               ` Joerg Roedel
     [not found]                 ` <20150212211340.GF29106-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-02-13 14:19                   ` Mark Hounschell
     [not found]                     ` <54DE07DA.9050703-n2QNKt385d+sTnJN9+BGXg@public.gmane.org>
2015-02-13 22:27                       ` Joerg Roedel

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=54DCF024.30309@compro.net \
    --to=markh-n2qnkt385d+stnjn9+bgxg@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.