diff mbox series

ARM: mm: Remove virtual address print from B15 RAC driver

Message ID 20200506233708.422-1-f.fainelli@gmail.com (mailing list archive)
State Mainlined
Commit 446937a5056fed6c8bea4306eb0249bd5c50ce5e
Headers show
Series ARM: mm: Remove virtual address print from B15 RAC driver | expand

Commit Message

Florian Fainelli May 6, 2020, 11:37 p.m. UTC
We would be trying to print the kernel virtual address of the base
register address which is not very useful and is not displayed by
default because of pointer restriction. Print the Device Tree node name
instead which is what was originally intended.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
Russell, if this is okay with you, I would like to carry this through
the Broadcom ARM SoC pull request. Thank you

 arch/arm/mm/cache-b15-rac.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Comments

Florian Fainelli May 10, 2020, 7:52 p.m. UTC | #1
On 5/6/2020 4:37 PM, Florian Fainelli wrote:
> We would be trying to print the kernel virtual address of the base
> register address which is not very useful and is not displayed by
> default because of pointer restriction. Print the Device Tree node name
> instead which is what was originally intended.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Applied to soc/next, thanks!
diff mbox series

Patch

diff --git a/arch/arm/mm/cache-b15-rac.c b/arch/arm/mm/cache-b15-rac.c
index 3471fc64a3ae..bdc07030997b 100644
--- a/arch/arm/mm/cache-b15-rac.c
+++ b/arch/arm/mm/cache-b15-rac.c
@@ -358,8 +358,7 @@  static int __init b15_rac_init(void)
 	set_bit(RAC_ENABLED, &b15_rac_flags);
 	spin_unlock(&rac_lock);
 
-	pr_info("Broadcom Brahma-B15 readahead cache at: 0x%p\n",
-		b15_rac_base + RAC_CONFIG0_REG);
+	pr_info("%pOF: Broadcom Brahma-B15 readahead cache\n", dn);
 
 	goto out;