13 Jan, 2012

1 commit

  • Several platforms are now using the memblock_alloc+memblock_free+
    memblock_remove trick to obtain memory which won't be mapped in the
    kernel's page tables. Most platforms do this (correctly) in the
    ->reserve callback. However, OMAP has started to call these functions
    outside of this callback, and this is extremely unsafe - memory will
    not be unmapped, and could well be given out after memblock is no
    longer responsible for its management.

    So, provide arm_memblock_steal() to perform this function, and ensure
    that it panic()s if it is used inappropriately. Convert everyone
    over, including OMAP.

    As a result, OMAP with OMAP4_ERRATA_I688 enabled will panic on boot
    with this change. Mark this option as BROKEN and make it depend on
    BROKEN. OMAP needs to be fixed, or 137d105d50 (ARM: OMAP4: Fix
    errata i688 with MPU interconnect barriers.) reverted until such
    time it can be fixed correctly.

    Signed-off-by: Russell King

    Russell King
     

05 Jan, 2012

1 commit


02 Nov, 2011

1 commit

  • * 'next/devel' of git://git.linaro.org/people/arnd/arm-soc: (50 commits)
    ARM: tegra: update defconfig
    arm/tegra: Harmony: Configure PMC for low-level interrupts
    arm/tegra: device tree support for ventana board
    arm/tegra: add support for ventana pinmuxing
    arm/tegra: prepare Seaboard pinmux code for derived boards
    arm/tegra: pinmux: ioremap registers
    gpio/tegra: Convert to a platform device
    arm/tegra: Convert pinmux driver to a platform device
    arm/dt: Tegra: Add pinmux node to tegra20.dtsi
    arm/tegra: Prep boards for gpio/pinmux conversion to pdevs
    ARM: mx5: fix clock usage for suspend
    ARM i.MX entry-macro.S: remove now unused code
    ARM i.MX boards: use CONFIG_MULTI_IRQ_HANDLER
    ARM i.MX tzic: add handle_irq function
    ARM i.MX avic: add handle_irq function
    ARM: mx25: Add the missing IIM base definition
    ARM i.MX avic: convert to use generic irq chip
    mx31moboard: Add poweroff support
    ARM: mach-qong: Add watchdog support
    ARM: davinci: AM18x: Add wl1271/wlan support
    ...

    Fix up conflicts in:
    arch/arm/mach-at91/at91sam9g45.c
    arch/arm/mach-mx5/devices-imx53.h
    arch/arm/plat-mxc/include/mach/memory.h

    Linus Torvalds
     

26 Sep, 2011

1 commit


22 Aug, 2011

1 commit


07 Jun, 2011

1 commit

  • The patch makes necessary changes on gpio-mxc as below to turn it
    into an upstanding gpio driver.

    * Add a list to save all mx2 ports references, so that
    mx2_gpio_irq_handler can walk through all interrupt status
    registers

    * Use readl/writel to replace mach-specific accessors
    __raw_readl/__raw_writel

    * Change mxc_gpio_init into mxc_gpio_probe function

    * Move "struct mxc_gpio_port" into gpio-mxc.c, as it needs not to
    be public at all, and also make some other cleanup on
    plat-mxc/include/mach/gpio.h at the same time

    And the patch then migrates mach-imx and mach-mx5 to the updated
    driver by adding corresponding platform devices.

    Signed-off-by: Shawn Guo
    Acked-by: Olof Johansson
    Acked-by: Sascha Hauer
    Signed-off-by: Grant Likely

    Shawn Guo
     

19 May, 2011

1 commit