[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] Enabling AMD-Vi IOMMU panics Xen
I've finally gotten some time to look at this problem in detail again. (It's been two months!) Firstly, thanks for trying to help me solve this issue! I'm very much a beginner firmware dev right now, so forgive if I ask any stupid questions :) On 15 April 2016 at 19:27, Kyösti Mälkki <kyosti.malkki@xxxxxxxxx> wrote:
Is that documented anywhere (public)? I couldn't find anything about that, with the BKDG only mentioning what the registers are, and not how much memory needs to be allocated nor when it's allocated. Is it just something that you've learnt from past experience with developing for AMD chips and/or its IOMMU?
Would this really be an issue though? Since according to lspci, the devices on this board only go up to 03:00.0.
For the same reason as above, even though it is bogus, it doesn't feel like it would cause the panic. Though I suppose a *missing* type 43 entry could cause the panic (See below). On 4 May 2016 at 22:05, Kyösti Mälkki <kyosti.malkki@xxxxxxxxx> wrote:
I applied all three of your patches against a clean version of the apu's coreboot source, and it still ended up panicking Xen (with the same message as before). Checking the IVRS table showed that indeed your override was applied. A possible notable difference between our apu boards is that mine is the 4 GB version, while your's is the 2 GB, though it doesn't feel like this would be why your's works but mine doesn't. I'm also running a newer version of Xen (4.6), and I haven't tried it with your version yet, so I don't know if it might be a regression in Xen or not. That said, investigating a bit more, I noticed these lines in my serial output: (XEN) PCI add device 0000:01:00.0 as well as this from lspci: 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 16h Processor Functions 5:1 So maybe the cause of the panic would be that the IVRS table is missing type 43 entries for these bridges that contain the NICs? I'll try adding those entries to the table and see if I'm successful. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx https://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |