29 Jul, 2007

2 commits

  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 4527/1: pxa: fix pxa27x ac97 cold reset in ASoC due to CKEN change
    [ARM] 4530/1: MXC: fix elf_hwcap compile breakage as in iop13xx
    [ARM] 4529/1: [HP Jornada 7XX] - Fix jornada720.c to use SSP driver
    [ARM] 4528/1: [HP Jornada 7XX] - Fix typo in jornada720_ssp.c
    [ARM] Remove CONFIG_IGNORE_FIQ
    [ARM] 4526/1: pxa: make ARCH_PXA select GENERIC_CLOCKEVENTS
    [ARM] setup_profiling_timer must not be __init

    Linus Torvalds
     
  • MXC needs the same change as IOP. See [ARM] 4494/1
    or commit 7dea1b20066cd30fb54da7e686b16b5e38b46b2d

    An undefined reference to elf_hwcap prevents linkage, due
    to changes made by f884b1cf578e079f01682514ae1ae64c74586602
    and d1cbbd6b413510c6512f4f80ffd48db1a8dd554a

    Removing processor.h removes the extern definition of
    elf_hwcap, which fixes the link issue, but forgets cpu_relax().
    So, instead, we'll call barrier() directly.

    Cc: Lennert Buytenhek
    Cc: Catalin Marinas
    Acked-by: Ross Wille
    Signed-off-by: Quinn Jensen
    Signed-off-by: Russell King

    Quinn Jensen
     

27 Jul, 2007

1 commit

  • Have put_unaligned() warn if types would be wrong
    for assignment, slap force-casts where needed. Cast the
    result of get_unaligned to typeof(*ptr). With that in
    place we get proper typechecking, both from gcc and from sparse,
    including that for bitwise types.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     

24 Jul, 2007

1 commit

  • Some of the code has been gradually transitioned to using the proper
    struct request_queue, but there's lots left. So do a full sweet of
    the kernel and get rid of this typedef and replace its uses with
    the proper type.

    Signed-off-by: Jens Axboe

    Jens Axboe
     

23 Jul, 2007

5 commits


22 Jul, 2007

12 commits


21 Jul, 2007

6 commits

  • This patch adds the necessary ifdef's to the proc-v7.S code and
    defines the v7wbi_tlb_fns macro in pgtable-nommu.h

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • These patches add full SSP/MCU support for the HP Jornada 720
    machine. Its needed to handle keyboard, touchscreen, battery
    and backlight/lcd.

    The main driver exports functions and the header file exports
    the command values. When talking to the MCU the general procedure
    is to start MCU, send command (using ssp_inout(command)), the
    proper reply is always TXDUMMY. After receiving TXDUMMY you can
    send the value you wish pushed (for example brightness level).
    End with ssp_end() so the spinlock gets unlocked.

    Drivers using this havent been implemented yet, but will shortly.

    Signed-off-by: Kristoffer Ericson
    Signed-off-by: Russell King

    Kristoffer Ericson
     
  • With this patch, Kconfig only selects CPU_HAS_ASID for the MMU
    case. It also corrects the typo in the v6wbi_tlb_fns definition in
    pgtable-nommu.h.

    Signed-off-by: Catalin Marinas
    Signed-off-by: Russell King

    Catalin Marinas
     
  • While bisecting an iop13xx compile failure I noticed that
    include/asm-arm/hwcap.h should be included from include/asm-arm/elf.h
    outside #ifndef __ASSEMBLY__ since hwcap.h has its own __ASSEMBLY__
    protections.

    Cc: Catalin Marinas
    Signed-off-by: Dan Williams
    Signed-off-by: Russell King

    Dan Williams
     
  • 1. split pxa_cpu_suspend to pxa25x_cpu_suspend and pxa27x_cpu_suspend
    and make pxa25x_cpu_pm_enter() and pxa27x_cpu_pm_enter() to invoke
    the corresponding _suspend functions, thus remove all those ugly
    #ifdef .. #endif out of sleep.S

    2. move the declarations of those suspend functions to pm.h

    note: this is not a clean enough solution until all the pxa25x and
    pxa27x specific part is further removed out of sleep.S, sleep.S is
    supposed to contain generic code only

    Signed-off-by: eric miao
    Signed-off-by: Russell King

    Eric Miao
     
  • 1. introduce a structure pxa_cpu_pm_fns for pxa25x/pxa27x specific
    operations as follows:

    struct pxa_cpu_pm_fns {
    int save_size;
    void (*save)(unsigned long *);
    void (*restore)(unsigned long *);
    int (*valid)(suspend_state_t state);
    void (*enter)(suspend_state_t state);
    }

    2. processor specific registers saving and restoring are performed
    by calling the corresponding (*save) and (*restore)

    3. pxa_cpu_pm_fns->save_size should be initialized to the required
    size for processor specific registers saving, the allocated
    memory address will be passed to (*save) and (*restore)

    memory allocation happens early in pxa_pm_init(), and save_size
    should be assigned prior to this (which is usually true, since
    pxa_pm_init() happens in device_initcall()

    4. there're some redundancies for those SLEEP_SAVE_XXX and related
    macros, will be fixed later, one way possible is for the system
    devices to handle the specific registers saving and restoring

    Signed-off-by: eric miao
    Signed-off-by: Russell King

    Eric Miao
     

20 Jul, 2007

13 commits