Bug 1223620 - MI300A: [maintainance update] Debugfs entry for Persistence feature to work (FMP CPER)
Summary: MI300A: [maintainance update] Debugfs entry for Persistence feature to work (...
Status: RESOLVED FIXED
Alias: None
Product: PUBLIC SUSE Linux Enterprise Server 15 SP5
Classification: openSUSE
Component: Kernel (show other bugs)
Version: unspecified
Hardware: x86-64 Linux
: P5 - None : Normal
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-02 05:39 UTC by Muralidhara MK
Modified: 2024-05-06 06:39 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
dmesg (75.53 KB, text/plain)
2024-05-06 06:26 UTC, Muralidhara MK
Details
test logs (37.54 KB, text/plain)
2024-05-06 06:27 UTC, Muralidhara MK
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Muralidhara MK 2024-05-02 05:39:40 UTC
This bug is created in reference to https://jira.suse.com/browse/AMD-131


As mentioned in comment : https://jira.suse.com/browse/AMD-131?focusedId=1338120&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1338120

Observed debugfs is not created when the FMPM module in initialized.

This is observed when I tested on zypper updated kernel version "5.14.21-150500.55.52-default".
For persistence feature to work debugfs should be created.

muralimk@ppac-1e707-b04-8:~> sudo ls /sys/kernel/debug/ras/fmpm
ls: cannot access '/sys/kernel/debug/ras/fmpm': No such file or directory


But, When I cloned SLE15-SP5 branch from https://github.com/SUSE/kernel.git and compiled, booted with these rpms, Observed "sys/kernel/debug/ras/fmpm/entries" are created.

This bug is created to remind if anything is missing in the maintainance update ?
Comment 2 Takashi Iwai 2024-05-03 08:37:12 UTC
Could you give the dmesg output?

Also check the kernel rpm changelog of your testing kernel whether it really contains the fix; there should be an entry with the reference of jsc#PED-7618.
The fix has been added recently, so just to be sure.
Comment 3 Muralidhara MK 2024-05-03 13:20:47 UTC
Hi. 
When i was testing with the maintainance release "5.14.21-150500.55.52-default" I was not able to see the debugfs entries.

Thanks. then I can test them in next maintainance update release.
Comment 4 Takashi Iwai 2024-05-03 13:27:59 UTC
I guess that kernel still doesn't contain the latest fixes.  You can test the very latest version of SLE15-SP5 kernel in OBS Kernel:SLE15-SP5 repo, too:
  http://download.opensuse.org/repositories/Kernel:/SLE15-SP5/pool/

The new kernel should contain the changelog line showing
 RAS/AMD/FMPM: Fix build when debugfs is not enabled (jsc#PED-7619).
Comment 5 Muralidhara MK 2024-05-06 06:26:14 UTC
Created attachment 874672 [details]
dmesg
Comment 6 Muralidhara MK 2024-05-06 06:27:28 UTC
Created attachment 874674 [details]
test logs
Comment 7 Muralidhara MK 2024-05-06 06:30:53 UTC
I have updated the kernel using zypper update and it is updated to .59 verison

muralimk@sh5-pla-rr10-48:~> uname -a
Linux sh5-pla-rr10-48 5.14.21-150500.55.59-default #1 SMP PREEMPT_DYNAMIC Thu Apr 18 12:59:33 UTC 2024 (e8ae24a) x86_64 x86_64 x86_64 GNU/Linux

I have tested and not observed any issues.
Results are attached:
dmesg log : https://bugzilla.suse.com/attachment.cgi?id=874672
Test log : https://bugzilla.suse.com/attachment.cgi?id=874674
Comment 8 Takashi Iwai 2024-05-06 06:39:45 UTC
Good to hear!  Let's close then.