Linux IOMMU Development
 help / color / mirror / Atom feed
From: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
To: AceLan Kao <acelan.kao-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org>
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: Any side effect if turn off amd_iommu
Date: Mon, 30 Mar 2015 18:09:10 +0200	[thread overview]
Message-ID: <20150330160910.GZ4441@8bytes.org> (raw)
In-Reply-To: <CAFv23QnUO+w0EXUx8DtgPx0W=fz37_R04EW6P-g+PF_y_U1dfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Hi AceLan,

On Fri, Mar 27, 2015 at 08:48:22AM +0800, AceLan Kao wrote:
> Very thanks for your time.
> This is the log booting with kernel 4.0rc5 without fglrx loaded.

Thanks, it scheds some light on the issue. See below.

> [    0.080177] AMD-Vi: device: 00:00.2 cap: 0040 seg: 0 flags: b8 info 0000
> [    0.080181] AMD-Vi:        mmio-addr: 00000000feb80000
> [    0.080198] AMD-Vi:   DEV_SELECT_RANGE_START	 devid: 00:01.0 flags: 00
> [    0.080200] AMD-Vi:   DEV_RANGE_END		 devid: ff:1f.6
> [    0.081192] AMD-Vi:   DEV_ALIAS_RANGE		 devid: 05:00.0 flags: 00 devid_to: 00:14.4
> [    0.081194] AMD-Vi:   DEV_RANGE_END		 devid: 05:1f.7
> [    0.081204] AMD-Vi:   DEV_SPECIAL(HPET[0])		devid: 00:14.0
> [    0.081207] AMD-Vi:   DEV_SPECIAL(IOAPIC[4])		devid: 00:14.0
> [    0.081208] AMD-Vi:   DEV_SPECIAL(IOAPIC[5])		devid: 00:00.0

This is dump of the IVRS table contents. It tells us that IOAPIC with ID
5 uses PCI request-id 00:00.0. But this information is wrong, it uses
request-id 00:00.1, as seen below:

> [   23.515063] AMD-Vi: Event logged [INVALID_DEVICE_REQUEST device=00:00.1 address=0x000000fdf80c0020 flags=0x0a00]

This message comes from an interrupt request sent by the IOAPIC, and it
uses a different request-id. Can you try to update the BIOS on that
machine and test if it fixes the issue?


	Joerg

  parent reply	other threads:[~2015-03-30 16:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-25  3:30 Any side effect if turn off amd_iommu AceLan Kao
     [not found] ` <CAFv23QmxQ3vJnMEGN0TNR3vLAx1MN7ptB0y3QQLKciqfT3OBsQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-25 14:04   ` Joerg Roedel
     [not found]     ` <20150325140410.GS4441-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-03-26  2:26       ` AceLan Kao
     [not found]         ` <CAFv23Qn93z4pE6RtURgoiBADpgCWZ6gfpMPn3akfJibudRi+Qg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-26 12:05           ` Joerg Roedel
     [not found]             ` <20150326120547.GU4441-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-03-27  0:48               ` AceLan Kao
     [not found]                 ` <CAFv23QnUO+w0EXUx8DtgPx0W=fz37_R04EW6P-g+PF_y_U1dfA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-03-30 16:09                   ` Joerg Roedel [this message]
     [not found]                     ` <20150330160910.GZ4441-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-03-31  0:30                       ` AceLan Kao
     [not found]                         ` <CAFv23QmOjFb9NgLY0aW55OpQSecFA83jNOU1TY7o3qWuft1_Cw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-04-23  2:15                           ` AceLan Kao
     [not found]                             ` <CAFv23Q==+tXTif9uQfyTHE28hxGt80WYS=A6qN7q0Q4q7re6kw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-04  2:27                               ` AceLan Kao
2015-05-04 11:08                               ` Joerg Roedel
     [not found]                                 ` <20150504110802.GE15736-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-05-05  7:30                                   ` AceLan Kao
     [not found]                                     ` <CAFv23QkRouVJ6siu==-EjLndP2Z7inz+qVeKxLci3=R=9r8+zQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-05 15:13                                       ` Joerg Roedel
     [not found]                                         ` <20150505151319.GO15736-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2015-05-13  7:37                                           ` AceLan Kao
     [not found]                                             ` <CAFv23Q=iU7X1EOcZDUh6NhcnuvyyNSKUGEot6ZhCg8uZ7kRNAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-05-13 13:44                                               ` 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=20150330160910.GZ4441@8bytes.org \
    --to=joro-zlv9swrftaidnm+yrofe0a@public.gmane.org \
    --cc=acelan.kao-Z7WLFzj8eWMS+FvcfC7Uqw@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox