Linux IOMMU Development
 help / color / mirror / Atom feed
From: Yijing Wang <wangyijing-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
To: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
Cc: Sathya Perla
	<sathya.perla-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>,
	iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org,
	Subbu Seetharaman
	<subbu.seetharaman-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org>,
	David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
	Jiang Liu <jiang.liu-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
Subject: Re: [PATCH v2] iommu/vt-d: Fix broken device issue when using iommu=pt
Date: Tue, 26 Aug 2014 10:03:19 +0800	[thread overview]
Message-ID: <53FBEAE7.5060500@huawei.com> (raw)
In-Reply-To: <20140825091531.GG16329-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>

On 2014/8/25 17:15, Joerg Roedel wrote:
> [Adding the Emulex driver developers to Cc for some input on the device,
>  and why it might use wrong request ids]

Thanks!

> 
> On Mon, Aug 25, 2014 at 02:44:59PM +0800, Yijing Wang wrote:
>> We found some strange devices in HP C7000 and Huawei Storage Server. These
...
>> [ 1438.703851] DMAR:[fault reason 02] Present bit in context entry is clear
>>
>> This patch add a kernel boot command parameter iommu=pt_force=domain:busnum
>> that based iommu identity mapping and force to create identity for all devfn in
>> the specific bus number to fix this issue.
> 
> No! If the device really uses request-ids it shouldn't use please add a
> DMA alias quirk instead. A new kernel parameter will not work out of the
> box for other users of this device.

Hi Joerg, It seems not wrong request id of the physical device.

Because I configured the eth4(pci id is 04:00.1), and the network is good, no problems found.
If eth4(04:00.1) use the wrong request-id, I think network dma should be blocked by IOMMU, but it not.
So I don't know where the request-id 04:00.4/5/6/7 come from. Maybe Sathya can help me to find that. :)


 \-[0000:00]-+-00.0  Intel Corporation Xeon E5/Core i7 DMI2
             +-01.0-[11]--
             +-01.1-[02]--
             +-02.0-[04]--+-00.0  Emulex Corporation OneConnect 10Gb NIC (be3)
             |            +-00.1  Emulex Corporation OneConnect 10Gb NIC (be3)
             |            +-00.2  Emulex Corporation OneConnect 10Gb iSCSI Initiator (be3)
             |            \-00.3  Emulex Corporation OneConnect 10Gb iSCSI Initiator (be3)


> 
> 
> 	Joerg
> 
> 
> .
> 


-- 
Thanks!
Yijing

      parent reply	other threads:[~2014-08-26  2:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25  6:44 [PATCH v2] iommu/vt-d: Fix broken device issue when using iommu=pt Yijing Wang
     [not found] ` <1408949099-18677-1-git-send-email-wangyijing-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-08-25  6:58   ` Bharat.Bhushan-KZfg59tc24xl57MIdRCFDg
     [not found]     ` <8121916dfcae4c4a9d71377081c082fc-GeMU99Gfrru4FpqPz9FowuO6mTEJWrR4XA4E9RH9d+qIuWR1G4zioA@public.gmane.org>
2014-08-25  7:13       ` Yijing Wang
2014-08-25  9:15   ` Joerg Roedel
     [not found]     ` <20140825091531.GG16329-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2014-08-25  9:32       ` Sathya Perla
     [not found]         ` <8dada92a-19af-4b77-b917-f2d97291abbe-3RiH6ntJJkOPfaB/Gd0HpljyZtpTMMwT@public.gmane.org>
2014-08-25 11:16           ` Yijing Wang
     [not found]             ` <53FB1B09.5070209-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-08-25 12:11               ` Sathya Perla
     [not found]                 ` <8b3c2f14-d454-45f5-87ab-69e1b87f27c9-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
2014-08-25 12:47                   ` Yijing Wang
     [not found]                     ` <ff926f1d-b899-4245-93bf-3aa1b593ad7e@CMEXHTCAS1.ad.emulex.com>
     [not found]                       ` <ff926f1d-b899-4245-93bf-3aa1b593ad7e-3RiH6ntJJkP8BX6JNMqfyFjyZtpTMMwT@public.gmane.org>
2014-09-05  1:11                         ` Yijing Wang
2014-08-25 15:04                   ` David Woodhouse
     [not found]                     ` <1408979059.29915.0.camel-W2I5cNIroUsVm/YvaOjsyQ@public.gmane.org>
2014-08-26  1:51                       ` Yijing Wang
     [not found]                         ` <53FBE82B.2080105-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
2014-08-28 16:42                           ` Linda Knippers
2014-08-26  2:03       ` Yijing Wang [this message]

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=53FBEAE7.5060500@huawei.com \
    --to=wangyijing-hv44wf8li93qt0dzr+alfa@public.gmane.org \
    --cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
    --cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    --cc=jiang.liu-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
    --cc=joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org \
    --cc=sathya.perla-laKkSmNT4hbQT0dZR+AlfA@public.gmane.org \
    --cc=subbu.seetharaman-laKkSmNT4hbQT0dZR+AlfA@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