Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

platform/x86/amd/pmf: Add debug logs for pending requests and custom BIOS inputs

This patch adds debug logging capabilities to monitor early pending
requests and their associated custom BIOS inputs during runtime.

Co-developed-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Signed-off-by: Patil Rajesh Reddy <Patil.Reddy@amd.com>
Tested-by: Yijun Shen <Yijun.Shen@Dell.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Link: https://patch.msgid.link/20250901110140.2519072-10-Shyam-sundar.S-k@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>

authored by

Shyam Sundar S K and committed by
Ilpo Järvinen
2ab7713d 62214d94

+5
+4
drivers/platform/x86/amd/pmf/acpi.c
··· 353 353 return; 354 354 } 355 355 356 + dev_dbg(pmf_dev->dev, "Pending request (preq): 0x%x\n", pmf_dev->req.pending_req); 357 + 356 358 amd_pmf_handle_early_preq(pmf_dev); 357 359 } 358 360 ··· 370 368 dev_err(pmf_dev->dev, "Failed to get v1 SBIOS requests: %d\n", ret); 371 369 return; 372 370 } 371 + 372 + dev_dbg(pmf_dev->dev, "Pending request (preq1): 0x%x\n", pmf_dev->req1.pending_req); 373 373 374 374 amd_pmf_handle_early_preq(pmf_dev); 375 375 }
+1
drivers/platform/x86/amd/pmf/spc.c
··· 143 143 continue; 144 144 amd_pmf_set_ta_custom_bios_input(in, i, custom_policy[i]); 145 145 pdev->cb_prev.custom_bios_inputs[i] = custom_policy[i]; 146 + dev_dbg(pdev->dev, "Custom BIOS Input[%d]: %u\n", i, custom_policy[i]); 146 147 } 147 148 } 148 149