Hi Roger! With your patch (and build as a debug build) Xen crashes on boot (which I guess was the point of your BUG_ON statement).
The log is attached Thanks, Roman. On Wed, Jul 24, 2019 at 7:11 AM Roger Pau Monné <roger....@citrix.com> wrote: > > On Tue, Jul 23, 2019 at 10:32:26AM -0700, Roman Shaposhnik wrote: > > Hi Roger! > > > > I applied your patch, removed no-igfx and I still see the original > > problem. Please let me know what other logs/debugs would you need at > > this point. > > I'm not sure why you don't get the rmrrs added to the iommu page > tables, AFAICT it works on my test box. > > I have a patch with extra debug messages and checks, could you give it > a test, I'm attaching it below. Note that you don't need the previous > patch, since it's already contained in the debug patch below. > > Please paste the Xen bootlog with the patch applied when your reply. > > Thank, Roger. > ---8<--- > diff --git a/xen/arch/x86/mm/p2m.c b/xen/arch/x86/mm/p2m.c > index fef97c82f6..3605614aaf 100644 > --- a/xen/arch/x86/mm/p2m.c > +++ b/xen/arch/x86/mm/p2m.c > @@ -1341,7 +1341,7 @@ int set_identity_p2m_entry(struct domain *d, unsigned > long gfn_l, > > if ( !paging_mode_translate(p2m->domain) ) > { > - if ( !need_iommu_pt_sync(d) ) > + if ( !has_iommu_pt(d) ) > return 0; > return iommu_legacy_map(d, _dfn(gfn_l), _mfn(gfn_l), PAGE_ORDER_4K, > IOMMUF_readable | IOMMUF_writable); > @@ -1432,7 +1432,7 @@ int clear_identity_p2m_entry(struct domain *d, unsigned > long gfn_l) > > if ( !paging_mode_translate(d) ) > { > - if ( !need_iommu_pt_sync(d) ) > + if ( !has_iommu_pt(d) ) > return 0; > return iommu_legacy_unmap(d, _dfn(gfn_l), PAGE_ORDER_4K); > } > diff --git a/xen/drivers/passthrough/vtd/iommu.c > b/xen/drivers/passthrough/vtd/iommu.c > index 8b27d7e775..ea303b5d45 100644 > --- a/xen/drivers/passthrough/vtd/iommu.c > +++ b/xen/drivers/passthrough/vtd/iommu.c > @@ -2009,12 +2009,19 @@ static int rmrr_identity_mapping(struct domain *d, > bool_t map, > if ( !map ) > return -ENOENT; > > +printk("<RMRR> mapping %#lx - %#lx\n", base_pfn, end_pfn); > while ( base_pfn < end_pfn ) > { > int err = set_identity_p2m_entry(d, base_pfn, p2m_access_rw, flag); > + mfn_t mfn; > + unsigned int f; > > if ( err ) > return err; > +BUG_ON(intel_iommu_lookup_page(d, _dfn(base_pfn), &mfn, &f)); > +BUG_ON(base_pfn != mfn_x(mfn)); > +BUG_ON(f != (IOMMUF_readable | IOMMUF_writable)); > + > base_pfn++; > } > > @@ -2263,6 +2270,7 @@ static void __hwdom_init setup_hwdom_rmrr(struct domain > *d) > u16 bdf; > int ret, i; > > +printk("<RMRR> setting up regions\n"); > pcidevs_lock(); > for_each_rmrr_device ( rmrr, bdf, i ) > { >
0x0000:0x00:0x02.0x0: ROM: 0x10000 bytes at 0x8968e018 0x0000:0x02:0x00.0x0: ROM: 0x10000 bytes at 0x89641018 0x0000:0x00:0x1f.0x6: ROM: 0x10c00 bytes at 0x89630018 Xen 4.12.0 (XEN) Xen version 4.12.0 (@) (gcc (Alpine 6.4.0) 6.4.0) debug=y Fri Jul 26 00:32:25 UTC 2019 (XEN) Latest ChangeSet: (XEN) Bootloader: GRUB 2.03 (XEN) Command line: loglvl=all com1=115200,8n1 console=com1,vga dom0_mem=1024M,max:1024M dom0_max_vcpus=1 dom0_vcpus_pin smt=false (XEN) Xen image load base address: 0x88000000 (XEN) Video information: (XEN) VGA is graphics mode 1680x1050, 32 bpp (XEN) Disc information: (XEN) Found 0 MBR signatures (XEN) Found 1 EDD information structures (XEN) EFI RAM map: (XEN) 0000000000000000 - 0000000000058000 (usable) (XEN) 0000000000058000 - 0000000000059000 (reserved) (XEN) 0000000000059000 - 000000000009f000 (usable) (XEN) 000000000009f000 - 00000000000a0000 (reserved) (XEN) 0000000000100000 - 000000008648a000 (usable) (XEN) 000000008648a000 - 000000008648b000 (ACPI NVS) (XEN) 000000008648b000 - 00000000864b5000 (reserved) (XEN) 00000000864b5000 - 000000008c224000 (usable) (XEN) 000000008c224000 - 000000008c528000 (reserved) (XEN) 000000008c528000 - 000000008c736000 (usable) (XEN) 000000008c736000 - 000000008cea7000 (ACPI NVS) (XEN) 000000008cea7000 - 000000008d2ff000 (reserved) (XEN) 000000008d2ff000 - 000000008d300000 (usable) (XEN) 000000008d300000 - 000000008d400000 (reserved) (XEN) 00000000e0000000 - 00000000f0000000 (reserved) (XEN) 00000000fe000000 - 00000000fe011000 (reserved) (XEN) 00000000fec00000 - 00000000fec01000 (reserved) (XEN) 00000000fee00000 - 00000000fee01000 (reserved) (XEN) 00000000ff000000 - 0000000100000000 (reserved) (XEN) 0000000100000000 - 000000016e000000 (usable) (XEN) ACPI: RSDP 8CE49000, 0024 (r2 ALASKA) (XEN) ACPI: XSDT 8CE490A8, 00CC (r1 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: FACP 8CE6C370, 010C (r5 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: DSDT 8CE49208, 23167 (r2 ALASKA A M I 1072009 INTL 20120913) (XEN) ACPI: FACS 8CE8EF80, 0040 (XEN) ACPI: APIC 8CE6C480, 0084 (r3 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: FPDT 8CE6C508, 0044 (r1 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: FIDT 8CE6C550, 009C (r1 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: MCFG 8CE6C5F0, 003C (r1 ALASKA A M I 1072009 MSFT 97) (XEN) ACPI: HPET 8CE6C630, 0038 (r1 ALASKA A M I 1072009 AMI. 5000B) (XEN) ACPI: LPIT 8CE6C668, 0094 (r1 INTEL SKL-ULT 0 MSFT 5F) (XEN) ACPI: SSDT 8CE6C700, 0248 (r2 INTEL sensrhub 0 INTL 20120913) (XEN) ACPI: SSDT 8CE6C948, 2BAE (r2 INTEL PtidDevc 1000 INTL 20120913) (XEN) ACPI: SSDT 8CE6F4F8, 0BE3 (r2 INTEL Ther_Rvp 1000 INTL 20120913) (XEN) ACPI: SSDT 8CE700E0, 04A3 (r2 INTEL zpodd 1000 INTL 20120913) (XEN) ACPI: DBGP 8CE70588, 0034 (r1 INTEL 0 MSFT 5F) (XEN) ACPI: DBG2 8CE705C0, 0054 (r0 INTEL 0 MSFT 5F) (XEN) ACPI: SSDT 8CE70618, 06E9 (r2 INTEL xh_rvp07 0 INTL 20120913) (XEN) ACPI: SSDT 8CE70D08, 547E (r2 SaSsdt SaSsdt 3000 INTL 20120913) (XEN) ACPI: UEFI 8CE76188, 0042 (r1 0 0) (XEN) ACPI: SSDT 8CE761D0, 0E73 (r2 CpuRef CpuSsdt 3000 INTL 20120913) (XEN) ACPI: BGRT 8CE77048, 0038 (r1 ALASKA A M I 1072009 AMI 10013) (XEN) ACPI: DMAR 8CE77080, 00A8 (r1 INTEL SKL 1 INTL 1) (XEN) ACPI: TPM2 8CE77128, 0034 (r3 Tpm2Tabl 1 AMI 0) (XEN) ACPI: ASF! 8CE77160, 00A5 (r32 INTEL HCG 1 TFSM F4240) (XEN) System RAM: 4003MB (4099736kB) (XEN) No NUMA configuration found (XEN) Faking a node at 0000000000000000-000000016e000000 (XEN) Domain heap initialised (XEN) vesafb: framebuffer at 0xc0000000, mapped to 0xffff82c000201000, using 6912k, total 6912k (XEN) vesafb: mode is 1680x1050x32, linelength=6720, font 8x16 (XEN) vesafb: Truecolor: size=8:8:8:8, shift=24:16:8:0 (XEN) CPU Vendor: Intel, Family 6 (0x6), Model 78 (0x4e), Stepping 3 (raw 000406e3) (XEN) SMBIOS 3.0 present. (XEN) Using APIC driver default (XEN) ACPI: PM-Timer IO Port: 0x1808 (32 bits) (XEN) ACPI: v5 SLEEP INFO: control[0:0], status[0:0] (XEN) ACPI: SLEEP INFO: pm1x_cnt[1:1804,1:0], pm1x_evt[1:1800,1:0] (XEN) ACPI: 32/64X FACS address mismatch in FADT - 8ce8ef80/0000000000000000, using 32 (XEN) ACPI: wakeup_vec[8ce8ef8c], vec_size[20] (XEN) ACPI: Local APIC address 0xfee00000 (XEN) ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled) (XEN) ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled) (XEN) ACPI: LAPIC (acpi_id[0x03] lapic_id[0x01] enabled) (XEN) ACPI: LAPIC (acpi_id[0x04] lapic_id[0x03] enabled) (XEN) ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x02] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x03] high edge lint[0x1]) (XEN) ACPI: LAPIC_NMI (acpi_id[0x04] high edge lint[0x1]) (XEN) ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0]) (XEN) IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-119 (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) (XEN) ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) (XEN) ACPI: IRQ0 used by override. (XEN) ACPI: IRQ2 used by override. (XEN) ACPI: IRQ9 used by override. (XEN) Enabling APIC mode: Flat. Using 1 I/O APICs (XEN) ACPI: HPET id: 0x8086a701 base: 0xfed00000 (XEN) PCI: MCFG configuration 0: base e0000000 segment 0000 buses 00 - ff (XEN) PCI: MCFG area at e0000000 reserved in E820 (XEN) PCI: Using MCFG for segment 0000 bus 00-ff (XEN) [VT-D] RMRR address range 8d800000..8fffffff not in reserved memory; need "iommu_inclusive_mapping=1"? (XEN) ERST table was not found (XEN) ACPI: BGRT: invalidating v1 image at 0x88e5a018 (XEN) Using ACPI (MADT) for SMP configuration information (XEN) SMP: Allowing 4 CPUs (0 hotplug CPUs) (XEN) IRQ limits: 120 GSI, 840 MSI/MSI-X (XEN) Switched to APIC driver x2apic_cluster. (XEN) xstate: size: 0x440 and states: 0x1f (XEN) mce_intel.c:780: MCA Capability: firstbank 0, extended MCE MSR 0, BCAST, CMCI (XEN) CPU0: Intel machine check reporting enabled (XEN) Speculative mitigation facilities: (XEN) Hardware features: (XEN) Compiled-in support: SHADOW_PAGING (XEN) Xen settings: BTI-Thunk N/A, SPEC_CTRL: No, Other: (XEN) L1TF: believed vulnerable, maxphysaddr L1D 46, CPUID 39, Safe address 8000000000 (XEN) Support for HVM VMs: RSB EAGER_FPU (XEN) Support for PV VMs: RSB EAGER_FPU (XEN) XPTI (64-bit PV only): Dom0 enabled, DomU enabled (with PCID) (XEN) PV L1TF shadowing: Dom0 disabled, DomU enabled (XEN) Using scheduler: SMP Credit Scheduler rev2 (credit2) (XEN) Initializing Credit2 scheduler (XEN) load_precision_shift: 18 (XEN) load_window_shift: 30 (XEN) underload_balance_tolerance: 0 (XEN) overload_balance_tolerance: -3 (XEN) runqueues arrangement: socket (XEN) cap enforcement granularity: 10ms (XEN) load tracking window length 1073741824 ns (XEN) Adding cpu 0 to runqueue 0 (XEN) First cpu on runqueue, activating (XEN) Platform timer is 23.999MHz HPET (XEN) Detected 2496.111 MHz processor. (XEN) EFI memory map: (XEN) 0000000000000-0000000007fff type=3 attr=000000000000000f (XEN) 0000000008000-000000000bfff type=2 attr=000000000000000f (XEN) 000000000c000-0000000047fff type=7 attr=000000000000000f (XEN) 0000000048000-0000000057fff type=2 attr=000000000000000f (XEN) 0000000058000-0000000058fff type=0 attr=000000000000000f (XEN) 0000000059000-000000005efff type=7 attr=000000000000000f (XEN) 000000005f000-000000005ffff type=4 attr=000000000000000f (XEN) 0000000060000-000000009efff type=3 attr=000000000000000f (XEN) 000000009f000-000000009ffff type=0 attr=000000000000000f (XEN) 0000000100000-0000000907fff type=2 attr=000000000000000f (XEN) 0000000908000-0000043fd9fff type=7 attr=000000000000000f (XEN) 0000043fda000-000007e51ffff type=1 attr=000000000000000f (XEN) 000007e520000-000007e55ffff type=4 attr=000000000000000f (XEN) 000007e560000-0000085101fff type=7 attr=000000000000000f (XEN) 0000085102000-000008539efff type=1 attr=000000000000000f (XEN) 000008539f000-0000086489fff type=4 attr=000000000000000f (XEN) 000008648a000-000008648afff type=10 attr=000000000000000f (XEN) 000008648b000-00000864b4fff type=6 attr=800000000000000f (XEN) 00000864b5000-000008650ffff type=4 attr=000000000000000f (XEN) 0000086510000-0000086517fff type=7 attr=000000000000000f (XEN) 0000086518000-0000086518fff type=2 attr=000000000000000f (XEN) 0000086519000-00000881fffff type=7 attr=000000000000000f (XEN) 0000088200000-00000885c8fff type=2 attr=000000000000000f (XEN) 00000885c9000-000008bc23fff type=4 attr=000000000000000f (XEN) 000008bc24000-000008bec0fff type=7 attr=000000000000000f (XEN) 000008bec1000-000008c223fff type=3 attr=000000000000000f (XEN) 000008c224000-000008c527fff type=0 attr=000000000000000f (XEN) 000008c528000-000008c735fff type=7 attr=000000000000000f (XEN) 000008c736000-000008cea6fff type=10 attr=000000000000000f (XEN) 000008cea7000-000008d29ffff type=6 attr=800000000000000f (XEN) 000008d2a0000-000008d2fefff type=5 attr=800000000000000f (XEN) 000008d2ff000-000008d2fffff type=4 attr=000000000000000f (XEN) 0000100000000-000016dffffff type=7 attr=000000000000000f (XEN) 000008d300000-000008d3fffff type=0 attr=0000000000000000 (XEN) 00000e0000000-00000efffffff type=11 attr=8000000000000001 (XEN) 00000fe000000-00000fe010fff type=11 attr=8000000000000001 (XEN) 00000fec00000-00000fec00fff type=11 attr=8000000000000001 (XEN) 00000fee00000-00000fee00fff type=11 attr=8000000000000001 (XEN) 00000ff000000-00000ffffffff type=11 attr=8000000000000001 (XEN) Initing memory sharing. (XEN) alt table ffff82d080466c70 -> ffff82d0804688ee (XEN) Intel VT-d iommu 0 supported page sizes: 4kB, 2MB, 1GB. (XEN) Intel VT-d iommu 1 supported page sizes: 4kB, 2MB, 1GB. (XEN) Intel VT-d Snoop Control not enabled. (XEN) Intel VT-d Dom0 DMA Passthrough not enabled. (XEN) Intel VT-d Queued Invalidation enabled. (XEN) Intel VT-d Interrupt Remapping enabled. (XEN) Intel VT-d Posted Interrupt not enabled. (XEN) Intel VT-d Shared EPT tables enabled. (XEN) I/O virtualisation enabled (XEN) - Dom0 mode: Relaxed (XEN) Interrupt remapping enabled (XEN) nr_sockets: 1 (XEN) Enabled directed EOI with ioapic_ack_old on! (XEN) ENABLING IO-APIC IRQs (XEN) -> Using old ACK method (XEN) ..TIMER: vector=0xF0 apic1=0 pin1=2 apic2=0 pin2=0 (XEN) TSC_DEADLINE disabled due to Errata; please update microcode to version 0xb2 (or later) (XEN) Allocated console ring of 32 KiB. (XEN) mwait-idle: MWAIT substates: 0x11142120 (XEN) mwait-idle: v0.4.1 model 0x4e (XEN) mwait-idle: lapic_timer_reliable_states 0xffffffff (XEN) mwait-idle: max C-state count of 8 reached (XEN) VMX: Supported advanced features: (XEN) - APIC MMIO access virtualisation (XEN) - APIC TPR shadow (XEN) - Extended Page Tables (EPT) (XEN) - Virtual-Processor Identifiers (VPID) (XEN) - Virtual NMI (XEN) - MSR direct-access bitmap (XEN) - Unrestricted Guest (XEN) - VMCS shadowing (XEN) - VM Functions (XEN) - Virtualisation Exceptions (XEN) - Page Modification Logging (XEN) HVM: ASIDs enabled. (XEN) HVM: VMX enabled (XEN) HVM: Hardware Assisted Paging (HAP) detected (XEN) HVM: HAP page sizes: 4kB, 2MB, 1GB (XEN) Adding cpu 1 to runqueue 0 (XEN) mwait-idle: max C-state count of 8 reached (XEN) Removing cpu 1 from runqueue 0 (XEN) Adding cpu 2 to runqueue 0 (XEN) mwait-idle: max C-state count of 8 reached (XEN) Adding cpu 3 to runqueue 0 (XEN) mwait-idle: max C-state count of 8 reached (XEN) Removing cpu 3 from runqueue 0 (XEN) Brought up 2 CPUs (XEN) Parked 2 CPUs (XEN) build-id: bd040b836145d2bcde168a5dcc0ade2d6a89c2a7 (XEN) Running stub recovery selftests... (XEN) traps.c:1574: GPF (0000): ffff82d0bffff041 [ffff82d0bffff041] -> ffff82d08037d412 (XEN) traps.c:755: Trap 12: ffff82d0bffff040 [ffff82d0bffff040] -> ffff82d08037d412 (XEN) traps.c:1094: Trap 3: ffff82d0bffff041 [ffff82d0bffff041] -> ffff82d08037d412 (XEN) ACPI sleep modes: S3 (XEN) VPMU: disabled (XEN) mcheck_poll: Machine check polling timer started. (XEN) Dom0 has maximum 312 PIRQs (XEN) NX (Execute Disable) protection active (XEN) *** Building a PV Dom0 *** (XEN) ELF: phdr: paddr=0x1000000 memsz=0x111f000 (XEN) ELF: phdr: paddr=0x2200000 memsz=0x498000 (XEN) ELF: phdr: paddr=0x2698000 memsz=0x2b4d8 (XEN) ELF: phdr: paddr=0x26c4000 memsz=0x368000 (XEN) ELF: memory: 0x1000000 -> 0x2a2c000 (XEN) ELF: note: GUEST_OS = "linux" (XEN) ELF: note: GUEST_VERSION = "2.6" (XEN) ELF: note: XEN_VERSION = "xen-3.0" (XEN) ELF: note: VIRT_BASE = 0xffffffff80000000 (XEN) ELF: note: INIT_P2M = 0x8000000000 (XEN) ELF: note: ENTRY = 0xffffffff826c4180 (XEN) ELF: note: HYPERCALL_PAGE = 0xffffffff81001000 (XEN) ELF: note: FEATURES = "!writable_page_tables|pae_pgdir_above_4gb" (XEN) ELF: note: SUPPORTED_FEATURES = 0x8801 (XEN) ELF: note: PAE_MODE = "yes" (XEN) ELF: note: LOADER = "generic" (XEN) ELF: note: unknown (0xd) (XEN) ELF: note: SUSPEND_CANCEL = 0x1 (XEN) ELF: note: MOD_START_PFN = 0x1 (XEN) ELF: note: HV_START_LOW = 0xffff800000000000 (XEN) ELF: note: PADDR_OFFSET = 0 (XEN) ELF: note: PHYS32_ENTRY = 0x1000390 (XEN) ELF: Found PVH image (XEN) ELF: addresses: (XEN) virt_base = 0xffffffff80000000 (XEN) elf_paddr_offset = 0x0 (XEN) virt_offset = 0xffffffff80000000 (XEN) virt_kstart = 0xffffffff81000000 (XEN) virt_kend = 0xffffffff82a2c000 (XEN) virt_entry = 0xffffffff826c4180 (XEN) p2m_base = 0x8000000000 (XEN) Xen kernel: 64-bit, lsb, compat32 (XEN) Dom0 kernel: 64-bit, PAE, lsb, paddr 0x1000000 -> 0x2a2c000 (XEN) PHYSICAL MEMORY ARRANGEMENT: (XEN) Dom0 alloc.: 0000000164000000->0000000168000000 (245760 pages to be allocated) (XEN) VIRTUAL MEMORY ARRANGEMENT: (XEN) Loaded kernel: ffffffff81000000->ffffffff82a2c000 (XEN) Init. ramdisk: 0000000000000000->0000000000000000 (XEN) Phys-Mach map: 0000008000000000->0000008000200000 (XEN) Start info: ffffffff82a2c000->ffffffff82a2c4b4 (XEN) Xenstore ring: 0000000000000000->0000000000000000 (XEN) Console ring: 0000000000000000->0000000000000000 (XEN) Page tables: ffffffff82a2d000->ffffffff82a46000 (XEN) Boot stack: ffffffff82a46000->ffffffff82a47000 (XEN) TOTAL: ffffffff80000000->ffffffff82c00000 (XEN) ENTRY ADDRESS: ffffffff826c4180 (XEN) Dom0 has maximum 1 VCPUs (XEN) ELF: phdr 0 at 0xffffffff81000000 -> 0xffffffff8211f000 (XEN) ELF: phdr 1 at 0xffffffff82200000 -> 0xffffffff82698000 (XEN) ELF: phdr 2 at 0xffffffff82698000 -> 0xffffffff826c34d8 (XEN) ELF: phdr 3 at 0xffffffff826c4000 -> 0xffffffff8283a000 (XEN) Bogus DMIBAR 0xfed18001 on 0000:00:00.0 (XEN) <RMRR> setting up regions (XEN) <RMRR> mapping 0x8d800 - 0x90000 (XEN) Xen BUG at iommu.c:2021 (XEN) ----[ Xen-4.12.0 x86_64 debug=y Not tainted ]---- (XEN) CPU: 0 (XEN) RIP: e008:[<ffff82d08025aea8>] iommu.c#rmrr_identity_mapping+0x209/0x230 (XEN) RFLAGS: 0000000000010282 CONTEXT: hypervisor (XEN) rax: 00000000fffffff4 rbx: ffff82d08048f7ec rcx: 000000000000001e (XEN) rdx: ffff82d08048ffff rsi: 000000016baf7000 rdi: ffff8301687d4138 (XEN) rbp: ffff82d08048f828 rsp: ffff82d08048f7c8 r8: ffff830169a08000 (XEN) r9: 0000000000000030 r10: 0000000000090000 r11: 0000000000000005 (XEN) r12: 000000000008d800 r13: ffff8301687d4000 r14: 0000000000000000 (XEN) r15: ffff830169b08670 cr0: 000000008005003b cr4: 00000000001526e0 (XEN) cr3: 000000008847f000 cr2: 0000000000000000 (XEN) fsb: 0000000000000000 gsb: 0000000000000000 gss: 0000000000000000 (XEN) ds: 0000 es: 0000 fs: 0000 gs: 0000 ss: 0000 cs: e008 (XEN) Xen code around <ffff82d08025aea8> (iommu.c#rmrr_identity_mapping+0x209/0x230): (XEN) 00 00 00 e9 1a ff ff ff <0f> 0b 0f 0b 0f 0b 41 be 00 00 00 00 e9 09 ff ff (XEN) Xen stack trace from rsp=ffff82d08048f7c8: (XEN) ffff82d08048f7f0 000000008024c776 0000000000090000 ffff8301687d4150 (XEN) ffff82d08048f838 ffff82d0804809a8 ffff82d08048f818 0000000000000000 (XEN) ffff830169b08670 ffff8301687d4000 ffff82d0803d1060 ffff82d0803e9da8 (XEN) ffff82d08048f868 ffff82d08040bb63 ffff82d0805ab7b4 0000000000000000 (XEN) ffff8301687d4000 0000000000040000 ffff8301687d4000 0000000000044201 (XEN) ffff82d08048f8c8 ffff82d08040b168 ffff82d08048f8c8 000000008847f000 (XEN) ffff82d0804669c0 0000000000088595 ffff82d08048f8c8 0000000000000000 (XEN) 0000000000004201 0000000000040000 ffff8301687d4000 0000000000044201 (XEN) ffff82d08048fd58 ffff82d08042ca87 ffffffff82c00000 0000000000000019 (XEN) 0000000000000ff0 0000000000000000 0000000166a2f000 ffff830166a2e000 (XEN) ffffffff82a2c000 0000000000000000 ffff830166a2f000 ffff830166a30ff8 (XEN) 0000000166a45000 ffffffffffffffff ffff830166a30000 ffffffff82a47000 (XEN) ffffffff81000000 0000000000168000 ffffffff82a2d000 ffffffff82a2c000 (XEN) ffff830166a2f0b0 0000000166a46000 0000000000164000 ffffffff82a2c000 (XEN) 0000000000000000 0000000000002c00 0000000000002c00 0000008000200000 (XEN) ffff830100004000 0000008000000000 ffff820040000000 0000000000164000 (XEN) 0000000000040000 0000000000000000 0000000000000000 ffffffffffffffff (XEN) ffffffffffffffff ffff82d08045ebc0 ffff8301687b8000 0000000000000000 (XEN) 0000000000000000 ffff83016c8e7c14 ffff83016c8e7e00 0000000000000000 (XEN) 0000000000000000 0000000000000000 0000000000000001 ffff82d0803e8dfd (XEN) Xen call trace: (XEN) [<ffff82d08025aea8>] iommu.c#rmrr_identity_mapping+0x209/0x230 (XEN) [<ffff82d08040bb63>] iommu.c#intel_iommu_hwdom_init+0x7a/0x150 (XEN) [<ffff82d08040b168>] iommu_hwdom_init+0x20e/0x22e (XEN) [<ffff82d08042ca87>] dom0_construct_pv+0x2692/0x2adb (XEN) [<ffff82d08042fda2>] construct_dom0+0x82/0xa92 (XEN) [<ffff82d080420258>] __start_xen+0x27c9/0x28dd (XEN) [<ffff82d0802000f3>] __high_start+0x53/0x55 (XEN) (XEN) (XEN) **************************************** (XEN) Panic on CPU 0: (XEN) Xen BUG at iommu.c:2021 (XEN) **************************************** (XEN) (XEN) Reboot in five seconds... (XEN) APIC error on CPU0: 40(00)
_______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel