Changeset 33485


Ignore:
Timestamp:
2012-09-20T01:49:58+02:00 (5 years ago)
Author:
nbd
Message:

cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls

Location:
trunk/target/linux/cns3xxx/patches-3.3
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/cns3xxx/patches-3.3/100-laguna_support.patch

    r33484 r33485  
    793793 #include <mach/cns3xxx.h> 
    794794 #include "core.h" 
    795 @@ -68,11 +69,24 @@ static struct map_desc cns3xxx_io_desc[] 
     795@@ -58,11 +59,24 @@ static struct map_desc cns3xxx_io_desc[] 
    796796                .pfn            = __phys_to_pfn(CNS3XXX_PM_BASE), 
    797797                .length         = SZ_4K, 
  • trunk/target/linux/cns3xxx/patches-3.3/102-cns3xxx_timers.patch

    r33484 r33485  
    11--- a/arch/arm/mach-cns3xxx/core.c 
    22+++ b/arch/arm/mach-cns3xxx/core.c 
    3 @@ -125,12 +125,13 @@ static void cns3xxx_timer_set_mode(enum  
     3@@ -115,12 +115,13 @@ static void cns3xxx_timer_set_mode(enum  
    44  
    55        switch (mode) { 
     
    1616                break; 
    1717        case CLOCK_EVT_MODE_UNUSED: 
    18 @@ -155,11 +156,11 @@ static int cns3xxx_timer_set_next_event( 
     18@@ -145,11 +146,11 @@ static int cns3xxx_timer_set_next_event( 
    1919  
    2020 static struct clock_event_device cns3xxx_tmr1_clockevent = { 
     
    3030 }; 
    3131  
    32 @@ -201,6 +202,35 @@ static struct irqaction cns3xxx_timer_ir 
     32@@ -191,6 +192,35 @@ static struct irqaction cns3xxx_timer_ir 
    3333        .handler        = cns3xxx_timer_interrupt, 
    3434 }; 
     
    6666  * Set up the clock source and clock events devices 
    6767  */ 
    68 @@ -218,13 +248,12 @@ static void __init __cns3xxx_timer_init( 
     68@@ -208,13 +238,12 @@ static void __init __cns3xxx_timer_init( 
    6969        /* stop free running timer3 */ 
    7070        writel(0, cns3xxx_tmr1 + TIMER_FREERUN_CONTROL_OFFSET); 
     
    8383        irq_mask = readl(cns3xxx_tmr1 + TIMER1_2_INTERRUPT_MASK_OFFSET); 
    8484        irq_mask &= ~(1 << 2); 
    85 @@ -236,23 +265,9 @@ static void __init __cns3xxx_timer_init( 
     85@@ -226,23 +255,9 @@ static void __init __cns3xxx_timer_init( 
    8686        val |= (1 << 9); 
    8787        writel(val, cns3xxx_tmr1 + TIMER1_2_CONTROL_OFFSET); 
  • trunk/target/linux/cns3xxx/patches-3.3/104-cns3xxx_gpio.patch

    r33484 r33485  
    2020 #include "core.h" 
    2121  
    22 @@ -82,12 +83,73 @@ static struct map_desc cns3xxx_io_desc[] 
     22@@ -72,12 +73,73 @@ static struct map_desc cns3xxx_io_desc[] 
    2323        }, 
    2424 }; 
  • trunk/target/linux/cns3xxx/patches-3.3/105-cns3xxx_pcie_io.patch

    r31809 r33485  
    11--- a/arch/arm/mach-cns3xxx/core.c 
    22+++ b/arch/arm/mach-cns3xxx/core.c 
    3 @@ -80,6 +80,16 @@ static struct map_desc cns3xxx_io_desc[] 
     3@@ -70,6 +70,16 @@ static struct map_desc cns3xxx_io_desc[] 
    44                .pfn            = __phys_to_pfn(CNS3XXX_SSP_BASE), 
    55                .length         = SZ_4K, 
     
    1818 }; 
    1919  
    20 @@ -155,13 +165,13 @@ void __init cns3xxx_common_init(void) 
     20@@ -145,13 +155,13 @@ void __init cns3xxx_common_init(void) 
    2121 /* used by entry-macro.S */ 
    2222 void __init cns3xxx_init_irq(void) 
     
    3535  
    3636        printk(KERN_INFO "powering system down...\n"); 
    37 @@ -335,7 +345,7 @@ static void __init __cns3xxx_timer_init( 
     37@@ -325,7 +335,7 @@ static void __init __cns3xxx_timer_init( 
    3838  
    3939 static void __init cns3xxx_timer_init(void) 
Note: See TracChangeset for help on using the changeset viewer.