GIT b84e181b7ab560c725d70971ef8de9bcda48f299 git://www.atmel.no/~hskinnemoen/linux/kernel/avr32.git#avr32-arch commit Author: Haavard Skinnemoen Date: Fri Feb 9 15:23:46 2007 +0100 [AVR32] Add missing #include arch/avr32/kernel/cpu.c needs THIS_MODULE, so it must include linux/module.h. Signed-off-by: Haavard Skinnemoen commit 348a85f209e0e55e58122680dc6bae20f3a1eb6a Author: Haavard Skinnemoen Date: Fri Feb 9 12:58:47 2007 +0100 [AVR32] IRQ_TYPE_NONE is also valid for GPIO IRQs IRQ_TYPE_NONE means that the caller wants to use the default triggering. Accept this in gpio_irq_type(), making it effectively the same as IRQ_TYPE_EDGE_BOTH Signed-off-by: Haavard Skinnemoen commit 6f9b66d67e78ee07df47b903cdd67e6e91634691 Author: Haavard Skinnemoen Date: Fri Feb 9 12:01:02 2007 +0100 [AVR32] ssize_t is long Since size_t is defined as unsigned long, ssize_t ought to be long and not int. It could have been the other way around, but gcc defines size_t as unsigned long, so this is correct. This fixes a couple of printk format warnings. Signed-off-by: Haavard Skinnemoen commit e655e67a738049c58cbf8e7c0609c8f53b64196d Author: Haavard Skinnemoen Date: Fri Feb 9 11:45:07 2007 +0100 [AVR32] Initialize the pio4 pio4 was added, but the early initialization routine is not called for it, which will cause lots of nasty messages and a BUG during bootup. Fix this. Signed-off-by: Haavard Skinnemoen commit 081f9d6d7262d9beae0d671f9f702123be91cb4d Author: Haavard Skinnemoen Date: Fri Feb 9 11:43:09 2007 +0100 [AVR32] Remove last remains of libgcc Two libgcc headers were left around even though all the actual code borrowed from libgcc is gone. Delete them. Signed-off-by: Haavard Skinnemoen commit b53c0fc72a43f18858177ca0c36ebde3cc8cd108 Author: Haavard Skinnemoen Date: Fri Feb 9 11:11:09 2007 +0100 [AVR32] Increase NR_GPIO_IRQS to cover 5 GPIO controllers The AT32AP7000 has 5 GPIO controllers built in. Previously, we only initialized four of them, but now that we initialize all five, we need to expand NR_IRQS to cover all of them. Signed-off-by: Haavard Skinnemoen commit 9c077c092e5158b9dfd458abfade93f14d38dcf8 Author: David Brownell Date: Wed Jan 31 08:24:30 2007 -0800 AVR32 gpio support Basic AVR32 GPIO IRQ support. Signed-off-by: David Brownell Signed-off-by: Haavard Skinnemoen commit c10b294dab5d180dd7e2ba703a853909b50d34a9 Author: Haavard Skinnemoen Date: Wed Feb 7 15:59:16 2007 +0100 [AVR32] Various GPIO fixes From David Brownell: - Let the "deglitch" logic apply to inputs - Initialize gpios earlier, after interrupts but before at32ap7000.c Signed-off-by: Haavard Skinnemoen commit 8ed60812246f8e9e1954cd015489bd45e49377d5 Author: Haavard Skinnemoen Date: Mon Feb 5 10:56:29 2007 +0100 Revert "Remove ZONE_DMA remains from avr32" When putting all available memory into ZONE_NORMAL, GFP_DMA allocations fail. Since the ZONE_DMA removal patches didn't seem to make it, revert the AVR32 part of it and make GFP_DMA work again. Signed-off-by: Haavard Skinnemoen commit 09ba8d76f61290e898c3a6523bc4d300d911c009 Author: Haavard Skinnemoen Date: Thu Feb 1 16:26:03 2007 +0100 Implement dma_mapping_error() dma_map_single() never fails, so dma_mapping_error() simply returns 0. Signed-off-by: Haavard Skinnemoen commit 4656aab5cbb259f6c4ff4003f1e27fb45e964b77 Author: Haavard Skinnemoen Date: Tue Jan 30 11:16:16 2007 +0100 Add PIOE device and reserve SDRAM pins The PIOE device was left out before because it muxes SDRAM pins (and is therefore a bit dangerous to mess with) and because no existing drivers had any use for it. It is needed for CompactFlash, however, and now that we have a way to protect the SDRAM pins, it can be safely added. Signed-off-by: Haavard Skinnemoen commit 4eb74f357ef8ba7307b07dc60917561a48b50ade Author: Haavard Skinnemoen Date: Tue Jan 30 11:01:23 2007 +0100 Introduce at32_reserve_pin() at32_reserve_pin() can be used for reserving portmux pins without altering their configuration. Useful for e.g. SDRAM pins where we really don't want to change the bootloader-provided configuration. Signed-off-by: Haavard Skinnemoen commit a8d6c2e8c2290d49e722d65db34ae5d658da208c Author: Haavard Skinnemoen Date: Mon Jan 29 17:59:40 2007 +0100 Don't reset PIO state at bootup Leave the PIO lines as the bootloader left them. This allows us to use PIOE without disturbing the SDRAM muxing. Signed-off-by: Haavard Skinnemoen commit d607b70c253c6c269e40dd2d80c3dc9799f6ced6 Author: Ahmed S. Darwish Date: Mon Feb 5 04:41:27 2007 +0200 arch AVR32: Use ARRAY_SIZE macro when appropriate A patch to use ARRAY_SIZE macro already defined in linux/kernel.h Signed-off-by: Ahmed S. Darwish Signed-off-by: Haavard Skinnemoen commit ceb07a1a35f33e5ef8c86519300443156efec06a Author: David Brownell Date: Sun Jan 28 12:56:42 2007 -0800 Fix incorrect invalidation of shared cachelines Fix bug in dma_map_single(..., DMA_FROM_DEVICE) caused by incorrect invalidation of shared cachelines at the beginning and/or end of the specified buffer. Those shared cachelines need to be flushed, since they may hold valid data (which must not be discarded). Signed-off-by: David Brownell Signed-off-by: Haavard Skinnemoen commit 6bf1c4e58323934183e345db0101d50c617c6b49 Author: David Brownell Date: Tue Jan 23 20:21:36 2007 -0800 avr32 ext int fixes Bugfixes for external irq handler set_irq_type(): - If set_irq_type() can't set the type, don't change anything! - It's not OK to change the flow handler as part of set_irq_type(), among other issues that violates spinlock rules. Instead, we can call the relevant handler when we demux the external interrupts. - The external irq demux has no need to grab the spinlock. And in fact grabbing it that way was wrong, since that code might be pre-empted by an irq at a different priority level, and that code might then have tried to grab that spinlock... Signed-off-by: David Brownell Signed-off-by: Haavard Skinnemoen commit 417eb50e57d8f6e886f76a3b8a22f13f8ef0c274 Author: David Brownell Date: Tue Jan 23 20:14:02 2007 -0800 avr32 serial port setup Fixes to USART setup on the stk-1000 ... don't configure USART 2, since its TXD/RXD are used for INT-A and INT-B buttons; and configure USART 0 (for IRDA, and with corrected IRQ) iff SW2 has a non-default setting. Signed-off-by: David Brownell Signed-off-by: Haavard Skinnemoen commit 6321df182b531dc80d174a49ca4dea90d1e50f8f Author: David Brownell Date: Tue Jan 23 20:12:15 2007 -0800 avr32 /proc/interrupts display The /proc/interrupts file should also display the irq_chip associated with each irq ... e.g. INTC, EIM, GPIO. Signed-off-by: David Brownell Signed-off-by: Haavard Skinnemoen commit cd9793294a1cf0615082f0dcfa3ccbfa4d003319 Author: Haavard Skinnemoen Date: Tue Jan 16 15:21:34 2007 +0100 [AVR32] Rename main SPI clock as "spi_clk" Sync up with latest SPI driver as well as AT91. Signed-off-by: Haavard Skinnemoen commit 55e2ed1bdbbafed54b21735d1aaab96a50b3b07f Author: Ben Nizette Date: Mon Jan 15 14:48:57 2007 +1100 AVR32: fix build breakage Remove an unwanted remnant of the recent revert of AVR32/AT91 SPI patches in -mm. Without this patch, the AVR32 build of 2.6.20-rc[34]-mm1 breaks. Signed-off-by: Ben Nizette Signed-off-by: Haavard Skinnemoen commit 775a8874e325a343c685da0de66af520f8349aa3 Author: Haavard Skinnemoen Date: Wed Jan 10 20:20:02 2007 +0100 [AVR32] SPI platform code update Move stuff in spi.c into ATSTK1002 board code and update SPI platform device definitions according to the new GPIO API. Signed-off-by: Haavard Skinnemoen commit cb6542d8f5c0f68983236d04145a1877d3457763 Author: Haavard Skinnemoen Date: Wed Jan 10 20:18:05 2007 +0100 [AVR32] Add GPIO pin definitions for PIOE pins PIOE is mostly left alone on AP7000 since it controls the muxing of the SDRAM controller. But that's no reason not to define the pins. Signed-off-by: Haavard Skinnemoen commit 764898708765f190a80a92cea215e0d731471a2b Author: Haavard Skinnemoen Date: Wed Jan 10 20:15:56 2007 +0100 [AVR32] Arch-neutral GPIO API implementation AVR32 implementation of the arch-neutral GPIO API described by Documentation/gpio.txt. Signed-off-by: Haavard Skinnemoen commit ab41cf848eeb4f8c046d9a5d65e266d3903d336d Author: Robert P. J. Day Date: Sun Jan 7 18:43:41 2007 -0500 Remove a couple final references to obsolete verify_area(). Remove a couple final references to the obsolete verify_area() call, which was long ago replaced by access_ok(). Signed-off-by: Robert P. J. Day Signed-off-by: Haavard Skinnemoen arch/avr32/mm/init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/avr32/mm/init.c b/arch/avr32/mm/init.c index 70da689..7dfab69 100644 --- a/arch/avr32/mm/init.c +++ b/arch/avr32/mm/init.c @@ -371,7 +371,7 @@ void __init paging_init(void) low = pgdat->bdata->node_low_pfn; memset(zones_size, 0, sizeof(zones_size)); - zones_size[ZONE_NORMAL] = low - start_pfn; + zones_size[ZONE_DMA] = low - start_pfn; printk("Node %u: start_pfn = 0x%lx, low = 0x%lx\n", nid, start_pfn, low);