xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 1/2] xen/setup: Remove Identity Map Debug Message
@ 2014-08-11 17:34 Matt Rushton
  2014-08-11 17:34 ` [PATCH v3 2/2] xen/setup: Remap Xen Identity Mapped RAM Matt Rushton
  0 siblings, 1 reply; 7+ messages in thread
From: Matt Rushton @ 2014-08-11 17:34 UTC (permalink / raw)
  To: konrad.wilk, boris.ostrovsky, david.vrabel
  Cc: msw, linux-kernel, xen-devel, Matt Rushton

Removing a debug message for setting the identity map since it becomes
rather noisy after rework of the identity map code.

Signed-off-by: Matthew Rushton <mrushton@amazon.com>
---
 arch/x86/xen/p2m.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c
index 9bb3d82..3172692 100644
--- a/arch/x86/xen/p2m.c
+++ b/arch/x86/xen/p2m.c
@@ -841,10 +841,9 @@ unsigned long __init set_phys_range_identity(unsigned long pfn_s,
 			pfn = ALIGN(pfn, P2M_PER_PAGE);
 	}
 
-	if (!WARN((pfn - pfn_s) != (pfn_e - pfn_s),
+	WARN((pfn - pfn_s) != (pfn_e - pfn_s),
 		"Identity mapping failed. We are %ld short of 1-1 mappings!\n",
-		(pfn_e - pfn_s) - (pfn - pfn_s)))
-		printk(KERN_DEBUG "1-1 mapping on %lx->%lx\n", pfn_s, pfn);
+		(pfn_e - pfn_s) - (pfn - pfn_s));
 
 	return pfn - pfn_s;
 }
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [PATCH v3 1/2] xen/setup: Remove Identity Map Debug Message
@ 2014-08-11 18:57 Matt Rushton
  2014-08-11 18:57 ` [PATCH v3 2/2] xen/setup: Remap Xen Identity Mapped RAM Matt Rushton
  0 siblings, 1 reply; 7+ messages in thread
From: Matt Rushton @ 2014-08-11 18:57 UTC (permalink / raw)
  To: konrad.wilk, boris.ostrovsky, david.vrabel
  Cc: msw, linux-kernel, xen-devel, Matt Rushton

Removing a debug message for setting the identity map since it becomes
rather noisy after rework of the identity map code.

Signed-off-by: Matthew Rushton <mrushton@amazon.com>
---
v3: One line change to fix 32-bit mfn casting issue with MMU_MACHPHYS_UPDATE 
---
 arch/x86/xen/p2m.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/x86/xen/p2m.c b/arch/x86/xen/p2m.c
index 9bb3d82..3172692 100644
--- a/arch/x86/xen/p2m.c
+++ b/arch/x86/xen/p2m.c
@@ -841,10 +841,9 @@ unsigned long __init set_phys_range_identity(unsigned long pfn_s,
 			pfn = ALIGN(pfn, P2M_PER_PAGE);
 	}
 
-	if (!WARN((pfn - pfn_s) != (pfn_e - pfn_s),
+	WARN((pfn - pfn_s) != (pfn_e - pfn_s),
 		"Identity mapping failed. We are %ld short of 1-1 mappings!\n",
-		(pfn_e - pfn_s) - (pfn - pfn_s)))
-		printk(KERN_DEBUG "1-1 mapping on %lx->%lx\n", pfn_s, pfn);
+		(pfn_e - pfn_s) - (pfn - pfn_s));
 
 	return pfn - pfn_s;
 }
-- 
1.7.9.5

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

end of thread, other threads:[~2014-08-27 10:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 17:34 [PATCH v3 1/2] xen/setup: Remove Identity Map Debug Message Matt Rushton
2014-08-11 17:34 ` [PATCH v3 2/2] xen/setup: Remap Xen Identity Mapped RAM Matt Rushton
2014-08-11 17:40   ` David Vrabel
2014-08-11 17:41   ` Matt Wilson
2014-08-11 19:00     ` Matthew Rushton
2014-08-27 10:28   ` David Vrabel
  -- strict thread matches above, loose matches on Subject: below --
2014-08-11 18:57 [PATCH v3 1/2] xen/setup: Remove Identity Map Debug Message Matt Rushton
2014-08-11 18:57 ` [PATCH v3 2/2] xen/setup: Remap Xen Identity Mapped RAM Matt Rushton

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