All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20140613085640.GA21018@arm.com>

diff --git a/a/1.txt b/N1/1.txt
index 6e58c10..3115c5c 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -22,7 +22,7 @@ On Fri, Jun 13, 2014 at 08:12:08AM +0100, Denis Kirjanov wrote:
 > >> >>> relevant.
 > >> >>> I'll try to bisect it.
 > >> >>
-> >> >> Does this happen soon after boot? I guess it’s the first scan
+> >> >> Does this happen soon after boot? I guess ita??s the first scan
 > >> >> (scheduled at around 1min after boot). Something seems to be telling
 > >> >> kmemleak that there is a valid memory block at 0xc00000007f000000.
 > >> >
@@ -69,37 +69,3 @@ d4c54919ed863020 causes this issue.
 (also cc'ing the powerpc list and maintainers)
 
 ---------------8<--------------------------
-
->From 09a7f1c97166c7bdca7ca4e8a4ff2774f3706ea3 Mon Sep 17 00:00:00 2001
-From: Catalin Marinas <catalin.marinas@arm.com>
-Date: Fri, 13 Jun 2014 09:44:21 +0100
-Subject: [PATCH] powerpc/kmemleak: Do not scan the DART table
-
-The DART table allocation is registered to kmemleak via the
-memblock_alloc_base() call. However, the DART table is later unmapped
-and dart_tablebase VA no longer accessible. This patch tells kmemleak
-not to scan this block and avoid an unhandled paging request.
-
-Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
-Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
-Cc: Paul Mackerras <paulus@samba.org>
----
- arch/powerpc/sysdev/dart_iommu.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c
-index 62c47bb76517..9e5353ff6d1b 100644
---- a/arch/powerpc/sysdev/dart_iommu.c
-+++ b/arch/powerpc/sysdev/dart_iommu.c
-@@ -476,6 +476,11 @@ void __init alloc_dart_table(void)
- 	 */
- 	dart_tablebase = (unsigned long)
- 		__va(memblock_alloc_base(1UL<<24, 1UL<<24, 0x80000000L));
-+	/*
-+	 * The DART space is later unmapped from the kernel linear mapping and
-+	 * accessing dart_tablebase during kmemleak scanning will fault.
-+	 */
-+	kmemleak_no_scan((void *)dart_tablebase);
- 
- 	printk(KERN_INFO "DART table allocated at: %lx\n", dart_tablebase);
- }
diff --git a/a/content_digest b/N1/content_digest
index c14ecf1..fa9c8e8 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -12,9 +12,10 @@
  "To\0Denis Kirjanov <kda@linux-powerpc.org>\0"
  "Cc\0linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>"
   linux-mm@kvack.org <linux-mm@kvack.org>
-  Paul Mackerras <paulus@samba.org>
   Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
- " linuxppc-dev@lists.ozlabs.org\0"
+  linuxppc-dev@lists.ozlabs.org
+  Benjamin Herrenschmidt <benh@kernel.crashing.org>
+ " Paul Mackerras <paulus@samba.org>\0"
  "\00:1\0"
  "b\0"
  "On Fri, Jun 13, 2014 at 08:12:08AM +0100, Denis Kirjanov wrote:\n"
@@ -41,7 +42,7 @@
  "> >> >>> relevant.\n"
  "> >> >>> I'll try to bisect it.\n"
  "> >> >>\n"
- "> >> >> Does this happen soon after boot? I guess it\342\200\231s the first scan\n"
+ "> >> >> Does this happen soon after boot? I guess ita??s the first scan\n"
  "> >> >> (scheduled at around 1min after boot). Something seems to be telling\n"
  "> >> >> kmemleak that there is a valid memory block at 0xc00000007f000000.\n"
  "> >> >\n"
@@ -87,40 +88,6 @@
  "\n"
  "(also cc'ing the powerpc list and maintainers)\n"
  "\n"
- "---------------8<--------------------------\n"
- "\n"
- ">From 09a7f1c97166c7bdca7ca4e8a4ff2774f3706ea3 Mon Sep 17 00:00:00 2001\n"
- "From: Catalin Marinas <catalin.marinas@arm.com>\n"
- "Date: Fri, 13 Jun 2014 09:44:21 +0100\n"
- "Subject: [PATCH] powerpc/kmemleak: Do not scan the DART table\n"
- "\n"
- "The DART table allocation is registered to kmemleak via the\n"
- "memblock_alloc_base() call. However, the DART table is later unmapped\n"
- "and dart_tablebase VA no longer accessible. This patch tells kmemleak\n"
- "not to scan this block and avoid an unhandled paging request.\n"
- "\n"
- "Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>\n"
- "Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>\n"
- "Cc: Paul Mackerras <paulus@samba.org>\n"
- "---\n"
- " arch/powerpc/sysdev/dart_iommu.c | 5 +++++\n"
- " 1 file changed, 5 insertions(+)\n"
- "\n"
- "diff --git a/arch/powerpc/sysdev/dart_iommu.c b/arch/powerpc/sysdev/dart_iommu.c\n"
- "index 62c47bb76517..9e5353ff6d1b 100644\n"
- "--- a/arch/powerpc/sysdev/dart_iommu.c\n"
- "+++ b/arch/powerpc/sysdev/dart_iommu.c\n"
- "@@ -476,6 +476,11 @@ void __init alloc_dart_table(void)\n"
- " \t */\n"
- " \tdart_tablebase = (unsigned long)\n"
- " \t\t__va(memblock_alloc_base(1UL<<24, 1UL<<24, 0x80000000L));\n"
- "+\t/*\n"
- "+\t * The DART space is later unmapped from the kernel linear mapping and\n"
- "+\t * accessing dart_tablebase during kmemleak scanning will fault.\n"
- "+\t */\n"
- "+\tkmemleak_no_scan((void *)dart_tablebase);\n"
- " \n"
- " \tprintk(KERN_INFO \"DART table allocated at: %lx\\n\", dart_tablebase);\n"
-  }
+ ---------------8<--------------------------
 
-d75f965b39570d35ed5c9294d93e6f7a336cf37ba94fc0373d3b4aaaa181bd77
+c98ea3e9f311d11baf15a35b696d3186a706e01a7d0634c1a59f8faca763036d

diff --git a/a/content_digest b/N2/content_digest
index c14ecf1..ff049d5 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -12,9 +12,10 @@
  "To\0Denis Kirjanov <kda@linux-powerpc.org>\0"
  "Cc\0linux-kernel@vger.kernel.org <linux-kernel@vger.kernel.org>"
   linux-mm@kvack.org <linux-mm@kvack.org>
-  Paul Mackerras <paulus@samba.org>
   Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
- " linuxppc-dev@lists.ozlabs.org\0"
+  linuxppc-dev@lists.ozlabs.org
+  Benjamin Herrenschmidt <benh@kernel.crashing.org>
+ " Paul Mackerras <paulus@samba.org>\0"
  "\00:1\0"
  "b\0"
  "On Fri, Jun 13, 2014 at 08:12:08AM +0100, Denis Kirjanov wrote:\n"
@@ -123,4 +124,4 @@
  " \tprintk(KERN_INFO \"DART table allocated at: %lx\\n\", dart_tablebase);\n"
   }
 
-d75f965b39570d35ed5c9294d93e6f7a336cf37ba94fc0373d3b4aaaa181bd77
+ba2235a0cb6d6eb7c339c9ead54d49a846a7a8079168c060a6866afdc324642e

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.