[Skiboot] [PATCH 0/1] AWAN simulator support for P10

Ryan Grimm grimm at linux.vnet.ibm.com
Thu Sep 9 03:02:00 AEST 2021


On Wed, 2021-09-08 at 11:52 -0500, Ryan Grimm wrote:
> Vasante,
> 
> I took the p10 AWAN patches and tried to make them good for upstream.
> 
> I took the chip quirk approach like Mambo and QEMU.  Also, added a
> device tree property and choose device_type somewhat abitarily.  I
> thought about a compatible but I'm not sure, what do you think?
> 
> Also there's a very high level README.  I have a python script I can
> post after I take out all the internal paths.
> 
> I'll reply to this with the skiboot log so you can check those out
> too
> if you want.
> 
> Thanks,
> Ryan
> 
> Ryan Grimm (1):
>   AWAN simulator support for P10
> 
>  core/chip.c                         |  17 +++-
>  core/cpu.c                          |   5 +-
>  core/init.c                         |   2 +-
>  external/awan/README.md             |  34 +++++++
>  external/awan/p10_chip_2ex_smt4.dts | 135
> ++++++++++++++++++++++++++++
>  external/awan/p10_core_1ex_smt4.dts |  69 ++++++++++++++
>  hw/slw.c                            |   7 +-
>  include/chip.h                      |   1 +
>  8 files changed, 262 insertions(+), 8 deletions(-)
>  create mode 100644 external/awan/README.md
>  create mode 100644 external/awan/p10_chip_2ex_smt4.dts
>  create mode 100644 external/awan/p10_core_1ex_smt4.dts
> 
-------------- next part --------------
[    0.000070277,5] OPAL v6.8-111-g26c98b7c0 starting...
[    0.000075086,7] initial console log level: memory 7, driver 5
[    0.000077272,6] CPU: P10 generation processor (max 4 threads/core)
[    0.000079159,7] CPU: Boot CPU PIR is 0x001c PVR is 0x00801200
[    0.000081723,7] OPAL table: 0x3018a230 .. 0x3018a7f0, branch table: 0x30120000
[    0.000084814,7] Assigning physical memory map table for p10
[    0.000087838,7] FDT: Parsing fdt @0x1f00000
[    0.000257207,5] CHIP: Detected Awan emulator chip model
[    0.000265216,6] CHIP: Initialised chip 0 from xscom at e03fc00000000
[    0.000274368,5] CHIP: Chip ID 0000 type: P10 DD2.00
[    0.000276396,7] XSCOM: Base address: 0xe03fc00000000
[    0.000279130,7] XSTOP: ibm,sw-checkstop-fir prop not found
[    0.000281030,6] MFSI 0:0: Initialized
[    0.000282330,6] MFSI 0:2: Initialized
[    0.000283597,6] MFSI 0:1: Initialized
[    0.000308961,7] CPU: New max PIR set to 0x1f
[    0.000327198,7] MEM: parsing reserved memory from reserved-names/-ranges properties
[    0.000331562,7] CPU: decrementer bits 56
[    0.000334450,6] CPU: CPU from DT PIR=0x0018 Server#=0x18 State=4
[    0.000338901,6] CPU:  4 secondary threads
[    0.000340509,6] CPU: CPU from DT PIR=0x001c Server#=0x1c State=4
[    0.000344167,6] CPU:  4 secondary threads
[    0.000368453,5] PLAT: Detected generic platform
[    0.000369916,5] PLAT: Detected BMC platform generic
[    0.000450077,5] XIVE: [ IC 00  ] Initializing XIVE block ID 0...
[    0.000451974,7] XIVE: [ IC 00  ] setting XIVE quirks to 0000000000000003
[    0.000486570,7] XIVE: [ IC 00  ] Handling interrupts [00000000..0000ffff]
[    0.000491327,7] XIVE: [ IC 00  ] capabilities: 2000120076f000fc
[    0.000493276,7] XIVE: [ IC 00  ]    Version: 2
[    0.000494645,7] XIVE: [ IC 00  ]    User interrupt priorities: [ 1 - 1 ]
[    0.000496450,7] XIVE: [ IC 00  ]    VP interrupt priorities: [ 1 - 8 ]
[    0.000498308,7] XIVE: [ IC 00  ]    Extended Blockid bits: 4
[    0.000499898,7] XIVE: [ IC 00  ]    PHB PQ disable mode support
[    0.000502215,7] XIVE: [ IC 00  ]    PHB address based trigger mode support
[    0.000505148,7] XIVE: [ IC 00  ]    Exploitation mode
[    0.000506874,7] XIVE: [ IC 00  ]    StoreEOI mode support
[    0.000508730,7] XIVE: [ IC 00  ]    VP Context Save and Restore
[    0.000511084,7] XIVE: [ IC 00  ] default configuration: 0031000033000000
[    1.000001201,7] XIVE: [ IC 00  ]    Hardwired Thread Id range: 8 bits
[    1.000002998,7] XIVE: [ IC 00  ]    User Interrupt priorities: [ 1 - 1 ]
[    1.000004806,7] XIVE: [ IC 00  ]    VP Interrupt priorities: [ 0 - 7 ]
[    1.000006625,7] XIVE: [ IC 00  ]    BlockId bits: 4 bits
[    1.000008126,7] XIVE: [ IC 00  ]    VP Context Save and Restore
[    1.000010346,7] XIVE: [ IC 00  ]    VP Context Save and Restore strict
[    1.000013013,7] XIVE: [ IC 00  ] new configuration: 0030800002000000
[    1.000014966,7] XIVE: [ IC 00  ]    Hardwired Thread Id range: 7 bits
[    1.000016668,7] XIVE: [ IC 00  ]    User Interrupt priorities: [ 1 - 1 ]
[    1.000018343,7] XIVE: [ IC 00  ]    VP Interrupt priorities: [ 0 - 7 ]
[    1.000020035,7] XIVE: [ IC 00  ]    BlockId bits: 4 bits
[    1.000021528,7] XIVE: [ IC 00  ]    Hardwired BlockId: 0
[    1.000023119,7] XIVE: [ IC 00  ]    VP Context Save and Restore
[    1.000025677,7] XIVE: [ IC 00  ] store EOI is available
[    1.000027432,7] XIVE: [ IC 00  ] ESB cache configured with split mode and hash array. VC_ESBC_CFG=0000080404c20c8e
[    1.000032383,7] XIVE:  CQ_CFG_PB_GEN = 0400ffff02b40000
[    1.000034021,7] XIVE:  CQ_MSGSND     = ffffffff00000000
[    1.000051312,7] XIVE: [ IC 00  ] SBE  at 0x31f64000 size 0x4000
[    1.000080543,7] XIVE: [ IC 00  ] EAT  at 0x31f80000 size 0x80000
[    1.000095393,7] XIVE: [ IC 00  ] ENDi at 0x32010000 size 0x10000 #65536 entries
[    1.000109177,7] XIVE: [ IC 00  ] VPi  at 0x32030000 size 0x10000 #8192 entries
[    1.000112613,7] XIVE: [ IC 00  ] Allocating pages 0 to 0 of VPs (for 128 VPs)
[    1.000126214,7] XIVE: [ IC 00  ] VP0 at 0x32050000 size 0x10000
[    6.000339110,7] XIVE: [ IC 00  ] IC:  0x6030200000000 [0x000002000000]
[    6.000341208,7] XIVE: [ IC 00  ] TM:  0x6030203180000 [0x000000040000]
[    6.000343285,7] XIVE: [ IC 00  ] NVP: 0x6040000000000 [0x000040000000]
[    6.000345348,7] XIVE: [ IC 00  ] ESB: 0x6050000000000 [0x000200000000]
[    6.000347446,7] XIVE: [ IC 00  ] END: 0x6060000000000 [0x000200000000]
[    6.000349470,7] XIVE: [ IC 00  ] OVF:     0x33000000 [0x000000070000]
[    6.000354388,7] IRQ: Registering 0000..ffff ops @0x30147a58 (data 0x0) [secondary]
[    6.000357196,7] IRQ: Registering 10000000..1000ffff ops @0x30147a58 (data 0x0)
[    6.000359556,6] XIVE: 1 chips considered for VP allocations
[    6.000477181,7] PSI[0x000]: ESB MMIO at @0x6030202000000
[    6.000479041,7] PSI[0x000]: store EOI is enabled
[    6.000480472,7] PSI[0x000]: Interrupts sources registered for P10 DD2.0
[    6.000482491,7] IRQ: Registering fff0..fffd ops @0x30147a58 (data 0x306084b0)
[    6.000490198,6] PSI[0x000]: Found PSI bridge [active=0]
[    6.000492551,6] CPU: Setting up secondary CPU state
[    6.000493970,6] CPU: Calling in all processors...
[    6.000495387,7] INIT: CPU PIR 0x001d called in
[    6.000495539,7] INIT: CPU PIR 0x001e called in
[    6.000495557,7] INIT: CPU PIR 0x001f called in
[    6.000495687,7] INIT: CPU PIR 0x0019 called in
[    6.000495655,7] INIT: CPU PIR 0x0018 called in
[    6.000495668,7] INIT: CPU PIR 0x001a called in
[    6.000495648,7] INIT: CPU PIR 0x001b called in
[    7.000006654,5] CPU: All 8 processors called in...
[    7.000016929,6] CHIPTOD: Calculated MCBS is 0x3c (Cfreq=3250000000 Tfreq=32000000)
[    7.000019477,7] CHIPTOD: Base TFMR=0x3c12000000000000
[    7.000022342,7] CHIPTOD: Master sync on CPU PIR 0x0018...
[    7.000066021,7] CHIPTOD: Slave sync on CPU PIR 0x001c...
[    7.000087393,7] CHIPTOD: PIR 0x0018 TB=38055a
[    7.000092822,7] CHIPTOD: PIR 0x001c TB=381a8f
[    7.000099323,7] CHIPTOD: TOD Topology in Use: Primary
[    7.000101076,7] CHIPTOD:   Primary configuration:
[    7.000102460,7] CHIPTOD:   Chip id: 0, Role: SDST, Status: Active Master
[    7.000104615,7] CHIPTOD:   Secondary configuration:
[    7.000106001,7] CHIPTOD:   Chip id: -1, Role: MDMT, Status: Active Master
[    7.000119890,3] SBE: Master chip ID not found.
[    7.000121427,6] I2C: OCC flag reg: 6c0ac
[    7.000145969,3] BT: No BT device
[    7.000147969,6] NVRAM: Size is 1024 KB
[    7.000282318,3] NVRAM: Partition at offset 0x0 has incorrect 0 length
[    7.000284659,3] NVRAM: Re-initializing (size: 0x00100000)
[    7.000296811,7] NVRAM: Created 'ibm,skiboot' partition at 0x00000000 for size 0x00000100 with cksum 0xb5
[    7.000300101,7] NVRAM: Created 'common' partition at 0x00001000 for size 0x00001000 with cksum 0x0c
[    7.000302839,7] NVRAM: Created 'wwwwwwwwwwww' partition at 0x00011000 for size 0x0000ef00 with cksum 0x09
[    7.000436091,6] NVRAM: Layout appears sane
[    7.000439178,7] NVRAM: 'log-level-driver' not found
[    7.000441204,7] NVRAM: 'log-level-memory' not found
[    7.000443951,5] STB: secure boot not supported
[    7.000446470,5] STB: trusted boot not supported
[    7.000447892,6] FLASH: Loading VERSION section
[    7.000450358,4] FLASH: Failed to start loading VERSION data
[    7.000452998,3] IMC: Failed to load IMA_CATALOG: -16
[    7.000454959,6] OPAL: Using Dummy Console
[    7.000462263,3] OCC: No HOMER detected, assuming no pstates
[    7.000465456,3] ELOG: Error getting buffer to log error
[    7.000467495,7] NVRAM: 'pci-eeh-verbose' not found
[    7.000469213,7] NVRAM: 'pcie-max-link-speed' not found
[    7.000471336,7] NVRAM: 'pci-tracing' not found
[    7.000487164,5] INIT: platform start load kernel failed
[   11.000117329,7] NVRAM: 'vas-user-space' not found
[   11.000126416,6] VAS: Initialized chip 0
[   11.000148079,6] NX RNG[0] pace:185
[   11.000149953,6] NX0: Crypto at 0x2010000
[   11.000151999,6] NX0: POWER9 nx-crypto not yet supported
[   11.000154117,6] NX0: 842 at 0x2010000
[   11.000155679,7] Found ibm,power9-nx
[   11.000157419,7] NX0: UMAC VAS MMIO BAR, 0x00060302fe000000, xcfg 0x20110d4
[   11.000160287,7] NX0: DMA VAS MMIO BAR, 0x00060302fe000000, xcfg 0x201105e
[   11.000162932,7] NX0: UMAC SEND WC BAR, 0x0000000033800000, xcfg 0x20110d2
[   11.000166123,7] NX0: Setting UMAC Status Control 0x5080000000000000
[   11.000168668,7] NX0: VAS RMA WRITE BAR, 0x0000000000000000, xcfg 0x20110d9
[   11.000171803,7] NX0:   DMA 0x00ffc1b87f808080
[   11.000181720,7] NX0: Setting UMAC FIFO bar 0x0000000034008280
[   11.000184494,7] NX0: Setting UMAC notify match 0x0fff000003000011
[   11.000195660,7] NX0: Setting UMAC FIFO bar 0x0000000034018280
[   11.000198191,7] NX0: Setting UMAC notify match 0x0fff000003000021
[   11.000202539,7] NX0:   Engine Enable 0x8000000000000067
[   11.000204351,6] NX0: 842 Coprocessor Enabled
[   11.000205840,6] NX0: gzip at 0x2010000
[   11.000208066,7] NX0:   DMA 0x00ffc1b87f808080
[   11.000210437,7] NX0:   Engine Enable 0x8000000000000067
[   11.000219835,7] NX0: Setting UMAC FIFO bar 0x0000000034028280
[   11.000222403,7] NX0: Setting UMAC notify match 0x0fff000002000011
[   11.000233416,7] NX0: Setting UMAC FIFO bar 0x0000000034038280
[   11.000235972,7] NX0: Setting UMAC notify match 0x0fff000002000021
[   11.000239220,6] NX0: gzip Coprocessor Enabled
[   11.000266771,7] NVRAM: 'pci-eeh-mmio' not found
[   11.000268729,7] NVRAM: 'pci-retry-all' not found
[   11.000270358,7] NVRAM: 'phb-rx-err-max' not found
[   11.000272233,7] PHB5: Maximum RX errors during training: 8
[   11.000345422,6] NPU: Platform does not support NPU
[   11.000348430,5] PCI: Resetting PHBs and training links...
[   11.000351702,5] PCI: Probing slots...
[   11.000354099,5] PCI Summary:
[   12.000269761,7] irq fff0 name: psi#0:fsp [level]
[   12.000272589,7] irq fff1 name: psi#0:occ [level]
[   12.000275346,7] irq fff2 name: psi#0:fsi [level]
[   12.000277851,7] irq fff3 name: psi#0:lpchc [level]
[   12.000280537,7] irq fff4 name: psi#0:local_err [level]
[   12.000283560,7] irq fff5 name: psi#0:global_err [level]
[   12.000286558,7] irq fffb name: psi#0:i2c [level]
[   12.000289071,7] irq fffc name: psi#0:dio [level]
[   12.000291357,7] irq fffd name: psi#0:psu [level]
[   12.000296462,7] UV mode off on cpu pir 0x001c
[   12.000299068,7] NVRAM: 'flat-trace-buf' not found
[   12.000303972,6] Releasing unused memory:
[   12.000305875,6]     ibm,firmware-heap: 1101392/10485760 used
[   12.000309581,6]     ibm,firmware-allocs-memory at 0: 36896768/1311703040 used
[   12.000315395,6] Reserved regions:
[   12.000316664,6]   0x000028100000..0000281fffff : ibm,fake-nvram
[   12.000320744,6]   0x000030000000..0000305fffff : ibm,firmware-code
[   12.000324809,6]   0x000030600000..000030ffffff : ibm,firmware-heap
[   12.000329050,6]   0x000031000000..000031c0ffff : ibm,firmware-data
[   12.000333402,6]   0x000031c10000..000031d0ffff : ibm,firmware-stacks
[   12.000338067,6]   0x000031d10000..00003403ffff : ibm,firmware-allocs-memory at 0
[   12.000347225,5] INIT: Waiting for kernel...
[   12.000349702,5] INIT: platform wait for kernel load failed
[   12.000351547,7] INIT: Kernel image at 0x0
[   12.000354769,7] INIT: Kernel loaded, size: 0 bytes (0 = unknown preload)
[   12.000356763,3] INIT: ELF header not found. Assuming raw binary.
[   12.000360394,3] OCC: Unassigned OCC Common Area. No sensors found
[   12.000376539,7] NVRAM: 'bootargs' not found
[   13.000071942,6] Free space in HEAP memory regions:
[   13.000078744,6] Region ibm,firmware-heap free: 8737e0
[   13.000082437,6] Region ibm,firmware-allocs-memory at 0 free: 17b5c20
[   13.000085341,6] Total free: 33723392
[   13.000086811,7] INIT: stdout-path: /ibm,opal/consoles/serial at 0
[   13.000094658,5] INIT: Starting kernel at 0x0, fdt at 0x3070dab0 21733 bytes
[   16.000443727,7] OPAL: CPU re-init with flags: 0x6
[   16.000445461,6] OPAL: Switch to little-endian OS
[   16.000480031,7] CPU: [0000001c] HID0 change 0x0400000000000000 -> 0x0c00000000000000
[   16.000480107,7] CPU: [00000018] HID0 change 0x0400000000000000 -> 0x0c00000000000000
[    0.000000] dt-cpu-ftrs: setup for ISA 3100
[    0.000000] dt-cpu-ftrs: not enabling: debug-facilities-v31 (unknown and unsupported by kernel)
[    0.000000] dt-cpu-ftrs: not enabling: machine-check-power10 (unknown and unsupported by kernel)
[    0.000000] dt-cpu-ftrs: not enabling: mmu-radix (disabled or unsupported by kernel)
[    0.000000] dt-cpu-ftrs: not enabling: performance-monitor-power10 (unknown and unsupported by kernel)
[    0.000000] dt-cpu-ftrs: not enabling: system-call-vectored (disabled or unsupported by kernel)
[    0.000000] dt-cpu-ftrs: final cpu/mmu features = 0x000100ef8f5bb1a7 0x3c006001
[    0.000000] hash-mmu: Page sizes from device-tree:
[    0.000000] hash-mmu: base_shift=12: shift=12, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=0
[    0.000000] hash-mmu: base_shift=12: shift=16, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=7
[    0.000000] hash-mmu: base_shift=12: shift=24, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=56
[    0.000000] hash-mmu: base_shift=16: shift=16, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=1
[    0.000000] hash-mmu: base_shift=16: shift=24, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=8
[    0.000000] hash-mmu: base_shift=24: shift=24, sllp=0x0100, avpnm=0x00000001, tlbiel=0, penc=0
[    0.000000] hash-mmu: base_shift=34: shift=34, sllp=0x0120, avpnm=0x000007ff, tlbiel=0, penc=3
[    0.000000] Using 1TB segments
[    0.000000] hash-mmu: Partition table (____ptrval____)
[    0.000000] hash-mmu: Initializing hash mmu with SLB
[    0.000000] Linux version 5.1.0-14548-gbb7c30bdc784 (rgrimm at bml86) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04)) #1 SMP Tue Jun 18 13:42:11 CDT 2019
[    0.000000] Found initrd at 0xc000000028200000:0xc000000028200800
[    0.000000] Using PowerNV machine description
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 4 threads per core
[    0.000000] -----------------------------------------------------
[    0.000000] ppc64_pft_size    = 0x0
[    0.000000] phys_mem_size     = 0x80000000
[    0.000000] dcache_bsize      = 0x80
[    0.000000] icache_bsize      = 0x80
[    0.000000] cpu_features      = 0x000100ef8f5bb1a7
[    0.000000]   possible        = 0x0000fbffcf5fb1a7
[    0.000000]   always          = 0x00000003800081a1
[    0.000000] cpu_user_features = 0xdc006582 0xaee60000
[    0.000000] mmu_features      = 0x7c006001
[    0.000000] firmware_features = 0x0000000010000000
[    0.000000] htab_address      = 0x(____ptrval____)
[    0.000000] htab_hash_mask    = 0x3fff
[    0.000000] -----------------------------------------------------
[    0.000000] rfi-flush: fallback displacement flush available
[    0.000000] count-cache-flush: software flush disabled.
[    0.000000] stf-barrier: eieio barrier available
[    0.000000] OPAL nvram setup, 1048576 bytes
[    0.000000] barrier-nospec: using ORI speculation barrier
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] random: get_random_u64 called from start_kernel+0x98/0x64c with crng_init=0
[    0.000000] percpu: Embedded 2 pages/cpu s68224 r0 d62848 u131072
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32740
[    0.000000] Kernel command line: dhash_entries=16 ihash_entries=16
[    0.000000] Dentry cache hash table entries: 16 (order: -9, 128 bytes)
[    0.000000] Inode-cache hash table entries: 16 (order: -9, 128 bytes)
[    0.000000] Memory: 2012736K/2097152K available (3008K kernel code, 512K rwdata, 896K rodata, 384K init, 383K bss, 84416K reserved, 0K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=8.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8
[    0.000000] NR_IRQS: 128, nr_irqs: 128, preallocated irqs: 16
[   30.000499489,7] XIVE: XIVE reset. mode = 1
[   31.000341021,5] XIVE: [ IC 00  ] Resetting one xive...
[   31.000345830,7] XIVE: [ IC 00  ] freeing alloc map 0x31f60000/0x31f60000
[   31.000348127,7] XIVE: [ IC 00  ] Resetting ENDs...
[   32.000012127,7] XIVE: [ IC 00  ] Cleaning up 4 VP ind entries...
[   32.000013909,7] XIVE: [ IC 00  ]  0000 ... skip (firmware)
[   32.000016002,7] XIVE: [ IC 00  ] Cleaning up 32 END ind entries...
[   32.000017765,7] XIVE: [ IC 00  ]  0000 ... skip (firmware)
[   32.000087884,4] Spent 1196 msecs in OPAL call 128!
[    0.000000] xive: Interrupt handling initialized with native backend
[    0.000000] xive: Using priority 7 for all interrupts
[    0.000000] xive: Using 64kB queues
[    0.000000] (TRUNCATED) WARNING: CPU: 0 PID: 0 at arch/powernv/setup.c:181 pnv_init_IRQ
[    0.000003] time_init: 56 bit decrementer (max: 7fffffffffffff)
[    0.000155] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[    0.000416] clocksource: timebase mult[1f40000] shift[24] registered
[    0.000810] Console: colour dummy device 80x25
[    0.000924] printk: console [hvc0] enabled
[    0.000924] printk: console [hvc0] enabled
[    0.001035] printk: bootconsole [udbg0] disabled
[    0.001035] printk: bootconsole [udbg0] disabled
[    0.001167] pid_max: default: 32768 minimum: 301
[    0.001272] Mount-cache hash table entries: 8192 (order: 0, 65536 bytes)
[    0.001288] Mountpoint-cache hash table entries: 8192 (order: 0, 65536 bytes)
[    0.001720] (TRUNCATED) WARNING: CPU: 0 PID: 1 at /home/rgrimm/trees/p10/linux-mambo-awan/arch/powerpc/platforms/powernv/smp.c:324 pnv_smp_probe+0x68/0x9c
[    0.001866] EEH: PowerNV platform initialized
[    0.001880] GENERIC_COMPAT performance monitor hardware support registered
[    0.001922] rcu: Hierarchical SRCU implementation.
[    0.002095] smp: Bringing up secondary CPUs ...
[   35.000028734,7] OPAL: Start CPU 0x0018 (PIR 0x0018) -> 0x000000000000a8bc
[   35.000181359,7] OPAL: Start CPU 0x0019 (PIR 0x0019) -> 0x000000000000a8bc
[   35.000320499,7] OPAL: Start CPU 0x001a (PIR 0x001a) -> 0x000000000000a8bc
[   35.000456374,7] OPAL: Start CPU 0x001b (PIR 0x001b) -> 0x000000000000a8bc
[   36.000084174,7] OPAL: Start CPU 0x001d (PIR 0x001d) -> 0x000000000000a8bc
[   36.000226580,7] OPAL: Start CPU 0x001e (PIR 0x001e) -> 0x000000000000a8bc
[   36.000370301,7] OPAL: Start CPU 0x001f (PIR 0x001f) -> 0x000000000000a8bc
[    0.004042] smp: Brought up 1 node, 8 CPUs
[    0.004052] Using standard scheduler topology
[    0.005892] devtmpfs: initialized
[    0.007363] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.007388] futex hash table entries: 2048 (order: 2, 262144 bytes)
[    0.007573] NET: Registered protocol family 16
[    0.008899] PCI: Probing PCI hardware
[    0.009301] Could not allocate memory for dt parsing
[    0.010868] clocksource: Switched to clocksource timebase
[    0.013170] NET: Registered protocol family 1
[    0.013252] Unpacking initramfs...
[    0.013812] workingset: timestamp_bits=62 max_order=15 bucket_order=0
[    0.027233] hvc0: raw protocol on /ibm,opal/consoles/serial at 0 (boot console)
[    0.027254] hvc0: No interrupts property, using OPAL event
[    0.027964] powernv-cpufreq: ibm,pstate-min node not found
[    0.027977] powernv-cpufreq: Platform driver disabled. System does not support PState control
[    0.028034] drmem: No dynamic reconfiguration memory found
[    0.028458] Freeing unused kernel memory: 384K
[    0.028470] This architecture does not have kernel memory protection.
[    0.028483] Run /init as init process


 !!!!! BML booted !!!!!!!
-------------- next part --------------

[    0.000049808,5] OPAL v6.8-111-g26c98b7c0 starting...
[    0.000051803,7] initial console log level: memory 7, driver 5
[    0.000053397,6] CPU: P10 generation processor (max 4 threads/core)
[    0.000054862,7] CPU: Boot CPU PIR is 0x0000 PVR is 0x00801200
[    0.000056752,7] OPAL table: 0x3018a230 .. 0x3018a7f0, branch table: 0x30120000
[    0.000059093,7] Assigning physical memory map table for p10
[    0.000060789,7] FDT: Parsing fdt @0x1f00000
[    0.000190278,5] CHIP: Detected Awan emulator core model
[    0.000199104,7] XSTOP: ibm,sw-checkstop-fir prop not found
[    0.000216051,7] CPU: New max PIR set to 0x3
[    0.000230277,7] MEM: parsing reserved memory from reserved-names/-ranges properties
[    0.000233612,7] CPU: decrementer bits 56
[    0.000235670,6] CPU: CPU from DT PIR=0x0000 Server#=0x0 State=4
[    0.000238654,6] CPU:  4 secondary threads
[    0.000254595,5] PLAT: Detected generic platform
[    0.000255814,5] PLAT: Detected BMC platform generic
[    0.000295203,6] CPU: Setting up secondary CPU state
[    0.000296336,6] CPU: Calling in all processors...
[    0.000297502,7] INIT: CPU PIR 0x0001 called in
[    0.000297510,7] INIT: CPU PIR 0x0002 called in
[    0.000297509,7] INIT: CPU PIR 0x0003 called in
[    0.000300394,5] CPU: All 4 processors called in...
[    0.000309381,3] SBE: Master chip ID not found.
[    0.000310545,6] I2C: OCC flag reg: 6c0ac
[    0.000327541,3] BT: No BT device
[    0.000328833,6] NVRAM: Size is 1024 KB
[    0.000461096,3] NVRAM: Partition at offset 0x0 has incorrect 0 length
[    0.000462660,3] NVRAM: Re-initializing (size: 0x00100000)
[    0.000473063,7] NVRAM: Created 'ibm,skiboot' partition at 0x00000000 for size 0x00000100 with cksum 0xb5
[    0.000475679,7] NVRAM: Created 'common' partition at 0x00001000 for size 0x00001000 with cksum 0x0c
[    0.000478160,7] NVRAM: Created 'wwwwwwwwwwww' partition at 0x00011000 for size 0x0000ef00 with cksum 0x09
[    1.000099130,6] NVRAM: Layout appears sane
[    1.000101062,7] NVRAM: 'log-level-driver' not found
[    1.000102748,7] NVRAM: 'log-level-memory' not found
[    1.000104663,5] STB: secure boot not supported
[    1.000106184,5] STB: trusted boot not supported
[    1.000107315,6] FLASH: Loading VERSION section
[    1.000108893,4] FLASH: Failed to start loading VERSION data
[    1.000110787,3] IMC: Failed to load IMA_CATALOG: -16
[    1.000112261,6] OPAL: Using Dummy Console
[    1.000117677,3] OCC: dt node /ibm,opal/power-mgt not found
[    1.000119075,7] NVRAM: 'pci-eeh-verbose' not found
[    1.000120645,7] NVRAM: 'pcie-max-link-speed' not found
[    1.000122316,7] NVRAM: 'pci-tracing' not found
[    1.000132544,5] INIT: platform start load kernel failed
[    1.000154830,7] NVRAM: 'pci-eeh-mmio' not found
[    1.000156245,7] NVRAM: 'pci-retry-all' not found
[    1.000157667,7] NVRAM: 'phb-rx-err-max' not found
[    1.000159107,7] PHB5: Maximum RX errors during training: 8
[    1.000185620,6] NPU: Platform does not support NPU
[    1.000187882,5] PCI: Resetting PHBs and training links...
[    1.000190296,5] PCI: Probing slots...
[    1.000192341,5] PCI Summary:
[    1.000196925,7] UV mode off on cpu pir 0x0000
[    1.000198656,7] NVRAM: 'flat-trace-buf' not found
[    1.000202175,6] Releasing unused memory:
[    1.000203374,6]     ibm,firmware-heap: 1078912/10485760 used
[    1.000205469,6]     ibm,firmware-allocs-memory at 0: 1114112/1312620544 used
[    1.000209562,6] Reserved regions:
[    1.000210557,6]   0x000028100000..0000281fffff : ibm,fake-nvram
[    1.000214102,6]   0x000030000000..0000305fffff : ibm,firmware-code
[    1.000217901,6]   0x000030600000..000030ffffff : ibm,firmware-heap
[    1.000221633,6]   0x000031000000..000031c0ffff : ibm,firmware-data
[    1.000225481,6]   0x000031c10000..000031c2ffff : ibm,firmware-stacks
[    1.000229716,6]   0x000031c30000..000031d3ffff : ibm,firmware-allocs-memory at 0
[    1.000236486,5] INIT: Waiting for kernel...
[    1.000238081,5] INIT: platform wait for kernel load failed
[    1.000239550,7] INIT: Kernel image at 0x0
[    1.000242300,7] INIT: Kernel loaded, size: 0 bytes (0 = unknown preload)
[    1.000243936,3] INIT: ELF header not found. Assuming raw binary.
[    1.000256917,7] NVRAM: 'bootargs' not found
[    1.000386303,6] Free space in HEAP memory regions:
[    1.000390550,6] Region ibm,firmware-heap free: 878828
[    1.000392304,6] Region ibm,firmware-allocs-memory at 0 free: fff0
[    1.000394454,6] Total free: 8947736
[    1.000395760,7] INIT: stdout-path: /ibm,opal/consoles/serial at 0
[    1.000399353,5] INIT: Starting kernel at 0x0, fdt at 0x30707fb8 13536 bytes
[    5.000004595,7] OPAL: CPU re-init with flags: 0x6
[    5.000006000,6] OPAL: Switch to little-endian OS
[    5.000010018,7] CPU: [00000000] HID0 change 0x0400000000000000 -> 0x0c00000000000000
[    0.000000] dt-cpu-ftrs: setup for ISA 3100
[    0.000000] dt-cpu-ftrs: not enabling: debug-facilities-v31 (unknown and unsupported by kernel)
[    0.000000] dt-cpu-ftrs: not enabling: machine-check-power10 (unknown and unsupported by kernel)
[    0.000000] dt-cpu-ftrs: not enabling: mmu-radix (disabled or unsupported by kernel)
[    0.000000] dt-cpu-ftrs: not enabling: performance-monitor-power10 (unknown and unsupported by kernel)
[    0.000000] dt-cpu-ftrs: not enabling: system-call-vectored (disabled or unsupported by kernel)
[    0.000000] dt-cpu-ftrs: final cpu/mmu features = 0x000100ef8f5bb1a7 0x3c006001
[    0.000000] hash-mmu: Page sizes from device-tree:
[    0.000000] hash-mmu: base_shift=12: shift=12, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=0
[    0.000000] hash-mmu: base_shift=12: shift=16, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=7
[    0.000000] hash-mmu: base_shift=12: shift=24, sllp=0x0000, avpnm=0x00000000, tlbiel=1, penc=56
[    0.000000] hash-mmu: base_shift=16: shift=16, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=1
[    0.000000] hash-mmu: base_shift=16: shift=24, sllp=0x0110, avpnm=0x00000000, tlbiel=1, penc=8
[    0.000000] hash-mmu: base_shift=24: shift=24, sllp=0x0100, avpnm=0x00000001, tlbiel=0, penc=0
[    0.000000] hash-mmu: base_shift=34: shift=34, sllp=0x0120, avpnm=0x000007ff, tlbiel=0, penc=3
[    0.000000] Using 1TB segments
[    0.000000] hash-mmu: Partition table (____ptrval____)
[    0.000000] hash-mmu: Initializing hash mmu with SLB
[    0.000000] Linux version 5.1.0-00013-gbb7c30bdc784 (rgrimm at bml86) (gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04)) #35 SMP Mon Nov 18 09:53:29 CST 2019
[    0.000000] Found initrd at 0xc000000028200000:0xc000000028200800
[    0.000000] Using PowerNV machine description
[    0.000000] printk: bootconsole [udbg0] enabled
[    0.000000] CPU maps initialized for 4 threads per core
[    0.000000] -----------------------------------------------------
[    0.000000] ppc64_pft_size    = 0x0
[    0.000000] phys_mem_size     = 0x80000000
[    0.000000] dcache_bsize      = 0x80
[    0.000000] icache_bsize      = 0x80
[    0.000000] cpu_features      = 0x000100ef8f5bb1a7
[    0.000000]   possible        = 0x0000fbffcf5fb1a7
[    0.000000]   always          = 0x00000003800081a1
[    0.000000] cpu_user_features = 0xdc006582 0xaee60000
[    0.000000] mmu_features      = 0x7c006001
[    0.000000] firmware_features = 0x0000000010000000
[    0.000000] htab_address      = 0x(____ptrval____)
[    0.000000] htab_hash_mask    = 0x3ffff
[    0.000000] -----------------------------------------------------
[    0.000000] rfi-flush: fallback displacement flush available
[    0.000000] count-cache-flush: software flush disabled.
[    0.000000] stf-barrier: eieio barrier available
[    0.000000] OPAL nvram setup, 1048576 bytes
[    0.000000] barrier-nospec: using ORI speculation barrier
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000007fffffff]
[    0.000000] random: get_random_u64 called from start_kernel+0x98/0x54c with crng_init=0
[    0.000000] percpu: Embedded 26 pages/cpu s67712 r0 d38784 u262144
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 517120
[    0.000000] Kernel command line:
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1989260K/2097152K available (4588K kernel code, 404K rwdata, 1492K rodata, 304K init, 427K bss, 107892K reserved, 0K cma-reserved)
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=128 to nr_cpu_ids=4.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 128, nr_irqs: 128, preallocated irqs: 16
[    0.000000] XICS: Cannot find a Presentation Controller !
[    0.000000] (TRUNCATED) WARNING: CPU: 0 PID: 0 at arch/powernv/setup.c:181 pnv_init_IRQ
[    0.000002] time_init: 56 bit decrementer (max: 7fffffffffffff)
[    0.000118] clocksource: timebase: mask: 0xffffffffffffffff max_cycles: 0x761537d007, max_idle_ns: 440795202126 ns
[    0.000315] clocksource: timebase mult[1f40000] shift[24] registered
[    0.000569] Console: colour dummy device 80x25
[    0.000656] printk: console [hvc0] enabled
[    0.000656] printk: console [hvc0] enabled
[    0.000740] printk: bootconsole [udbg0] disabled
[    0.000740] printk: bootconsole [udbg0] disabled
[    0.000840] pid_max: default: 32768 minimum: 301
[    0.000902] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000914] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.001176] (TRUNCATED) WARNING: CPU: 0 PID: 1 at /home/rgrimm/trees/p10/linux-mambo-awan/arch/powerpc/platforms/powernv/smp.c:324 pnv_smp_probe+0x68/0x9c
[    0.001293] EEH: PowerNV platform initialized
[    0.001303] GENERIC_COMPAT performance monitor hardware support registered
[    0.001335] rcu: Hierarchical SRCU implementation.
[    0.001453] smp: Bringing up secondary CPUs ...
[   41.000221314,7] OPAL: Start CPU 0x0001 (PIR 0x0001) -> 0x000000000000a8bc
[   41.000345977,7] OPAL: Start CPU 0x0002 (PIR 0x0002) -> 0x000000000000a8bc
[   41.000470751,7] OPAL: Start CPU 0x0003 (PIR 0x0003) -> 0x000000000000a8bc
[    0.002191] smp: Brought up 1 node, 4 CPUs
[    0.002199] Using standard scheduler topology
[    0.002455] devtmpfs: initialized
[    0.003536] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.003555] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.003663] NET: Registered protocol family 16
[    0.004234] PCI: Probing PCI hardware
[    0.004538] opal: PowerMgmt Node not found
[    0.006226] clocksource: Switched to clocksource timebase
[    0.008365] NET: Registered protocol family 1
[    0.008422] Unpacking initramfs...
[    0.008850] workingset: timestamp_bits=62 max_order=19 bucket_order=0
[    0.009070] SGI XFS with ACLs, security attributes, realtime, debug enabled
[    0.010379] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.010393] io scheduler mq-deadline registered
[    0.010403] io scheduler kyber registered
[    0.023057] hvc0: raw protocol on /ibm,opal/consoles/serial at 0 (boot console)
[    0.023072] hvc0: No interrupts property, using OPAL event
[    0.023766] powernv-cpufreq: power-mgt node not found
[    0.023777] powernv-cpufreq: Platform driver disabled. System does not support PState control
[    0.023805] drmem: No dynamic reconfiguration memory found
[    0.025972] nd_pmem namespace0.0: unable to guarantee persistence of writes
[    0.026446] Freeing unused kernel memory: 304K
[    0.026455] This architecture does not have kernel memory protection.
[    0.026466] Run /init as init process


 !!!!! BML booted !!!!!!!


More information about the Skiboot mailing list