Created attachment 277285 [details] dmesg (G5 7,3) Another time.c:154 warning is shown in the dmesg output. Machine is a PowerMac G5 7,3 (64bit kernel, 32bit userland). [ 1.881906] WARNING: CPU: 1 PID: 1 at arch/powerpc/platforms/powermac/time.c:154 .pmu_get_time+0x9c/0xd0 [ 1.881924] Modules linked in: [ 1.881934] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc3 #1 [ 1.881946] NIP: c00000000004e7ec LR: c00000000004e79c CTR: 0000000000000000 [ 1.881956] REGS: c00000027ec96ee0 TRAP: 0700 Tainted: G W (4.18.0-rc3) [ 1.881968] MSR: 9000000002029032 <SF,HV,VEC,EE,ME,IR,DR,RI> CR: 44000882 XER: 000fffff [ 1.881996] IRQMASK: 0 GPR00: c00000000004e79c c00000027ec97160 c000000000e58700 0000000000000021 GPR04: 0000000000000004 c00000000061d37c 0000000000000000 0000000000000021 GPR08: 0000000000000000 0000000000000001 0000000000000000 0000000000000000 GPR12: 0000000044000888 c00000000ffffc80 c00000000000bf50 0000000000000000 GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR24: c000000000aee1c0 c000000000dc2d38 c00000026b044b40 0000000000000000 GPR28: c00000027ec974d4 c00000026b459000 c00000026b459000 c00000027ec974d4 [ 1.882130] NIP [c00000000004e7ec] .pmu_get_time+0x9c/0xd0 [ 1.882140] LR [c00000000004e79c] .pmu_get_time+0x4c/0xd0 [ 1.882147] Call Trace: [ 1.882154] [c00000027ec97160] [c00000000004e79c] .pmu_get_time+0x4c/0xd0 (unreliable) [ 1.882169] [c00000027ec97240] [c00000000004ea34] .pmac_get_rtc_time+0x64/0x90 [ 1.882182] [c00000027ec972c0] [c00000000001ba50] .rtc_generic_get_time+0x30/0x50 [ 1.882198] [c00000027ec97330] [c00000000066dc1c] .__rtc_read_time+0x6c/0xd0 [ 1.882210] [c00000027ec973b0] [c00000000066dccc] .rtc_read_time+0x4c/0x90 [ 1.882223] [c00000027ec97440] [c00000000066eae4] .__rtc_read_alarm+0x54/0x4d0 [ 1.882236] [c00000027ec97530] [c00000000066d0d4] .rtc_device_register+0xa4/0x220 [ 1.882250] [c00000027ec97600] [c00000000066d2bc] .devm_rtc_device_register+0x6c/0x100 [ 1.882265] [c00000027ec976a0] [c000000000ae0c00] .generic_rtc_probe+0x2c/0x60 [ 1.882279] [c00000027ec97720] [c0000000005f9a6c] .platform_drv_probe+0x5c/0xe0 [ 1.882292] [c00000027ec977b0] [c0000000005f74c0] .driver_probe_device+0x2d0/0x410 [ 1.882305] [c00000027ec97850] [c0000000005f775c] .__driver_attach+0x15c/0x160 [ 1.882319] [c00000027ec978e0] [c0000000005f471c] .bus_for_each_dev+0xac/0x100 [ 1.882331] [c00000027ec97980] [c0000000005f6bc4] .driver_attach+0x24/0x40 [ 1.882343] [c00000027ec979f0] [c0000000005f62e8] .bus_add_driver+0x168/0x2d0 [ 1.882356] [c00000027ec97a90] [c0000000005f8278] .driver_register+0x88/0x190 [ 1.882369] [c00000027ec97b10] [c0000000005fa320] .__platform_driver_probe+0x80/0x180 [ 1.882382] [c00000027ec97ba0] [c000000000ae0bc0] .generic_rtc_driver_init+0x24/0x38 [ 1.882397] [c00000027ec97c10] [c00000000000bac8] .do_one_initcall+0x58/0x1d0 [ 1.882411] [c00000027ec97ce0] [c000000000ab70f0] .kernel_init_freeable+0x2c4/0x3bc [ 1.882425] [c00000027ec97db0] [c00000000000bf6c] .kernel_init+0x1c/0x150 [ 1.882438] [c00000027ec97e30] [c00000000000a9b8] .ret_from_kernel_thread+0x58/0xa0 [ 1.882449] Instruction dump: [ 1.882458] 88e10097 6129b07f 5508801e 5463c00e 7c634214 554a402e 7c635214 7c633a14 [ 1.882482] 78630020 7d234810 78690fe0 7d290194 <0b090000> 3c6383da 39234f80 382100e0 [ 1.882506] irq event stamp: 415 [ 1.882514] hardirqs last enabled at (415): [<c0000000000e1964>] .console_unlock+0x624/0x740 [ 1.882528] hardirqs last disabled at (414): [<c0000000000e1438>] .console_unlock+0xf8/0x740 [ 1.882542] softirqs last enabled at (0): [<c000000000062f6c>] .copy_process.isra.5.part.6+0x42c/0x1a00 [ 1.882555] softirqs last disabled at (0): [<0000000000000000>] (null) [ 1.882566] ---[ end trace 4af83ce30982e3a5 ]---
Created attachment 277601 [details] dmesg (G5 7,3) 4.18-rc6 4.18-rc6: Jul 11 02:38:03 T800 kernel: WARNING: CPU: 1 PID: 1 at arch/powerpc/platforms/powermac/time.c:154 .pmu_get_time+0x9c/0xd0 Jul 11 02:38:03 T800 kernel: Modules linked in: Jul 11 02:38:03 T800 kernel: CPU: 1 PID: 1 Comm: swapper/0 Tainted: G W 4.18.0-rc6 #1 Jul 11 02:38:03 T800 kernel: NIP: c00000000004e7ec LR: c00000000004e79c CTR: 0000000000000000 Jul 11 02:38:03 T800 kernel: REGS: c00000027ec96ee0 TRAP: 0700 Tainted: G W (4.18.0-rc6) Jul 11 02:38:03 T800 kernel: MSR: 9000000002029032 <SF,HV,VEC,EE,ME,IR,DR,RI> CR: 44000882 XER: 000fffff Jul 11 02:38:03 T800 kernel: IRQMASK: 0 GPR00: c00000000004e79c c00000027ec97160 c000000000e58800 0000000000000021 GPR04: 0000000000000004 c00000000061cffc 0000000000000000 0000000000000021 GPR08: 0000000000000000 0000000000000001 0000000000000000 0000000000000000 GPR12: 0000000044000888 c00000000ffffc80 c00000000000bf50 0000000000000000 GPR16: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR20: 0000000000000000 0000000000000000 0000000000000000 0000000000000000 GPR24: c000000000aee0c0 c000000000dc2d38 c00000026b044960 0000000000000000 GPR28: c00000027ec974d4 c00000026b45b800 c00000026b45b800 c00000027ec974d4 Jul 11 02:38:03 T800 kernel: NIP [c00000000004e7ec] .pmu_get_time+0x9c/0xd0 Jul 11 02:38:03 T800 kernel: LR [c00000000004e79c] .pmu_get_time+0x4c/0xd0 Jul 11 02:38:03 T800 kernel: Call Trace: Jul 11 02:38:03 T800 kernel: Instruction dump: Jul 11 02:38:03 T800 kernel: 419efeb4 3d2200c4 39291dc0 81290000 2f890000 409efea0 3c82ffc1 3c62ffbb Jul 11 02:38:03 T800 kernel: 3884c478 38633668 4bf935f9 60000000 <0fe00000> 4bfffe80 60000000 60000000 Jul 11 02:38:03 T800 kernel: irq event stamp: 415 Jul 11 02:38:03 T800 kernel: hardirqs last enabled at (415): [<c0000000000e1b44>] .console_unlock+0x624/0x740 Jul 11 02:38:03 T800 kernel: hardirqs last disabled at (414): [<c0000000000e1618>] .console_unlock+0xf8/0x740 Jul 11 02:38:03 T800 kernel: softirqs last enabled at (0): [<c000000000063068>] .copy_process.isra.5.part.6+0x428/0x1990 Jul 11 02:38:03 T800 kernel: softirqs last disabled at (0): [<0000000000000000>] (null) Jul 11 02:38:03 T800 kernel: ---[ end trace 059751a6f8ad2fd7 ]---
Created attachment 278915 [details] dmesg (G5 7,3) 4.19-rc6
Have not seen this again on the G5 7,3 since kernel 5.1.x, 5.2.x, nor on 5.3.x. Will close the bug for now and hopefully it does not return. ;)