[Skiboot] [PATCH v2 00/11] Timer improvements series
Reza Arbab
arbab at linux.ibm.com
Wed Jan 15 03:34:57 AEDT 2025
On Tue, Jan 14, 2025 at 09:46:41PM +1000, Nicholas Piggin wrote:
>The P10 SBE runs slow on some hardware which causes the SBE
>system to timeout, among other issues. Hunting that down and
>working around it ran into some other issues too, resulting
>in this pretty big series.
Now that the tests are building, ci has caught something. I haven't dug
further, but you can recreate with:
P9MAMBO_PATH=~/src/mambo \
P9MAMBO_BINARY=bin/systemsim-p9 \
LIB_DIR=$P9MAMBO_PATH/lib \
make test/sreset_world/sreset_kernel/sreset_kernel.stb-check-stb-smt-p9-mambo
[ BOOT TEST ] test/sreset_world/sreset_kernel/sreset_kernel.stb-check-stb-smt-p9-mambo
spawn /home/arbab/src/mambo/bin/systemsim-p9 -n -f ../../test/sreset_world/run_sreset_world.tcl
Console XTerms Disabled
Licensed Materials - Property of IBM.
(C) Copyright IBM Corporation 2001, 2024
All Rights Reserved.
Using initial run script ../../test/sreset_world/run_sreset_world.tcl
Starting mambo on *arbab-laptop* (pid = 72389) at Tue Jan 14 10:26:11 2025
With command: /home/arbab/src/mambo/bin/systemsim-p9 -n -f ../../test/sreset_world/run_sreset_world.tcl
QTrace not available: can't find package BCast
Cache sizes ==> L1D is 0 bytes, L1I is 0 bytes, L2 is 1048576 bytes, L3 is 4194304 bytes
No network support selected
INFO: 0: (0): !!!!!! Simulator now in TURBO mode !!!!!!
1435042: (2934900): [ 0.000209747,5] OPAL v7.1-92-g819753e57919 starting...
1435042: (2934900): [ 0.000216925,7] initial console log level: memory 7, driver 5
1435042: (2934900): [ 0.000222604,6] CPU: P9 generation processor (max 4 threads/core)
1435042: (2934900): [ 0.000228131,7] CPU: Boot CPU PIR is 0x0000 PVR is 0x004e1203
1435042: (2934900): [ 0.000234683,7] OPAL table: 0x3018b660 .. 0x3018bc00, branch table: 0x30120000
1435042: (2934900): [ 0.000243243,7] Assigning physical memory map table for nimbus
1435042: (2934900): [ 0.000249464,7] FDT: Parsing fdt @0x1f00000
1435042: (2934900): [ 0.001430892,5] Enabling Mambo console
1439613: (2939471): [ 0.001435266,5] CHIP: Detected Mambo simulator
1532226: (3132069): [ 0.001526143,5] CHIP: Chip ID 0000 type: P9N DD2.30
1834869: (3734667): [ 0.001830181,5] PLAT: Detected Mambo platform
2169861: (4273756): [ 0.002165027,5] CPU: All 2 processors called in...
WARNING: 2318214: (4521348): Invalid address 0xFFFFFFFFFFFFFFFF in XSCOM range, SCOM=0xffffffffffffffff
WARNING: 2318214: (4521348): Attempt to store non-existent address 0x00001A0000680280
2318214: (4521348): 0:0:0: 0x0000000030047CE4 : stdcix r27,r0,r3
2323786: (4526920): [ 0.002318521,3] ***********************************************
2744684: (4947818): [ 0.002715316,3] Fatal MCE at 0000000030047ce4 .__xscom_write+0x68 MSR 9000000000001002
2752360: (4955494): [ 0.002746418,3] Cause: unknown error
2759053: (4962187): [ 0.002752627,3] CFAR : 0000000030114cd8 MSR : 9000000000001002
2765726: (4968860): [ 0.002759300,3] SRR0 : 0000000030047ce4 SRR1 : 9000000000001002
2772399: (4975533): [ 0.002765973,3] HSRR0: 0000000030020024 HSRR1: 9000000030001000
2778814: (4981948): [ 0.002772646,3] DSISR: 00000000 DAR : 00001a0000680280
2785274: (4988408): [ 0.002779061,3] LR : 0000000030047ce0 CTR : 0000000000000000
2791196: (4994330): [ 0.002785521,3] CR : 40004002 XER : 20040000
2798476: (5001610): [ 0.002791446,3] GPR00: 0000000030047ce0 GPR16: 0000000031c10000
2805766: (5008900): [ 0.002798728,3] GPR01: 0000000031c13780 GPR17: 00000000300031bc
2813056: (5016190): [ 0.002806018,3] GPR02: 0000000030193600 GPR18: 0000000030000000
2820402: (5023536): [ 0.002813308,3] GPR03: 00001a0000680280 GPR19: 0000000030141f75
2827650: (5030784): [ 0.002820654,3] GPR04: 00000000000d0050 GPR20: 0000000030141f86
2834982: (5038116): [ 0.002827902,3] GPR05: 000002010001d401 GPR21: 0000000030274f80
2842174: (5045308): [ 0.002835234,3] GPR06: 0000000000000001 GPR22: 0000000030120ec6
2849274: (5052408): [ 0.002842426,3] GPR07: 0000000000000058 GPR23: 0000000000000000
2856466: (5059600): [ 0.002849526,3] GPR08: 0000000031c10068 GPR24: 0000000000000001
2863812: (5066946): [ 0.002856718,3] GPR09: 00001a0000000000 GPR25: 0000000030141f58
2871120: (5074254): [ 0.002864064,3] GPR10: 0000000000000002 GPR26: ff3ff8ffffffffff
2878363: (5081497): [ 0.002871372,3] GPR11: 0000000000000009 GPR27: 000002010001d401
2885556: (5088690): [ 0.002878615,3] GPR12: 0000000020004002 GPR28: 0000000000000000
2892643: (5095777): [ 0.002885808,3] GPR13: 0000000000000000 GPR29: 0000000000000000
2899794: (5102928): [ 0.002892895,3] GPR14: 0000000000000000 GPR30: 00000000000d0050
2906987: (5110121): [ 0.002900046,3] GPR15: 0000000000000000 GPR31: 000000003060ab28
6024700: (8227834): CPU 0000 Backtrace:
6024700: (8227834): S: 0000000031c13a90 R: 0000000030047ce0 .__xscom_write+0x64
6024700: (8227834): S: 0000000031c13b40 R: 00000000300482ec ._xscom_write+0xd0
6024700: (8227834): S: 0000000031c13bf0 R: 000000003007ec40 .p9_sbe_msg_send+0x74
6024700: (8227834): S: 0000000031c13c90 R: 000000003007f92c .p9_sbe_test+0x70
6024700: (8227834): S: 0000000031c13d40 R: 0000000030080364 .p9_sbe_init+0x1c4
6024700: (8227834): S: 0000000031c13e20 R: 00000000300230f4 .main_cpu_entry+0x670
6024700: (8227834): S: 0000000031c13f00 R: 000000003000321c go_primary+0x10c
6024700: (8227834): --- OPAL boot ---
INFO: 6024996: (8228131): ** Execution stopped: Sim Support exit requested stop, **
6024996: ** finished running 8228131 instructions **
Exiting mambo at Tue Jan 14 10:26:12 2025
Elapsed wall time: 0:00:01 (cpu time: 0:00:00)
Time distribution: sys=0:00:00; user=0:00:00
Memory usage: max(144604), share(0), data(0), stack(0)
Unexpected EOF
--
Reza Arbab
More information about the Skiboot
mailing list