Bug 1769324 - ppc64_cpu --smt=off reports "pnv_smp_cpu_kill_self+0x48/0x2a0" WARNING on baremetal
Summary: ppc64_cpu --smt=off reports "pnv_smp_cpu_kill_self+0x48/0x2a0" WARNING on ba...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: powerpc-utils
Version: 31
Hardware: ppc64le
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vasant Hegde
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2019-11-06 11:58 UTC by Michel Normand
Modified: 2020-11-04 11:11 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 11:11:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michel Normand 2019-11-06 11:58:06 UTC
ppc64_cpu --smt=off reports "pnv_smp_cpu_kill_self+0x48/0x2a0" WARNING  on baremetal P8 host for each CPU

The root console is filled by Warning messages for each cpu
===
[ 2050.296479] WARNING: CPU: 10 PID: 0 at arch/powerpc/platforms/powernv/smp.c:160 pnv_smp_cpu_kill_self+0x48/0x2a0
[ 2050.296483] Modules linked in: kvm_hv kvm_pr kvm xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 iptable_mangle iptable_nat ebtable_filter ebtables ip6_tables iptable_filter bridge stp llc tun cfg80211 rfkill openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 sunrpc at24 regmap_i2c joydev i2c_opal vmx_crypto ofpart powernv_flash rtc_opal crct10dif_vpmsum ipmi_powernv ipmi_devintf ipmi_msghandler opal_prd mtd powernv_rng ip_tables xfs libcrc32c ast i2c_algo_bit drm_vram_helper ttm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm drm_panel_orientation_quirks i2c_core crc32c_vpmsum tg3 uas usb_storage
[ 2050.296526] CPU: 10 PID: 0 Comm: swapper/10 Tainted: G        W         5.3.8-300.fc31.ppc64le #1
[ 2050.296528] NIP:  c0000000000bbed8 LR: c000000000054ef4 CTR: c0000000000bbe90
[ 2050.296530] REGS: c000003c98a23990 TRAP: 0700   Tainted: G        W          (5.3.8-300.fc31.ppc64le)
[ 2050.296531] MSR:  9000000000029033 <SF,HV,EE,ME,IR,DR,RI,LE>  CR: 88004422  XER: 00000000
[ 2050.296535] CFAR: c000000000054ef0 IRQMASK: 1 
[ 2050.296535] GPR00: c000000000054ef4 c000003c98a23c20 c000000001771f00 0000000000000000
[ 2050.296535] GPR04: c000003ca5a97600 c000000001799cf8 0000000000000050 0000000000000001
[ 2050.296535] GPR08: 0000000000000000 0000000000000001 0000000000000000 0000000000000000
[ 2050.296535] GPR12: c0000000000bbe90 c000003fff797980 c000003ff4353f90 0000000000064204
[ 2050.296535] GPR16: 000001000720fe80 0000000000064210 c000000000052620 c000000000052620
[ 2050.296535] GPR20: c00000000179c1a4 0000000000000050 0000000000000000 c000000001799cf8
[ 2050.296535] GPR24: 0000000000000001 000000000000000a 0000000000000001 0000000000080000
[ 2050.296535] GPR28: c00000000179c030 0000000000000001 000000000000000a c00000000179bdd8
[ 2050.296552] NIP [c0000000000bbed8] pnv_smp_cpu_kill_self+0x48/0x2a0
[ 2050.296555] LR [c000000000054ef4] cpu_die+0x44/0x60
[ 2050.296556] Call Trace:
[ 2050.296558] [c000003c98a23c20] [c000003c98e5f000] 0xc000003c98e5f000 (unreliable)
[ 2050.296561] [c000003c98a23e00] [c000000000054ef4] cpu_die+0x44/0x60
[ 2050.296563] [c000003c98a23e20] [c000000000024180] arch_cpu_idle_dead+0x20/0x40
[ 2050.296566] [c000003c98a23e40] [c000000000173db4] do_idle+0x274/0x3b0
[ 2050.296569] [c000003c98a23ec0] [c00000000017412c] cpu_startup_entry+0x3c/0x50
[ 2050.296571] [c000003c98a23ef0] [c000000000054c30] start_secondary+0x630/0x660
[ 2050.296574] [c000003c98a23f90] [c00000000000b35c] start_secondary_prolog+0x10/0x14
[ 2050.296575] Instruction dump:
[ 2050.296577] fb01ffc0 fb21ffc8 fb41ffd0 fb61ffd8 fb81ffe0 fba1ffe8 fbc1fff0 fbe1fff8
[ 2050.296580] f8010010 f821fe21 892d0988 552907fe <0b090000> 39200002 7d210164 39400003
[ 2050.296584] ---[ end trace 5339fdc1ebf2ca09 ]---
[ 2050.616429] WARNING: CPU: 11 PID: 0 at arch/powerpc/platforms/powernv/smp.c:160 pnv_smp_cpu_kill_self+0x48/0x2a0
===


Version-Release number of selected component (if applicable):
=== 
$whereis ppc64_cpu 
ppc64_cpu: /usr/sbin/ppc64_cpu /usr/share/man/man8/ppc64_cpu.8.gz
===
$rpm -qf /usr/sbin/ppc64_cpu
powerpc-utils-1.3.6-3.fc31.ppc64le
===

How reproducible:
execute "ppc64_cpu smt=off" on a baremetal powerPC host.

* Problem initially discovered on f31, but present also on f30.
* above tried on P8 host, not tested yet on P9.

Comment 1 Michel Normand 2019-11-06 12:08:35 UTC
I forgot to specify above that above cpu warning and trace lines are reported on root console but not in journalctl.

Comment 2 Michel Normand 2019-11-06 15:00:11 UTC
* same problem on P9 with f30, kernel 5.3.8-200 and powerpc-utils-1.3.6

Comment 3 Ben Cotton 2020-11-03 15:45:15 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Vasant Hegde 2020-11-04 11:11:42 UTC
I don't think this bug is anything to do with powerpc-utils package. Its a kernel issue.

Hence closing this bug. If yo hit issue on latest supported distro, please open bug against distro.

-Vasant


Note You need to log in before you can comment on or make changes to this bug.