All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 12:59 ` Ville Syrjala
  0 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjala @ 2018-05-17 12:59 UTC (permalink / raw)
  To: Joonsoo Kim
  Cc: Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Hocko, Michal Nazarewicz, Minchan Kim, Rik van Riel,
	Russell King, Will Deacon, Andrew Morton, Linus Torvalds,
	linux-mm, linux-kernel, Ville Syrjälä

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.

Make x86 with HIGHMEM=y and CMA=y boot again.

Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Laura Abbott <lauraa@codeaurora.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 include/linux/memory_hotplug.h |  3 ++
 include/linux/mm.h             |  1 -
 mm/cma.c                       | 83 ++++++------------------------------------
 mm/internal.h                  |  3 --
 mm/page_alloc.c                | 55 +++-------------------------
 5 files changed, 19 insertions(+), 126 deletions(-)

diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index e0e49b5b1ee1..2b0265265c28 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -216,6 +216,9 @@ void put_online_mems(void);
 void mem_hotplug_begin(void);
 void mem_hotplug_done(void);
 
+extern void set_zone_contiguous(struct zone *zone);
+extern void clear_zone_contiguous(struct zone *zone);
+
 #else /* ! CONFIG_MEMORY_HOTPLUG */
 #define pfn_to_online_page(pfn)			\
 ({						\
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 1ac1f06a4be6..f7f1369e9d99 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
 
 extern void zone_pcp_update(struct zone *zone);
 extern void zone_pcp_reset(struct zone *zone);
-extern void setup_zone_pageset(struct zone *zone);
 
 /* page_alloc.c */
 extern int min_free_kbytes;
diff --git a/mm/cma.c b/mm/cma.c
index aa40e6c7b042..5809bbe360d7 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -39,7 +39,6 @@
 #include <trace/events/cma.h>
 
 #include "cma.h"
-#include "internal.h"
 
 struct cma cma_areas[MAX_CMA_AREAS];
 unsigned cma_area_count;
@@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
 	if (!cma->bitmap)
 		return -ENOMEM;
 
+	WARN_ON_ONCE(!pfn_valid(pfn));
+	zone = page_zone(pfn_to_page(pfn));
+
 	do {
 		unsigned j;
 
 		base_pfn = pfn;
-		if (!pfn_valid(base_pfn))
-			goto err;
-
-		zone = page_zone(pfn_to_page(base_pfn));
 		for (j = pageblock_nr_pages; j; --j, pfn++) {
-			if (!pfn_valid(pfn))
-				goto err;
-
+			WARN_ON_ONCE(!pfn_valid(pfn));
 			/*
-			 * In init_cma_reserved_pageblock(), present_pages
-			 * is adjusted with assumption that all pages in
-			 * the pageblock come from a single zone.
+			 * alloc_contig_range requires the pfn range
+			 * specified to be in the same zone. Make this
+			 * simple by forcing the entire CMA resv range
+			 * to be in the same zone.
 			 */
 			if (page_zone(pfn_to_page(pfn)) != zone)
-				goto err;
+				goto not_in_zone;
 		}
 		init_cma_reserved_pageblock(pfn_to_page(base_pfn));
 	} while (--i);
@@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
 
 	return 0;
 
-err:
+not_in_zone:
 	pr_err("CMA area %s could not be activated\n", cma->name);
 	kfree(cma->bitmap);
 	cma->count = 0;
@@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
 static int __init cma_init_reserved_areas(void)
 {
 	int i;
-	struct zone *zone;
-	pg_data_t *pgdat;
-
-	if (!cma_area_count)
-		return 0;
-
-	for_each_online_pgdat(pgdat) {
-		unsigned long start_pfn = UINT_MAX, end_pfn = 0;
-
-		zone = &pgdat->node_zones[ZONE_MOVABLE];
-
-		/*
-		 * In this case, we cannot adjust the zone range
-		 * since it is now maximum node span and we don't
-		 * know original zone range.
-		 */
-		if (populated_zone(zone))
-			continue;
-
-		for (i = 0; i < cma_area_count; i++) {
-			if (pfn_to_nid(cma_areas[i].base_pfn) !=
-				pgdat->node_id)
-				continue;
-
-			start_pfn = min(start_pfn, cma_areas[i].base_pfn);
-			end_pfn = max(end_pfn, cma_areas[i].base_pfn +
-						cma_areas[i].count);
-		}
-
-		if (!end_pfn)
-			continue;
-
-		zone->zone_start_pfn = start_pfn;
-		zone->spanned_pages = end_pfn - start_pfn;
-	}
 
 	for (i = 0; i < cma_area_count; i++) {
 		int ret = cma_activate_area(&cma_areas[i]);
@@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
 			return ret;
 	}
 
-	/*
-	 * Reserved pages for ZONE_MOVABLE are now activated and
-	 * this would change ZONE_MOVABLE's managed page counter and
-	 * the other zones' present counter. We need to re-calculate
-	 * various zone information that depends on this initialization.
-	 */
-	build_all_zonelists(NULL);
-	for_each_populated_zone(zone) {
-		if (zone_idx(zone) == ZONE_MOVABLE) {
-			zone_pcp_reset(zone);
-			setup_zone_pageset(zone);
-		} else
-			zone_pcp_update(zone);
-
-		set_zone_contiguous(zone);
-	}
-
-	/*
-	 * We need to re-init per zone wmark by calling
-	 * init_per_zone_wmark_min() but doesn't call here because it is
-	 * registered on core_initcall and it will be called later than us.
-	 */
-
 	return 0;
 }
-pure_initcall(cma_init_reserved_areas);
+core_initcall(cma_init_reserved_areas);
 
 /**
  * cma_init_reserved_mem() - create custom contiguous area from reserved memory
diff --git a/mm/internal.h b/mm/internal.h
index 62d8c34e63d5..8679b4fe9e1b 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
 					gfp_t gfp_flags);
 extern int user_min_free_kbytes;
 
-extern void set_zone_contiguous(struct zone *zone);
-extern void clear_zone_contiguous(struct zone *zone);
-
 #if defined CONFIG_COMPACTION || defined CONFIG_CMA
 
 /*
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 905db9d7962f..3c2f042e9366 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
 }
 
 #ifdef CONFIG_CMA
-static void __init adjust_present_page_count(struct page *page, long count)
-{
-	struct zone *zone = page_zone(page);
-
-	/* We don't need to hold a lock since it is boot-up process */
-	zone->present_pages += count;
-}
-
 /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
 void __init init_cma_reserved_pageblock(struct page *page)
 {
 	unsigned i = pageblock_nr_pages;
-	unsigned long pfn = page_to_pfn(page);
 	struct page *p = page;
-	int nid = page_to_nid(page);
-
-	/*
-	 * ZONE_MOVABLE will steal present pages from other zones by
-	 * changing page links so page_zone() is changed. Before that,
-	 * we need to adjust previous zone's page count first.
-	 */
-	adjust_present_page_count(page, -pageblock_nr_pages);
 
 	do {
 		__ClearPageReserved(p);
 		set_page_count(p, 0);
-
-		/* Steal pages from other zones */
-		set_page_links(p, ZONE_MOVABLE, nid, pfn);
-	} while (++p, ++pfn, --i);
-
-	adjust_present_page_count(page, pageblock_nr_pages);
+	} while (++p, --i);
 
 	set_pageblock_migratetype(page, MIGRATE_CMA);
 
@@ -6204,7 +6182,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 {
 	enum zone_type j;
 	int nid = pgdat->node_id;
-	unsigned long node_end_pfn = 0;
 
 	pgdat_resize_init(pgdat);
 #ifdef CONFIG_NUMA_BALANCING
@@ -6232,13 +6209,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 		struct zone *zone = pgdat->node_zones + j;
 		unsigned long size, realsize, freesize, memmap_pages;
 		unsigned long zone_start_pfn = zone->zone_start_pfn;
-		unsigned long movable_size = 0;
 
 		size = zone->spanned_pages;
 		realsize = freesize = zone->present_pages;
-		if (zone_end_pfn(zone) > node_end_pfn)
-			node_end_pfn = zone_end_pfn(zone);
-
 
 		/*
 		 * Adjust freesize so that it accounts for how much memory
@@ -6287,30 +6260,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 		zone_seqlock_init(zone);
 		zone_pcp_init(zone);
 
-		/*
-		 * The size of the CMA area is unknown now so we need to
-		 * prepare the memory for the usemap at maximum.
-		 */
-		if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
-			pgdat->node_spanned_pages) {
-			movable_size = node_end_pfn - pgdat->node_start_pfn;
-		}
-
-		if (!size && !movable_size)
+		if (!size)
 			continue;
 
 		set_pageblock_order();
-		if (movable_size) {
-			zone->zone_start_pfn = pgdat->node_start_pfn;
-			zone->spanned_pages = movable_size;
-			setup_usemap(pgdat, zone,
-				pgdat->node_start_pfn, movable_size);
-			init_currently_empty_zone(zone,
-				pgdat->node_start_pfn, movable_size);
-		} else {
-			setup_usemap(pgdat, zone, zone_start_pfn, size);
-			init_currently_empty_zone(zone, zone_start_pfn, size);
-		}
+		setup_usemap(pgdat, zone, zone_start_pfn, size);
+		init_currently_empty_zone(zone, zone_start_pfn, size);
 		memmap_init(size, nid, j, zone_start_pfn);
 	}
 }
@@ -7951,7 +7906,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
 }
 #endif
 
-#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
+#ifdef CONFIG_MEMORY_HOTPLUG
 /*
  * The zone indicated has a new number of managed_pages; batch sizes and percpu
  * page high values need to be recalulated.
-- 
2.16.1

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

* [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 12:59 ` Ville Syrjala
  0 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjala @ 2018-05-17 12:59 UTC (permalink / raw)
  To: Joonsoo Kim
  Cc: Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Hocko, Michal Nazarewicz, Minchan Kim, Rik van Riel,
	Russell King, Will Deacon, Andrew Morton, Linus Torvalds,
	linux-mm, linux-kernel, Ville Syrjälä

From: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>

This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.

Make x86 with HIGHMEM=y and CMA=y boot again.

Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: Laura Abbott <lauraa@codeaurora.org>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Michal Nazarewicz <mina86@mina86.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Rik van Riel <riel@redhat.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>
---
 include/linux/memory_hotplug.h |  3 ++
 include/linux/mm.h             |  1 -
 mm/cma.c                       | 83 ++++++------------------------------------
 mm/internal.h                  |  3 --
 mm/page_alloc.c                | 55 +++-------------------------
 5 files changed, 19 insertions(+), 126 deletions(-)

diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index e0e49b5b1ee1..2b0265265c28 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -216,6 +216,9 @@ void put_online_mems(void);
 void mem_hotplug_begin(void);
 void mem_hotplug_done(void);
 
+extern void set_zone_contiguous(struct zone *zone);
+extern void clear_zone_contiguous(struct zone *zone);
+
 #else /* ! CONFIG_MEMORY_HOTPLUG */
 #define pfn_to_online_page(pfn)			\
 ({						\
diff --git a/include/linux/mm.h b/include/linux/mm.h
index 1ac1f06a4be6..f7f1369e9d99 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
 
 extern void zone_pcp_update(struct zone *zone);
 extern void zone_pcp_reset(struct zone *zone);
-extern void setup_zone_pageset(struct zone *zone);
 
 /* page_alloc.c */
 extern int min_free_kbytes;
diff --git a/mm/cma.c b/mm/cma.c
index aa40e6c7b042..5809bbe360d7 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -39,7 +39,6 @@
 #include <trace/events/cma.h>
 
 #include "cma.h"
-#include "internal.h"
 
 struct cma cma_areas[MAX_CMA_AREAS];
 unsigned cma_area_count;
@@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
 	if (!cma->bitmap)
 		return -ENOMEM;
 
+	WARN_ON_ONCE(!pfn_valid(pfn));
+	zone = page_zone(pfn_to_page(pfn));
+
 	do {
 		unsigned j;
 
 		base_pfn = pfn;
-		if (!pfn_valid(base_pfn))
-			goto err;
-
-		zone = page_zone(pfn_to_page(base_pfn));
 		for (j = pageblock_nr_pages; j; --j, pfn++) {
-			if (!pfn_valid(pfn))
-				goto err;
-
+			WARN_ON_ONCE(!pfn_valid(pfn));
 			/*
-			 * In init_cma_reserved_pageblock(), present_pages
-			 * is adjusted with assumption that all pages in
-			 * the pageblock come from a single zone.
+			 * alloc_contig_range requires the pfn range
+			 * specified to be in the same zone. Make this
+			 * simple by forcing the entire CMA resv range
+			 * to be in the same zone.
 			 */
 			if (page_zone(pfn_to_page(pfn)) != zone)
-				goto err;
+				goto not_in_zone;
 		}
 		init_cma_reserved_pageblock(pfn_to_page(base_pfn));
 	} while (--i);
@@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
 
 	return 0;
 
-err:
+not_in_zone:
 	pr_err("CMA area %s could not be activated\n", cma->name);
 	kfree(cma->bitmap);
 	cma->count = 0;
@@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
 static int __init cma_init_reserved_areas(void)
 {
 	int i;
-	struct zone *zone;
-	pg_data_t *pgdat;
-
-	if (!cma_area_count)
-		return 0;
-
-	for_each_online_pgdat(pgdat) {
-		unsigned long start_pfn = UINT_MAX, end_pfn = 0;
-
-		zone = &pgdat->node_zones[ZONE_MOVABLE];
-
-		/*
-		 * In this case, we cannot adjust the zone range
-		 * since it is now maximum node span and we don't
-		 * know original zone range.
-		 */
-		if (populated_zone(zone))
-			continue;
-
-		for (i = 0; i < cma_area_count; i++) {
-			if (pfn_to_nid(cma_areas[i].base_pfn) !=
-				pgdat->node_id)
-				continue;
-
-			start_pfn = min(start_pfn, cma_areas[i].base_pfn);
-			end_pfn = max(end_pfn, cma_areas[i].base_pfn +
-						cma_areas[i].count);
-		}
-
-		if (!end_pfn)
-			continue;
-
-		zone->zone_start_pfn = start_pfn;
-		zone->spanned_pages = end_pfn - start_pfn;
-	}
 
 	for (i = 0; i < cma_area_count; i++) {
 		int ret = cma_activate_area(&cma_areas[i]);
@@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
 			return ret;
 	}
 
-	/*
-	 * Reserved pages for ZONE_MOVABLE are now activated and
-	 * this would change ZONE_MOVABLE's managed page counter and
-	 * the other zones' present counter. We need to re-calculate
-	 * various zone information that depends on this initialization.
-	 */
-	build_all_zonelists(NULL);
-	for_each_populated_zone(zone) {
-		if (zone_idx(zone) == ZONE_MOVABLE) {
-			zone_pcp_reset(zone);
-			setup_zone_pageset(zone);
-		} else
-			zone_pcp_update(zone);
-
-		set_zone_contiguous(zone);
-	}
-
-	/*
-	 * We need to re-init per zone wmark by calling
-	 * init_per_zone_wmark_min() but doesn't call here because it is
-	 * registered on core_initcall and it will be called later than us.
-	 */
-
 	return 0;
 }
-pure_initcall(cma_init_reserved_areas);
+core_initcall(cma_init_reserved_areas);
 
 /**
  * cma_init_reserved_mem() - create custom contiguous area from reserved memory
diff --git a/mm/internal.h b/mm/internal.h
index 62d8c34e63d5..8679b4fe9e1b 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
 					gfp_t gfp_flags);
 extern int user_min_free_kbytes;
 
-extern void set_zone_contiguous(struct zone *zone);
-extern void clear_zone_contiguous(struct zone *zone);
-
 #if defined CONFIG_COMPACTION || defined CONFIG_CMA
 
 /*
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 905db9d7962f..3c2f042e9366 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
 }
 
 #ifdef CONFIG_CMA
-static void __init adjust_present_page_count(struct page *page, long count)
-{
-	struct zone *zone = page_zone(page);
-
-	/* We don't need to hold a lock since it is boot-up process */
-	zone->present_pages += count;
-}
-
 /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
 void __init init_cma_reserved_pageblock(struct page *page)
 {
 	unsigned i = pageblock_nr_pages;
-	unsigned long pfn = page_to_pfn(page);
 	struct page *p = page;
-	int nid = page_to_nid(page);
-
-	/*
-	 * ZONE_MOVABLE will steal present pages from other zones by
-	 * changing page links so page_zone() is changed. Before that,
-	 * we need to adjust previous zone's page count first.
-	 */
-	adjust_present_page_count(page, -pageblock_nr_pages);
 
 	do {
 		__ClearPageReserved(p);
 		set_page_count(p, 0);
-
-		/* Steal pages from other zones */
-		set_page_links(p, ZONE_MOVABLE, nid, pfn);
-	} while (++p, ++pfn, --i);
-
-	adjust_present_page_count(page, pageblock_nr_pages);
+	} while (++p, --i);
 
 	set_pageblock_migratetype(page, MIGRATE_CMA);
 
@@ -6204,7 +6182,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 {
 	enum zone_type j;
 	int nid = pgdat->node_id;
-	unsigned long node_end_pfn = 0;
 
 	pgdat_resize_init(pgdat);
 #ifdef CONFIG_NUMA_BALANCING
@@ -6232,13 +6209,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 		struct zone *zone = pgdat->node_zones + j;
 		unsigned long size, realsize, freesize, memmap_pages;
 		unsigned long zone_start_pfn = zone->zone_start_pfn;
-		unsigned long movable_size = 0;
 
 		size = zone->spanned_pages;
 		realsize = freesize = zone->present_pages;
-		if (zone_end_pfn(zone) > node_end_pfn)
-			node_end_pfn = zone_end_pfn(zone);
-
 
 		/*
 		 * Adjust freesize so that it accounts for how much memory
@@ -6287,30 +6260,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 		zone_seqlock_init(zone);
 		zone_pcp_init(zone);
 
-		/*
-		 * The size of the CMA area is unknown now so we need to
-		 * prepare the memory for the usemap at maximum.
-		 */
-		if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
-			pgdat->node_spanned_pages) {
-			movable_size = node_end_pfn - pgdat->node_start_pfn;
-		}
-
-		if (!size && !movable_size)
+		if (!size)
 			continue;
 
 		set_pageblock_order();
-		if (movable_size) {
-			zone->zone_start_pfn = pgdat->node_start_pfn;
-			zone->spanned_pages = movable_size;
-			setup_usemap(pgdat, zone,
-				pgdat->node_start_pfn, movable_size);
-			init_currently_empty_zone(zone,
-				pgdat->node_start_pfn, movable_size);
-		} else {
-			setup_usemap(pgdat, zone, zone_start_pfn, size);
-			init_currently_empty_zone(zone, zone_start_pfn, size);
-		}
+		setup_usemap(pgdat, zone, zone_start_pfn, size);
+		init_currently_empty_zone(zone, zone_start_pfn, size);
 		memmap_init(size, nid, j, zone_start_pfn);
 	}
 }
@@ -7951,7 +7906,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
 }
 #endif
 
-#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
+#ifdef CONFIG_MEMORY_HOTPLUG
 /*
  * The zone indicated has a new number of managed_pages; batch sizes and percpu
  * page high values need to be recalulated.
-- 
2.16.1

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 12:59 ` Ville Syrjala
@ 2018-05-17 13:15   ` Vlastimil Babka
  -1 siblings, 0 replies; 42+ messages in thread
From: Vlastimil Babka @ 2018-05-17 13:15 UTC (permalink / raw)
  To: Ville Syrjala, Joonsoo Kim
  Cc: Aneesh Kumar K . V, Tony Lindgren, Johannes Weiner, Laura Abbott,
	Marek Szyprowski, Mel Gorman, Michal Hocko, Michal Nazarewicz,
	Minchan Kim, Rik van Riel, Russell King, Will Deacon,
	Andrew Morton, Linus Torvalds, linux-mm, linux-kernel

On 05/17/2018 02:59 PM, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> 
> Make x86 with HIGHMEM=y and CMA=y boot again.

Um, any more details? This looks rather rash IMHO. Or was there some
previous discussion I haven't seen? We are at rc5 so it can still be
fixed rather than reverted?

> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Vlastimil Babka <vbabka@suse.cz>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Laura Abbott <lauraa@codeaurora.org>
> Cc: Marek Szyprowski <m.szyprowski@samsung.com>
> Cc: Mel Gorman <mgorman@techsingularity.net>
> Cc: Michal Hocko <mhocko@suse.com>
> Cc: Michal Nazarewicz <mina86@mina86.com>
> Cc: Minchan Kim <minchan@kernel.org>
> Cc: Rik van Riel <riel@redhat.com>
> Cc: Russell King <linux@armlinux.org.uk>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: linux-mm@kvack.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 13:15   ` Vlastimil Babka
  0 siblings, 0 replies; 42+ messages in thread
From: Vlastimil Babka @ 2018-05-17 13:15 UTC (permalink / raw)
  To: Ville Syrjala, Joonsoo Kim
  Cc: Aneesh Kumar K . V, Tony Lindgren, Johannes Weiner, Laura Abbott,
	Marek Szyprowski, Mel Gorman, Michal Hocko, Michal Nazarewicz,
	Minchan Kim, Rik van Riel, Russell King, Will Deacon,
	Andrew Morton, Linus Torvalds, linux-mm, linux-kernel

On 05/17/2018 02:59 PM, Ville Syrjala wrote:
> From: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>
> 
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> 
> Make x86 with HIGHMEM=y and CMA=y boot again.

Um, any more details? This looks rather rash IMHO. Or was there some
previous discussion I haven't seen? We are at rc5 so it can still be
fixed rather than reverted?

> Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> Cc: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Vlastimil Babka <vbabka@suse.cz>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: Laura Abbott <lauraa@codeaurora.org>
> Cc: Marek Szyprowski <m.szyprowski@samsung.com>
> Cc: Mel Gorman <mgorman@techsingularity.net>
> Cc: Michal Hocko <mhocko@suse.com>
> Cc: Michal Nazarewicz <mina86@mina86.com>
> Cc: Minchan Kim <minchan@kernel.org>
> Cc: Rik van Riel <riel@redhat.com>
> Cc: Russell King <linux@armlinux.org.uk>
> Cc: Will Deacon <will.deacon@arm.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Linus Torvalds <torvalds@linux-foundation.org>
> Cc: linux-mm@kvack.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 12:59 ` Ville Syrjala
@ 2018-05-17 13:21   ` Michal Hocko
  -1 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-17 13:21 UTC (permalink / raw)
  To: Ville Syrjala
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> 
> Make x86 with HIGHMEM=y and CMA=y boot again.

Is there any bug report with some more details? It is much more
preferable to fix the issue rather than to revert the whole thing
right away.
-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 13:21   ` Michal Hocko
  0 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-17 13:21 UTC (permalink / raw)
  To: Ville Syrjala
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> From: Ville Syrjala <ville.syrjala@linux.intel.com>
> 
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> 
> Make x86 with HIGHMEM=y and CMA=y boot again.

Is there any bug report with some more details? It is much more
preferable to fix the issue rather than to revert the whole thing
right away.
-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 13:21   ` Michal Hocko
@ 2018-05-17 13:36     ` Ville Syrjälä
  -1 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 13:36 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > 
> > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > 
> > Make x86 with HIGHMEM=y and CMA=y boot again.
> 
> Is there any bug report with some more details? It is much more
> preferable to fix the issue rather than to revert the whole thing
> right away.

The machine I have in front of me right now didn't give me anything.
Black screen, and netconsole was silent. No serial port on this
machine unfortunately.

-- 
Ville Syrjälä
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 13:36     ` Ville Syrjälä
  0 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 13:36 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > 
> > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > 
> > Make x86 with HIGHMEM=y and CMA=y boot again.
> 
> Is there any bug report with some more details? It is much more
> preferable to fix the issue rather than to revert the whole thing
> right away.

The machine I have in front of me right now didn't give me anything.
Black screen, and netconsole was silent. No serial port on this
machine unfortunately.

-- 
Ville Syrjala
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 13:36     ` Ville Syrjälä
@ 2018-05-17 13:50       ` Vlastimil Babka
  -1 siblings, 0 replies; 42+ messages in thread
From: Vlastimil Babka @ 2018-05-17 13:50 UTC (permalink / raw)
  To: Ville Syrjälä, Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Johannes Weiner,
	Laura Abbott, Marek Szyprowski, Mel Gorman, Michal Nazarewicz,
	Minchan Kim, Rik van Riel, Russell King, Will Deacon,
	Andrew Morton, Linus Torvalds, linux-mm, linux-kernel

On 05/17/2018 03:36 PM, Ville Syrjälä wrote:
> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>>>
>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>
>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>
>> Is there any bug report with some more details? It is much more
>> preferable to fix the issue rather than to revert the whole thing
>> right away.
> 
> The machine I have in front of me right now didn't give me anything.
> Black screen, and netconsole was silent. No serial port on this
> machine unfortunately.

Could you send the .config and more info about the machine, e.g.
/proc/zoneinfo with the patch reverted, etc., the usual stuff when
reporting a bug? Thanks.

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 13:50       ` Vlastimil Babka
  0 siblings, 0 replies; 42+ messages in thread
From: Vlastimil Babka @ 2018-05-17 13:50 UTC (permalink / raw)
  To: Ville Syrjälä, Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Johannes Weiner,
	Laura Abbott, Marek Szyprowski, Mel Gorman, Michal Nazarewicz,
	Minchan Kim, Rik van Riel, Russell King, Will Deacon,
	Andrew Morton, Linus Torvalds, linux-mm, linux-kernel

On 05/17/2018 03:36 PM, Ville SyrjA?lA? wrote:
> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>> From: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>
>>>
>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>
>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>
>> Is there any bug report with some more details? It is much more
>> preferable to fix the issue rather than to revert the whole thing
>> right away.
> 
> The machine I have in front of me right now didn't give me anything.
> Black screen, and netconsole was silent. No serial port on this
> machine unfortunately.

Could you send the .config and more info about the machine, e.g.
/proc/zoneinfo with the patch reverted, etc., the usual stuff when
reporting a bug? Thanks.

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 13:36     ` Ville Syrjälä
@ 2018-05-17 13:58       ` Ville Syrjälä
  -1 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 13:58 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > 
> > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > 
> > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > 
> > Is there any bug report with some more details? It is much more
> > preferable to fix the issue rather than to revert the whole thing
> > right away.
> 
> The machine I have in front of me right now didn't give me anything.
> Black screen, and netconsole was silent. No serial port on this
> machine unfortunately.

Booted on another machine with serial:

[    0.000000] Linux version 4.17.0-rc5-elk+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #145 SMP Thu May 17 16:48:20 EEST 2018
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009abff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009ac00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000db65efff] usable
[    0.000000] BIOS-e820: [mem 0x00000000db65f000-0x00000000db67efff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000db67f000-0x00000000db76efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000db76f000-0x00000000dbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000dde00000-0x00000000dfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed13fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed18000-0x00000000fed19fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff800000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000117ffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] e820: last_pfn = 0x118000 max_arch_pfn = 0x1000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[    0.000000] Allocated new RAMDISK: [mem 0x37666000-0x377fd7ff]
[    0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37666000-0x377fd7ff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000FE300 000024 (v02 DELL  )
[    0.000000] ACPI: XSDT 0x00000000DB67DE18 000064 (v01 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: FACP 0x00000000DB75FC18 0000F4 (v04 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: DSDT 0x00000000DB74E018 00A1BB (v01 DELL   E2       00001001 INTL 20080729)
[    0.000000] ACPI: FACS 0x00000000DB76BF40 000040
[    0.000000] ACPI: FACS 0x00000000DB76ED40 000040
[    0.000000] ACPI: APIC 0x00000000DB67CF18 00008C (v02 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: MCFG 0x00000000DB76DD18 00003C (v01 A M I  GMCH945. 06222004 MSFT 00000097)
[    0.000000] ACPI: TCPA 0x00000000DB76DC98 000032 (v02                 00000000      00000000)
[    0.000000] ACPI: HPET 0x00000000DB76DC18 000038 (v01 DELL   E2       00000001 ASL  00000061)
[    0.000000] ACPI: BOOT 0x00000000DB76DB98 000028 (v01 DELL   E2       06222004 AMI  00010013)
[    0.000000] ACPI: SLIC 0x00000000DB766818 000176 (v03 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: SSDT 0x00000000DB75D018 0009F1 (v01 PmRef  CpuPm    00003000 INTL 20080729)
[    0.000000] 3592MB HIGHMEM available.
[    0.000000] 887MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 377fe000
[    0.000000]   low ram: 0 - 377fe000
[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000377fdfff]
[    0.000000]   HighMem  [mem 0x00000000377fe000-0x0000000117ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x0000000000099fff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000db65efff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x0000000117ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000117ffffff]
[    0.000000] Reserved but unavailable: 103 pages
[    0.000000] Using APIC driver default
[    0.000000] Reserving Intel graphics memory at [mem 0xde000000-0xdfffffff]
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.000000] smpboot: 8 Processors exceeds NR_CPUS limit of 4
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009a000-0x0009afff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009b000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[    0.000000] e820: [mem 0xe0000000-0xf7ffffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.000000] setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 29 pages/cpu @(ptrval) s89256 r0 d29528 u118784
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 995080
[    0.000000] Kernel command line: drm.debug=0xe modprobe.blacklist=i915,snd_hda_intel i915.enable_fbc=1 console=ttyS0,115200 init=/bin/bash
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
[    0.000000] Initializing Movable for node 0 (00000001:00118000)
[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] Disabling lock debugging due to kernel taint
[    0.000000] BUG: Bad page state in process swapper  pfn:37800
[    0.000000] page:f53f0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:37c00
[    0.000000] page:f53f8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:38000
[    0.000000] page:f5400000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:38400
[    0.000000] page:f5408000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:38800
[    0.000000] page:f5410000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:38c00
[    0.000000] page:f5418000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:39000
[    0.000000] page:f5420000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:39400
[    0.000000] page:f5428000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:39800
[    0.000000] page:f5430000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:39c00
[    0.000000] page:f5438000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3a000
[    0.000000] page:f5440000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3a400
[    0.000000] page:f5448000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3a800
[    0.000000] page:f5450000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3ac00
[    0.000000] page:f5458000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3b000
[    0.000000] page:f5460000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3b400
[    0.000000] page:f5468000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3b800
[    0.000000] page:f5470000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3bc00
[    0.000000] page:f5478000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3c000
[    0.000000] page:f5480000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3c400
[    0.000000] page:f5488000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3c800
[    0.000000] page:f5490000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3cc00
[    0.000000] page:f5498000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3d000
[    0.000000] page:f54a0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3d400
[    0.000000] page:f54a8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3d800
[    0.000000] page:f54b0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3dc00
[    0.000000] page:f54b8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3e000
[    0.000000] page:f54c0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3e400
[    0.000000] page:f54c8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3e800
[    0.000000] page:f54d0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3ec00
[    0.000000] page:f54d8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3f000
[    0.000000] page:f54e0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3f400
[    0.000000] page:f54e8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3f800
[    0.000000] page:f54f0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3fc00
[    0.000000] page:f54f8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:40000
[    0.000000] page:f5500000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:40400
[    0.000000] page:f5508000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:40800
[    0.000000] page:f5510000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:40c00
[    0.000000] page:f5518000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:41000
[    0.000000] page:f5520000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:41400
[    0.000000] page:f5528000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:41800
[    0.000000] page:f5530000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:41c00
[    0.000000] page:f5538000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:42000
[    0.000000] page:f5540000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:42400
[    0.000000] page:f5548000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:42800
[    0.000000] page:f5550000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:42c00
[    0.000000] page:f5558000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:43000
[    0.000000] page:f5560000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:43400
[    0.000000] page:f5568000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:43800
[    0.000000] page:f5570000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:43c00
[    0.000000] page:f5578000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:44000
[    0.000000] page:f5580000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:44400
[    0.000000] page:f5588000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:44800
[    0.000000] page:f5590000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:44c00
[    0.000000] page:f5598000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:45000
[    0.000000] page:f55a0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:45400
[    0.000000] page:f55a8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:45800
[    0.000000] page:f55b0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:45c00
[    0.000000] page:f55b8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:46000
[    0.000000] page:f55c0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata, 2156K rodata, 572K init, 9308K bss, 4291097664K reserved, 4096K cma-reserved, 7005012K highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff68000 - 0xfffff000   ( 604 kB)
[    0.000000]   cpu_entry : 0xffa00000 - 0xffa9d000   ( 628 kB)
[    0.000000]     pkmap   : 0xff800000 - 0xffa00000   (2048 kB)
[    0.000000]     vmalloc : 0xf7ffe000 - 0xff7fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf77fe000   ( 887 MB)
[    0.000000]       .init : 0xc17de000 - 0xc186d000   ( 572 kB)
[    0.000000]       .data : 0xc152193c - 0xc17cd6c0   (2735 kB)
[    0.000000]       .text : 0xc1000000 - 0xc152193c   (5254 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      131072
[    0.000000] ... CHAINHASH_SIZE:          65536
[    0.000000]  memory used by lock dependency info: 5935 kB
[    0.000000]  per task-struct memory footprint: 1344 bytes
[    0.000000] ACPI: Core revision 20180313
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.003333] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.006666] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.023333] tsc: Fast TSC calibration using PIT
[    0.026666] tsc: Detected 2659.858 MHz processor
[    0.029999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x26571dc5c81, max_idle_ns: 440795302576 ns
[    0.033336] Calibrating delay loop (skipped), value calculated using timer frequency.. 5321.37 BogoMIPS (lpj=8866193)
[    0.036668] pid_max: default: 32768 minimum: 301
[    0.040031] Security Framework initialized
[    0.043349] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.046670] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.053413] CPU: Physical Processor ID: 0
[    0.056668] CPU: Processor Core ID: 0
[    0.060007] mce: CPU supports 9 MCE banks
[    0.063346] process: using mwait in idle threads
[    0.066673] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
[    0.070001] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.073336] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[    0.076668] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[    0.080072] Freeing SMP alternatives memory: 20K
[    0.089999] smpboot: CPU0: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz (family: 0x6, model: 0x25, stepping: 0x5)
[    0.090102] Performance Events: PEBS fmt1+, Westmere events, 16-deep LBR, Intel PMU driver.
[    0.093336] core: CPUID marked event: 'bus cycles' unavailable
[    0.096673] ... version:                3
[    0.100001] ... bit width:              48
[    0.103334] ... generic registers:      4
[    0.106668] ... value mask:             0000ffffffffffff
[    0.110001] ... max period:             000000007fffffff
[    0.113334] ... fixed-purpose events:   3
[    0.116668] ... event mask:             000000070000000f
[    0.120048] Hierarchical SRCU implementation.
[    0.123725] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.126684] smp: Bringing up secondary CPUs ...
[    0.130171] x86: Booting SMP configuration:
[    0.133339] .... node  #0, CPUs:      #1
[    0.003333] Initializing CPU#1
[    0.143506]  #2
[    0.003333] Initializing CPU#2
[    0.150189]  #3
[    0.003333] Initializing CPU#3
[    0.158727] smp: Brought up 1 node, 4 CPUs
[    0.160004] smpboot: Max logical packages: 1
[    0.163336] smpboot: Total of 4 processors activated (21287.48 BogoMIPS)
[    0.168526] devtmpfs: initialized
[    0.170233] Built 1 zonelists, mobility grouping on.  Total pages: 1964269
[    0.173444] random: get_random_u32 called from bucket_table_alloc+0x71/0x190 with crng_init=0
[    0.176711] PM: Registering ACPI NVS region [mem 0xdb67f000-0xdb76efff] (983040 bytes)
[    0.180048] reboot: Dell Latitude E5410 series board detected. Selecting PCI-method for reboots.
[    0.183434] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.186675] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.190106] RTC time: 13:50:29, date: 05/17/18
[    0.193431] NET: Registered protocol family 16
[    0.196815] audit: initializing netlink subsys (disabled)
[    0.200014] audit: type=2000 audit(1526565022.199:1): state=initialized audit_enabled=0 res=1
[    0.210007] cpuidle: using governor menu
[    0.213386] Simple Boot Flag at 0xf1 set to 0x1
[    0.216683] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.226669] ACPI: bus type PCI registered
[    0.230002] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.236725] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.246671] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.253335] PCI: Using MMCONFIG for extended config space
[    0.256668] PCI: Using configuration type 1 for base access
[    0.264553] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.270029] BUG: unable to handle kernel NULL pointer dereference at 00000104
[    0.276669] *pdpt = 0000000000000000 *pde = f000c520f000c500 
[    0.283337] Oops: 0002 [#1] SMP
[    0.286668] Modules linked in:
[    0.286668] CPU: 3 PID: 30 Comm: kworker/3:0 Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.286668] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.303335] Workqueue: events pcpu_balance_workfn
[    0.303335] EIP: get_page_from_freelist+0x91f/0x1290
[    0.303335] EFLAGS: 00210086 CPU: 3
[    0.303335] EAX: 00000034 EBX: 00000100 ECX: 00000001 EDX: 00000200
[    0.303335] ESI: f53effd4 EDI: c17c03c0 EBP: f49e9df0 ESP: f49e9d80
[    0.303335]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    0.336668] CR0: 80050033 CR2: 00000104 CR3: 01875000 CR4: 000006f0
[    0.336668] Call Trace:
[    0.336668]  __alloc_pages_nodemask+0xdb/0x1050
[    0.336668]  ? __kmalloc+0x30f/0x640
[    0.336668]  ? __kmalloc+0x352/0x640
[    0.336668]  ? __kmalloc+0x1c1/0x640
[    0.336668]  ? pcpu_mem_zalloc+0x5c/0x80
[    0.336668]  pcpu_populate_chunk+0x9d/0x2d0
[    0.336668]  pcpu_balance_workfn+0x315/0x620
[    0.336668]  ? process_one_work+0x1a3/0x5d0
[    0.336668]  process_one_work+0x21a/0x5d0
[    0.336668]  worker_thread+0x37/0x420
[    0.336668]  kthread+0xda/0x110
[    0.336668]  ? rescuer_thread+0x320/0x320
[    0.336668]  ? _kthread_create_worker_on_cpu+0x20/0x20
[    0.396674]  ret_from_fork+0x2e/0x38
[    0.400003] Code: 8b 5d ac 8d 14 03 03 55 e0 8b 1a 39 d3 0f 84 21 02 00 00 89 de 83 ee 14 89 75 e8 0f 84 13 02 00 00 89 de 89 5d b4 8b 1b 8b 56 04 <89> 53 04 89 1a 6b d1 34 c7 06 00 01 00 00 c7 46 04 00 02 00 00 
[    0.410004] EIP: get_page_from_freelist+0x91f/0x1290 SS:ESP: 0068:f49e9d80
[    0.426671] CR2: 0000000000000104
[    0.426671] ---[ end trace 7c42ade3a7e8517d ]---
[    0.426671] BUG: sleeping function called from invalid context at ../include/linux/percpu-rwsem.h:34
[    0.426671] in_atomic(): 1, irqs_disabled(): 1, pid: 30, name: kworker/3:0
[    0.426671] INFO: lockdep is turned off.
[    0.426671] irq event stamp: 0
[    0.426671] hardirqs last  enabled at (0): [<00000000>]   (null)
[    0.460004] hardirqs last disabled at (0): [<c104fa4c>] copy_process.part.62+0x23c/0x16e0
[    0.460004] softirqs last  enabled at (0): [<c104fa4c>] copy_process.part.62+0x23c/0x16e0
[    0.460004] softirqs last disabled at (0): [<00000000>]   (null)
[    0.460004] CPU: 3 PID: 30 Comm: kworker/3:0 Tainted: G    B D           4.17.0-rc5-elk+ #145
[    0.460004] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.460004] Workqueue: events pcpu_balance_workfn
[    0.460004] Call Trace:
[    0.460004]  dump_stack+0x60/0x96
[    0.460004]  ___might_sleep+0x1f3/0x220
[    0.460004]  __might_sleep+0x2e/0x80
[    0.460004]  exit_signals+0x1a/0x210
[    0.460004]  do_exit+0x7e/0xb60
[    0.526672]  ? kthread+0xda/0x110
[    0.526672]  ? rescuer_thread+0x320/0x320
[    0.533335]  rewind_stack_do_exit+0x11/0x13
[    0.536677] note: kworker/3:0[30] exited with preempt_count 1
[    0.543353] kworker/3:0 (30) used greatest stack depth: 6460 bytes left

-- 
Ville Syrjälä
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 13:58       ` Ville Syrjälä
  0 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 13:58 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > > 
> > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > 
> > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > 
> > Is there any bug report with some more details? It is much more
> > preferable to fix the issue rather than to revert the whole thing
> > right away.
> 
> The machine I have in front of me right now didn't give me anything.
> Black screen, and netconsole was silent. No serial port on this
> machine unfortunately.

Booted on another machine with serial:

[    0.000000] Linux version 4.17.0-rc5-elk+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #145 SMP Thu May 17 16:48:20 EEST 2018
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009abff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009ac00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000db65efff] usable
[    0.000000] BIOS-e820: [mem 0x00000000db65f000-0x00000000db67efff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000db67f000-0x00000000db76efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000db76f000-0x00000000dbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000dde00000-0x00000000dfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed13fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed18000-0x00000000fed19fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff800000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000117ffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] e820: last_pfn = 0x118000 max_arch_pfn = 0x1000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[    0.000000] Allocated new RAMDISK: [mem 0x37666000-0x377fd7ff]
[    0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37666000-0x377fd7ff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000FE300 000024 (v02 DELL  )
[    0.000000] ACPI: XSDT 0x00000000DB67DE18 000064 (v01 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: FACP 0x00000000DB75FC18 0000F4 (v04 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: DSDT 0x00000000DB74E018 00A1BB (v01 DELL   E2       00001001 INTL 20080729)
[    0.000000] ACPI: FACS 0x00000000DB76BF40 000040
[    0.000000] ACPI: FACS 0x00000000DB76ED40 000040
[    0.000000] ACPI: APIC 0x00000000DB67CF18 00008C (v02 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: MCFG 0x00000000DB76DD18 00003C (v01 A M I  GMCH945. 06222004 MSFT 00000097)
[    0.000000] ACPI: TCPA 0x00000000DB76DC98 000032 (v02                 00000000      00000000)
[    0.000000] ACPI: HPET 0x00000000DB76DC18 000038 (v01 DELL   E2       00000001 ASL  00000061)
[    0.000000] ACPI: BOOT 0x00000000DB76DB98 000028 (v01 DELL   E2       06222004 AMI  00010013)
[    0.000000] ACPI: SLIC 0x00000000DB766818 000176 (v03 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: SSDT 0x00000000DB75D018 0009F1 (v01 PmRef  CpuPm    00003000 INTL 20080729)
[    0.000000] 3592MB HIGHMEM available.
[    0.000000] 887MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 377fe000
[    0.000000]   low ram: 0 - 377fe000
[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000377fdfff]
[    0.000000]   HighMem  [mem 0x00000000377fe000-0x0000000117ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x0000000000099fff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000db65efff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x0000000117ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000117ffffff]
[    0.000000] Reserved but unavailable: 103 pages
[    0.000000] Using APIC driver default
[    0.000000] Reserving Intel graphics memory at [mem 0xde000000-0xdfffffff]
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.000000] smpboot: 8 Processors exceeds NR_CPUS limit of 4
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009a000-0x0009afff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009b000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[    0.000000] e820: [mem 0xe0000000-0xf7ffffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.000000] setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 29 pages/cpu @(ptrval) s89256 r0 d29528 u118784
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 995080
[    0.000000] Kernel command line: drm.debug=0xe modprobe.blacklist=i915,snd_hda_intel i915.enable_fbc=1 console=ttyS0,115200 init=/bin/bash
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
[    0.000000] Initializing Movable for node 0 (00000001:00118000)
[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] Disabling lock debugging due to kernel taint
[    0.000000] BUG: Bad page state in process swapper  pfn:37800
[    0.000000] page:f53f0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:37c00
[    0.000000] page:f53f8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:38000
[    0.000000] page:f5400000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:38400
[    0.000000] page:f5408000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:38800
[    0.000000] page:f5410000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:38c00
[    0.000000] page:f5418000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:39000
[    0.000000] page:f5420000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:39400
[    0.000000] page:f5428000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:39800
[    0.000000] page:f5430000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:39c00
[    0.000000] page:f5438000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3a000
[    0.000000] page:f5440000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3a400
[    0.000000] page:f5448000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3a800
[    0.000000] page:f5450000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3ac00
[    0.000000] page:f5458000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3b000
[    0.000000] page:f5460000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3b400
[    0.000000] page:f5468000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3b800
[    0.000000] page:f5470000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3bc00
[    0.000000] page:f5478000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3c000
[    0.000000] page:f5480000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3c400
[    0.000000] page:f5488000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3c800
[    0.000000] page:f5490000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3cc00
[    0.000000] page:f5498000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3d000
[    0.000000] page:f54a0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3d400
[    0.000000] page:f54a8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3d800
[    0.000000] page:f54b0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3dc00
[    0.000000] page:f54b8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3e000
[    0.000000] page:f54c0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3e400
[    0.000000] page:f54c8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3e800
[    0.000000] page:f54d0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3ec00
[    0.000000] page:f54d8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3f000
[    0.000000] page:f54e0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3f400
[    0.000000] page:f54e8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3f800
[    0.000000] page:f54f0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:3fc00
[    0.000000] page:f54f8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:40000
[    0.000000] page:f5500000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:40400
[    0.000000] page:f5508000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:40800
[    0.000000] page:f5510000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:40c00
[    0.000000] page:f5518000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:41000
[    0.000000] page:f5520000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:41400
[    0.000000] page:f5528000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:41800
[    0.000000] page:f5530000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:41c00
[    0.000000] page:f5538000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:42000
[    0.000000] page:f5540000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:42400
[    0.000000] page:f5548000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:42800
[    0.000000] page:f5550000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:42c00
[    0.000000] page:f5558000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:43000
[    0.000000] page:f5560000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:43400
[    0.000000] page:f5568000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:43800
[    0.000000] page:f5570000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:43c00
[    0.000000] page:f5578000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:44000
[    0.000000] page:f5580000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:44400
[    0.000000] page:f5588000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:44800
[    0.000000] page:f5590000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:44c00
[    0.000000] page:f5598000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:45000
[    0.000000] page:f55a0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:45400
[    0.000000] page:f55a8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:45800
[    0.000000] page:f55b0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:45c00
[    0.000000] page:f55b8000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] BUG: Bad page state in process swapper  pfn:46000
[    0.000000] page:f55c0000 count:0 mapcount:-127 mapping:00000000 index:0x1
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000001 ffffff80 00000000 00000100 00000200 0000000a
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168
[    0.000000] Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata, 2156K rodata, 572K init, 9308K bss, 4291097664K reserved, 4096K cma-reserved, 7005012K highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff68000 - 0xfffff000   ( 604 kB)
[    0.000000]   cpu_entry : 0xffa00000 - 0xffa9d000   ( 628 kB)
[    0.000000]     pkmap   : 0xff800000 - 0xffa00000   (2048 kB)
[    0.000000]     vmalloc : 0xf7ffe000 - 0xff7fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf77fe000   ( 887 MB)
[    0.000000]       .init : 0xc17de000 - 0xc186d000   ( 572 kB)
[    0.000000]       .data : 0xc152193c - 0xc17cd6c0   (2735 kB)
[    0.000000]       .text : 0xc1000000 - 0xc152193c   (5254 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      131072
[    0.000000] ... CHAINHASH_SIZE:          65536
[    0.000000]  memory used by lock dependency info: 5935 kB
[    0.000000]  per task-struct memory footprint: 1344 bytes
[    0.000000] ACPI: Core revision 20180313
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.003333] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.006666] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.023333] tsc: Fast TSC calibration using PIT
[    0.026666] tsc: Detected 2659.858 MHz processor
[    0.029999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x26571dc5c81, max_idle_ns: 440795302576 ns
[    0.033336] Calibrating delay loop (skipped), value calculated using timer frequency.. 5321.37 BogoMIPS (lpj=8866193)
[    0.036668] pid_max: default: 32768 minimum: 301
[    0.040031] Security Framework initialized
[    0.043349] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.046670] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.053413] CPU: Physical Processor ID: 0
[    0.056668] CPU: Processor Core ID: 0
[    0.060007] mce: CPU supports 9 MCE banks
[    0.063346] process: using mwait in idle threads
[    0.066673] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
[    0.070001] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.073336] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[    0.076668] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[    0.080072] Freeing SMP alternatives memory: 20K
[    0.089999] smpboot: CPU0: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz (family: 0x6, model: 0x25, stepping: 0x5)
[    0.090102] Performance Events: PEBS fmt1+, Westmere events, 16-deep LBR, Intel PMU driver.
[    0.093336] core: CPUID marked event: 'bus cycles' unavailable
[    0.096673] ... version:                3
[    0.100001] ... bit width:              48
[    0.103334] ... generic registers:      4
[    0.106668] ... value mask:             0000ffffffffffff
[    0.110001] ... max period:             000000007fffffff
[    0.113334] ... fixed-purpose events:   3
[    0.116668] ... event mask:             000000070000000f
[    0.120048] Hierarchical SRCU implementation.
[    0.123725] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.126684] smp: Bringing up secondary CPUs ...
[    0.130171] x86: Booting SMP configuration:
[    0.133339] .... node  #0, CPUs:      #1
[    0.003333] Initializing CPU#1
[    0.143506]  #2
[    0.003333] Initializing CPU#2
[    0.150189]  #3
[    0.003333] Initializing CPU#3
[    0.158727] smp: Brought up 1 node, 4 CPUs
[    0.160004] smpboot: Max logical packages: 1
[    0.163336] smpboot: Total of 4 processors activated (21287.48 BogoMIPS)
[    0.168526] devtmpfs: initialized
[    0.170233] Built 1 zonelists, mobility grouping on.  Total pages: 1964269
[    0.173444] random: get_random_u32 called from bucket_table_alloc+0x71/0x190 with crng_init=0
[    0.176711] PM: Registering ACPI NVS region [mem 0xdb67f000-0xdb76efff] (983040 bytes)
[    0.180048] reboot: Dell Latitude E5410 series board detected. Selecting PCI-method for reboots.
[    0.183434] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.186675] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.190106] RTC time: 13:50:29, date: 05/17/18
[    0.193431] NET: Registered protocol family 16
[    0.196815] audit: initializing netlink subsys (disabled)
[    0.200014] audit: type=2000 audit(1526565022.199:1): state=initialized audit_enabled=0 res=1
[    0.210007] cpuidle: using governor menu
[    0.213386] Simple Boot Flag at 0xf1 set to 0x1
[    0.216683] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.226669] ACPI: bus type PCI registered
[    0.230002] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.236725] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.246671] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.253335] PCI: Using MMCONFIG for extended config space
[    0.256668] PCI: Using configuration type 1 for base access
[    0.264553] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.270029] BUG: unable to handle kernel NULL pointer dereference at 00000104
[    0.276669] *pdpt = 0000000000000000 *pde = f000c520f000c500 
[    0.283337] Oops: 0002 [#1] SMP
[    0.286668] Modules linked in:
[    0.286668] CPU: 3 PID: 30 Comm: kworker/3:0 Tainted: G    B             4.17.0-rc5-elk+ #145
[    0.286668] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.303335] Workqueue: events pcpu_balance_workfn
[    0.303335] EIP: get_page_from_freelist+0x91f/0x1290
[    0.303335] EFLAGS: 00210086 CPU: 3
[    0.303335] EAX: 00000034 EBX: 00000100 ECX: 00000001 EDX: 00000200
[    0.303335] ESI: f53effd4 EDI: c17c03c0 EBP: f49e9df0 ESP: f49e9d80
[    0.303335]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    0.336668] CR0: 80050033 CR2: 00000104 CR3: 01875000 CR4: 000006f0
[    0.336668] Call Trace:
[    0.336668]  __alloc_pages_nodemask+0xdb/0x1050
[    0.336668]  ? __kmalloc+0x30f/0x640
[    0.336668]  ? __kmalloc+0x352/0x640
[    0.336668]  ? __kmalloc+0x1c1/0x640
[    0.336668]  ? pcpu_mem_zalloc+0x5c/0x80
[    0.336668]  pcpu_populate_chunk+0x9d/0x2d0
[    0.336668]  pcpu_balance_workfn+0x315/0x620
[    0.336668]  ? process_one_work+0x1a3/0x5d0
[    0.336668]  process_one_work+0x21a/0x5d0
[    0.336668]  worker_thread+0x37/0x420
[    0.336668]  kthread+0xda/0x110
[    0.336668]  ? rescuer_thread+0x320/0x320
[    0.336668]  ? _kthread_create_worker_on_cpu+0x20/0x20
[    0.396674]  ret_from_fork+0x2e/0x38
[    0.400003] Code: 8b 5d ac 8d 14 03 03 55 e0 8b 1a 39 d3 0f 84 21 02 00 00 89 de 83 ee 14 89 75 e8 0f 84 13 02 00 00 89 de 89 5d b4 8b 1b 8b 56 04 <89> 53 04 89 1a 6b d1 34 c7 06 00 01 00 00 c7 46 04 00 02 00 00 
[    0.410004] EIP: get_page_from_freelist+0x91f/0x1290 SS:ESP: 0068:f49e9d80
[    0.426671] CR2: 0000000000000104
[    0.426671] ---[ end trace 7c42ade3a7e8517d ]---
[    0.426671] BUG: sleeping function called from invalid context at ../include/linux/percpu-rwsem.h:34
[    0.426671] in_atomic(): 1, irqs_disabled(): 1, pid: 30, name: kworker/3:0
[    0.426671] INFO: lockdep is turned off.
[    0.426671] irq event stamp: 0
[    0.426671] hardirqs last  enabled at (0): [<00000000>]   (null)
[    0.460004] hardirqs last disabled at (0): [<c104fa4c>] copy_process.part.62+0x23c/0x16e0
[    0.460004] softirqs last  enabled at (0): [<c104fa4c>] copy_process.part.62+0x23c/0x16e0
[    0.460004] softirqs last disabled at (0): [<00000000>]   (null)
[    0.460004] CPU: 3 PID: 30 Comm: kworker/3:0 Tainted: G    B D           4.17.0-rc5-elk+ #145
[    0.460004] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.460004] Workqueue: events pcpu_balance_workfn
[    0.460004] Call Trace:
[    0.460004]  dump_stack+0x60/0x96
[    0.460004]  ___might_sleep+0x1f3/0x220
[    0.460004]  __might_sleep+0x2e/0x80
[    0.460004]  exit_signals+0x1a/0x210
[    0.460004]  do_exit+0x7e/0xb60
[    0.526672]  ? kthread+0xda/0x110
[    0.526672]  ? rescuer_thread+0x320/0x320
[    0.533335]  rewind_stack_do_exit+0x11/0x13
[    0.536677] note: kworker/3:0[30] exited with preempt_count 1
[    0.543353] kworker/3:0 (30) used greatest stack depth: 6460 bytes left

-- 
Ville Syrjala
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 13:58       ` Ville Syrjälä
@ 2018-05-17 14:11         ` Ville Syrjälä
  -1 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 14:11 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 04:58:32PM +0300, Ville Syrjälä wrote:
> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > > 
> > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > 
> > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > 
> > > Is there any bug report with some more details? It is much more
> > > preferable to fix the issue rather than to revert the whole thing
> > > right away.
> > 
> > The machine I have in front of me right now didn't give me anything.
> > Black screen, and netconsole was silent. No serial port on this
> > machine unfortunately.
> 
> Booted on another machine with serial:
> 

And here's a log with the revert:

[    0.000000] Linux version 4.17.0-rc5-elk+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #146 SMP Thu May 17 16:55:26 EEST 2018
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009abff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009ac00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000db65efff] usable
[    0.000000] BIOS-e820: [mem 0x00000000db65f000-0x00000000db67efff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000db67f000-0x00000000db76efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000db76f000-0x00000000dbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000dde00000-0x00000000dfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed13fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed18000-0x00000000fed19fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff800000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000117ffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] e820: last_pfn = 0x118000 max_arch_pfn = 0x1000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[    0.000000] Allocated new RAMDISK: [mem 0x37666000-0x377fd7ff]
[    0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37666000-0x377fd7ff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000FE300 000024 (v02 DELL  )
[    0.000000] ACPI: XSDT 0x00000000DB67DE18 000064 (v01 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: FACP 0x00000000DB75FC18 0000F4 (v04 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: DSDT 0x00000000DB74E018 00A1BB (v01 DELL   E2       00001001 INTL 20080729)
[    0.000000] ACPI: FACS 0x00000000DB76BF40 000040
[    0.000000] ACPI: FACS 0x00000000DB76ED40 000040
[    0.000000] ACPI: APIC 0x00000000DB67CF18 00008C (v02 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: MCFG 0x00000000DB76DD18 00003C (v01 A M I  GMCH945. 06222004 MSFT 00000097)
[    0.000000] ACPI: TCPA 0x00000000DB76DC98 000032 (v02                 00000000      00000000)
[    0.000000] ACPI: HPET 0x00000000DB76DC18 000038 (v01 DELL   E2       00000001 ASL  00000061)
[    0.000000] ACPI: BOOT 0x00000000DB76DB98 000028 (v01 DELL   E2       06222004 AMI  00010013)
[    0.000000] ACPI: SLIC 0x00000000DB766818 000176 (v03 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: SSDT 0x00000000DB75D018 0009F1 (v01 PmRef  CpuPm    00003000 INTL 20080729)
[    0.000000] 3592MB HIGHMEM available.
[    0.000000] 887MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 377fe000
[    0.000000]   low ram: 0 - 377fe000
[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000377fdfff]
[    0.000000]   HighMem  [mem 0x00000000377fe000-0x0000000117ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x0000000000099fff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000db65efff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x0000000117ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000117ffffff]
[    0.000000] Reserved but unavailable: 103 pages
[    0.000000] Using APIC driver default
[    0.000000] Reserving Intel graphics memory at [mem 0xde000000-0xdfffffff]
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.000000] smpboot: 8 Processors exceeds NR_CPUS limit of 4
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009a000-0x0009afff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009b000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[    0.000000] e820: [mem 0xe0000000-0xf7ffffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.000000] setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 29 pages/cpu @(ptrval) s89256 r0 d29528 u118784
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 995080
[    0.000000] Kernel command line: drm.debug=0xe modprobe.blacklist=i915,snd_hda_intel i915.enable_fbc=1 console=ttyS0,115200 init=/bin/bash
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
[    0.000000] Initializing Movable for node 0 (00000000:00000000)
[    0.000000] Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata, 2156K rodata, 572K init, 9308K bss, 56848K reserved, 4096K cma-reserved, 3078532K highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff68000 - 0xfffff000   ( 604 kB)
[    0.000000]   cpu_entry : 0xffa00000 - 0xffa9d000   ( 628 kB)
[    0.000000]     pkmap   : 0xff800000 - 0xffa00000   (2048 kB)
[    0.000000]     vmalloc : 0xf7ffe000 - 0xff7fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf77fe000   ( 887 MB)
[    0.000000]       .init : 0xc17de000 - 0xc186d000   ( 572 kB)
[    0.000000]       .data : 0xc152193c - 0xc17cd6c0   (2735 kB)
[    0.000000]       .text : 0xc1000000 - 0xc152193c   (5254 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      131072
[    0.000000] ... CHAINHASH_SIZE:          65536
[    0.000000]  memory used by lock dependency info: 5935 kB
[    0.000000]  per task-struct memory footprint: 1344 bytes
[    0.000000] ACPI: Core revision 20180313
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.003333] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.006666] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.023333] tsc: Fast TSC calibration using PIT
[    0.026666] tsc: Detected 2659.950 MHz processor
[    0.029999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2657749ff96, max_idle_ns: 440795305409 ns
[    0.033339] Calibrating delay loop (skipped), value calculated using timer frequency.. 5322.56 BogoMIPS (lpj=8866500)
[    0.036669] pid_max: default: 32768 minimum: 301
[    0.040045] Security Framework initialized
[    0.043355] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.046671] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.050387] CPU: Physical Processor ID: 0
[    0.053337] CPU: Processor Core ID: 0
[    0.056674] mce: CPU supports 9 MCE banks
[    0.060020] process: using mwait in idle threads
[    0.063340] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
[    0.066669] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.070003] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[    0.073335] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[    0.076770] Freeing SMP alternatives memory: 20K
[    0.083333] smpboot: CPU0: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz (family: 0x6, model: 0x25, stepping: 0x5)
[    0.083545] Performance Events: PEBS fmt1+, Westmere events, 16-deep LBR, Intel PMU driver.
[    0.086671] core: CPUID marked event: 'bus cycles' unavailable
[    0.090014] ... version:                3
[    0.093336] ... bit width:              48
[    0.096669] ... generic registers:      4
[    0.100002] ... value mask:             0000ffffffffffff
[    0.103336] ... max period:             000000007fffffff
[    0.106669] ... fixed-purpose events:   3
[    0.110002] ... event mask:             000000070000000f
[    0.113426] Hierarchical SRCU implementation.
[    0.117232] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.120039] smp: Bringing up secondary CPUs ...
[    0.123747] x86: Booting SMP configuration:
[    0.126679] .... node  #0, CPUs:      #1
[    0.003333] Initializing CPU#1
[    0.136999]  #2
[    0.003333] Initializing CPU#2
[    0.145684]  #3
[    0.003333] Initializing CPU#3
[    0.153086] smp: Brought up 1 node, 4 CPUs
[    0.153340] smpboot: Max logical packages: 1
[    0.156671] smpboot: Total of 4 processors activated (21288.25 BogoMIPS)
[    0.163562] devtmpfs: initialized
[    0.167061] random: get_random_u32 called from bucket_table_alloc+0x71/0x190 with crng_init=0
[    0.170069] PM: Registering ACPI NVS region [mem 0xdb67f000-0xdb76efff] (983040 bytes)
[    0.173436] reboot: Dell Latitude E5410 series board detected. Selecting PCI-method for reboots.
[    0.180021] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.183344] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.186899] RTC time: 13:57:03, date: 05/17/18
[    0.190218] NET: Registered protocol family 16
[    0.193612] audit: initializing netlink subsys (disabled)
[    0.196691] audit: type=2000 audit(1526565422.196:1): state=initialized audit_enabled=0 res=1
[    0.203349] cpuidle: using governor menu
[    0.210070] Simple Boot Flag at 0xf1 set to 0x1
[    0.213360] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.220009] ACPI: bus type PCI registered
[    0.223337] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.230107] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.240007] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.246670] PCI: Using MMCONFIG for extended config space
[    0.253336] PCI: Using configuration type 1 for base access
[    0.260760] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.266836] ACPI: Added _OSI(Module Device)
[    0.270005] ACPI: Added _OSI(Processor Device)
[    0.273338] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.276670] ACPI: Added _OSI(Processor Aggregator Device)
[    0.280006] ACPI: Added _OSI(Linux-Dell-Video)
[    0.302187] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.312792] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.330164] ACPI: Dynamic OEM Table Load:
[    0.333345] ACPI: SSDT 0x00000000F4AD0000 000474 (v01 PmRef  Cpu0Ist  00003000 INTL 20080729)
[    0.337293] ACPI: Dynamic OEM Table Load:
[    0.340011] ACPI: SSDT 0x00000000F48A1000 000891 (v01 PmRef  Cpu0Cst  00003001 INTL 20080729)
[    0.347087] ACPI: Dynamic OEM Table Load:
[    0.350010] ACPI: SSDT 0x00000000F4AD5400 000303 (v01 PmRef  ApIst    00003000 INTL 20080729)
[    0.356784] ACPI: Dynamic OEM Table Load:
[    0.360010] ACPI: SSDT 0x00000000F4AB7A00 000119 (v01 PmRef  ApCst    00003000 INTL 20080729)
[    0.367800] ACPI: EC: EC started
[    0.370003] ACPI: EC: interrupt blocked
[    0.376910] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as first EC
[    0.380006] ACPI: \_SB_.PCI0.LPCB.ECDV: GPE=0x10, EC_CMD/EC_SC=0x934, EC_DATA=0x930
[    0.383338] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as boot DSDT EC to handle transactions
[    0.386669] ACPI: Interpreter enabled
[    0.390046] ACPI: (supports S0 S3 S4 S5)
[    0.393342] ACPI: Using IOAPIC for interrupt routing
[    0.396722] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.400469] ACPI: Enabled 7 GPEs in block 00 to 3F
[    0.434195] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[    0.436676] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.440122] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.444568] PCI host bridge to bus 0000:00
[    0.446673] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.450004] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.453338] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.456671] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfeafffff window]
[    0.460005] pci_bus 0000:00: root bus resource [bus 00-3e]
[    0.469936] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.470378] pci 0000:02:00.0: enabling Extended Tags
[    0.473786] pci 0000:00:1c.1: PCI bridge to [bus 02]
[    0.480185] pci 0000:03:00.4: Enabling fixed DMA alias to 00.0
[    0.483726] pci 0000:00:1c.2: PCI bridge to [bus 03-04]
[    0.486797] pci 0000:00:1c.2: bridge has subordinate 04 but max busn 07
[    0.490162] acpiphp: Slot [1] registered
[    0.493345] pci 0000:00:1c.3: PCI bridge to [bus 05-0a]
[    0.497126] pci 0000:0b:00.0: enabling Extended Tags
[    0.503607] pci 0000:00:1c.5: PCI bridge to [bus 0b]
[    0.506802] pci 0000:00:1e.0: PCI bridge to [bus 0c] (subtractive decode)
[    0.515058] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[    0.516809] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 *3 4 5 6 7 11 12 14 15)
[    0.520136] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[    0.523470] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.526802] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.530136] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.533470] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 *5 6 7 10 12 14 15)
[    0.536802] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.543746] ACPI: PCI Root Bridge [CPBG] (domain 0000 [bus 3f])
[    0.546674] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.550012] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.553512] PCI host bridge to bus 0000:3f
[    0.556672] pci_bus 0000:3f: root bus resource [bus 3f]
[    0.563475] ACPI: EC: interrupt unblocked
[    0.566694] ACPI: EC: event unblocked
[    0.570044] ACPI: \_SB_.PCI0.LPCB.ECDV: GPE=0x10, EC_CMD/EC_SC=0x934, EC_DATA=0x930
[    0.573357] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as boot DSDT EC to handle transactions and events
[    0.583757] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.586666] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.597247] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.603338] vgaarb: loaded
[    0.606946] SCSI subsystem initialized
[    0.610295] PCI: Using ACPI for IRQ routing
[    0.618098] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.623341] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[    0.633336] clocksource: Switched to clocksource tsc-early
[    0.659590] pnp: PnP ACPI init
[    0.662961] system 00:00: [io  0x0680-0x069f] has been reserved
[    0.668885] system 00:00: [io  0x1000-0x1003] has been reserved
[    0.674797] system 00:00: [io  0x1004-0x1013] has been reserved
[    0.680712] system 00:00: [io  0xffff] has been reserved
[    0.686168] system 00:00: [io  0x0400-0x047f] has been reserved
[    0.692082] system 00:00: [io  0x0500-0x057f] has been reserved
[    0.697997] system 00:00: [io  0x164e-0x164f] has been reserved
[    0.707585] system 00:06: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.714196] system 00:06: [mem 0xfed10000-0xfed13fff] has been reserved
[    0.720804] system 00:06: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.727411] system 00:06: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.734017] system 00:06: [mem 0xf8000000-0xfbffffff] has been reserved
[    0.740623] system 00:06: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.747228] system 00:06: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.753837] system 00:06: [mem 0xff000000-0xffffffff] could not be reserved
[    0.760793] system 00:06: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.767748] system 00:06: [mem 0xf7d80000-0xf7d80fff] has been reserved
[    0.777492] pnp: PnP ACPI: found 7 devices
[    0.819922] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.828883] pci 0000:00:1c.0: BAR 9: assigned [mem 0xf7e00000-0xf7ffffff 64bit pref]
[    0.836621] pci 0000:00:1c.1: BAR 9: assigned [mem 0xfc000000-0xfc1fffff 64bit pref]
[    0.844358] pci 0000:00:1c.2: BAR 9: assigned [mem 0xfc200000-0xfc3fffff 64bit pref]
[    0.852095] pci 0000:00:1c.3: BAR 9: assigned [mem 0xfc400000-0xfc5fffff 64bit pref]
[    0.859831] pci 0000:00:1c.5: BAR 9: assigned [mem 0xfc600000-0xfc7fffff 64bit pref]
[    0.867566] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.872526] pci 0000:00:1c.0:   bridge window [io  0x7000-0x7fff]
[    0.878618] pci 0000:00:1c.0:   bridge window [mem 0xf6900000-0xf7cfffff]
[    0.885400] pci 0000:00:1c.0:   bridge window [mem 0xf7e00000-0xf7ffffff 64bit pref]
[    0.893139] pci 0000:00:1c.1: PCI bridge to [bus 02]
[    0.898100] pci 0000:00:1c.1:   bridge window [io  0x6000-0x6fff]
[    0.904190] pci 0000:00:1c.1:   bridge window [mem 0xf5500000-0xf68fffff]
[    0.910974] pci 0000:00:1c.1:   bridge window [mem 0xfc000000-0xfc1fffff 64bit pref]
[    0.918718] pci 0000:03:00.0: BAR 9: no space for [mem size 0x04000000 pref]
[    0.925761] pci 0000:03:00.0: BAR 9: failed to assign [mem size 0x04000000 pref]
[    0.933149] pci 0000:03:00.0: BAR 10: no space for [mem size 0x04000000]
[    0.939842] pci 0000:03:00.0: BAR 10: failed to assign [mem size 0x04000000]
[    0.946882] pci 0000:03:00.0: BAR 7: assigned [io  0x2000-0x20ff]
[    0.952966] pci 0000:03:00.0: BAR 8: assigned [io  0x2400-0x24ff]
[    0.959057] pci 0000:03:00.0: BAR 10: no space for [mem size 0x04000000]
[    0.965747] pci 0000:03:00.0: BAR 10: failed to assign [mem size 0x04000000]
[    0.972786] pci 0000:03:00.0: BAR 9: no space for [mem size 0x04000000 pref]
[    0.979824] pci 0000:03:00.0: BAR 9: failed to assign [mem size 0x04000000 pref]
[    0.987211] pci 0000:03:00.0: CardBus bridge to [bus 04]
[    0.992515] pci 0000:03:00.0:   bridge window [io  0x2000-0x20ff]
[    0.998605] pci 0000:03:00.0:   bridge window [io  0x2400-0x24ff]
[    1.004696] pci 0000:00:1c.2: PCI bridge to [bus 03-04]
[    1.009916] pci 0000:00:1c.2:   bridge window [io  0x2000-0x3fff]
[    1.016006] pci 0000:00:1c.2:   bridge window [mem 0xf0400000-0xf2cfffff]
[    1.022788] pci 0000:00:1c.2:   bridge window [mem 0xfc200000-0xfc3fffff 64bit pref]
[    1.030528] pci 0000:00:1c.3: PCI bridge to [bus 05-0a]
[    1.035748] pci 0000:00:1c.3:   bridge window [io  0x5000-0x5fff]
[    1.041846] pci 0000:00:1c.3:   bridge window [mem 0xf4100000-0xf54fffff]
[    1.048636] pci 0000:00:1c.3:   bridge window [mem 0xfc400000-0xfc5fffff 64bit pref]
[    1.056377] pci 0000:00:1c.5: PCI bridge to [bus 0b]
[    1.061340] pci 0000:00:1c.5:   bridge window [io  0x4000-0x4fff]
[    1.067432] pci 0000:00:1c.5:   bridge window [mem 0xf2d00000-0xf40fffff]
[    1.074214] pci 0000:00:1c.5:   bridge window [mem 0xfc600000-0xfc7fffff 64bit pref]
[    1.081954] pci 0000:00:1e.0: PCI bridge to [bus 0c]
[    1.087194] NET: Registered protocol family 2
[    1.091808] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes)
[    1.099579] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.106639] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[    1.113525] TCP: Hash tables configured (established 8192 bind 8192)
[    1.119937] UDP hash table entries: 512 (order: 3, 40960 bytes)
[    1.125907] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[    1.132373] NET: Registered protocol family 1
[    1.136744] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    1.146758] Unpacking initramfs...
[    1.152236] Freeing initrd memory: 1632K
[    1.157566] cryptomgr_test (48) used greatest stack depth: 7308 bytes left
[    1.159044] workingset: timestamp_bits=30 max_order=20 bucket_order=0
[    1.171619] cryptomgr_test (55) used greatest stack depth: 7016 bytes left
[    1.171778] bounce: pool size: 64 pages
[    1.178502] cryptomgr_test (56) used greatest stack depth: 6980 bytes left
[    1.182372] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.196633] io scheduler noop registered
[    1.200556] io scheduler deadline registered
[    1.204841] io scheduler cfq registered (default)
[    1.209545] io scheduler mq-deadline registered
[    1.214074] io scheduler kyber registered
[    1.221626] ACPI: AC Adapter [AC] (on-line)
[    1.225962] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[    1.236374] ACPI: Lid Switch [LID]
[    1.240123] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[    1.248613] ACPI: Power Button [PBTN]
[    1.252533] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
[    1.260975] ACPI: Sleep Button [SBTN]
[    1.264845] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[    1.272291] ACPI: Power Button [PWRF]
[    1.278067] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
ÿ[    1.305815] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.323638] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 4 ports 3 Gbps 0x23 impl SATA mode
[    1.332139] ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part ems sxs apst 
[    1.389992] scsi host0: ahci
[    1.393586] scsi host1: ahci
[    1.397114] scsi host2: ahci
[    1.398034] ACPI: Battery Slot [BAT0] (battery present)
[    1.400323] scsi host3: ahci
[    1.408474] scsi host4: ahci
[    1.411603] scsi host5: ahci
[    1.414596] ata1: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20100 irq 24
[    1.422002] ata2: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20180 irq 24
[    1.429401] ata3: DUMMY
[    1.431859] ata4: DUMMY
[    1.434317] ata5: DUMMY
[    1.436777] ata6: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20380 irq 24
[    1.444848] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.453541] i8042: Warning: Keylock active
[    1.458916] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.463944] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.469815] rtc_cmos 00:01: RTC can wake from S4
[    1.475098] rtc_cmos 00:01: registered as rtc0
[    1.479694] rtc_cmos 00:01: alarms up to one year, y3k, 242 bytes nvram, hpet irqs
[    1.487513] IR NEC protocol handler initialized
[    1.487744] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[    1.492065] IR RC5(x/sz) protocol handler initialized
[    1.492068] IR RC6 protocol handler initialized
[    1.492070] IR JVC protocol handler initialized
[    1.492073] IR Sony protocol handler initialized
[    1.492076] IR SANYO protocol handler initialized
[    1.492079] IR Sharp protocol handler initialized
[    1.528867] IR MCE Keyboard/mouse protocol handler initialized
[    1.534707] IR XMP protocol handler initialized
[    1.539548] NET: Registered protocol family 17
[    1.545379] microcode: sig=0x20655, pf=0x10, revision=0x4
[    1.551242] microcode: Microcode Update Driver: v2.2.
[    1.551252] Using IPI No-Shortcut mode
[    1.560117] sched_clock: Marking stable (1560072742, 0)->(1890797128, -330724386)
[    1.568797] registered taskstats version 1
[    1.573798]   Magic number: 2:93:989
[    1.577402] machinecheck machinecheck2: hash matches
[    1.582795] console [netcon0] enabled
[    1.586526] netconsole: network logging started
[    1.591303] rtc_cmos 00:01: setting system clock to 2018-05-17 13:57:04 UTC (1526565424)
[    1.758433] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.764760] ata6: SATA link down (SStatus 0 SControl 300)
[    1.770191] ata2.00: ATAPI: Optiarc DVD+/-RW AD-7717H, 101A, max UDMA/100
[    1.777010] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.783727] ata1.00: ACPI cmd 00/00:00:00:00:00:a0 (NOP) rejected by device (Stat=0x51 Err=0x04)
[    1.792628] ata2.00: configured for UDMA/100
[    1.796915] ata1.00: ATA-11: KINGSTON SA400S37120G, SBFK71E0, max UDMA/133
[    1.803835] ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    1.811460] ata1.00: ACPI cmd 00/00:00:00:00:00:a0 (NOP) rejected by device (Stat=0x51 Err=0x04)
[    1.820405] ata1.00: configured for UDMA/133
[    1.825123] scsi 0:0:0:0: Direct-Access     ATA      KINGSTON SA400S3 71E0 PQ: 0 ANSI: 5
[    1.834745] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    1.836380] scsi 1:0:0:0: CD-ROM            Optiarc  DVD+-RW AD-7717H 101A PQ: 0 ANSI: 5
[    1.842298] sd 0:0:0:0: [sda] Write Protect is off
[    1.855258] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.865635]  sda: sda1 sda2 sda3
[    1.870491] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.888549] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.896082] Please append a correct "root=" boot option; here are the available partitions:
[    1.904482] 0800       117220824 sda 
[    1.904484]  driver: sd
[    1.910594]   0801          524288 sda1 a1ab8ade-01
[    1.910595] 
[    1.917017]   0802         2097152 sda2 a1ab8ade-02
[    1.917019] 
[    1.923382]   0803       114598360 sda3 a1ab8ade-03
[    1.923383] 
[    1.929799] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.938048] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.17.0-rc5-elk+ #146
[    1.944908] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    1.952202] Call Trace:
[    1.954649]  dump_stack+0x60/0x96
[    1.957964]  panic+0x8f/0x1c6
[    1.960926]  mount_block_root+0x191/0x206
[    1.964930]  mount_root+0x71/0x76
[    1.968240]  prepare_namespace+0x111/0x141
[    1.972328]  kernel_init_freeable+0x17c/0x18e
[    1.976677]  ? rest_init+0xb0/0xb0
[    1.980075]  kernel_init+0x8/0xf0
[    1.983387]  ret_from_fork+0x2e/0x38
[    1.987020] Kernel Offset: disabled
[    1.990512] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
[    1.999976] ------------[ cut here ]------------
[    2.004583] sched: Unexpected reschedule of offline CPU#2!
[    2.010063] WARNING: CPU: 0 PID: 1 at ../arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x2b/0x40
[    2.019435] Modules linked in:
[    2.022486] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.17.0-rc5-elk+ #146
[    2.029346] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    2.036641] EIP: native_smp_send_reschedule+0x2b/0x40
[    2.041680] EFLAGS: 00210086 CPU: 0
[    2.045160] EAX: 0000002e EBX: 00000003 ECX: 00000000 EDX: f4884040
[    2.051412] ESI: 00000002 EDI: 00000003 EBP: f488fdac ESP: f488fda4
[    2.057666]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    2.063054] CR0: 80050033 CR2: 00000000 CR3: 01875000 CR4: 000006f0
[    2.069306] Call Trace:
[    2.071749]  kick_ilb+0x80/0x90
[    2.074884]  trigger_load_balance+0x108/0x370
[    2.079231]  scheduler_tick+0xa5/0xd0
[    2.082886]  update_process_times+0x3a/0x50
[    2.087061]  tick_sched_handle+0x23/0x60
[    2.090977]  tick_sched_timer+0x38/0x90
[    2.094805]  __hrtimer_run_queues+0x137/0x500
[    2.099155]  ? ktime_get_update_offsets_now+0x89/0x1d0
[    2.104283]  ? tick_sched_do_timer+0x70/0x70
[    2.108544]  hrtimer_interrupt+0x100/0x2a0
[    2.112634]  smp_apic_timer_interrupt+0x67/0x2b0
[    2.117241]  apic_timer_interrupt+0x3a/0x40
[    2.121415] EIP: panic+0x179/0x1c6
[    2.124809] EFLAGS: 00200246 CPU: 0
[    2.128289] EAX: c16a43b0 EBX: f488ff00 ECX: 00000000 EDX: 00000000
[    2.134541] ESI: 00000000 EDI: 00000000 EBP: f488ff1c ESP: f488ff08
[    2.140796]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    2.146185]  ? debug_rt_mutex_proxy_unlock+0x2b/0x50
[    2.151139]  mount_block_root+0x191/0x206
[    2.155140]  mount_root+0x71/0x76
[    2.158448]  prepare_namespace+0x111/0x141
[    2.162535]  kernel_init_freeable+0x17c/0x18e
[    2.166883]  ? rest_init+0xb0/0xb0
[    2.170277]  kernel_init+0x8/0xf0
[    2.173585]  ret_from_fork+0x2e/0x38
[    2.177152] Code: 55 89 e5 0f a3 05 dc 9e 7c c1 73 14 8b 0d a0 c3 70 c1 ba fd 00 00 00 ff 51 18 c9 c3 8d 74 26 00 50 68 74 fc 69 c1 e8 45 98 01 00 <0f> 0b 58 5a c9 c3 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 
[    2.196016] irq event stamp: 815904
[    2.199498] hardirqs last  enabled at (815903): [<c10ad5f5>] console_unlock+0x565/0x690
[    2.207486] hardirqs last disabled at (815904): [<c10521fd>] panic+0x13/0x1c6
[    2.214608] softirqs last  enabled at (815898): [<c1520bee>] __do_softirq+0x32e/0x42e
[    2.222423] softirqs last disabled at (815891): [<c101bf10>] call_on_stack+0x40/0x50
[    2.230149] WARNING: CPU: 0 PID: 1 at ../arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x2b/0x40
[    2.239522] ---[ end trace 36642faeb7bb25ab ]---

-- 
Ville Syrjälä
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 14:11         ` Ville Syrjälä
  0 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 14:11 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 04:58:32PM +0300, Ville Syrjala wrote:
> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > > > 
> > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > 
> > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > 
> > > Is there any bug report with some more details? It is much more
> > > preferable to fix the issue rather than to revert the whole thing
> > > right away.
> > 
> > The machine I have in front of me right now didn't give me anything.
> > Black screen, and netconsole was silent. No serial port on this
> > machine unfortunately.
> 
> Booted on another machine with serial:
> 

And here's a log with the revert:

[    0.000000] Linux version 4.17.0-rc5-elk+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #146 SMP Thu May 17 16:55:26 EEST 2018
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009abff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009ac00-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000db65efff] usable
[    0.000000] BIOS-e820: [mem 0x00000000db65f000-0x00000000db67efff] ACPI data
[    0.000000] BIOS-e820: [mem 0x00000000db67f000-0x00000000db76efff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x00000000db76f000-0x00000000dbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000dde00000-0x00000000dfffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed13fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed18000-0x00000000fed19fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ff800000-0x00000000ffffffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x0000000117ffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] SMBIOS 2.6 present.
[    0.000000] DMI: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] e820: last_pfn = 0x118000 max_arch_pfn = 0x1000000
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT  
[    0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[    0.000000] Allocated new RAMDISK: [mem 0x37666000-0x377fd7ff]
[    0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37666000-0x377fd7ff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000FE300 000024 (v02 DELL  )
[    0.000000] ACPI: XSDT 0x00000000DB67DE18 000064 (v01 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: FACP 0x00000000DB75FC18 0000F4 (v04 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: DSDT 0x00000000DB74E018 00A1BB (v01 DELL   E2       00001001 INTL 20080729)
[    0.000000] ACPI: FACS 0x00000000DB76BF40 000040
[    0.000000] ACPI: FACS 0x00000000DB76ED40 000040
[    0.000000] ACPI: APIC 0x00000000DB67CF18 00008C (v02 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: MCFG 0x00000000DB76DD18 00003C (v01 A M I  GMCH945. 06222004 MSFT 00000097)
[    0.000000] ACPI: TCPA 0x00000000DB76DC98 000032 (v02                 00000000      00000000)
[    0.000000] ACPI: HPET 0x00000000DB76DC18 000038 (v01 DELL   E2       00000001 ASL  00000061)
[    0.000000] ACPI: BOOT 0x00000000DB76DB98 000028 (v01 DELL   E2       06222004 AMI  00010013)
[    0.000000] ACPI: SLIC 0x00000000DB766818 000176 (v03 DELL   E2       06222004 MSFT 00010013)
[    0.000000] ACPI: SSDT 0x00000000DB75D018 0009F1 (v01 PmRef  CpuPm    00003000 INTL 20080729)
[    0.000000] 3592MB HIGHMEM available.
[    0.000000] 887MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 377fe000
[    0.000000]   low ram: 0 - 377fe000
[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000377fdfff]
[    0.000000]   HighMem  [mem 0x00000000377fe000-0x0000000117ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x0000000000099fff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x00000000db65efff]
[    0.000000]   node   0: [mem 0x0000000100000000-0x0000000117ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x0000000117ffffff]
[    0.000000] Reserved but unavailable: 103 pages
[    0.000000] Using APIC driver default
[    0.000000] Reserving Intel graphics memory at [mem 0xde000000-0xdfffffff]
[    0.000000] ACPI: PM-Timer IO Port: 0x408
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-23
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    0.000000] smpboot: 8 Processors exceeds NR_CPUS limit of 4
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009a000-0x0009afff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009b000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff]
[    0.000000] e820: [mem 0xe0000000-0xf7ffffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.000000] setup_percpu: NR_CPUS:4 nr_cpumask_bits:4 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 29 pages/cpu @(ptrval) s89256 r0 d29528 u118784
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 995080
[    0.000000] Kernel command line: drm.debug=0xe modprobe.blacklist=i915,snd_hda_intel i915.enable_fbc=1 console=ttyS0,115200 init=/bin/bash
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
[    0.000000] Initializing Movable for node 0 (00000000:00000000)
[    0.000000] Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata, 2156K rodata, 572K init, 9308K bss, 56848K reserved, 4096K cma-reserved, 3078532K highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff68000 - 0xfffff000   ( 604 kB)
[    0.000000]   cpu_entry : 0xffa00000 - 0xffa9d000   ( 628 kB)
[    0.000000]     pkmap   : 0xff800000 - 0xffa00000   (2048 kB)
[    0.000000]     vmalloc : 0xf7ffe000 - 0xff7fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf77fe000   ( 887 MB)
[    0.000000]       .init : 0xc17de000 - 0xc186d000   ( 572 kB)
[    0.000000]       .data : 0xc152193c - 0xc17cd6c0   (2735 kB)
[    0.000000]       .text : 0xc1000000 - 0xc152193c   (5254 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] Running RCU self tests
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] NR_IRQS: 2304, nr_irqs: 456, preallocated irqs: 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      131072
[    0.000000] ... CHAINHASH_SIZE:          65536
[    0.000000]  memory used by lock dependency info: 5935 kB
[    0.000000]  per task-struct memory footprint: 1344 bytes
[    0.000000] ACPI: Core revision 20180313
[    0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns
[    0.000000] APIC: Switch to symmetric I/O mode setup
[    0.003333] Enabling APIC mode:  Flat.  Using 1 I/O APICs
[    0.006666] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=0 pin2=0
[    0.023333] tsc: Fast TSC calibration using PIT
[    0.026666] tsc: Detected 2659.950 MHz processor
[    0.029999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x2657749ff96, max_idle_ns: 440795305409 ns
[    0.033339] Calibrating delay loop (skipped), value calculated using timer frequency.. 5322.56 BogoMIPS (lpj=8866500)
[    0.036669] pid_max: default: 32768 minimum: 301
[    0.040045] Security Framework initialized
[    0.043355] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.046671] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.050387] CPU: Physical Processor ID: 0
[    0.053337] CPU: Processor Core ID: 0
[    0.056674] mce: CPU supports 9 MCE banks
[    0.060020] process: using mwait in idle threads
[    0.063340] Last level iTLB entries: 4KB 512, 2MB 7, 4MB 7
[    0.066669] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0
[    0.070003] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[    0.073335] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[    0.076770] Freeing SMP alternatives memory: 20K
[    0.083333] smpboot: CPU0: Intel(R) Core(TM) i5 CPU       M 560  @ 2.67GHz (family: 0x6, model: 0x25, stepping: 0x5)
[    0.083545] Performance Events: PEBS fmt1+, Westmere events, 16-deep LBR, Intel PMU driver.
[    0.086671] core: CPUID marked event: 'bus cycles' unavailable
[    0.090014] ... version:                3
[    0.093336] ... bit width:              48
[    0.096669] ... generic registers:      4
[    0.100002] ... value mask:             0000ffffffffffff
[    0.103336] ... max period:             000000007fffffff
[    0.106669] ... fixed-purpose events:   3
[    0.110002] ... event mask:             000000070000000f
[    0.113426] Hierarchical SRCU implementation.
[    0.117232] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.120039] smp: Bringing up secondary CPUs ...
[    0.123747] x86: Booting SMP configuration:
[    0.126679] .... node  #0, CPUs:      #1
[    0.003333] Initializing CPU#1
[    0.136999]  #2
[    0.003333] Initializing CPU#2
[    0.145684]  #3
[    0.003333] Initializing CPU#3
[    0.153086] smp: Brought up 1 node, 4 CPUs
[    0.153340] smpboot: Max logical packages: 1
[    0.156671] smpboot: Total of 4 processors activated (21288.25 BogoMIPS)
[    0.163562] devtmpfs: initialized
[    0.167061] random: get_random_u32 called from bucket_table_alloc+0x71/0x190 with crng_init=0
[    0.170069] PM: Registering ACPI NVS region [mem 0xdb67f000-0xdb76efff] (983040 bytes)
[    0.173436] reboot: Dell Latitude E5410 series board detected. Selecting PCI-method for reboots.
[    0.180021] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.183344] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.186899] RTC time: 13:57:03, date: 05/17/18
[    0.190218] NET: Registered protocol family 16
[    0.193612] audit: initializing netlink subsys (disabled)
[    0.196691] audit: type=2000 audit(1526565422.196:1): state=initialized audit_enabled=0 res=1
[    0.203349] cpuidle: using governor menu
[    0.210070] Simple Boot Flag at 0xf1 set to 0x1
[    0.213360] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[    0.220009] ACPI: bus type PCI registered
[    0.223337] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.230107] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000)
[    0.240007] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820
[    0.246670] PCI: Using MMCONFIG for extended config space
[    0.253336] PCI: Using configuration type 1 for base access
[    0.260760] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.266836] ACPI: Added _OSI(Module Device)
[    0.270005] ACPI: Added _OSI(Processor Device)
[    0.273338] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.276670] ACPI: Added _OSI(Processor Aggregator Device)
[    0.280006] ACPI: Added _OSI(Linux-Dell-Video)
[    0.302187] ACPI: 2 ACPI AML tables successfully acquired and loaded
[    0.312792] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.330164] ACPI: Dynamic OEM Table Load:
[    0.333345] ACPI: SSDT 0x00000000F4AD0000 000474 (v01 PmRef  Cpu0Ist  00003000 INTL 20080729)
[    0.337293] ACPI: Dynamic OEM Table Load:
[    0.340011] ACPI: SSDT 0x00000000F48A1000 000891 (v01 PmRef  Cpu0Cst  00003001 INTL 20080729)
[    0.347087] ACPI: Dynamic OEM Table Load:
[    0.350010] ACPI: SSDT 0x00000000F4AD5400 000303 (v01 PmRef  ApIst    00003000 INTL 20080729)
[    0.356784] ACPI: Dynamic OEM Table Load:
[    0.360010] ACPI: SSDT 0x00000000F4AB7A00 000119 (v01 PmRef  ApCst    00003000 INTL 20080729)
[    0.367800] ACPI: EC: EC started
[    0.370003] ACPI: EC: interrupt blocked
[    0.376910] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as first EC
[    0.380006] ACPI: \_SB_.PCI0.LPCB.ECDV: GPE=0x10, EC_CMD/EC_SC=0x934, EC_DATA=0x930
[    0.383338] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as boot DSDT EC to handle transactions
[    0.386669] ACPI: Interpreter enabled
[    0.390046] ACPI: (supports S0 S3 S4 S5)
[    0.393342] ACPI: Using IOAPIC for interrupt routing
[    0.396722] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.400469] ACPI: Enabled 7 GPEs in block 00 to 3F
[    0.434195] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e])
[    0.436676] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.440122] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.444568] PCI host bridge to bus 0000:00
[    0.446673] pci_bus 0000:00: root bus resource [io  0x0000-0x0cf7 window]
[    0.450004] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.453338] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.456671] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xfeafffff window]
[    0.460005] pci_bus 0000:00: root bus resource [bus 00-3e]
[    0.469936] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.470378] pci 0000:02:00.0: enabling Extended Tags
[    0.473786] pci 0000:00:1c.1: PCI bridge to [bus 02]
[    0.480185] pci 0000:03:00.4: Enabling fixed DMA alias to 00.0
[    0.483726] pci 0000:00:1c.2: PCI bridge to [bus 03-04]
[    0.486797] pci 0000:00:1c.2: bridge has subordinate 04 but max busn 07
[    0.490162] acpiphp: Slot [1] registered
[    0.493345] pci 0000:00:1c.3: PCI bridge to [bus 05-0a]
[    0.497126] pci 0000:0b:00.0: enabling Extended Tags
[    0.503607] pci 0000:00:1c.5: PCI bridge to [bus 0b]
[    0.506802] pci 0000:00:1e.0: PCI bridge to [bus 0c] (subtractive decode)
[    0.515058] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[    0.516809] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 *3 4 5 6 7 11 12 14 15)
[    0.520136] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 10 12 14 15) *11
[    0.523470] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 11 12 14 15) *10
[    0.526802] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 7 10 12 14 15) *0, disabled.
[    0.530136] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.533470] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 *5 6 7 10 12 14 15)
[    0.536802] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 7 11 12 14 15) *0, disabled.
[    0.543746] ACPI: PCI Root Bridge [CPBG] (domain 0000 [bus 3f])
[    0.546674] acpi PNP0A03:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI]
[    0.550012] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.553512] PCI host bridge to bus 0000:3f
[    0.556672] pci_bus 0000:3f: root bus resource [bus 3f]
[    0.563475] ACPI: EC: interrupt unblocked
[    0.566694] ACPI: EC: event unblocked
[    0.570044] ACPI: \_SB_.PCI0.LPCB.ECDV: GPE=0x10, EC_CMD/EC_SC=0x934, EC_DATA=0x930
[    0.573357] ACPI: \_SB_.PCI0.LPCB.ECDV: Used as boot DSDT EC to handle transactions and events
[    0.583757] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.586666] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.597247] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.603338] vgaarb: loaded
[    0.606946] SCSI subsystem initialized
[    0.610295] PCI: Using ACPI for IRQ routing
[    0.618098] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0
[    0.623341] hpet0: 8 comparators, 64-bit 14.318180 MHz counter
[    0.633336] clocksource: Switched to clocksource tsc-early
[    0.659590] pnp: PnP ACPI init
[    0.662961] system 00:00: [io  0x0680-0x069f] has been reserved
[    0.668885] system 00:00: [io  0x1000-0x1003] has been reserved
[    0.674797] system 00:00: [io  0x1004-0x1013] has been reserved
[    0.680712] system 00:00: [io  0xffff] has been reserved
[    0.686168] system 00:00: [io  0x0400-0x047f] has been reserved
[    0.692082] system 00:00: [io  0x0500-0x057f] has been reserved
[    0.697997] system 00:00: [io  0x164e-0x164f] has been reserved
[    0.707585] system 00:06: [mem 0xfed1c000-0xfed1ffff] has been reserved
[    0.714196] system 00:06: [mem 0xfed10000-0xfed13fff] has been reserved
[    0.720804] system 00:06: [mem 0xfed18000-0xfed18fff] has been reserved
[    0.727411] system 00:06: [mem 0xfed19000-0xfed19fff] has been reserved
[    0.734017] system 00:06: [mem 0xf8000000-0xfbffffff] has been reserved
[    0.740623] system 00:06: [mem 0xfed20000-0xfed3ffff] has been reserved
[    0.747228] system 00:06: [mem 0xfed45000-0xfed8ffff] has been reserved
[    0.753837] system 00:06: [mem 0xff000000-0xffffffff] could not be reserved
[    0.760793] system 00:06: [mem 0xfee00000-0xfeefffff] could not be reserved
[    0.767748] system 00:06: [mem 0xf7d80000-0xf7d80fff] has been reserved
[    0.777492] pnp: PnP ACPI: found 7 devices
[    0.819922] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.828883] pci 0000:00:1c.0: BAR 9: assigned [mem 0xf7e00000-0xf7ffffff 64bit pref]
[    0.836621] pci 0000:00:1c.1: BAR 9: assigned [mem 0xfc000000-0xfc1fffff 64bit pref]
[    0.844358] pci 0000:00:1c.2: BAR 9: assigned [mem 0xfc200000-0xfc3fffff 64bit pref]
[    0.852095] pci 0000:00:1c.3: BAR 9: assigned [mem 0xfc400000-0xfc5fffff 64bit pref]
[    0.859831] pci 0000:00:1c.5: BAR 9: assigned [mem 0xfc600000-0xfc7fffff 64bit pref]
[    0.867566] pci 0000:00:1c.0: PCI bridge to [bus 01]
[    0.872526] pci 0000:00:1c.0:   bridge window [io  0x7000-0x7fff]
[    0.878618] pci 0000:00:1c.0:   bridge window [mem 0xf6900000-0xf7cfffff]
[    0.885400] pci 0000:00:1c.0:   bridge window [mem 0xf7e00000-0xf7ffffff 64bit pref]
[    0.893139] pci 0000:00:1c.1: PCI bridge to [bus 02]
[    0.898100] pci 0000:00:1c.1:   bridge window [io  0x6000-0x6fff]
[    0.904190] pci 0000:00:1c.1:   bridge window [mem 0xf5500000-0xf68fffff]
[    0.910974] pci 0000:00:1c.1:   bridge window [mem 0xfc000000-0xfc1fffff 64bit pref]
[    0.918718] pci 0000:03:00.0: BAR 9: no space for [mem size 0x04000000 pref]
[    0.925761] pci 0000:03:00.0: BAR 9: failed to assign [mem size 0x04000000 pref]
[    0.933149] pci 0000:03:00.0: BAR 10: no space for [mem size 0x04000000]
[    0.939842] pci 0000:03:00.0: BAR 10: failed to assign [mem size 0x04000000]
[    0.946882] pci 0000:03:00.0: BAR 7: assigned [io  0x2000-0x20ff]
[    0.952966] pci 0000:03:00.0: BAR 8: assigned [io  0x2400-0x24ff]
[    0.959057] pci 0000:03:00.0: BAR 10: no space for [mem size 0x04000000]
[    0.965747] pci 0000:03:00.0: BAR 10: failed to assign [mem size 0x04000000]
[    0.972786] pci 0000:03:00.0: BAR 9: no space for [mem size 0x04000000 pref]
[    0.979824] pci 0000:03:00.0: BAR 9: failed to assign [mem size 0x04000000 pref]
[    0.987211] pci 0000:03:00.0: CardBus bridge to [bus 04]
[    0.992515] pci 0000:03:00.0:   bridge window [io  0x2000-0x20ff]
[    0.998605] pci 0000:03:00.0:   bridge window [io  0x2400-0x24ff]
[    1.004696] pci 0000:00:1c.2: PCI bridge to [bus 03-04]
[    1.009916] pci 0000:00:1c.2:   bridge window [io  0x2000-0x3fff]
[    1.016006] pci 0000:00:1c.2:   bridge window [mem 0xf0400000-0xf2cfffff]
[    1.022788] pci 0000:00:1c.2:   bridge window [mem 0xfc200000-0xfc3fffff 64bit pref]
[    1.030528] pci 0000:00:1c.3: PCI bridge to [bus 05-0a]
[    1.035748] pci 0000:00:1c.3:   bridge window [io  0x5000-0x5fff]
[    1.041846] pci 0000:00:1c.3:   bridge window [mem 0xf4100000-0xf54fffff]
[    1.048636] pci 0000:00:1c.3:   bridge window [mem 0xfc400000-0xfc5fffff 64bit pref]
[    1.056377] pci 0000:00:1c.5: PCI bridge to [bus 0b]
[    1.061340] pci 0000:00:1c.5:   bridge window [io  0x4000-0x4fff]
[    1.067432] pci 0000:00:1c.5:   bridge window [mem 0xf2d00000-0xf40fffff]
[    1.074214] pci 0000:00:1c.5:   bridge window [mem 0xfc600000-0xfc7fffff 64bit pref]
[    1.081954] pci 0000:00:1e.0: PCI bridge to [bus 0c]
[    1.087194] NET: Registered protocol family 2
[    1.091808] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes)
[    1.099579] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.106639] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[    1.113525] TCP: Hash tables configured (established 8192 bind 8192)
[    1.119937] UDP hash table entries: 512 (order: 3, 40960 bytes)
[    1.125907] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[    1.132373] NET: Registered protocol family 1
[    1.136744] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    1.146758] Unpacking initramfs...
[    1.152236] Freeing initrd memory: 1632K
[    1.157566] cryptomgr_test (48) used greatest stack depth: 7308 bytes left
[    1.159044] workingset: timestamp_bits=30 max_order=20 bucket_order=0
[    1.171619] cryptomgr_test (55) used greatest stack depth: 7016 bytes left
[    1.171778] bounce: pool size: 64 pages
[    1.178502] cryptomgr_test (56) used greatest stack depth: 6980 bytes left
[    1.182372] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.196633] io scheduler noop registered
[    1.200556] io scheduler deadline registered
[    1.204841] io scheduler cfq registered (default)
[    1.209545] io scheduler mq-deadline registered
[    1.214074] io scheduler kyber registered
[    1.221626] ACPI: AC Adapter [AC] (on-line)
[    1.225962] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[    1.236374] ACPI: Lid Switch [LID]
[    1.240123] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[    1.248613] ACPI: Power Button [PBTN]
[    1.252533] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2
[    1.260975] ACPI: Sleep Button [SBTN]
[    1.264845] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[    1.272291] ACPI: Power Button [PWRF]
[    1.278067] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
y[    1.305815] 00:03: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.323638] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 4 ports 3 Gbps 0x23 impl SATA mode
[    1.332139] ahci 0000:00:1f.2: flags: 64bit ncq sntf pm led clo pio slum part ems sxs apst 
[    1.389992] scsi host0: ahci
[    1.393586] scsi host1: ahci
[    1.397114] scsi host2: ahci
[    1.398034] ACPI: Battery Slot [BAT0] (battery present)
[    1.400323] scsi host3: ahci
[    1.408474] scsi host4: ahci
[    1.411603] scsi host5: ahci
[    1.414596] ata1: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20100 irq 24
[    1.422002] ata2: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20180 irq 24
[    1.429401] ata3: DUMMY
[    1.431859] ata4: DUMMY
[    1.434317] ata5: DUMMY
[    1.436777] ata6: SATA max UDMA/133 abar m2048@0xf7d20000 port 0xf7d20380 irq 24
[    1.444848] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[    1.453541] i8042: Warning: Keylock active
[    1.458916] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.463944] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.469815] rtc_cmos 00:01: RTC can wake from S4
[    1.475098] rtc_cmos 00:01: registered as rtc0
[    1.479694] rtc_cmos 00:01: alarms up to one year, y3k, 242 bytes nvram, hpet irqs
[    1.487513] IR NEC protocol handler initialized
[    1.487744] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input4
[    1.492065] IR RC5(x/sz) protocol handler initialized
[    1.492068] IR RC6 protocol handler initialized
[    1.492070] IR JVC protocol handler initialized
[    1.492073] IR Sony protocol handler initialized
[    1.492076] IR SANYO protocol handler initialized
[    1.492079] IR Sharp protocol handler initialized
[    1.528867] IR MCE Keyboard/mouse protocol handler initialized
[    1.534707] IR XMP protocol handler initialized
[    1.539548] NET: Registered protocol family 17
[    1.545379] microcode: sig=0x20655, pf=0x10, revision=0x4
[    1.551242] microcode: Microcode Update Driver: v2.2.
[    1.551252] Using IPI No-Shortcut mode
[    1.560117] sched_clock: Marking stable (1560072742, 0)->(1890797128, -330724386)
[    1.568797] registered taskstats version 1
[    1.573798]   Magic number: 2:93:989
[    1.577402] machinecheck machinecheck2: hash matches
[    1.582795] console [netcon0] enabled
[    1.586526] netconsole: network logging started
[    1.591303] rtc_cmos 00:01: setting system clock to 2018-05-17 13:57:04 UTC (1526565424)
[    1.758433] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[    1.764760] ata6: SATA link down (SStatus 0 SControl 300)
[    1.770191] ata2.00: ATAPI: Optiarc DVD+/-RW AD-7717H, 101A, max UDMA/100
[    1.777010] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.783727] ata1.00: ACPI cmd 00/00:00:00:00:00:a0 (NOP) rejected by device (Stat=0x51 Err=0x04)
[    1.792628] ata2.00: configured for UDMA/100
[    1.796915] ata1.00: ATA-11: KINGSTON SA400S37120G, SBFK71E0, max UDMA/133
[    1.803835] ata1.00: 234441648 sectors, multi 16: LBA48 NCQ (depth 31/32), AA
[    1.811460] ata1.00: ACPI cmd 00/00:00:00:00:00:a0 (NOP) rejected by device (Stat=0x51 Err=0x04)
[    1.820405] ata1.00: configured for UDMA/133
[    1.825123] scsi 0:0:0:0: Direct-Access     ATA      KINGSTON SA400S3 71E0 PQ: 0 ANSI: 5
[    1.834745] sd 0:0:0:0: [sda] 234441648 512-byte logical blocks: (120 GB/112 GiB)
[    1.836380] scsi 1:0:0:0: CD-ROM            Optiarc  DVD+-RW AD-7717H 101A PQ: 0 ANSI: 5
[    1.842298] sd 0:0:0:0: [sda] Write Protect is off
[    1.855258] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    1.865635]  sda: sda1 sda2 sda3
[    1.870491] sd 0:0:0:0: [sda] Attached SCSI disk
[    1.888549] VFS: Cannot open root device "(null)" or unknown-block(0,0): error -6
[    1.896082] Please append a correct "root=" boot option; here are the available partitions:
[    1.904482] 0800       117220824 sda 
[    1.904484]  driver: sd
[    1.910594]   0801          524288 sda1 a1ab8ade-01
[    1.910595] 
[    1.917017]   0802         2097152 sda2 a1ab8ade-02
[    1.917019] 
[    1.923382]   0803       114598360 sda3 a1ab8ade-03
[    1.923383] 
[    1.929799] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.938048] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.17.0-rc5-elk+ #146
[    1.944908] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    1.952202] Call Trace:
[    1.954649]  dump_stack+0x60/0x96
[    1.957964]  panic+0x8f/0x1c6
[    1.960926]  mount_block_root+0x191/0x206
[    1.964930]  mount_root+0x71/0x76
[    1.968240]  prepare_namespace+0x111/0x141
[    1.972328]  kernel_init_freeable+0x17c/0x18e
[    1.976677]  ? rest_init+0xb0/0xb0
[    1.980075]  kernel_init+0x8/0xf0
[    1.983387]  ret_from_fork+0x2e/0x38
[    1.987020] Kernel Offset: disabled
[    1.990512] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
[    1.999976] ------------[ cut here ]------------
[    2.004583] sched: Unexpected reschedule of offline CPU#2!
[    2.010063] WARNING: CPU: 0 PID: 1 at ../arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x2b/0x40
[    2.019435] Modules linked in:
[    2.022486] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.17.0-rc5-elk+ #146
[    2.029346] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    2.036641] EIP: native_smp_send_reschedule+0x2b/0x40
[    2.041680] EFLAGS: 00210086 CPU: 0
[    2.045160] EAX: 0000002e EBX: 00000003 ECX: 00000000 EDX: f4884040
[    2.051412] ESI: 00000002 EDI: 00000003 EBP: f488fdac ESP: f488fda4
[    2.057666]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    2.063054] CR0: 80050033 CR2: 00000000 CR3: 01875000 CR4: 000006f0
[    2.069306] Call Trace:
[    2.071749]  kick_ilb+0x80/0x90
[    2.074884]  trigger_load_balance+0x108/0x370
[    2.079231]  scheduler_tick+0xa5/0xd0
[    2.082886]  update_process_times+0x3a/0x50
[    2.087061]  tick_sched_handle+0x23/0x60
[    2.090977]  tick_sched_timer+0x38/0x90
[    2.094805]  __hrtimer_run_queues+0x137/0x500
[    2.099155]  ? ktime_get_update_offsets_now+0x89/0x1d0
[    2.104283]  ? tick_sched_do_timer+0x70/0x70
[    2.108544]  hrtimer_interrupt+0x100/0x2a0
[    2.112634]  smp_apic_timer_interrupt+0x67/0x2b0
[    2.117241]  apic_timer_interrupt+0x3a/0x40
[    2.121415] EIP: panic+0x179/0x1c6
[    2.124809] EFLAGS: 00200246 CPU: 0
[    2.128289] EAX: c16a43b0 EBX: f488ff00 ECX: 00000000 EDX: 00000000
[    2.134541] ESI: 00000000 EDI: 00000000 EBP: f488ff1c ESP: f488ff08
[    2.140796]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    2.146185]  ? debug_rt_mutex_proxy_unlock+0x2b/0x50
[    2.151139]  mount_block_root+0x191/0x206
[    2.155140]  mount_root+0x71/0x76
[    2.158448]  prepare_namespace+0x111/0x141
[    2.162535]  kernel_init_freeable+0x17c/0x18e
[    2.166883]  ? rest_init+0xb0/0xb0
[    2.170277]  kernel_init+0x8/0xf0
[    2.173585]  ret_from_fork+0x2e/0x38
[    2.177152] Code: 55 89 e5 0f a3 05 dc 9e 7c c1 73 14 8b 0d a0 c3 70 c1 ba fd 00 00 00 ff 51 18 c9 c3 8d 74 26 00 50 68 74 fc 69 c1 e8 45 98 01 00 <0f> 0b 58 5a c9 c3 eb 0d 90 90 90 90 90 90 90 90 90 90 90 90 90 
[    2.196016] irq event stamp: 815904
[    2.199498] hardirqs last  enabled at (815903): [<c10ad5f5>] console_unlock+0x565/0x690
[    2.207486] hardirqs last disabled at (815904): [<c10521fd>] panic+0x13/0x1c6
[    2.214608] softirqs last  enabled at (815898): [<c1520bee>] __do_softirq+0x32e/0x42e
[    2.222423] softirqs last disabled at (815891): [<c101bf10>] call_on_stack+0x40/0x50
[    2.230149] WARNING: CPU: 0 PID: 1 at ../arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x2b/0x40
[    2.239522] ---[ end trace 36642faeb7bb25ab ]---

-- 
Ville Syrjala
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 13:58       ` Ville Syrjälä
@ 2018-05-17 16:49         ` Michal Hocko
  -1 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-17 16:49 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > > 
> > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > 
> > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > 
> > > Is there any bug report with some more details? It is much more
> > > preferable to fix the issue rather than to revert the whole thing
> > > right away.
> > 
> > The machine I have in front of me right now didn't give me anything.
> > Black screen, and netconsole was silent. No serial port on this
> > machine unfortunately.
> 
> Booted on another machine with serial:

Could you provide your .config please?

[...]
> [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[...]
> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0

OK, so this looks the be the source of the problem. -128 would be a
buddy page but I do not see anything that would set the counter to -127
and the real map count updates shouldn't really happen that early.

Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.

> [    0.000000] flags: 0x80000000()
> [    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
> [    0.000000] page dumped because: nonzero mapcount
> [    0.000000] Modules linked in:
> [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
> [    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
> [    0.000000] Call Trace:
> [    0.000000]  dump_stack+0x60/0x96
> [    0.000000]  bad_page+0x9a/0x100
> [    0.000000]  free_pages_check_bad+0x3f/0x60
> [    0.000000]  free_pcppages_bulk+0x29d/0x5b0
> [    0.000000]  free_unref_page_commit+0x84/0xb0
> [    0.000000]  free_unref_page+0x3e/0x70
> [    0.000000]  __free_pages+0x1d/0x20
> [    0.000000]  free_highmem_page+0x19/0x40
> [    0.000000]  add_highpages_with_active_regions+0xab/0xeb
> [    0.000000]  set_highmem_pages_init+0x66/0x73
> [    0.000000]  mem_init+0x1b/0x1d7
> [    0.000000]  start_kernel+0x17a/0x363
> [    0.000000]  i386_start_kernel+0x95/0x99
> [    0.000000]  startup_32_smp+0x164/0x168

-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 16:49         ` Michal Hocko
  0 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-17 16:49 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu 17-05-18 16:58:32, Ville Syrjala wrote:
> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > > > 
> > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > 
> > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > 
> > > Is there any bug report with some more details? It is much more
> > > preferable to fix the issue rather than to revert the whole thing
> > > right away.
> > 
> > The machine I have in front of me right now didn't give me anything.
> > Black screen, and netconsole was silent. No serial port on this
> > machine unfortunately.
> 
> Booted on another machine with serial:

Could you provide your .config please?

[...]
> [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
[...]
> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0

OK, so this looks the be the source of the problem. -128 would be a
buddy page but I do not see anything that would set the counter to -127
and the real map count updates shouldn't really happen that early.

Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.

> [    0.000000] flags: 0x80000000()
> [    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
> [    0.000000] page dumped because: nonzero mapcount
> [    0.000000] Modules linked in:
> [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
> [    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
> [    0.000000] Call Trace:
> [    0.000000]  dump_stack+0x60/0x96
> [    0.000000]  bad_page+0x9a/0x100
> [    0.000000]  free_pages_check_bad+0x3f/0x60
> [    0.000000]  free_pcppages_bulk+0x29d/0x5b0
> [    0.000000]  free_unref_page_commit+0x84/0xb0
> [    0.000000]  free_unref_page+0x3e/0x70
> [    0.000000]  __free_pages+0x1d/0x20
> [    0.000000]  free_highmem_page+0x19/0x40
> [    0.000000]  add_highpages_with_active_regions+0xab/0xeb
> [    0.000000]  set_highmem_pages_init+0x66/0x73
> [    0.000000]  mem_init+0x1b/0x1d7
> [    0.000000]  start_kernel+0x17a/0x363
> [    0.000000]  i386_start_kernel+0x95/0x99
> [    0.000000]  startup_32_smp+0x164/0x168

-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 16:49         ` Michal Hocko
@ 2018-05-17 17:08           ` Michal Hocko
  -1 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-17 17:08 UTC (permalink / raw)
  To: Joonsoo Kim, Ville Syrjälä
  Cc: Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
> > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > > > 
> > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > 
> > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > 
> > > > Is there any bug report with some more details? It is much more
> > > > preferable to fix the issue rather than to revert the whole thing
> > > > right away.
> > > 
> > > The machine I have in front of me right now didn't give me anything.
> > > Black screen, and netconsole was silent. No serial port on this
> > > machine unfortunately.
> > 
> > Booted on another machine with serial:
> 
> Could you provide your .config please?
> 
> [...]
> > [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> [...]
> > [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> 
> OK, so this looks the be the source of the problem. -128 would be a
> buddy page but I do not see anything that would set the counter to -127
> and the real map count updates shouldn't really happen that early.
> 
> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.

Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
and zone_movable_is_highmem might force CMA pages in the zone movable to
be initialized as highmem. And that sounds supicious to me. Joonsoo?
-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 17:08           ` Michal Hocko
  0 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-17 17:08 UTC (permalink / raw)
  To: Joonsoo Kim, Ville Syrjälä
  Cc: Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> On Thu 17-05-18 16:58:32, Ville Syrjala wrote:
> > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > > > > 
> > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > 
> > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > 
> > > > Is there any bug report with some more details? It is much more
> > > > preferable to fix the issue rather than to revert the whole thing
> > > > right away.
> > > 
> > > The machine I have in front of me right now didn't give me anything.
> > > Black screen, and netconsole was silent. No serial port on this
> > > machine unfortunately.
> > 
> > Booted on another machine with serial:
> 
> Could you provide your .config please?
> 
> [...]
> > [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> [...]
> > [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> 
> OK, so this looks the be the source of the problem. -128 would be a
> buddy page but I do not see anything that would set the counter to -127
> and the real map count updates shouldn't really happen that early.
> 
> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.

Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
and zone_movable_is_highmem might force CMA pages in the zone movable to
be initialized as highmem. And that sounds supicious to me. Joonsoo?
-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 16:49         ` Michal Hocko
@ 2018-05-17 17:13           ` Ville Syrjälä
  -1 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 17:13 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2081 bytes --]

On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
> > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > > > 
> > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > 
> > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > 
> > > > Is there any bug report with some more details? It is much more
> > > > preferable to fix the issue rather than to revert the whole thing
> > > > right away.
> > > 
> > > The machine I have in front of me right now didn't give me anything.
> > > Black screen, and netconsole was silent. No serial port on this
> > > machine unfortunately.
> > 
> > Booted on another machine with serial:
> 
> Could you provide your .config please?

Attached. Not sure there's anything particularly useful in it though
since I've now seen this on all the highmem systems I've booted.


BTW I just noticed that the reported memory sizes look pretty crazy:

Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
2156K rodata, 572K init, 9308K bss, 56848K reserved,
4096K cma-reserved, 3078532K highmem)

vs.

Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
4096K cma-reserved, 7005012K highmem)

> 
> [...]
> > [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> [...]
> > [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> 
> OK, so this looks the be the source of the problem. -128 would be a
> buddy page but I do not see anything that would set the counter to -127
> and the real map count updates shouldn't really happen that early.
> 
> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.

I'll see about grabbing another log.

-- 
Ville Syrjälä
Intel

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 100332 bytes --]

#
# Automatically generated file; DO NOT EDIT.
# Linux/i386 4.17.0-rc5 Kernel Configuration
#
CONFIG_X86_32=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_BITS_MAX=16
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_FILTER_PGPROT=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_32_SMP=y
CONFIG_X86_32_LAZY_GS=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=3
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION="-elk"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_CROSS_MEMORY_ATTACH=y
# CONFIG_USELIB is not set
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
# CONFIG_CPU_ISOLATION is not set

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
CONFIG_BUILD_BIN2C=y
CONFIG_IKCONFIG=m
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_CGROUPS=y
# CONFIG_MEMCG is not set
# CONFIG_BLK_CGROUP is not set
# CONFIG_CGROUP_SCHED is not set
# CONFIG_CGROUP_PIDS is not set
# CONFIG_CGROUP_RDMA is not set
# CONFIG_CGROUP_FREEZER is not set
# CONFIG_CGROUP_HUGETLB is not set
# CONFIG_CPUSETS is not set
# CONFIG_CGROUP_DEVICE is not set
# CONFIG_CGROUP_CPUACCT is not set
# CONFIG_CGROUP_PERF is not set
# CONFIG_CGROUP_DEBUG is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_NET_NS is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_BPF=y
# CONFIG_EXPERT is not set
CONFIG_UID16=y
CONFIG_MULTIUSER=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_FHANDLE=y
CONFIG_POSIX_TIMERS=y
CONFIG_PRINTK=y
CONFIG_PRINTK_NMI=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_FUTEX_PI=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_MEMBARRIER=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_BASE_RELATIVE=y
# CONFIG_BPF_SYSCALL is not set
# CONFIG_USERFAULTFD is not set
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
# CONFIG_EMBEDDED is not set
CONFIG_HAVE_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
# CONFIG_SLUB is not set
CONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
CONFIG_OPROFILE=m
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set
CONFIG_HAVE_OPROFILE=y
CONFIG_OPROFILE_NMI_TIMER=y
# CONFIG_KPROBES is not set
# CONFIG_JUMP_LABEL is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y
CONFIG_HAVE_NMI=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
CONFIG_ARCH_HAS_SET_MEMORY=y
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_RCU_TABLE_FREE=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_GCC_PLUGINS=y
# CONFIG_GCC_PLUGINS is not set
CONFIG_HAVE_CC_STACKPROTECTOR=y
CONFIG_CC_STACKPROTECTOR_NONE=y
# CONFIG_CC_STACKPROTECTOR_REGULAR is not set
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
# CONFIG_CC_STACKPROTECTOR_AUTO is not set
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_REL=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_HAVE_EXIT_THREAD=y
CONFIG_ARCH_MMAP_RND_BITS=8
CONFIG_HAVE_COPY_THREAD_TLS=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
CONFIG_STRICT_MODULE_RWX=y
CONFIG_ARCH_HAS_REFCOUNT=y
# CONFIG_REFCOUNT_FULL is not set

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_MODULE_SIG is not set
# CONFIG_MODULE_COMPRESS is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_BLOCK=y
CONFIG_LBDAF=y
CONFIG_BLK_SCSI_REQUEST=y
CONFIG_BLK_DEV_BSG=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_DEV_ZONED is not set
# CONFIG_BLK_CMDLINE_PARSER is not set
# CONFIG_BLK_WBT is not set
CONFIG_BLK_DEBUG_FS=y
# CONFIG_BLK_SED_OPAL is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_AIX_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
# CONFIG_CMDLINE_PARTITION is not set
CONFIG_BLK_MQ_PCI=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
# CONFIG_IOSCHED_BFQ is not set
CONFIG_PADATA=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y
CONFIG_FREEZER=y

#
# Processor type and features
#
CONFIG_ZONE_DMA=y
CONFIG_SMP=y
CONFIG_X86_FEATURE_NAMES=y
# CONFIG_X86_MPPARSE is not set
# CONFIG_GOLDFISH is not set
CONFIG_RETPOLINE=y
# CONFIG_INTEL_RDT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_EXTENDED_PLATFORM is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
CONFIG_IOSF_MBI=m
# CONFIG_IOSF_MBI_DEBUG is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_X86_32_IRIS is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_HYPERVISOR_GUEST is not set
CONFIG_NO_BOOTMEM=y
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MELAN is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
CONFIG_MCORE2=y
# CONFIG_MATOM is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=6
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
CONFIG_CPU_SUP_CENTAUR=y
CONFIG_CPU_SUP_TRANSMETA_32=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=8
CONFIG_NR_CPUS_DEFAULT=8
CONFIG_NR_CPUS=4
# CONFIG_SCHED_SMT is not set
CONFIG_SCHED_MC=y
CONFIG_SCHED_MC_PRIO=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCELOG_LEGACY is not set
CONFIG_X86_MCE_INTEL=y
# CONFIG_X86_MCE_AMD is not set
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set
CONFIG_X86_THERMAL_VECTOR=y

#
# Performance monitoring
#
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
# CONFIG_PERF_EVENTS_AMD_POWER is not set
# CONFIG_X86_LEGACY_VM86 is not set
CONFIG_X86_16BIT=y
CONFIG_X86_ESPFIX32=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
# CONFIG_NOHIGHMEM is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HIGHMEM=y
CONFIG_X86_PAE=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_HAS_MEM_ENCRYPT=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ILLEGAL_POINTER_VALUE=0
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_HAVE_GENERIC_GUP=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
CONFIG_CMA=y
# CONFIG_CMA_DEBUG is not set
CONFIG_CMA_DEBUGFS=y
CONFIG_CMA_AREAS=7
# CONFIG_ZPOOL is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_GENERIC_EARLY_IOREMAP=y
# CONFIG_IDLE_PAGE_TRACKING is not set
# CONFIG_PERCPU_STATS is not set
# CONFIG_GUP_BENCHMARK is not set
# CONFIG_X86_PMEM_LEGACY is not set
CONFIG_HIGHPTE=y
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_X86_RESERVE_LOW=64
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_X86_PAT=y
CONFIG_ARCH_USES_PG_UNCACHED=y
CONFIG_ARCH_RANDOM=y
CONFIG_X86_SMAP=y
CONFIG_X86_INTEL_UMIP=y
# CONFIG_EFI is not set
# CONFIG_SECCOMP is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
CONFIG_HZ_300=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=300
CONFIG_SCHED_HRTICK=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x1000000
CONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
CONFIG_X86_NEED_RELOCS=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set
CONFIG_MODIFY_LDT_SYSCALL=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y

#
# Power management and ACPI options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
# CONFIG_ACPI_DEBUGGER is not set
CONFIG_ACPI_SPCR_TABLE=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS_POWER is not set
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_TAD is not set
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_TABLE_UPGRADE=y
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_ACPI_APEI is not set
# CONFIG_DPTF_POWER is not set
CONFIG_PMIC_OPREGION=y
# CONFIG_ACPI_CONFIGFS is not set
CONFIG_X86_PM_TIMER=y
# CONFIG_SFI is not set
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_GOV_SCHEDUTIL is not set

#
# CPU frequency scaling drivers
#
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_ACPI_CPUFREQ_CPB is not set
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set
# CONFIG_X86_E_POWERSAVER is not set

#
# shared options
#

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_INTEL_IDLE=y

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
# CONFIG_PCIEAER_INJECT is not set
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
# CONFIG_PCIE_DPC is not set
# CONFIG_PCIE_PTM is not set
CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_PCI_MSI=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y
CONFIG_PCI_QUIRKS=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_STUB is not set
CONFIG_PCI_LOCKLESS_CONFIG=y
# CONFIG_PCI_IOV is not set
# CONFIG_PCI_PRI is not set
# CONFIG_PCI_PASID is not set
CONFIG_PCI_LABEL=y
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_IBM is not set
CONFIG_HOTPLUG_PCI_ACPI=y
# CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

#
# Cadence PCIe controllers support
#

#
# DesignWare PCI Core Support
#
# CONFIG_PCIE_DW_PLAT is not set

#
# PCI host controller drivers
#

#
# PCI Endpoint
#
# CONFIG_PCI_ENDPOINT is not set

#
# PCI switch controller drivers
#
# CONFIG_PCI_SW_SWITCHTEC is not set
CONFIG_ISA_DMA_API=y
# CONFIG_ISA is not set
# CONFIG_SCx200 is not set
# CONFIG_ALIX is not set
# CONFIG_NET5501 is not set
# CONFIG_GEOS is not set
CONFIG_AMD_NB=y
# CONFIG_PCCARD is not set
# CONFIG_RAPIDIO is not set
# CONFIG_X86_SYSFB is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_COREDUMP=y
CONFIG_COMPAT_32=y
CONFIG_HAVE_ATOMIC_IOMAP=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_TLS is not set
# CONFIG_XFRM_USER is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_IP_MROUTE is not set
CONFIG_SYN_COOKIES=y
# CONFIG_NET_FOU is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETLABEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y

#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_INGRESS is not set
CONFIG_NETFILTER_NETLINK=m
# CONFIG_NETFILTER_NETLINK_ACCT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set
CONFIG_NF_CONNTRACK=m
CONFIG_NF_LOG_COMMON=m
# CONFIG_NF_LOG_NETDEV is not set
# CONFIG_NF_CONNTRACK_MARK is not set
# CONFIG_NF_CONNTRACK_PROCFS is not set
# CONFIG_NF_CONNTRACK_EVENTS is not set
# CONFIG_NF_CONNTRACK_TIMEOUT is not set
# CONFIG_NF_CONNTRACK_TIMESTAMP is not set
# CONFIG_NF_CT_PROTO_DCCP is not set
# CONFIG_NF_CT_PROTO_SCTP is not set
# CONFIG_NF_CT_PROTO_UDPLITE is not set
# CONFIG_NF_CONNTRACK_AMANDA is not set
# CONFIG_NF_CONNTRACK_FTP is not set
# CONFIG_NF_CONNTRACK_H323 is not set
# CONFIG_NF_CONNTRACK_IRC is not set
# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
# CONFIG_NF_CONNTRACK_SNMP is not set
# CONFIG_NF_CONNTRACK_PPTP is not set
# CONFIG_NF_CONNTRACK_SANE is not set
# CONFIG_NF_CONNTRACK_SIP is not set
# CONFIG_NF_CONNTRACK_TFTP is not set
# CONFIG_NF_CT_NETLINK is not set
# CONFIG_NF_CT_NETLINK_TIMEOUT is not set
CONFIG_NF_NAT=m
CONFIG_NF_NAT_NEEDED=y
# CONFIG_NF_NAT_REDIRECT is not set
CONFIG_NF_TABLES=m
# CONFIG_NF_TABLES_NETDEV is not set
# CONFIG_NFT_EXTHDR is not set
# CONFIG_NFT_META is not set
# CONFIG_NFT_RT is not set
# CONFIG_NFT_NUMGEN is not set
CONFIG_NFT_CT=m
# CONFIG_NFT_SET_RBTREE is not set
# CONFIG_NFT_SET_HASH is not set
# CONFIG_NFT_SET_BITMAP is not set
# CONFIG_NFT_COUNTER is not set
CONFIG_NFT_LOG=m
# CONFIG_NFT_LIMIT is not set
CONFIG_NFT_MASQ=m
# CONFIG_NFT_REDIR is not set
CONFIG_NFT_NAT=m
# CONFIG_NFT_OBJREF is not set
# CONFIG_NFT_QUOTA is not set
CONFIG_NFT_REJECT=m
CONFIG_NFT_COMPAT=m
# CONFIG_NFT_HASH is not set
CONFIG_NETFILTER_XTABLES=m

#
# Xtables combined modules
#
# CONFIG_NETFILTER_XT_MARK is not set
# CONFIG_NETFILTER_XT_CONNMARK is not set

#
# Xtables targets
#
# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set
# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
# CONFIG_NETFILTER_XT_TARGET_HL is not set
# CONFIG_NETFILTER_XT_TARGET_HMARK is not set
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
CONFIG_NETFILTER_XT_TARGET_LOG=m
# CONFIG_NETFILTER_XT_TARGET_MARK is not set
CONFIG_NETFILTER_XT_NAT=m
# CONFIG_NETFILTER_XT_TARGET_NETMAP is not set
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
# CONFIG_NETFILTER_XT_TARGET_REDIRECT is not set
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set

#
# Xtables matches
#
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_BPF is not set
# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set
# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
# CONFIG_NETFILTER_XT_MATCH_ECN is not set
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_HELPER is not set
# CONFIG_NETFILTER_XT_MATCH_HL is not set
# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
# CONFIG_NETFILTER_XT_MATCH_L2TP is not set
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_MAC is not set
# CONFIG_NETFILTER_XT_MATCH_MARK is not set
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
CONFIG_NETFILTER_XT_MATCH_STATE=m
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
# CONFIG_NETFILTER_XT_MATCH_STRING is not set
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
# CONFIG_NETFILTER_XT_MATCH_TIME is not set
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
# CONFIG_IP_SET is not set
# CONFIG_IP_VS is not set

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=m
CONFIG_NF_CONNTRACK_IPV4=m
# CONFIG_NF_SOCKET_IPV4 is not set
# CONFIG_NF_TABLES_IPV4 is not set
# CONFIG_NF_TABLES_ARP is not set
# CONFIG_NF_DUP_IPV4 is not set
# CONFIG_NF_LOG_ARP is not set
CONFIG_NF_LOG_IPV4=m
CONFIG_NF_REJECT_IPV4=m
CONFIG_NF_NAT_IPV4=m
CONFIG_NF_NAT_MASQUERADE_IPV4=m
CONFIG_IP_NF_IPTABLES=m
# CONFIG_IP_NF_MATCH_AH is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_RPFILTER is not set
# CONFIG_IP_NF_MATCH_TTL is not set
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
# CONFIG_IP_NF_TARGET_SYNPROXY is not set
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_REDIRECT is not set
CONFIG_IP_NF_MANGLE=m
# CONFIG_IP_NF_TARGET_CLUSTERIP is not set
# CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_TTL is not set
# CONFIG_IP_NF_RAW is not set
# CONFIG_IP_NF_SECURITY is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
CONFIG_HAVE_NET_DSA=y
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
# CONFIG_NET_SCH_CBQ is not set
# CONFIG_NET_SCH_HTB is not set
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_MULTIQ is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFB is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_CBS is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
# CONFIG_NET_SCH_DRR is not set
# CONFIG_NET_SCH_MQPRIO is not set
# CONFIG_NET_SCH_CHOKE is not set
# CONFIG_NET_SCH_QFQ is not set
# CONFIG_NET_SCH_CODEL is not set
CONFIG_NET_SCH_FQ_CODEL=m
# CONFIG_NET_SCH_FQ is not set
# CONFIG_NET_SCH_HHF is not set
# CONFIG_NET_SCH_PIE is not set
# CONFIG_NET_SCH_PLUG is not set
# CONFIG_NET_SCH_DEFAULT is not set

#
# Classification
#
# CONFIG_NET_CLS_BASIC is not set
# CONFIG_NET_CLS_TCINDEX is not set
# CONFIG_NET_CLS_ROUTE4 is not set
# CONFIG_NET_CLS_FW is not set
# CONFIG_NET_CLS_U32 is not set
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_CLS_CGROUP is not set
# CONFIG_NET_CLS_BPF is not set
# CONFIG_NET_CLS_FLOWER is not set
# CONFIG_NET_CLS_MATCHALL is not set
# CONFIG_NET_EMATCH is not set
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_SCH_FIFO=y
# CONFIG_DCB is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_DIAG is not set
# CONFIG_MPLS is not set
# CONFIG_NET_NSH is not set
# CONFIG_HSR is not set
# CONFIG_NET_SWITCHDEV is not set
# CONFIG_NET_L3_MASTER_DEV is not set
# CONFIG_NET_NCSI is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
# CONFIG_CGROUP_NET_PRIO is not set
# CONFIG_CGROUP_NET_CLASSID is not set
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
CONFIG_BT=m
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m
CONFIG_BT_HS=y
CONFIG_BT_LE=y
# CONFIG_BT_SELFTEST is not set
CONFIG_BT_DEBUGFS=y

#
# Bluetooth device drivers
#
CONFIG_BT_INTEL=m
CONFIG_BT_BCM=m
CONFIG_BT_RTL=m
CONFIG_BT_HCIBTUSB=m
# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_RTL=y
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
# CONFIG_BT_ATH3K is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_AF_KCM is not set
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
# CONFIG_PSAMPLE is not set
# CONFIG_NET_IFE is not set
# CONFIG_LWTUNNEL is not set
# CONFIG_NET_DEVLINK is not set
CONFIG_MAY_USE_DEVLINK=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
# CONFIG_DEVTMPFS_MOUNT is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
CONFIG_ALLOW_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=m
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_DMA_FENCE_TRACE is not set
CONFIG_DMA_CMA=y

#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=4
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
CONFIG_CMA_ALIGNMENT=8

#
# Bus devices
#
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_OF is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y
CONFIG_PNP=y
# CONFIG_PNP_DEBUG_MESSAGES is not set

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
CONFIG_BLK_DEV_FD=m
CONFIG_CDROM=m
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_RAM is not set
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_RSXX is not set

#
# NVME Support
#
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_NVME_FC is not set
# CONFIG_NVME_TARGET is not set

#
# Misc devices
#
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_PCH_PHUB is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_SRAM is not set
# CONFIG_PCI_ENDPOINT_TEST is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
CONFIG_EEPROM_LEGACY=m
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_EEPROM_IDT_89HPESX is not set
# CONFIG_CB710_CORE is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_SENSORS_LIS3_I2C is not set

#
# Altera FPGA firmware download module (requires I2C)
#
# CONFIG_ALTERA_STAPL is not set
# CONFIG_INTEL_MEI is not set
# CONFIG_INTEL_MEI_ME is not set
# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_VMWARE_VMCI is not set

#
# Intel MIC & related support
#

#
# Intel MIC Bus Driver
#

#
# SCIF Bus Driver
#

#
# VOP Bus Driver
#

#
# Intel MIC Host Driver
#

#
# Intel MIC Card Driver
#

#
# SCIF Driver
#

#
# Intel MIC Coprocessor State Management (COSM) Drivers
#

#
# VOP Driver
#
# CONFIG_ECHO is not set
# CONFIG_MISC_RTSX_PCI is not set
# CONFIG_MISC_RTSX_USB is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_MQ_DEFAULT is not set
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_ATA=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
CONFIG_SATA_ZPODD=y
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
CONFIG_SATA_MOBILE_LPM_POLICY=0
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
CONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5535 is not set
# CONFIG_PATA_CS5536 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
CONFIG_PATA_MARVELL=y
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SCH is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_PATA_ACPI is not set
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_LEGACY is not set
# CONFIG_MD is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_FIREWIRE=m
CONFIG_FIREWIRE_OHCI=m
CONFIG_FIREWIRE_SBP2=m
CONFIG_FIREWIRE_NET=m
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_FC is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_IPVLAN is not set
# CONFIG_VXLAN is not set
# CONFIG_MACSEC is not set
CONFIG_NETCONSOLE=y
CONFIG_NETCONSOLE_DYNAMIC=y
CONFIG_NETPOLL=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_TUN=m
# CONFIG_TUN_VNET_CROSS_LE is not set
# CONFIG_VETH is not set
# CONFIG_NLMON is not set
# CONFIG_ARCNET is not set

#
# CAIF transport drivers
#

#
# Distributed Switch Architecture drivers
#
CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALACRITECH is not set
# CONFIG_NET_VENDOR_ALTEON is not set
# CONFIG_ALTERA_TSE is not set
# CONFIG_NET_VENDOR_AMAZON is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_AQUANTIA is not set
# CONFIG_NET_VENDOR_ARC is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
# CONFIG_NET_VENDOR_AURORA is not set
# CONFIG_NET_CADENCE is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_VENDOR_CAVIUM is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
# CONFIG_NET_VENDOR_CISCO is not set
# CONFIG_NET_VENDOR_CORTINA is not set
# CONFIG_CX_ECAT is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
# CONFIG_NET_VENDOR_EZCHIP is not set
# CONFIG_NET_VENDOR_EXAR is not set
# CONFIG_NET_VENDOR_HP is not set
# CONFIG_NET_VENDOR_HUAWEI is not set
# CONFIG_NET_VENDOR_INTEL is not set
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MELLANOX is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NETRONOME is not set
# CONFIG_NET_VENDOR_NI is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_PACKET_ENGINE is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_ATP is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
CONFIG_R8169=y
# CONFIG_NET_VENDOR_RENESAS is not set
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_ROCKER is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_NET_VENDOR_SOLARFLARE is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_SOCIONEXT is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_SYNOPSYS is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not set
CONFIG_MDIO_DEVICE=m
CONFIG_MDIO_BUS=m
# CONFIG_MDIO_BITBANG is not set
CONFIG_PHYLIB=m

#
# MII PHY device drivers
#
# CONFIG_AMD_PHY is not set
# CONFIG_AQUANTIA_PHY is not set
# CONFIG_AT803X_PHY is not set
# CONFIG_BCM7XXX_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_CORTINA_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_DP83822_PHY is not set
# CONFIG_DP83848_PHY is not set
# CONFIG_DP83867_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_INTEL_XWAY_PHY is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_MARVELL_10G_PHY is not set
# CONFIG_MICREL_PHY is not set
CONFIG_MICROCHIP_PHY=m
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_RENESAS_PHY is not set
# CONFIG_ROCKCHIP_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_TERANETICS_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_XILINX_GMII2RGMII is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Host-side USB support is needed for USB Network Adapter support
#
CONFIG_USB_NET_DRIVERS=m
CONFIG_USB_CATC=m
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_RTL8152=m
CONFIG_USB_LAN78XX=m
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_AX88179_178A=m
CONFIG_USB_NET_CDCETHER=m
# CONFIG_USB_NET_CDC_EEM is not set
# CONFIG_USB_NET_CDC_NCM is not set
# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
# CONFIG_USB_NET_CDC_MBIM is not set
CONFIG_USB_NET_DM9601=m
CONFIG_USB_NET_SR9700=m
CONFIG_USB_NET_SR9800=m
CONFIG_USB_NET_SMSC75XX=m
CONFIG_USB_NET_SMSC95XX=m
# CONFIG_USB_NET_GL620A is not set
# CONFIG_USB_NET_NET1080 is not set
# CONFIG_USB_NET_PLUSB is not set
CONFIG_USB_NET_MCS7830=m
# CONFIG_USB_NET_RNDIS_HOST is not set
# CONFIG_USB_NET_CDC_SUBSET is not set
# CONFIG_USB_NET_ZAURUS is not set
# CONFIG_USB_NET_CX82310_ETH is not set
# CONFIG_USB_NET_KALMIA is not set
# CONFIG_USB_NET_QMI_WWAN is not set
# CONFIG_USB_NET_INT51X1 is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_USB_SIERRA_NET is not set
# CONFIG_USB_VL600 is not set
# CONFIG_USB_NET_CH9200 is not set
# CONFIG_WLAN is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_VMXNET3 is not set
# CONFIG_FUJITSU_ES is not set
# CONFIG_NETDEVSIM is not set
# CONFIG_ISDN is not set
# CONFIG_NVM is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=m
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_DLINK_DIR685 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_BYD=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_PS2_FOCALTECH=y
CONFIG_MOUSE_PS2_SMBUS=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_ELAN_I2C is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_E3X0_BUTTON is not set
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_KXTJ9 is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
# CONFIG_INPUT_UINPUT is not set
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
# CONFIG_INPUT_DRV2665_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not set
# CONFIG_RMI4_CORE is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_USERIO is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVMEM=y
# CONFIG_DEVKMEM is not set

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_PCI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
# CONFIG_SERIAL_8250_LPSS is not set
# CONFIG_SERIAL_8250_MID is not set
# CONFIG_SERIAL_8250_MOXA is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_PCH_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_DEV_BUS is not set
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
# CONFIG_XILLYBUS is not set

#
# I2C support
#
CONFIG_I2C=m
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=m
# CONFIG_I2C_MUX is not set
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=m
CONFIG_I2C_ALGOBIT=m

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_I2C_I801=m
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_ISMT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EG20T is not set
# CONFIG_I2C_EMEV2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_SLAVE is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set
# CONFIG_SPMI is not set
# CONFIG_HSI is not set
# CONFIG_PPS is not set

#
# PTP clock support
#
# CONFIG_PTP_1588_CLOCK is not set

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
# CONFIG_PTP_1588_CLOCK_PCH is not set
# CONFIG_PINCTRL is not set
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
# CONFIG_POWER_AVS is not set
# CONFIG_POWER_RESET is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_CHARGER_SBS is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_BQ2415X is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
CONFIG_HWMON=m
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not set
# CONFIG_SENSORS_FAM15H_POWER is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ASPEED is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_DELL_SMM is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_FTSTEUTATES is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_I5500 is not set
CONFIG_SENSORS_CORETEMP=m
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
# CONFIG_SENSORS_POWR1220 is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC2990 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4222 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX6621 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6642 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MAX31790 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_TC654 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_NCT6683 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SHT3x is not set
# CONFIG_SENSORS_SHTC1 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_STTS751 is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_ADC128D818 is not set
# CONFIG_SENSORS_ADS1015 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_INA3221 is not set
# CONFIG_SENSORS_TC74 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP108 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83773G is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set

#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set
CONFIG_THERMAL=y
# CONFIG_THERMAL_STATISTICS is not set
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
CONFIG_THERMAL_WRITABLE_TRIPS=y
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_BANG_BANG is not set
CONFIG_THERMAL_GOV_USER_SPACE=y
# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_INTEL_POWERCLAMP is not set
CONFIG_X86_PKG_TEMP_THERMAL=m
CONFIG_INTEL_SOC_DTS_IOSF_CORE=m
CONFIG_INTEL_SOC_DTS_THERMAL=m

#
# ACPI INT340X thermal drivers
#
CONFIG_INT340X_THERMAL=m
CONFIG_ACPI_THERMAL_REL=m
# CONFIG_INT3406_THERMAL is not set
CONFIG_INTEL_PCH_THERMAL=m
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
# CONFIG_WATCHDOG_SYSFS is not set

#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_WDAT_WDT is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_EBC_C384_WDT is not set
# CONFIG_F71808E_WDT is not set
# CONFIG_SP5100_TCO is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_IE6XX_WDT is not set
CONFIG_ITCO_WDT=m
# CONFIG_ITCO_VENDOR_SUPPORT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_NV_TCO is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_SBC7240_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_VIA_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
# CONFIG_NI903X_WDT is not set
# CONFIG_NIC7018_WDT is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not set

#
# Watchdog Pretimeout Governors
#
# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
CONFIG_MFD_CORE=m
# CONFIG_MFD_CS5535 is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_BD9571MWV is not set
# CONFIG_MFD_AXP20X_I2C is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set
CONFIG_LPC_ICH=m
# CONFIG_LPC_SCH is not set
CONFIG_MFD_INTEL_LPSS=m
CONFIG_MFD_INTEL_LPSS_ACPI=m
CONFIG_MFD_INTEL_LPSS_PCI=m
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_TI_LMU is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65086 is not set
# CONFIG_MFD_TI_LP873X is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_REGULATOR is not set
CONFIG_RC_CORE=y
CONFIG_RC_MAP=y
# CONFIG_LIRC is not set
CONFIG_RC_DECODERS=y
CONFIG_IR_NEC_DECODER=y
CONFIG_IR_RC5_DECODER=y
CONFIG_IR_RC6_DECODER=y
CONFIG_IR_JVC_DECODER=y
CONFIG_IR_SONY_DECODER=y
CONFIG_IR_SANYO_DECODER=y
CONFIG_IR_SHARP_DECODER=y
CONFIG_IR_MCE_KBD_DECODER=y
CONFIG_IR_XMP_DECODER=y
# CONFIG_IR_IMON_DECODER is not set
# CONFIG_RC_DEVICES is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_INTEL_GTT=m
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_VGA_SWITCHEROO=y
CONFIG_DRM=m
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_DP_AUX_CHARDEV=y
CONFIG_DRM_DEBUG_SELFTEST=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set

#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set

#
# ACP (Audio CoProcessor) Configuration
#

#
# AMD Library routines
#
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_I915=m
CONFIG_DRM_I915_ALPHA_SUPPORT=y
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VKMS is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
CONFIG_DRM_PANEL=y

#
# Display Panels
#
# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y

#
# Display Interface Bridges
#
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_DRM_HISI_HIBMC is not set
# CONFIG_DRM_TINYDRM is not set
# CONFIG_DRM_LEGACY is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=m
CONFIG_DRM_LIB_RANDOM=y

#
# Frame buffer Devices
#
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=m
# CONFIG_BACKLIGHT_GENERIC is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_PM8941_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
CONFIG_HDMI=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_LOGO is not set
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_SEQ_DEVICE=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
# CONFIG_SND_OSSEMUL is not set
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_SEQ_MIDI_EVENT=m
CONFIG_SND_SEQ_MIDI=m
# CONFIG_SND_DRIVERS is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SIS7019 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1
CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_USB_HIFACE is not set
# CONFIG_SND_BCD2000 is not set
# CONFIG_SND_USB_POD is not set
# CONFIG_SND_USB_PODHD is not set
# CONFIG_SND_USB_TONEPORT is not set
# CONFIG_SND_USB_VARIAX is not set
# CONFIG_SND_FIREWIRE is not set
# CONFIG_SND_SOC is not set
# CONFIG_SND_X86 is not set

#
# HID support
#
CONFIG_HID=m
# CONFIG_HID_BATTERY_STRENGTH is not set
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=m

#
# Special HID drivers
#
CONFIG_HID_A4TECH=m
# CONFIG_HID_ACCUTOUCH is not set
# CONFIG_HID_ACRUX is not set
CONFIG_HID_APPLE=m
# CONFIG_HID_APPLEIR is not set
# CONFIG_HID_AUREAL is not set
CONFIG_HID_BELKIN=m
# CONFIG_HID_BETOP_FF is not set
CONFIG_HID_CHERRY=m
CONFIG_HID_CHICONY=m
# CONFIG_HID_PRODIKEYS is not set
# CONFIG_HID_CMEDIA is not set
CONFIG_HID_CYPRESS=m
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_ELO is not set
CONFIG_HID_EZKEY=m
# CONFIG_HID_GEMBIRD is not set
# CONFIG_HID_GFRM is not set
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
CONFIG_HID_ITE=m
# CONFIG_HID_JABRA is not set
# CONFIG_HID_TWINHAN is not set
CONFIG_HID_KENSINGTON=m
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO is not set
CONFIG_HID_LOGITECH=m
# CONFIG_HID_LOGITECH_HIDPP is not set
# CONFIG_LOGITECH_FF is not set
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
# CONFIG_LOGIWHEELS_FF is not set
# CONFIG_HID_MAGICMOUSE is not set
# CONFIG_HID_MAYFLASH is not set
CONFIG_HID_MICROSOFT=m
CONFIG_HID_MONTEREY=m
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTI is not set
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PENMOUNT is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PLANTRONICS is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_RETRODE is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_RMI is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_UDRAW_PS3 is not set
# CONFIG_HID_WACOM is not set
# CONFIG_HID_XINMO is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set
# CONFIG_HID_ALPS is not set

#
# USB HID support
#
CONFIG_USB_HID=m
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not set

#
# I2C HID support
#
# CONFIG_I2C_HID is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=m
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=m
CONFIG_USB_PCI=y
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_XHCI_HCD is not set
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=m
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
# CONFIG_USB_STORAGE is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USBIP_CORE is not set
# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_CHIPIDEA is not set
# CONFIG_USB_ISP1760 is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
CONFIG_USB_SERIAL=m
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_SIMPLE is not set
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_CH341 is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP210X is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
CONFIG_USB_SERIAL_FTDI_SIO=m
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_F81232 is not set
# CONFIG_USB_SERIAL_F8153X is not set
# CONFIG_USB_SERIAL_GARMIN is not set
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_IUU is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_METRO is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_MXUPORT is not set
# CONFIG_USB_SERIAL_NAVMAN is not set
CONFIG_USB_SERIAL_PL2303=m
# CONFIG_USB_SERIAL_OTI6858 is not set
# CONFIG_USB_SERIAL_QCAUX is not set
# CONFIG_USB_SERIAL_QUALCOMM is not set
# CONFIG_USB_SERIAL_SPCP8X5 is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
# CONFIG_USB_SERIAL_SYMBOL is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OPTION is not set
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_SERIAL_OPTICON is not set
# CONFIG_USB_SERIAL_XSENS_MT is not set
# CONFIG_USB_SERIAL_WISHBONE is not set
# CONFIG_USB_SERIAL_SSU100 is not set
# CONFIG_USB_SERIAL_QT2 is not set
# CONFIG_USB_SERIAL_UPD78F0730 is not set
# CONFIG_USB_SERIAL_DEBUG is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_EHSET_TEST_FIXTURE is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
# CONFIG_USB_HUB_USB251XB is not set
# CONFIG_USB_HSIC_USB3503 is not set
# CONFIG_USB_HSIC_USB4604 is not set
# CONFIG_USB_LINK_LAYER_TEST is not set

#
# USB Physical Layer drivers
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB_ISP1301 is not set
# CONFIG_USB_GADGET is not set
# CONFIG_TYPEC is not set
# CONFIG_USB_ULPI_BUS is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y
# CONFIG_EDAC is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
CONFIG_RTC_NVMEM=y

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_ABB5ZES3 is not set
# CONFIG_RTC_DRV_ABX80X is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF85063 is not set
# CONFIG_RTC_DRV_PCF85363 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8010 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV8803 is not set

#
# SPI RTC drivers
#
CONFIG_RTC_I2C_AND_SPI=m

#
# SPI and I2C RTC drivers
#
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_PCF2127 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1685_FAMILY is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_FTRTC010 is not set

#
# HID Sensor RTC drivers
#
# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set
# CONFIG_DMADEVICES is not set

#
# DMABUF options
#
CONFIG_SYNC_FILE=y
# CONFIG_SW_SYNC is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_PANEL is not set
# CONFIG_UIO is not set
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO_MENU=y
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
CONFIG_X86_PLATFORM_DEVICES=y
# CONFIG_ACER_WIRELESS is not set
# CONFIG_ACERHDF is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_DELL_SMBIOS is not set
# CONFIG_DELL_SMO8800 is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set
# CONFIG_GPD_POCKET_FAN is not set
# CONFIG_HP_ACCEL is not set
# CONFIG_HP_WIRELESS is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_INTEL_MENLOW is not set
# CONFIG_EEEPC_LAPTOP is not set
# CONFIG_ASUS_WIRELESS is not set
# CONFIG_ACPI_WMI is not set
# CONFIG_TOPSTAR_LAPTOP is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_TOSHIBA_HAPS is not set
# CONFIG_ACPI_CMPC is not set
# CONFIG_INTEL_HID_EVENT is not set
# CONFIG_INTEL_VBTN is not set
# CONFIG_INTEL_IPS is not set
# CONFIG_INTEL_PMC_CORE is not set
# CONFIG_IBM_RTL is not set
# CONFIG_SAMSUNG_LAPTOP is not set
# CONFIG_SAMSUNG_Q10 is not set
# CONFIG_APPLE_GMUX is not set
# CONFIG_INTEL_RST is not set
# CONFIG_INTEL_SMARTCONNECT is not set
# CONFIG_PVPANIC is not set
# CONFIG_INTEL_PMC_IPC is not set
# CONFIG_SURFACE_PRO3_BUTTON is not set
# CONFIG_INTEL_PUNIT_IPC is not set
# CONFIG_MLX_PLATFORM is not set
CONFIG_PMC_ATOM=y
# CONFIG_CHROME_PLATFORMS is not set
# CONFIG_MELLANOX_PLATFORM is not set
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y

#
# Common Clock Framework
#
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI544 is not set
# CONFIG_COMMON_CLK_CDCE706 is not set
# CONFIG_COMMON_CLK_CS2000_CP is not set
# CONFIG_HWSPINLOCK is not set

#
# Clock Source drivers
#
CONFIG_CLKSRC_I8253=y
CONFIG_CLKEVT_I8253=y
CONFIG_I8253_LOCK=y
CONFIG_CLKBLD_I8253=y
# CONFIG_MAILBOX is not set
# CONFIG_IOMMU_SUPPORT is not set

#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set

#
# Rpmsg drivers
#
# CONFIG_RPMSG_VIRTIO is not set
# CONFIG_SOUNDWIRE is not set

#
# SOC (System On Chip) specific Drivers
#

#
# Amlogic SoC drivers
#

#
# Broadcom SoC drivers
#

#
# i.MX SoC drivers
#

#
# Qualcomm SoC drivers
#
# CONFIG_SOC_TI is not set

#
# Xilinx SoC drivers
#
# CONFIG_XILINX_VCU is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_NTB is not set
# CONFIG_VME_BUS is not set
# CONFIG_PWM is not set

#
# IRQ chip support
#
CONFIG_ARM_GIC_MAX_NR=1
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set
# CONFIG_FMC is not set

#
# PHY Subsystem
#
# CONFIG_GENERIC_PHY is not set
# CONFIG_BCM_KONA_USB2_PHY is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
CONFIG_RAS=y
# CONFIG_THUNDERBOLT is not set

#
# Android
#
# CONFIG_ANDROID is not set
# CONFIG_LIBNVDIMM is not set
# CONFIG_DAX is not set
CONFIG_NVMEM=y

#
# HW tracing support
#
# CONFIG_STM is not set
# CONFIG_INTEL_TH is not set
# CONFIG_FPGA is not set
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_ISCSI_IBFT_FIND is not set
# CONFIG_FW_CFG_SYSFS is not set
# CONFIG_GOOGLE_FIRMWARE is not set

#
# Tegra firmware driver
#

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_FS_IOMAP=y
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_ENCRYPTION is not set
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_FS_DAX is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
# CONFIG_EXPORTFS_BLOCK_OPS is not set
CONFIG_FILE_LOCKING=y
CONFIG_MANDATORY_FILE_LOCKING=y
# CONFIG_FS_ENCRYPTION is not set
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
# CONFIG_OVERLAY_FS is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
# CONFIG_PROC_CHILDREN is not set
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
CONFIG_CONFIGFS_FS=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ORANGEFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
CONFIG_MINIX_FS=m
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=m
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=m
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_SWAP is not set
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
# CONFIG_NFSD_V4 is not set
CONFIG_GRACE_PERIOD=m
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_DEBUG is not set
# CONFIG_CIFS_SMB311 is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
CONFIG_NLS_UTF8=m
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
CONFIG_BOOT_PRINTK_DELAY=y
# CONFIG_DYNAMIC_DEBUG is not set

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
CONFIG_STRIP_ASM_SYMS=y
# CONFIG_READABLE_ASM is not set
CONFIG_UNUSED_SYMBOLS=y
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
CONFIG_FRAME_POINTER=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_MAGIC_SYSRQ_SERIAL=y
CONFIG_DEBUG_KERNEL=y

#
# Memory Debugging
#
# CONFIG_PAGE_EXTENSION is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_PAGE_POISONING is not set
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_DEBUG_VM=y
CONFIG_DEBUG_VM_VMACACHE=y
CONFIG_DEBUG_VM_RB=y
CONFIG_DEBUG_VM_PGFLAGS=y
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
# CONFIG_DEBUG_VIRTUAL is not set
CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_DEBUG_HIGHMEM=y
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Lockups and Hangs
#
CONFIG_LOCKUP_DETECTOR=y
CONFIG_SOFTLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
CONFIG_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_WQ_WATCHDOG is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
# CONFIG_SCHED_DEBUG is not set
CONFIG_SCHED_INFO=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_SCHED_STACK_END_CHECK is not set
# CONFIG_DEBUG_TIMEKEEPING is not set

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
CONFIG_LOCK_DEBUGGING_SUPPORT=y
CONFIG_PROVE_LOCKING=y
# CONFIG_LOCK_STAT is not set
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_LOCKDEP=y
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_DEBUG_ATOMIC_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
# CONFIG_WW_MUTEX_SELFTEST is not set
CONFIG_TRACE_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_PI_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set

#
# RCU Debugging
#
CONFIG_PROVE_RCU=y
# CONFIG_RCU_PERF_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60
# CONFIG_RCU_TRACE is not set
# CONFIG_RCU_EQS_DEBUG is not set
# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING=y
CONFIG_GLOBAL_TRACE_BUF_SIZE=1441792
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
CONFIG_BLK_DEV_IO_TRACE=y
# CONFIG_UPROBE_EVENTS is not set
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_HIST_TRIGGERS is not set
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
# CONFIG_TRACE_EVAL_MAP_FILE is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_DMA_API_DEBUG is not set
CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_LKDTM is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_TEST_SORT is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_PRINTF is not set
# CONFIG_TEST_BITMAP is not set
# CONFIG_TEST_UUID is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_TEST_HASH is not set
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_TEST_BPF is not set
# CONFIG_FIND_BIT_BENCHMARK is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_SYSCTL is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_STATIC_KEYS is not set
# CONFIG_TEST_KMOD is not set
# CONFIG_MEMTEST is not set
# CONFIG_BUG_ON_DATA_CORRUPTION is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
# CONFIG_UBSAN is not set
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
CONFIG_STRICT_DEVMEM=y
# CONFIG_IO_STRICT_DEVMEM is not set
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_EARLY_PRINTK=y
# CONFIG_EARLY_PRINTK_DBGP is not set
# CONFIG_EARLY_PRINTK_USB_XDBC is not set
# CONFIG_X86_PTDUMP is not set
# CONFIG_DEBUG_WX is not set
CONFIG_DOUBLEFAULT=y
# CONFIG_DEBUG_TLBFLUSH is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set
CONFIG_OPTIMIZE_INLINING=y
# CONFIG_DEBUG_ENTRY is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
# CONFIG_X86_DEBUG_FPU is not set
CONFIG_PUNIT_ATOM_DEBUG=m
CONFIG_UNWINDER_FRAME_POINTER=y

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITY=y
# CONFIG_SECURITYFS is not set
# CONFIG_SECURITY_NETWORK is not set
# CONFIG_SECURITY_PATH is not set
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
# CONFIG_HARDENED_USERCOPY is not set
# CONFIG_FORTIFY_SOURCE is not set
# CONFIG_STATIC_USERMODEHELPER is not set
# CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_LOADPIN is not set
# CONFIG_SECURITY_YAMA is not set
CONFIG_INTEGRITY=y
# CONFIG_INTEGRITY_AUDIT is not set
# CONFIG_IMA is not set
# CONFIG_EVM is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=m
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=m
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_RNG_DEFAULT=m
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_KPP2=y
CONFIG_CRYPTO_KPP=m
CONFIG_CRYPTO_ACOMP2=y
# CONFIG_CRYPTO_RSA is not set
# CONFIG_CRYPTO_DH is not set
CONFIG_CRYPTO_ECDH=m
CONFIG_CRYPTO_MANAGER=m
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_NULL2=y
CONFIG_CRYPTO_PCRYPT=m
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_MCRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
CONFIG_CRYPTO_CCM=m
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_CHACHA20POLY1305 is not set
CONFIG_CRYPTO_SEQIV=m
CONFIG_CRYPTO_ECHAINIV=m

#
# Block modes
#
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_CFB is not set
CONFIG_CRYPTO_CTR=m
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=m
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_KEYWRAP is not set

#
# Hash modes
#
CONFIG_CRYPTO_CMAC=m
CONFIG_CRYPTO_HMAC=m
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_CRC32_PCLMUL is not set
CONFIG_CRYPTO_CRCT10DIF=y
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_POLY1305 is not set
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
# CONFIG_CRYPTO_SHA1 is not set
CONFIG_CRYPTO_SHA256=m
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_SHA3 is not set
# CONFIG_CRYPTO_SM3 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_TI is not set
CONFIG_CRYPTO_AES_586=y
# CONFIG_CRYPTO_AES_NI_INTEL is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=m
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_586 is not set
# CONFIG_CRYPTO_CHACHA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SERPENT_SSE2_586 is not set
# CONFIG_CRYPTO_SM4 is not set
# CONFIG_CRYPTO_SPECK is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_586 is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_842 is not set
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_DRBG_MENU=m
CONFIG_CRYPTO_DRBG_HMAC=y
# CONFIG_CRYPTO_DRBG_HASH is not set
# CONFIG_CRYPTO_DRBG_CTR is not set
CONFIG_CRYPTO_DRBG=m
CONFIG_CRYPTO_JITTERENTROPY=m
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_USER_API_AEAD is not set
# CONFIG_CRYPTO_HW is not set

#
# Certificates for signature checking
#
CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
# CONFIG_KVM is not set
# CONFIG_VHOST_NET is not set
# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_RATIONAL=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_FIND_FIRST_BIT=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
# CONFIG_CRC_CCITT is not set
CONFIG_CRC16=y
CONFIG_CRC_T10DIF=y
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC4 is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_CRC8 is not set
CONFIG_AUDIT_GENERIC=y
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_DECOMPRESS_LZ4=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_INTERVAL_TREE=y
CONFIG_RADIX_TREE_MULTIORDER=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_SGL_ALLOC=y
CONFIG_DMA_DIRECT_OPS=y
CONFIG_CHECK_SIGNATURE=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_GLOB=y
# CONFIG_GLOB_SELFTEST is not set
CONFIG_NLATTR=y
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
# CONFIG_IRQ_POLL is not set
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_SG_CHAIN=y
CONFIG_SBITMAP=y
CONFIG_PRIME_NUMBERS=m
# CONFIG_STRING_SELFTEST is not set

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 17:13           ` Ville Syrjälä
  0 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 17:13 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2081 bytes --]

On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> On Thu 17-05-18 16:58:32, Ville Syrjala wrote:
> > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > > > > 
> > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > 
> > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > 
> > > > Is there any bug report with some more details? It is much more
> > > > preferable to fix the issue rather than to revert the whole thing
> > > > right away.
> > > 
> > > The machine I have in front of me right now didn't give me anything.
> > > Black screen, and netconsole was silent. No serial port on this
> > > machine unfortunately.
> > 
> > Booted on another machine with serial:
> 
> Could you provide your .config please?

Attached. Not sure there's anything particularly useful in it though
since I've now seen this on all the highmem systems I've booted.


BTW I just noticed that the reported memory sizes look pretty crazy:

Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
2156K rodata, 572K init, 9308K bss, 56848K reserved,
4096K cma-reserved, 3078532K highmem)

vs.

Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
4096K cma-reserved, 7005012K highmem)

> 
> [...]
> > [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> [...]
> > [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> 
> OK, so this looks the be the source of the problem. -128 would be a
> buddy page but I do not see anything that would set the counter to -127
> and the real map count updates shouldn't really happen that early.
> 
> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.

I'll see about grabbing another log.

-- 
Ville Syrjala
Intel

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 100332 bytes --]

#
# Automatically generated file; DO NOT EDIT.
# Linux/i386 4.17.0-rc5 Kernel Configuration
#
CONFIG_X86_32=y
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf32-i386"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/i386_defconfig"
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_MMU=y
CONFIG_ARCH_MMAP_RND_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_BITS_MAX=16
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MIN=8
CONFIG_ARCH_MMAP_RND_COMPAT_BITS_MAX=16
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_NEED_SG_DMA_LENGTH=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_BUG=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_HAS_CPU_RELAX=y
CONFIG_ARCH_HAS_CACHE_LINE_SIZE=y
CONFIG_ARCH_HAS_FILTER_PGPROT=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=y
CONFIG_NEED_PER_CPU_PAGE_FIRST_CHUNK=y
CONFIG_ARCH_HIBERNATION_POSSIBLE=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
CONFIG_ARCH_WANT_GENERAL_HUGETLB=y
CONFIG_ARCH_SUPPORTS_OPTIMIZED_INLINING=y
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_X86_32_SMP=y
CONFIG_X86_32_LAZY_GS=y
CONFIG_ARCH_SUPPORTS_UPROBES=y
CONFIG_FIX_EARLYCON_MEM=y
CONFIG_PGTABLE_LEVELS=3
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_EXTABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y

#
# General setup
#
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
# CONFIG_COMPILE_TEST is not set
CONFIG_LOCALVERSION="-elk"
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_BZIP2=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_POSIX_MQUEUE_SYSCTL=y
CONFIG_CROSS_MEMORY_ATTACH=y
# CONFIG_USELIB is not set
CONFIG_AUDIT=y
CONFIG_HAVE_ARCH_AUDITSYSCALL=y
CONFIG_AUDITSYSCALL=y
CONFIG_AUDIT_WATCH=y
CONFIG_AUDIT_TREE=y

#
# IRQ subsystem
#
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y
CONFIG_GENERIC_PENDING_IRQ=y
CONFIG_GENERIC_IRQ_MIGRATION=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_GENERIC_MSI_IRQ=y
CONFIG_GENERIC_MSI_IRQ_DOMAIN=y
CONFIG_GENERIC_IRQ_MATRIX_ALLOCATOR=y
CONFIG_GENERIC_IRQ_RESERVATION_MODE=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
CONFIG_CLOCKSOURCE_WATCHDOG=y
CONFIG_ARCH_CLOCKSOURCE_DATA=y
CONFIG_CLOCKSOURCE_VALIDATE_LAST_CYCLE=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y
CONFIG_GENERIC_CLOCKEVENTS_MIN_ADJUST=y
CONFIG_GENERIC_CMOS_UPDATE=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
CONFIG_NO_HZ_IDLE=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_IRQ_TIME_ACCOUNTING is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_BSD_PROCESS_ACCT_V3=y
CONFIG_TASKSTATS=y
CONFIG_TASK_DELAY_ACCT=y
CONFIG_TASK_XACCT=y
CONFIG_TASK_IO_ACCOUNTING=y
# CONFIG_CPU_ISOLATION is not set

#
# RCU Subsystem
#
CONFIG_TREE_RCU=y
# CONFIG_RCU_EXPERT is not set
CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
CONFIG_RCU_STALL_COMMON=y
CONFIG_RCU_NEED_SEGCBLIST=y
CONFIG_BUILD_BIN2C=y
CONFIG_IKCONFIG=m
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13
CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
CONFIG_CGROUPS=y
# CONFIG_MEMCG is not set
# CONFIG_BLK_CGROUP is not set
# CONFIG_CGROUP_SCHED is not set
# CONFIG_CGROUP_PIDS is not set
# CONFIG_CGROUP_RDMA is not set
# CONFIG_CGROUP_FREEZER is not set
# CONFIG_CGROUP_HUGETLB is not set
# CONFIG_CPUSETS is not set
# CONFIG_CGROUP_DEVICE is not set
# CONFIG_CGROUP_CPUACCT is not set
# CONFIG_CGROUP_PERF is not set
# CONFIG_CGROUP_DEBUG is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_NET_NS is not set
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
CONFIG_RD_BZIP2=y
CONFIG_RD_LZMA=y
CONFIG_RD_XZ=y
CONFIG_RD_LZO=y
CONFIG_RD_LZ4=y
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_HAVE_UID16=y
CONFIG_SYSCTL_EXCEPTION_TRACE=y
CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_BPF=y
# CONFIG_EXPERT is not set
CONFIG_UID16=y
CONFIG_MULTIUSER=y
CONFIG_SGETMASK_SYSCALL=y
CONFIG_SYSFS_SYSCALL=y
CONFIG_FHANDLE=y
CONFIG_POSIX_TIMERS=y
CONFIG_PRINTK=y
CONFIG_PRINTK_NMI=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_PCSPKR_PLATFORM=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_FUTEX_PI=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
CONFIG_ADVISE_SYSCALLS=y
CONFIG_MEMBARRIER=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS_BASE_RELATIVE=y
# CONFIG_BPF_SYSCALL is not set
# CONFIG_USERFAULTFD is not set
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
# CONFIG_EMBEDDED is not set
CONFIG_HAVE_PERF_EVENTS=y

#
# Kernel Performance Events And Counters
#
CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_VM_EVENT_COUNTERS=y
# CONFIG_COMPAT_BRK is not set
CONFIG_SLAB=y
# CONFIG_SLUB is not set
CONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
CONFIG_PROFILING=y
CONFIG_TRACEPOINTS=y
CONFIG_OPROFILE=m
# CONFIG_OPROFILE_EVENT_MULTIPLEX is not set
CONFIG_HAVE_OPROFILE=y
CONFIG_OPROFILE_NMI_TIMER=y
# CONFIG_KPROBES is not set
# CONFIG_JUMP_LABEL is not set
CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=y
CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_HAVE_IOREMAP_PROT=y
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_OPTPROBES=y
CONFIG_HAVE_KPROBES_ON_FTRACE=y
CONFIG_HAVE_FUNCTION_ERROR_INJECTION=y
CONFIG_HAVE_NMI=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_ARCH_HAS_FORTIFY_SOURCE=y
CONFIG_ARCH_HAS_SET_MEMORY=y
CONFIG_HAVE_ARCH_THREAD_STRUCT_WHITELIST=y
CONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_HW_BREAKPOINT=y
CONFIG_HAVE_MIXED_BREAKPOINTS_REGS=y
CONFIG_HAVE_USER_RETURN_NOTIFIER=y
CONFIG_HAVE_PERF_EVENTS_NMI=y
CONFIG_HAVE_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_HAVE_PERF_REGS=y
CONFIG_HAVE_PERF_USER_STACK_DUMP=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y
CONFIG_HAVE_RCU_TABLE_FREE=y
CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=y
CONFIG_HAVE_CMPXCHG_LOCAL=y
CONFIG_HAVE_CMPXCHG_DOUBLE=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
CONFIG_HAVE_ARCH_SECCOMP_FILTER=y
CONFIG_HAVE_GCC_PLUGINS=y
# CONFIG_GCC_PLUGINS is not set
CONFIG_HAVE_CC_STACKPROTECTOR=y
CONFIG_CC_STACKPROTECTOR_NONE=y
# CONFIG_CC_STACKPROTECTOR_REGULAR is not set
# CONFIG_CC_STACKPROTECTOR_STRONG is not set
# CONFIG_CC_STACKPROTECTOR_AUTO is not set
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
CONFIG_HAVE_ARCH_HUGE_VMAP=y
CONFIG_HAVE_MOD_ARCH_SPECIFIC=y
CONFIG_MODULES_USE_ELF_REL=y
CONFIG_ARCH_HAS_ELF_RANDOMIZE=y
CONFIG_HAVE_ARCH_MMAP_RND_BITS=y
CONFIG_HAVE_EXIT_THREAD=y
CONFIG_ARCH_MMAP_RND_BITS=8
CONFIG_HAVE_COPY_THREAD_TLS=y
CONFIG_CLONE_BACKWARDS=y
CONFIG_OLD_SIGSUSPEND3=y
CONFIG_OLD_SIGACTION=y
CONFIG_ARCH_HAS_STRICT_KERNEL_RWX=y
CONFIG_STRICT_KERNEL_RWX=y
CONFIG_ARCH_HAS_STRICT_MODULE_RWX=y
CONFIG_STRICT_MODULE_RWX=y
CONFIG_ARCH_HAS_REFCOUNT=y
# CONFIG_REFCOUNT_FULL is not set

#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not set
CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_FORCE_LOAD=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_MODULE_SIG is not set
# CONFIG_MODULE_COMPRESS is not set
CONFIG_MODULES_TREE_LOOKUP=y
CONFIG_BLOCK=y
CONFIG_LBDAF=y
CONFIG_BLK_SCSI_REQUEST=y
CONFIG_BLK_DEV_BSG=y
CONFIG_BLK_DEV_BSGLIB=y
CONFIG_BLK_DEV_INTEGRITY=y
# CONFIG_BLK_DEV_ZONED is not set
# CONFIG_BLK_CMDLINE_PARSER is not set
# CONFIG_BLK_WBT is not set
CONFIG_BLK_DEBUG_FS=y
# CONFIG_BLK_SED_OPAL is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_AIX_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
CONFIG_EFI_PARTITION=y
# CONFIG_SYSV68_PARTITION is not set
# CONFIG_CMDLINE_PARTITION is not set
CONFIG_BLK_MQ_PCI=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_MQ_IOSCHED_DEADLINE=y
CONFIG_MQ_IOSCHED_KYBER=y
# CONFIG_IOSCHED_BFQ is not set
CONFIG_PADATA=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
CONFIG_LOCK_SPIN_ON_OWNER=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_QUEUED_SPINLOCKS=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_QUEUED_RWLOCKS=y
CONFIG_ARCH_HAS_SYNC_CORE_BEFORE_USERMODE=y
CONFIG_FREEZER=y

#
# Processor type and features
#
CONFIG_ZONE_DMA=y
CONFIG_SMP=y
CONFIG_X86_FEATURE_NAMES=y
# CONFIG_X86_MPPARSE is not set
# CONFIG_GOLDFISH is not set
CONFIG_RETPOLINE=y
# CONFIG_INTEL_RDT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_EXTENDED_PLATFORM is not set
# CONFIG_X86_INTEL_LPSS is not set
# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
CONFIG_IOSF_MBI=m
# CONFIG_IOSF_MBI_DEBUG is not set
CONFIG_X86_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_X86_32_IRIS is not set
CONFIG_SCHED_OMIT_FRAME_POINTER=y
# CONFIG_HYPERVISOR_GUEST is not set
CONFIG_NO_BOOTMEM=y
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MELAN is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_MVIAC7 is not set
CONFIG_MCORE2=y
# CONFIG_MATOM is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_INTERNODE_CACHE_SHIFT=6
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_CMOV=y
CONFIG_X86_MINIMUM_CPU_FAMILY=6
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_CPU_SUP_INTEL=y
CONFIG_CPU_SUP_AMD=y
CONFIG_CPU_SUP_CENTAUR=y
CONFIG_CPU_SUP_TRANSMETA_32=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_DMI=y
CONFIG_SWIOTLB=y
CONFIG_IOMMU_HELPER=y
CONFIG_NR_CPUS_RANGE_BEGIN=2
CONFIG_NR_CPUS_RANGE_END=8
CONFIG_NR_CPUS_DEFAULT=8
CONFIG_NR_CPUS=4
# CONFIG_SCHED_SMT is not set
CONFIG_SCHED_MC=y
CONFIG_SCHED_MC_PRIO=y
# CONFIG_PREEMPT_NONE is not set
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_COUNT=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_REROUTE_FOR_BROKEN_BOOT_IRQS=y
CONFIG_X86_MCE=y
# CONFIG_X86_MCELOG_LEGACY is not set
CONFIG_X86_MCE_INTEL=y
# CONFIG_X86_MCE_AMD is not set
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_MCE_THRESHOLD=y
# CONFIG_X86_MCE_INJECT is not set
CONFIG_X86_THERMAL_VECTOR=y

#
# Performance monitoring
#
CONFIG_PERF_EVENTS_INTEL_UNCORE=y
CONFIG_PERF_EVENTS_INTEL_RAPL=y
CONFIG_PERF_EVENTS_INTEL_CSTATE=y
# CONFIG_PERF_EVENTS_AMD_POWER is not set
# CONFIG_X86_LEGACY_VM86 is not set
CONFIG_X86_16BIT=y
CONFIG_X86_ESPFIX32=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
CONFIG_MICROCODE=y
CONFIG_MICROCODE_INTEL=y
# CONFIG_MICROCODE_AMD is not set
CONFIG_MICROCODE_OLD_INTERFACE=y
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
# CONFIG_NOHIGHMEM is not set
# CONFIG_HIGHMEM4G is not set
CONFIG_HIGHMEM64G=y
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_HIGHMEM=y
CONFIG_X86_PAE=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_ARCH_DMA_ADDR_T_64BIT=y
CONFIG_ARCH_HAS_MEM_ENCRYPT=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ILLEGAL_POINTER_VALUE=0
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_HAVE_MEMBLOCK_NODE_MAP=y
CONFIG_HAVE_GENERIC_GUP=y
CONFIG_ARCH_DISCARD_MEMBLOCK=y
CONFIG_MEMORY_ISOLATION=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
CONFIG_COMPACTION=y
CONFIG_MIGRATION=y
CONFIG_PHYS_ADDR_T_64BIT=y
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
CONFIG_MMU_NOTIFIER=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
# CONFIG_MEMORY_FAILURE is not set
CONFIG_TRANSPARENT_HUGEPAGE=y
CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS=y
# CONFIG_TRANSPARENT_HUGEPAGE_MADVISE is not set
CONFIG_TRANSPARENT_HUGE_PAGECACHE=y
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
CONFIG_CMA=y
# CONFIG_CMA_DEBUG is not set
CONFIG_CMA_DEBUGFS=y
CONFIG_CMA_AREAS=7
# CONFIG_ZPOOL is not set
# CONFIG_ZBUD is not set
# CONFIG_ZSMALLOC is not set
CONFIG_GENERIC_EARLY_IOREMAP=y
# CONFIG_IDLE_PAGE_TRACKING is not set
# CONFIG_PERCPU_STATS is not set
# CONFIG_GUP_BENCHMARK is not set
# CONFIG_X86_PMEM_LEGACY is not set
CONFIG_HIGHPTE=y
# CONFIG_X86_CHECK_BIOS_CORRUPTION is not set
CONFIG_X86_RESERVE_LOW=64
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set
CONFIG_X86_PAT=y
CONFIG_ARCH_USES_PG_UNCACHED=y
CONFIG_ARCH_RANDOM=y
CONFIG_X86_SMAP=y
CONFIG_X86_INTEL_UMIP=y
# CONFIG_EFI is not set
# CONFIG_SECCOMP is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
CONFIG_HZ_300=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=300
CONFIG_SCHED_HRTICK=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_PHYSICAL_START=0x1000000
CONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
CONFIG_X86_NEED_RELOCS=y
CONFIG_PHYSICAL_ALIGN=0x1000000
CONFIG_HOTPLUG_CPU=y
# CONFIG_BOOTPARAM_HOTPLUG_CPU0 is not set
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_COMPAT_VDSO is not set
# CONFIG_CMDLINE_BOOL is not set
CONFIG_MODIFY_LDT_SYSCALL=y
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y

#
# Power management and ACPI options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
CONFIG_PM_ADVANCED_DEBUG=y
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
CONFIG_PM_CLK=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
# CONFIG_ACPI_DEBUGGER is not set
CONFIG_ACPI_SPCR_TABLE=y
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS_POWER is not set
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_TAD is not set
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_CSTATE=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_PROCESSOR_AGGREGATOR=y
CONFIG_ACPI_THERMAL=y
CONFIG_ARCH_HAS_ACPI_TABLE_UPGRADE=y
CONFIG_ACPI_TABLE_UPGRADE=y
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_ACPI_APEI is not set
# CONFIG_DPTF_POWER is not set
CONFIG_PMIC_OPREGION=y
# CONFIG_ACPI_CONFIGFS is not set
CONFIG_X86_PM_TIMER=y
# CONFIG_SFI is not set
# CONFIG_APM is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_GOV_ATTR_SET=y
CONFIG_CPU_FREQ_GOV_COMMON=y
CONFIG_CPU_FREQ_STAT=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set
# CONFIG_CPU_FREQ_GOV_SCHEDUTIL is not set

#
# CPU frequency scaling drivers
#
CONFIG_X86_INTEL_PSTATE=y
# CONFIG_X86_PCC_CPUFREQ is not set
CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_ACPI_CPUFREQ_CPB is not set
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
# CONFIG_X86_GX_SUSPMOD is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_SPEEDSTEP_ICH is not set
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
# CONFIG_X86_CPUFREQ_NFORCE2 is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set
# CONFIG_X86_E_POWERSAVER is not set

#
# shared options
#

#
# CPU Idle
#
CONFIG_CPU_IDLE=y
# CONFIG_CPU_IDLE_GOV_LADDER is not set
CONFIG_CPU_IDLE_GOV_MENU=y
CONFIG_INTEL_IDLE=y

#
# Bus options (PCI etc.)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCIEPORTBUS=y
CONFIG_HOTPLUG_PCI_PCIE=y
CONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
# CONFIG_PCIEAER_INJECT is not set
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
CONFIG_PCIEASPM_DEFAULT=y
# CONFIG_PCIEASPM_POWERSAVE is not set
# CONFIG_PCIEASPM_POWER_SUPERSAVE is not set
# CONFIG_PCIEASPM_PERFORMANCE is not set
CONFIG_PCIE_PME=y
# CONFIG_PCIE_DPC is not set
# CONFIG_PCIE_PTM is not set
CONFIG_PCI_BUS_ADDR_T_64BIT=y
CONFIG_PCI_MSI=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y
CONFIG_PCI_QUIRKS=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_STUB is not set
CONFIG_PCI_LOCKLESS_CONFIG=y
# CONFIG_PCI_IOV is not set
# CONFIG_PCI_PRI is not set
# CONFIG_PCI_PASID is not set
CONFIG_PCI_LABEL=y
CONFIG_HOTPLUG_PCI=y
# CONFIG_HOTPLUG_PCI_COMPAQ is not set
# CONFIG_HOTPLUG_PCI_IBM is not set
CONFIG_HOTPLUG_PCI_ACPI=y
# CONFIG_HOTPLUG_PCI_ACPI_IBM is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

#
# Cadence PCIe controllers support
#

#
# DesignWare PCI Core Support
#
# CONFIG_PCIE_DW_PLAT is not set

#
# PCI host controller drivers
#

#
# PCI Endpoint
#
# CONFIG_PCI_ENDPOINT is not set

#
# PCI switch controller drivers
#
# CONFIG_PCI_SW_SWITCHTEC is not set
CONFIG_ISA_DMA_API=y
# CONFIG_ISA is not set
# CONFIG_SCx200 is not set
# CONFIG_ALIX is not set
# CONFIG_NET5501 is not set
# CONFIG_GEOS is not set
CONFIG_AMD_NB=y
# CONFIG_PCCARD is not set
# CONFIG_RAPIDIO is not set
# CONFIG_X86_SYSFB is not set

#
# Executable file formats / Emulations
#
CONFIG_BINFMT_ELF=y
CONFIG_ELFCORE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_HAVE_AOUT=y
# CONFIG_BINFMT_AOUT is not set
# CONFIG_BINFMT_MISC is not set
CONFIG_COREDUMP=y
CONFIG_COMPAT_32=y
CONFIG_HAVE_ATOMIC_IOMAP=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
# CONFIG_PACKET_DIAG is not set
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
# CONFIG_TLS is not set
# CONFIG_XFRM_USER is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_IP_MROUTE is not set
CONFIG_SYN_COOKIES=y
# CONFIG_NET_FOU is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETLABEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
CONFIG_NETFILTER=y
CONFIG_NETFILTER_ADVANCED=y

#
# Core Netfilter Configuration
#
# CONFIG_NETFILTER_INGRESS is not set
CONFIG_NETFILTER_NETLINK=m
# CONFIG_NETFILTER_NETLINK_ACCT is not set
# CONFIG_NETFILTER_NETLINK_QUEUE is not set
# CONFIG_NETFILTER_NETLINK_LOG is not set
CONFIG_NF_CONNTRACK=m
CONFIG_NF_LOG_COMMON=m
# CONFIG_NF_LOG_NETDEV is not set
# CONFIG_NF_CONNTRACK_MARK is not set
# CONFIG_NF_CONNTRACK_PROCFS is not set
# CONFIG_NF_CONNTRACK_EVENTS is not set
# CONFIG_NF_CONNTRACK_TIMEOUT is not set
# CONFIG_NF_CONNTRACK_TIMESTAMP is not set
# CONFIG_NF_CT_PROTO_DCCP is not set
# CONFIG_NF_CT_PROTO_SCTP is not set
# CONFIG_NF_CT_PROTO_UDPLITE is not set
# CONFIG_NF_CONNTRACK_AMANDA is not set
# CONFIG_NF_CONNTRACK_FTP is not set
# CONFIG_NF_CONNTRACK_H323 is not set
# CONFIG_NF_CONNTRACK_IRC is not set
# CONFIG_NF_CONNTRACK_NETBIOS_NS is not set
# CONFIG_NF_CONNTRACK_SNMP is not set
# CONFIG_NF_CONNTRACK_PPTP is not set
# CONFIG_NF_CONNTRACK_SANE is not set
# CONFIG_NF_CONNTRACK_SIP is not set
# CONFIG_NF_CONNTRACK_TFTP is not set
# CONFIG_NF_CT_NETLINK is not set
# CONFIG_NF_CT_NETLINK_TIMEOUT is not set
CONFIG_NF_NAT=m
CONFIG_NF_NAT_NEEDED=y
# CONFIG_NF_NAT_REDIRECT is not set
CONFIG_NF_TABLES=m
# CONFIG_NF_TABLES_NETDEV is not set
# CONFIG_NFT_EXTHDR is not set
# CONFIG_NFT_META is not set
# CONFIG_NFT_RT is not set
# CONFIG_NFT_NUMGEN is not set
CONFIG_NFT_CT=m
# CONFIG_NFT_SET_RBTREE is not set
# CONFIG_NFT_SET_HASH is not set
# CONFIG_NFT_SET_BITMAP is not set
# CONFIG_NFT_COUNTER is not set
CONFIG_NFT_LOG=m
# CONFIG_NFT_LIMIT is not set
CONFIG_NFT_MASQ=m
# CONFIG_NFT_REDIR is not set
CONFIG_NFT_NAT=m
# CONFIG_NFT_OBJREF is not set
# CONFIG_NFT_QUOTA is not set
CONFIG_NFT_REJECT=m
CONFIG_NFT_COMPAT=m
# CONFIG_NFT_HASH is not set
CONFIG_NETFILTER_XTABLES=m

#
# Xtables combined modules
#
# CONFIG_NETFILTER_XT_MARK is not set
# CONFIG_NETFILTER_XT_CONNMARK is not set

#
# Xtables targets
#
# CONFIG_NETFILTER_XT_TARGET_AUDIT is not set
# CONFIG_NETFILTER_XT_TARGET_CHECKSUM is not set
# CONFIG_NETFILTER_XT_TARGET_CLASSIFY is not set
# CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set
# CONFIG_NETFILTER_XT_TARGET_DSCP is not set
# CONFIG_NETFILTER_XT_TARGET_HL is not set
# CONFIG_NETFILTER_XT_TARGET_HMARK is not set
# CONFIG_NETFILTER_XT_TARGET_IDLETIMER is not set
CONFIG_NETFILTER_XT_TARGET_LOG=m
# CONFIG_NETFILTER_XT_TARGET_MARK is not set
CONFIG_NETFILTER_XT_NAT=m
# CONFIG_NETFILTER_XT_TARGET_NETMAP is not set
# CONFIG_NETFILTER_XT_TARGET_NFLOG is not set
# CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set
# CONFIG_NETFILTER_XT_TARGET_RATEEST is not set
# CONFIG_NETFILTER_XT_TARGET_REDIRECT is not set
# CONFIG_NETFILTER_XT_TARGET_TEE is not set
# CONFIG_NETFILTER_XT_TARGET_TPROXY is not set
# CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set
# CONFIG_NETFILTER_XT_TARGET_TCPOPTSTRIP is not set

#
# Xtables matches
#
# CONFIG_NETFILTER_XT_MATCH_ADDRTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_BPF is not set
# CONFIG_NETFILTER_XT_MATCH_CGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_CLUSTER is not set
# CONFIG_NETFILTER_XT_MATCH_COMMENT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set
# CONFIG_NETFILTER_XT_MATCH_CONNLABEL is not set
# CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set
# CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set
# CONFIG_NETFILTER_XT_MATCH_CPU is not set
# CONFIG_NETFILTER_XT_MATCH_DCCP is not set
# CONFIG_NETFILTER_XT_MATCH_DEVGROUP is not set
# CONFIG_NETFILTER_XT_MATCH_DSCP is not set
# CONFIG_NETFILTER_XT_MATCH_ECN is not set
# CONFIG_NETFILTER_XT_MATCH_ESP is not set
# CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_HELPER is not set
# CONFIG_NETFILTER_XT_MATCH_HL is not set
# CONFIG_NETFILTER_XT_MATCH_IPCOMP is not set
# CONFIG_NETFILTER_XT_MATCH_IPRANGE is not set
# CONFIG_NETFILTER_XT_MATCH_L2TP is not set
# CONFIG_NETFILTER_XT_MATCH_LENGTH is not set
# CONFIG_NETFILTER_XT_MATCH_LIMIT is not set
# CONFIG_NETFILTER_XT_MATCH_MAC is not set
# CONFIG_NETFILTER_XT_MATCH_MARK is not set
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
# CONFIG_NETFILTER_XT_MATCH_NFACCT is not set
# CONFIG_NETFILTER_XT_MATCH_OSF is not set
# CONFIG_NETFILTER_XT_MATCH_OWNER is not set
# CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set
# CONFIG_NETFILTER_XT_MATCH_QUOTA is not set
# CONFIG_NETFILTER_XT_MATCH_RATEEST is not set
# CONFIG_NETFILTER_XT_MATCH_REALM is not set
# CONFIG_NETFILTER_XT_MATCH_RECENT is not set
# CONFIG_NETFILTER_XT_MATCH_SCTP is not set
CONFIG_NETFILTER_XT_MATCH_STATE=m
# CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set
# CONFIG_NETFILTER_XT_MATCH_STRING is not set
# CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set
# CONFIG_NETFILTER_XT_MATCH_TIME is not set
# CONFIG_NETFILTER_XT_MATCH_U32 is not set
# CONFIG_IP_SET is not set
# CONFIG_IP_VS is not set

#
# IP: Netfilter Configuration
#
CONFIG_NF_DEFRAG_IPV4=m
CONFIG_NF_CONNTRACK_IPV4=m
# CONFIG_NF_SOCKET_IPV4 is not set
# CONFIG_NF_TABLES_IPV4 is not set
# CONFIG_NF_TABLES_ARP is not set
# CONFIG_NF_DUP_IPV4 is not set
# CONFIG_NF_LOG_ARP is not set
CONFIG_NF_LOG_IPV4=m
CONFIG_NF_REJECT_IPV4=m
CONFIG_NF_NAT_IPV4=m
CONFIG_NF_NAT_MASQUERADE_IPV4=m
CONFIG_IP_NF_IPTABLES=m
# CONFIG_IP_NF_MATCH_AH is not set
# CONFIG_IP_NF_MATCH_ECN is not set
# CONFIG_IP_NF_MATCH_RPFILTER is not set
# CONFIG_IP_NF_MATCH_TTL is not set
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
# CONFIG_IP_NF_TARGET_SYNPROXY is not set
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_TARGET_MASQUERADE=m
# CONFIG_IP_NF_TARGET_NETMAP is not set
# CONFIG_IP_NF_TARGET_REDIRECT is not set
CONFIG_IP_NF_MANGLE=m
# CONFIG_IP_NF_TARGET_CLUSTERIP is not set
# CONFIG_IP_NF_TARGET_ECN is not set
# CONFIG_IP_NF_TARGET_TTL is not set
# CONFIG_IP_NF_RAW is not set
# CONFIG_IP_NF_SECURITY is not set
# CONFIG_IP_NF_ARPTABLES is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
# CONFIG_BRIDGE is not set
CONFIG_HAVE_NET_DSA=y
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
CONFIG_NET_SCHED=y

#
# Queueing/Scheduling
#
# CONFIG_NET_SCH_CBQ is not set
# CONFIG_NET_SCH_HTB is not set
# CONFIG_NET_SCH_HFSC is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_MULTIQ is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFB is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_CBS is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_NETEM is not set
# CONFIG_NET_SCH_DRR is not set
# CONFIG_NET_SCH_MQPRIO is not set
# CONFIG_NET_SCH_CHOKE is not set
# CONFIG_NET_SCH_QFQ is not set
# CONFIG_NET_SCH_CODEL is not set
CONFIG_NET_SCH_FQ_CODEL=m
# CONFIG_NET_SCH_FQ is not set
# CONFIG_NET_SCH_HHF is not set
# CONFIG_NET_SCH_PIE is not set
# CONFIG_NET_SCH_PLUG is not set
# CONFIG_NET_SCH_DEFAULT is not set

#
# Classification
#
# CONFIG_NET_CLS_BASIC is not set
# CONFIG_NET_CLS_TCINDEX is not set
# CONFIG_NET_CLS_ROUTE4 is not set
# CONFIG_NET_CLS_FW is not set
# CONFIG_NET_CLS_U32 is not set
# CONFIG_NET_CLS_RSVP is not set
# CONFIG_NET_CLS_RSVP6 is not set
# CONFIG_NET_CLS_FLOW is not set
# CONFIG_NET_CLS_CGROUP is not set
# CONFIG_NET_CLS_BPF is not set
# CONFIG_NET_CLS_FLOWER is not set
# CONFIG_NET_CLS_MATCHALL is not set
# CONFIG_NET_EMATCH is not set
# CONFIG_NET_CLS_ACT is not set
CONFIG_NET_SCH_FIFO=y
# CONFIG_DCB is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
# CONFIG_VSOCKETS is not set
# CONFIG_NETLINK_DIAG is not set
# CONFIG_MPLS is not set
# CONFIG_NET_NSH is not set
# CONFIG_HSR is not set
# CONFIG_NET_SWITCHDEV is not set
# CONFIG_NET_L3_MASTER_DEV is not set
# CONFIG_NET_NCSI is not set
CONFIG_RPS=y
CONFIG_RFS_ACCEL=y
CONFIG_XPS=y
# CONFIG_CGROUP_NET_PRIO is not set
# CONFIG_CGROUP_NET_CLASSID is not set
CONFIG_NET_RX_BUSY_POLL=y
CONFIG_BQL=y
CONFIG_NET_FLOW_LIMIT=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_DROP_MONITOR is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
CONFIG_BT=m
CONFIG_BT_BREDR=y
CONFIG_BT_RFCOMM=m
CONFIG_BT_RFCOMM_TTY=y
CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_HIDP=m
CONFIG_BT_HS=y
CONFIG_BT_LE=y
# CONFIG_BT_SELFTEST is not set
CONFIG_BT_DEBUGFS=y

#
# Bluetooth device drivers
#
CONFIG_BT_INTEL=m
CONFIG_BT_BCM=m
CONFIG_BT_RTL=m
CONFIG_BT_HCIBTUSB=m
# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set
CONFIG_BT_HCIBTUSB_BCM=y
CONFIG_BT_HCIBTUSB_RTL=y
# CONFIG_BT_HCIUART is not set
# CONFIG_BT_HCIBCM203X is not set
# CONFIG_BT_HCIBPA10X is not set
# CONFIG_BT_HCIBFUSB is not set
# CONFIG_BT_HCIVHCI is not set
# CONFIG_BT_MRVL is not set
# CONFIG_BT_ATH3K is not set
# CONFIG_AF_RXRPC is not set
# CONFIG_AF_KCM is not set
# CONFIG_WIRELESS is not set
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
# CONFIG_PSAMPLE is not set
# CONFIG_NET_IFE is not set
# CONFIG_LWTUNNEL is not set
# CONFIG_NET_DEVLINK is not set
CONFIG_MAY_USE_DEVLINK=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER=y
CONFIG_UEVENT_HELPER_PATH=""
CONFIG_DEVTMPFS=y
# CONFIG_DEVTMPFS_MOUNT is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
CONFIG_ALLOW_DEV_COREDUMP=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_TEST_ASYNC_DRIVER_PROBE is not set
CONFIG_GENERIC_CPU_AUTOPROBE=y
CONFIG_GENERIC_CPU_VULNERABILITIES=y
CONFIG_REGMAP=y
CONFIG_REGMAP_I2C=m
CONFIG_DMA_SHARED_BUFFER=y
# CONFIG_DMA_FENCE_TRACE is not set
CONFIG_DMA_CMA=y

#
# Default contiguous memory area size:
#
CONFIG_CMA_SIZE_MBYTES=4
CONFIG_CMA_SIZE_SEL_MBYTES=y
# CONFIG_CMA_SIZE_SEL_PERCENTAGE is not set
# CONFIG_CMA_SIZE_SEL_MIN is not set
# CONFIG_CMA_SIZE_SEL_MAX is not set
CONFIG_CMA_ALIGNMENT=8

#
# Bus devices
#
# CONFIG_CONNECTOR is not set
# CONFIG_MTD is not set
# CONFIG_OF is not set
CONFIG_ARCH_MIGHT_HAVE_PC_PARPORT=y
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AX88796 is not set
CONFIG_PARPORT_1284=y
CONFIG_PNP=y
# CONFIG_PNP_DEBUG_MESSAGES is not set

#
# Protocols
#
CONFIG_PNPACPI=y
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_NULL_BLK is not set
CONFIG_BLK_DEV_FD=m
CONFIG_CDROM=m
# CONFIG_PARIDE is not set
# CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set
# CONFIG_BLK_DEV_DRBD is not set
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_SX8 is not set
# CONFIG_BLK_DEV_RAM is not set
CONFIG_CDROM_PKTCDVD=m
CONFIG_CDROM_PKTCDVD_BUFFERS=8
# CONFIG_CDROM_PKTCDVD_WCACHE is not set
# CONFIG_ATA_OVER_ETH is not set
# CONFIG_BLK_DEV_RBD is not set
# CONFIG_BLK_DEV_RSXX is not set

#
# NVME Support
#
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_NVME_FC is not set
# CONFIG_NVME_TARGET is not set

#
# Misc devices
#
# CONFIG_AD525X_DPOT is not set
# CONFIG_DUMMY_IRQ is not set
# CONFIG_IBM_ASM is not set
# CONFIG_PHANTOM is not set
# CONFIG_SGI_IOC4 is not set
# CONFIG_TIFM_CORE is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_HP_ILO is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_PCH_PHUB is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_SRAM is not set
# CONFIG_PCI_ENDPOINT_TEST is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
CONFIG_EEPROM_LEGACY=m
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_EEPROM_IDT_89HPESX is not set
# CONFIG_CB710_CORE is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_SENSORS_LIS3_I2C is not set

#
# Altera FPGA firmware download module (requires I2C)
#
# CONFIG_ALTERA_STAPL is not set
# CONFIG_INTEL_MEI is not set
# CONFIG_INTEL_MEI_ME is not set
# CONFIG_INTEL_MEI_TXE is not set
# CONFIG_VMWARE_VMCI is not set

#
# Intel MIC & related support
#

#
# Intel MIC Bus Driver
#

#
# SCIF Bus Driver
#

#
# VOP Bus Driver
#

#
# Intel MIC Host Driver
#

#
# Intel MIC Card Driver
#

#
# SCIF Driver
#

#
# Intel MIC Coprocessor State Management (COSM) Drivers
#

#
# VOP Driver
#
# CONFIG_ECHO is not set
# CONFIG_MISC_RTSX_PCI is not set
# CONFIG_MISC_RTSX_USB is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_MQ_DEFAULT is not set
# CONFIG_SCSI_PROC_FS is not set

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set
CONFIG_SCSI_SCAN_ASYNC=y

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
# CONFIG_SCSI_LOWLEVEL is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_ATA=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_ACPI=y
CONFIG_SATA_ZPODD=y
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
CONFIG_SATA_AHCI=y
CONFIG_SATA_MOBILE_LPM_POLICY=0
# CONFIG_SATA_AHCI_PLATFORM is not set
# CONFIG_SATA_INIC162X is not set
# CONFIG_SATA_ACARD_AHCI is not set
# CONFIG_SATA_SIL24 is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_PDC_ADMA is not set
# CONFIG_SATA_QSTOR is not set
# CONFIG_SATA_SX4 is not set
CONFIG_ATA_BMDMA=y

#
# SATA SFF controllers with BMDMA
#
CONFIG_ATA_PIIX=y
# CONFIG_SATA_MV is not set
# CONFIG_SATA_NV is not set
# CONFIG_SATA_PROMISE is not set
# CONFIG_SATA_SIL is not set
# CONFIG_SATA_SIS is not set
# CONFIG_SATA_SVW is not set
# CONFIG_SATA_ULI is not set
# CONFIG_SATA_VIA is not set
# CONFIG_SATA_VITESSE is not set

#
# PATA SFF controllers with BMDMA
#
# CONFIG_PATA_ALI is not set
# CONFIG_PATA_AMD is not set
# CONFIG_PATA_ARTOP is not set
# CONFIG_PATA_ATIIXP is not set
# CONFIG_PATA_ATP867X is not set
# CONFIG_PATA_CMD64X is not set
# CONFIG_PATA_CS5520 is not set
# CONFIG_PATA_CS5530 is not set
# CONFIG_PATA_CS5535 is not set
# CONFIG_PATA_CS5536 is not set
# CONFIG_PATA_CYPRESS is not set
# CONFIG_PATA_EFAR is not set
# CONFIG_PATA_HPT366 is not set
# CONFIG_PATA_HPT37X is not set
# CONFIG_PATA_HPT3X2N is not set
# CONFIG_PATA_HPT3X3 is not set
# CONFIG_PATA_IT8213 is not set
# CONFIG_PATA_IT821X is not set
# CONFIG_PATA_JMICRON is not set
CONFIG_PATA_MARVELL=y
# CONFIG_PATA_NETCELL is not set
# CONFIG_PATA_NINJA32 is not set
# CONFIG_PATA_NS87415 is not set
# CONFIG_PATA_OLDPIIX is not set
# CONFIG_PATA_OPTIDMA is not set
# CONFIG_PATA_PDC2027X is not set
# CONFIG_PATA_PDC_OLD is not set
# CONFIG_PATA_RADISYS is not set
# CONFIG_PATA_RDC is not set
# CONFIG_PATA_SC1200 is not set
# CONFIG_PATA_SCH is not set
# CONFIG_PATA_SERVERWORKS is not set
# CONFIG_PATA_SIL680 is not set
# CONFIG_PATA_SIS is not set
# CONFIG_PATA_TOSHIBA is not set
# CONFIG_PATA_TRIFLEX is not set
# CONFIG_PATA_VIA is not set
# CONFIG_PATA_WINBOND is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_CMD640_PCI is not set
# CONFIG_PATA_MPIIX is not set
# CONFIG_PATA_NS87410 is not set
# CONFIG_PATA_OPTI is not set
# CONFIG_PATA_RZ1000 is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_PATA_ACPI is not set
# CONFIG_ATA_GENERIC is not set
# CONFIG_PATA_LEGACY is not set
# CONFIG_MD is not set
# CONFIG_TARGET_CORE is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
CONFIG_FIREWIRE=m
CONFIG_FIREWIRE_OHCI=m
CONFIG_FIREWIRE_SBP2=m
CONFIG_FIREWIRE_NET=m
# CONFIG_FIREWIRE_NOSY is not set
# CONFIG_MACINTOSH_DRIVERS is not set
CONFIG_NETDEVICES=y
CONFIG_MII=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
# CONFIG_NET_FC is not set
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_IPVLAN is not set
# CONFIG_VXLAN is not set
# CONFIG_MACSEC is not set
CONFIG_NETCONSOLE=y
CONFIG_NETCONSOLE_DYNAMIC=y
CONFIG_NETPOLL=y
CONFIG_NET_POLL_CONTROLLER=y
CONFIG_TUN=m
# CONFIG_TUN_VNET_CROSS_LE is not set
# CONFIG_VETH is not set
# CONFIG_NLMON is not set
# CONFIG_ARCNET is not set

#
# CAIF transport drivers
#

#
# Distributed Switch Architecture drivers
#
CONFIG_ETHERNET=y
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_VENDOR_ADAPTEC is not set
# CONFIG_NET_VENDOR_AGERE is not set
# CONFIG_NET_VENDOR_ALACRITECH is not set
# CONFIG_NET_VENDOR_ALTEON is not set
# CONFIG_ALTERA_TSE is not set
# CONFIG_NET_VENDOR_AMAZON is not set
# CONFIG_NET_VENDOR_AMD is not set
# CONFIG_NET_VENDOR_AQUANTIA is not set
# CONFIG_NET_VENDOR_ARC is not set
# CONFIG_NET_VENDOR_ATHEROS is not set
# CONFIG_NET_VENDOR_AURORA is not set
# CONFIG_NET_CADENCE is not set
# CONFIG_NET_VENDOR_BROADCOM is not set
# CONFIG_NET_VENDOR_BROCADE is not set
# CONFIG_NET_VENDOR_CAVIUM is not set
# CONFIG_NET_VENDOR_CHELSIO is not set
# CONFIG_NET_VENDOR_CISCO is not set
# CONFIG_NET_VENDOR_CORTINA is not set
# CONFIG_CX_ECAT is not set
# CONFIG_DNET is not set
# CONFIG_NET_VENDOR_DEC is not set
# CONFIG_NET_VENDOR_DLINK is not set
# CONFIG_NET_VENDOR_EMULEX is not set
# CONFIG_NET_VENDOR_EZCHIP is not set
# CONFIG_NET_VENDOR_EXAR is not set
# CONFIG_NET_VENDOR_HP is not set
# CONFIG_NET_VENDOR_HUAWEI is not set
# CONFIG_NET_VENDOR_INTEL is not set
# CONFIG_JME is not set
# CONFIG_NET_VENDOR_MARVELL is not set
# CONFIG_NET_VENDOR_MELLANOX is not set
# CONFIG_NET_VENDOR_MICREL is not set
# CONFIG_NET_VENDOR_MYRI is not set
# CONFIG_FEALNX is not set
# CONFIG_NET_VENDOR_NATSEMI is not set
# CONFIG_NET_VENDOR_NETRONOME is not set
# CONFIG_NET_VENDOR_NI is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NET_VENDOR_OKI is not set
# CONFIG_ETHOC is not set
# CONFIG_NET_PACKET_ENGINE is not set
# CONFIG_NET_VENDOR_QLOGIC is not set
# CONFIG_NET_VENDOR_QUALCOMM is not set
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_ATP is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
CONFIG_R8169=y
# CONFIG_NET_VENDOR_RENESAS is not set
# CONFIG_NET_VENDOR_RDC is not set
# CONFIG_NET_VENDOR_ROCKER is not set
# CONFIG_NET_VENDOR_SAMSUNG is not set
# CONFIG_NET_VENDOR_SEEQ is not set
# CONFIG_NET_VENDOR_SILAN is not set
# CONFIG_NET_VENDOR_SIS is not set
# CONFIG_NET_VENDOR_SOLARFLARE is not set
# CONFIG_NET_VENDOR_SMSC is not set
# CONFIG_NET_VENDOR_SOCIONEXT is not set
# CONFIG_NET_VENDOR_STMICRO is not set
# CONFIG_NET_VENDOR_SUN is not set
# CONFIG_NET_VENDOR_TEHUTI is not set
# CONFIG_NET_VENDOR_TI is not set
# CONFIG_NET_VENDOR_VIA is not set
# CONFIG_NET_VENDOR_WIZNET is not set
# CONFIG_NET_VENDOR_SYNOPSYS is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_NET_SB1000 is not set
CONFIG_MDIO_DEVICE=m
CONFIG_MDIO_BUS=m
# CONFIG_MDIO_BITBANG is not set
CONFIG_PHYLIB=m

#
# MII PHY device drivers
#
# CONFIG_AMD_PHY is not set
# CONFIG_AQUANTIA_PHY is not set
# CONFIG_AT803X_PHY is not set
# CONFIG_BCM7XXX_PHY is not set
# CONFIG_BCM87XX_PHY is not set
# CONFIG_BROADCOM_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_CORTINA_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_DP83822_PHY is not set
# CONFIG_DP83848_PHY is not set
# CONFIG_DP83867_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_INTEL_XWAY_PHY is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_MARVELL_10G_PHY is not set
# CONFIG_MICREL_PHY is not set
CONFIG_MICROCHIP_PHY=m
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_RENESAS_PHY is not set
# CONFIG_ROCKCHIP_PHY is not set
# CONFIG_SMSC_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_TERANETICS_PHY is not set
# CONFIG_VITESSE_PHY is not set
# CONFIG_XILINX_GMII2RGMII is not set
# CONFIG_PLIP is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set

#
# Host-side USB support is needed for USB Network Adapter support
#
CONFIG_USB_NET_DRIVERS=m
CONFIG_USB_CATC=m
CONFIG_USB_KAWETH=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_RTL8152=m
CONFIG_USB_LAN78XX=m
CONFIG_USB_USBNET=m
CONFIG_USB_NET_AX8817X=m
CONFIG_USB_NET_AX88179_178A=m
CONFIG_USB_NET_CDCETHER=m
# CONFIG_USB_NET_CDC_EEM is not set
# CONFIG_USB_NET_CDC_NCM is not set
# CONFIG_USB_NET_HUAWEI_CDC_NCM is not set
# CONFIG_USB_NET_CDC_MBIM is not set
CONFIG_USB_NET_DM9601=m
CONFIG_USB_NET_SR9700=m
CONFIG_USB_NET_SR9800=m
CONFIG_USB_NET_SMSC75XX=m
CONFIG_USB_NET_SMSC95XX=m
# CONFIG_USB_NET_GL620A is not set
# CONFIG_USB_NET_NET1080 is not set
# CONFIG_USB_NET_PLUSB is not set
CONFIG_USB_NET_MCS7830=m
# CONFIG_USB_NET_RNDIS_HOST is not set
# CONFIG_USB_NET_CDC_SUBSET is not set
# CONFIG_USB_NET_ZAURUS is not set
# CONFIG_USB_NET_CX82310_ETH is not set
# CONFIG_USB_NET_KALMIA is not set
# CONFIG_USB_NET_QMI_WWAN is not set
# CONFIG_USB_NET_INT51X1 is not set
# CONFIG_USB_IPHETH is not set
# CONFIG_USB_SIERRA_NET is not set
# CONFIG_USB_VL600 is not set
# CONFIG_USB_NET_CH9200 is not set
# CONFIG_WLAN is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
# CONFIG_VMXNET3 is not set
# CONFIG_FUJITSU_ES is not set
# CONFIG_NETDEVSIM is not set
# CONFIG_ISDN is not set
# CONFIG_NVM is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=m
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=m
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_DLINK_DIR685 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_BYD=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS=y
CONFIG_MOUSE_PS2_CYPRESS=y
CONFIG_MOUSE_PS2_LIFEBOOK=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
CONFIG_MOUSE_PS2_FOCALTECH=y
CONFIG_MOUSE_PS2_SMBUS=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_CYAPA is not set
# CONFIG_MOUSE_ELAN_I2C is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
# CONFIG_INPUT_AD714X is not set
# CONFIG_INPUT_BMA150 is not set
# CONFIG_INPUT_E3X0_BUTTON is not set
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_MMA8450 is not set
# CONFIG_INPUT_WISTRON_BTNS is not set
# CONFIG_INPUT_ATLAS_BTNS is not set
# CONFIG_INPUT_ATI_REMOTE2 is not set
# CONFIG_INPUT_KEYSPAN_REMOTE is not set
# CONFIG_INPUT_KXTJ9 is not set
# CONFIG_INPUT_POWERMATE is not set
# CONFIG_INPUT_YEALINK is not set
# CONFIG_INPUT_CM109 is not set
# CONFIG_INPUT_UINPUT is not set
# CONFIG_INPUT_PCF8574 is not set
# CONFIG_INPUT_ADXL34X is not set
# CONFIG_INPUT_CMA3000 is not set
# CONFIG_INPUT_IDEAPAD_SLIDEBAR is not set
# CONFIG_INPUT_DRV2665_HAPTICS is not set
# CONFIG_INPUT_DRV2667_HAPTICS is not set
# CONFIG_RMI4_CORE is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_ARCH_MIGHT_HAVE_PC_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
# CONFIG_SERIO_PCIPS2 is not set
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_SERIO_ARC_PS2 is not set
# CONFIG_USERIO is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_TTY=y
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
CONFIG_VT_HW_CONSOLE_BINDING=y
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_NOZOMI is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVMEM=y
# CONFIG_DEVKMEM is not set

#
# Serial drivers
#
CONFIG_SERIAL_EARLYCON=y
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set
CONFIG_SERIAL_8250_PNP=y
# CONFIG_SERIAL_8250_FINTEK is not set
CONFIG_SERIAL_8250_CONSOLE=y
# CONFIG_SERIAL_8250_PCI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_RT288X is not set
# CONFIG_SERIAL_8250_LPSS is not set
# CONFIG_SERIAL_8250_MID is not set
# CONFIG_SERIAL_8250_MOXA is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_UARTLITE is not set
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
# CONFIG_SERIAL_SCCNXP is not set
# CONFIG_SERIAL_SC16IS7XX is not set
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_PCH_UART is not set
# CONFIG_SERIAL_ARC is not set
# CONFIG_SERIAL_RP2 is not set
# CONFIG_SERIAL_FSL_LPUART is not set
# CONFIG_SERIAL_DEV_BUS is not set
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_NVRAM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
# CONFIG_MWAVE is not set
# CONFIG_PC8736x_GPIO is not set
# CONFIG_NSC_GPIO is not set
# CONFIG_RAW_DRIVER is not set
CONFIG_HPET=y
CONFIG_HPET_MMAP=y
CONFIG_HPET_MMAP_DEFAULT=y
# CONFIG_HANGCHECK_TIMER is not set
# CONFIG_TCG_TPM is not set
# CONFIG_TELCLOCK is not set
CONFIG_DEVPORT=y
# CONFIG_XILLYBUS is not set

#
# I2C support
#
CONFIG_I2C=m
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=m
# CONFIG_I2C_MUX is not set
CONFIG_I2C_HELPER_AUTO=y
CONFIG_I2C_SMBUS=m
CONFIG_I2C_ALGOBIT=m

#
# I2C Hardware Bus support
#

#
# PC SMBus host controller drivers
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
CONFIG_I2C_I801=m
# CONFIG_I2C_ISCH is not set
# CONFIG_I2C_ISMT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set

#
# ACPI drivers
#
# CONFIG_I2C_SCMI is not set

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
# CONFIG_I2C_DESIGNWARE_PCI is not set
# CONFIG_I2C_EG20T is not set
# CONFIG_I2C_EMEV2 is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_DIOLAN_U2C is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_ROBOTFUZZ_OSIF is not set
# CONFIG_I2C_TAOS_EVM is not set
# CONFIG_I2C_TINY_USB is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_SLAVE is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set
# CONFIG_SPMI is not set
# CONFIG_HSI is not set
# CONFIG_PPS is not set

#
# PTP clock support
#
# CONFIG_PTP_1588_CLOCK is not set

#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks.
#
# CONFIG_PTP_1588_CLOCK_PCH is not set
# CONFIG_PINCTRL is not set
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
# CONFIG_POWER_AVS is not set
# CONFIG_POWER_RESET is not set
CONFIG_POWER_SUPPLY=y
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_PDA_POWER is not set
# CONFIG_TEST_POWER is not set
# CONFIG_BATTERY_DS2780 is not set
# CONFIG_BATTERY_DS2781 is not set
# CONFIG_BATTERY_DS2782 is not set
# CONFIG_BATTERY_SBS is not set
# CONFIG_CHARGER_SBS is not set
# CONFIG_BATTERY_BQ27XXX is not set
# CONFIG_BATTERY_MAX17040 is not set
# CONFIG_BATTERY_MAX17042 is not set
# CONFIG_CHARGER_MAX8903 is not set
# CONFIG_CHARGER_LP8727 is not set
# CONFIG_CHARGER_BQ2415X is not set
# CONFIG_CHARGER_SMB347 is not set
# CONFIG_BATTERY_GAUGE_LTC2941 is not set
CONFIG_HWMON=m
# CONFIG_HWMON_DEBUG_CHIP is not set

#
# Native drivers
#
# CONFIG_SENSORS_ABITUGURU is not set
# CONFIG_SENSORS_ABITUGURU3 is not set
# CONFIG_SENSORS_AD7414 is not set
# CONFIG_SENSORS_AD7418 is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ADM1025 is not set
# CONFIG_SENSORS_ADM1026 is not set
# CONFIG_SENSORS_ADM1029 is not set
# CONFIG_SENSORS_ADM1031 is not set
# CONFIG_SENSORS_ADM9240 is not set
# CONFIG_SENSORS_ADT7410 is not set
# CONFIG_SENSORS_ADT7411 is not set
# CONFIG_SENSORS_ADT7462 is not set
# CONFIG_SENSORS_ADT7470 is not set
# CONFIG_SENSORS_ADT7475 is not set
# CONFIG_SENSORS_ASC7621 is not set
# CONFIG_SENSORS_K8TEMP is not set
# CONFIG_SENSORS_K10TEMP is not set
# CONFIG_SENSORS_FAM15H_POWER is not set
# CONFIG_SENSORS_APPLESMC is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_ASPEED is not set
# CONFIG_SENSORS_ATXP1 is not set
# CONFIG_SENSORS_DS620 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_DELL_SMM is not set
# CONFIG_SENSORS_I5K_AMB is not set
# CONFIG_SENSORS_F71805F is not set
# CONFIG_SENSORS_F71882FG is not set
# CONFIG_SENSORS_F75375S is not set
# CONFIG_SENSORS_FSCHMD is not set
# CONFIG_SENSORS_FTSTEUTATES is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_GL520SM is not set
# CONFIG_SENSORS_G760A is not set
# CONFIG_SENSORS_G762 is not set
# CONFIG_SENSORS_HIH6130 is not set
# CONFIG_SENSORS_I5500 is not set
CONFIG_SENSORS_CORETEMP=m
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_JC42 is not set
# CONFIG_SENSORS_POWR1220 is not set
# CONFIG_SENSORS_LINEAGE is not set
# CONFIG_SENSORS_LTC2945 is not set
# CONFIG_SENSORS_LTC2990 is not set
# CONFIG_SENSORS_LTC4151 is not set
# CONFIG_SENSORS_LTC4215 is not set
# CONFIG_SENSORS_LTC4222 is not set
# CONFIG_SENSORS_LTC4245 is not set
# CONFIG_SENSORS_LTC4260 is not set
# CONFIG_SENSORS_LTC4261 is not set
# CONFIG_SENSORS_MAX16065 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_MAX1668 is not set
# CONFIG_SENSORS_MAX197 is not set
# CONFIG_SENSORS_MAX6621 is not set
# CONFIG_SENSORS_MAX6639 is not set
# CONFIG_SENSORS_MAX6642 is not set
# CONFIG_SENSORS_MAX6650 is not set
# CONFIG_SENSORS_MAX6697 is not set
# CONFIG_SENSORS_MAX31790 is not set
# CONFIG_SENSORS_MCP3021 is not set
# CONFIG_SENSORS_TC654 is not set
# CONFIG_SENSORS_LM63 is not set
# CONFIG_SENSORS_LM73 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM77 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM87 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_LM92 is not set
# CONFIG_SENSORS_LM93 is not set
# CONFIG_SENSORS_LM95234 is not set
# CONFIG_SENSORS_LM95241 is not set
# CONFIG_SENSORS_LM95245 is not set
# CONFIG_SENSORS_PC87360 is not set
# CONFIG_SENSORS_PC87427 is not set
# CONFIG_SENSORS_NTC_THERMISTOR is not set
# CONFIG_SENSORS_NCT6683 is not set
# CONFIG_SENSORS_NCT6775 is not set
# CONFIG_SENSORS_NCT7802 is not set
# CONFIG_SENSORS_NCT7904 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_PMBUS is not set
# CONFIG_SENSORS_SHT21 is not set
# CONFIG_SENSORS_SHT3x is not set
# CONFIG_SENSORS_SHTC1 is not set
# CONFIG_SENSORS_SIS5595 is not set
# CONFIG_SENSORS_DME1737 is not set
# CONFIG_SENSORS_EMC1403 is not set
# CONFIG_SENSORS_EMC2103 is not set
# CONFIG_SENSORS_EMC6W201 is not set
# CONFIG_SENSORS_SMSC47M1 is not set
# CONFIG_SENSORS_SMSC47M192 is not set
# CONFIG_SENSORS_SMSC47B397 is not set
# CONFIG_SENSORS_SCH5627 is not set
# CONFIG_SENSORS_SCH5636 is not set
# CONFIG_SENSORS_STTS751 is not set
# CONFIG_SENSORS_SMM665 is not set
# CONFIG_SENSORS_ADC128D818 is not set
# CONFIG_SENSORS_ADS1015 is not set
# CONFIG_SENSORS_ADS7828 is not set
# CONFIG_SENSORS_AMC6821 is not set
# CONFIG_SENSORS_INA209 is not set
# CONFIG_SENSORS_INA2XX is not set
# CONFIG_SENSORS_INA3221 is not set
# CONFIG_SENSORS_TC74 is not set
# CONFIG_SENSORS_THMC50 is not set
# CONFIG_SENSORS_TMP102 is not set
# CONFIG_SENSORS_TMP103 is not set
# CONFIG_SENSORS_TMP108 is not set
# CONFIG_SENSORS_TMP401 is not set
# CONFIG_SENSORS_TMP421 is not set
# CONFIG_SENSORS_VIA_CPUTEMP is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_VT1211 is not set
# CONFIG_SENSORS_VT8231 is not set
# CONFIG_SENSORS_W83773G is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83791D is not set
# CONFIG_SENSORS_W83792D is not set
# CONFIG_SENSORS_W83793 is not set
# CONFIG_SENSORS_W83795 is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83L786NG is not set
# CONFIG_SENSORS_W83627HF is not set
# CONFIG_SENSORS_W83627EHF is not set

#
# ACPI drivers
#
# CONFIG_SENSORS_ACPI_POWER is not set
# CONFIG_SENSORS_ATK0110 is not set
CONFIG_THERMAL=y
# CONFIG_THERMAL_STATISTICS is not set
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0
CONFIG_THERMAL_WRITABLE_TRIPS=y
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y
# CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set
# CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE is not set
# CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR is not set
# CONFIG_THERMAL_GOV_FAIR_SHARE is not set
CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_BANG_BANG is not set
CONFIG_THERMAL_GOV_USER_SPACE=y
# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_INTEL_POWERCLAMP is not set
CONFIG_X86_PKG_TEMP_THERMAL=m
CONFIG_INTEL_SOC_DTS_IOSF_CORE=m
CONFIG_INTEL_SOC_DTS_THERMAL=m

#
# ACPI INT340X thermal drivers
#
CONFIG_INT340X_THERMAL=m
CONFIG_ACPI_THERMAL_REL=m
# CONFIG_INT3406_THERMAL is not set
CONFIG_INTEL_PCH_THERMAL=m
CONFIG_WATCHDOG=y
CONFIG_WATCHDOG_CORE=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_WATCHDOG_HANDLE_BOOT_ENABLED=y
# CONFIG_WATCHDOG_SYSFS is not set

#
# Watchdog Device Drivers
#
# CONFIG_SOFT_WATCHDOG is not set
# CONFIG_WDAT_WDT is not set
# CONFIG_XILINX_WATCHDOG is not set
# CONFIG_ZIIRAVE_WATCHDOG is not set
# CONFIG_CADENCE_WATCHDOG is not set
# CONFIG_DW_WATCHDOG is not set
# CONFIG_MAX63XX_WATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_EBC_C384_WDT is not set
# CONFIG_F71808E_WDT is not set
# CONFIG_SP5100_TCO is not set
# CONFIG_SBC_FITPC2_WATCHDOG is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_IBMASR is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_I6300ESB_WDT is not set
# CONFIG_IE6XX_WDT is not set
CONFIG_ITCO_WDT=m
# CONFIG_ITCO_VENDOR_SUPPORT is not set
# CONFIG_IT8712F_WDT is not set
# CONFIG_IT87_WDT is not set
# CONFIG_HP_WATCHDOG is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_PC87413_WDT is not set
# CONFIG_NV_TCO is not set
# CONFIG_60XX_WDT is not set
# CONFIG_SBC8360_WDT is not set
# CONFIG_SBC7240_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_SMSC_SCH311X_WDT is not set
# CONFIG_SMSC37B787_WDT is not set
# CONFIG_VIA_WDT is not set
# CONFIG_W83627HF_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_W83977F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SBC_EPX_C3_WATCHDOG is not set
# CONFIG_NI903X_WDT is not set
# CONFIG_NIC7018_WDT is not set

#
# PCI-based Watchdog Cards
#
# CONFIG_PCIPCWATCHDOG is not set
# CONFIG_WDTPCI is not set

#
# USB-based Watchdog Cards
#
# CONFIG_USBPCWATCHDOG is not set

#
# Watchdog Pretimeout Governors
#
# CONFIG_WATCHDOG_PRETIMEOUT_GOV is not set
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
CONFIG_MFD_CORE=m
# CONFIG_MFD_CS5535 is not set
# CONFIG_MFD_BCM590XX is not set
# CONFIG_MFD_BD9571MWV is not set
# CONFIG_MFD_AXP20X_I2C is not set
# CONFIG_MFD_CROS_EC is not set
# CONFIG_MFD_DA9062 is not set
# CONFIG_MFD_DA9063 is not set
# CONFIG_MFD_DA9150 is not set
# CONFIG_MFD_DLN2 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_MFD_INTEL_QUARK_I2C_GPIO is not set
CONFIG_LPC_ICH=m
# CONFIG_LPC_SCH is not set
CONFIG_MFD_INTEL_LPSS=m
CONFIG_MFD_INTEL_LPSS_ACPI=m
CONFIG_MFD_INTEL_LPSS_PCI=m
# CONFIG_MFD_JANZ_CMODIO is not set
# CONFIG_MFD_KEMPLD is not set
# CONFIG_MFD_88PM800 is not set
# CONFIG_MFD_88PM805 is not set
# CONFIG_MFD_MAX14577 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX8907 is not set
# CONFIG_MFD_MT6397 is not set
# CONFIG_MFD_MENF21BMC is not set
# CONFIG_MFD_VIPERBOARD is not set
# CONFIG_MFD_RETU is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_RDC321X is not set
# CONFIG_MFD_RT5033 is not set
# CONFIG_MFD_SI476X_CORE is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_MFD_SKY81452 is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_SYSCON is not set
# CONFIG_MFD_TI_AM335X_TSCADC is not set
# CONFIG_MFD_LP3943 is not set
# CONFIG_MFD_TI_LMU is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65086 is not set
# CONFIG_MFD_TI_LP873X is not set
# CONFIG_MFD_TPS65912_I2C is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_MFD_VX855 is not set
# CONFIG_MFD_ARIZONA_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_REGULATOR is not set
CONFIG_RC_CORE=y
CONFIG_RC_MAP=y
# CONFIG_LIRC is not set
CONFIG_RC_DECODERS=y
CONFIG_IR_NEC_DECODER=y
CONFIG_IR_RC5_DECODER=y
CONFIG_IR_RC6_DECODER=y
CONFIG_IR_JVC_DECODER=y
CONFIG_IR_SONY_DECODER=y
CONFIG_IR_SANYO_DECODER=y
CONFIG_IR_SHARP_DECODER=y
CONFIG_IR_MCE_KBD_DECODER=y
CONFIG_IR_XMP_DECODER=y
# CONFIG_IR_IMON_DECODER is not set
# CONFIG_RC_DEVICES is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
CONFIG_AGP=m
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=m
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_INTEL_GTT=m
CONFIG_VGA_ARB=y
CONFIG_VGA_ARB_MAX_GPUS=16
CONFIG_VGA_SWITCHEROO=y
CONFIG_DRM=m
CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_DP_AUX_CHARDEV=y
CONFIG_DRM_DEBUG_SELFTEST=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_KMS_FB_HELPER=y
CONFIG_DRM_FBDEV_EMULATION=y
CONFIG_DRM_FBDEV_OVERALLOC=100
# CONFIG_DRM_LOAD_EDID_FIRMWARE is not set

#
# I2C encoder or helper chips
#
# CONFIG_DRM_I2C_CH7006 is not set
# CONFIG_DRM_I2C_SIL164 is not set
# CONFIG_DRM_I2C_NXP_TDA998X is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_DRM_AMDGPU is not set

#
# ACP (Audio CoProcessor) Configuration
#

#
# AMD Library routines
#
# CONFIG_DRM_NOUVEAU is not set
CONFIG_DRM_I915=m
CONFIG_DRM_I915_ALPHA_SUPPORT=y
CONFIG_DRM_I915_CAPTURE_ERROR=y
CONFIG_DRM_I915_COMPRESS_ERROR=y
CONFIG_DRM_I915_USERPTR=y
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VKMS is not set
# CONFIG_DRM_VMWGFX is not set
# CONFIG_DRM_GMA500 is not set
# CONFIG_DRM_UDL is not set
# CONFIG_DRM_AST is not set
# CONFIG_DRM_MGAG200 is not set
# CONFIG_DRM_CIRRUS_QEMU is not set
# CONFIG_DRM_QXL is not set
# CONFIG_DRM_BOCHS is not set
CONFIG_DRM_PANEL=y

#
# Display Panels
#
# CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN is not set
CONFIG_DRM_BRIDGE=y
CONFIG_DRM_PANEL_BRIDGE=y

#
# Display Interface Bridges
#
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_DRM_HISI_HIBMC is not set
# CONFIG_DRM_TINYDRM is not set
# CONFIG_DRM_LEGACY is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=m
CONFIG_DRM_LIB_RANDOM=y

#
# Frame buffer Devices
#
CONFIG_FB=y
CONFIG_FIRMWARE_EDID=y
CONFIG_FB_CMDLINE=y
CONFIG_FB_NOTIFY=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_SYS_FILLRECT=m
CONFIG_FB_SYS_COPYAREA=m
CONFIG_FB_SYS_IMAGEBLIT=m
# CONFIG_FB_FOREIGN_ENDIAN is not set
CONFIG_FB_SYS_FOPS=m
CONFIG_FB_DEFERRED_IO=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ARC is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
CONFIG_FB_VESA=y
# CONFIG_FB_N411 is not set
# CONFIG_FB_HGA is not set
# CONFIG_FB_OPENCORES is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I740 is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_LE80578 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CARMINE is not set
# CONFIG_FB_GEODE is not set
# CONFIG_FB_SMSCUFX is not set
# CONFIG_FB_UDL is not set
# CONFIG_FB_IBM_GXT4500 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_MB862XX is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_FB_SIMPLE is not set
# CONFIG_FB_SM712 is not set
CONFIG_BACKLIGHT_LCD_SUPPORT=y
# CONFIG_LCD_CLASS_DEVICE is not set
CONFIG_BACKLIGHT_CLASS_DEVICE=m
# CONFIG_BACKLIGHT_GENERIC is not set
# CONFIG_BACKLIGHT_APPLE is not set
# CONFIG_BACKLIGHT_PM8941_WLED is not set
# CONFIG_BACKLIGHT_SAHARA is not set
# CONFIG_BACKLIGHT_ADP8860 is not set
# CONFIG_BACKLIGHT_ADP8870 is not set
# CONFIG_BACKLIGHT_LM3639 is not set
# CONFIG_BACKLIGHT_LV5207LP is not set
# CONFIG_BACKLIGHT_BD6107 is not set
# CONFIG_BACKLIGHT_ARCXCNN is not set
CONFIG_HDMI=y

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VGACON_SOFT_SCROLLBACK is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_DUMMY_CONSOLE_COLUMNS=80
CONFIG_DUMMY_CONSOLE_ROWS=25
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
# CONFIG_LOGO is not set
CONFIG_SOUND=m
CONFIG_SND=m
CONFIG_SND_TIMER=m
CONFIG_SND_PCM=m
CONFIG_SND_HWDEP=m
CONFIG_SND_SEQ_DEVICE=m
CONFIG_SND_RAWMIDI=m
CONFIG_SND_JACK=y
CONFIG_SND_JACK_INPUT_DEV=y
# CONFIG_SND_OSSEMUL is not set
CONFIG_SND_PCM_TIMER=y
CONFIG_SND_HRTIMER=m
CONFIG_SND_DYNAMIC_MINORS=y
CONFIG_SND_MAX_CARDS=32
# CONFIG_SND_SUPPORT_OLD_API is not set
CONFIG_SND_PROC_FS=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
CONFIG_SND_DMA_SGBUF=y
CONFIG_SND_SEQUENCER=m
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_SEQ_HRTIMER_DEFAULT=y
CONFIG_SND_SEQ_MIDI_EVENT=m
CONFIG_SND_SEQ_MIDI=m
# CONFIG_SND_DRIVERS is not set
CONFIG_SND_PCI=y
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ASIHPI is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AW2 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS5530 is not set
# CONFIG_SND_CS5535AUDIO is not set
# CONFIG_SND_CTXFI is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_INDIGOIOX is not set
# CONFIG_SND_INDIGODJX is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
# CONFIG_SND_FM801 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_LOLA is not set
# CONFIG_SND_LX6464ES is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SE6X is not set
# CONFIG_SND_SIS7019 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# HD-Audio
#
CONFIG_SND_HDA=m
CONFIG_SND_HDA_INTEL=m
CONFIG_SND_HDA_HWDEP=y
CONFIG_SND_HDA_RECONFIG=y
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_PATCH_LOADER=y
CONFIG_SND_HDA_CODEC_REALTEK=m
CONFIG_SND_HDA_CODEC_ANALOG=m
CONFIG_SND_HDA_CODEC_SIGMATEL=m
CONFIG_SND_HDA_CODEC_VIA=m
CONFIG_SND_HDA_CODEC_HDMI=m
CONFIG_SND_HDA_CODEC_CIRRUS=m
CONFIG_SND_HDA_CODEC_CONEXANT=m
CONFIG_SND_HDA_CODEC_CA0110=m
CONFIG_SND_HDA_CODEC_CA0132=m
# CONFIG_SND_HDA_CODEC_CA0132_DSP is not set
CONFIG_SND_HDA_CODEC_CMEDIA=m
CONFIG_SND_HDA_CODEC_SI3054=m
CONFIG_SND_HDA_GENERIC=m
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1
CONFIG_SND_HDA_CORE=m
CONFIG_SND_HDA_I915=y
CONFIG_SND_HDA_PREALLOC_SIZE=64
CONFIG_SND_USB=y
CONFIG_SND_USB_AUDIO=m
# CONFIG_SND_USB_UA101 is not set
# CONFIG_SND_USB_USX2Y is not set
# CONFIG_SND_USB_CAIAQ is not set
# CONFIG_SND_USB_US122L is not set
# CONFIG_SND_USB_6FIRE is not set
# CONFIG_SND_USB_HIFACE is not set
# CONFIG_SND_BCD2000 is not set
# CONFIG_SND_USB_POD is not set
# CONFIG_SND_USB_PODHD is not set
# CONFIG_SND_USB_TONEPORT is not set
# CONFIG_SND_USB_VARIAX is not set
# CONFIG_SND_FIREWIRE is not set
# CONFIG_SND_SOC is not set
# CONFIG_SND_X86 is not set

#
# HID support
#
CONFIG_HID=m
# CONFIG_HID_BATTERY_STRENGTH is not set
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not set
CONFIG_HID_GENERIC=m

#
# Special HID drivers
#
CONFIG_HID_A4TECH=m
# CONFIG_HID_ACCUTOUCH is not set
# CONFIG_HID_ACRUX is not set
CONFIG_HID_APPLE=m
# CONFIG_HID_APPLEIR is not set
# CONFIG_HID_AUREAL is not set
CONFIG_HID_BELKIN=m
# CONFIG_HID_BETOP_FF is not set
CONFIG_HID_CHERRY=m
CONFIG_HID_CHICONY=m
# CONFIG_HID_PRODIKEYS is not set
# CONFIG_HID_CMEDIA is not set
CONFIG_HID_CYPRESS=m
# CONFIG_HID_DRAGONRISE is not set
# CONFIG_HID_EMS_FF is not set
# CONFIG_HID_ELECOM is not set
# CONFIG_HID_ELO is not set
CONFIG_HID_EZKEY=m
# CONFIG_HID_GEMBIRD is not set
# CONFIG_HID_GFRM is not set
# CONFIG_HID_HOLTEK is not set
# CONFIG_HID_KEYTOUCH is not set
# CONFIG_HID_KYE is not set
# CONFIG_HID_UCLOGIC is not set
# CONFIG_HID_WALTOP is not set
# CONFIG_HID_GYRATION is not set
# CONFIG_HID_ICADE is not set
CONFIG_HID_ITE=m
# CONFIG_HID_JABRA is not set
# CONFIG_HID_TWINHAN is not set
CONFIG_HID_KENSINGTON=m
# CONFIG_HID_LCPOWER is not set
# CONFIG_HID_LENOVO is not set
CONFIG_HID_LOGITECH=m
# CONFIG_HID_LOGITECH_HIDPP is not set
# CONFIG_LOGITECH_FF is not set
# CONFIG_LOGIRUMBLEPAD2_FF is not set
# CONFIG_LOGIG940_FF is not set
# CONFIG_LOGIWHEELS_FF is not set
# CONFIG_HID_MAGICMOUSE is not set
# CONFIG_HID_MAYFLASH is not set
CONFIG_HID_MICROSOFT=m
CONFIG_HID_MONTEREY=m
# CONFIG_HID_MULTITOUCH is not set
# CONFIG_HID_NTI is not set
# CONFIG_HID_NTRIG is not set
# CONFIG_HID_ORTEK is not set
# CONFIG_HID_PANTHERLORD is not set
# CONFIG_HID_PENMOUNT is not set
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PLANTRONICS is not set
# CONFIG_HID_PRIMAX is not set
# CONFIG_HID_RETRODE is not set
# CONFIG_HID_ROCCAT is not set
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SAMSUNG is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEELSERIES is not set
# CONFIG_HID_SUNPLUS is not set
# CONFIG_HID_RMI is not set
# CONFIG_HID_GREENASIA is not set
# CONFIG_HID_SMARTJOYPLUS is not set
# CONFIG_HID_TIVO is not set
# CONFIG_HID_TOPSEED is not set
# CONFIG_HID_THRUSTMASTER is not set
# CONFIG_HID_UDRAW_PS3 is not set
# CONFIG_HID_WACOM is not set
# CONFIG_HID_XINMO is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_SENSOR_HUB is not set
# CONFIG_HID_ALPS is not set

#
# USB HID support
#
CONFIG_USB_HID=m
# CONFIG_HID_PID is not set
# CONFIG_USB_HIDDEV is not set

#
# I2C HID support
#
# CONFIG_I2C_HID is not set
CONFIG_USB_OHCI_LITTLE_ENDIAN=y
CONFIG_USB_SUPPORT=y
CONFIG_USB_COMMON=m
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_USB=m
CONFIG_USB_PCI=y
# CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEFAULT_PERSIST=y
CONFIG_USB_DYNAMIC_MINORS=y
# CONFIG_USB_OTG is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_MON is not set
# CONFIG_USB_WUSB_CBAF is not set

#
# USB Host Controller Drivers
#
# CONFIG_USB_C67X00_HCD is not set
# CONFIG_USB_XHCI_HCD is not set
CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_EHCI_TT_NEWSCHED=y
CONFIG_USB_EHCI_PCI=m
# CONFIG_USB_EHCI_HCD_PLATFORM is not set
# CONFIG_USB_OXU210HP_HCD is not set
# CONFIG_USB_ISP116X_HCD is not set
# CONFIG_USB_FOTG210_HCD is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=m
# CONFIG_USB_SL811_HCD is not set
# CONFIG_USB_R8A66597_HCD is not set
# CONFIG_USB_HCD_TEST_MODE is not set

#
# USB Device Class drivers
#
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=m
# CONFIG_USB_WDM is not set
# CONFIG_USB_TMC is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#

#
# also be needed; see USB_STORAGE Help for more info
#
# CONFIG_USB_STORAGE is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USBIP_CORE is not set
# CONFIG_USB_MUSB_HDRC is not set
# CONFIG_USB_DWC3 is not set
# CONFIG_USB_DWC2 is not set
# CONFIG_USB_CHIPIDEA is not set
# CONFIG_USB_ISP1760 is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set
CONFIG_USB_SERIAL=m
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_SIMPLE is not set
# CONFIG_USB_SERIAL_AIRCABLE is not set
# CONFIG_USB_SERIAL_ARK3116 is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_CH341 is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_CP210X is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
CONFIG_USB_SERIAL_FTDI_SIO=m
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_EDGEPORT_TI is not set
# CONFIG_USB_SERIAL_F81232 is not set
# CONFIG_USB_SERIAL_F8153X is not set
# CONFIG_USB_SERIAL_GARMIN is not set
# CONFIG_USB_SERIAL_IPW is not set
# CONFIG_USB_SERIAL_IUU is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KLSI is not set
# CONFIG_USB_SERIAL_KOBIL_SCT is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_METRO is not set
# CONFIG_USB_SERIAL_MOS7720 is not set
# CONFIG_USB_SERIAL_MOS7840 is not set
# CONFIG_USB_SERIAL_MXUPORT is not set
# CONFIG_USB_SERIAL_NAVMAN is not set
CONFIG_USB_SERIAL_PL2303=m
# CONFIG_USB_SERIAL_OTI6858 is not set
# CONFIG_USB_SERIAL_QCAUX is not set
# CONFIG_USB_SERIAL_QUALCOMM is not set
# CONFIG_USB_SERIAL_SPCP8X5 is not set
# CONFIG_USB_SERIAL_SAFE is not set
# CONFIG_USB_SERIAL_SIERRAWIRELESS is not set
# CONFIG_USB_SERIAL_SYMBOL is not set
# CONFIG_USB_SERIAL_TI is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OPTION is not set
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_SERIAL_OPTICON is not set
# CONFIG_USB_SERIAL_XSENS_MT is not set
# CONFIG_USB_SERIAL_WISHBONE is not set
# CONFIG_USB_SERIAL_SSU100 is not set
# CONFIG_USB_SERIAL_QT2 is not set
# CONFIG_USB_SERIAL_UPD78F0730 is not set
# CONFIG_USB_SERIAL_DEBUG is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_ADUTUX is not set
# CONFIG_USB_SEVSEG is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_CYPRESS_CY7C63 is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_IDMOUSE is not set
# CONFIG_USB_FTDI_ELAN is not set
# CONFIG_USB_APPLEDISPLAY is not set
# CONFIG_USB_SISUSBVGA is not set
# CONFIG_USB_LD is not set
# CONFIG_USB_TRANCEVIBRATOR is not set
# CONFIG_USB_IOWARRIOR is not set
# CONFIG_USB_TEST is not set
# CONFIG_USB_EHSET_TEST_FIXTURE is not set
# CONFIG_USB_ISIGHTFW is not set
# CONFIG_USB_YUREX is not set
# CONFIG_USB_EZUSB_FX2 is not set
# CONFIG_USB_HUB_USB251XB is not set
# CONFIG_USB_HSIC_USB3503 is not set
# CONFIG_USB_HSIC_USB4604 is not set
# CONFIG_USB_LINK_LAYER_TEST is not set

#
# USB Physical Layer drivers
#
# CONFIG_NOP_USB_XCEIV is not set
# CONFIG_USB_ISP1301 is not set
# CONFIG_USB_GADGET is not set
# CONFIG_TYPEC is not set
# CONFIG_USB_ULPI_BUS is not set
# CONFIG_UWB is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
# CONFIG_INFINIBAND is not set
CONFIG_EDAC_ATOMIC_SCRUB=y
CONFIG_EDAC_SUPPORT=y
# CONFIG_EDAC is not set
CONFIG_RTC_LIB=y
CONFIG_RTC_MC146818_LIB=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_HCTOSYS=y
CONFIG_RTC_HCTOSYS_DEVICE="rtc0"
CONFIG_RTC_SYSTOHC=y
CONFIG_RTC_SYSTOHC_DEVICE="rtc0"
# CONFIG_RTC_DEBUG is not set
CONFIG_RTC_NVMEM=y

#
# RTC interfaces
#
CONFIG_RTC_INTF_SYSFS=y
CONFIG_RTC_INTF_PROC=y
CONFIG_RTC_INTF_DEV=y
# CONFIG_RTC_INTF_DEV_UIE_EMUL is not set
# CONFIG_RTC_DRV_TEST is not set

#
# I2C RTC drivers
#
# CONFIG_RTC_DRV_ABB5ZES3 is not set
# CONFIG_RTC_DRV_ABX80X is not set
# CONFIG_RTC_DRV_DS1307 is not set
# CONFIG_RTC_DRV_DS1374 is not set
# CONFIG_RTC_DRV_DS1672 is not set
# CONFIG_RTC_DRV_MAX6900 is not set
# CONFIG_RTC_DRV_RS5C372 is not set
# CONFIG_RTC_DRV_ISL1208 is not set
# CONFIG_RTC_DRV_ISL12022 is not set
# CONFIG_RTC_DRV_X1205 is not set
# CONFIG_RTC_DRV_PCF8523 is not set
# CONFIG_RTC_DRV_PCF85063 is not set
# CONFIG_RTC_DRV_PCF85363 is not set
# CONFIG_RTC_DRV_PCF8563 is not set
# CONFIG_RTC_DRV_PCF8583 is not set
# CONFIG_RTC_DRV_M41T80 is not set
# CONFIG_RTC_DRV_BQ32K is not set
# CONFIG_RTC_DRV_S35390A is not set
# CONFIG_RTC_DRV_FM3130 is not set
# CONFIG_RTC_DRV_RX8010 is not set
# CONFIG_RTC_DRV_RX8581 is not set
# CONFIG_RTC_DRV_RX8025 is not set
# CONFIG_RTC_DRV_EM3027 is not set
# CONFIG_RTC_DRV_RV8803 is not set

#
# SPI RTC drivers
#
CONFIG_RTC_I2C_AND_SPI=m

#
# SPI and I2C RTC drivers
#
# CONFIG_RTC_DRV_DS3232 is not set
# CONFIG_RTC_DRV_PCF2127 is not set
# CONFIG_RTC_DRV_RV3029C2 is not set

#
# Platform RTC drivers
#
CONFIG_RTC_DRV_CMOS=y
# CONFIG_RTC_DRV_DS1286 is not set
# CONFIG_RTC_DRV_DS1511 is not set
# CONFIG_RTC_DRV_DS1553 is not set
# CONFIG_RTC_DRV_DS1685_FAMILY is not set
# CONFIG_RTC_DRV_DS1742 is not set
# CONFIG_RTC_DRV_DS2404 is not set
# CONFIG_RTC_DRV_STK17TA8 is not set
# CONFIG_RTC_DRV_M48T86 is not set
# CONFIG_RTC_DRV_M48T35 is not set
# CONFIG_RTC_DRV_M48T59 is not set
# CONFIG_RTC_DRV_MSM6242 is not set
# CONFIG_RTC_DRV_BQ4802 is not set
# CONFIG_RTC_DRV_RP5C01 is not set
# CONFIG_RTC_DRV_V3020 is not set

#
# on-CPU RTC drivers
#
# CONFIG_RTC_DRV_FTRTC010 is not set

#
# HID Sensor RTC drivers
#
# CONFIG_RTC_DRV_HID_SENSOR_TIME is not set
# CONFIG_DMADEVICES is not set

#
# DMABUF options
#
CONFIG_SYNC_FILE=y
# CONFIG_SW_SYNC is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_PANEL is not set
# CONFIG_UIO is not set
# CONFIG_VIRT_DRIVERS is not set
CONFIG_VIRTIO_MENU=y
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#
# CONFIG_STAGING is not set
CONFIG_X86_PLATFORM_DEVICES=y
# CONFIG_ACER_WIRELESS is not set
# CONFIG_ACERHDF is not set
# CONFIG_ASUS_LAPTOP is not set
# CONFIG_DELL_SMBIOS is not set
# CONFIG_DELL_SMO8800 is not set
# CONFIG_FUJITSU_LAPTOP is not set
# CONFIG_FUJITSU_TABLET is not set
# CONFIG_GPD_POCKET_FAN is not set
# CONFIG_HP_ACCEL is not set
# CONFIG_HP_WIRELESS is not set
# CONFIG_PANASONIC_LAPTOP is not set
# CONFIG_THINKPAD_ACPI is not set
# CONFIG_SENSORS_HDAPS is not set
# CONFIG_INTEL_MENLOW is not set
# CONFIG_EEEPC_LAPTOP is not set
# CONFIG_ASUS_WIRELESS is not set
# CONFIG_ACPI_WMI is not set
# CONFIG_TOPSTAR_LAPTOP is not set
# CONFIG_TOSHIBA_BT_RFKILL is not set
# CONFIG_TOSHIBA_HAPS is not set
# CONFIG_ACPI_CMPC is not set
# CONFIG_INTEL_HID_EVENT is not set
# CONFIG_INTEL_VBTN is not set
# CONFIG_INTEL_IPS is not set
# CONFIG_INTEL_PMC_CORE is not set
# CONFIG_IBM_RTL is not set
# CONFIG_SAMSUNG_LAPTOP is not set
# CONFIG_SAMSUNG_Q10 is not set
# CONFIG_APPLE_GMUX is not set
# CONFIG_INTEL_RST is not set
# CONFIG_INTEL_SMARTCONNECT is not set
# CONFIG_PVPANIC is not set
# CONFIG_INTEL_PMC_IPC is not set
# CONFIG_SURFACE_PRO3_BUTTON is not set
# CONFIG_INTEL_PUNIT_IPC is not set
# CONFIG_MLX_PLATFORM is not set
CONFIG_PMC_ATOM=y
# CONFIG_CHROME_PLATFORMS is not set
# CONFIG_MELLANOX_PLATFORM is not set
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_CLK_PREPARE=y
CONFIG_COMMON_CLK=y

#
# Common Clock Framework
#
# CONFIG_COMMON_CLK_SI5351 is not set
# CONFIG_COMMON_CLK_SI544 is not set
# CONFIG_COMMON_CLK_CDCE706 is not set
# CONFIG_COMMON_CLK_CS2000_CP is not set
# CONFIG_HWSPINLOCK is not set

#
# Clock Source drivers
#
CONFIG_CLKSRC_I8253=y
CONFIG_CLKEVT_I8253=y
CONFIG_I8253_LOCK=y
CONFIG_CLKBLD_I8253=y
# CONFIG_MAILBOX is not set
# CONFIG_IOMMU_SUPPORT is not set

#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set

#
# Rpmsg drivers
#
# CONFIG_RPMSG_VIRTIO is not set
# CONFIG_SOUNDWIRE is not set

#
# SOC (System On Chip) specific Drivers
#

#
# Amlogic SoC drivers
#

#
# Broadcom SoC drivers
#

#
# i.MX SoC drivers
#

#
# Qualcomm SoC drivers
#
# CONFIG_SOC_TI is not set

#
# Xilinx SoC drivers
#
# CONFIG_XILINX_VCU is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set
# CONFIG_NTB is not set
# CONFIG_VME_BUS is not set
# CONFIG_PWM is not set

#
# IRQ chip support
#
CONFIG_ARM_GIC_MAX_NR=1
# CONFIG_IPACK_BUS is not set
# CONFIG_RESET_CONTROLLER is not set
# CONFIG_FMC is not set

#
# PHY Subsystem
#
# CONFIG_GENERIC_PHY is not set
# CONFIG_BCM_KONA_USB2_PHY is not set
# CONFIG_PHY_PXA_28NM_HSIC is not set
# CONFIG_PHY_PXA_28NM_USB2 is not set
# CONFIG_POWERCAP is not set
# CONFIG_MCB is not set

#
# Performance monitor support
#
CONFIG_RAS=y
# CONFIG_THUNDERBOLT is not set

#
# Android
#
# CONFIG_ANDROID is not set
# CONFIG_LIBNVDIMM is not set
# CONFIG_DAX is not set
CONFIG_NVMEM=y

#
# HW tracing support
#
# CONFIG_STM is not set
# CONFIG_INTEL_TH is not set
# CONFIG_FPGA is not set
# CONFIG_SIOX is not set
# CONFIG_SLIMBUS is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
CONFIG_FIRMWARE_MEMMAP=y
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
CONFIG_DMIID=y
# CONFIG_DMI_SYSFS is not set
CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y
# CONFIG_ISCSI_IBFT_FIND is not set
# CONFIG_FW_CFG_SYSFS is not set
# CONFIG_GOOGLE_FIRMWARE is not set

#
# Tegra firmware driver
#

#
# File systems
#
CONFIG_DCACHE_WORD_ACCESS=y
CONFIG_FS_IOMAP=y
# CONFIG_EXT2_FS is not set
# CONFIG_EXT3_FS is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_EXT4_FS_POSIX_ACL=y
CONFIG_EXT4_FS_SECURITY=y
# CONFIG_EXT4_ENCRYPTION is not set
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD2=y
# CONFIG_JBD2_DEBUG is not set
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
# CONFIG_F2FS_FS is not set
# CONFIG_FS_DAX is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
# CONFIG_EXPORTFS_BLOCK_OPS is not set
CONFIG_FILE_LOCKING=y
CONFIG_MANDATORY_FILE_LOCKING=y
# CONFIG_FS_ENCRYPTION is not set
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
CONFIG_FANOTIFY=y
# CONFIG_FANOTIFY_ACCESS_PERMISSIONS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
# CONFIG_OVERLAY_FS is not set

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_UDF_FS=m
CONFIG_UDF_NLS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_FAT_DEFAULT_UTF8 is not set
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
# CONFIG_PROC_CHILDREN is not set
CONFIG_KERNFS=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
CONFIG_HUGETLBFS=y
CONFIG_HUGETLB_PAGE=y
CONFIG_CONFIGFS_FS=y
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ORANGEFS_FS is not set
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
CONFIG_MINIX_FS=m
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=m
# CONFIG_NFS_V2 is not set
CONFIG_NFS_V3=m
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_SWAP is not set
CONFIG_NFSD=m
CONFIG_NFSD_V2_ACL=y
CONFIG_NFSD_V3=y
CONFIG_NFSD_V3_ACL=y
# CONFIG_NFSD_V4 is not set
CONFIG_GRACE_PERIOD=m
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_NFS_ACL_SUPPORT=m
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=m
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
CONFIG_CIFS=m
# CONFIG_CIFS_STATS is not set
# CONFIG_CIFS_WEAK_PW_HASH is not set
# CONFIG_CIFS_XATTR is not set
# CONFIG_CIFS_DEBUG is not set
# CONFIG_CIFS_SMB311 is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="utf8"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ASCII=m
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
CONFIG_NLS_UTF8=m
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y

#
# printk and dmesg options
#
CONFIG_PRINTK_TIME=y
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
CONFIG_BOOT_PRINTK_DELAY=y
# CONFIG_DYNAMIC_DEBUG is not set

#
# Compile-time checks and compiler options
#
CONFIG_DEBUG_INFO=y
# CONFIG_DEBUG_INFO_REDUCED is not set
# CONFIG_DEBUG_INFO_SPLIT is not set
# CONFIG_DEBUG_INFO_DWARF4 is not set
# CONFIG_GDB_SCRIPTS is not set
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
CONFIG_STRIP_ASM_SYMS=y
# CONFIG_READABLE_ASM is not set
CONFIG_UNUSED_SYMBOLS=y
# CONFIG_PAGE_OWNER is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_SECTION_MISMATCH_WARN_ONLY=y
CONFIG_FRAME_POINTER=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_MAGIC_SYSRQ=y
CONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
CONFIG_MAGIC_SYSRQ_SERIAL=y
CONFIG_DEBUG_KERNEL=y

#
# Memory Debugging
#
# CONFIG_PAGE_EXTENSION is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_PAGE_POISONING is not set
# CONFIG_DEBUG_PAGE_REF is not set
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
CONFIG_DEBUG_STACK_USAGE=y
CONFIG_DEBUG_VM=y
CONFIG_DEBUG_VM_VMACACHE=y
CONFIG_DEBUG_VM_RB=y
CONFIG_DEBUG_VM_PGFLAGS=y
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
# CONFIG_DEBUG_VIRTUAL is not set
CONFIG_DEBUG_MEMORY_INIT=y
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_DEBUG_HIGHMEM=y
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
CONFIG_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_SHIRQ is not set

#
# Debug Lockups and Hangs
#
CONFIG_LOCKUP_DETECTOR=y
CONFIG_SOFTLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0
CONFIG_HARDLOCKUP_DETECTOR_PERF=y
CONFIG_HARDLOCKUP_DETECTOR=y
# CONFIG_BOOTPARAM_HARDLOCKUP_PANIC is not set
CONFIG_BOOTPARAM_HARDLOCKUP_PANIC_VALUE=0
CONFIG_DETECT_HUNG_TASK=y
CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120
# CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set
CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0
# CONFIG_WQ_WATCHDOG is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
CONFIG_PANIC_TIMEOUT=0
# CONFIG_SCHED_DEBUG is not set
CONFIG_SCHED_INFO=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_SCHED_STACK_END_CHECK is not set
# CONFIG_DEBUG_TIMEKEEPING is not set

#
# Lock Debugging (spinlocks, mutexes, etc...)
#
CONFIG_LOCK_DEBUGGING_SUPPORT=y
CONFIG_PROVE_LOCKING=y
# CONFIG_LOCK_STAT is not set
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_MUTEXES=y
CONFIG_DEBUG_WW_MUTEX_SLOWPATH=y
CONFIG_DEBUG_RWSEMS=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_LOCKDEP=y
# CONFIG_DEBUG_LOCKDEP is not set
CONFIG_DEBUG_ATOMIC_SLEEP=y
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_LOCK_TORTURE_TEST is not set
# CONFIG_WW_MUTEX_SELFTEST is not set
CONFIG_TRACE_IRQFLAGS=y
CONFIG_STACKTRACE=y
# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_PI_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set

#
# RCU Debugging
#
CONFIG_PROVE_RCU=y
# CONFIG_RCU_PERF_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not set
CONFIG_RCU_CPU_STALL_TIMEOUT=60
# CONFIG_RCU_TRACE is not set
# CONFIG_RCU_EQS_DEBUG is not set
# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_CPU_HOTPLUG_STATE_CONTROL is not set
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
CONFIG_USER_STACKTRACE_SUPPORT=y
CONFIG_NOP_TRACER=y
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACE_CLOCK=y
CONFIG_RING_BUFFER=y
CONFIG_EVENT_TRACING=y
CONFIG_CONTEXT_SWITCH_TRACER=y
CONFIG_RING_BUFFER_ALLOW_SWAP=y
CONFIG_TRACING=y
CONFIG_GLOBAL_TRACE_BUF_SIZE=1441792
CONFIG_GENERIC_TRACER=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_HWLAT_TRACER is not set
# CONFIG_FTRACE_SYSCALLS is not set
# CONFIG_TRACER_SNAPSHOT is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
CONFIG_BLK_DEV_IO_TRACE=y
# CONFIG_UPROBE_EVENTS is not set
# CONFIG_FTRACE_STARTUP_TEST is not set
# CONFIG_MMIOTRACE is not set
# CONFIG_HIST_TRIGGERS is not set
# CONFIG_TRACEPOINT_BENCHMARK is not set
# CONFIG_RING_BUFFER_BENCHMARK is not set
# CONFIG_RING_BUFFER_STARTUP_TEST is not set
# CONFIG_TRACE_EVAL_MAP_FILE is not set
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
# CONFIG_DMA_API_DEBUG is not set
CONFIG_RUNTIME_TESTING_MENU=y
# CONFIG_LKDTM is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_TEST_SORT is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_INTERVAL_TREE_TEST is not set
# CONFIG_PERCPU_TEST is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_TEST_HEXDUMP is not set
# CONFIG_TEST_STRING_HELPERS is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_TEST_PRINTF is not set
# CONFIG_TEST_BITMAP is not set
# CONFIG_TEST_UUID is not set
# CONFIG_TEST_RHASHTABLE is not set
# CONFIG_TEST_HASH is not set
# CONFIG_TEST_LKM is not set
# CONFIG_TEST_USER_COPY is not set
# CONFIG_TEST_BPF is not set
# CONFIG_FIND_BIT_BENCHMARK is not set
# CONFIG_TEST_FIRMWARE is not set
# CONFIG_TEST_SYSCTL is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_STATIC_KEYS is not set
# CONFIG_TEST_KMOD is not set
# CONFIG_MEMTEST is not set
# CONFIG_BUG_ON_DATA_CORRUPTION is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
# CONFIG_UBSAN is not set
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
CONFIG_STRICT_DEVMEM=y
# CONFIG_IO_STRICT_DEVMEM is not set
CONFIG_X86_VERBOSE_BOOTUP=y
CONFIG_EARLY_PRINTK=y
# CONFIG_EARLY_PRINTK_DBGP is not set
# CONFIG_EARLY_PRINTK_USB_XDBC is not set
# CONFIG_X86_PTDUMP is not set
# CONFIG_DEBUG_WX is not set
CONFIG_DOUBLEFAULT=y
# CONFIG_DEBUG_TLBFLUSH is not set
CONFIG_HAVE_MMIOTRACE_SUPPORT=y
CONFIG_IO_DELAY_TYPE_0X80=0
CONFIG_IO_DELAY_TYPE_0XED=1
CONFIG_IO_DELAY_TYPE_UDELAY=2
CONFIG_IO_DELAY_TYPE_NONE=3
CONFIG_IO_DELAY_0X80=y
# CONFIG_IO_DELAY_0XED is not set
# CONFIG_IO_DELAY_UDELAY is not set
# CONFIG_IO_DELAY_NONE is not set
CONFIG_DEFAULT_IO_DELAY_TYPE=0
# CONFIG_DEBUG_BOOT_PARAMS is not set
# CONFIG_CPA_DEBUG is not set
CONFIG_OPTIMIZE_INLINING=y
# CONFIG_DEBUG_ENTRY is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
# CONFIG_X86_DEBUG_FPU is not set
CONFIG_PUNIT_ATOM_DEBUG=m
CONFIG_UNWINDER_FRAME_POINTER=y

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
CONFIG_SECURITY=y
# CONFIG_SECURITYFS is not set
# CONFIG_SECURITY_NETWORK is not set
# CONFIG_SECURITY_PATH is not set
CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
# CONFIG_HARDENED_USERCOPY is not set
# CONFIG_FORTIFY_SOURCE is not set
# CONFIG_STATIC_USERMODEHELPER is not set
# CONFIG_SECURITY_SMACK is not set
# CONFIG_SECURITY_TOMOYO is not set
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_SECURITY_LOADPIN is not set
# CONFIG_SECURITY_YAMA is not set
CONFIG_INTEGRITY=y
# CONFIG_INTEGRITY_AUDIT is not set
# CONFIG_IMA is not set
# CONFIG_EVM is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD=m
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=m
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=m
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_RNG_DEFAULT=m
CONFIG_CRYPTO_AKCIPHER2=y
CONFIG_CRYPTO_KPP2=y
CONFIG_CRYPTO_KPP=m
CONFIG_CRYPTO_ACOMP2=y
# CONFIG_CRYPTO_RSA is not set
# CONFIG_CRYPTO_DH is not set
CONFIG_CRYPTO_ECDH=m
CONFIG_CRYPTO_MANAGER=m
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
# CONFIG_CRYPTO_MANAGER_DISABLE_TESTS is not set
# CONFIG_CRYPTO_GF128MUL is not set
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_NULL2=y
CONFIG_CRYPTO_PCRYPT=m
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_MCRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_TEST is not set

#
# Authenticated Encryption with Associated Data
#
CONFIG_CRYPTO_CCM=m
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_CHACHA20POLY1305 is not set
CONFIG_CRYPTO_SEQIV=m
CONFIG_CRYPTO_ECHAINIV=m

#
# Block modes
#
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_CFB is not set
CONFIG_CRYPTO_CTR=m
# CONFIG_CRYPTO_CTS is not set
CONFIG_CRYPTO_ECB=m
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_KEYWRAP is not set

#
# Hash modes
#
CONFIG_CRYPTO_CMAC=m
CONFIG_CRYPTO_HMAC=m
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_CRC32C_INTEL is not set
# CONFIG_CRYPTO_CRC32 is not set
# CONFIG_CRYPTO_CRC32_PCLMUL is not set
CONFIG_CRYPTO_CRCT10DIF=y
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_POLY1305 is not set
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
# CONFIG_CRYPTO_SHA1 is not set
CONFIG_CRYPTO_SHA256=m
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_SHA3 is not set
# CONFIG_CRYPTO_SM3 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_TI is not set
CONFIG_CRYPTO_AES_586=y
# CONFIG_CRYPTO_AES_NI_INTEL is not set
# CONFIG_CRYPTO_ANUBIS is not set
CONFIG_CRYPTO_ARC4=m
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=m
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SALSA20_586 is not set
# CONFIG_CRYPTO_CHACHA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SERPENT_SSE2_586 is not set
# CONFIG_CRYPTO_SM4 is not set
# CONFIG_CRYPTO_SPECK is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_TWOFISH_586 is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_842 is not set
# CONFIG_CRYPTO_LZ4 is not set
# CONFIG_CRYPTO_LZ4HC is not set

#
# Random Number Generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not set
CONFIG_CRYPTO_DRBG_MENU=m
CONFIG_CRYPTO_DRBG_HMAC=y
# CONFIG_CRYPTO_DRBG_HASH is not set
# CONFIG_CRYPTO_DRBG_CTR is not set
CONFIG_CRYPTO_DRBG=m
CONFIG_CRYPTO_JITTERENTROPY=m
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
# CONFIG_CRYPTO_USER_API_RNG is not set
# CONFIG_CRYPTO_USER_API_AEAD is not set
# CONFIG_CRYPTO_HW is not set

#
# Certificates for signature checking
#
CONFIG_HAVE_KVM=y
CONFIG_VIRTUALIZATION=y
# CONFIG_KVM is not set
# CONFIG_VHOST_NET is not set
# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set
CONFIG_BINARY_PRINTF=y

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_RATIONAL=y
CONFIG_GENERIC_STRNCPY_FROM_USER=y
CONFIG_GENERIC_STRNLEN_USER=y
CONFIG_GENERIC_NET_UTILS=y
CONFIG_GENERIC_FIND_FIRST_BIT=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_HAS_FAST_MULTIPLIER=y
# CONFIG_CRC_CCITT is not set
CONFIG_CRC16=y
CONFIG_CRC_T10DIF=y
CONFIG_CRC_ITU_T=m
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC4 is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_CRC8 is not set
CONFIG_AUDIT_GENERIC=y
# CONFIG_RANDOM32_SELFTEST is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_LZ4_DECOMPRESS=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_DECOMPRESS_BZIP2=y
CONFIG_DECOMPRESS_LZMA=y
CONFIG_DECOMPRESS_XZ=y
CONFIG_DECOMPRESS_LZO=y
CONFIG_DECOMPRESS_LZ4=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_INTERVAL_TREE=y
CONFIG_RADIX_TREE_MULTIORDER=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT_MAP=y
CONFIG_HAS_DMA=y
CONFIG_SGL_ALLOC=y
CONFIG_DMA_DIRECT_OPS=y
CONFIG_CHECK_SIGNATURE=y
CONFIG_CPU_RMAP=y
CONFIG_DQL=y
CONFIG_GLOB=y
# CONFIG_GLOB_SELFTEST is not set
CONFIG_NLATTR=y
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set
# CONFIG_IRQ_POLL is not set
CONFIG_FONT_SUPPORT=y
# CONFIG_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_SG_POOL=y
CONFIG_ARCH_HAS_SG_CHAIN=y
CONFIG_SBITMAP=y
CONFIG_PRIME_NUMBERS=m
# CONFIG_STRING_SELFTEST is not set

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 17:13           ` Ville Syrjälä
@ 2018-05-17 17:21             ` Michal Hocko
  -1 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-17 17:21 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu 17-05-18 20:13:35, Ville Syrjälä wrote:
> On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
> > > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> > > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > > > > 
> > > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > > 
> > > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > > 
> > > > > Is there any bug report with some more details? It is much more
> > > > > preferable to fix the issue rather than to revert the whole thing
> > > > > right away.
> > > > 
> > > > The machine I have in front of me right now didn't give me anything.
> > > > Black screen, and netconsole was silent. No serial port on this
> > > > machine unfortunately.
> > > 
> > > Booted on another machine with serial:
> > 
> > Could you provide your .config please?
> 
> Attached. Not sure there's anything particularly useful in it though
> since I've now seen this on all the highmem systems I've booted.

It has CONFIG_HAVE_MEMBLOCK_NODE_MAP so the movable_zone initialization
depends on quite some crazy movable init code paths. So maybe that is
the place to look at.
 
 
> BTW I just noticed that the reported memory sizes look pretty crazy:
> 
> Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 56848K reserved,
> 4096K cma-reserved, 3078532K highmem)
> 
> vs.
> 
> Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
> 4096K cma-reserved, 7005012K highmem)

This smells like a fallout. Reserved pages clearly underflowed which
suggested we are initializating more than we should.
-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 17:21             ` Michal Hocko
  0 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-17 17:21 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu 17-05-18 20:13:35, Ville Syrjala wrote:
> On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 16:58:32, Ville Syrjala wrote:
> > > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> > > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > > From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > > > > > 
> > > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > > 
> > > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > > 
> > > > > Is there any bug report with some more details? It is much more
> > > > > preferable to fix the issue rather than to revert the whole thing
> > > > > right away.
> > > > 
> > > > The machine I have in front of me right now didn't give me anything.
> > > > Black screen, and netconsole was silent. No serial port on this
> > > > machine unfortunately.
> > > 
> > > Booted on another machine with serial:
> > 
> > Could you provide your .config please?
> 
> Attached. Not sure there's anything particularly useful in it though
> since I've now seen this on all the highmem systems I've booted.

It has CONFIG_HAVE_MEMBLOCK_NODE_MAP so the movable_zone initialization
depends on quite some crazy movable init code paths. So maybe that is
the place to look at.
 
 
> BTW I just noticed that the reported memory sizes look pretty crazy:
> 
> Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 56848K reserved,
> 4096K cma-reserved, 3078532K highmem)
> 
> vs.
> 
> Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
> 4096K cma-reserved, 7005012K highmem)

This smells like a fallout. Reserved pages clearly underflowed which
suggested we are initializating more than we should.
-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 17:08           ` Michal Hocko
@ 2018-05-17 17:53             ` Laura Abbott
  -1 siblings, 0 replies; 42+ messages in thread
From: Laura Abbott @ 2018-05-17 17:53 UTC (permalink / raw)
  To: Michal Hocko, Joonsoo Kim, Ville Syrjälä
  Cc: Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On 05/17/2018 10:08 AM, Michal Hocko wrote:
> On Thu 17-05-18 18:49:47, Michal Hocko wrote:
>> On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
>>> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
>>>> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>>>>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>>>>> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>>>>>>
>>>>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>>>>
>>>>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>>>>
>>>>> Is there any bug report with some more details? It is much more
>>>>> preferable to fix the issue rather than to revert the whole thing
>>>>> right away.
>>>>
>>>> The machine I have in front of me right now didn't give me anything.
>>>> Black screen, and netconsole was silent. No serial port on this
>>>> machine unfortunately.
>>>
>>> Booted on another machine with serial:
>>
>> Could you provide your .config please?
>>
>> [...]
>>> [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
>> [...]
>>> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
>>> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
>>
>> OK, so this looks the be the source of the problem. -128 would be a
>> buddy page but I do not see anything that would set the counter to -127
>> and the real map count updates shouldn't really happen that early.
>>
>> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> 
> Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> and zone_movable_is_highmem might force CMA pages in the zone movable to
> be initialized as highmem. And that sounds supicious to me. Joonsoo?
> 

For a point of reference, arm with this configuration doesn't hit this bug
because highmem pages are freed via the memblock interface only instead
of iterating through each zone. It looks like the x86 highmem code
assumes only a single highmem zone and/or it's disjoint?

Thanks,
Laura

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 17:53             ` Laura Abbott
  0 siblings, 0 replies; 42+ messages in thread
From: Laura Abbott @ 2018-05-17 17:53 UTC (permalink / raw)
  To: Michal Hocko, Joonsoo Kim, Ville Syrjälä
  Cc: Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On 05/17/2018 10:08 AM, Michal Hocko wrote:
> On Thu 17-05-18 18:49:47, Michal Hocko wrote:
>> On Thu 17-05-18 16:58:32, Ville SyrjA?lA? wrote:
>>> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville SyrjA?lA? wrote:
>>>> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>>>>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>>>>> From: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>
>>>>>>
>>>>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>>>>
>>>>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>>>>
>>>>> Is there any bug report with some more details? It is much more
>>>>> preferable to fix the issue rather than to revert the whole thing
>>>>> right away.
>>>>
>>>> The machine I have in front of me right now didn't give me anything.
>>>> Black screen, and netconsole was silent. No serial port on this
>>>> machine unfortunately.
>>>
>>> Booted on another machine with serial:
>>
>> Could you provide your .config please?
>>
>> [...]
>>> [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
>> [...]
>>> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
>>> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
>>
>> OK, so this looks the be the source of the problem. -128 would be a
>> buddy page but I do not see anything that would set the counter to -127
>> and the real map count updates shouldn't really happen that early.
>>
>> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> 
> Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> and zone_movable_is_highmem might force CMA pages in the zone movable to
> be initialized as highmem. And that sounds supicious to me. Joonsoo?
> 

For a point of reference, arm with this configuration doesn't hit this bug
because highmem pages are freed via the memblock interface only instead
of iterating through each zone. It looks like the x86 highmem code
assumes only a single highmem zone and/or it's disjoint?

Thanks,
Laura

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 17:13           ` Ville Syrjälä
@ 2018-05-17 19:55             ` Ville Syrjälä
  -1 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 19:55 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 08:13:35PM +0300, Ville Syrjälä wrote:
> On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
> > > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> > > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > > > > 
> > > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > > 
> > > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > > 
> > > > > Is there any bug report with some more details? It is much more
> > > > > preferable to fix the issue rather than to revert the whole thing
> > > > > right away.
> > > > 
> > > > The machine I have in front of me right now didn't give me anything.
> > > > Black screen, and netconsole was silent. No serial port on this
> > > > machine unfortunately.
> > > 
> > > Booted on another machine with serial:
> > 
> > Could you provide your .config please?
> 
> Attached. Not sure there's anything particularly useful in it though
> since I've now seen this on all the highmem systems I've booted.
> 
> 
> BTW I just noticed that the reported memory sizes look pretty crazy:
> 
> Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 56848K reserved,
> 4096K cma-reserved, 3078532K highmem)
> 
> vs.
> 
> Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
> 4096K cma-reserved, 7005012K highmem)
> 
> > 
> > [...]
> > > [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > [...]
> > > [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > > [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> > 
> > OK, so this looks the be the source of the problem. -128 would be a
> > buddy page but I do not see anything that would set the counter to -127
> > and the real map count updates shouldn't really happen that early.
> > 
> > Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> 
> I'll see about grabbing another log.

With DEBUG_VM the machine doesn't get far enough to print anything on
the serial console.

DEBUG_HIGHMEM didn't give me any new output.

-- 
Ville Syrjälä
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-17 19:55             ` Ville Syrjälä
  0 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-17 19:55 UTC (permalink / raw)
  To: Michal Hocko
  Cc: Joonsoo Kim, Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 08:13:35PM +0300, Ville Syrjala wrote:
> On Thu, May 17, 2018 at 06:49:47PM +0200, Michal Hocko wrote:
> > On Thu 17-05-18 16:58:32, Ville Syrjala wrote:
> > > On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> > > > On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > > > On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > > > > From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > > > > > 
> > > > > > This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > > > > 
> > > > > > Make x86 with HIGHMEM=y and CMA=y boot again.
> > > > > 
> > > > > Is there any bug report with some more details? It is much more
> > > > > preferable to fix the issue rather than to revert the whole thing
> > > > > right away.
> > > > 
> > > > The machine I have in front of me right now didn't give me anything.
> > > > Black screen, and netconsole was silent. No serial port on this
> > > > machine unfortunately.
> > > 
> > > Booted on another machine with serial:
> > 
> > Could you provide your .config please?
> 
> Attached. Not sure there's anything particularly useful in it though
> since I've now seen this on all the highmem systems I've booted.
> 
> 
> BTW I just noticed that the reported memory sizes look pretty crazy:
> 
> Memory: 3926480K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 56848K reserved,
> 4096K cma-reserved, 3078532K highmem)
> 
> vs.
> 
> Memory: 7001976K/3987424K available (5254K kernel code, 561K rwdata,
> 2156K rodata, 572K init, 9308K bss, 4291097664K reserved,
> 4096K cma-reserved, 7005012K highmem)
> 
> > 
> > [...]
> > > [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > [...]
> > > [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > > [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> > 
> > OK, so this looks the be the source of the problem. -128 would be a
> > buddy page but I do not see anything that would set the counter to -127
> > and the real map count updates shouldn't really happen that early.
> > 
> > Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> 
> I'll see about grabbing another log.

With DEBUG_VM the machine doesn't get far enough to print anything on
the serial console.

DEBUG_HIGHMEM didn't give me any new output.

-- 
Ville Syrjala
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-17 17:53             ` Laura Abbott
@ 2018-05-18  4:01               ` Joonsoo Kim
  -1 siblings, 0 replies; 42+ messages in thread
From: Joonsoo Kim @ 2018-05-18  4:01 UTC (permalink / raw)
  To: Laura Abbott
  Cc: Michal Hocko, Ville Syrjälä,
	Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> On 05/17/2018 10:08 AM, Michal Hocko wrote:
> >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> >>On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
> >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> >>>>>>From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> >>>>>>
> >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> >>>>>>
> >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> >>>>>
> >>>>>Is there any bug report with some more details? It is much more
> >>>>>preferable to fix the issue rather than to revert the whole thing
> >>>>>right away.
> >>>>
> >>>>The machine I have in front of me right now didn't give me anything.
> >>>>Black screen, and netconsole was silent. No serial port on this
> >>>>machine unfortunately.
> >>>
> >>>Booted on another machine with serial:
> >>
> >>Could you provide your .config please?
> >>
> >>[...]
> >>>[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> >>[...]
> >>>[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> >>>[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> >>
> >>OK, so this looks the be the source of the problem. -128 would be a
> >>buddy page but I do not see anything that would set the counter to -127
> >>and the real map count updates shouldn't really happen that early.
> >>
> >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> >
> >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> >and zone_movable_is_highmem might force CMA pages in the zone movable to
> >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> >
> 
> For a point of reference, arm with this configuration doesn't hit this bug
> because highmem pages are freed via the memblock interface only instead
> of iterating through each zone. It looks like the x86 highmem code
> assumes only a single highmem zone and/or it's disjoint?

Good point! Reason of the crash is that the span of MOVABLE_ZONE is
extended to whole node span for future CMA initialization, and,
normal memory is wrongly freed here.

Here goes the fix. Ville, Could you test below patch?
I re-generated the issue on my side and this patch fixed it.

Thanks.

------------>8-------------
>From 569899a4dbd28cebb8d350d3d1ebb590d88b2629 Mon Sep 17 00:00:00 2001
From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Date: Fri, 18 May 2018 10:52:05 +0900
Subject: [PATCH] x86/32/highmem: check if the zone is matched when free
 highmem pages on init

If CONFIG_CMA is enabled, it extends the span of the MOVABLE_ZONE
to manage the CMA memory later. And, in this case, the span of the
MOVABLE_ZONE could overlap the other zone's memory. We need to
avoid freeing this overlapped memory here since it would be the
memory of the other zone. Therefore, this patch adds a check
whether the page is indeed on the requested zone or not. Skipped
page will be freed when the memory of the matched zone is freed.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
---
 arch/x86/include/asm/highmem.h |  4 ++--
 arch/x86/mm/highmem_32.c       |  5 ++++-
 arch/x86/mm/init_32.c          | 25 +++++++++++++++++++++----
 3 files changed, 27 insertions(+), 7 deletions(-)

diff --git a/arch/x86/include/asm/highmem.h b/arch/x86/include/asm/highmem.h
index a805993..e383f57 100644
--- a/arch/x86/include/asm/highmem.h
+++ b/arch/x86/include/asm/highmem.h
@@ -72,8 +72,8 @@ void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
 
 #define flush_cache_kmaps()	do { } while (0)
 
-extern void add_highpages_with_active_regions(int nid, unsigned long start_pfn,
-					unsigned long end_pfn);
+extern void add_highpages_with_active_regions(int nid, struct zone *zone,
+				unsigned long start_pfn, unsigned long end_pfn);
 
 #endif /* __KERNEL__ */
 
diff --git a/arch/x86/mm/highmem_32.c b/arch/x86/mm/highmem_32.c
index 6d18b70..bf9f5b8 100644
--- a/arch/x86/mm/highmem_32.c
+++ b/arch/x86/mm/highmem_32.c
@@ -120,6 +120,9 @@ void __init set_highmem_pages_init(void)
 		if (!is_highmem(zone))
 			continue;
 
+		if (!populated_zone(zone))
+			continue;
+
 		zone_start_pfn = zone->zone_start_pfn;
 		zone_end_pfn = zone_start_pfn + zone->spanned_pages;
 
@@ -127,7 +130,7 @@ void __init set_highmem_pages_init(void)
 		printk(KERN_INFO "Initializing %s for node %d (%08lx:%08lx)\n",
 				zone->name, nid, zone_start_pfn, zone_end_pfn);
 
-		add_highpages_with_active_regions(nid, zone_start_pfn,
+		add_highpages_with_active_regions(nid, zone, zone_start_pfn,
 				 zone_end_pfn);
 	}
 }
diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
index 8008db2..f646072 100644
--- a/arch/x86/mm/init_32.c
+++ b/arch/x86/mm/init_32.c
@@ -431,7 +431,7 @@ static void __init permanent_kmaps_init(pgd_t *pgd_base)
 	pkmap_page_table = pte;
 }
 
-void __init add_highpages_with_active_regions(int nid,
+void __init add_highpages_with_active_regions(int nid, struct zone *zone,
 			 unsigned long start_pfn, unsigned long end_pfn)
 {
 	phys_addr_t start, end;
@@ -442,9 +442,26 @@ void __init add_highpages_with_active_regions(int nid,
 					    start_pfn, end_pfn);
 		unsigned long e_pfn = clamp_t(unsigned long, PFN_DOWN(end),
 					      start_pfn, end_pfn);
-		for ( ; pfn < e_pfn; pfn++)
-			if (pfn_valid(pfn))
-				free_highmem_page(pfn_to_page(pfn));
+		for ( ; pfn < e_pfn; pfn++) {
+			struct page *page;
+
+			if (!pfn_valid(pfn))
+				continue;
+
+			page = pfn_to_page(pfn);
+
+			/*
+			 * If CONFIG_CMA is enabled, it extends the span of
+			 * the MOVABLE_ZONE to manage the CMA memory
+			 * in the future. And, in this case, the span of the
+			 * MOVABLE_ZONE could overlap the other zone's memory.
+			 * We need to avoid freeing this memory here.
+			 */
+			if (IS_ENABLED(CONFIG_CMA) && page_zone(page) != zone)
+				continue;
+
+			free_highmem_page(pfn_to_page(pfn));
+		}
 	}
 }
 #else
-- 
2.7.4

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-18  4:01               ` Joonsoo Kim
  0 siblings, 0 replies; 42+ messages in thread
From: Joonsoo Kim @ 2018-05-18  4:01 UTC (permalink / raw)
  To: Laura Abbott
  Cc: Michal Hocko, Ville Syrjälä,
	Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> On 05/17/2018 10:08 AM, Michal Hocko wrote:
> >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> >>On Thu 17-05-18 16:58:32, Ville Syrjala wrote:
> >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> >>>>>>From: Ville Syrjala <ville.syrjala@linux.intel.com>
> >>>>>>
> >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> >>>>>>
> >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> >>>>>
> >>>>>Is there any bug report with some more details? It is much more
> >>>>>preferable to fix the issue rather than to revert the whole thing
> >>>>>right away.
> >>>>
> >>>>The machine I have in front of me right now didn't give me anything.
> >>>>Black screen, and netconsole was silent. No serial port on this
> >>>>machine unfortunately.
> >>>
> >>>Booted on another machine with serial:
> >>
> >>Could you provide your .config please?
> >>
> >>[...]
> >>>[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> >>[...]
> >>>[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> >>>[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> >>
> >>OK, so this looks the be the source of the problem. -128 would be a
> >>buddy page but I do not see anything that would set the counter to -127
> >>and the real map count updates shouldn't really happen that early.
> >>
> >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> >
> >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> >and zone_movable_is_highmem might force CMA pages in the zone movable to
> >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> >
> 
> For a point of reference, arm with this configuration doesn't hit this bug
> because highmem pages are freed via the memblock interface only instead
> of iterating through each zone. It looks like the x86 highmem code
> assumes only a single highmem zone and/or it's disjoint?

Good point! Reason of the crash is that the span of MOVABLE_ZONE is
extended to whole node span for future CMA initialization, and,
normal memory is wrongly freed here.

Here goes the fix. Ville, Could you test below patch?
I re-generated the issue on my side and this patch fixed it.

Thanks.

------------>8-------------

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-18  4:01               ` Joonsoo Kim
@ 2018-05-18 17:42                 ` Laura Abbott
  -1 siblings, 0 replies; 42+ messages in thread
From: Laura Abbott @ 2018-05-18 17:42 UTC (permalink / raw)
  To: Joonsoo Kim
  Cc: Michal Hocko, Ville Syrjälä,
	Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On 05/17/2018 09:01 PM, Joonsoo Kim wrote:
> On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
>> On 05/17/2018 10:08 AM, Michal Hocko wrote:
>>> On Thu 17-05-18 18:49:47, Michal Hocko wrote:
>>>> On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
>>>>> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
>>>>>> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>>>>>>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>>>>>>> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
>>>>>>>>
>>>>>>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>>>>>>
>>>>>>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>>>>>>
>>>>>>> Is there any bug report with some more details? It is much more
>>>>>>> preferable to fix the issue rather than to revert the whole thing
>>>>>>> right away.
>>>>>>
>>>>>> The machine I have in front of me right now didn't give me anything.
>>>>>> Black screen, and netconsole was silent. No serial port on this
>>>>>> machine unfortunately.
>>>>>
>>>>> Booted on another machine with serial:
>>>>
>>>> Could you provide your .config please?
>>>>
>>>> [...]
>>>>> [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
>>>> [...]
>>>>> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
>>>>> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
>>>>
>>>> OK, so this looks the be the source of the problem. -128 would be a
>>>> buddy page but I do not see anything that would set the counter to -127
>>>> and the real map count updates shouldn't really happen that early.
>>>>
>>>> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
>>>
>>> Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
>>> and zone_movable_is_highmem might force CMA pages in the zone movable to
>>> be initialized as highmem. And that sounds supicious to me. Joonsoo?
>>>
>>
>> For a point of reference, arm with this configuration doesn't hit this bug
>> because highmem pages are freed via the memblock interface only instead
>> of iterating through each zone. It looks like the x86 highmem code
>> assumes only a single highmem zone and/or it's disjoint?
> 
> Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> extended to whole node span for future CMA initialization, and,
> normal memory is wrongly freed here.
> 
> Here goes the fix. Ville, Could you test below patch?
> I re-generated the issue on my side and this patch fixed it.
> 

Reviewed-by: Laura Abbott <labbott@redhat.com>

> Thanks.
> 
> ------------>8-------------
>  From 569899a4dbd28cebb8d350d3d1ebb590d88b2629 Mon Sep 17 00:00:00 2001
> From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> Date: Fri, 18 May 2018 10:52:05 +0900
> Subject: [PATCH] x86/32/highmem: check if the zone is matched when free
>   highmem pages on init
> 
> If CONFIG_CMA is enabled, it extends the span of the MOVABLE_ZONE
> to manage the CMA memory later. And, in this case, the span of the
> MOVABLE_ZONE could overlap the other zone's memory. We need to
> avoid freeing this overlapped memory here since it would be the
> memory of the other zone. Therefore, this patch adds a check
> whether the page is indeed on the requested zone or not. Skipped
> page will be freed when the memory of the matched zone is freed.
> 
> Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> ---
>   arch/x86/include/asm/highmem.h |  4 ++--
>   arch/x86/mm/highmem_32.c       |  5 ++++-
>   arch/x86/mm/init_32.c          | 25 +++++++++++++++++++++----
>   3 files changed, 27 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/x86/include/asm/highmem.h b/arch/x86/include/asm/highmem.h
> index a805993..e383f57 100644
> --- a/arch/x86/include/asm/highmem.h
> +++ b/arch/x86/include/asm/highmem.h
> @@ -72,8 +72,8 @@ void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
>   
>   #define flush_cache_kmaps()	do { } while (0)
>   
> -extern void add_highpages_with_active_regions(int nid, unsigned long start_pfn,
> -					unsigned long end_pfn);
> +extern void add_highpages_with_active_regions(int nid, struct zone *zone,
> +				unsigned long start_pfn, unsigned long end_pfn);
>   
>   #endif /* __KERNEL__ */
>   
> diff --git a/arch/x86/mm/highmem_32.c b/arch/x86/mm/highmem_32.c
> index 6d18b70..bf9f5b8 100644
> --- a/arch/x86/mm/highmem_32.c
> +++ b/arch/x86/mm/highmem_32.c
> @@ -120,6 +120,9 @@ void __init set_highmem_pages_init(void)
>   		if (!is_highmem(zone))
>   			continue;
>   
> +		if (!populated_zone(zone))
> +			continue;
> +
>   		zone_start_pfn = zone->zone_start_pfn;
>   		zone_end_pfn = zone_start_pfn + zone->spanned_pages;
>   
> @@ -127,7 +130,7 @@ void __init set_highmem_pages_init(void)
>   		printk(KERN_INFO "Initializing %s for node %d (%08lx:%08lx)\n",
>   				zone->name, nid, zone_start_pfn, zone_end_pfn);
>   
> -		add_highpages_with_active_regions(nid, zone_start_pfn,
> +		add_highpages_with_active_regions(nid, zone, zone_start_pfn,
>   				 zone_end_pfn);
>   	}
>   }
> diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
> index 8008db2..f646072 100644
> --- a/arch/x86/mm/init_32.c
> +++ b/arch/x86/mm/init_32.c
> @@ -431,7 +431,7 @@ static void __init permanent_kmaps_init(pgd_t *pgd_base)
>   	pkmap_page_table = pte;
>   }
>   
> -void __init add_highpages_with_active_regions(int nid,
> +void __init add_highpages_with_active_regions(int nid, struct zone *zone,
>   			 unsigned long start_pfn, unsigned long end_pfn)
>   {
>   	phys_addr_t start, end;
> @@ -442,9 +442,26 @@ void __init add_highpages_with_active_regions(int nid,
>   					    start_pfn, end_pfn);
>   		unsigned long e_pfn = clamp_t(unsigned long, PFN_DOWN(end),
>   					      start_pfn, end_pfn);
> -		for ( ; pfn < e_pfn; pfn++)
> -			if (pfn_valid(pfn))
> -				free_highmem_page(pfn_to_page(pfn));
> +		for ( ; pfn < e_pfn; pfn++) {
> +			struct page *page;
> +
> +			if (!pfn_valid(pfn))
> +				continue;
> +
> +			page = pfn_to_page(pfn);
> +
> +			/*
> +			 * If CONFIG_CMA is enabled, it extends the span of
> +			 * the MOVABLE_ZONE to manage the CMA memory
> +			 * in the future. And, in this case, the span of the
> +			 * MOVABLE_ZONE could overlap the other zone's memory.
> +			 * We need to avoid freeing this memory here.
> +			 */
> +			if (IS_ENABLED(CONFIG_CMA) && page_zone(page) != zone)
> +				continue;
> +
> +			free_highmem_page(pfn_to_page(pfn));
> +		}
>   	}
>   }
>   #else
> 

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-18 17:42                 ` Laura Abbott
  0 siblings, 0 replies; 42+ messages in thread
From: Laura Abbott @ 2018-05-18 17:42 UTC (permalink / raw)
  To: Joonsoo Kim
  Cc: Michal Hocko, Ville Syrjälä,
	Aneesh Kumar K . V, Tony Lindgren, Vlastimil Babka,
	Johannes Weiner, Laura Abbott, Marek Szyprowski, Mel Gorman,
	Michal Nazarewicz, Minchan Kim, Rik van Riel, Russell King,
	Will Deacon, Andrew Morton, Linus Torvalds, linux-mm,
	linux-kernel

On 05/17/2018 09:01 PM, Joonsoo Kim wrote:
> On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
>> On 05/17/2018 10:08 AM, Michal Hocko wrote:
>>> On Thu 17-05-18 18:49:47, Michal Hocko wrote:
>>>> On Thu 17-05-18 16:58:32, Ville SyrjA?lA? wrote:
>>>>> On Thu, May 17, 2018 at 04:36:29PM +0300, Ville SyrjA?lA? wrote:
>>>>>> On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
>>>>>>> On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
>>>>>>>> From: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>
>>>>>>>>
>>>>>>>> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
>>>>>>>>
>>>>>>>> Make x86 with HIGHMEM=y and CMA=y boot again.
>>>>>>>
>>>>>>> Is there any bug report with some more details? It is much more
>>>>>>> preferable to fix the issue rather than to revert the whole thing
>>>>>>> right away.
>>>>>>
>>>>>> The machine I have in front of me right now didn't give me anything.
>>>>>> Black screen, and netconsole was silent. No serial port on this
>>>>>> machine unfortunately.
>>>>>
>>>>> Booted on another machine with serial:
>>>>
>>>> Could you provide your .config please?
>>>>
>>>> [...]
>>>>> [    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
>>>> [...]
>>>>> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
>>>>> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
>>>>
>>>> OK, so this looks the be the source of the problem. -128 would be a
>>>> buddy page but I do not see anything that would set the counter to -127
>>>> and the real map count updates shouldn't really happen that early.
>>>>
>>>> Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
>>>
>>> Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
>>> and zone_movable_is_highmem might force CMA pages in the zone movable to
>>> be initialized as highmem. And that sounds supicious to me. Joonsoo?
>>>
>>
>> For a point of reference, arm with this configuration doesn't hit this bug
>> because highmem pages are freed via the memblock interface only instead
>> of iterating through each zone. It looks like the x86 highmem code
>> assumes only a single highmem zone and/or it's disjoint?
> 
> Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> extended to whole node span for future CMA initialization, and,
> normal memory is wrongly freed here.
> 
> Here goes the fix. Ville, Could you test below patch?
> I re-generated the issue on my side and this patch fixed it.
> 

Reviewed-by: Laura Abbott <labbott@redhat.com>

> Thanks.
> 
> ------------>8-------------
>  From 569899a4dbd28cebb8d350d3d1ebb590d88b2629 Mon Sep 17 00:00:00 2001
> From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> Date: Fri, 18 May 2018 10:52:05 +0900
> Subject: [PATCH] x86/32/highmem: check if the zone is matched when free
>   highmem pages on init
> 
> If CONFIG_CMA is enabled, it extends the span of the MOVABLE_ZONE
> to manage the CMA memory later. And, in this case, the span of the
> MOVABLE_ZONE could overlap the other zone's memory. We need to
> avoid freeing this overlapped memory here since it would be the
> memory of the other zone. Therefore, this patch adds a check
> whether the page is indeed on the requested zone or not. Skipped
> page will be freed when the memory of the matched zone is freed.
> 
> Reported-by: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> ---
>   arch/x86/include/asm/highmem.h |  4 ++--
>   arch/x86/mm/highmem_32.c       |  5 ++++-
>   arch/x86/mm/init_32.c          | 25 +++++++++++++++++++++----
>   3 files changed, 27 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/x86/include/asm/highmem.h b/arch/x86/include/asm/highmem.h
> index a805993..e383f57 100644
> --- a/arch/x86/include/asm/highmem.h
> +++ b/arch/x86/include/asm/highmem.h
> @@ -72,8 +72,8 @@ void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
>   
>   #define flush_cache_kmaps()	do { } while (0)
>   
> -extern void add_highpages_with_active_regions(int nid, unsigned long start_pfn,
> -					unsigned long end_pfn);
> +extern void add_highpages_with_active_regions(int nid, struct zone *zone,
> +				unsigned long start_pfn, unsigned long end_pfn);
>   
>   #endif /* __KERNEL__ */
>   
> diff --git a/arch/x86/mm/highmem_32.c b/arch/x86/mm/highmem_32.c
> index 6d18b70..bf9f5b8 100644
> --- a/arch/x86/mm/highmem_32.c
> +++ b/arch/x86/mm/highmem_32.c
> @@ -120,6 +120,9 @@ void __init set_highmem_pages_init(void)
>   		if (!is_highmem(zone))
>   			continue;
>   
> +		if (!populated_zone(zone))
> +			continue;
> +
>   		zone_start_pfn = zone->zone_start_pfn;
>   		zone_end_pfn = zone_start_pfn + zone->spanned_pages;
>   
> @@ -127,7 +130,7 @@ void __init set_highmem_pages_init(void)
>   		printk(KERN_INFO "Initializing %s for node %d (%08lx:%08lx)\n",
>   				zone->name, nid, zone_start_pfn, zone_end_pfn);
>   
> -		add_highpages_with_active_regions(nid, zone_start_pfn,
> +		add_highpages_with_active_regions(nid, zone, zone_start_pfn,
>   				 zone_end_pfn);
>   	}
>   }
> diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c
> index 8008db2..f646072 100644
> --- a/arch/x86/mm/init_32.c
> +++ b/arch/x86/mm/init_32.c
> @@ -431,7 +431,7 @@ static void __init permanent_kmaps_init(pgd_t *pgd_base)
>   	pkmap_page_table = pte;
>   }
>   
> -void __init add_highpages_with_active_regions(int nid,
> +void __init add_highpages_with_active_regions(int nid, struct zone *zone,
>   			 unsigned long start_pfn, unsigned long end_pfn)
>   {
>   	phys_addr_t start, end;
> @@ -442,9 +442,26 @@ void __init add_highpages_with_active_regions(int nid,
>   					    start_pfn, end_pfn);
>   		unsigned long e_pfn = clamp_t(unsigned long, PFN_DOWN(end),
>   					      start_pfn, end_pfn);
> -		for ( ; pfn < e_pfn; pfn++)
> -			if (pfn_valid(pfn))
> -				free_highmem_page(pfn_to_page(pfn));
> +		for ( ; pfn < e_pfn; pfn++) {
> +			struct page *page;
> +
> +			if (!pfn_valid(pfn))
> +				continue;
> +
> +			page = pfn_to_page(pfn);
> +
> +			/*
> +			 * If CONFIG_CMA is enabled, it extends the span of
> +			 * the MOVABLE_ZONE to manage the CMA memory
> +			 * in the future. And, in this case, the span of the
> +			 * MOVABLE_ZONE could overlap the other zone's memory.
> +			 * We need to avoid freeing this memory here.
> +			 */
> +			if (IS_ENABLED(CONFIG_CMA) && page_zone(page) != zone)
> +				continue;
> +
> +			free_highmem_page(pfn_to_page(pfn));
> +		}
>   	}
>   }
>   #else
> 

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-18  4:01               ` Joonsoo Kim
@ 2018-05-19 14:46                 ` Ville Syrjälä
  -1 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-19 14:46 UTC (permalink / raw)
  To: Joonsoo Kim
  Cc: Laura Abbott, Michal Hocko, Aneesh Kumar K . V, Tony Lindgren,
	Vlastimil Babka, Johannes Weiner, Laura Abbott, Marek Szyprowski,
	Mel Gorman, Michal Nazarewicz, Minchan Kim, Rik van Riel,
	Russell King, Will Deacon, Andrew Morton, Linus Torvalds,
	linux-mm, linux-kernel

On Fri, May 18, 2018 at 01:01:04PM +0900, Joonsoo Kim wrote:
> On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> > On 05/17/2018 10:08 AM, Michal Hocko wrote:
> > >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> > >>On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
> > >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> > >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > >>>>>>From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > >>>>>>
> > >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > >>>>>>
> > >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> > >>>>>
> > >>>>>Is there any bug report with some more details? It is much more
> > >>>>>preferable to fix the issue rather than to revert the whole thing
> > >>>>>right away.
> > >>>>
> > >>>>The machine I have in front of me right now didn't give me anything.
> > >>>>Black screen, and netconsole was silent. No serial port on this
> > >>>>machine unfortunately.
> > >>>
> > >>>Booted on another machine with serial:
> > >>
> > >>Could you provide your .config please?
> > >>
> > >>[...]
> > >>>[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > >>[...]
> > >>>[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > >>>[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> > >>
> > >>OK, so this looks the be the source of the problem. -128 would be a
> > >>buddy page but I do not see anything that would set the counter to -127
> > >>and the real map count updates shouldn't really happen that early.
> > >>
> > >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> > >
> > >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> > >and zone_movable_is_highmem might force CMA pages in the zone movable to
> > >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> > >
> > 
> > For a point of reference, arm with this configuration doesn't hit this bug
> > because highmem pages are freed via the memblock interface only instead
> > of iterating through each zone. It looks like the x86 highmem code
> > assumes only a single highmem zone and/or it's disjoint?
> 
> Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> extended to whole node span for future CMA initialization, and,
> normal memory is wrongly freed here.
> 
> Here goes the fix. Ville, Could you test below patch?
> I re-generated the issue on my side and this patch fixed it.

This gets me past the initial hurdles. But when I tried it on a machine
with an actual 32 bit OS it oopsed again later in the boot.

[    0.000000] Linux version 4.17.0-rc5-mgm+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #57 PREEMPT Sat May 19 17:25:27 EEST 2018
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000ce000-0x00000000000cffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007f6effff] usable
[    0.000000] BIOS-e820: [mem 0x000000007f6f0000-0x000000007f6f7fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000007f6f8000-0x000000007f6fffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f700000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffb00000-0x00000000ffbfffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fff00000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] SMBIOS 2.3 present.
[    0.000000] DMI: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
[    0.000000] e820: last_pfn = 0x7f6f0 max_arch_pfn = 0x100000
[    0.000000] x86/PAT: PAT not supported by CPU.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] log_buf_len: 2097152 bytes
[    0.000000] early log buf free: 259584(99%)
[    0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[    0.000000] Allocated new RAMDISK: [mem 0x37466000-0x375fd7ff]
[    0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37466000-0x375fd7ff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F5970 000014 (v00 FUJ   )
[    0.000000] ACPI: RSDT 0x000000007F6F1D5C 000034 (v01 FUJ    FJNB16C  01260000 FUJ  00001000)
[    0.000000] ACPI: FACP 0x000000007F6F78E0 000074 (v01 FUJ    FJNB16C  01260000 FUJ  00001000)
[    0.000000] ACPI: DSDT 0x000000007F6F1D90 005B50 (v01 FUJ    FJNB16C  01260000 MSFT 0100000E)
[    0.000000] ACPI: FACS 0x000000007F6F8FC0 000040
[    0.000000] ACPI: SSDT 0x000000007F6F7954 000288 (v01 FUJ    FJNB16C  01260000 INTL 20030228)
[    0.000000] ACPI: SSDT 0x000000007F6F7D68 000270 (v01 FUJ    FJNB16C  01260000 MSFT 0100000E)
[    0.000000] ACPI: BOOT 0x000000007F6F7FD8 000028 (v01 FUJ    FJNB16C  01260000 FUJ  00001000)
[    0.000000] 1150MB HIGHMEM available.
[    0.000000] 887MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 377fe000
[    0.000000]   low ram: 0 - 377fe000
[    0.000000] cma: Reserved 4 MiB at 0x37000000
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000377fdfff]
[    0.000000]   HighMem  [mem 0x00000000377fe000-0x000000007f6effff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000007f6effff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007f6effff]
[    0.000000] Reserved but unavailable: 98 pages
[    0.000000] Using APIC driver default
[    0.000000] Reserving Intel graphics memory at [mem 0x7f700000-0x7fefffff]
[    0.000000] ACPI: PM-Timer IO Port: 0xfc08
[    0.000000] Local APIC disabled by BIOS -- reenabling.
[    0.000000] Found and enabled local APIC!
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000cdfff]
[    0.000000] PM: Registered nosave memory: [mem 0x000ce000-0x000cffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000d0000-0x000dbfff]
[    0.000000] PM: Registered nosave memory: [mem 0x000dc000-0x000fffff]
[    0.000000] e820: [mem 0x80000000-0xfec0ffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 520094
[    0.000000] Kernel command line: root=/dev/sda3 resume=/dev/sda2 lapic modprobe.blacklist=i915 drm.debug=0xe log_buf_len=2M console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] microcode: microcode updated early to revision 0x7, date = 2004-11-09
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:0007f6f0)
[    0.000000] Memory: 2039028K/2087480K available (5733K kernel code, 627K rwdata, 2064K rodata, 640K init, 14252K bss, 44356K reserved, 4096K cma-reserved, 1178568K highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff8f000 - 0xfffff000   ( 448 kB)
[    0.000000]   cpu_entry : 0xffc00000 - 0xffc28000   ( 160 kB)
[    0.000000]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[    0.000000]     vmalloc : 0xf7ffe000 - 0xff7fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf77fe000   ( 887 MB)
[    0.000000]       .init : 0xc184f000 - 0xc18ef000   ( 640 kB)
[    0.000000]       .data : 0xc1599460 - 0xc183ee40   (2710 kB)
[    0.000000]       .text : 0xc1000000 - 0xc1599460   (5733 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 22084 entries in 44 pages
[    0.000000] Running RCU self tests
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] kmemleak: Kernel memory leak detector disabled
[    0.000000] NR_IRQS: 2304, nr_irqs: 24, preallocated irqs: 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      131072
[    0.000000] ... CHAINHASH_SIZE:          65536
[    0.000000]  memory used by lock dependency info: 5935 kB
[    0.000000]  per task-struct memory footprint: 1344 bytes
[    0.000000] kmemleak: Early log buffer exceeded (785), please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.000000] ACPI: Core revision 20180313
[    0.000000] ACPI: setting ELCR to 0200 (from 0800)
[    0.003333] APIC: ACPI MADT or MP tables are not detected
[    0.006666] APIC: Switch to virtual wire mode setup with no configuration
[    0.009999] Enabling APIC mode:  Flat.  Using 0 I/O APICs
[    0.013333] tsc: Fast TSC calibration using PIT
[    0.016666] tsc: Detected 1599.815 MHz processor
[    0.019999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x170f7614032, max_idle_ns: 440795204679 ns
[    0.023355] Calibrating delay loop (skipped), value calculated using timer frequency.. 3200.94 BogoMIPS (lpj=5332716)
[    0.026674] pid_max: default: 32768 minimum: 301
[    0.030120] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.033348] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.037411] mce: CPU supports 5 MCE banks
[    0.040032] CPU0: Thermal monitoring enabled (TM2)
[    0.043354] Last level iTLB entries: 4KB 128, 2MB 0, 4MB 2
[    0.046674] Last level dTLB entries: 4KB 128, 2MB 0, 4MB 8, 1GB 0
[    0.050006] CPU: Intel(R) Pentium(R) M processor 1600MHz (family: 0x6, model: 0x9, stepping: 0x5)
[    0.053342] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[    0.056673] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[    0.064166] Performance Events: p6 PMU driver.
[    0.066686] ... version:                0
[    0.070017] ... bit width:              32
[    0.073346] ... generic registers:      2
[    0.076674] ... value mask:             00000000ffffffff
[    0.080007] ... max period:             000000007fffffff
[    0.083340] ... fixed-purpose events:   0
[    0.086673] ... event mask:             0000000000000003
[    0.090172] Hierarchical SRCU implementation.
[    0.094612] WARNING: CPU: 0 PID: 1 at ../kernel/kthread.c:505 kthread_park+0x70/0x80
[    0.096666] Modules linked in:
[    0.096666] CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc5-mgm+ #57
[    0.096666] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
[    0.096666] EIP: kthread_park+0x70/0x80
[    0.096666] EFLAGS: 00210202 CPU: 0
[    0.096666] EAX: f58fab80 EBX: f58b4680 ECX: 00000000 EDX: 00000005
[    0.096666] ESI: c183b5c8 EDI: 00000000 EBP: f58d5f58 ESP: f58d5f54
[    0.096666]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    0.096666] CR0: 80050033 CR2: ffd8f000 CR3: 018f2000 CR4: 000006d0
[    0.096666] Call Trace:
[    0.096666]  smpboot_update_cpumask_percpu_thread+0x55/0x70
[    0.096666]  softlockup_update_smpboot_threads+0x2f/0x50
[    0.096666]  lockup_detector_reconfigure+0x1a/0x80
[    0.096666]  lockup_detector_init+0x62/0x6e
[    0.096666]  kernel_init_freeable+0xe6/0x31b
[    0.096666]  ? rest_init+0x1f0/0x1f0
[    0.096666]  kernel_init+0x10/0x110
[    0.096666]  ? schedule_tail_wrapper+0x9/0xc
[    0.096666]  ret_from_fork+0x2e/0x38
[    0.096666] Code: 8d 76 00 5b 31 c0 5d c3 8d 76 00 0f 0b f6 c2 04 8b 98 38 03 00 00 74 c2 0f 0b 5b b8 da ff ff ff 5d c3 89 f6 8d bc 27 00 00 00 00 <0f> 0b b8 f0 ff ff ff eb c9 8d b4 26 00 00 00 00 3e 8d 74 26 00 
[    0.096666] irq event stamp: 810
[    0.096666] hardirqs last  enabled at (809): [<c1595ab7>] _raw_spin_unlock_irq+0x27/0x50
[    0.096666] hardirqs last disabled at (810): [<c1596f27>] common_exception+0x61/0x82
[    0.096666] softirqs last  enabled at (286): [<c1598749>] __do_softirq+0x389/0x425
[    0.096666] softirqs last disabled at (279): [<c101db7c>] call_on_stack+0x4c/0x60
[    0.096666] WARNING: CPU: 0 PID: 1 at ../kernel/kthread.c:505 kthread_park+0x70/0x80
[    0.096666] random: get_random_bytes called from print_oops_end_marker+0x57/0x70 with crng_init=0
[    0.096666] ---[ end trace 37f4adc02e5109c7 ]---
[    0.099999] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.100411] devtmpfs: initialized
[    0.103996] Built 1 zonelists, mobility grouping on.  Total pages: 510781
[    0.106943] PM: Registering ACPI NVS region [mem 0x7f6f8000-0x7f6fffff] (32768 bytes)
[    0.113811] kworker/u2:0 (15) used greatest stack depth: 6708 bytes left
[    0.116909] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.120040] futex hash table entries: 256 (order: 1, 11264 bytes)
[    0.126944] RTC time: 14:32:23, date: 05/19/18
[    0.130504] NET: Registered protocol family 16
[    0.136973] audit: initializing netlink subsys (disabled)
[    0.140948] cpuidle: using governor ladder
[    0.143370] audit: type=2000 audit(1526740342.139:1): state=initialized audit_enabled=0 res=1
[    0.146993] cpuidle: using governor menu
[    0.150336] Simple Boot Flag at 0x7f set to 0x1
[    0.153453] ACPI: bus type PCI registered
[    0.156767] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.166545] PCI: PCI BIOS revision 2.10 entry at 0xfd9b2, last bus=3
[    0.166689] PCI: Using configuration type 1 for base access
[    0.177531] kworker/u2:1 (50) used greatest stack depth: 6428 bytes left
[    0.200361] HugeTLB registered 4.00 MiB page size, pre-allocated 0 pages
[    0.204690] ACPI: Added _OSI(Module Device)
[    0.206788] ACPI: Added _OSI(Processor Device)
[    0.210189] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.213366] ACPI: Added _OSI(Processor Aggregator Device)
[    0.216692] ACPI: Added _OSI(Linux-Dell-Video)
[    0.236095] ACPI: 3 ACPI AML tables successfully acquired and loaded
[    0.253568] ACPI: Interpreter enabled
[    0.256768] ACPI: (supports S0 S3 S4 S5)
[    0.260020] ACPI: Using PIC for interrupt routing
[    0.263464] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[    0.267543] ACPI: Enabled 5 GPEs in block 00 to 1F
[    0.299274] acpi LNXIOBAY:00: ACPI dock station (docks/bays count: 1)
[    0.312078] acpi PNP0C15:00: ACPI dock station (docks/bays count: 2)
[    0.318281] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.320131] acpi PNP0A03:00: _OSC: OS supports [Segments]
[    0.326797] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.330075] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.336967] PCI host bridge to bus 0000:00
[    0.340080] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.343361] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[    0.346701] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.358256] pci 0000:00:1f.0: quirk: [io  0xfc00-0xfc7f] claimed by ICH4 ACPI/GPIO/TCO
[    0.360189] pci 0000:00:1f.0: quirk: [io  0xfc80-0xfcbf] claimed by ICH4 GPIO
[    0.363884] pci 0000:00:1f.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.366796] pci 0000:00:1f.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.370028] pci 0000:00:1f.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.373360] pci 0000:00:1f.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.382127] pci 0000:00:1e.0: PCI bridge to [bus 01-03] (subtractive decode)
[    0.384025] pci 0000:00:1e.0: bridge has subordinate 03 but max busn 06
[    0.393971] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11)
[    0.397013] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11)
[    0.400280] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11)
[    0.403652] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11)
[    0.406944] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 *11)
[    0.413586] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 *11)
[    0.420136] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 10 11) *0, disabled.
[    0.423589] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 10 *11)
[    0.430878] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.433333] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.433434] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.436693] vgaarb: loaded
[    0.440528] SCSI subsystem initialized
[    0.443978] PCI: Using ACPI for IRQ routing
[    0.454474] clocksource: Switched to clocksource tsc-early
[    0.506079] pnp: PnP ACPI init
[    0.510137] system 00:00: [io  0x04d0-0x04d1] has been reserved
[    0.516193] system 00:00: [io  0xf800-0xf87f] has been reserved
[    0.522136] system 00:00: [io  0xf880-0xf8ff] has been reserved
[    0.528084] system 00:00: [io  0xfd00-0xfd6f] has been reserved
[    0.534027] system 00:00: [io  0xfe00-0xfe01] has been reserved
[    0.539965] system 00:00: [io  0xfc00-0xfc7f] has been reserved
[    0.545900] system 00:00: [io  0xfc80-0xfcbf] has been reserved
[    0.551821] system 00:00: [mem 0x000ccc00-0x000cffff] could not be reserved
[    0.558827] system 00:00: [mem 0xffb00000-0xffbfffff] has been reserved
[    0.565440] system 00:00: [mem 0xfec10000-0xfec1ffff] has been reserved
[    0.578887] pnp: PnP ACPI: found 7 devices
[    0.635088] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.644046] pci 0000:00:1e.0: BAR 9: assigned [mem 0x80000000-0x8fffffff pref]
[    0.651268] pci 0000:00:1f.1: BAR 5: assigned [mem 0x90000000-0x900003ff]
[    0.658079] pci 0000:01:0a.0: BAR 0: assigned [mem 0x94000000-0x94000fff]
[    0.664867] pci 0000:01:0a.0: BAR 9: assigned [mem 0x80000000-0x83ffffff pref]
[    0.672087] pci 0000:01:0a.0: BAR 10: assigned [mem 0x98000000-0x9bffffff]
[    0.678960] pci 0000:01:0a.1: BAR 0: assigned [mem 0x9c000000-0x9c000fff]
[    0.685747] pci 0000:01:0a.1: BAR 9: assigned [mem 0x84000000-0x87ffffff pref]
[    0.692966] pci 0000:01:0a.1: BAR 10: assigned [mem 0xa0000000-0xa3ffffff]
[    0.699837] pci 0000:01:0a.0: BAR 7: assigned [io  0x3400-0x34ff]
[    0.705927] pci 0000:01:0a.0: BAR 8: assigned [io  0x3800-0x38ff]
[    0.712018] pci 0000:01:0a.1: BAR 7: assigned [io  0x3c00-0x3cff]
[    0.718110] pci 0000:01:0a.1: BAR 8: assigned [io  0x1000-0x10ff]
[    0.724208] pci 0000:01:0a.0: CardBus bridge to [bus 02]
[    0.729517] pci 0000:01:0a.0:   bridge window [io  0x3400-0x34ff]
[    0.735609] pci 0000:01:0a.0:   bridge window [io  0x3800-0x38ff]
[    0.741700] pci 0000:01:0a.0:   bridge window [mem 0x80000000-0x83ffffff pref]
[    0.748919] pci 0000:01:0a.0:   bridge window [mem 0x98000000-0x9bffffff]
[    0.755705] pci 0000:01:0a.1: CardBus bridge to [bus 03]
[    0.761013] pci 0000:01:0a.1:   bridge window [io  0x3c00-0x3cff]
[    0.767103] pci 0000:01:0a.1:   bridge window [io  0x1000-0x10ff]
[    0.773195] pci 0000:01:0a.1:   bridge window [mem 0x84000000-0x87ffffff pref]
[    0.780414] pci 0000:01:0a.1:   bridge window [mem 0xa0000000-0xa3ffffff]
[    0.787200] pci 0000:00:1e.0: PCI bridge to [bus 01-03]
[    0.792424] pci 0000:00:1e.0:   bridge window [io  0x3000-0x3fff]
[    0.798518] pci 0000:00:1e.0:   bridge window [mem 0xd0200000-0xd02fffff]
[    0.805304] pci 0000:00:1e.0:   bridge window [mem 0x80000000-0x8fffffff pref]
[    0.813017] NET: Registered protocol family 2
[    0.817943] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes)
[    0.825772] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.832888] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[    0.840507] TCP: Hash tables configured (established 8192 bind 8192)
[    0.846996] UDP hash table entries: 512 (order: 3, 40960 bytes)
[    0.853062] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[    0.859688] NET: Registered protocol family 1
[    0.864101] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.872882] PCI Interrupt Link [LNKA] enabled at IRQ 11
[    0.878545] PCI Interrupt Link [LNKD] enabled at IRQ 11
[    0.884180] PCI Interrupt Link [LNKC] enabled at IRQ 11
[    0.889816] PCI Interrupt Link [LNKH] enabled at IRQ 11
[    0.895590] Unpacking initramfs...
[    0.905875] Freeing initrd memory: 1632K
[    0.959992] DMA-API: preallocated 65536 debug entries
[    0.965077] DMA-API: debugging enabled by kernel config
[    0.971831] Scanning for low memory corruption every 60 seconds
[    0.980868] Initialise system trusted keyrings
[    0.986717] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    1.012709] pstore: using deflate compression
[    1.019013] Key type asymmetric registered
[    1.023308] Asymmetric key parser 'x509' registered
[    1.028290] bounce: pool size: 64 pages
[    1.032306] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.039796] io scheduler noop registered
[    1.043738] io scheduler deadline registered
[    1.048047] io scheduler cfq registered (default)
[    1.053568] ACPI: AC Adapter [AC] (on-line)
[    1.058317] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    1.066914] ACPI: Power Button [PWRB]
[    1.070872] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
[    1.079891] ACPI: Lid Switch [LID]
[    1.083628] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    1.091221] ACPI: Power Button [PWRF]
[    1.095148] tsc: Marking TSC unstable due to TSC halts in idle
[    1.104099] ACPI: Battery Slot [CMB1] (battery present)
[    1.109509] isapnp: Scanning for PnP cards...
[    1.114142] clocksource: Switched to clocksource acpi_pm
[    1.123837] ACPI: Battery Slot [CMB2] (battery absent)
[    1.482272] isapnp: No Plug & Play device found
[    1.487182] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.514395] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.522211] serial 00:05: skipping CIR port at 0x2e8 / 0x0, IRQ 3
[    1.530173] ata_piix 0000:00:1f.1: enabling device (0005 -> 0007)
[    1.538301] BUG: unable to handle kernel NULL pointer dereference at 00000000
[    1.540010] *pde = 00000000 
[    1.540010] Oops: 0002 [#1] PREEMPT
[    1.540010] Modules linked in:
[    1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G        W         4.17.0-rc5-mgm+ #57
[    1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
[    1.540010] EIP: dma_direct_alloc+0x22f/0x260
[    1.540010] EFLAGS: 00210246 CPU: 0
[    1.540010] EAX: 00000000 EBX: 00000000 ECX: 00000200 EDX: 00000000
[    1.540010] ESI: 014000c4 EDI: 00000000 EBP: f58d5cdc ESP: f58d5cb8
[    1.540010]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    1.540010] CR0: 80050033 CR2: 00000000 CR3: 018f2000 CR4: 000006d0
[    1.540010] Call Trace:
[    1.540010]  ? dma_direct_mapping_error+0x10/0x10
[    1.540010]  dmam_alloc_coherent+0xe8/0x160
[    1.540010]  ata_bmdma_port_start+0x42/0x70
[    1.540010]  piix_port_start+0x1a/0x20
[    1.540010]  ata_host_start.part.9+0xcb/0x1c0
[    1.540010]  ata_host_start+0x18/0x20
[    1.540010]  ata_pci_sff_activate_host+0x30/0x2b0
[    1.540010]  ? pci_write_config_byte+0x50/0x60
[    1.540010]  ? ata_bmdma_port_intr+0xe0/0xe0
[    1.540010]  piix_init_one+0x2e1/0x5e0
[    1.540010]  ? _raw_spin_unlock_irqrestore+0x5d/0x80
[    1.540010]  pci_device_probe+0x9a/0x130
[    1.540010]  ? devices_kset_move_last+0x67/0xe0
[    1.540010]  ? sysfs_create_link+0x25/0x50
[    1.540010]  driver_probe_device+0x319/0x4e0
[    1.540010]  ? _raw_spin_unlock+0x2c/0x50
[    1.540010]  ? pci_match_device+0xd2/0x100
[    1.540010]  __driver_attach+0xd9/0x100
[    1.540010]  ? klist_next+0x6b/0xe0
[    1.540010]  ? driver_probe_device+0x4e0/0x4e0
[    1.540010]  bus_for_each_dev+0x4b/0x90
[    1.540010]  driver_attach+0x1e/0x20
[    1.540010]  ? driver_probe_device+0x4e0/0x4e0
[    1.540010]  bus_add_driver+0x18f/0x280
[    1.540010]  driver_register+0x5d/0xf0
[    1.540010]  ? ata_sff_init+0x35/0x35
[    1.540010]  __pci_register_driver+0x50/0x60
[    1.540010]  piix_init+0x19/0x29
[    1.540010]  do_one_initcall+0x62/0x330
[    1.540010]  ? parse_args+0x1cd/0x410
[    1.540010]  kernel_init_freeable+0x214/0x31b
[    1.540010]  ? rest_init+0x1f0/0x1f0
[    1.540010]  kernel_init+0x10/0x110
[    1.540010]  ? schedule_tail_wrapper+0x9/0xc
[    1.540010]  ret_from_fork+0x2e/0x38
[    1.540010] Code: 0f 84 02 ff ff ff eb d4 8d 74 26 00 f6 c2 01 75 21 f7 c7 02 00 00 00 75 24 f7 c7 04 00 00 00 75 29 89 d9 31 c0 c1 e9 02 83 e3 03 <f3> ab e9 c4 fe ff ff c6 02 00 8d 7a 01 8b 5d e0 eb d4 66 c7 07 
[    1.540010] EIP: dma_direct_alloc+0x22f/0x260 SS:ESP: 0068:f58d5cb8
[    1.540010] CR2: 0000000000000000
[    1.540010] ---[ end trace 37f4adc02e5109c8 ]---
[    1.540010] BUG: sleeping function called from invalid context at ../include/linux/cgroup-defs.h:696
[    1.540010] in_atomic(): 0, irqs_disabled(): 1, pid: 1, name: swapper
[    1.540010] INFO: lockdep is turned off.
[    1.540010] irq event stamp: 366166
[    1.540010] hardirqs last  enabled at (366165): [<c1595a6d>] _raw_spin_unlock_irqrestore+0x5d/0x80
[    1.540010] hardirqs last disabled at (366166): [<c1596f27>] common_exception+0x61/0x82
[    1.540010] softirqs last  enabled at (363740): [<c1598749>] __do_softirq+0x389/0x425
[    1.540010] softirqs last disabled at (363703): [<c101db7c>] call_on_stack+0x4c/0x60
[    1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G      D W         4.17.0-rc5-mgm+ #57
[    1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
[    1.540010] Call Trace:
[    1.540010]  dump_stack+0x16/0x26
[    1.540010]  ___might_sleep+0x1f3/0x260
[    1.540010]  ? vprintk_emit+0x21c/0x420
[    1.540010]  __might_sleep+0x36/0x90
[    1.540010]  exit_signals+0x1f/0xf0
[    1.540010]  do_exit+0x79/0xb80
[    1.540010]  ? kernel_init_freeable+0x214/0x31b
[    1.540010]  ? rest_init+0x1f0/0x1f0
[    1.540010]  ? kernel_init+0x10/0x110
[    1.540010]  rewind_stack_do_exit+0x10/0x12
[    1.891523] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[    1.891523] 
[    1.894765] Kernel Offset: disabled
[    1.894765] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[    1.894765]  ]---
[    2.153352] random: fast init done


(gdb) list *(dma_direct_alloc+0x22f)
0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
94	
95		if (!page)
96			return NULL;
97		ret = page_address(page);
98		if (force_dma_unencrypted()) {
99			set_memory_decrypted((unsigned long)ret, 1 << page_order);
100			*dma_handle = __phys_to_dma(dev, page_to_phys(page));
101		} else {
102			*dma_handle = phys_to_dma(dev, page_to_phys(page));
103		}
104		memset(ret, 0, size);
105		return ret;
106	}

-- 
Ville Syrjälä
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-19 14:46                 ` Ville Syrjälä
  0 siblings, 0 replies; 42+ messages in thread
From: Ville Syrjälä @ 2018-05-19 14:46 UTC (permalink / raw)
  To: Joonsoo Kim
  Cc: Laura Abbott, Michal Hocko, Aneesh Kumar K . V, Tony Lindgren,
	Vlastimil Babka, Johannes Weiner, Laura Abbott, Marek Szyprowski,
	Mel Gorman, Michal Nazarewicz, Minchan Kim, Rik van Riel,
	Russell King, Will Deacon, Andrew Morton, Linus Torvalds,
	linux-mm, linux-kernel

On Fri, May 18, 2018 at 01:01:04PM +0900, Joonsoo Kim wrote:
> On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> > On 05/17/2018 10:08 AM, Michal Hocko wrote:
> > >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> > >>On Thu 17-05-18 16:58:32, Ville Syrjala wrote:
> > >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> > >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > >>>>>>From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > >>>>>>
> > >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > >>>>>>
> > >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> > >>>>>
> > >>>>>Is there any bug report with some more details? It is much more
> > >>>>>preferable to fix the issue rather than to revert the whole thing
> > >>>>>right away.
> > >>>>
> > >>>>The machine I have in front of me right now didn't give me anything.
> > >>>>Black screen, and netconsole was silent. No serial port on this
> > >>>>machine unfortunately.
> > >>>
> > >>>Booted on another machine with serial:
> > >>
> > >>Could you provide your .config please?
> > >>
> > >>[...]
> > >>>[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > >>[...]
> > >>>[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > >>>[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> > >>
> > >>OK, so this looks the be the source of the problem. -128 would be a
> > >>buddy page but I do not see anything that would set the counter to -127
> > >>and the real map count updates shouldn't really happen that early.
> > >>
> > >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> > >
> > >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> > >and zone_movable_is_highmem might force CMA pages in the zone movable to
> > >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> > >
> > 
> > For a point of reference, arm with this configuration doesn't hit this bug
> > because highmem pages are freed via the memblock interface only instead
> > of iterating through each zone. It looks like the x86 highmem code
> > assumes only a single highmem zone and/or it's disjoint?
> 
> Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> extended to whole node span for future CMA initialization, and,
> normal memory is wrongly freed here.
> 
> Here goes the fix. Ville, Could you test below patch?
> I re-generated the issue on my side and this patch fixed it.

This gets me past the initial hurdles. But when I tried it on a machine
with an actual 32 bit OS it oopsed again later in the boot.

[    0.000000] Linux version 4.17.0-rc5-mgm+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #57 PREEMPT Sat May 19 17:25:27 EEST 2018
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000ce000-0x00000000000cffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000007f6effff] usable
[    0.000000] BIOS-e820: [mem 0x000000007f6f0000-0x000000007f6f7fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000007f6f8000-0x000000007f6fffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007f700000-0x000000007fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fec10000-0x00000000fec1ffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffb00000-0x00000000ffbfffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fff00000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] SMBIOS 2.3 present.
[    0.000000] DMI: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
[    0.000000] e820: last_pfn = 0x7f6f0 max_arch_pfn = 0x100000
[    0.000000] x86/PAT: PAT not supported by CPU.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000000] Scanning 1 areas for low memory corruption
[    0.000000] log_buf_len: 2097152 bytes
[    0.000000] early log buf free: 259584(99%)
[    0.000000] RAMDISK: [mem 0x37e58000-0x37feffff]
[    0.000000] Allocated new RAMDISK: [mem 0x37466000-0x375fd7ff]
[    0.000000] Move RAMDISK from [mem 0x37e58000-0x37fef7ff] to [mem 0x37466000-0x375fd7ff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x00000000000F5970 000014 (v00 FUJ   )
[    0.000000] ACPI: RSDT 0x000000007F6F1D5C 000034 (v01 FUJ    FJNB16C  01260000 FUJ  00001000)
[    0.000000] ACPI: FACP 0x000000007F6F78E0 000074 (v01 FUJ    FJNB16C  01260000 FUJ  00001000)
[    0.000000] ACPI: DSDT 0x000000007F6F1D90 005B50 (v01 FUJ    FJNB16C  01260000 MSFT 0100000E)
[    0.000000] ACPI: FACS 0x000000007F6F8FC0 000040
[    0.000000] ACPI: SSDT 0x000000007F6F7954 000288 (v01 FUJ    FJNB16C  01260000 INTL 20030228)
[    0.000000] ACPI: SSDT 0x000000007F6F7D68 000270 (v01 FUJ    FJNB16C  01260000 MSFT 0100000E)
[    0.000000] ACPI: BOOT 0x000000007F6F7FD8 000028 (v01 FUJ    FJNB16C  01260000 FUJ  00001000)
[    0.000000] 1150MB HIGHMEM available.
[    0.000000] 887MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 377fe000
[    0.000000]   low ram: 0 - 377fe000
[    0.000000] cma: Reserved 4 MiB at 0x37000000
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x00000000377fdfff]
[    0.000000]   HighMem  [mem 0x00000000377fe000-0x000000007f6effff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009efff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000007f6effff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007f6effff]
[    0.000000] Reserved but unavailable: 98 pages
[    0.000000] Using APIC driver default
[    0.000000] Reserving Intel graphics memory at [mem 0x7f700000-0x7fefffff]
[    0.000000] ACPI: PM-Timer IO Port: 0xfc08
[    0.000000] Local APIC disabled by BIOS -- reenabling.
[    0.000000] Found and enabled local APIC!
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009f000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000cdfff]
[    0.000000] PM: Registered nosave memory: [mem 0x000ce000-0x000cffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000d0000-0x000dbfff]
[    0.000000] PM: Registered nosave memory: [mem 0x000dc000-0x000fffff]
[    0.000000] e820: [mem 0x80000000-0xfec0ffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370452778343963 ns
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 520094
[    0.000000] Kernel command line: root=/dev/sda3 resume=/dev/sda2 lapic modprobe.blacklist=i915 drm.debug=0xe log_buf_len=2M console=ttyS0,115200
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] microcode: microcode updated early to revision 0x7, date = 2004-11-09
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:0007f6f0)
[    0.000000] Memory: 2039028K/2087480K available (5733K kernel code, 627K rwdata, 2064K rodata, 640K init, 14252K bss, 44356K reserved, 4096K cma-reserved, 1178568K highmem)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfff8f000 - 0xfffff000   ( 448 kB)
[    0.000000]   cpu_entry : 0xffc00000 - 0xffc28000   ( 160 kB)
[    0.000000]     pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
[    0.000000]     vmalloc : 0xf7ffe000 - 0xff7fe000   ( 120 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf77fe000   ( 887 MB)
[    0.000000]       .init : 0xc184f000 - 0xc18ef000   ( 640 kB)
[    0.000000]       .data : 0xc1599460 - 0xc183ee40   (2710 kB)
[    0.000000]       .text : 0xc1000000 - 0xc1599460   (5733 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] ftrace: allocating 22084 entries in 44 pages
[    0.000000] Running RCU self tests
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] 	RCU lockdep checking is enabled.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] kmemleak: Kernel memory leak detector disabled
[    0.000000] NR_IRQS: 2304, nr_irqs: 24, preallocated irqs: 16
[    0.000000] Console: colour VGA+ 80x25
[    0.000000] console [ttyS0] enabled
[    0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[    0.000000] ... MAX_LOCKDEP_SUBCLASSES:  8
[    0.000000] ... MAX_LOCK_DEPTH:          48
[    0.000000] ... MAX_LOCKDEP_KEYS:        8191
[    0.000000] ... CLASSHASH_SIZE:          4096
[    0.000000] ... MAX_LOCKDEP_ENTRIES:     32768
[    0.000000] ... MAX_LOCKDEP_CHAINS:      131072
[    0.000000] ... CHAINHASH_SIZE:          65536
[    0.000000]  memory used by lock dependency info: 5935 kB
[    0.000000]  per task-struct memory footprint: 1344 bytes
[    0.000000] kmemleak: Early log buffer exceeded (785), please increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE
[    0.000000] ACPI: Core revision 20180313
[    0.000000] ACPI: setting ELCR to 0200 (from 0800)
[    0.003333] APIC: ACPI MADT or MP tables are not detected
[    0.006666] APIC: Switch to virtual wire mode setup with no configuration
[    0.009999] Enabling APIC mode:  Flat.  Using 0 I/O APICs
[    0.013333] tsc: Fast TSC calibration using PIT
[    0.016666] tsc: Detected 1599.815 MHz processor
[    0.019999] clocksource: tsc-early: mask: 0xffffffffffffffff max_cycles: 0x170f7614032, max_idle_ns: 440795204679 ns
[    0.023355] Calibrating delay loop (skipped), value calculated using timer frequency.. 3200.94 BogoMIPS (lpj=5332716)
[    0.026674] pid_max: default: 32768 minimum: 301
[    0.030120] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.033348] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.037411] mce: CPU supports 5 MCE banks
[    0.040032] CPU0: Thermal monitoring enabled (TM2)
[    0.043354] Last level iTLB entries: 4KB 128, 2MB 0, 4MB 2
[    0.046674] Last level dTLB entries: 4KB 128, 2MB 0, 4MB 8, 1GB 0
[    0.050006] CPU: Intel(R) Pentium(R) M processor 1600MHz (family: 0x6, model: 0x9, stepping: 0x5)
[    0.053342] Spectre V2 : Vulnerable: Minimal generic ASM retpoline
[    0.056673] Spectre V2 : Spectre v2 mitigation: Filling RSB on context switch
[    0.064166] Performance Events: p6 PMU driver.
[    0.066686] ... version:                0
[    0.070017] ... bit width:              32
[    0.073346] ... generic registers:      2
[    0.076674] ... value mask:             00000000ffffffff
[    0.080007] ... max period:             000000007fffffff
[    0.083340] ... fixed-purpose events:   0
[    0.086673] ... event mask:             0000000000000003
[    0.090172] Hierarchical SRCU implementation.
[    0.094612] WARNING: CPU: 0 PID: 1 at ../kernel/kthread.c:505 kthread_park+0x70/0x80
[    0.096666] Modules linked in:
[    0.096666] CPU: 0 PID: 1 Comm: swapper Not tainted 4.17.0-rc5-mgm+ #57
[    0.096666] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
[    0.096666] EIP: kthread_park+0x70/0x80
[    0.096666] EFLAGS: 00210202 CPU: 0
[    0.096666] EAX: f58fab80 EBX: f58b4680 ECX: 00000000 EDX: 00000005
[    0.096666] ESI: c183b5c8 EDI: 00000000 EBP: f58d5f58 ESP: f58d5f54
[    0.096666]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    0.096666] CR0: 80050033 CR2: ffd8f000 CR3: 018f2000 CR4: 000006d0
[    0.096666] Call Trace:
[    0.096666]  smpboot_update_cpumask_percpu_thread+0x55/0x70
[    0.096666]  softlockup_update_smpboot_threads+0x2f/0x50
[    0.096666]  lockup_detector_reconfigure+0x1a/0x80
[    0.096666]  lockup_detector_init+0x62/0x6e
[    0.096666]  kernel_init_freeable+0xe6/0x31b
[    0.096666]  ? rest_init+0x1f0/0x1f0
[    0.096666]  kernel_init+0x10/0x110
[    0.096666]  ? schedule_tail_wrapper+0x9/0xc
[    0.096666]  ret_from_fork+0x2e/0x38
[    0.096666] Code: 8d 76 00 5b 31 c0 5d c3 8d 76 00 0f 0b f6 c2 04 8b 98 38 03 00 00 74 c2 0f 0b 5b b8 da ff ff ff 5d c3 89 f6 8d bc 27 00 00 00 00 <0f> 0b b8 f0 ff ff ff eb c9 8d b4 26 00 00 00 00 3e 8d 74 26 00 
[    0.096666] irq event stamp: 810
[    0.096666] hardirqs last  enabled at (809): [<c1595ab7>] _raw_spin_unlock_irq+0x27/0x50
[    0.096666] hardirqs last disabled at (810): [<c1596f27>] common_exception+0x61/0x82
[    0.096666] softirqs last  enabled at (286): [<c1598749>] __do_softirq+0x389/0x425
[    0.096666] softirqs last disabled at (279): [<c101db7c>] call_on_stack+0x4c/0x60
[    0.096666] WARNING: CPU: 0 PID: 1 at ../kernel/kthread.c:505 kthread_park+0x70/0x80
[    0.096666] random: get_random_bytes called from print_oops_end_marker+0x57/0x70 with crng_init=0
[    0.096666] ---[ end trace 37f4adc02e5109c7 ]---
[    0.099999] NMI watchdog: Enabled. Permanently consumes one hw-PMU counter.
[    0.100411] devtmpfs: initialized
[    0.103996] Built 1 zonelists, mobility grouping on.  Total pages: 510781
[    0.106943] PM: Registering ACPI NVS region [mem 0x7f6f8000-0x7f6fffff] (32768 bytes)
[    0.113811] kworker/u2:0 (15) used greatest stack depth: 6708 bytes left
[    0.116909] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns
[    0.120040] futex hash table entries: 256 (order: 1, 11264 bytes)
[    0.126944] RTC time: 14:32:23, date: 05/19/18
[    0.130504] NET: Registered protocol family 16
[    0.136973] audit: initializing netlink subsys (disabled)
[    0.140948] cpuidle: using governor ladder
[    0.143370] audit: type=2000 audit(1526740342.139:1): state=initialized audit_enabled=0 res=1
[    0.146993] cpuidle: using governor menu
[    0.150336] Simple Boot Flag at 0x7f set to 0x1
[    0.153453] ACPI: bus type PCI registered
[    0.156767] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.166545] PCI: PCI BIOS revision 2.10 entry at 0xfd9b2, last bus=3
[    0.166689] PCI: Using configuration type 1 for base access
[    0.177531] kworker/u2:1 (50) used greatest stack depth: 6428 bytes left
[    0.200361] HugeTLB registered 4.00 MiB page size, pre-allocated 0 pages
[    0.204690] ACPI: Added _OSI(Module Device)
[    0.206788] ACPI: Added _OSI(Processor Device)
[    0.210189] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.213366] ACPI: Added _OSI(Processor Aggregator Device)
[    0.216692] ACPI: Added _OSI(Linux-Dell-Video)
[    0.236095] ACPI: 3 ACPI AML tables successfully acquired and loaded
[    0.253568] ACPI: Interpreter enabled
[    0.256768] ACPI: (supports S0 S3 S4 S5)
[    0.260020] ACPI: Using PIC for interrupt routing
[    0.263464] PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
[    0.267543] ACPI: Enabled 5 GPEs in block 00 to 1F
[    0.299274] acpi LNXIOBAY:00: ACPI dock station (docks/bays count: 1)
[    0.312078] acpi PNP0C15:00: ACPI dock station (docks/bays count: 2)
[    0.318281] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.320131] acpi PNP0A03:00: _OSC: OS supports [Segments]
[    0.326797] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[    0.330075] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.336967] PCI host bridge to bus 0000:00
[    0.340080] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.343361] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[    0.346701] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.358256] pci 0000:00:1f.0: quirk: [io  0xfc00-0xfc7f] claimed by ICH4 ACPI/GPIO/TCO
[    0.360189] pci 0000:00:1f.0: quirk: [io  0xfc80-0xfcbf] claimed by ICH4 GPIO
[    0.363884] pci 0000:00:1f.1: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.366796] pci 0000:00:1f.1: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.370028] pci 0000:00:1f.1: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.373360] pci 0000:00:1f.1: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.382127] pci 0000:00:1e.0: PCI bridge to [bus 01-03] (subtractive decode)
[    0.384025] pci 0000:00:1e.0: bridge has subordinate 03 but max busn 06
[    0.393971] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11)
[    0.397013] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 *11)
[    0.400280] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 *11)
[    0.403652] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 9 10 *11)
[    0.406944] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 7 9 10 *11)
[    0.413586] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 7 9 10 *11)
[    0.420136] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 7 9 10 11) *0, disabled.
[    0.423589] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 7 9 10 *11)
[    0.430878] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.433333] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.433434] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.436693] vgaarb: loaded
[    0.440528] SCSI subsystem initialized
[    0.443978] PCI: Using ACPI for IRQ routing
[    0.454474] clocksource: Switched to clocksource tsc-early
[    0.506079] pnp: PnP ACPI init
[    0.510137] system 00:00: [io  0x04d0-0x04d1] has been reserved
[    0.516193] system 00:00: [io  0xf800-0xf87f] has been reserved
[    0.522136] system 00:00: [io  0xf880-0xf8ff] has been reserved
[    0.528084] system 00:00: [io  0xfd00-0xfd6f] has been reserved
[    0.534027] system 00:00: [io  0xfe00-0xfe01] has been reserved
[    0.539965] system 00:00: [io  0xfc00-0xfc7f] has been reserved
[    0.545900] system 00:00: [io  0xfc80-0xfcbf] has been reserved
[    0.551821] system 00:00: [mem 0x000ccc00-0x000cffff] could not be reserved
[    0.558827] system 00:00: [mem 0xffb00000-0xffbfffff] has been reserved
[    0.565440] system 00:00: [mem 0xfec10000-0xfec1ffff] has been reserved
[    0.578887] pnp: PnP ACPI: found 7 devices
[    0.635088] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns
[    0.644046] pci 0000:00:1e.0: BAR 9: assigned [mem 0x80000000-0x8fffffff pref]
[    0.651268] pci 0000:00:1f.1: BAR 5: assigned [mem 0x90000000-0x900003ff]
[    0.658079] pci 0000:01:0a.0: BAR 0: assigned [mem 0x94000000-0x94000fff]
[    0.664867] pci 0000:01:0a.0: BAR 9: assigned [mem 0x80000000-0x83ffffff pref]
[    0.672087] pci 0000:01:0a.0: BAR 10: assigned [mem 0x98000000-0x9bffffff]
[    0.678960] pci 0000:01:0a.1: BAR 0: assigned [mem 0x9c000000-0x9c000fff]
[    0.685747] pci 0000:01:0a.1: BAR 9: assigned [mem 0x84000000-0x87ffffff pref]
[    0.692966] pci 0000:01:0a.1: BAR 10: assigned [mem 0xa0000000-0xa3ffffff]
[    0.699837] pci 0000:01:0a.0: BAR 7: assigned [io  0x3400-0x34ff]
[    0.705927] pci 0000:01:0a.0: BAR 8: assigned [io  0x3800-0x38ff]
[    0.712018] pci 0000:01:0a.1: BAR 7: assigned [io  0x3c00-0x3cff]
[    0.718110] pci 0000:01:0a.1: BAR 8: assigned [io  0x1000-0x10ff]
[    0.724208] pci 0000:01:0a.0: CardBus bridge to [bus 02]
[    0.729517] pci 0000:01:0a.0:   bridge window [io  0x3400-0x34ff]
[    0.735609] pci 0000:01:0a.0:   bridge window [io  0x3800-0x38ff]
[    0.741700] pci 0000:01:0a.0:   bridge window [mem 0x80000000-0x83ffffff pref]
[    0.748919] pci 0000:01:0a.0:   bridge window [mem 0x98000000-0x9bffffff]
[    0.755705] pci 0000:01:0a.1: CardBus bridge to [bus 03]
[    0.761013] pci 0000:01:0a.1:   bridge window [io  0x3c00-0x3cff]
[    0.767103] pci 0000:01:0a.1:   bridge window [io  0x1000-0x10ff]
[    0.773195] pci 0000:01:0a.1:   bridge window [mem 0x84000000-0x87ffffff pref]
[    0.780414] pci 0000:01:0a.1:   bridge window [mem 0xa0000000-0xa3ffffff]
[    0.787200] pci 0000:00:1e.0: PCI bridge to [bus 01-03]
[    0.792424] pci 0000:00:1e.0:   bridge window [io  0x3000-0x3fff]
[    0.798518] pci 0000:00:1e.0:   bridge window [mem 0xd0200000-0xd02fffff]
[    0.805304] pci 0000:00:1e.0:   bridge window [mem 0x80000000-0x8fffffff pref]
[    0.813017] NET: Registered protocol family 2
[    0.817943] tcp_listen_portaddr_hash hash table entries: 512 (order: 2, 20480 bytes)
[    0.825772] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.832888] TCP bind hash table entries: 8192 (order: 6, 294912 bytes)
[    0.840507] TCP: Hash tables configured (established 8192 bind 8192)
[    0.846996] UDP hash table entries: 512 (order: 3, 40960 bytes)
[    0.853062] UDP-Lite hash table entries: 512 (order: 3, 40960 bytes)
[    0.859688] NET: Registered protocol family 1
[    0.864101] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.872882] PCI Interrupt Link [LNKA] enabled at IRQ 11
[    0.878545] PCI Interrupt Link [LNKD] enabled at IRQ 11
[    0.884180] PCI Interrupt Link [LNKC] enabled at IRQ 11
[    0.889816] PCI Interrupt Link [LNKH] enabled at IRQ 11
[    0.895590] Unpacking initramfs...
[    0.905875] Freeing initrd memory: 1632K
[    0.959992] DMA-API: preallocated 65536 debug entries
[    0.965077] DMA-API: debugging enabled by kernel config
[    0.971831] Scanning for low memory corruption every 60 seconds
[    0.980868] Initialise system trusted keyrings
[    0.986717] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    1.012709] pstore: using deflate compression
[    1.019013] Key type asymmetric registered
[    1.023308] Asymmetric key parser 'x509' registered
[    1.028290] bounce: pool size: 64 pages
[    1.032306] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.039796] io scheduler noop registered
[    1.043738] io scheduler deadline registered
[    1.048047] io scheduler cfq registered (default)
[    1.053568] ACPI: AC Adapter [AC] (on-line)
[    1.058317] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
[    1.066914] ACPI: Power Button [PWRB]
[    1.070872] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
[    1.079891] ACPI: Lid Switch [LID]
[    1.083628] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[    1.091221] ACPI: Power Button [PWRF]
[    1.095148] tsc: Marking TSC unstable due to TSC halts in idle
[    1.104099] ACPI: Battery Slot [CMB1] (battery present)
[    1.109509] isapnp: Scanning for PnP cards...
[    1.114142] clocksource: Switched to clocksource acpi_pm
[    1.123837] ACPI: Battery Slot [CMB2] (battery absent)
[    1.482272] isapnp: No Plug & Play device found
[    1.487182] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.514395] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    1.522211] serial 00:05: skipping CIR port at 0x2e8 / 0x0, IRQ 3
[    1.530173] ata_piix 0000:00:1f.1: enabling device (0005 -> 0007)
[    1.538301] BUG: unable to handle kernel NULL pointer dereference at 00000000
[    1.540010] *pde = 00000000 
[    1.540010] Oops: 0002 [#1] PREEMPT
[    1.540010] Modules linked in:
[    1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G        W         4.17.0-rc5-mgm+ #57
[    1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
[    1.540010] EIP: dma_direct_alloc+0x22f/0x260
[    1.540010] EFLAGS: 00210246 CPU: 0
[    1.540010] EAX: 00000000 EBX: 00000000 ECX: 00000200 EDX: 00000000
[    1.540010] ESI: 014000c4 EDI: 00000000 EBP: f58d5cdc ESP: f58d5cb8
[    1.540010]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
[    1.540010] CR0: 80050033 CR2: 00000000 CR3: 018f2000 CR4: 000006d0
[    1.540010] Call Trace:
[    1.540010]  ? dma_direct_mapping_error+0x10/0x10
[    1.540010]  dmam_alloc_coherent+0xe8/0x160
[    1.540010]  ata_bmdma_port_start+0x42/0x70
[    1.540010]  piix_port_start+0x1a/0x20
[    1.540010]  ata_host_start.part.9+0xcb/0x1c0
[    1.540010]  ata_host_start+0x18/0x20
[    1.540010]  ata_pci_sff_activate_host+0x30/0x2b0
[    1.540010]  ? pci_write_config_byte+0x50/0x60
[    1.540010]  ? ata_bmdma_port_intr+0xe0/0xe0
[    1.540010]  piix_init_one+0x2e1/0x5e0
[    1.540010]  ? _raw_spin_unlock_irqrestore+0x5d/0x80
[    1.540010]  pci_device_probe+0x9a/0x130
[    1.540010]  ? devices_kset_move_last+0x67/0xe0
[    1.540010]  ? sysfs_create_link+0x25/0x50
[    1.540010]  driver_probe_device+0x319/0x4e0
[    1.540010]  ? _raw_spin_unlock+0x2c/0x50
[    1.540010]  ? pci_match_device+0xd2/0x100
[    1.540010]  __driver_attach+0xd9/0x100
[    1.540010]  ? klist_next+0x6b/0xe0
[    1.540010]  ? driver_probe_device+0x4e0/0x4e0
[    1.540010]  bus_for_each_dev+0x4b/0x90
[    1.540010]  driver_attach+0x1e/0x20
[    1.540010]  ? driver_probe_device+0x4e0/0x4e0
[    1.540010]  bus_add_driver+0x18f/0x280
[    1.540010]  driver_register+0x5d/0xf0
[    1.540010]  ? ata_sff_init+0x35/0x35
[    1.540010]  __pci_register_driver+0x50/0x60
[    1.540010]  piix_init+0x19/0x29
[    1.540010]  do_one_initcall+0x62/0x330
[    1.540010]  ? parse_args+0x1cd/0x410
[    1.540010]  kernel_init_freeable+0x214/0x31b
[    1.540010]  ? rest_init+0x1f0/0x1f0
[    1.540010]  kernel_init+0x10/0x110
[    1.540010]  ? schedule_tail_wrapper+0x9/0xc
[    1.540010]  ret_from_fork+0x2e/0x38
[    1.540010] Code: 0f 84 02 ff ff ff eb d4 8d 74 26 00 f6 c2 01 75 21 f7 c7 02 00 00 00 75 24 f7 c7 04 00 00 00 75 29 89 d9 31 c0 c1 e9 02 83 e3 03 <f3> ab e9 c4 fe ff ff c6 02 00 8d 7a 01 8b 5d e0 eb d4 66 c7 07 
[    1.540010] EIP: dma_direct_alloc+0x22f/0x260 SS:ESP: 0068:f58d5cb8
[    1.540010] CR2: 0000000000000000
[    1.540010] ---[ end trace 37f4adc02e5109c8 ]---
[    1.540010] BUG: sleeping function called from invalid context at ../include/linux/cgroup-defs.h:696
[    1.540010] in_atomic(): 0, irqs_disabled(): 1, pid: 1, name: swapper
[    1.540010] INFO: lockdep is turned off.
[    1.540010] irq event stamp: 366166
[    1.540010] hardirqs last  enabled at (366165): [<c1595a6d>] _raw_spin_unlock_irqrestore+0x5d/0x80
[    1.540010] hardirqs last disabled at (366166): [<c1596f27>] common_exception+0x61/0x82
[    1.540010] softirqs last  enabled at (363740): [<c1598749>] __do_softirq+0x389/0x425
[    1.540010] softirqs last disabled at (363703): [<c101db7c>] call_on_stack+0x4c/0x60
[    1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G      D W         4.17.0-rc5-mgm+ #57
[    1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
[    1.540010] Call Trace:
[    1.540010]  dump_stack+0x16/0x26
[    1.540010]  ___might_sleep+0x1f3/0x260
[    1.540010]  ? vprintk_emit+0x21c/0x420
[    1.540010]  __might_sleep+0x36/0x90
[    1.540010]  exit_signals+0x1f/0xf0
[    1.540010]  do_exit+0x79/0xb80
[    1.540010]  ? kernel_init_freeable+0x214/0x31b
[    1.540010]  ? rest_init+0x1f0/0x1f0
[    1.540010]  ? kernel_init+0x10/0x110
[    1.540010]  rewind_stack_do_exit+0x10/0x12
[    1.891523] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[    1.891523] 
[    1.894765] Kernel Offset: disabled
[    1.894765] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000009
[    1.894765]  ]---
[    2.153352] random: fast init done


(gdb) list *(dma_direct_alloc+0x22f)
0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
94	
95		if (!page)
96			return NULL;
97		ret = page_address(page);
98		if (force_dma_unencrypted()) {
99			set_memory_decrypted((unsigned long)ret, 1 << page_order);
100			*dma_handle = __phys_to_dma(dev, page_to_phys(page));
101		} else {
102			*dma_handle = phys_to_dma(dev, page_to_phys(page));
103		}
104		memset(ret, 0, size);
105		return ret;
106	}

-- 
Ville Syrjala
Intel

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-19 14:46                 ` Ville Syrjälä
@ 2018-05-21  6:16                   ` Joonsoo Kim
  -1 siblings, 0 replies; 42+ messages in thread
From: Joonsoo Kim @ 2018-05-21  6:16 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: Laura Abbott, Michal Hocko, Aneesh Kumar K . V, Tony Lindgren,
	Vlastimil Babka, Johannes Weiner, Laura Abbott, Marek Szyprowski,
	Mel Gorman, Michal Nazarewicz, Minchan Kim, Rik van Riel,
	Russell King, Will Deacon, Andrew Morton, Linus Torvalds,
	linux-mm, linux-kernel

On Sat, May 19, 2018 at 05:46:32PM +0300, Ville Syrjälä wrote:
> On Fri, May 18, 2018 at 01:01:04PM +0900, Joonsoo Kim wrote:
> > On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> > > On 05/17/2018 10:08 AM, Michal Hocko wrote:
> > > >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> > > >>On Thu 17-05-18 16:58:32, Ville Syrjälä wrote:
> > > >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjälä wrote:
> > > >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > >>>>>>From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> > > >>>>>>
> > > >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > >>>>>>
> > > >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> > > >>>>>
> > > >>>>>Is there any bug report with some more details? It is much more
> > > >>>>>preferable to fix the issue rather than to revert the whole thing
> > > >>>>>right away.
> > > >>>>
> > > >>>>The machine I have in front of me right now didn't give me anything.
> > > >>>>Black screen, and netconsole was silent. No serial port on this
> > > >>>>machine unfortunately.
> > > >>>
> > > >>>Booted on another machine with serial:
> > > >>
> > > >>Could you provide your .config please?
> > > >>
> > > >>[...]
> > > >>>[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > > >>[...]
> > > >>>[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > > >>>[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> > > >>
> > > >>OK, so this looks the be the source of the problem. -128 would be a
> > > >>buddy page but I do not see anything that would set the counter to -127
> > > >>and the real map count updates shouldn't really happen that early.
> > > >>
> > > >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> > > >
> > > >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> > > >and zone_movable_is_highmem might force CMA pages in the zone movable to
> > > >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> > > >
> > > 
> > > For a point of reference, arm with this configuration doesn't hit this bug
> > > because highmem pages are freed via the memblock interface only instead
> > > of iterating through each zone. It looks like the x86 highmem code
> > > assumes only a single highmem zone and/or it's disjoint?
> > 
> > Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> > extended to whole node span for future CMA initialization, and,
> > normal memory is wrongly freed here.
> > 
> > Here goes the fix. Ville, Could you test below patch?
> > I re-generated the issue on my side and this patch fixed it.
> 
> This gets me past the initial hurdles. But when I tried it on a machine
> with an actual 32 bit OS it oopsed again later in the boot.
> 
> [    0.000000] Linux version 4.17.0-rc5-mgm+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #57 PREEMPT Sat May 19 17:25:27 EEST 2018
> [    0.000000] x86/fpu: x87 FPU will use FXSAVE
> [    0.000000] e820: BIOS-provided physical RAM map:
> [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
> [    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[snip....]
> [    1.487182] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [    1.514395] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
> [    1.522211] serial 00:05: skipping CIR port at 0x2e8 / 0x0, IRQ 3
> [    1.530173] ata_piix 0000:00:1f.1: enabling device (0005 -> 0007)
> [    1.538301] BUG: unable to handle kernel NULL pointer dereference at 00000000
> [    1.540010] *pde = 00000000 
> [    1.540010] Oops: 0002 [#1] PREEMPT
> [    1.540010] Modules linked in:
> [    1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G        W         4.17.0-rc5-mgm+ #57
> [    1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
> [    1.540010] EIP: dma_direct_alloc+0x22f/0x260
> [    1.540010] EFLAGS: 00210246 CPU: 0
> [    1.540010] EAX: 00000000 EBX: 00000000 ECX: 00000200 EDX: 00000000
> [    1.540010] ESI: 014000c4 EDI: 00000000 EBP: f58d5cdc ESP: f58d5cb8
> [    1.540010]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
> [    1.540010] CR0: 80050033 CR2: 00000000 CR3: 018f2000 CR4: 000006d0
> [    1.540010] Call Trace:
> [    1.540010]  ? dma_direct_mapping_error+0x10/0x10
> [    1.540010]  dmam_alloc_coherent+0xe8/0x160
> [    1.540010]  ata_bmdma_port_start+0x42/0x70
> [    1.540010]  piix_port_start+0x1a/0x20
> [    1.540010]  ata_host_start.part.9+0xcb/0x1c0
> [    1.540010]  ata_host_start+0x18/0x20
> [    1.540010]  ata_pci_sff_activate_host+0x30/0x2b0
> [    1.540010]  ? pci_write_config_byte+0x50/0x60
> [    1.540010]  ? ata_bmdma_port_intr+0xe0/0xe0
> [    1.540010]  piix_init_one+0x2e1/0x5e0
> [    1.540010]  ? _raw_spin_unlock_irqrestore+0x5d/0x80
> [    1.540010]  pci_device_probe+0x9a/0x130
> [    1.540010]  ? devices_kset_move_last+0x67/0xe0
> [    1.540010]  ? sysfs_create_link+0x25/0x50
> [    1.540010]  driver_probe_device+0x319/0x4e0
> [    1.540010]  ? _raw_spin_unlock+0x2c/0x50
> [    1.540010]  ? pci_match_device+0xd2/0x100
> [    1.540010]  __driver_attach+0xd9/0x100
> [    1.540010]  ? klist_next+0x6b/0xe0
> [    1.540010]  ? driver_probe_device+0x4e0/0x4e0
> [    1.540010]  bus_for_each_dev+0x4b/0x90
> [    1.540010]  driver_attach+0x1e/0x20
> [    1.540010]  ? driver_probe_device+0x4e0/0x4e0
> [    1.540010]  bus_add_driver+0x18f/0x280
> [    1.540010]  driver_register+0x5d/0xf0
> [    1.540010]  ? ata_sff_init+0x35/0x35
> [    1.540010]  __pci_register_driver+0x50/0x60
> [    1.540010]  piix_init+0x19/0x29
> [    1.540010]  do_one_initcall+0x62/0x330
> [    1.540010]  ? parse_args+0x1cd/0x410
> [    1.540010]  kernel_init_freeable+0x214/0x31b
> [    1.540010]  ? rest_init+0x1f0/0x1f0
> [    1.540010]  kernel_init+0x10/0x110
> [    1.540010]  ? schedule_tail_wrapper+0x9/0xc
> [    1.540010]  ret_from_fork+0x2e/0x38
> [    1.540010] Code: 0f 84 02 ff ff ff eb d4 8d 74 26 00 f6 c2 01 75 21 f7 c7 02 00 00 00 75 24 f7 c7 04 00 00 00 75 29 89 d9 31 c0 c1 e9 02 83 e3 03 <f3> ab e9 c4 fe ff ff c6 02 00 8d 7a 01 8b 5d e0 eb d4 66 c7 07 
> [    1.540010] EIP: dma_direct_alloc+0x22f/0x260 SS:ESP: 0068:f58d5cb8
> [    1.540010] CR2: 0000000000000000
> [    1.540010] ---[ end trace 37f4adc02e5109c8 ]---
[snip...]
> (gdb) list *(dma_direct_alloc+0x22f)
> 0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
> 94	
> 95		if (!page)
> 96			return NULL;
> 97		ret = page_address(page);
> 98		if (force_dma_unencrypted()) {
> 99			set_memory_decrypted((unsigned long)ret, 1 << page_order);
> 100			*dma_handle = __phys_to_dma(dev, page_to_phys(page));
> 101		} else {
> 102			*dma_handle = phys_to_dma(dev, page_to_phys(page));
> 103		}
> 104		memset(ret, 0, size);
> 105		return ret;
> 106	}
> 

Okay. I find the reason about this error.

page_address() is called in dma_direct_alloc() and it returns 'NULL'
since PageHighMem() for CMA memory returns 'true' after my patches
that manages CMA memory by using the ZONE_MOVABLE.

page_address()
{
        if (!PageHighMem())
                return lowmem_address()
        try to find kmap mapping
        if failed, return NULL
}

I assumed that the caller, who want to get the virtual address of the
page, calls the PageHighMem() and creates a new mapping if
PageHighMem() is 'true', but, it looks not true in this case. It knows
where the memory comes from so it directly call the page_address().
This usecase is valid so I should fix the issue on my side.

I have an idea to fix this case but I think that reverting the patches
is the best at this moment since there is not enough time to test a
new idea before the release.

My idea is to change the implementation of the PageHighMem() like as
below.

-#define PageHighMem(__p) is_highmem_idx(page_zonenum(__p))
+#define PageHighMem(__p) (page_to_pfn(__p) >= max_low_pfn)

And then, I will rename PageHighMem() to !PageDirectMapped().

Current PageHighMem() is mostly used to check if the direct mapping
exists or not. Until now, pages on the higher zones (ZONE_HIGHMEM,
ZONE_MOVABLE when ZONE_HIGHMEM is used) are not direct mapped so
previous implementation that checks higher zone implys the existence
of the direct mapping. However, with my patches, it's not true anymore
so implementation need to be changed.

With above idea that checks pfn rather than the zone type, existence
of the mapping can be determined correctly, regardless of the zone
where the pages are belong to. And, page_address() will work
correctly.

If someone has other opinion, please let me know.

Thanks.

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-21  6:16                   ` Joonsoo Kim
  0 siblings, 0 replies; 42+ messages in thread
From: Joonsoo Kim @ 2018-05-21  6:16 UTC (permalink / raw)
  To: Ville Syrjälä
  Cc: Laura Abbott, Michal Hocko, Aneesh Kumar K . V, Tony Lindgren,
	Vlastimil Babka, Johannes Weiner, Laura Abbott, Marek Szyprowski,
	Mel Gorman, Michal Nazarewicz, Minchan Kim, Rik van Riel,
	Russell King, Will Deacon, Andrew Morton, Linus Torvalds,
	linux-mm, linux-kernel

On Sat, May 19, 2018 at 05:46:32PM +0300, Ville Syrjala wrote:
> On Fri, May 18, 2018 at 01:01:04PM +0900, Joonsoo Kim wrote:
> > On Thu, May 17, 2018 at 10:53:32AM -0700, Laura Abbott wrote:
> > > On 05/17/2018 10:08 AM, Michal Hocko wrote:
> > > >On Thu 17-05-18 18:49:47, Michal Hocko wrote:
> > > >>On Thu 17-05-18 16:58:32, Ville Syrjala wrote:
> > > >>>On Thu, May 17, 2018 at 04:36:29PM +0300, Ville Syrjala wrote:
> > > >>>>On Thu, May 17, 2018 at 03:21:09PM +0200, Michal Hocko wrote:
> > > >>>>>On Thu 17-05-18 15:59:59, Ville Syrjala wrote:
> > > >>>>>>From: Ville Syrjala <ville.syrjala@linux.intel.com>
> > > >>>>>>
> > > >>>>>>This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> > > >>>>>>
> > > >>>>>>Make x86 with HIGHMEM=y and CMA=y boot again.
> > > >>>>>
> > > >>>>>Is there any bug report with some more details? It is much more
> > > >>>>>preferable to fix the issue rather than to revert the whole thing
> > > >>>>>right away.
> > > >>>>
> > > >>>>The machine I have in front of me right now didn't give me anything.
> > > >>>>Black screen, and netconsole was silent. No serial port on this
> > > >>>>machine unfortunately.
> > > >>>
> > > >>>Booted on another machine with serial:
> > > >>
> > > >>Could you provide your .config please?
> > > >>
> > > >>[...]
> > > >>>[    0.000000] cma: Reserved 4 MiB at 0x0000000037000000
> > > >>[...]
> > > >>>[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> > > >>>[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> > > >>
> > > >>OK, so this looks the be the source of the problem. -128 would be a
> > > >>buddy page but I do not see anything that would set the counter to -127
> > > >>and the real map count updates shouldn't really happen that early.
> > > >>
> > > >>Maybe CONFIG_DEBUG_VM and CONFIG_DEBUG_HIGHMEM will tell us more.
> > > >
> > > >Looking closer, I _think_ that the bug is in set_highmem_pages_init->is_highmem
> > > >and zone_movable_is_highmem might force CMA pages in the zone movable to
> > > >be initialized as highmem. And that sounds supicious to me. Joonsoo?
> > > >
> > > 
> > > For a point of reference, arm with this configuration doesn't hit this bug
> > > because highmem pages are freed via the memblock interface only instead
> > > of iterating through each zone. It looks like the x86 highmem code
> > > assumes only a single highmem zone and/or it's disjoint?
> > 
> > Good point! Reason of the crash is that the span of MOVABLE_ZONE is
> > extended to whole node span for future CMA initialization, and,
> > normal memory is wrongly freed here.
> > 
> > Here goes the fix. Ville, Could you test below patch?
> > I re-generated the issue on my side and this patch fixed it.
> 
> This gets me past the initial hurdles. But when I tried it on a machine
> with an actual 32 bit OS it oopsed again later in the boot.
> 
> [    0.000000] Linux version 4.17.0-rc5-mgm+ () (gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)) #57 PREEMPT Sat May 19 17:25:27 EEST 2018
> [    0.000000] x86/fpu: x87 FPU will use FXSAVE
> [    0.000000] e820: BIOS-provided physical RAM map:
> [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
> [    0.000000] BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
[snip....]
> [    1.487182] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
> [    1.514395] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
> [    1.522211] serial 00:05: skipping CIR port at 0x2e8 / 0x0, IRQ 3
> [    1.530173] ata_piix 0000:00:1f.1: enabling device (0005 -> 0007)
> [    1.538301] BUG: unable to handle kernel NULL pointer dereference at 00000000
> [    1.540010] *pde = 00000000 
> [    1.540010] Oops: 0002 [#1] PREEMPT
> [    1.540010] Modules linked in:
> [    1.540010] CPU: 0 PID: 1 Comm: swapper Tainted: G        W         4.17.0-rc5-mgm+ #57
> [    1.540010] Hardware name: FUJITSU SIEMENS LIFEBOOK S6120/FJNB16C, BIOS Version 1.26  05/10/2004
> [    1.540010] EIP: dma_direct_alloc+0x22f/0x260
> [    1.540010] EFLAGS: 00210246 CPU: 0
> [    1.540010] EAX: 00000000 EBX: 00000000 ECX: 00000200 EDX: 00000000
> [    1.540010] ESI: 014000c4 EDI: 00000000 EBP: f58d5cdc ESP: f58d5cb8
> [    1.540010]  DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
> [    1.540010] CR0: 80050033 CR2: 00000000 CR3: 018f2000 CR4: 000006d0
> [    1.540010] Call Trace:
> [    1.540010]  ? dma_direct_mapping_error+0x10/0x10
> [    1.540010]  dmam_alloc_coherent+0xe8/0x160
> [    1.540010]  ata_bmdma_port_start+0x42/0x70
> [    1.540010]  piix_port_start+0x1a/0x20
> [    1.540010]  ata_host_start.part.9+0xcb/0x1c0
> [    1.540010]  ata_host_start+0x18/0x20
> [    1.540010]  ata_pci_sff_activate_host+0x30/0x2b0
> [    1.540010]  ? pci_write_config_byte+0x50/0x60
> [    1.540010]  ? ata_bmdma_port_intr+0xe0/0xe0
> [    1.540010]  piix_init_one+0x2e1/0x5e0
> [    1.540010]  ? _raw_spin_unlock_irqrestore+0x5d/0x80
> [    1.540010]  pci_device_probe+0x9a/0x130
> [    1.540010]  ? devices_kset_move_last+0x67/0xe0
> [    1.540010]  ? sysfs_create_link+0x25/0x50
> [    1.540010]  driver_probe_device+0x319/0x4e0
> [    1.540010]  ? _raw_spin_unlock+0x2c/0x50
> [    1.540010]  ? pci_match_device+0xd2/0x100
> [    1.540010]  __driver_attach+0xd9/0x100
> [    1.540010]  ? klist_next+0x6b/0xe0
> [    1.540010]  ? driver_probe_device+0x4e0/0x4e0
> [    1.540010]  bus_for_each_dev+0x4b/0x90
> [    1.540010]  driver_attach+0x1e/0x20
> [    1.540010]  ? driver_probe_device+0x4e0/0x4e0
> [    1.540010]  bus_add_driver+0x18f/0x280
> [    1.540010]  driver_register+0x5d/0xf0
> [    1.540010]  ? ata_sff_init+0x35/0x35
> [    1.540010]  __pci_register_driver+0x50/0x60
> [    1.540010]  piix_init+0x19/0x29
> [    1.540010]  do_one_initcall+0x62/0x330
> [    1.540010]  ? parse_args+0x1cd/0x410
> [    1.540010]  kernel_init_freeable+0x214/0x31b
> [    1.540010]  ? rest_init+0x1f0/0x1f0
> [    1.540010]  kernel_init+0x10/0x110
> [    1.540010]  ? schedule_tail_wrapper+0x9/0xc
> [    1.540010]  ret_from_fork+0x2e/0x38
> [    1.540010] Code: 0f 84 02 ff ff ff eb d4 8d 74 26 00 f6 c2 01 75 21 f7 c7 02 00 00 00 75 24 f7 c7 04 00 00 00 75 29 89 d9 31 c0 c1 e9 02 83 e3 03 <f3> ab e9 c4 fe ff ff c6 02 00 8d 7a 01 8b 5d e0 eb d4 66 c7 07 
> [    1.540010] EIP: dma_direct_alloc+0x22f/0x260 SS:ESP: 0068:f58d5cb8
> [    1.540010] CR2: 0000000000000000
> [    1.540010] ---[ end trace 37f4adc02e5109c8 ]---
[snip...]
> (gdb) list *(dma_direct_alloc+0x22f)
> 0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
> 94	
> 95		if (!page)
> 96			return NULL;
> 97		ret = page_address(page);
> 98		if (force_dma_unencrypted()) {
> 99			set_memory_decrypted((unsigned long)ret, 1 << page_order);
> 100			*dma_handle = __phys_to_dma(dev, page_to_phys(page));
> 101		} else {
> 102			*dma_handle = phys_to_dma(dev, page_to_phys(page));
> 103		}
> 104		memset(ret, 0, size);
> 105		return ret;
> 106	}
> 

Okay. I find the reason about this error.

page_address() is called in dma_direct_alloc() and it returns 'NULL'
since PageHighMem() for CMA memory returns 'true' after my patches
that manages CMA memory by using the ZONE_MOVABLE.

page_address()
{
        if (!PageHighMem())
                return lowmem_address()
        try to find kmap mapping
        if failed, return NULL
}

I assumed that the caller, who want to get the virtual address of the
page, calls the PageHighMem() and creates a new mapping if
PageHighMem() is 'true', but, it looks not true in this case. It knows
where the memory comes from so it directly call the page_address().
This usecase is valid so I should fix the issue on my side.

I have an idea to fix this case but I think that reverting the patches
is the best at this moment since there is not enough time to test a
new idea before the release.

My idea is to change the implementation of the PageHighMem() like as
below.

-#define PageHighMem(__p) is_highmem_idx(page_zonenum(__p))
+#define PageHighMem(__p) (page_to_pfn(__p) >= max_low_pfn)

And then, I will rename PageHighMem() to !PageDirectMapped().

Current PageHighMem() is mostly used to check if the direct mapping
exists or not. Until now, pages on the higher zones (ZONE_HIGHMEM,
ZONE_MOVABLE when ZONE_HIGHMEM is used) are not direct mapped so
previous implementation that checks higher zone implys the existence
of the direct mapping. However, with my patches, it's not true anymore
so implementation need to be changed.

With above idea that checks pfn rather than the zone type, existence
of the mapping can be determined correctly, regardless of the zone
where the pages are belong to. And, page_address() will work
correctly.

If someone has other opinion, please let me know.

Thanks.

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-21  6:16                   ` Joonsoo Kim
  (?)
@ 2018-05-23  0:02                   ` Andrew Morton
  2018-05-23  0:09                     ` Joonsoo Kim
  -1 siblings, 1 reply; 42+ messages in thread
From: Andrew Morton @ 2018-05-23  0:02 UTC (permalink / raw)
  To: Joonsoo Kim
  Cc: Ville Syrjälä,
	Laura Abbott, Michal Hocko, Aneesh Kumar K . V, Tony Lindgren,
	Vlastimil Babka, Johannes Weiner, Laura Abbott, Marek Szyprowski,
	Mel Gorman, Michal Nazarewicz, Minchan Kim, Rik van Riel,
	Russell King, Will Deacon, Linus Torvalds, linux-mm,
	linux-kernel

On Mon, 21 May 2018 15:16:33 +0900 Joonsoo Kim <js1304@gmail.com> wrote:

> > (gdb) list *(dma_direct_alloc+0x22f)
> > 0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
> > 94	
> > 95		if (!page)
> > 96			return NULL;
> > 97		ret = page_address(page);
> > 98		if (force_dma_unencrypted()) {
> > 99			set_memory_decrypted((unsigned long)ret, 1 << page_order);
> > 100			*dma_handle = __phys_to_dma(dev, page_to_phys(page));
> > 101		} else {
> > 102			*dma_handle = phys_to_dma(dev, page_to_phys(page));
> > 103		}
> > 104		memset(ret, 0, size);
> > 105		return ret;
> > 106	}
> > 
> 
> Okay. I find the reason about this error.

It's getting rather late and we don't seem to have a final set of fixes
yet.  Perhaps the best approach here is to revert and try again for
4.18?

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-23  0:02                   ` Andrew Morton
@ 2018-05-23  0:09                     ` Joonsoo Kim
  0 siblings, 0 replies; 42+ messages in thread
From: Joonsoo Kim @ 2018-05-23  0:09 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Ville Syrjälä,
	Laura Abbott, Michal Hocko, Aneesh Kumar K . V, Tony Lindgren,
	Vlastimil Babka, Johannes Weiner, Laura Abbott, Marek Szyprowski,
	Mel Gorman, Michal Nazarewicz, Minchan Kim, Rik van Riel,
	Russell King, Will Deacon, Linus Torvalds,
	Linux Memory Management List, LKML

2018-05-23 9:02 GMT+09:00 Andrew Morton <akpm@linux-foundation.org>:
> On Mon, 21 May 2018 15:16:33 +0900 Joonsoo Kim <js1304@gmail.com> wrote:
>
>> > (gdb) list *(dma_direct_alloc+0x22f)
>> > 0x573fbf is in dma_direct_alloc (../lib/dma-direct.c:104).
>> > 94
>> > 95          if (!page)
>> > 96                  return NULL;
>> > 97          ret = page_address(page);
>> > 98          if (force_dma_unencrypted()) {
>> > 99                  set_memory_decrypted((unsigned long)ret, 1 << page_order);
>> > 100                 *dma_handle = __phys_to_dma(dev, page_to_phys(page));
>> > 101         } else {
>> > 102                 *dma_handle = phys_to_dma(dev, page_to_phys(page));
>> > 103         }
>> > 104         memset(ret, 0, size);
>> > 105         return ret;
>> > 106 }
>> >
>>
>> Okay. I find the reason about this error.
>
> It's getting rather late and we don't seem to have a final set of fixes
> yet.  Perhaps the best approach here is to revert and try again for
> 4.18?

Yes. Reverting seems to be a right decision at this moment.
Could you apply original revert patch from Ville?

Thanks.

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-23  1:18 ` js1304
@ 2018-05-24 11:28   ` Michal Hocko
  -1 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-24 11:28 UTC (permalink / raw)
  To: js1304
  Cc: Andrew Morton, Vlastimil Babka, Laura Abbott,
	Ville Syrjälä,
	LKML, linux-mm, Joonsoo Kim

On Wed 23-05-18 10:18:21, Joonsoo Kim wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> 
> This reverts the following commits that change CMA design in MM.
> 
> Revert "ARM: CMA: avoid double mapping to the CMA area if CONFIG_HIGHMEM=y"
> This reverts commit 3d2054ad8c2d5100b68b0c0405f89fd90bf4107b.
> 
> Revert "mm/cma: remove ALLOC_CMA"
> This reverts commit 1d47a3ec09b5489cd915e8f492aa623cdab5d002.
> 
> Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> 
> Ville reported a following error on i386.
> 
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
> [    0.000000] Initializing CPU#0
> [    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
> [    0.000000] Initializing Movable for node 0 (00000001:00118000)
> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> [    0.000000] flags: 0x80000000()
> [    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
> [    0.000000] page dumped because: nonzero mapcount
> [    0.000000] Modules linked in:
> [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
> [    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
> [    0.000000] Call Trace:
> [    0.000000]  dump_stack+0x60/0x96
> [    0.000000]  bad_page+0x9a/0x100
> [    0.000000]  free_pages_check_bad+0x3f/0x60
> [    0.000000]  free_pcppages_bulk+0x29d/0x5b0
> [    0.000000]  free_unref_page_commit+0x84/0xb0
> [    0.000000]  free_unref_page+0x3e/0x70
> [    0.000000]  __free_pages+0x1d/0x20
> [    0.000000]  free_highmem_page+0x19/0x40
> [    0.000000]  add_highpages_with_active_regions+0xab/0xeb
> [    0.000000]  set_highmem_pages_init+0x66/0x73
> [    0.000000]  mem_init+0x1b/0x1d7
> [    0.000000]  start_kernel+0x17a/0x363
> [    0.000000]  i386_start_kernel+0x95/0x99
> [    0.000000]  startup_32_smp+0x164/0x168
> 
> Reason for this error is that the span of MOVABLE_ZONE is extended to
> whole node span for future CMA initialization, and, normal memory is
> wrongly freed here. I submitted the fix and it seems to work, but,
> the other problem happened. It's so late time to fix the later problem
> so I decide to reverting the series.
> 
> Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>

OK, if the fix is not straightforward then the revert is the right way
to go.

Acked-by: Michal Hocko <mhocko@suse.com>

> ---
>  arch/arm/mm/dma-mapping.c      | 16 +-------
>  include/linux/memory_hotplug.h |  3 ++
>  include/linux/mm.h             |  1 -
>  mm/cma.c                       | 83 ++++++------------------------------------
>  mm/compaction.c                |  4 +-
>  mm/internal.h                  |  4 +-
>  mm/page_alloc.c                | 83 +++++++++++++++---------------------------
>  7 files changed, 49 insertions(+), 145 deletions(-)
> 
> diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
> index 8c398fe..ada8eb2 100644
> --- a/arch/arm/mm/dma-mapping.c
> +++ b/arch/arm/mm/dma-mapping.c
> @@ -466,12 +466,6 @@ void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
>  void __init dma_contiguous_remap(void)
>  {
>  	int i;
> -
> -	if (!dma_mmu_remap_num)
> -		return;
> -
> -	/* call flush_cache_all() since CMA area would be large enough */
> -	flush_cache_all();
>  	for (i = 0; i < dma_mmu_remap_num; i++) {
>  		phys_addr_t start = dma_mmu_remap[i].base;
>  		phys_addr_t end = start + dma_mmu_remap[i].size;
> @@ -504,15 +498,7 @@ void __init dma_contiguous_remap(void)
>  		flush_tlb_kernel_range(__phys_to_virt(start),
>  				       __phys_to_virt(end));
>  
> -		/*
> -		 * All the memory in CMA region will be on ZONE_MOVABLE.
> -		 * If that zone is considered as highmem, the memory in CMA
> -		 * region is also considered as highmem even if it's
> -		 * physical address belong to lowmem. In this case,
> -		 * re-mapping isn't required.
> -		 */
> -		if (!is_highmem_idx(ZONE_MOVABLE))
> -			iotable_init(&map, 1);
> +		iotable_init(&map, 1);
>  	}
>  }
>  
> diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
> index e0e49b5..2b02652 100644
> --- a/include/linux/memory_hotplug.h
> +++ b/include/linux/memory_hotplug.h
> @@ -216,6 +216,9 @@ void put_online_mems(void);
>  void mem_hotplug_begin(void);
>  void mem_hotplug_done(void);
>  
> +extern void set_zone_contiguous(struct zone *zone);
> +extern void clear_zone_contiguous(struct zone *zone);
> +
>  #else /* ! CONFIG_MEMORY_HOTPLUG */
>  #define pfn_to_online_page(pfn)			\
>  ({						\
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index c6fa9a2..02a616e 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
>  
>  extern void zone_pcp_update(struct zone *zone);
>  extern void zone_pcp_reset(struct zone *zone);
> -extern void setup_zone_pageset(struct zone *zone);
>  
>  /* page_alloc.c */
>  extern int min_free_kbytes;
> diff --git a/mm/cma.c b/mm/cma.c
> index aa40e6c..5809bbe 100644
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -39,7 +39,6 @@
>  #include <trace/events/cma.h>
>  
>  #include "cma.h"
> -#include "internal.h"
>  
>  struct cma cma_areas[MAX_CMA_AREAS];
>  unsigned cma_area_count;
> @@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
>  	if (!cma->bitmap)
>  		return -ENOMEM;
>  
> +	WARN_ON_ONCE(!pfn_valid(pfn));
> +	zone = page_zone(pfn_to_page(pfn));
> +
>  	do {
>  		unsigned j;
>  
>  		base_pfn = pfn;
> -		if (!pfn_valid(base_pfn))
> -			goto err;
> -
> -		zone = page_zone(pfn_to_page(base_pfn));
>  		for (j = pageblock_nr_pages; j; --j, pfn++) {
> -			if (!pfn_valid(pfn))
> -				goto err;
> -
> +			WARN_ON_ONCE(!pfn_valid(pfn));
>  			/*
> -			 * In init_cma_reserved_pageblock(), present_pages
> -			 * is adjusted with assumption that all pages in
> -			 * the pageblock come from a single zone.
> +			 * alloc_contig_range requires the pfn range
> +			 * specified to be in the same zone. Make this
> +			 * simple by forcing the entire CMA resv range
> +			 * to be in the same zone.
>  			 */
>  			if (page_zone(pfn_to_page(pfn)) != zone)
> -				goto err;
> +				goto not_in_zone;
>  		}
>  		init_cma_reserved_pageblock(pfn_to_page(base_pfn));
>  	} while (--i);
> @@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
>  
>  	return 0;
>  
> -err:
> +not_in_zone:
>  	pr_err("CMA area %s could not be activated\n", cma->name);
>  	kfree(cma->bitmap);
>  	cma->count = 0;
> @@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
>  static int __init cma_init_reserved_areas(void)
>  {
>  	int i;
> -	struct zone *zone;
> -	pg_data_t *pgdat;
> -
> -	if (!cma_area_count)
> -		return 0;
> -
> -	for_each_online_pgdat(pgdat) {
> -		unsigned long start_pfn = UINT_MAX, end_pfn = 0;
> -
> -		zone = &pgdat->node_zones[ZONE_MOVABLE];
> -
> -		/*
> -		 * In this case, we cannot adjust the zone range
> -		 * since it is now maximum node span and we don't
> -		 * know original zone range.
> -		 */
> -		if (populated_zone(zone))
> -			continue;
> -
> -		for (i = 0; i < cma_area_count; i++) {
> -			if (pfn_to_nid(cma_areas[i].base_pfn) !=
> -				pgdat->node_id)
> -				continue;
> -
> -			start_pfn = min(start_pfn, cma_areas[i].base_pfn);
> -			end_pfn = max(end_pfn, cma_areas[i].base_pfn +
> -						cma_areas[i].count);
> -		}
> -
> -		if (!end_pfn)
> -			continue;
> -
> -		zone->zone_start_pfn = start_pfn;
> -		zone->spanned_pages = end_pfn - start_pfn;
> -	}
>  
>  	for (i = 0; i < cma_area_count; i++) {
>  		int ret = cma_activate_area(&cma_areas[i]);
> @@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
>  			return ret;
>  	}
>  
> -	/*
> -	 * Reserved pages for ZONE_MOVABLE are now activated and
> -	 * this would change ZONE_MOVABLE's managed page counter and
> -	 * the other zones' present counter. We need to re-calculate
> -	 * various zone information that depends on this initialization.
> -	 */
> -	build_all_zonelists(NULL);
> -	for_each_populated_zone(zone) {
> -		if (zone_idx(zone) == ZONE_MOVABLE) {
> -			zone_pcp_reset(zone);
> -			setup_zone_pageset(zone);
> -		} else
> -			zone_pcp_update(zone);
> -
> -		set_zone_contiguous(zone);
> -	}
> -
> -	/*
> -	 * We need to re-init per zone wmark by calling
> -	 * init_per_zone_wmark_min() but doesn't call here because it is
> -	 * registered on core_initcall and it will be called later than us.
> -	 */
> -
>  	return 0;
>  }
> -pure_initcall(cma_init_reserved_areas);
> +core_initcall(cma_init_reserved_areas);
>  
>  /**
>   * cma_init_reserved_mem() - create custom contiguous area from reserved memory
> diff --git a/mm/compaction.c b/mm/compaction.c
> index 028b721..29bd1df 100644
> --- a/mm/compaction.c
> +++ b/mm/compaction.c
> @@ -1450,12 +1450,14 @@ static enum compact_result __compaction_suitable(struct zone *zone, int order,
>  	 * if compaction succeeds.
>  	 * For costly orders, we require low watermark instead of min for
>  	 * compaction to proceed to increase its chances.
> +	 * ALLOC_CMA is used, as pages in CMA pageblocks are considered
> +	 * suitable migration targets
>  	 */
>  	watermark = (order > PAGE_ALLOC_COSTLY_ORDER) ?
>  				low_wmark_pages(zone) : min_wmark_pages(zone);
>  	watermark += compact_gap(order);
>  	if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx,
> -						0, wmark_target))
> +						ALLOC_CMA, wmark_target))
>  		return COMPACT_SKIPPED;
>  
>  	return COMPACT_CONTINUE;
> diff --git a/mm/internal.h b/mm/internal.h
> index 62d8c34..502d141 100644
> --- a/mm/internal.h
> +++ b/mm/internal.h
> @@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
>  					gfp_t gfp_flags);
>  extern int user_min_free_kbytes;
>  
> -extern void set_zone_contiguous(struct zone *zone);
> -extern void clear_zone_contiguous(struct zone *zone);
> -
>  #if defined CONFIG_COMPACTION || defined CONFIG_CMA
>  
>  /*
> @@ -498,6 +495,7 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
>  #define ALLOC_HARDER		0x10 /* try to alloc harder */
>  #define ALLOC_HIGH		0x20 /* __GFP_HIGH set */
>  #define ALLOC_CPUSET		0x40 /* check for correct cpuset */
> +#define ALLOC_CMA		0x80 /* allow allocations from CMA areas */
>  
>  enum ttu_flags;
>  struct tlbflush_unmap_batch;
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 905db9d..511a712 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
>  }
>  
>  #ifdef CONFIG_CMA
> -static void __init adjust_present_page_count(struct page *page, long count)
> -{
> -	struct zone *zone = page_zone(page);
> -
> -	/* We don't need to hold a lock since it is boot-up process */
> -	zone->present_pages += count;
> -}
> -
>  /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
>  void __init init_cma_reserved_pageblock(struct page *page)
>  {
>  	unsigned i = pageblock_nr_pages;
> -	unsigned long pfn = page_to_pfn(page);
>  	struct page *p = page;
> -	int nid = page_to_nid(page);
> -
> -	/*
> -	 * ZONE_MOVABLE will steal present pages from other zones by
> -	 * changing page links so page_zone() is changed. Before that,
> -	 * we need to adjust previous zone's page count first.
> -	 */
> -	adjust_present_page_count(page, -pageblock_nr_pages);
>  
>  	do {
>  		__ClearPageReserved(p);
>  		set_page_count(p, 0);
> -
> -		/* Steal pages from other zones */
> -		set_page_links(p, ZONE_MOVABLE, nid, pfn);
> -	} while (++p, ++pfn, --i);
> -
> -	adjust_present_page_count(page, pageblock_nr_pages);
> +	} while (++p, --i);
>  
>  	set_pageblock_migratetype(page, MIGRATE_CMA);
>  
> @@ -2889,7 +2867,7 @@ int __isolate_free_page(struct page *page, unsigned int order)
>  		 * exists.
>  		 */
>  		watermark = min_wmark_pages(zone) + (1UL << order);
> -		if (!zone_watermark_ok(zone, 0, watermark, 0, 0))
> +		if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA))
>  			return 0;
>  
>  		__mod_zone_freepage_state(zone, -(1UL << order), mt);
> @@ -3165,6 +3143,12 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
>  	}
>  
>  
> +#ifdef CONFIG_CMA
> +	/* If allocation can't use CMA areas don't use free CMA pages */
> +	if (!(alloc_flags & ALLOC_CMA))
> +		free_pages -= zone_page_state(z, NR_FREE_CMA_PAGES);
> +#endif
> +
>  	/*
>  	 * Check watermarks for an order-0 allocation request. If these
>  	 * are not met, then a high-order request also cannot go ahead
> @@ -3191,8 +3175,10 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
>  		}
>  
>  #ifdef CONFIG_CMA
> -		if (!list_empty(&area->free_list[MIGRATE_CMA]))
> +		if ((alloc_flags & ALLOC_CMA) &&
> +		    !list_empty(&area->free_list[MIGRATE_CMA])) {
>  			return true;
> +		}
>  #endif
>  		if (alloc_harder &&
>  			!list_empty(&area->free_list[MIGRATE_HIGHATOMIC]))
> @@ -3212,6 +3198,13 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
>  		unsigned long mark, int classzone_idx, unsigned int alloc_flags)
>  {
>  	long free_pages = zone_page_state(z, NR_FREE_PAGES);
> +	long cma_pages = 0;
> +
> +#ifdef CONFIG_CMA
> +	/* If allocation can't use CMA areas don't use free CMA pages */
> +	if (!(alloc_flags & ALLOC_CMA))
> +		cma_pages = zone_page_state(z, NR_FREE_CMA_PAGES);
> +#endif
>  
>  	/*
>  	 * Fast check for order-0 only. If this fails then the reserves
> @@ -3220,7 +3213,7 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
>  	 * the caller is !atomic then it'll uselessly search the free
>  	 * list. That corner case is then slower but it is harmless.
>  	 */
> -	if (!order && free_pages > mark + z->lowmem_reserve[classzone_idx])
> +	if (!order && (free_pages - cma_pages) > mark + z->lowmem_reserve[classzone_idx])
>  		return true;
>  
>  	return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags,
> @@ -3856,6 +3849,10 @@ gfp_to_alloc_flags(gfp_t gfp_mask)
>  	} else if (unlikely(rt_task(current)) && !in_interrupt())
>  		alloc_flags |= ALLOC_HARDER;
>  
> +#ifdef CONFIG_CMA
> +	if (gfpflags_to_migratetype(gfp_mask) == MIGRATE_MOVABLE)
> +		alloc_flags |= ALLOC_CMA;
> +#endif
>  	return alloc_flags;
>  }
>  
> @@ -4322,6 +4319,9 @@ static inline bool prepare_alloc_pages(gfp_t gfp_mask, unsigned int order,
>  	if (should_fail_alloc_page(gfp_mask, order))
>  		return false;
>  
> +	if (IS_ENABLED(CONFIG_CMA) && ac->migratetype == MIGRATE_MOVABLE)
> +		*alloc_flags |= ALLOC_CMA;
> +
>  	return true;
>  }
>  
> @@ -6204,7 +6204,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>  {
>  	enum zone_type j;
>  	int nid = pgdat->node_id;
> -	unsigned long node_end_pfn = 0;
>  
>  	pgdat_resize_init(pgdat);
>  #ifdef CONFIG_NUMA_BALANCING
> @@ -6232,13 +6231,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>  		struct zone *zone = pgdat->node_zones + j;
>  		unsigned long size, realsize, freesize, memmap_pages;
>  		unsigned long zone_start_pfn = zone->zone_start_pfn;
> -		unsigned long movable_size = 0;
>  
>  		size = zone->spanned_pages;
>  		realsize = freesize = zone->present_pages;
> -		if (zone_end_pfn(zone) > node_end_pfn)
> -			node_end_pfn = zone_end_pfn(zone);
> -
>  
>  		/*
>  		 * Adjust freesize so that it accounts for how much memory
> @@ -6287,30 +6282,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>  		zone_seqlock_init(zone);
>  		zone_pcp_init(zone);
>  
> -		/*
> -		 * The size of the CMA area is unknown now so we need to
> -		 * prepare the memory for the usemap at maximum.
> -		 */
> -		if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
> -			pgdat->node_spanned_pages) {
> -			movable_size = node_end_pfn - pgdat->node_start_pfn;
> -		}
> -
> -		if (!size && !movable_size)
> +		if (!size)
>  			continue;
>  
>  		set_pageblock_order();
> -		if (movable_size) {
> -			zone->zone_start_pfn = pgdat->node_start_pfn;
> -			zone->spanned_pages = movable_size;
> -			setup_usemap(pgdat, zone,
> -				pgdat->node_start_pfn, movable_size);
> -			init_currently_empty_zone(zone,
> -				pgdat->node_start_pfn, movable_size);
> -		} else {
> -			setup_usemap(pgdat, zone, zone_start_pfn, size);
> -			init_currently_empty_zone(zone, zone_start_pfn, size);
> -		}
> +		setup_usemap(pgdat, zone, zone_start_pfn, size);
> +		init_currently_empty_zone(zone, zone_start_pfn, size);
>  		memmap_init(size, nid, j, zone_start_pfn);
>  	}
>  }
> @@ -7951,7 +7928,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
>  }
>  #endif
>  
> -#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
> +#ifdef CONFIG_MEMORY_HOTPLUG
>  /*
>   * The zone indicated has a new number of managed_pages; batch sizes and percpu
>   * page high values need to be recalulated.
> -- 
> 2.7.4
> 

-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-24 11:28   ` Michal Hocko
  0 siblings, 0 replies; 42+ messages in thread
From: Michal Hocko @ 2018-05-24 11:28 UTC (permalink / raw)
  To: js1304
  Cc: Andrew Morton, Vlastimil Babka, Laura Abbott,
	Ville Syrjälä,
	LKML, linux-mm, Joonsoo Kim

On Wed 23-05-18 10:18:21, Joonsoo Kim wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> 
> This reverts the following commits that change CMA design in MM.
> 
> Revert "ARM: CMA: avoid double mapping to the CMA area if CONFIG_HIGHMEM=y"
> This reverts commit 3d2054ad8c2d5100b68b0c0405f89fd90bf4107b.
> 
> Revert "mm/cma: remove ALLOC_CMA"
> This reverts commit 1d47a3ec09b5489cd915e8f492aa623cdab5d002.
> 
> Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> 
> Ville reported a following error on i386.
> 
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
> [    0.000000] Initializing CPU#0
> [    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
> [    0.000000] Initializing Movable for node 0 (00000001:00118000)
> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> [    0.000000] flags: 0x80000000()
> [    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
> [    0.000000] page dumped because: nonzero mapcount
> [    0.000000] Modules linked in:
> [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
> [    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
> [    0.000000] Call Trace:
> [    0.000000]  dump_stack+0x60/0x96
> [    0.000000]  bad_page+0x9a/0x100
> [    0.000000]  free_pages_check_bad+0x3f/0x60
> [    0.000000]  free_pcppages_bulk+0x29d/0x5b0
> [    0.000000]  free_unref_page_commit+0x84/0xb0
> [    0.000000]  free_unref_page+0x3e/0x70
> [    0.000000]  __free_pages+0x1d/0x20
> [    0.000000]  free_highmem_page+0x19/0x40
> [    0.000000]  add_highpages_with_active_regions+0xab/0xeb
> [    0.000000]  set_highmem_pages_init+0x66/0x73
> [    0.000000]  mem_init+0x1b/0x1d7
> [    0.000000]  start_kernel+0x17a/0x363
> [    0.000000]  i386_start_kernel+0x95/0x99
> [    0.000000]  startup_32_smp+0x164/0x168
> 
> Reason for this error is that the span of MOVABLE_ZONE is extended to
> whole node span for future CMA initialization, and, normal memory is
> wrongly freed here. I submitted the fix and it seems to work, but,
> the other problem happened. It's so late time to fix the later problem
> so I decide to reverting the series.
> 
> Reported-by: Ville Syrjala <ville.syrjala@linux.intel.com>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>

OK, if the fix is not straightforward then the revert is the right way
to go.

Acked-by: Michal Hocko <mhocko@suse.com>

> ---
>  arch/arm/mm/dma-mapping.c      | 16 +-------
>  include/linux/memory_hotplug.h |  3 ++
>  include/linux/mm.h             |  1 -
>  mm/cma.c                       | 83 ++++++------------------------------------
>  mm/compaction.c                |  4 +-
>  mm/internal.h                  |  4 +-
>  mm/page_alloc.c                | 83 +++++++++++++++---------------------------
>  7 files changed, 49 insertions(+), 145 deletions(-)
> 
> diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
> index 8c398fe..ada8eb2 100644
> --- a/arch/arm/mm/dma-mapping.c
> +++ b/arch/arm/mm/dma-mapping.c
> @@ -466,12 +466,6 @@ void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
>  void __init dma_contiguous_remap(void)
>  {
>  	int i;
> -
> -	if (!dma_mmu_remap_num)
> -		return;
> -
> -	/* call flush_cache_all() since CMA area would be large enough */
> -	flush_cache_all();
>  	for (i = 0; i < dma_mmu_remap_num; i++) {
>  		phys_addr_t start = dma_mmu_remap[i].base;
>  		phys_addr_t end = start + dma_mmu_remap[i].size;
> @@ -504,15 +498,7 @@ void __init dma_contiguous_remap(void)
>  		flush_tlb_kernel_range(__phys_to_virt(start),
>  				       __phys_to_virt(end));
>  
> -		/*
> -		 * All the memory in CMA region will be on ZONE_MOVABLE.
> -		 * If that zone is considered as highmem, the memory in CMA
> -		 * region is also considered as highmem even if it's
> -		 * physical address belong to lowmem. In this case,
> -		 * re-mapping isn't required.
> -		 */
> -		if (!is_highmem_idx(ZONE_MOVABLE))
> -			iotable_init(&map, 1);
> +		iotable_init(&map, 1);
>  	}
>  }
>  
> diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
> index e0e49b5..2b02652 100644
> --- a/include/linux/memory_hotplug.h
> +++ b/include/linux/memory_hotplug.h
> @@ -216,6 +216,9 @@ void put_online_mems(void);
>  void mem_hotplug_begin(void);
>  void mem_hotplug_done(void);
>  
> +extern void set_zone_contiguous(struct zone *zone);
> +extern void clear_zone_contiguous(struct zone *zone);
> +
>  #else /* ! CONFIG_MEMORY_HOTPLUG */
>  #define pfn_to_online_page(pfn)			\
>  ({						\
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index c6fa9a2..02a616e 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
>  
>  extern void zone_pcp_update(struct zone *zone);
>  extern void zone_pcp_reset(struct zone *zone);
> -extern void setup_zone_pageset(struct zone *zone);
>  
>  /* page_alloc.c */
>  extern int min_free_kbytes;
> diff --git a/mm/cma.c b/mm/cma.c
> index aa40e6c..5809bbe 100644
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -39,7 +39,6 @@
>  #include <trace/events/cma.h>
>  
>  #include "cma.h"
> -#include "internal.h"
>  
>  struct cma cma_areas[MAX_CMA_AREAS];
>  unsigned cma_area_count;
> @@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
>  	if (!cma->bitmap)
>  		return -ENOMEM;
>  
> +	WARN_ON_ONCE(!pfn_valid(pfn));
> +	zone = page_zone(pfn_to_page(pfn));
> +
>  	do {
>  		unsigned j;
>  
>  		base_pfn = pfn;
> -		if (!pfn_valid(base_pfn))
> -			goto err;
> -
> -		zone = page_zone(pfn_to_page(base_pfn));
>  		for (j = pageblock_nr_pages; j; --j, pfn++) {
> -			if (!pfn_valid(pfn))
> -				goto err;
> -
> +			WARN_ON_ONCE(!pfn_valid(pfn));
>  			/*
> -			 * In init_cma_reserved_pageblock(), present_pages
> -			 * is adjusted with assumption that all pages in
> -			 * the pageblock come from a single zone.
> +			 * alloc_contig_range requires the pfn range
> +			 * specified to be in the same zone. Make this
> +			 * simple by forcing the entire CMA resv range
> +			 * to be in the same zone.
>  			 */
>  			if (page_zone(pfn_to_page(pfn)) != zone)
> -				goto err;
> +				goto not_in_zone;
>  		}
>  		init_cma_reserved_pageblock(pfn_to_page(base_pfn));
>  	} while (--i);
> @@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
>  
>  	return 0;
>  
> -err:
> +not_in_zone:
>  	pr_err("CMA area %s could not be activated\n", cma->name);
>  	kfree(cma->bitmap);
>  	cma->count = 0;
> @@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
>  static int __init cma_init_reserved_areas(void)
>  {
>  	int i;
> -	struct zone *zone;
> -	pg_data_t *pgdat;
> -
> -	if (!cma_area_count)
> -		return 0;
> -
> -	for_each_online_pgdat(pgdat) {
> -		unsigned long start_pfn = UINT_MAX, end_pfn = 0;
> -
> -		zone = &pgdat->node_zones[ZONE_MOVABLE];
> -
> -		/*
> -		 * In this case, we cannot adjust the zone range
> -		 * since it is now maximum node span and we don't
> -		 * know original zone range.
> -		 */
> -		if (populated_zone(zone))
> -			continue;
> -
> -		for (i = 0; i < cma_area_count; i++) {
> -			if (pfn_to_nid(cma_areas[i].base_pfn) !=
> -				pgdat->node_id)
> -				continue;
> -
> -			start_pfn = min(start_pfn, cma_areas[i].base_pfn);
> -			end_pfn = max(end_pfn, cma_areas[i].base_pfn +
> -						cma_areas[i].count);
> -		}
> -
> -		if (!end_pfn)
> -			continue;
> -
> -		zone->zone_start_pfn = start_pfn;
> -		zone->spanned_pages = end_pfn - start_pfn;
> -	}
>  
>  	for (i = 0; i < cma_area_count; i++) {
>  		int ret = cma_activate_area(&cma_areas[i]);
> @@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
>  			return ret;
>  	}
>  
> -	/*
> -	 * Reserved pages for ZONE_MOVABLE are now activated and
> -	 * this would change ZONE_MOVABLE's managed page counter and
> -	 * the other zones' present counter. We need to re-calculate
> -	 * various zone information that depends on this initialization.
> -	 */
> -	build_all_zonelists(NULL);
> -	for_each_populated_zone(zone) {
> -		if (zone_idx(zone) == ZONE_MOVABLE) {
> -			zone_pcp_reset(zone);
> -			setup_zone_pageset(zone);
> -		} else
> -			zone_pcp_update(zone);
> -
> -		set_zone_contiguous(zone);
> -	}
> -
> -	/*
> -	 * We need to re-init per zone wmark by calling
> -	 * init_per_zone_wmark_min() but doesn't call here because it is
> -	 * registered on core_initcall and it will be called later than us.
> -	 */
> -
>  	return 0;
>  }
> -pure_initcall(cma_init_reserved_areas);
> +core_initcall(cma_init_reserved_areas);
>  
>  /**
>   * cma_init_reserved_mem() - create custom contiguous area from reserved memory
> diff --git a/mm/compaction.c b/mm/compaction.c
> index 028b721..29bd1df 100644
> --- a/mm/compaction.c
> +++ b/mm/compaction.c
> @@ -1450,12 +1450,14 @@ static enum compact_result __compaction_suitable(struct zone *zone, int order,
>  	 * if compaction succeeds.
>  	 * For costly orders, we require low watermark instead of min for
>  	 * compaction to proceed to increase its chances.
> +	 * ALLOC_CMA is used, as pages in CMA pageblocks are considered
> +	 * suitable migration targets
>  	 */
>  	watermark = (order > PAGE_ALLOC_COSTLY_ORDER) ?
>  				low_wmark_pages(zone) : min_wmark_pages(zone);
>  	watermark += compact_gap(order);
>  	if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx,
> -						0, wmark_target))
> +						ALLOC_CMA, wmark_target))
>  		return COMPACT_SKIPPED;
>  
>  	return COMPACT_CONTINUE;
> diff --git a/mm/internal.h b/mm/internal.h
> index 62d8c34..502d141 100644
> --- a/mm/internal.h
> +++ b/mm/internal.h
> @@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
>  					gfp_t gfp_flags);
>  extern int user_min_free_kbytes;
>  
> -extern void set_zone_contiguous(struct zone *zone);
> -extern void clear_zone_contiguous(struct zone *zone);
> -
>  #if defined CONFIG_COMPACTION || defined CONFIG_CMA
>  
>  /*
> @@ -498,6 +495,7 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
>  #define ALLOC_HARDER		0x10 /* try to alloc harder */
>  #define ALLOC_HIGH		0x20 /* __GFP_HIGH set */
>  #define ALLOC_CPUSET		0x40 /* check for correct cpuset */
> +#define ALLOC_CMA		0x80 /* allow allocations from CMA areas */
>  
>  enum ttu_flags;
>  struct tlbflush_unmap_batch;
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 905db9d..511a712 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
>  }
>  
>  #ifdef CONFIG_CMA
> -static void __init adjust_present_page_count(struct page *page, long count)
> -{
> -	struct zone *zone = page_zone(page);
> -
> -	/* We don't need to hold a lock since it is boot-up process */
> -	zone->present_pages += count;
> -}
> -
>  /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
>  void __init init_cma_reserved_pageblock(struct page *page)
>  {
>  	unsigned i = pageblock_nr_pages;
> -	unsigned long pfn = page_to_pfn(page);
>  	struct page *p = page;
> -	int nid = page_to_nid(page);
> -
> -	/*
> -	 * ZONE_MOVABLE will steal present pages from other zones by
> -	 * changing page links so page_zone() is changed. Before that,
> -	 * we need to adjust previous zone's page count first.
> -	 */
> -	adjust_present_page_count(page, -pageblock_nr_pages);
>  
>  	do {
>  		__ClearPageReserved(p);
>  		set_page_count(p, 0);
> -
> -		/* Steal pages from other zones */
> -		set_page_links(p, ZONE_MOVABLE, nid, pfn);
> -	} while (++p, ++pfn, --i);
> -
> -	adjust_present_page_count(page, pageblock_nr_pages);
> +	} while (++p, --i);
>  
>  	set_pageblock_migratetype(page, MIGRATE_CMA);
>  
> @@ -2889,7 +2867,7 @@ int __isolate_free_page(struct page *page, unsigned int order)
>  		 * exists.
>  		 */
>  		watermark = min_wmark_pages(zone) + (1UL << order);
> -		if (!zone_watermark_ok(zone, 0, watermark, 0, 0))
> +		if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA))
>  			return 0;
>  
>  		__mod_zone_freepage_state(zone, -(1UL << order), mt);
> @@ -3165,6 +3143,12 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
>  	}
>  
>  
> +#ifdef CONFIG_CMA
> +	/* If allocation can't use CMA areas don't use free CMA pages */
> +	if (!(alloc_flags & ALLOC_CMA))
> +		free_pages -= zone_page_state(z, NR_FREE_CMA_PAGES);
> +#endif
> +
>  	/*
>  	 * Check watermarks for an order-0 allocation request. If these
>  	 * are not met, then a high-order request also cannot go ahead
> @@ -3191,8 +3175,10 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
>  		}
>  
>  #ifdef CONFIG_CMA
> -		if (!list_empty(&area->free_list[MIGRATE_CMA]))
> +		if ((alloc_flags & ALLOC_CMA) &&
> +		    !list_empty(&area->free_list[MIGRATE_CMA])) {
>  			return true;
> +		}
>  #endif
>  		if (alloc_harder &&
>  			!list_empty(&area->free_list[MIGRATE_HIGHATOMIC]))
> @@ -3212,6 +3198,13 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
>  		unsigned long mark, int classzone_idx, unsigned int alloc_flags)
>  {
>  	long free_pages = zone_page_state(z, NR_FREE_PAGES);
> +	long cma_pages = 0;
> +
> +#ifdef CONFIG_CMA
> +	/* If allocation can't use CMA areas don't use free CMA pages */
> +	if (!(alloc_flags & ALLOC_CMA))
> +		cma_pages = zone_page_state(z, NR_FREE_CMA_PAGES);
> +#endif
>  
>  	/*
>  	 * Fast check for order-0 only. If this fails then the reserves
> @@ -3220,7 +3213,7 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
>  	 * the caller is !atomic then it'll uselessly search the free
>  	 * list. That corner case is then slower but it is harmless.
>  	 */
> -	if (!order && free_pages > mark + z->lowmem_reserve[classzone_idx])
> +	if (!order && (free_pages - cma_pages) > mark + z->lowmem_reserve[classzone_idx])
>  		return true;
>  
>  	return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags,
> @@ -3856,6 +3849,10 @@ gfp_to_alloc_flags(gfp_t gfp_mask)
>  	} else if (unlikely(rt_task(current)) && !in_interrupt())
>  		alloc_flags |= ALLOC_HARDER;
>  
> +#ifdef CONFIG_CMA
> +	if (gfpflags_to_migratetype(gfp_mask) == MIGRATE_MOVABLE)
> +		alloc_flags |= ALLOC_CMA;
> +#endif
>  	return alloc_flags;
>  }
>  
> @@ -4322,6 +4319,9 @@ static inline bool prepare_alloc_pages(gfp_t gfp_mask, unsigned int order,
>  	if (should_fail_alloc_page(gfp_mask, order))
>  		return false;
>  
> +	if (IS_ENABLED(CONFIG_CMA) && ac->migratetype == MIGRATE_MOVABLE)
> +		*alloc_flags |= ALLOC_CMA;
> +
>  	return true;
>  }
>  
> @@ -6204,7 +6204,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>  {
>  	enum zone_type j;
>  	int nid = pgdat->node_id;
> -	unsigned long node_end_pfn = 0;
>  
>  	pgdat_resize_init(pgdat);
>  #ifdef CONFIG_NUMA_BALANCING
> @@ -6232,13 +6231,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>  		struct zone *zone = pgdat->node_zones + j;
>  		unsigned long size, realsize, freesize, memmap_pages;
>  		unsigned long zone_start_pfn = zone->zone_start_pfn;
> -		unsigned long movable_size = 0;
>  
>  		size = zone->spanned_pages;
>  		realsize = freesize = zone->present_pages;
> -		if (zone_end_pfn(zone) > node_end_pfn)
> -			node_end_pfn = zone_end_pfn(zone);
> -
>  
>  		/*
>  		 * Adjust freesize so that it accounts for how much memory
> @@ -6287,30 +6282,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>  		zone_seqlock_init(zone);
>  		zone_pcp_init(zone);
>  
> -		/*
> -		 * The size of the CMA area is unknown now so we need to
> -		 * prepare the memory for the usemap at maximum.
> -		 */
> -		if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
> -			pgdat->node_spanned_pages) {
> -			movable_size = node_end_pfn - pgdat->node_start_pfn;
> -		}
> -
> -		if (!size && !movable_size)
> +		if (!size)
>  			continue;
>  
>  		set_pageblock_order();
> -		if (movable_size) {
> -			zone->zone_start_pfn = pgdat->node_start_pfn;
> -			zone->spanned_pages = movable_size;
> -			setup_usemap(pgdat, zone,
> -				pgdat->node_start_pfn, movable_size);
> -			init_currently_empty_zone(zone,
> -				pgdat->node_start_pfn, movable_size);
> -		} else {
> -			setup_usemap(pgdat, zone, zone_start_pfn, size);
> -			init_currently_empty_zone(zone, zone_start_pfn, size);
> -		}
> +		setup_usemap(pgdat, zone, zone_start_pfn, size);
> +		init_currently_empty_zone(zone, zone_start_pfn, size);
>  		memmap_init(size, nid, j, zone_start_pfn);
>  	}
>  }
> @@ -7951,7 +7928,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
>  }
>  #endif
>  
> -#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
> +#ifdef CONFIG_MEMORY_HOTPLUG
>  /*
>   * The zone indicated has a new number of managed_pages; batch sizes and percpu
>   * page high values need to be recalulated.
> -- 
> 2.7.4
> 

-- 
Michal Hocko
SUSE Labs

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
  2018-05-23  1:18 ` js1304
@ 2018-05-23 18:54   ` Laura Abbott
  -1 siblings, 0 replies; 42+ messages in thread
From: Laura Abbott @ 2018-05-23 18:54 UTC (permalink / raw)
  To: js1304, Andrew Morton
  Cc: Vlastimil Babka, Michal Hocko, Laura Abbott,
	Ville Syrjälä,
	LKML, linux-mm, Joonsoo Kim

On 05/22/2018 06:18 PM, js1304@gmail.com wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> 
> This reverts the following commits that change CMA design in MM.
> 
> Revert "ARM: CMA: avoid double mapping to the CMA area if CONFIG_HIGHMEM=y"
> This reverts commit 3d2054ad8c2d5100b68b0c0405f89fd90bf4107b.
> 
> Revert "mm/cma: remove ALLOC_CMA"
> This reverts commit 1d47a3ec09b5489cd915e8f492aa623cdab5d002.
> 
> Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> 
> Ville reported a following error on i386.
> 
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
> [    0.000000] Initializing CPU#0
> [    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
> [    0.000000] Initializing Movable for node 0 (00000001:00118000)
> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> [    0.000000] flags: 0x80000000()
> [    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
> [    0.000000] page dumped because: nonzero mapcount
> [    0.000000] Modules linked in:
> [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
> [    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
> [    0.000000] Call Trace:
> [    0.000000]  dump_stack+0x60/0x96
> [    0.000000]  bad_page+0x9a/0x100
> [    0.000000]  free_pages_check_bad+0x3f/0x60
> [    0.000000]  free_pcppages_bulk+0x29d/0x5b0
> [    0.000000]  free_unref_page_commit+0x84/0xb0
> [    0.000000]  free_unref_page+0x3e/0x70
> [    0.000000]  __free_pages+0x1d/0x20
> [    0.000000]  free_highmem_page+0x19/0x40
> [    0.000000]  add_highpages_with_active_regions+0xab/0xeb
> [    0.000000]  set_highmem_pages_init+0x66/0x73
> [    0.000000]  mem_init+0x1b/0x1d7
> [    0.000000]  start_kernel+0x17a/0x363
> [    0.000000]  i386_start_kernel+0x95/0x99
> [    0.000000]  startup_32_smp+0x164/0x168
> 
> Reason for this error is that the span of MOVABLE_ZONE is extended to
> whole node span for future CMA initialization, and, normal memory is
> wrongly freed here. I submitted the fix and it seems to work, but,
> the other problem happened. It's so late time to fix the later problem
> so I decide to reverting the series.
> 

Acked-by: Laura Abbott <labbott@redhat.com>


> Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> ---
>   arch/arm/mm/dma-mapping.c      | 16 +-------
>   include/linux/memory_hotplug.h |  3 ++
>   include/linux/mm.h             |  1 -
>   mm/cma.c                       | 83 ++++++------------------------------------
>   mm/compaction.c                |  4 +-
>   mm/internal.h                  |  4 +-
>   mm/page_alloc.c                | 83 +++++++++++++++---------------------------
>   7 files changed, 49 insertions(+), 145 deletions(-)
> 
> diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
> index 8c398fe..ada8eb2 100644
> --- a/arch/arm/mm/dma-mapping.c
> +++ b/arch/arm/mm/dma-mapping.c
> @@ -466,12 +466,6 @@ void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
>   void __init dma_contiguous_remap(void)
>   {
>   	int i;
> -
> -	if (!dma_mmu_remap_num)
> -		return;
> -
> -	/* call flush_cache_all() since CMA area would be large enough */
> -	flush_cache_all();
>   	for (i = 0; i < dma_mmu_remap_num; i++) {
>   		phys_addr_t start = dma_mmu_remap[i].base;
>   		phys_addr_t end = start + dma_mmu_remap[i].size;
> @@ -504,15 +498,7 @@ void __init dma_contiguous_remap(void)
>   		flush_tlb_kernel_range(__phys_to_virt(start),
>   				       __phys_to_virt(end));
>   
> -		/*
> -		 * All the memory in CMA region will be on ZONE_MOVABLE.
> -		 * If that zone is considered as highmem, the memory in CMA
> -		 * region is also considered as highmem even if it's
> -		 * physical address belong to lowmem. In this case,
> -		 * re-mapping isn't required.
> -		 */
> -		if (!is_highmem_idx(ZONE_MOVABLE))
> -			iotable_init(&map, 1);
> +		iotable_init(&map, 1);
>   	}
>   }
>   
> diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
> index e0e49b5..2b02652 100644
> --- a/include/linux/memory_hotplug.h
> +++ b/include/linux/memory_hotplug.h
> @@ -216,6 +216,9 @@ void put_online_mems(void);
>   void mem_hotplug_begin(void);
>   void mem_hotplug_done(void);
>   
> +extern void set_zone_contiguous(struct zone *zone);
> +extern void clear_zone_contiguous(struct zone *zone);
> +
>   #else /* ! CONFIG_MEMORY_HOTPLUG */
>   #define pfn_to_online_page(pfn)			\
>   ({						\
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index c6fa9a2..02a616e 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
>   
>   extern void zone_pcp_update(struct zone *zone);
>   extern void zone_pcp_reset(struct zone *zone);
> -extern void setup_zone_pageset(struct zone *zone);
>   
>   /* page_alloc.c */
>   extern int min_free_kbytes;
> diff --git a/mm/cma.c b/mm/cma.c
> index aa40e6c..5809bbe 100644
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -39,7 +39,6 @@
>   #include <trace/events/cma.h>
>   
>   #include "cma.h"
> -#include "internal.h"
>   
>   struct cma cma_areas[MAX_CMA_AREAS];
>   unsigned cma_area_count;
> @@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
>   	if (!cma->bitmap)
>   		return -ENOMEM;
>   
> +	WARN_ON_ONCE(!pfn_valid(pfn));
> +	zone = page_zone(pfn_to_page(pfn));
> +
>   	do {
>   		unsigned j;
>   
>   		base_pfn = pfn;
> -		if (!pfn_valid(base_pfn))
> -			goto err;
> -
> -		zone = page_zone(pfn_to_page(base_pfn));
>   		for (j = pageblock_nr_pages; j; --j, pfn++) {
> -			if (!pfn_valid(pfn))
> -				goto err;
> -
> +			WARN_ON_ONCE(!pfn_valid(pfn));
>   			/*
> -			 * In init_cma_reserved_pageblock(), present_pages
> -			 * is adjusted with assumption that all pages in
> -			 * the pageblock come from a single zone.
> +			 * alloc_contig_range requires the pfn range
> +			 * specified to be in the same zone. Make this
> +			 * simple by forcing the entire CMA resv range
> +			 * to be in the same zone.
>   			 */
>   			if (page_zone(pfn_to_page(pfn)) != zone)
> -				goto err;
> +				goto not_in_zone;
>   		}
>   		init_cma_reserved_pageblock(pfn_to_page(base_pfn));
>   	} while (--i);
> @@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
>   
>   	return 0;
>   
> -err:
> +not_in_zone:
>   	pr_err("CMA area %s could not be activated\n", cma->name);
>   	kfree(cma->bitmap);
>   	cma->count = 0;
> @@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
>   static int __init cma_init_reserved_areas(void)
>   {
>   	int i;
> -	struct zone *zone;
> -	pg_data_t *pgdat;
> -
> -	if (!cma_area_count)
> -		return 0;
> -
> -	for_each_online_pgdat(pgdat) {
> -		unsigned long start_pfn = UINT_MAX, end_pfn = 0;
> -
> -		zone = &pgdat->node_zones[ZONE_MOVABLE];
> -
> -		/*
> -		 * In this case, we cannot adjust the zone range
> -		 * since it is now maximum node span and we don't
> -		 * know original zone range.
> -		 */
> -		if (populated_zone(zone))
> -			continue;
> -
> -		for (i = 0; i < cma_area_count; i++) {
> -			if (pfn_to_nid(cma_areas[i].base_pfn) !=
> -				pgdat->node_id)
> -				continue;
> -
> -			start_pfn = min(start_pfn, cma_areas[i].base_pfn);
> -			end_pfn = max(end_pfn, cma_areas[i].base_pfn +
> -						cma_areas[i].count);
> -		}
> -
> -		if (!end_pfn)
> -			continue;
> -
> -		zone->zone_start_pfn = start_pfn;
> -		zone->spanned_pages = end_pfn - start_pfn;
> -	}
>   
>   	for (i = 0; i < cma_area_count; i++) {
>   		int ret = cma_activate_area(&cma_areas[i]);
> @@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
>   			return ret;
>   	}
>   
> -	/*
> -	 * Reserved pages for ZONE_MOVABLE are now activated and
> -	 * this would change ZONE_MOVABLE's managed page counter and
> -	 * the other zones' present counter. We need to re-calculate
> -	 * various zone information that depends on this initialization.
> -	 */
> -	build_all_zonelists(NULL);
> -	for_each_populated_zone(zone) {
> -		if (zone_idx(zone) == ZONE_MOVABLE) {
> -			zone_pcp_reset(zone);
> -			setup_zone_pageset(zone);
> -		} else
> -			zone_pcp_update(zone);
> -
> -		set_zone_contiguous(zone);
> -	}
> -
> -	/*
> -	 * We need to re-init per zone wmark by calling
> -	 * init_per_zone_wmark_min() but doesn't call here because it is
> -	 * registered on core_initcall and it will be called later than us.
> -	 */
> -
>   	return 0;
>   }
> -pure_initcall(cma_init_reserved_areas);
> +core_initcall(cma_init_reserved_areas);
>   
>   /**
>    * cma_init_reserved_mem() - create custom contiguous area from reserved memory
> diff --git a/mm/compaction.c b/mm/compaction.c
> index 028b721..29bd1df 100644
> --- a/mm/compaction.c
> +++ b/mm/compaction.c
> @@ -1450,12 +1450,14 @@ static enum compact_result __compaction_suitable(struct zone *zone, int order,
>   	 * if compaction succeeds.
>   	 * For costly orders, we require low watermark instead of min for
>   	 * compaction to proceed to increase its chances.
> +	 * ALLOC_CMA is used, as pages in CMA pageblocks are considered
> +	 * suitable migration targets
>   	 */
>   	watermark = (order > PAGE_ALLOC_COSTLY_ORDER) ?
>   				low_wmark_pages(zone) : min_wmark_pages(zone);
>   	watermark += compact_gap(order);
>   	if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx,
> -						0, wmark_target))
> +						ALLOC_CMA, wmark_target))
>   		return COMPACT_SKIPPED;
>   
>   	return COMPACT_CONTINUE;
> diff --git a/mm/internal.h b/mm/internal.h
> index 62d8c34..502d141 100644
> --- a/mm/internal.h
> +++ b/mm/internal.h
> @@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
>   					gfp_t gfp_flags);
>   extern int user_min_free_kbytes;
>   
> -extern void set_zone_contiguous(struct zone *zone);
> -extern void clear_zone_contiguous(struct zone *zone);
> -
>   #if defined CONFIG_COMPACTION || defined CONFIG_CMA
>   
>   /*
> @@ -498,6 +495,7 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
>   #define ALLOC_HARDER		0x10 /* try to alloc harder */
>   #define ALLOC_HIGH		0x20 /* __GFP_HIGH set */
>   #define ALLOC_CPUSET		0x40 /* check for correct cpuset */
> +#define ALLOC_CMA		0x80 /* allow allocations from CMA areas */
>   
>   enum ttu_flags;
>   struct tlbflush_unmap_batch;
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 905db9d..511a712 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
>   }
>   
>   #ifdef CONFIG_CMA
> -static void __init adjust_present_page_count(struct page *page, long count)
> -{
> -	struct zone *zone = page_zone(page);
> -
> -	/* We don't need to hold a lock since it is boot-up process */
> -	zone->present_pages += count;
> -}
> -
>   /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
>   void __init init_cma_reserved_pageblock(struct page *page)
>   {
>   	unsigned i = pageblock_nr_pages;
> -	unsigned long pfn = page_to_pfn(page);
>   	struct page *p = page;
> -	int nid = page_to_nid(page);
> -
> -	/*
> -	 * ZONE_MOVABLE will steal present pages from other zones by
> -	 * changing page links so page_zone() is changed. Before that,
> -	 * we need to adjust previous zone's page count first.
> -	 */
> -	adjust_present_page_count(page, -pageblock_nr_pages);
>   
>   	do {
>   		__ClearPageReserved(p);
>   		set_page_count(p, 0);
> -
> -		/* Steal pages from other zones */
> -		set_page_links(p, ZONE_MOVABLE, nid, pfn);
> -	} while (++p, ++pfn, --i);
> -
> -	adjust_present_page_count(page, pageblock_nr_pages);
> +	} while (++p, --i);
>   
>   	set_pageblock_migratetype(page, MIGRATE_CMA);
>   
> @@ -2889,7 +2867,7 @@ int __isolate_free_page(struct page *page, unsigned int order)
>   		 * exists.
>   		 */
>   		watermark = min_wmark_pages(zone) + (1UL << order);
> -		if (!zone_watermark_ok(zone, 0, watermark, 0, 0))
> +		if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA))
>   			return 0;
>   
>   		__mod_zone_freepage_state(zone, -(1UL << order), mt);
> @@ -3165,6 +3143,12 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
>   	}
>   
>   
> +#ifdef CONFIG_CMA
> +	/* If allocation can't use CMA areas don't use free CMA pages */
> +	if (!(alloc_flags & ALLOC_CMA))
> +		free_pages -= zone_page_state(z, NR_FREE_CMA_PAGES);
> +#endif
> +
>   	/*
>   	 * Check watermarks for an order-0 allocation request. If these
>   	 * are not met, then a high-order request also cannot go ahead
> @@ -3191,8 +3175,10 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
>   		}
>   
>   #ifdef CONFIG_CMA
> -		if (!list_empty(&area->free_list[MIGRATE_CMA]))
> +		if ((alloc_flags & ALLOC_CMA) &&
> +		    !list_empty(&area->free_list[MIGRATE_CMA])) {
>   			return true;
> +		}
>   #endif
>   		if (alloc_harder &&
>   			!list_empty(&area->free_list[MIGRATE_HIGHATOMIC]))
> @@ -3212,6 +3198,13 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
>   		unsigned long mark, int classzone_idx, unsigned int alloc_flags)
>   {
>   	long free_pages = zone_page_state(z, NR_FREE_PAGES);
> +	long cma_pages = 0;
> +
> +#ifdef CONFIG_CMA
> +	/* If allocation can't use CMA areas don't use free CMA pages */
> +	if (!(alloc_flags & ALLOC_CMA))
> +		cma_pages = zone_page_state(z, NR_FREE_CMA_PAGES);
> +#endif
>   
>   	/*
>   	 * Fast check for order-0 only. If this fails then the reserves
> @@ -3220,7 +3213,7 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
>   	 * the caller is !atomic then it'll uselessly search the free
>   	 * list. That corner case is then slower but it is harmless.
>   	 */
> -	if (!order && free_pages > mark + z->lowmem_reserve[classzone_idx])
> +	if (!order && (free_pages - cma_pages) > mark + z->lowmem_reserve[classzone_idx])
>   		return true;
>   
>   	return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags,
> @@ -3856,6 +3849,10 @@ gfp_to_alloc_flags(gfp_t gfp_mask)
>   	} else if (unlikely(rt_task(current)) && !in_interrupt())
>   		alloc_flags |= ALLOC_HARDER;
>   
> +#ifdef CONFIG_CMA
> +	if (gfpflags_to_migratetype(gfp_mask) == MIGRATE_MOVABLE)
> +		alloc_flags |= ALLOC_CMA;
> +#endif
>   	return alloc_flags;
>   }
>   
> @@ -4322,6 +4319,9 @@ static inline bool prepare_alloc_pages(gfp_t gfp_mask, unsigned int order,
>   	if (should_fail_alloc_page(gfp_mask, order))
>   		return false;
>   
> +	if (IS_ENABLED(CONFIG_CMA) && ac->migratetype == MIGRATE_MOVABLE)
> +		*alloc_flags |= ALLOC_CMA;
> +
>   	return true;
>   }
>   
> @@ -6204,7 +6204,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>   {
>   	enum zone_type j;
>   	int nid = pgdat->node_id;
> -	unsigned long node_end_pfn = 0;
>   
>   	pgdat_resize_init(pgdat);
>   #ifdef CONFIG_NUMA_BALANCING
> @@ -6232,13 +6231,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>   		struct zone *zone = pgdat->node_zones + j;
>   		unsigned long size, realsize, freesize, memmap_pages;
>   		unsigned long zone_start_pfn = zone->zone_start_pfn;
> -		unsigned long movable_size = 0;
>   
>   		size = zone->spanned_pages;
>   		realsize = freesize = zone->present_pages;
> -		if (zone_end_pfn(zone) > node_end_pfn)
> -			node_end_pfn = zone_end_pfn(zone);
> -
>   
>   		/*
>   		 * Adjust freesize so that it accounts for how much memory
> @@ -6287,30 +6282,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>   		zone_seqlock_init(zone);
>   		zone_pcp_init(zone);
>   
> -		/*
> -		 * The size of the CMA area is unknown now so we need to
> -		 * prepare the memory for the usemap at maximum.
> -		 */
> -		if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
> -			pgdat->node_spanned_pages) {
> -			movable_size = node_end_pfn - pgdat->node_start_pfn;
> -		}
> -
> -		if (!size && !movable_size)
> +		if (!size)
>   			continue;
>   
>   		set_pageblock_order();
> -		if (movable_size) {
> -			zone->zone_start_pfn = pgdat->node_start_pfn;
> -			zone->spanned_pages = movable_size;
> -			setup_usemap(pgdat, zone,
> -				pgdat->node_start_pfn, movable_size);
> -			init_currently_empty_zone(zone,
> -				pgdat->node_start_pfn, movable_size);
> -		} else {
> -			setup_usemap(pgdat, zone, zone_start_pfn, size);
> -			init_currently_empty_zone(zone, zone_start_pfn, size);
> -		}
> +		setup_usemap(pgdat, zone, zone_start_pfn, size);
> +		init_currently_empty_zone(zone, zone_start_pfn, size);
>   		memmap_init(size, nid, j, zone_start_pfn);
>   	}
>   }
> @@ -7951,7 +7928,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
>   }
>   #endif
>   
> -#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
> +#ifdef CONFIG_MEMORY_HOTPLUG
>   /*
>    * The zone indicated has a new number of managed_pages; batch sizes and percpu
>    * page high values need to be recalulated.
> 

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

* Re: [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-23 18:54   ` Laura Abbott
  0 siblings, 0 replies; 42+ messages in thread
From: Laura Abbott @ 2018-05-23 18:54 UTC (permalink / raw)
  To: js1304, Andrew Morton
  Cc: Vlastimil Babka, Michal Hocko, Laura Abbott,
	Ville Syrjälä,
	LKML, linux-mm, Joonsoo Kim

On 05/22/2018 06:18 PM, js1304@gmail.com wrote:
> From: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> 
> This reverts the following commits that change CMA design in MM.
> 
> Revert "ARM: CMA: avoid double mapping to the CMA area if CONFIG_HIGHMEM=y"
> This reverts commit 3d2054ad8c2d5100b68b0c0405f89fd90bf4107b.
> 
> Revert "mm/cma: remove ALLOC_CMA"
> This reverts commit 1d47a3ec09b5489cd915e8f492aa623cdab5d002.
> 
> Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
> This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.
> 
> Ville reported a following error on i386.
> 
> [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
> [    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
> [    0.000000] Initializing CPU#0
> [    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
> [    0.000000] Initializing Movable for node 0 (00000001:00118000)
> [    0.000000] BUG: Bad page state in process swapper  pfn:377fe
> [    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
> [    0.000000] flags: 0x80000000()
> [    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
> [    0.000000] page dumped because: nonzero mapcount
> [    0.000000] Modules linked in:
> [    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
> [    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
> [    0.000000] Call Trace:
> [    0.000000]  dump_stack+0x60/0x96
> [    0.000000]  bad_page+0x9a/0x100
> [    0.000000]  free_pages_check_bad+0x3f/0x60
> [    0.000000]  free_pcppages_bulk+0x29d/0x5b0
> [    0.000000]  free_unref_page_commit+0x84/0xb0
> [    0.000000]  free_unref_page+0x3e/0x70
> [    0.000000]  __free_pages+0x1d/0x20
> [    0.000000]  free_highmem_page+0x19/0x40
> [    0.000000]  add_highpages_with_active_regions+0xab/0xeb
> [    0.000000]  set_highmem_pages_init+0x66/0x73
> [    0.000000]  mem_init+0x1b/0x1d7
> [    0.000000]  start_kernel+0x17a/0x363
> [    0.000000]  i386_start_kernel+0x95/0x99
> [    0.000000]  startup_32_smp+0x164/0x168
> 
> Reason for this error is that the span of MOVABLE_ZONE is extended to
> whole node span for future CMA initialization, and, normal memory is
> wrongly freed here. I submitted the fix and it seems to work, but,
> the other problem happened. It's so late time to fix the later problem
> so I decide to reverting the series.
> 

Acked-by: Laura Abbott <labbott@redhat.com>


> Reported-by: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>
> Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
> ---
>   arch/arm/mm/dma-mapping.c      | 16 +-------
>   include/linux/memory_hotplug.h |  3 ++
>   include/linux/mm.h             |  1 -
>   mm/cma.c                       | 83 ++++++------------------------------------
>   mm/compaction.c                |  4 +-
>   mm/internal.h                  |  4 +-
>   mm/page_alloc.c                | 83 +++++++++++++++---------------------------
>   7 files changed, 49 insertions(+), 145 deletions(-)
> 
> diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
> index 8c398fe..ada8eb2 100644
> --- a/arch/arm/mm/dma-mapping.c
> +++ b/arch/arm/mm/dma-mapping.c
> @@ -466,12 +466,6 @@ void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
>   void __init dma_contiguous_remap(void)
>   {
>   	int i;
> -
> -	if (!dma_mmu_remap_num)
> -		return;
> -
> -	/* call flush_cache_all() since CMA area would be large enough */
> -	flush_cache_all();
>   	for (i = 0; i < dma_mmu_remap_num; i++) {
>   		phys_addr_t start = dma_mmu_remap[i].base;
>   		phys_addr_t end = start + dma_mmu_remap[i].size;
> @@ -504,15 +498,7 @@ void __init dma_contiguous_remap(void)
>   		flush_tlb_kernel_range(__phys_to_virt(start),
>   				       __phys_to_virt(end));
>   
> -		/*
> -		 * All the memory in CMA region will be on ZONE_MOVABLE.
> -		 * If that zone is considered as highmem, the memory in CMA
> -		 * region is also considered as highmem even if it's
> -		 * physical address belong to lowmem. In this case,
> -		 * re-mapping isn't required.
> -		 */
> -		if (!is_highmem_idx(ZONE_MOVABLE))
> -			iotable_init(&map, 1);
> +		iotable_init(&map, 1);
>   	}
>   }
>   
> diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
> index e0e49b5..2b02652 100644
> --- a/include/linux/memory_hotplug.h
> +++ b/include/linux/memory_hotplug.h
> @@ -216,6 +216,9 @@ void put_online_mems(void);
>   void mem_hotplug_begin(void);
>   void mem_hotplug_done(void);
>   
> +extern void set_zone_contiguous(struct zone *zone);
> +extern void clear_zone_contiguous(struct zone *zone);
> +
>   #else /* ! CONFIG_MEMORY_HOTPLUG */
>   #define pfn_to_online_page(pfn)			\
>   ({						\
> diff --git a/include/linux/mm.h b/include/linux/mm.h
> index c6fa9a2..02a616e 100644
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h
> @@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
>   
>   extern void zone_pcp_update(struct zone *zone);
>   extern void zone_pcp_reset(struct zone *zone);
> -extern void setup_zone_pageset(struct zone *zone);
>   
>   /* page_alloc.c */
>   extern int min_free_kbytes;
> diff --git a/mm/cma.c b/mm/cma.c
> index aa40e6c..5809bbe 100644
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -39,7 +39,6 @@
>   #include <trace/events/cma.h>
>   
>   #include "cma.h"
> -#include "internal.h"
>   
>   struct cma cma_areas[MAX_CMA_AREAS];
>   unsigned cma_area_count;
> @@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
>   	if (!cma->bitmap)
>   		return -ENOMEM;
>   
> +	WARN_ON_ONCE(!pfn_valid(pfn));
> +	zone = page_zone(pfn_to_page(pfn));
> +
>   	do {
>   		unsigned j;
>   
>   		base_pfn = pfn;
> -		if (!pfn_valid(base_pfn))
> -			goto err;
> -
> -		zone = page_zone(pfn_to_page(base_pfn));
>   		for (j = pageblock_nr_pages; j; --j, pfn++) {
> -			if (!pfn_valid(pfn))
> -				goto err;
> -
> +			WARN_ON_ONCE(!pfn_valid(pfn));
>   			/*
> -			 * In init_cma_reserved_pageblock(), present_pages
> -			 * is adjusted with assumption that all pages in
> -			 * the pageblock come from a single zone.
> +			 * alloc_contig_range requires the pfn range
> +			 * specified to be in the same zone. Make this
> +			 * simple by forcing the entire CMA resv range
> +			 * to be in the same zone.
>   			 */
>   			if (page_zone(pfn_to_page(pfn)) != zone)
> -				goto err;
> +				goto not_in_zone;
>   		}
>   		init_cma_reserved_pageblock(pfn_to_page(base_pfn));
>   	} while (--i);
> @@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
>   
>   	return 0;
>   
> -err:
> +not_in_zone:
>   	pr_err("CMA area %s could not be activated\n", cma->name);
>   	kfree(cma->bitmap);
>   	cma->count = 0;
> @@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
>   static int __init cma_init_reserved_areas(void)
>   {
>   	int i;
> -	struct zone *zone;
> -	pg_data_t *pgdat;
> -
> -	if (!cma_area_count)
> -		return 0;
> -
> -	for_each_online_pgdat(pgdat) {
> -		unsigned long start_pfn = UINT_MAX, end_pfn = 0;
> -
> -		zone = &pgdat->node_zones[ZONE_MOVABLE];
> -
> -		/*
> -		 * In this case, we cannot adjust the zone range
> -		 * since it is now maximum node span and we don't
> -		 * know original zone range.
> -		 */
> -		if (populated_zone(zone))
> -			continue;
> -
> -		for (i = 0; i < cma_area_count; i++) {
> -			if (pfn_to_nid(cma_areas[i].base_pfn) !=
> -				pgdat->node_id)
> -				continue;
> -
> -			start_pfn = min(start_pfn, cma_areas[i].base_pfn);
> -			end_pfn = max(end_pfn, cma_areas[i].base_pfn +
> -						cma_areas[i].count);
> -		}
> -
> -		if (!end_pfn)
> -			continue;
> -
> -		zone->zone_start_pfn = start_pfn;
> -		zone->spanned_pages = end_pfn - start_pfn;
> -	}
>   
>   	for (i = 0; i < cma_area_count; i++) {
>   		int ret = cma_activate_area(&cma_areas[i]);
> @@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
>   			return ret;
>   	}
>   
> -	/*
> -	 * Reserved pages for ZONE_MOVABLE are now activated and
> -	 * this would change ZONE_MOVABLE's managed page counter and
> -	 * the other zones' present counter. We need to re-calculate
> -	 * various zone information that depends on this initialization.
> -	 */
> -	build_all_zonelists(NULL);
> -	for_each_populated_zone(zone) {
> -		if (zone_idx(zone) == ZONE_MOVABLE) {
> -			zone_pcp_reset(zone);
> -			setup_zone_pageset(zone);
> -		} else
> -			zone_pcp_update(zone);
> -
> -		set_zone_contiguous(zone);
> -	}
> -
> -	/*
> -	 * We need to re-init per zone wmark by calling
> -	 * init_per_zone_wmark_min() but doesn't call here because it is
> -	 * registered on core_initcall and it will be called later than us.
> -	 */
> -
>   	return 0;
>   }
> -pure_initcall(cma_init_reserved_areas);
> +core_initcall(cma_init_reserved_areas);
>   
>   /**
>    * cma_init_reserved_mem() - create custom contiguous area from reserved memory
> diff --git a/mm/compaction.c b/mm/compaction.c
> index 028b721..29bd1df 100644
> --- a/mm/compaction.c
> +++ b/mm/compaction.c
> @@ -1450,12 +1450,14 @@ static enum compact_result __compaction_suitable(struct zone *zone, int order,
>   	 * if compaction succeeds.
>   	 * For costly orders, we require low watermark instead of min for
>   	 * compaction to proceed to increase its chances.
> +	 * ALLOC_CMA is used, as pages in CMA pageblocks are considered
> +	 * suitable migration targets
>   	 */
>   	watermark = (order > PAGE_ALLOC_COSTLY_ORDER) ?
>   				low_wmark_pages(zone) : min_wmark_pages(zone);
>   	watermark += compact_gap(order);
>   	if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx,
> -						0, wmark_target))
> +						ALLOC_CMA, wmark_target))
>   		return COMPACT_SKIPPED;
>   
>   	return COMPACT_CONTINUE;
> diff --git a/mm/internal.h b/mm/internal.h
> index 62d8c34..502d141 100644
> --- a/mm/internal.h
> +++ b/mm/internal.h
> @@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
>   					gfp_t gfp_flags);
>   extern int user_min_free_kbytes;
>   
> -extern void set_zone_contiguous(struct zone *zone);
> -extern void clear_zone_contiguous(struct zone *zone);
> -
>   #if defined CONFIG_COMPACTION || defined CONFIG_CMA
>   
>   /*
> @@ -498,6 +495,7 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
>   #define ALLOC_HARDER		0x10 /* try to alloc harder */
>   #define ALLOC_HIGH		0x20 /* __GFP_HIGH set */
>   #define ALLOC_CPUSET		0x40 /* check for correct cpuset */
> +#define ALLOC_CMA		0x80 /* allow allocations from CMA areas */
>   
>   enum ttu_flags;
>   struct tlbflush_unmap_batch;
> diff --git a/mm/page_alloc.c b/mm/page_alloc.c
> index 905db9d..511a712 100644
> --- a/mm/page_alloc.c
> +++ b/mm/page_alloc.c
> @@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
>   }
>   
>   #ifdef CONFIG_CMA
> -static void __init adjust_present_page_count(struct page *page, long count)
> -{
> -	struct zone *zone = page_zone(page);
> -
> -	/* We don't need to hold a lock since it is boot-up process */
> -	zone->present_pages += count;
> -}
> -
>   /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
>   void __init init_cma_reserved_pageblock(struct page *page)
>   {
>   	unsigned i = pageblock_nr_pages;
> -	unsigned long pfn = page_to_pfn(page);
>   	struct page *p = page;
> -	int nid = page_to_nid(page);
> -
> -	/*
> -	 * ZONE_MOVABLE will steal present pages from other zones by
> -	 * changing page links so page_zone() is changed. Before that,
> -	 * we need to adjust previous zone's page count first.
> -	 */
> -	adjust_present_page_count(page, -pageblock_nr_pages);
>   
>   	do {
>   		__ClearPageReserved(p);
>   		set_page_count(p, 0);
> -
> -		/* Steal pages from other zones */
> -		set_page_links(p, ZONE_MOVABLE, nid, pfn);
> -	} while (++p, ++pfn, --i);
> -
> -	adjust_present_page_count(page, pageblock_nr_pages);
> +	} while (++p, --i);
>   
>   	set_pageblock_migratetype(page, MIGRATE_CMA);
>   
> @@ -2889,7 +2867,7 @@ int __isolate_free_page(struct page *page, unsigned int order)
>   		 * exists.
>   		 */
>   		watermark = min_wmark_pages(zone) + (1UL << order);
> -		if (!zone_watermark_ok(zone, 0, watermark, 0, 0))
> +		if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA))
>   			return 0;
>   
>   		__mod_zone_freepage_state(zone, -(1UL << order), mt);
> @@ -3165,6 +3143,12 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
>   	}
>   
>   
> +#ifdef CONFIG_CMA
> +	/* If allocation can't use CMA areas don't use free CMA pages */
> +	if (!(alloc_flags & ALLOC_CMA))
> +		free_pages -= zone_page_state(z, NR_FREE_CMA_PAGES);
> +#endif
> +
>   	/*
>   	 * Check watermarks for an order-0 allocation request. If these
>   	 * are not met, then a high-order request also cannot go ahead
> @@ -3191,8 +3175,10 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
>   		}
>   
>   #ifdef CONFIG_CMA
> -		if (!list_empty(&area->free_list[MIGRATE_CMA]))
> +		if ((alloc_flags & ALLOC_CMA) &&
> +		    !list_empty(&area->free_list[MIGRATE_CMA])) {
>   			return true;
> +		}
>   #endif
>   		if (alloc_harder &&
>   			!list_empty(&area->free_list[MIGRATE_HIGHATOMIC]))
> @@ -3212,6 +3198,13 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
>   		unsigned long mark, int classzone_idx, unsigned int alloc_flags)
>   {
>   	long free_pages = zone_page_state(z, NR_FREE_PAGES);
> +	long cma_pages = 0;
> +
> +#ifdef CONFIG_CMA
> +	/* If allocation can't use CMA areas don't use free CMA pages */
> +	if (!(alloc_flags & ALLOC_CMA))
> +		cma_pages = zone_page_state(z, NR_FREE_CMA_PAGES);
> +#endif
>   
>   	/*
>   	 * Fast check for order-0 only. If this fails then the reserves
> @@ -3220,7 +3213,7 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
>   	 * the caller is !atomic then it'll uselessly search the free
>   	 * list. That corner case is then slower but it is harmless.
>   	 */
> -	if (!order && free_pages > mark + z->lowmem_reserve[classzone_idx])
> +	if (!order && (free_pages - cma_pages) > mark + z->lowmem_reserve[classzone_idx])
>   		return true;
>   
>   	return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags,
> @@ -3856,6 +3849,10 @@ gfp_to_alloc_flags(gfp_t gfp_mask)
>   	} else if (unlikely(rt_task(current)) && !in_interrupt())
>   		alloc_flags |= ALLOC_HARDER;
>   
> +#ifdef CONFIG_CMA
> +	if (gfpflags_to_migratetype(gfp_mask) == MIGRATE_MOVABLE)
> +		alloc_flags |= ALLOC_CMA;
> +#endif
>   	return alloc_flags;
>   }
>   
> @@ -4322,6 +4319,9 @@ static inline bool prepare_alloc_pages(gfp_t gfp_mask, unsigned int order,
>   	if (should_fail_alloc_page(gfp_mask, order))
>   		return false;
>   
> +	if (IS_ENABLED(CONFIG_CMA) && ac->migratetype == MIGRATE_MOVABLE)
> +		*alloc_flags |= ALLOC_CMA;
> +
>   	return true;
>   }
>   
> @@ -6204,7 +6204,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>   {
>   	enum zone_type j;
>   	int nid = pgdat->node_id;
> -	unsigned long node_end_pfn = 0;
>   
>   	pgdat_resize_init(pgdat);
>   #ifdef CONFIG_NUMA_BALANCING
> @@ -6232,13 +6231,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>   		struct zone *zone = pgdat->node_zones + j;
>   		unsigned long size, realsize, freesize, memmap_pages;
>   		unsigned long zone_start_pfn = zone->zone_start_pfn;
> -		unsigned long movable_size = 0;
>   
>   		size = zone->spanned_pages;
>   		realsize = freesize = zone->present_pages;
> -		if (zone_end_pfn(zone) > node_end_pfn)
> -			node_end_pfn = zone_end_pfn(zone);
> -
>   
>   		/*
>   		 * Adjust freesize so that it accounts for how much memory
> @@ -6287,30 +6282,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
>   		zone_seqlock_init(zone);
>   		zone_pcp_init(zone);
>   
> -		/*
> -		 * The size of the CMA area is unknown now so we need to
> -		 * prepare the memory for the usemap at maximum.
> -		 */
> -		if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
> -			pgdat->node_spanned_pages) {
> -			movable_size = node_end_pfn - pgdat->node_start_pfn;
> -		}
> -
> -		if (!size && !movable_size)
> +		if (!size)
>   			continue;
>   
>   		set_pageblock_order();
> -		if (movable_size) {
> -			zone->zone_start_pfn = pgdat->node_start_pfn;
> -			zone->spanned_pages = movable_size;
> -			setup_usemap(pgdat, zone,
> -				pgdat->node_start_pfn, movable_size);
> -			init_currently_empty_zone(zone,
> -				pgdat->node_start_pfn, movable_size);
> -		} else {
> -			setup_usemap(pgdat, zone, zone_start_pfn, size);
> -			init_currently_empty_zone(zone, zone_start_pfn, size);
> -		}
> +		setup_usemap(pgdat, zone, zone_start_pfn, size);
> +		init_currently_empty_zone(zone, zone_start_pfn, size);
>   		memmap_init(size, nid, j, zone_start_pfn);
>   	}
>   }
> @@ -7951,7 +7928,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
>   }
>   #endif
>   
> -#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
> +#ifdef CONFIG_MEMORY_HOTPLUG
>   /*
>    * The zone indicated has a new number of managed_pages; batch sizes and percpu
>    * page high values need to be recalulated.
> 

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

* [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-23  1:18 ` js1304
  0 siblings, 0 replies; 42+ messages in thread
From: js1304 @ 2018-05-23  1:18 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Vlastimil Babka, Michal Hocko, Laura Abbott,
	Ville Syrjälä,
	LKML, linux-mm, Joonsoo Kim

From: Joonsoo Kim <iamjoonsoo.kim@lge.com>

This reverts the following commits that change CMA design in MM.

Revert "ARM: CMA: avoid double mapping to the CMA area if CONFIG_HIGHMEM=y"
This reverts commit 3d2054ad8c2d5100b68b0c0405f89fd90bf4107b.

Revert "mm/cma: remove ALLOC_CMA"
This reverts commit 1d47a3ec09b5489cd915e8f492aa623cdab5d002.

Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.

Ville reported a following error on i386.

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
[    0.000000] Initializing Movable for node 0 (00000001:00118000)
[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168

Reason for this error is that the span of MOVABLE_ZONE is extended to
whole node span for future CMA initialization, and, normal memory is
wrongly freed here. I submitted the fix and it seems to work, but,
the other problem happened. It's so late time to fix the later problem
so I decide to reverting the series.

Reported-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
---
 arch/arm/mm/dma-mapping.c      | 16 +-------
 include/linux/memory_hotplug.h |  3 ++
 include/linux/mm.h             |  1 -
 mm/cma.c                       | 83 ++++++------------------------------------
 mm/compaction.c                |  4 +-
 mm/internal.h                  |  4 +-
 mm/page_alloc.c                | 83 +++++++++++++++---------------------------
 7 files changed, 49 insertions(+), 145 deletions(-)

diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 8c398fe..ada8eb2 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -466,12 +466,6 @@ void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
 void __init dma_contiguous_remap(void)
 {
 	int i;
-
-	if (!dma_mmu_remap_num)
-		return;
-
-	/* call flush_cache_all() since CMA area would be large enough */
-	flush_cache_all();
 	for (i = 0; i < dma_mmu_remap_num; i++) {
 		phys_addr_t start = dma_mmu_remap[i].base;
 		phys_addr_t end = start + dma_mmu_remap[i].size;
@@ -504,15 +498,7 @@ void __init dma_contiguous_remap(void)
 		flush_tlb_kernel_range(__phys_to_virt(start),
 				       __phys_to_virt(end));
 
-		/*
-		 * All the memory in CMA region will be on ZONE_MOVABLE.
-		 * If that zone is considered as highmem, the memory in CMA
-		 * region is also considered as highmem even if it's
-		 * physical address belong to lowmem. In this case,
-		 * re-mapping isn't required.
-		 */
-		if (!is_highmem_idx(ZONE_MOVABLE))
-			iotable_init(&map, 1);
+		iotable_init(&map, 1);
 	}
 }
 
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index e0e49b5..2b02652 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -216,6 +216,9 @@ void put_online_mems(void);
 void mem_hotplug_begin(void);
 void mem_hotplug_done(void);
 
+extern void set_zone_contiguous(struct zone *zone);
+extern void clear_zone_contiguous(struct zone *zone);
+
 #else /* ! CONFIG_MEMORY_HOTPLUG */
 #define pfn_to_online_page(pfn)			\
 ({						\
diff --git a/include/linux/mm.h b/include/linux/mm.h
index c6fa9a2..02a616e 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
 
 extern void zone_pcp_update(struct zone *zone);
 extern void zone_pcp_reset(struct zone *zone);
-extern void setup_zone_pageset(struct zone *zone);
 
 /* page_alloc.c */
 extern int min_free_kbytes;
diff --git a/mm/cma.c b/mm/cma.c
index aa40e6c..5809bbe 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -39,7 +39,6 @@
 #include <trace/events/cma.h>
 
 #include "cma.h"
-#include "internal.h"
 
 struct cma cma_areas[MAX_CMA_AREAS];
 unsigned cma_area_count;
@@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
 	if (!cma->bitmap)
 		return -ENOMEM;
 
+	WARN_ON_ONCE(!pfn_valid(pfn));
+	zone = page_zone(pfn_to_page(pfn));
+
 	do {
 		unsigned j;
 
 		base_pfn = pfn;
-		if (!pfn_valid(base_pfn))
-			goto err;
-
-		zone = page_zone(pfn_to_page(base_pfn));
 		for (j = pageblock_nr_pages; j; --j, pfn++) {
-			if (!pfn_valid(pfn))
-				goto err;
-
+			WARN_ON_ONCE(!pfn_valid(pfn));
 			/*
-			 * In init_cma_reserved_pageblock(), present_pages
-			 * is adjusted with assumption that all pages in
-			 * the pageblock come from a single zone.
+			 * alloc_contig_range requires the pfn range
+			 * specified to be in the same zone. Make this
+			 * simple by forcing the entire CMA resv range
+			 * to be in the same zone.
 			 */
 			if (page_zone(pfn_to_page(pfn)) != zone)
-				goto err;
+				goto not_in_zone;
 		}
 		init_cma_reserved_pageblock(pfn_to_page(base_pfn));
 	} while (--i);
@@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
 
 	return 0;
 
-err:
+not_in_zone:
 	pr_err("CMA area %s could not be activated\n", cma->name);
 	kfree(cma->bitmap);
 	cma->count = 0;
@@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
 static int __init cma_init_reserved_areas(void)
 {
 	int i;
-	struct zone *zone;
-	pg_data_t *pgdat;
-
-	if (!cma_area_count)
-		return 0;
-
-	for_each_online_pgdat(pgdat) {
-		unsigned long start_pfn = UINT_MAX, end_pfn = 0;
-
-		zone = &pgdat->node_zones[ZONE_MOVABLE];
-
-		/*
-		 * In this case, we cannot adjust the zone range
-		 * since it is now maximum node span and we don't
-		 * know original zone range.
-		 */
-		if (populated_zone(zone))
-			continue;
-
-		for (i = 0; i < cma_area_count; i++) {
-			if (pfn_to_nid(cma_areas[i].base_pfn) !=
-				pgdat->node_id)
-				continue;
-
-			start_pfn = min(start_pfn, cma_areas[i].base_pfn);
-			end_pfn = max(end_pfn, cma_areas[i].base_pfn +
-						cma_areas[i].count);
-		}
-
-		if (!end_pfn)
-			continue;
-
-		zone->zone_start_pfn = start_pfn;
-		zone->spanned_pages = end_pfn - start_pfn;
-	}
 
 	for (i = 0; i < cma_area_count; i++) {
 		int ret = cma_activate_area(&cma_areas[i]);
@@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
 			return ret;
 	}
 
-	/*
-	 * Reserved pages for ZONE_MOVABLE are now activated and
-	 * this would change ZONE_MOVABLE's managed page counter and
-	 * the other zones' present counter. We need to re-calculate
-	 * various zone information that depends on this initialization.
-	 */
-	build_all_zonelists(NULL);
-	for_each_populated_zone(zone) {
-		if (zone_idx(zone) == ZONE_MOVABLE) {
-			zone_pcp_reset(zone);
-			setup_zone_pageset(zone);
-		} else
-			zone_pcp_update(zone);
-
-		set_zone_contiguous(zone);
-	}
-
-	/*
-	 * We need to re-init per zone wmark by calling
-	 * init_per_zone_wmark_min() but doesn't call here because it is
-	 * registered on core_initcall and it will be called later than us.
-	 */
-
 	return 0;
 }
-pure_initcall(cma_init_reserved_areas);
+core_initcall(cma_init_reserved_areas);
 
 /**
  * cma_init_reserved_mem() - create custom contiguous area from reserved memory
diff --git a/mm/compaction.c b/mm/compaction.c
index 028b721..29bd1df 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -1450,12 +1450,14 @@ static enum compact_result __compaction_suitable(struct zone *zone, int order,
 	 * if compaction succeeds.
 	 * For costly orders, we require low watermark instead of min for
 	 * compaction to proceed to increase its chances.
+	 * ALLOC_CMA is used, as pages in CMA pageblocks are considered
+	 * suitable migration targets
 	 */
 	watermark = (order > PAGE_ALLOC_COSTLY_ORDER) ?
 				low_wmark_pages(zone) : min_wmark_pages(zone);
 	watermark += compact_gap(order);
 	if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx,
-						0, wmark_target))
+						ALLOC_CMA, wmark_target))
 		return COMPACT_SKIPPED;
 
 	return COMPACT_CONTINUE;
diff --git a/mm/internal.h b/mm/internal.h
index 62d8c34..502d141 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
 					gfp_t gfp_flags);
 extern int user_min_free_kbytes;
 
-extern void set_zone_contiguous(struct zone *zone);
-extern void clear_zone_contiguous(struct zone *zone);
-
 #if defined CONFIG_COMPACTION || defined CONFIG_CMA
 
 /*
@@ -498,6 +495,7 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
 #define ALLOC_HARDER		0x10 /* try to alloc harder */
 #define ALLOC_HIGH		0x20 /* __GFP_HIGH set */
 #define ALLOC_CPUSET		0x40 /* check for correct cpuset */
+#define ALLOC_CMA		0x80 /* allow allocations from CMA areas */
 
 enum ttu_flags;
 struct tlbflush_unmap_batch;
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 905db9d..511a712 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
 }
 
 #ifdef CONFIG_CMA
-static void __init adjust_present_page_count(struct page *page, long count)
-{
-	struct zone *zone = page_zone(page);
-
-	/* We don't need to hold a lock since it is boot-up process */
-	zone->present_pages += count;
-}
-
 /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
 void __init init_cma_reserved_pageblock(struct page *page)
 {
 	unsigned i = pageblock_nr_pages;
-	unsigned long pfn = page_to_pfn(page);
 	struct page *p = page;
-	int nid = page_to_nid(page);
-
-	/*
-	 * ZONE_MOVABLE will steal present pages from other zones by
-	 * changing page links so page_zone() is changed. Before that,
-	 * we need to adjust previous zone's page count first.
-	 */
-	adjust_present_page_count(page, -pageblock_nr_pages);
 
 	do {
 		__ClearPageReserved(p);
 		set_page_count(p, 0);
-
-		/* Steal pages from other zones */
-		set_page_links(p, ZONE_MOVABLE, nid, pfn);
-	} while (++p, ++pfn, --i);
-
-	adjust_present_page_count(page, pageblock_nr_pages);
+	} while (++p, --i);
 
 	set_pageblock_migratetype(page, MIGRATE_CMA);
 
@@ -2889,7 +2867,7 @@ int __isolate_free_page(struct page *page, unsigned int order)
 		 * exists.
 		 */
 		watermark = min_wmark_pages(zone) + (1UL << order);
-		if (!zone_watermark_ok(zone, 0, watermark, 0, 0))
+		if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA))
 			return 0;
 
 		__mod_zone_freepage_state(zone, -(1UL << order), mt);
@@ -3165,6 +3143,12 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
 	}
 
 
+#ifdef CONFIG_CMA
+	/* If allocation can't use CMA areas don't use free CMA pages */
+	if (!(alloc_flags & ALLOC_CMA))
+		free_pages -= zone_page_state(z, NR_FREE_CMA_PAGES);
+#endif
+
 	/*
 	 * Check watermarks for an order-0 allocation request. If these
 	 * are not met, then a high-order request also cannot go ahead
@@ -3191,8 +3175,10 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
 		}
 
 #ifdef CONFIG_CMA
-		if (!list_empty(&area->free_list[MIGRATE_CMA]))
+		if ((alloc_flags & ALLOC_CMA) &&
+		    !list_empty(&area->free_list[MIGRATE_CMA])) {
 			return true;
+		}
 #endif
 		if (alloc_harder &&
 			!list_empty(&area->free_list[MIGRATE_HIGHATOMIC]))
@@ -3212,6 +3198,13 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
 		unsigned long mark, int classzone_idx, unsigned int alloc_flags)
 {
 	long free_pages = zone_page_state(z, NR_FREE_PAGES);
+	long cma_pages = 0;
+
+#ifdef CONFIG_CMA
+	/* If allocation can't use CMA areas don't use free CMA pages */
+	if (!(alloc_flags & ALLOC_CMA))
+		cma_pages = zone_page_state(z, NR_FREE_CMA_PAGES);
+#endif
 
 	/*
 	 * Fast check for order-0 only. If this fails then the reserves
@@ -3220,7 +3213,7 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
 	 * the caller is !atomic then it'll uselessly search the free
 	 * list. That corner case is then slower but it is harmless.
 	 */
-	if (!order && free_pages > mark + z->lowmem_reserve[classzone_idx])
+	if (!order && (free_pages - cma_pages) > mark + z->lowmem_reserve[classzone_idx])
 		return true;
 
 	return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags,
@@ -3856,6 +3849,10 @@ gfp_to_alloc_flags(gfp_t gfp_mask)
 	} else if (unlikely(rt_task(current)) && !in_interrupt())
 		alloc_flags |= ALLOC_HARDER;
 
+#ifdef CONFIG_CMA
+	if (gfpflags_to_migratetype(gfp_mask) == MIGRATE_MOVABLE)
+		alloc_flags |= ALLOC_CMA;
+#endif
 	return alloc_flags;
 }
 
@@ -4322,6 +4319,9 @@ static inline bool prepare_alloc_pages(gfp_t gfp_mask, unsigned int order,
 	if (should_fail_alloc_page(gfp_mask, order))
 		return false;
 
+	if (IS_ENABLED(CONFIG_CMA) && ac->migratetype == MIGRATE_MOVABLE)
+		*alloc_flags |= ALLOC_CMA;
+
 	return true;
 }
 
@@ -6204,7 +6204,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 {
 	enum zone_type j;
 	int nid = pgdat->node_id;
-	unsigned long node_end_pfn = 0;
 
 	pgdat_resize_init(pgdat);
 #ifdef CONFIG_NUMA_BALANCING
@@ -6232,13 +6231,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 		struct zone *zone = pgdat->node_zones + j;
 		unsigned long size, realsize, freesize, memmap_pages;
 		unsigned long zone_start_pfn = zone->zone_start_pfn;
-		unsigned long movable_size = 0;
 
 		size = zone->spanned_pages;
 		realsize = freesize = zone->present_pages;
-		if (zone_end_pfn(zone) > node_end_pfn)
-			node_end_pfn = zone_end_pfn(zone);
-
 
 		/*
 		 * Adjust freesize so that it accounts for how much memory
@@ -6287,30 +6282,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 		zone_seqlock_init(zone);
 		zone_pcp_init(zone);
 
-		/*
-		 * The size of the CMA area is unknown now so we need to
-		 * prepare the memory for the usemap at maximum.
-		 */
-		if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
-			pgdat->node_spanned_pages) {
-			movable_size = node_end_pfn - pgdat->node_start_pfn;
-		}
-
-		if (!size && !movable_size)
+		if (!size)
 			continue;
 
 		set_pageblock_order();
-		if (movable_size) {
-			zone->zone_start_pfn = pgdat->node_start_pfn;
-			zone->spanned_pages = movable_size;
-			setup_usemap(pgdat, zone,
-				pgdat->node_start_pfn, movable_size);
-			init_currently_empty_zone(zone,
-				pgdat->node_start_pfn, movable_size);
-		} else {
-			setup_usemap(pgdat, zone, zone_start_pfn, size);
-			init_currently_empty_zone(zone, zone_start_pfn, size);
-		}
+		setup_usemap(pgdat, zone, zone_start_pfn, size);
+		init_currently_empty_zone(zone, zone_start_pfn, size);
 		memmap_init(size, nid, j, zone_start_pfn);
 	}
 }
@@ -7951,7 +7928,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
 }
 #endif
 
-#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
+#ifdef CONFIG_MEMORY_HOTPLUG
 /*
  * The zone indicated has a new number of managed_pages; batch sizes and percpu
  * page high values need to be recalulated.
-- 
2.7.4

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

* [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
@ 2018-05-23  1:18 ` js1304
  0 siblings, 0 replies; 42+ messages in thread
From: js1304 @ 2018-05-23  1:18 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Vlastimil Babka, Michal Hocko, Laura Abbott,
	Ville Syrjälä,
	LKML, linux-mm, Joonsoo Kim

From: Joonsoo Kim <iamjoonsoo.kim@lge.com>

This reverts the following commits that change CMA design in MM.

Revert "ARM: CMA: avoid double mapping to the CMA area if CONFIG_HIGHMEM=y"
This reverts commit 3d2054ad8c2d5100b68b0c0405f89fd90bf4107b.

Revert "mm/cma: remove ALLOC_CMA"
This reverts commit 1d47a3ec09b5489cd915e8f492aa623cdab5d002.

Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE"
This reverts commit bad8c6c0b1144694ecb0bc5629ede9b8b578b86e.

Ville reported a following error on i386.

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] microcode: microcode updated early to revision 0x4, date = 2013-06-28
[    0.000000] Initializing CPU#0
[    0.000000] Initializing HighMem for node 0 (000377fe:00118000)
[    0.000000] Initializing Movable for node 0 (00000001:00118000)
[    0.000000] BUG: Bad page state in process swapper  pfn:377fe
[    0.000000] page:f53effc0 count:0 mapcount:-127 mapping:00000000 index:0x0
[    0.000000] flags: 0x80000000()
[    0.000000] raw: 80000000 00000000 00000000 ffffff80 00000000 00000100 00000200 00000001
[    0.000000] page dumped because: nonzero mapcount
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 4.17.0-rc5-elk+ #145
[    0.000000] Hardware name: Dell Inc. Latitude E5410/03VXMC, BIOS A15 07/11/2013
[    0.000000] Call Trace:
[    0.000000]  dump_stack+0x60/0x96
[    0.000000]  bad_page+0x9a/0x100
[    0.000000]  free_pages_check_bad+0x3f/0x60
[    0.000000]  free_pcppages_bulk+0x29d/0x5b0
[    0.000000]  free_unref_page_commit+0x84/0xb0
[    0.000000]  free_unref_page+0x3e/0x70
[    0.000000]  __free_pages+0x1d/0x20
[    0.000000]  free_highmem_page+0x19/0x40
[    0.000000]  add_highpages_with_active_regions+0xab/0xeb
[    0.000000]  set_highmem_pages_init+0x66/0x73
[    0.000000]  mem_init+0x1b/0x1d7
[    0.000000]  start_kernel+0x17a/0x363
[    0.000000]  i386_start_kernel+0x95/0x99
[    0.000000]  startup_32_smp+0x164/0x168

Reason for this error is that the span of MOVABLE_ZONE is extended to
whole node span for future CMA initialization, and, normal memory is
wrongly freed here. I submitted the fix and it seems to work, but,
the other problem happened. It's so late time to fix the later problem
so I decide to reverting the series.

Reported-by: Ville SyrjA?lA? <ville.syrjala@linux.intel.com>
Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com>
---
 arch/arm/mm/dma-mapping.c      | 16 +-------
 include/linux/memory_hotplug.h |  3 ++
 include/linux/mm.h             |  1 -
 mm/cma.c                       | 83 ++++++------------------------------------
 mm/compaction.c                |  4 +-
 mm/internal.h                  |  4 +-
 mm/page_alloc.c                | 83 +++++++++++++++---------------------------
 7 files changed, 49 insertions(+), 145 deletions(-)

diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c
index 8c398fe..ada8eb2 100644
--- a/arch/arm/mm/dma-mapping.c
+++ b/arch/arm/mm/dma-mapping.c
@@ -466,12 +466,6 @@ void __init dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
 void __init dma_contiguous_remap(void)
 {
 	int i;
-
-	if (!dma_mmu_remap_num)
-		return;
-
-	/* call flush_cache_all() since CMA area would be large enough */
-	flush_cache_all();
 	for (i = 0; i < dma_mmu_remap_num; i++) {
 		phys_addr_t start = dma_mmu_remap[i].base;
 		phys_addr_t end = start + dma_mmu_remap[i].size;
@@ -504,15 +498,7 @@ void __init dma_contiguous_remap(void)
 		flush_tlb_kernel_range(__phys_to_virt(start),
 				       __phys_to_virt(end));
 
-		/*
-		 * All the memory in CMA region will be on ZONE_MOVABLE.
-		 * If that zone is considered as highmem, the memory in CMA
-		 * region is also considered as highmem even if it's
-		 * physical address belong to lowmem. In this case,
-		 * re-mapping isn't required.
-		 */
-		if (!is_highmem_idx(ZONE_MOVABLE))
-			iotable_init(&map, 1);
+		iotable_init(&map, 1);
 	}
 }
 
diff --git a/include/linux/memory_hotplug.h b/include/linux/memory_hotplug.h
index e0e49b5..2b02652 100644
--- a/include/linux/memory_hotplug.h
+++ b/include/linux/memory_hotplug.h
@@ -216,6 +216,9 @@ void put_online_mems(void);
 void mem_hotplug_begin(void);
 void mem_hotplug_done(void);
 
+extern void set_zone_contiguous(struct zone *zone);
+extern void clear_zone_contiguous(struct zone *zone);
+
 #else /* ! CONFIG_MEMORY_HOTPLUG */
 #define pfn_to_online_page(pfn)			\
 ({						\
diff --git a/include/linux/mm.h b/include/linux/mm.h
index c6fa9a2..02a616e 100644
--- a/include/linux/mm.h
+++ b/include/linux/mm.h
@@ -2109,7 +2109,6 @@ extern void setup_per_cpu_pageset(void);
 
 extern void zone_pcp_update(struct zone *zone);
 extern void zone_pcp_reset(struct zone *zone);
-extern void setup_zone_pageset(struct zone *zone);
 
 /* page_alloc.c */
 extern int min_free_kbytes;
diff --git a/mm/cma.c b/mm/cma.c
index aa40e6c..5809bbe 100644
--- a/mm/cma.c
+++ b/mm/cma.c
@@ -39,7 +39,6 @@
 #include <trace/events/cma.h>
 
 #include "cma.h"
-#include "internal.h"
 
 struct cma cma_areas[MAX_CMA_AREAS];
 unsigned cma_area_count;
@@ -110,25 +109,23 @@ static int __init cma_activate_area(struct cma *cma)
 	if (!cma->bitmap)
 		return -ENOMEM;
 
+	WARN_ON_ONCE(!pfn_valid(pfn));
+	zone = page_zone(pfn_to_page(pfn));
+
 	do {
 		unsigned j;
 
 		base_pfn = pfn;
-		if (!pfn_valid(base_pfn))
-			goto err;
-
-		zone = page_zone(pfn_to_page(base_pfn));
 		for (j = pageblock_nr_pages; j; --j, pfn++) {
-			if (!pfn_valid(pfn))
-				goto err;
-
+			WARN_ON_ONCE(!pfn_valid(pfn));
 			/*
-			 * In init_cma_reserved_pageblock(), present_pages
-			 * is adjusted with assumption that all pages in
-			 * the pageblock come from a single zone.
+			 * alloc_contig_range requires the pfn range
+			 * specified to be in the same zone. Make this
+			 * simple by forcing the entire CMA resv range
+			 * to be in the same zone.
 			 */
 			if (page_zone(pfn_to_page(pfn)) != zone)
-				goto err;
+				goto not_in_zone;
 		}
 		init_cma_reserved_pageblock(pfn_to_page(base_pfn));
 	} while (--i);
@@ -142,7 +139,7 @@ static int __init cma_activate_area(struct cma *cma)
 
 	return 0;
 
-err:
+not_in_zone:
 	pr_err("CMA area %s could not be activated\n", cma->name);
 	kfree(cma->bitmap);
 	cma->count = 0;
@@ -152,41 +149,6 @@ static int __init cma_activate_area(struct cma *cma)
 static int __init cma_init_reserved_areas(void)
 {
 	int i;
-	struct zone *zone;
-	pg_data_t *pgdat;
-
-	if (!cma_area_count)
-		return 0;
-
-	for_each_online_pgdat(pgdat) {
-		unsigned long start_pfn = UINT_MAX, end_pfn = 0;
-
-		zone = &pgdat->node_zones[ZONE_MOVABLE];
-
-		/*
-		 * In this case, we cannot adjust the zone range
-		 * since it is now maximum node span and we don't
-		 * know original zone range.
-		 */
-		if (populated_zone(zone))
-			continue;
-
-		for (i = 0; i < cma_area_count; i++) {
-			if (pfn_to_nid(cma_areas[i].base_pfn) !=
-				pgdat->node_id)
-				continue;
-
-			start_pfn = min(start_pfn, cma_areas[i].base_pfn);
-			end_pfn = max(end_pfn, cma_areas[i].base_pfn +
-						cma_areas[i].count);
-		}
-
-		if (!end_pfn)
-			continue;
-
-		zone->zone_start_pfn = start_pfn;
-		zone->spanned_pages = end_pfn - start_pfn;
-	}
 
 	for (i = 0; i < cma_area_count; i++) {
 		int ret = cma_activate_area(&cma_areas[i]);
@@ -195,32 +157,9 @@ static int __init cma_init_reserved_areas(void)
 			return ret;
 	}
 
-	/*
-	 * Reserved pages for ZONE_MOVABLE are now activated and
-	 * this would change ZONE_MOVABLE's managed page counter and
-	 * the other zones' present counter. We need to re-calculate
-	 * various zone information that depends on this initialization.
-	 */
-	build_all_zonelists(NULL);
-	for_each_populated_zone(zone) {
-		if (zone_idx(zone) == ZONE_MOVABLE) {
-			zone_pcp_reset(zone);
-			setup_zone_pageset(zone);
-		} else
-			zone_pcp_update(zone);
-
-		set_zone_contiguous(zone);
-	}
-
-	/*
-	 * We need to re-init per zone wmark by calling
-	 * init_per_zone_wmark_min() but doesn't call here because it is
-	 * registered on core_initcall and it will be called later than us.
-	 */
-
 	return 0;
 }
-pure_initcall(cma_init_reserved_areas);
+core_initcall(cma_init_reserved_areas);
 
 /**
  * cma_init_reserved_mem() - create custom contiguous area from reserved memory
diff --git a/mm/compaction.c b/mm/compaction.c
index 028b721..29bd1df 100644
--- a/mm/compaction.c
+++ b/mm/compaction.c
@@ -1450,12 +1450,14 @@ static enum compact_result __compaction_suitable(struct zone *zone, int order,
 	 * if compaction succeeds.
 	 * For costly orders, we require low watermark instead of min for
 	 * compaction to proceed to increase its chances.
+	 * ALLOC_CMA is used, as pages in CMA pageblocks are considered
+	 * suitable migration targets
 	 */
 	watermark = (order > PAGE_ALLOC_COSTLY_ORDER) ?
 				low_wmark_pages(zone) : min_wmark_pages(zone);
 	watermark += compact_gap(order);
 	if (!__zone_watermark_ok(zone, 0, watermark, classzone_idx,
-						0, wmark_target))
+						ALLOC_CMA, wmark_target))
 		return COMPACT_SKIPPED;
 
 	return COMPACT_CONTINUE;
diff --git a/mm/internal.h b/mm/internal.h
index 62d8c34..502d141 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -168,9 +168,6 @@ extern void post_alloc_hook(struct page *page, unsigned int order,
 					gfp_t gfp_flags);
 extern int user_min_free_kbytes;
 
-extern void set_zone_contiguous(struct zone *zone);
-extern void clear_zone_contiguous(struct zone *zone);
-
 #if defined CONFIG_COMPACTION || defined CONFIG_CMA
 
 /*
@@ -498,6 +495,7 @@ unsigned long reclaim_clean_pages_from_list(struct zone *zone,
 #define ALLOC_HARDER		0x10 /* try to alloc harder */
 #define ALLOC_HIGH		0x20 /* __GFP_HIGH set */
 #define ALLOC_CPUSET		0x40 /* check for correct cpuset */
+#define ALLOC_CMA		0x80 /* allow allocations from CMA areas */
 
 enum ttu_flags;
 struct tlbflush_unmap_batch;
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index 905db9d..511a712 100644
--- a/mm/page_alloc.c
+++ b/mm/page_alloc.c
@@ -1743,38 +1743,16 @@ void __init page_alloc_init_late(void)
 }
 
 #ifdef CONFIG_CMA
-static void __init adjust_present_page_count(struct page *page, long count)
-{
-	struct zone *zone = page_zone(page);
-
-	/* We don't need to hold a lock since it is boot-up process */
-	zone->present_pages += count;
-}
-
 /* Free whole pageblock and set its migration type to MIGRATE_CMA. */
 void __init init_cma_reserved_pageblock(struct page *page)
 {
 	unsigned i = pageblock_nr_pages;
-	unsigned long pfn = page_to_pfn(page);
 	struct page *p = page;
-	int nid = page_to_nid(page);
-
-	/*
-	 * ZONE_MOVABLE will steal present pages from other zones by
-	 * changing page links so page_zone() is changed. Before that,
-	 * we need to adjust previous zone's page count first.
-	 */
-	adjust_present_page_count(page, -pageblock_nr_pages);
 
 	do {
 		__ClearPageReserved(p);
 		set_page_count(p, 0);
-
-		/* Steal pages from other zones */
-		set_page_links(p, ZONE_MOVABLE, nid, pfn);
-	} while (++p, ++pfn, --i);
-
-	adjust_present_page_count(page, pageblock_nr_pages);
+	} while (++p, --i);
 
 	set_pageblock_migratetype(page, MIGRATE_CMA);
 
@@ -2889,7 +2867,7 @@ int __isolate_free_page(struct page *page, unsigned int order)
 		 * exists.
 		 */
 		watermark = min_wmark_pages(zone) + (1UL << order);
-		if (!zone_watermark_ok(zone, 0, watermark, 0, 0))
+		if (!zone_watermark_ok(zone, 0, watermark, 0, ALLOC_CMA))
 			return 0;
 
 		__mod_zone_freepage_state(zone, -(1UL << order), mt);
@@ -3165,6 +3143,12 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
 	}
 
 
+#ifdef CONFIG_CMA
+	/* If allocation can't use CMA areas don't use free CMA pages */
+	if (!(alloc_flags & ALLOC_CMA))
+		free_pages -= zone_page_state(z, NR_FREE_CMA_PAGES);
+#endif
+
 	/*
 	 * Check watermarks for an order-0 allocation request. If these
 	 * are not met, then a high-order request also cannot go ahead
@@ -3191,8 +3175,10 @@ bool __zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark,
 		}
 
 #ifdef CONFIG_CMA
-		if (!list_empty(&area->free_list[MIGRATE_CMA]))
+		if ((alloc_flags & ALLOC_CMA) &&
+		    !list_empty(&area->free_list[MIGRATE_CMA])) {
 			return true;
+		}
 #endif
 		if (alloc_harder &&
 			!list_empty(&area->free_list[MIGRATE_HIGHATOMIC]))
@@ -3212,6 +3198,13 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
 		unsigned long mark, int classzone_idx, unsigned int alloc_flags)
 {
 	long free_pages = zone_page_state(z, NR_FREE_PAGES);
+	long cma_pages = 0;
+
+#ifdef CONFIG_CMA
+	/* If allocation can't use CMA areas don't use free CMA pages */
+	if (!(alloc_flags & ALLOC_CMA))
+		cma_pages = zone_page_state(z, NR_FREE_CMA_PAGES);
+#endif
 
 	/*
 	 * Fast check for order-0 only. If this fails then the reserves
@@ -3220,7 +3213,7 @@ static inline bool zone_watermark_fast(struct zone *z, unsigned int order,
 	 * the caller is !atomic then it'll uselessly search the free
 	 * list. That corner case is then slower but it is harmless.
 	 */
-	if (!order && free_pages > mark + z->lowmem_reserve[classzone_idx])
+	if (!order && (free_pages - cma_pages) > mark + z->lowmem_reserve[classzone_idx])
 		return true;
 
 	return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags,
@@ -3856,6 +3849,10 @@ gfp_to_alloc_flags(gfp_t gfp_mask)
 	} else if (unlikely(rt_task(current)) && !in_interrupt())
 		alloc_flags |= ALLOC_HARDER;
 
+#ifdef CONFIG_CMA
+	if (gfpflags_to_migratetype(gfp_mask) == MIGRATE_MOVABLE)
+		alloc_flags |= ALLOC_CMA;
+#endif
 	return alloc_flags;
 }
 
@@ -4322,6 +4319,9 @@ static inline bool prepare_alloc_pages(gfp_t gfp_mask, unsigned int order,
 	if (should_fail_alloc_page(gfp_mask, order))
 		return false;
 
+	if (IS_ENABLED(CONFIG_CMA) && ac->migratetype == MIGRATE_MOVABLE)
+		*alloc_flags |= ALLOC_CMA;
+
 	return true;
 }
 
@@ -6204,7 +6204,6 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 {
 	enum zone_type j;
 	int nid = pgdat->node_id;
-	unsigned long node_end_pfn = 0;
 
 	pgdat_resize_init(pgdat);
 #ifdef CONFIG_NUMA_BALANCING
@@ -6232,13 +6231,9 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 		struct zone *zone = pgdat->node_zones + j;
 		unsigned long size, realsize, freesize, memmap_pages;
 		unsigned long zone_start_pfn = zone->zone_start_pfn;
-		unsigned long movable_size = 0;
 
 		size = zone->spanned_pages;
 		realsize = freesize = zone->present_pages;
-		if (zone_end_pfn(zone) > node_end_pfn)
-			node_end_pfn = zone_end_pfn(zone);
-
 
 		/*
 		 * Adjust freesize so that it accounts for how much memory
@@ -6287,30 +6282,12 @@ static void __paginginit free_area_init_core(struct pglist_data *pgdat)
 		zone_seqlock_init(zone);
 		zone_pcp_init(zone);
 
-		/*
-		 * The size of the CMA area is unknown now so we need to
-		 * prepare the memory for the usemap at maximum.
-		 */
-		if (IS_ENABLED(CONFIG_CMA) && j == ZONE_MOVABLE &&
-			pgdat->node_spanned_pages) {
-			movable_size = node_end_pfn - pgdat->node_start_pfn;
-		}
-
-		if (!size && !movable_size)
+		if (!size)
 			continue;
 
 		set_pageblock_order();
-		if (movable_size) {
-			zone->zone_start_pfn = pgdat->node_start_pfn;
-			zone->spanned_pages = movable_size;
-			setup_usemap(pgdat, zone,
-				pgdat->node_start_pfn, movable_size);
-			init_currently_empty_zone(zone,
-				pgdat->node_start_pfn, movable_size);
-		} else {
-			setup_usemap(pgdat, zone, zone_start_pfn, size);
-			init_currently_empty_zone(zone, zone_start_pfn, size);
-		}
+		setup_usemap(pgdat, zone, zone_start_pfn, size);
+		init_currently_empty_zone(zone, zone_start_pfn, size);
 		memmap_init(size, nid, j, zone_start_pfn);
 	}
 }
@@ -7951,7 +7928,7 @@ void free_contig_range(unsigned long pfn, unsigned nr_pages)
 }
 #endif
 
-#if defined CONFIG_MEMORY_HOTPLUG || defined CONFIG_CMA
+#ifdef CONFIG_MEMORY_HOTPLUG
 /*
  * The zone indicated has a new number of managed_pages; batch sizes and percpu
  * page high values need to be recalulated.
-- 
2.7.4

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

end of thread, other threads:[~2018-05-24 11:29 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-17 12:59 [PATCH] Revert "mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE" Ville Syrjala
2018-05-17 12:59 ` Ville Syrjala
2018-05-17 13:15 ` Vlastimil Babka
2018-05-17 13:15   ` Vlastimil Babka
2018-05-17 13:21 ` Michal Hocko
2018-05-17 13:21   ` Michal Hocko
2018-05-17 13:36   ` Ville Syrjälä
2018-05-17 13:36     ` Ville Syrjälä
2018-05-17 13:50     ` Vlastimil Babka
2018-05-17 13:50       ` Vlastimil Babka
2018-05-17 13:58     ` Ville Syrjälä
2018-05-17 13:58       ` Ville Syrjälä
2018-05-17 14:11       ` Ville Syrjälä
2018-05-17 14:11         ` Ville Syrjälä
2018-05-17 16:49       ` Michal Hocko
2018-05-17 16:49         ` Michal Hocko
2018-05-17 17:08         ` Michal Hocko
2018-05-17 17:08           ` Michal Hocko
2018-05-17 17:53           ` Laura Abbott
2018-05-17 17:53             ` Laura Abbott
2018-05-18  4:01             ` Joonsoo Kim
2018-05-18  4:01               ` Joonsoo Kim
2018-05-18 17:42               ` Laura Abbott
2018-05-18 17:42                 ` Laura Abbott
2018-05-19 14:46               ` Ville Syrjälä
2018-05-19 14:46                 ` Ville Syrjälä
2018-05-21  6:16                 ` Joonsoo Kim
2018-05-21  6:16                   ` Joonsoo Kim
2018-05-23  0:02                   ` Andrew Morton
2018-05-23  0:09                     ` Joonsoo Kim
2018-05-17 17:13         ` Ville Syrjälä
2018-05-17 17:13           ` Ville Syrjälä
2018-05-17 17:21           ` Michal Hocko
2018-05-17 17:21             ` Michal Hocko
2018-05-17 19:55           ` Ville Syrjälä
2018-05-17 19:55             ` Ville Syrjälä
2018-05-23  1:18 js1304
2018-05-23  1:18 ` js1304
2018-05-23 18:54 ` Laura Abbott
2018-05-23 18:54   ` Laura Abbott
2018-05-24 11:28 ` Michal Hocko
2018-05-24 11:28   ` Michal Hocko

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.