lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 20 Sep 2006 14:59:52 +0200
From:	Haavard Skinnemoen <hskinnemoen@...el.com>
To:	Andrew Morton <akpm@...l.org>
Cc:	linux-kernel@...r.kernel.org, Christoph Lameter <clameter@....com>
Subject: [-mm patch] Remove ZONE_DMA remains from avr32

Put all available lowmem in ZONE_NORMAL now that ZONE_DMA can be
disabled (which is the right thing to do on AVR32.)

Signed-off-by: Haavard Skinnemoen <hskinnemoen@...el.com>
---

Btw, 2.6.18-rc7-mm1 seems to boot on my board, but mdev (busybox's udev
replacement) seems to have a problem with symlinks so I don't have any
tty devices to log into. Using static /dev solves the problem for
now.

 arch/avr32/Kconfig   |    3 ---
 arch/avr32/mm/init.c |    3 +--
 2 files changed, 1 insertion(+), 5 deletions(-)

Index: linux-2.6.18-rc7-mm1/arch/avr32/mm/init.c
===================================================================
--- linux-2.6.18-rc7-mm1.orig/arch/avr32/mm/init.c	2006-09-20
14:07:17.000000000 +0200 +++
linux-2.6.18-rc7-mm1/arch/avr32/mm/init.c	2006-09-20
14:07:45.000000000 +0200 @@ -370,9 +370,8 @@ void __init
paging_init(void) start_pfn >>= PAGE_SHIFT; low =
pgdat->bdata->node_low_pfn; 
-		/* All memory is DMA-able */
 		memset(zones_size, 0, sizeof(zones_size));
-		zones_size[ZONE_DMA] = low - start_pfn;
+		zones_size[ZONE_NORMAL] = low - start_pfn;
 
 		printk("Node %u: start_pfn = 0x%lx, low = 0x%lx\n",
 		       nid, start_pfn, low);
Index: linux-2.6.18-rc7-mm1/arch/avr32/Kconfig
===================================================================
--- linux-2.6.18-rc7-mm1.orig/arch/avr32/Kconfig	2006-09-20
14:47:04.000000000 +0200 +++
linux-2.6.18-rc7-mm1/arch/avr32/Kconfig	2006-09-20
14:47:09.000000000 +0200 @@ -48,9 +48,6 @@ config
RWSEM_XCHGADD_ALGORITHM config GENERIC_BUST_SPINLOCK bool
 
-config GENERIC_ISA_DMA
-	bool
-
 config GENERIC_HWEIGHT
 	bool
 	default y
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ