>>>> diff --git a/hw/ppc/Kconfig b/hw/ppc/Kconfig >>>> index e27efe9a24..354828bf13 100644 >>>> --- a/hw/ppc/Kconfig >>>> +++ b/hw/ppc/Kconfig >>>> @@ -135,6 +135,8 @@ config XIVE_SPAPR >>>> default y >>>> depends on PSERIES >>>> select XIVE >>>> + select PCI >>>> + select PCIE_PORT >>> >>> This patch is about PowerNV, why do we add dependencies for pseries >>> configuration? >> >> Bogus leftovers from the past. I think we can drop them. > > I will prepare a patch for that.
Thanks. Here is a small command line to check PCI adapters. C. $ qemu-system-ppc64 -machine powernv9 -nographic -device ich9-ahci,id=sata0,bus=pcie.1,addr=0x0 -device e1000e,mac=C0:FF:EE:00:01:03,bus=pcie.2,addr=0x0 [ 0.011935416,5] OPAL v6.4 starting... [ 0.012528373,7] initial console log level: memory 7, driver 5 [ 0.012560514,6] CPU: P9 generation processor (max 4 threads/core) [ 0.012575475,7] CPU: Boot CPU PIR is 0x0000 PVR is 0x004e1200 [ 0.012735128,7] OPAL table: 0x30101830 .. 0x30101da0, branch table: 0x30002000 [ 0.012945847,7] Assigning physical memory map table for nimbus [ 0.013226493,7] FDT: Parsing fdt @0x1000000 [ 0.015091333,5] CHIP: Detected Qemu simulator ... [ 6.259400309,5] PCI Summary: [ 6.259731885,5] PHB#0000:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 [ 6.260025513,5] PHB#0001:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 [ 6.260263027,5] PHB#0001:01:00.0 [PCID] 8086 2922 R:02 C:010601 ( sata) [ 6.260485810,5] PHB#0002:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 [ 6.260691330,5] PHB#0002:01:00.0 [EP ] 8086 10d3 R:00 C:020000 ( ethernet) [ 6.260873711,5] PHB#0003:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 [ 6.261053114,5] PHB#0004:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 [ 6.261237264,5] PHB#0005:00:00.0 [ROOT] 1014 04c1 R:00 C:060400 B:01..01 [ 6.261496700,4] FLASH: Failed to load VERSION data [ 6.423913697,5] INIT: Waiting for kernel... [ 6.424004918,5] INIT: platform wait for kernel load failed [ 6.424114190,5] INIT: Assuming kernel at 0x20000000 [ 6.424232276,3] INIT: ELF header not found. Assuming raw binary. [ 6.424407245,3] OCC: Unassigned OCC Common Area. No sensors found [ 6.424629768,2] NVRAM: Failed to load [ 6.494846301,0] FATAL: Kernel is zeros, can't execute!