linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mm: Remove virtual address print from B15 RAC driver
@ 2020-05-06 23:37 Florian Fainelli
  2020-05-10 19:52 ` Florian Fainelli
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2020-05-06 23:37 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Florian Fainelli, maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE,
	Russell King, open list

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(-)

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;
 
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: mm: Remove virtual address print from B15 RAC driver
  2020-05-06 23:37 [PATCH] ARM: mm: Remove virtual address print from B15 RAC driver Florian Fainelli
@ 2020-05-10 19:52 ` Florian Fainelli
  0 siblings, 0 replies; 2+ messages in thread
From: Florian Fainelli @ 2020-05-10 19:52 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE, Russell King, open list



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!
-- 
Florian

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-10 19:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-06 23:37 [PATCH] ARM: mm: Remove virtual address print from B15 RAC driver Florian Fainelli
2020-05-10 19:52 ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).