From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: AMD IOMMU disabled - No Perdev Intremap Date: Sun, 6 Oct 2013 15:45:18 +0100 Message-ID: <5251777E.6000901@citrix.com> References: <1619361332.20131006141037@eikelenboom.it> <52515E7E.8050209@citrix.com> <1827263089.20131006163803@eikelenboom.it> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1827263089.20131006163803@eikelenboom.it> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Sander Eikelenboom Cc: =?ISO-8859-1?Q?Ferdinand_N=F6lscher?= , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On 06/10/2013 15:38, Sander Eikelenboom wrote: > Sunday, October 6, 2013, 3:09:54 PM, you wrote: > >> On 10/06/2013 02:58 PM, Andrew Cooper wrote: >>> On 06/10/2013 13:56, Ferdinand N=F6lscher wrote: >>>> Hi Sander, >>>> >>>> Thanks for your reply. >>>> >>>> On 10/06/2013 02:10 PM, Sander Eikelenboom wrote: >>>>> Sunday, October 6, 2013, 1:36:33 PM, you wrote: >>>>> >>>>>> Hi! >>>>>>> From other people posting to this list, I know that there has >>>>>>> been a >>>>>> bug related to the issue described in Xen Security Advisory 36 >>>>>> that disables iommu for some AMD users like me. >>>>> What motherboard do you have ? >>>> I have an ASUS M5A99X EVO Rev 1.01 >>>> >>>> >>>>> It depends if it's the north or southbridge ioapic but try using >>>>> the new xen boot parameter: (add it to the xen.gz line in grub) >>>>> >>>>> ivrs_ioapic[0]=3D00:14.0 >>>>> >>>>> or >>>>> >>>>> ivrs_ioapic[0]=3D00:00.1 >>>> I tried both, it still fails to enable i/o virtualisation. >>> Can you post a full xl dmesg, booting with iommu=3Ddebug,verbose as wel= l? >>> >>> ~Andrew >>> >>> > Ah it seems i got the id's mixed up :-) > > ivrs_ioapic[9]=3D00:00.1 ivrs_ioapic[10]=3D00:14.0 > > Should do it i guess .. or should the ioapic handle be in hex .. (then th= e last should be ivrs_ioapic[a]=3D00:14.0 ) > > -- > Sander > > parse_ivrs_ioapic uses simple_strtoul(..., 0), so decimal or 0xa is fine, but 'a' on its own wont be. Seeing as I clearly don't understand how this fix is working, do you mind explaining (as you seem to have worked out the problem) ? ~Andrew