mirror of
git://nv-tegra.nvidia.com/linux-hwpm.git
synced 2025-12-22 09:12:05 +03:00
tegra: hwpm: update hwpm readl/writel debug prints
Add dt_aperture address to hwpm readl/writel prints, this helps during debugs. THWPM-2 Change-Id: I2be3c9a5e2f023673c96e6f261a73117f0e2c6d4 Signed-off-by: Vedashree Vidwans <vvidwans@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2585980 Reviewed-by: svc_kernel_abi <svc_kernel_abi@nvidia.com> Reviewed-by: Seema Khowala <seemaj@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
8d085e2f74
commit
ba34af77a4
@@ -2009,8 +2009,9 @@ u32 hwpm_readl(struct tegra_soc_hwpm *hwpm,
|
||||
return 0;
|
||||
}
|
||||
|
||||
tegra_soc_hwpm_dbg("reg read: dt_aperture(%d), reg_offset(0x%x)",
|
||||
dt_aperture, reg_offset);
|
||||
tegra_soc_hwpm_dbg(
|
||||
"dt_aperture(%d): dt_aperture addr(0x%llx) reg_offset(0x%x)",
|
||||
dt_aperture, hwpm->dt_apertures[dt_aperture], reg_offset);
|
||||
|
||||
if (hwpm->fake_registers_enabled) {
|
||||
u64 base_pa = 0;
|
||||
@@ -2040,8 +2041,9 @@ void hwpm_writel(struct tegra_soc_hwpm *hwpm,
|
||||
}
|
||||
|
||||
tegra_soc_hwpm_dbg(
|
||||
"reg write: dt_aperture(%d), reg_offset(0x%x), val(0x%x)",
|
||||
dt_aperture, reg_offset, val);
|
||||
"dt_aperture(%d): dt_aperture addr(0x%llx) "
|
||||
"reg_offset(0x%x), val(0x%x)",
|
||||
dt_aperture, hwpm->dt_apertures[dt_aperture], reg_offset, val);
|
||||
|
||||
if (hwpm->fake_registers_enabled) {
|
||||
u64 base_pa = 0;
|
||||
|
||||
Reference in New Issue
Block a user