21 Dec, 2011

1 commit


17 Dec, 2011

1 commit

  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: OMAP: rx51: fix USB
    ARM: OMAP: mcbsp: Fix possible memory corruption
    arm/imx: fix power button on imx51 babbage board
    ARM: imx: fix cpufreq build errors
    ARM: mx5: add __initconst for fec pdata
    MXC PWM: should active during DOZE/WAIT/DBG mode
    ARM: EXYNOS: Fix build error without CONFIG_LOCAL_TIMERS
    ARM: EXYNOS: Fix for stall in case of cpu hotplug or sleep
    ARM: S5PV210: Set 1000ns as PWM backlight period on SMDKV210
    ARM: SAMSUNG: remove duplicated header include

    Linus Torvalds
     

16 Dec, 2011

3 commits


14 Dec, 2011

3 commits


13 Dec, 2011

1 commit

  • Commits 09d28d ("ARM: OMAP: mcbsp: Start generalize omap2_mcbsp_set_clks_src")
    and 7bc0c4 ("ARM: OMAP: mcbsp: Start generalize signal muxing functions")
    incorrectly set two struct omap_mcbsp_platform_data fields after
    omap_device_build_ss and kfree calls.

    Fix this by moving these pdata assignments before those calls.

    Signed-off-by: Jarkko Nikula
    Reported-by: NeilBrown
    Signed-off-by: Tony Lindgren

    Jarkko Nikula
     

12 Dec, 2011

1 commit


10 Dec, 2011

1 commit


09 Dec, 2011

5 commits

  • Since commit 6571534 (plat-mxc: iomux-v3.h: implicitly enable
    pull-up/down when that's desired) was in, the power button on imx51
    babbage board stopped working because it's pulled up by mistake.
    The patch removes the pull-up setting from the pad configuration for
    that gpio to make the power button back to work.

    Signed-off-by: Shawn Guo
    Signed-off-by: Sascha Hauer

    Shawn Guo
     
  • CC arch/arm/plat-mxc/cpufreq.o
    arch/arm/plat-mxc/cpufreq.c:203: error: expected declaration specifiers or '...' before string constant
    arch/arm/plat-mxc/cpufreq.c:203: warning: data definition has no type or storage class
    arch/arm/plat-mxc/cpufreq.c:203: warning: type defaults to 'int' in declaration of 'MODULE_AUTHOR'
    arch/arm/plat-mxc/cpufreq.c:203: warning: function declaration isn't a prototype
    arch/arm/plat-mxc/cpufreq.c:204: error: expected declaration specifiers or '...' before string constant
    arch/arm/plat-mxc/cpufreq.c:204: warning: data definition has no type or storage class
    arch/arm/plat-mxc/cpufreq.c:204: warning: type defaults to 'int' in declaration of 'MODULE_DESCRIPTION'
    arch/arm/plat-mxc/cpufreq.c:204: warning: function declaration isn't a prototype
    arch/arm/plat-mxc/cpufreq.c:205: error: expected declaration specifiers or '...' before string constant
    arch/arm/plat-mxc/cpufreq.c:205: warning: data definition has no type or storage class
    arch/arm/plat-mxc/cpufreq.c:205: warning: type defaults to 'int' in declaration of 'MODULE_LICENSE'
    arch/arm/plat-mxc/cpufreq.c:205: warning: function declaration isn't a prototype
    make[1]: *** [arch/arm/plat-mxc/cpufreq.o] Error 1
    make: *** [arch/arm/plat-mxc] Error 2

    Signed-off-by: Richard Zhao
    Signed-off-by: Richard Zhao
    Signed-off-by: Sascha Hauer

    Richard Zhao
     
  • Signed-off-by: Dong Aisheng
    Acked-by: Uwe Kleine-König
    Signed-off-by: Sascha Hauer

    Dong Aisheng
     
  • Signed-off-by: Jason Chen
    Signed-off-by: Sascha Hauer
    Cc: stable@kernel.org

    Jason Chen
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (28 commits)
    ARM: sa1100: fix build error
    ARM: OMAP1: recalculate loops per jiffy after dpll1 reprogram
    ARM: davinci: dm365 evm: align nand partition table to u-boot
    ARM: davinci: da850 evm: change audio edma event queue to EVENTQ_0
    ARM: davinci: dm646x evm: wrong register used in setup_vpif_input_channel_mode
    ARM: davinci: dm646x does not have a DSP domain
    ARM: davinci: psc: fix incorrect offsets
    ARM: davinci: psc: fix incorrect mask
    ARM: mx28: LRADC macro rename
    arm: mx23: recognise stmp378x as mx23
    ARM: mxs: fix machines' initializers order
    ARM: mxs/tx28: add __initconst for fec pdata
    ARM: S3C64XX: Staticise s3c6400_sysclass
    ARM: S3C64XX: Add linux/export.h to dev-spi.c
    ARM: S3C64XX: Remove extern from definition of framebuffer setup call
    MAINTAINERS: Extend Samsung patterns to cover SPI and ASoC drivers
    MAINTAINERS: Add linux-samsung-soc mailing list for Samsung
    MAINTAINERS: Consolidate Samsung MAINTAINERS
    ARM: CSR: PM: fix build error due to undeclared 'THIS_MODULE'
    ARM: CSR: fix build error due to new mdesc->dma_zone_size
    ...

    Linus Torvalds
     

08 Dec, 2011

7 commits


07 Dec, 2011

1 commit


06 Dec, 2011

11 commits

  • Arnd Bergmann
     
  • Arnd Bergmann
     
  • Arnd Bergmann
     
  • Arnd Bergmann
     
  • Arnd Bergmann
     
  • In the unlikely case that a platform registers a PMU platform_device
    when running on a CPU that is unsupported by perf, we will encounter a
    NULL dereference when trying to assign the platform_device to the
    cpu_pmu structure.

    This patch checks that the CPU is supported by perf before assigning
    the platform_device.

    Reported-by: Pawel Moll
    Signed-off-by: Will Deacon
    Signed-off-by: Russell King

    Will Deacon
     
  • The linker places the unwind tables in readonly sections. So when using
    an XIP kernel these are located in ROM and cannot be modified.
    For that reason the current approach to convert the relative offsets in
    the unwind index to absolute addresses early in the boot process doesn't
    work with XIP.

    The offsets in the unwind index section are signed 31 bit numbers and
    the structs are sorted by this offset. So it first has offsets between
    0x40000000 and 0x7fffffff (i.e. the negative offsets) and then offsets
    between 0x00000000 and 0x3fffffff. When seperating these two blocks the
    numbers are sorted even when interpreting the offsets as unsigned longs.

    So determine the first non-negative entry once and track that using the
    new origin pointer. The actual bisection can then use a plain unsigned
    long comparison. The only thing that makes the new bisection more
    complicated is that the offsets are relative to their position in the
    index section, so the key to search needs to be adapted accordingly in
    each step.

    Moreover several consts are added to catch future writes and rename the
    member "addr" of struct unwind_idx to "addr_offset" to better match the
    new semantic. (This has the additional benefit of breaking eventual
    users at compile time to make them aware of the change.)

    In my tests the new algorithm was a tad faster than the original and has
    the additional upside of not needing the initial conversion and so saves
    some boot time and it's possible to unwind even earlier.

    Acked-by: Catalin Marinas
    Acked-by: Nicolas Pitre
    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Russell King

    Uwe Kleine-König
     
  • Commit 1b9f95f8ade9 (ARM: prepare for removal of a bunch of
    files) introduced CONFIG_PHYS_OFFSET but the Kconfig hex prompt did not
    provide a default value.

    This has the undesired side effect of breaking a reportedly used
    trick for updating defconfigs on the fly for routine buildtesting
    across all arch and all platforms, i.e.

    cp /path/to/somedefconfig .config ; yes "" | make oldconfig

    because the config system will endlessly loop until a valid address is
    provided.

    However we can't just pick a random default value since it is likely to
    be wrong for the majority of the boards as the right answer for this
    option is quite varied. So the fact that the config system insists on
    having a proper value be entered is actually a good thing.

    It turns out that only at91x40_defconfig has this problem because it has
    CONFIG_MMU=n. However, in the !MMU case, there is already a CONFIG_DRAM_BASE
    value that can be used here. So let's use that as a default in that case
    and suppress the redundant CONFIG_PHYS_OFFSET prompt.

    Eventually the DRAM_BASE config option could simply be replaced by
    PHYS_OFFSET directly, but that's a larger change better suited for later.

    Reported-by: Paul Gortmaker
    Signed-off-by: Nicolas Pitre
    Acked-by: Uwe Kleine-König
    Signed-off-by: Russell King

    Nicolas Pitre
     
  • Fix compile error due to missing include.

    Signed-off-by: Joerg Roedel

    Joerg Roedel
     
  • * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    perf: Fix loss of notification with multi-event
    perf, x86: Force IBS LVT offset assignment for family 10h
    perf, x86: Disable PEBS on SandyBridge chips
    trace_events_filter: Use rcu_assign_pointer() when setting ftrace_event_call->filter
    perf session: Fix crash with invalid CPU list
    perf python: Fix undefined symbol problem
    perf/x86: Enable raw event access to Intel offcore events
    perf: Don't use -ENOSPC for out of PMU resources
    perf: Do not set task_ctx pointer in cpuctx if there are no events in the context
    perf/x86: Fix PEBS instruction unwind
    oprofile, x86: Fix crash when unloading module (nmi timer mode)
    oprofile: Fix crash when unloading module (hr timer mode)

    Linus Torvalds
     
  • Otherwise timing is inaccurate, resulting in devices which depend on it,
    like omap-keypad, broken.

    Tested on Amstrad Delta.

    Signed-off-by: Janusz Krzysztofik
    [tony@atomide.com: removed comment referencing a development branch]
    Signed-off-by: Tony Lindgren

    Janusz Krzysztofik
     

05 Dec, 2011

5 commits

  • Current partition information maintained in kernel does not match with
    u-boot, this leads to corruption of u-boot env when we update uImage
    from kernel. Patch fixes it to match with u-boot partition information.

    Signed-off-by: Shankarmurthy,Akshay
    Signed-off-by: Sekhar Nori

    Shankarmurthy,Akshay
     
  • On OMAP-L138 platform, EDMA event queue 0 should be used for audio
    transfers so that they are not starved by video data moving on event queue 1.

    Commit 48519f0ae03bc7e86b3dc93e56f1334d53803770 (ASoC: davinci: let platform
    data define edma queue numbers) had a side-effect of changing this behavior
    by making the driver actually honor the platform data passed.

    Fix this now by passing event queue 0 as the queue to be used for audio
    transfers.

    Signed-off-by: Manjunathappa, Prakash
    Signed-off-by: Sekhar Nori
    Cc: # v2.6.36.x and above

    Manjunathappa, Prakash
     
  • The function setup_vpif_input_channel_mode() used the VSCLKDIS register
    instead of VIDCLKCTL. This meant that when in HD mode videoport channel 0
    used a different clock from channel 1.

    Clearly a copy-and-paste error.

    Signed-off-by: Hans Verkuil
    Acked-by: Manjunath Hadli
    Signed-off-by: Sekhar Nori
    Cc: stable@kernel.org

    Hans Verkuil
     
  • Fix the incorrect classification of DSP clock into a
    seperate DSP domain on DM646x.

    Per the reference guide (http://www.ti.com/lit/ug/spruep9e/spruep9e.pdf)
    there is only one "AlwaysON" power domain on DM6467.

    Signed-off-by: Sekhar Nori

    Sekhar Nori
     
  • Seperate PDSTAT and PDCTL registers are defined for
    domain 0 and domain 1 where as the code always reads
    the domain 0 PDSTAT register and domain 1 PDCTL register.

    Fix this issue. While at it, introduce usage of macros
    for register masks to improve readability.

    Reviewed-by: Sergei Shtylyov
    Signed-off-by: Murali Karicheri
    Signed-off-by: Sekhar Nori

    Murali Karicheri