GIT 7fab4ea44709ab9fc0980448991f2a0bbc6abda6 git+ssh://master.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6.git#avr32-arch commit Author: Haavard Skinnemoen Date: Wed Oct 31 20:34:11 2007 +0100 [AVR32] Export intc_get_pending symbol Oprofile needs to call intc_get_pending() in order to determine whether a performance counter interrupt is pending. Also, include the header which declares intc_get_pending() and fix the definition to match the prototype. Signed-off-by: Haavard Skinnemoen commit 685e9b7fb78eaedcdf36d988c8dd2f9224d9fd13 Author: Haavard Skinnemoen Date: Wed Oct 31 20:32:00 2007 +0100 [AVR32] Add missing bit in PCCR sysreg The enable bit was missing... Signed-off-by: Haavard Skinnemoen commit c0782583ea1ccfaa2c05f7e92422b735538afcdf Author: ben.nizette@iinet.net.au Date: Wed Nov 7 16:16:22 2007 +0900 [AVR32] Fix duplicate clock index in at32ap machine code There's a duplicate clock index between USART0 and USART1 which may be causing system crashes when USART0 is used. Change the USART0 index to '3', indicating the clock that is actually used by USART0. Signed-off-by: Ben Nizette Signed-off-by: Haavard Skinnemoen commit 2523f53d3f3eb37c833335bf52ef113e4f0bea72 Author: Adrian Bunk Date: Mon Nov 5 18:06:12 2007 +0100 [AVR32] remove UID16 option avr32 already sees the option from init/Kconfig. Signed-off-by: Adrian Bunk Signed-off-by: Haavard Skinnemoen commit 4e4da9bca85a86b081696db049478dc8d5d244f1 Author: Haavard Skinnemoen Date: Mon Nov 5 14:06:51 2007 +0100 [AVR32] Turn off debugging in SMC driver Signed-off-by: Haavard Skinnemoen commit 5c0cfd453a1f5e5b92c8a83ed67db56a1304787e Author: Hans-Christian Egtvedt Date: Tue Oct 30 14:29:50 2007 +0100 Extend I/O resource for wdt0 for at32ap7000 devices This patch extends the I/O resource to 0xfff000cf which will enable the watchdog driver to access the reset cause (RCAUSE) register. Making it capable of reporting boot status. Signed-off-by: Hans-Christian Egtvedt Signed-off-by: Haavard Skinnemoen commit 92eec576a5927b2e01b32822a468f3c52f0bb569 Author: Haavard Skinnemoen Date: Thu Jul 5 17:08:09 2007 +0200 [AVR32] Drop GFP_COMP for DMA memory allocations dma_alloc_coherent wants to split pages after allocation in order to reduce the memory footprint. This does not work well with GFP_COMP pages, so drop this flag before allocation. This patch was forward-ported from BSP 2.0 Signed-off-by: Haavard Skinnemoen commit cc233b096ae6943a3681373cb3f4c603decac03e Author: Haavard Skinnemoen Date: Tue Oct 16 11:23:51 2007 +0200 [AVR32] pcmcia ioaddr_t should be 32 bits on AVR32 Define ioaddr_t as u_int on AVR32 just like on ARM and MIPS. Signed-off-by: Haavard Skinnemoen arch/avr32/mm/dma-coherent.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/avr32/mm/dma-coherent.c b/arch/avr32/mm/dma-coherent.c index 177fea8..6d8c794 100644 --- a/arch/avr32/mm/dma-coherent.c +++ b/arch/avr32/mm/dma-coherent.c @@ -41,6 +41,13 @@ static struct page *__dma_alloc(struct device *dev, size_t size, struct page *page, *free, *end; int order; + /* Following is a work-around (a.k.a. hack) to prevent pages + * with __GFP_COMP being passed to split_page() which cannot + * handle them. The real problem is that this flag probably + * should be 0 on AVR32 as it is not supported on this + * platform--see CONFIG_HUGETLB_PAGE. */ + gfp &= ~(__GFP_COMP); + size = PAGE_ALIGN(size); order = get_order(size);