14 Oct, 2015

1 commit


06 Oct, 2015

1 commit

  • DSA expects the host_dev pointer to be the device structure associated
    with the MDIO bus controller driver. First commit breaking that was
    c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO
    driver"), and then, it got completely under the radar for a while.

    Reported-by: Frans van de Wiel
    Fixes: c3a07134e6aa ("mv643xx_eth: convert to use the Marvell Orion MDIO driver")
    CC: stable@vger.kernel.org
    Signed-off-by: Florian Fainelli
    Signed-off-by: Gregory CLEMENT

    Florian Fainelli
     

16 Sep, 2015

1 commit

  • Most interrupt flow handlers do not use the irq argument. Those few
    which use it can retrieve the irq number from the irq descriptor.

    Remove the argument.

    Search and replace was done with coccinelle and some extra helper
    scripts around it. Thanks to Julia for her help!

    Signed-off-by: Thomas Gleixner
    Cc: Julia Lawall
    Cc: Jiang Liu

    Thomas Gleixner
     

05 Aug, 2015

1 commit

  • …p/tip into next/cleanup

    Merge "ARM: Interrupt cleanups and API change preparation" from Thomas
    Gleixner:

    The following patch series contains the following changes:

    - Consolidation of chained interrupt handler setup/removal

    - Switch to functions which avoid a redundant interrupt
    descriptor lookup

    - Preparation of interrupt flow handlers for the 'irq' argument
    removal

    * 'queue/irq/arm' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    ARM/orion/gpio: Prepare gpio_irq_handler for irq argument removal
    ARM/pxa: Prepare balloon3_irq_handler for irq argument removal
    ARM/pxa: Prepare *_irq_handler for irq argument removal
    ARM/dove: Prepare pmu_irq_handler for irq argument removal
    ARM/sa1111: Prepare sa1111_irq_handler for irq argument removal
    ARM/locomo: Prepare locomo_handler for irq argument removal
    ARM, irq: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc
    ARM/LPC32xx: Use irq_set_handler_locked()
    ARM/irq: Use access helper irq_data_get_affinity_mask()
    ARM/locomo: Consolidate chained IRQ handler install/remove
    ARM/orion: Consolidate chained IRQ handler install/remove

    Signed-off-by: Olof Johansson <olof@lixom.net>

    Olof Johansson
     

17 Jul, 2015

1 commit

  • Migrate orion driver to the new 'set-state' interface provided by
    clockevents core, the earlier 'set-mode' interface is marked obsolete
    now.

    This also enables us to implement callbacks for new states of clockevent
    devices, for example: ONESHOT_STOPPED.

    Cc: Jason Cooper
    Cc: Andrew Lunn
    Cc: Sebastian Hesselbarth
    Cc: Gregory Clement
    Signed-off-by: Viresh Kumar

    Viresh Kumar
     

13 Jul, 2015

3 commits

  • The irq argument of most interrupt flow handlers is unused or merily
    used instead of a local variable. The handlers which need the irq
    argument can retrieve the irq number from the irq descriptor.

    In this case the irq argument is shadowed by a local variable already,
    so just rename it.

    Search and update was done with coccinelle and the invaluable help of
    Julia Lawall.

    Signed-off-by: Thomas Gleixner
    Cc: Julia Lawall
    Cc: Jiang Liu
    Cc: Russell King
    Cc: linux-arm-kernel@lists.infradead.org

    Thomas Gleixner
     
  • Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we
    already have a pointer to corresponding irq_desc.

    Signed-off-by: Jiang Liu
    Cc: Russell King
    Cc: linux-arm-kernel@lists.infradead.org
    Signed-off-by: Thomas Gleixner

    Jiang Liu
     
  • Chained irq handlers usually set up handler data as well. We now have
    a function to set both under irq_desc->lock. Replace the two calls
    with one.

    Search and conversion was done with coccinelle.

    Reported-by: Russell King
    Signed-off-by: Thomas Gleixner
    Cc: Julia Lawall
    Cc: Russell King
    Cc: linux-arm-kernel@lists.infradead.org

    Thomas Gleixner
     

06 May, 2015

1 commit


11 Dec, 2014

1 commit

  • Pull ACPI and power management updates from Rafael Wysocki:
    "This time we have some more new material than we used to have during
    the last couple of development cycles.

    The most important part of it to me is the introduction of a unified
    interface for accessing device properties provided by platform
    firmware. It works with Device Trees and ACPI in a uniform way and
    drivers using it need not worry about where the properties come from
    as long as the platform firmware (either DT or ACPI) makes them
    available. It covers both devices and "bare" device node objects
    without struct device representation as that turns out to be necessary
    in some cases. This has been in the works for quite a few months (and
    development cycles) and has been approved by all of the relevant
    maintainers.

    On top of that, some drivers are switched over to the new interface
    (at25, leds-gpio, gpio_keys_polled) and some additional changes are
    made to the core GPIO subsystem to allow device drivers to manipulate
    GPIOs in the "canonical" way on platforms that provide GPIO
    information in their ACPI tables, but don't assign names to GPIO lines
    (in which case the driver needs to do that on the basis of what it
    knows about the device in question). That also has been approved by
    the GPIO core maintainers and the rfkill driver is now going to use
    it.

    Second is support for hardware P-states in the intel_pstate driver.
    It uses CPUID to detect whether or not the feature is supported by the
    processor in which case it will be enabled by default. However, it
    can be disabled entirely from the kernel command line if necessary.

    Next is support for a platform firmware interface based on ACPI
    operation regions used by the PMIC (Power Management Integrated
    Circuit) chips on the Intel Baytrail-T and Baytrail-T-CR platforms.
    That interface is used for manipulating power resources and for
    thermal management: sensor temperature reporting, trip point setting
    and so on.

    Also the ACPI core is now going to support the _DEP configuration
    information in a limited way. Basically, _DEP it supposed to reflect
    off-the-hierarchy dependencies between devices which may be very
    indirect, like when AML for one device accesses locations in an
    operation region handled by another device's driver (usually, the
    device depended on this way is a serial bus or GPIO controller). The
    support added this time is sufficient to make the ACPI battery driver
    work on Asus T100A, but it is general enough to be able to cover some
    other use cases in the future.

    Finally, we have a new cpufreq driver for the Loongson1B processor.

    In addition to the above, there are fixes and cleanups all over the
    place as usual and a traditional ACPICA update to a recent upstream
    release.

    As far as the fixes go, the ACPI LPSS (Low-power Subsystem) driver for
    Intel platforms should be able to handle power management of the DMA
    engine correctly, the cpufreq-dt driver should interact with the
    thermal subsystem in a better way and the ACPI backlight driver should
    handle some more corner cases, among other things.

    On top of the ACPICA update there are fixes for race conditions in the
    ACPICA's interrupt handling code which might lead to some random and
    strange looking failures on some systems.

    In the cleanups department the most visible part is the series of
    commits targeted at getting rid of the CONFIG_PM_RUNTIME configuration
    option. That was triggered by a discussion regarding the generic
    power domains code during which we realized that trying to support
    certain combinations of PM config options was painful and not really
    worth it, because nobody would use them in production anyway. For
    this reason, we decided to make CONFIG_PM_SLEEP select
    CONFIG_PM_RUNTIME and that lead to the conclusion that the latter
    became redundant and CONFIG_PM could be used instead of it. The
    material here makes that replacement in a major part of the tree, but
    there will be at least one more batch of that in the second part of
    the merge window.

    Specifics:

    - Support for retrieving device properties information from ACPI _DSD
    device configuration objects and a unified device properties
    interface for device drivers (and subsystems) on top of that. As
    stated above, this works with Device Trees and ACPI and allows
    device drivers to be written in a platform firmware (DT or ACPI)
    agnostic way. The at25, leds-gpio and gpio_keys_polled drivers are
    now going to use this new interface and the GPIO subsystem is
    additionally modified to allow device drivers to assign names to
    GPIO resources returned by ACPI _CRS objects (in case _DSD is not
    present or does not provide the expected data). The changes in
    this set are mostly from Mika Westerberg, Rafael J Wysocki, Aaron
    Lu, and Darren Hart with some fixes from others (Fabio Estevam,
    Geert Uytterhoeven).

    - Support for Hardware Managed Performance States (HWP) as described
    in Volume 3, section 14.4, of the Intel SDM in the intel_pstate
    driver. CPUID is used to detect whether or not the feature is
    supported by the processor. If supported, it will be enabled
    automatically unless the intel_pstate=no_hwp switch is present in
    the kernel command line. From Dirk Brandewie.

    - New Intel Broadwell-H ID for intel_pstate (Dirk Brandewie).

    - Support for firmware interface based on ACPI operation regions used
    by the PMIC chips on the Intel Baytrail-T and Baytrail-T-CR
    platforms for power resource control and thermal management (Aaron
    Lu).

    - Limited support for retrieving off-the-hierarchy dependencies
    between devices from ACPI _DEP device configuration objects and
    deferred probing support for the ACPI battery driver based on the
    _DEP information to make that driver work on Asus T100A (Lan
    Tianyu).

    - New cpufreq driver for the Loongson1B processor (Kelvin Cheung).

    - ACPICA update to upstream revision 20141107 which only affects
    tools (Bob Moore).

    - Fixes for race conditions in the ACPICA's interrupt handling code
    and in the ACPI code related to system suspend and resume (Lv Zheng
    and Rafael J Wysocki).

    - ACPI core fix for an RCU-related issue in the ioremap() regions
    management code that slowed down significantly after CPUs had been
    allowed to enter idle states even if they'd had RCU callbakcs
    queued and triggered some problems in certain proprietary graphics
    driver (and elsewhere). The fix replaces synchronize_rcu() in that
    code with synchronize_rcu_expedited() which makes the issue go
    away. From Konstantin Khlebnikov.

    - ACPI LPSS (Low-Power Subsystem) driver fix to handle power
    management of the DMA engine included into the LPSS correctly. The
    problem is that the DMA engine doesn't have ACPI PM support of its
    own and it simply is turned off when the last LPSS device having
    ACPI PM support goes into D3cold. To work around that, the PM
    domain used by the ACPI LPSS driver is redesigned so at least one
    device with ACPI PM support will be on as long as the DMA engine is
    in use. From Andy Shevchenko.

    - ACPI backlight driver fix to avoid using it on "Win8-compatible"
    systems where it doesn't work and where it was used by default by
    mistake (Aaron Lu).

    - Assorted minor ACPI core fixes and cleanups from Tomasz Nowicki,
    Sudeep Holla, Huang Rui, Hanjun Guo, Fabian Frederick, and Ashwin
    Chaugule (mostly related to the upcoming ARM64 support).

    - Intel RAPL (Running Average Power Limit) power capping driver fixes
    and improvements including new processor IDs (Jacob Pan).

    - Generic power domains modification to power up domains after
    attaching devices to them to meet the expectations of device
    drivers and bus types assuming devices to be accessible at probe
    time (Ulf Hansson).

    - Preliminary support for controlling device clocks from the generic
    power domains core code and modifications of the ARM/shmobile
    platform to use that feature (Ulf Hansson).

    - Assorted minor fixes and cleanups of the generic power domains core
    code (Ulf Hansson, Geert Uytterhoeven).

    - Assorted minor fixes and cleanups of the device clocks control code
    in the PM core (Geert Uytterhoeven, Grygorii Strashko).

    - Consolidation of device power management Kconfig options by making
    CONFIG_PM_SLEEP select CONFIG_PM_RUNTIME and removing the latter
    which is now redundant (Rafael J Wysocki and Kevin Hilman). That
    is the first batch of the changes needed for this purpose.

    - Core device runtime power management support code cleanup related
    to the execution of callbacks (Andrzej Hajda).

    - cpuidle ARM support improvements (Lorenzo Pieralisi).

    - cpuidle cleanup related to the CPUIDLE_FLAG_TIME_VALID flag and a
    new MAINTAINERS entry for ARM Exynos cpuidle (Daniel Lezcano and
    Bartlomiej Zolnierkiewicz).

    - New cpufreq driver callback (->ready) to be executed when the
    cpufreq core is ready to use a given policy object and cpufreq-dt
    driver modification to use that callback for cooling device
    registration (Viresh Kumar).

    - cpufreq core fixes and cleanups (Viresh Kumar, Vince Hsu, James
    Geboski, Tomeu Vizoso).

    - Assorted fixes and cleanups in the cpufreq-pcc, intel_pstate,
    cpufreq-dt, pxa2xx cpufreq drivers (Lenny Szubowicz, Ethan Zhao,
    Stefan Wahren, Petr Cvek).

    - OPP (Operating Performance Points) framework modification to allow
    OPPs to be removed too and update of a few cpufreq drivers
    (cpufreq-dt, exynos5440, imx6q, cpufreq) to remove OPPs (added
    during initialization) on driver removal (Viresh Kumar).

    - Hibernation core fixes and cleanups (Tina Ruchandani and Markus
    Elfring).

    - PM Kconfig fix related to CPU power management (Pankaj Dubey).

    - cpupower tool fix (Prarit Bhargava)"

    * tag 'pm+acpi-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: (120 commits)
    i2c-omap / PM: Drop CONFIG_PM_RUNTIME from i2c-omap.c
    dmaengine / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    tools: cpupower: fix return checks for sysfs_get_idlestate_count()
    drivers: sh / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    e1000e / igb / PM: Eliminate CONFIG_PM_RUNTIME
    MMC / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    MFD / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    misc / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    media / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    input / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    leds: leds-gpio: Fix multiple instances registration without 'label' property
    iio / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    hsi / OMAP / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    i2c-hid / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    drm / exynos / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    gpio / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    hwrandom / exynos / PM: Use CONFIG_PM in #ifdef
    block / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM
    USB / PM: Drop CONFIG_PM_RUNTIME from the USB core
    PM: Merge the SET*_RUNTIME_PM_OPS() macros
    ...

    Linus Torvalds
     

09 Dec, 2014

1 commit

  • * device-properties:
    leds: leds-gpio: Fix multiple instances registration without 'label' property
    leds: leds-gpio: Fix legacy GPIO number case
    ACPI / property: Drop size_prop from acpi_dev_get_property_reference()
    leds: leds-gpio: Convert gpio_blink_set() to use GPIO descriptors
    ACPI / GPIO: Document ACPI GPIO mappings API
    net: rfkill: gpio: Add default GPIO driver mappings for ACPI
    ACPI / GPIO: Driver GPIO mappings for ACPI GPIOs
    input: gpio_keys_polled: Make use of device property API
    leds: leds-gpio: Make use of device property API
    gpio: Support for unified device properties interface
    Driver core: Unified interface for firmware node properties
    input: gpio_keys_polled: Add support for GPIO descriptors
    leds: leds-gpio: Add support for GPIO descriptors
    gpio: sch: Consolidate core and resume banks
    gpio / ACPI: Add support for _DSD device properties
    misc: at25: Make use of device property API
    ACPI: Allow drivers to match using Device Tree compatible property
    Driver core: Unified device properties interface for platform firmware
    ACPI: Add support for device specific properties

    Rafael J. Wysocki
     

26 Nov, 2014

1 commit

  • The commit "genirq: Generic chip: Change irq_reg_{readl,writel}
    arguments" modified the API. In the same tome the
    arch/arm/plat-orion/gpio.c file received a fix with the use of the old
    API: "ARM: orion: Fix for certain sequence of request_irq can cause
    irq storm". This commit fixes the use of the API.

    Signed-off-by: Gregory CLEMENT
    Acked-by: Olof Johansson
    Link: https://lkml.kernel.org/r/1416928752-24529-1-git-send-email-gregory.clement@free-electrons.com
    Signed-off-by: Jason Cooper

    Gregory CLEMENT
     

05 Nov, 2014

1 commit

  • Commit 21f2aae91e902aad ("leds: leds-gpio: Add support for GPIO
    descriptors") already converted most of the driver to use GPIO descriptors.
    What is still missing is the platform specific hook gpio_blink_set() and
    board files which pass legacy GPIO numbers to this driver in platform data.

    In this patch we handle the former and convert gpio_blink_set() to take
    GPIO descriptor instead. In order to do this we convert the existing four
    users to accept GPIO descriptor and translate it to legacy GPIO number in
    the platform code. This effectively "pushes" legacy GPIO number usage from
    the driver to platforms.

    Also add comment to the remaining block describing that it is legacy code
    path and we are getting rid of it eventually.

    Suggested-by: Linus Walleij
    Signed-off-by: Mika Westerberg
    Acked-by: Andrew Lunn
    Reviewed-by: Linus Walleij
    Acked-by: Alexandre Courbot
    Signed-off-by: Rafael J. Wysocki

    Mika Westerberg
     

02 Nov, 2014

1 commit

  • The problem is that hardware handled by arm/plat-orion/gpio.c,
    require ack for edge irq, and no ack for level irq.

    The code handle this issue, by two "struct irq_chip_type" per
    one "struct irq_chip_generic". For one "struct irq_chip_generic"
    irq_ack pointer is setted, for another it is NULL.

    But we have only one mask_cache per two "struct irq_chip_type".
    So if we
    1)unmask interrupt A for "edge type" trigger,
    2)unmask interrupt B for "level type" trigger,
    3)unmask interrupt C for "edge type",

    we, because of usage of generic irq_gc_mask_clr_bit/irq_gc_mask_set_bit,
    have hardware configured to trigger interrupt B on "edge type",
    because of shared mask_cache. But kernel think that B is "level type",
    so when interrupt B occur via "edge" reason, we don't ack it,
    and B triggered again and again.

    Signed-off-by: Evgeniy A. Dushistov
    Link: https://lkml.kernel.org/r/20140726155659.GA22977@fifteen
    Signed-off-by: Jason Cooper

    Evgeniy Dushistov
     

16 Sep, 2014

1 commit

  • This change makes it so that instead of passing and storing a mii_bus we
    instead pass and store a host_dev. From there we can test to determine the
    exact type of device, and can verify it is the correct device for our switch.

    So for example it would be possible to pass a device pointer from a pci_dev
    and instead of checking for a PHY ID we could check for a vendor and/or device
    ID.

    Signed-off-by: Alexander Duyck
    Signed-off-by: David S. Miller

    Alexander Duyck
     

27 Apr, 2014

3 commits

  • Following the move to pure DT-based probing of the GPIO controllers on
    Orion5x, some code in plat-orion/orion-gpio.c can be removed as it is
    no longer used.

    Signed-off-by: Thomas Petazzoni
    Acked-by: Sebastian Hesselbarth
    Link: https://lkml.kernel.org/r/1398202002-28530-39-git-send-email-thomas.petazzoni@free-electrons.com
    Signed-off-by: Jason Cooper

    Thomas Petazzoni
     
  • Following the move of the Orion5x Device Tree support to use
    irqchip_init() for the interrupt controller probing, the
    plat-orion/irq.c code for DT-probing of the interrupt controller is no
    longer necessary, so we can get rid of it.

    Signed-off-by: Thomas Petazzoni
    Acked-by: Sebastian Hesselbarth
    Link: https://lkml.kernel.org/r/1398202002-28530-38-git-send-email-thomas.petazzoni@free-electrons.com
    Signed-off-by: Jason Cooper

    Thomas Petazzoni
     
  • Moving to the Device Tree implies having CONFIG_MULTI_IRQ_HANDLER
    enabled, even for non-DT platforms (if we want both DT and non-DT
    platforms to be supported in a single kernel).

    However, the common CONFIG_MULTI_IRQ_HANDLER handler for non-DT
    platforms in plat-orion/irq.c doesn't match the needs of
    Orion5x. Also, it doesn't make much sense for orion_irq_init() to
    register the multi-IRQ handler: orion_irq_init() is called once for
    each IRQ cause/mask tuple, while the multi-IRQ handler only needs to
    be registered once.

    To solve this problem, we move the multi-IRQ handle in per-platform
    code: mach-kirkwood/irq.c and mach-dove/irq.c. The Orion5x variant
    will be introduced in a followup commit. Of course, this code will
    ultimately be completely removed once all boards are converted to the
    Device Tree.

    Signed-off-by: Thomas Petazzoni
    Acked-by: Sebastian Hesselbarth
    Link: https://lkml.kernel.org/r/1398202002-28530-23-git-send-email-thomas.petazzoni@free-electrons.com
    Signed-off-by: Jason Cooper

    Thomas Petazzoni
     

06 Apr, 2014

1 commit

  • Pull ARM SoC driver changes from Arnd Bergmann:
    "These changes are mostly for ARM specific device drivers that either
    don't have an upstream maintainer, or that had the maintainer ask us
    to pick up the changes to avoid conflicts.

    A large chunk of this are clock drivers (bcm281xx, exynos, versatile,
    shmobile), aside from that, reset controllers for STi as well as a
    large rework of the Marvell Orion/EBU watchdog driver are notable"

    * tag 'drivers-3.15' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (99 commits)
    Revert "dts: socfpga: Add DTS entry for adding the stmmac glue layer for stmmac."
    Revert "net: stmmac: Add SOCFPGA glue driver"
    ARM: shmobile: r8a7791: Fix SCIFA3-5 clocks
    ARM: STi: Add reset controller support to mach-sti Kconfig
    drivers: reset: stih416: add softreset controller
    drivers: reset: stih415: add softreset controller
    drivers: reset: Reset controller driver for STiH416
    drivers: reset: Reset controller driver for STiH415
    drivers: reset: STi SoC system configuration reset controller support
    dts: socfpga: Add sysmgr node so the gmac can use to reference
    dts: socfpga: Add support for SD/MMC on the SOCFPGA platform
    reset: Add optional resets and stubs
    ARM: shmobile: r7s72100: fix bus clock calculation
    Power: Reset: Generalize qnap-poweroff to work on Synology devices.
    dts: socfpga: Update clock entry to support multiple parents
    ARM: socfpga: Update socfpga_defconfig
    dts: socfpga: Add DTS entry for adding the stmmac glue layer for stmmac.
    net: stmmac: Add SOCFPGA glue driver
    watchdog: orion_wdt: Use %pa to print 'phys_addr_t'
    drivers: cci: Export CCI PMU revision
    ...

    Linus Torvalds
     

23 Feb, 2014

1 commit

  • With the gradual move to DT, kirkwood has become a lot less dependent
    on plat-orion. cache-feroceon-l2.h is the last dependency. Move it out
    so we can drop plat-orion when building DT only kirkwood boards.

    Signed-off-by: Andrew Lunn
    Acked-by: Arnd Bergmann
    Tested-by: Jason Gunthorpe
    Signed-off-by: Jason Cooper

    Andrew Lunn
     

22 Feb, 2014

1 commit

  • In order to support other SoC, it's required to distinguish
    the 'control' timer register, from the 'rstout' register
    that enables system reset on watchdog expiration.

    To prevent a compatibility break, this commit adds a fallback
    to a hardcoded RSTOUT address.

    Reviewed-by: Guenter Roeck
    Tested-by: Sebastian Hesselbarth
    Tested-by: Willy Tarreau
    Signed-off-by: Ezequiel Garcia
    Acked-by: Wim Van Sebroeck
    Tested-By: Jason Gunthorpe
    Signed-off-by: Jason Cooper

    Ezequiel Garcia
     

01 Feb, 2014

1 commit

  • mvebu fixes for v3.13 (incremental #2)

    - allow building and booting DT and non-DT plat-orion SoCs
    - catch proper return value for kirkwood_pm_init()
    - properly check return of of_iomap to solve boot hangs (mirabox, others)
    - remove a compile warning on Armada 370 with non-SMP.

    * tag 'mvebu-fixes-3.13-2' of git://git.infradead.org/linux-mvebu:
    ARM: mvebu: fix compilation warning on Armada 370 (i.e. non-SMP)
    ARM: mvebu: Fix kernel hang in mvebu_soc_id_init() when of_iomap failed
    ARM: kirkwood: kirkwood_pm_init() should return void
    ARM: orion: provide C-style interrupt handler for MULTI_IRQ_HANDLER

    Signed-off-by: Olof Johansson

    Olof Johansson
     

24 Jan, 2014

1 commit

  • Pull ARM SoC platform changes from Olof Johansson:
    "New core SoC-specific changes.

    New platforms:
    * Introduction of a vendor, Hisilicon, and one of their SoCs with
    some random numerical product name.
    * Introduction of EFM32, embedded platform from Silicon Labs (ARMv7m,
    i.e. !MMU).
    * Marvell Berlin series of SoCs, which include the one in Chromecast.
    * MOXA platform support, ARM9-based platform used mostly in
    industrial products
    * Support for Freescale's i.MX50 SoC.

    Other work:
    * Renesas work for new platforms and drivers, and conversion over to
    more multiplatform-friendly device registration schemes.
    * SMP support for Allwinner sunxi platforms.
    * ... plus a bunch of other stuff across various platforms"

    * tag 'soc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (201 commits)
    ARM: tegra: fix tegra_powergate_sequence_power_up() inline
    ARM: msm_defconfig: Update for multi-platform
    ARM: msm: Move MSM's DT based hardware to multi-platform support
    ARM: msm: Only build timer.c if required
    ARM: msm: Only build clock.c on proc_comm based platforms
    ARM: ux500: Enable system suspend with WFI support
    ARM: ux500: turn on PRINTK_TIME in u8500_defconfig
    ARM: shmobile: r8a7790: Fix I2C controller names
    ARM: msm: Simplify ARCH_MSM_DT config
    ARM: msm: Add support for MSM8974 SoC
    ARM: sunxi: select ARM_PSCI
    MAINTAINERS: Update Allwinner sunXi maintainer files
    ARM: sunxi: Select RESET_CONTROLLER
    ARM: imx: improve the comment of CCM lpm SW workaround
    ARM: imx: improve status check of clock gate
    ARM: imx: add necessary interface for pfd
    ARM: imx_v6_v7_defconfig: Select CONFIG_REGULATOR_PFUZE100
    ARM: imx_v6_v7_defconfig: Select MX35 and MX50 device tree support
    ARM: imx: Add cpu frequency scaling support
    ARM i.MX35: Add devicetree support.
    ...

    Linus Torvalds
     

17 Jan, 2014

1 commit

  • DT-enabled Marvell Kirkwood and Dove SoCs make use of an irqchip
    driver. As expected for irqchip drivers, it uses a C-style
    interrupt handler and therefore selects MULTI_IRQ_HANDLER.

    Now, compiling a kernel with both non-DT and DT support enabled,
    selecting MULTI_IRQ_HANDLER will break ASM irq handler used by
    non-DT boards.

    Therefore, we provide a C-style irq handler even for non-DT boards,
    if MULTI_IRQ_HANDLER is set. By installing the C-style irq handler
    in orion_irq_init this is transparent to all non-DT board files.

    While the regression report was filed on Marvell Kirkwood, also
    Marvell Dove non-DT boards are affected and fixed by this patch.

    Signed-off-by: Sebastian Hesselbarth
    Tested-by: Ian Campbell
    Reported-by: Ian Campbell
    Cc: # v3.12+
    Fixes: 2326f04321a9 ("ARM: kirkwood: convert to DT irqchip and clocksource")
    Fixes: f07d73e33d0e ("ARM: dove: convert to DT irqchip and clocksource")
    Acked-by: Andrew Lunn
    Signed-off-by: Jason Cooper

    Sebastian Hesselbarth
     

24 Nov, 2013

2 commits


22 Nov, 2013

1 commit


26 Jul, 2013

1 commit


07 Jul, 2013

1 commit

  • Pull timer core updates from Thomas Gleixner:
    "The timer changes contain:

    - posix timer code consolidation and fixes for odd corner cases

    - sched_clock implementation moved from ARM to core code to avoid
    duplication by other architectures

    - alarm timer updates

    - clocksource and clockevents unregistration facilities

    - clocksource/events support for new hardware

    - precise nanoseconds RTC readout (Xen feature)

    - generic support for Xen suspend/resume oddities

    - the usual lot of fixes and cleanups all over the place

    The parts which touch other areas (ARM/XEN) have been coordinated with
    the relevant maintainers. Though this results in an handful of
    trivial to solve merge conflicts, which we preferred over nasty cross
    tree merge dependencies.

    The patches which have been committed in the last few days are bug
    fixes plus the posix timer lot. The latter was in akpms queue and
    next for quite some time; they just got forgotten and Frederic
    collected them last minute."

    * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (59 commits)
    hrtimer: Remove unused variable
    hrtimers: Move SMP function call to thread context
    clocksource: Reselect clocksource when watchdog validated high-res capability
    posix-cpu-timers: don't account cpu timer after stopped thread runtime accounting
    posix_timers: fix racy timer delta caching on task exit
    posix-timers: correctly get dying task time sample in posix_cpu_timer_schedule()
    selftests: add basic posix timers selftests
    posix_cpu_timers: consolidate expired timers check
    posix_cpu_timers: consolidate timer list cleanups
    posix_cpu_timer: consolidate expiry time type
    tick: Sanitize broadcast control logic
    tick: Prevent uncontrolled switch to oneshot mode
    tick: Make oneshot broadcast robust vs. CPU offlining
    x86: xen: Sync the CMOS RTC as well as the Xen wallclock
    x86: xen: Sync the wallclock when the system time is set
    timekeeping: Indicate that clock was set in the pvclock gtod notifier
    timekeeping: Pass flags instead of multiple bools to timekeeping_update()
    xen: Remove clock_was_set() call in the resume path
    hrtimers: Support resuming with two or more CPUs online (but stopped)
    timer: Fix jiffies wrap behavior of round_jiffies_common()
    ...

    Linus Torvalds
     

05 Jul, 2013

1 commit


04 Jul, 2013

1 commit

  • There have never been any real users of MEMSET operations since they
    have been introduced in January 2007 by commit 7405f74badf4 ("dmaengine:
    refactor dmaengine around dma_async_tx_descriptor"). Therefore remove
    support for them for now, it can be always brought back when needed.

    [sebastian.hesselbarth@gmail.com: fix drivers/dma/mv_xor]
    Signed-off-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Kyungmin Park
    Signed-off-by: Sebastian Hesselbarth
    Cc: Vinod Koul
    Acked-by: Dan Williams
    Cc: Tomasz Figa
    Cc: Herbert Xu
    Cc: Olof Johansson
    Cc: Kevin Hilman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Bartlomiej Zolnierkiewicz
     

25 Jun, 2013

1 commit

  • Use irq_get_trigger_type() to get the IRQ trigger type flags
    instead calling irqd_get_trigger_type(irq_get_irq_data(irq))

    Signed-off-by: Javier Martinez Canillas
    Cc: Grant Likely
    Cc: Linus Walleij
    Cc: Samuel Ortiz
    Acked-by: Jason Cooper
    Cc: Andrew Lunn
    Cc: Russell King
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-mips@linux-mips.org
    Link: http://lkml.kernel.org/r/1371228049-27080-6-git-send-email-javier.martinez@collabora.co.uk
    Signed-off-by: Thomas Gleixner

    Javier Martinez Canillas
     

13 Jun, 2013

1 commit


21 May, 2013

1 commit

  • When platform data were moved from arch/arm/mach-mv78xx0/common.c to
    arch/arm/plat-orion/common.c with the commit "7e3819d ARM: orion:
    Consolidate ethernet platform data", there were few typo made on
    gigabit Ethernet interface ge10 and ge11. This commit writes back
    their initial value, which allows to use this interfaces again.

    Signed-off-by: Gregory CLEMENT
    Acked-by: Andrew Lunn
    Cc: # v3.0.x
    Signed-off-by: Jason Cooper

    Gregory CLEMENT
     

14 May, 2013

1 commit


10 May, 2013

1 commit

  • Pull removal of GENERIC_GPIO from Grant Likely:
    "GENERIC_GPIO now synonymous with GPIOLIB. There are no longer any
    valid cases for enableing GENERIC_GPIO without GPIOLIB, even though it
    is possible to do so which has been causing confusion and breakage.
    This branch does the work to completely eliminate GENERIC_GPIO."

    * tag 'gpio-for-linus' of git://git.secretlab.ca/git/linux:
    gpio: update gpio Chinese documentation
    Remove GENERIC_GPIO config option
    Convert selectors of GENERIC_GPIO to GPIOLIB
    blackfin: force use of gpiolib
    m68k: coldfire: use gpiolib
    mips: pnx833x: remove requirement for GENERIC_GPIO
    openrisc: default GENERIC_GPIO to false
    avr32: default GENERIC_GPIO to false
    xtensa: remove explicit selection of GENERIC_GPIO
    sh: replace CONFIG_GENERIC_GPIO by CONFIG_GPIOLIB
    powerpc: remove redundant GENERIC_GPIO selection
    unicore32: default GENERIC_GPIO to false
    unicore32: remove unneeded select GENERIC_GPIO
    arm: plat-orion: use GPIO driver on CONFIG_GPIOLIB
    arm: remove redundant GENERIC_GPIO selection
    mips: alchemy: require gpiolib
    mips: txx9: change GENERIC_GPIO to GPIOLIB
    mips: loongson: use GPIO driver on CONFIG_GPIOLIB
    mips: remove redundant GENERIC_GPIO select

    Linus Torvalds
     

08 May, 2013

1 commit

  • Pull ARM SoC platform updates (part 3) from Arnd Bergmann:
    "This is the third and smallest of the SoC specific updates. Changes
    include:

    - SMP support for the Xilinx zynq platform
    - Smaller imx changes
    - LPAE support for mvebu
    - Moving the orion5x, kirkwood, dove and mvebu platforms to a common
    "mbus" driver for their internal devices.

    It would be good to get feedback on the location of the "mbus" driver.
    Since this is used on multiple platforms may potentially get shared
    with other architectures (powerpc and arm64), it was moved to
    drivers/bus/. We expect other similar drivers to get moved to the
    same place in order to avoid creating more top-level directories under
    drivers/ or cluttering up the messy drivers/misc/ even more."

    * tag 'soc-for-linus-3' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (50 commits)
    ARM: imx: reset_controller may be disabled
    ARM: mvebu: Align the internal registers virtual base to support LPAE
    ARM: mvebu: Limit the DMA zone when LPAE is selected
    arm: plat-orion: remove addr-map code
    arm: mach-mv78xx0: convert to use the mvebu-mbus driver
    arm: mach-orion5x: convert to use mvebu-mbus driver
    arm: mach-dove: convert to use mvebu-mbus driver
    arm: mach-kirkwood: convert to use mvebu-mbus driver
    arm: mach-mvebu: convert to use mvebu-mbus driver
    ARM i.MX53: set CLK_SET_RATE_PARENT flag on the tve_ext_sel clock
    ARM i.MX53: tve_di clock is not part of the CCM, but of TVE
    ARM i.MX53: make tve_ext_sel propagate rate change to PLL
    ARM i.MX53: Remove unused tve_gate clkdev entry
    ARM i.MX5: Remove tve_sel clock from i.MX53 clock tree
    ARM: i.MX5: Add PATA and SRTC clocks
    ARM: imx: do not bring up unavailable cores
    ARM: imx: add initial imx6dl support
    ARM: imx1: mm: add call to mxc_device_init
    ARM: imx_v4_v5_defconfig: Add CONFIG_GPIO_SYSFS
    ARM: imx_v6_v7_defconfig: Select CONFIG_PERF_EVENTS
    ...

    Linus Torvalds
     

03 May, 2013

1 commit

  • Pull ARM SoC cleanup from Olof Johansson:
    "Here is a collection of cleanup patches. Among the pieces that stand
    out are:

    - The deletion of h720x platforms
    - Split of at91 non-dt platforms to their own Kconfig file to keep
    them separate
    - General cleanups and refactoring of i.MX and MXS platforms
    - Some restructuring of clock tables for OMAP
    - Convertion of PMC driver for Tegra to dt-only
    - Some renames of sunxi -> sun4i (Allwinner A10)
    - ... plus a bunch of other stuff that I haven't mentioned"

    * tag 'cleanup-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (119 commits)
    ARM: i.MX: remove unused ARCH_* configs
    ARM i.MX53: remove platform ahci support
    ARM: sunxi: Rework the restart code
    irqchip: sunxi: Rename sunxi to sun4i
    irqchip: sunxi: Make use of the IRQCHIP_DECLARE macro
    clocksource: sunxi: Rename sunxi to sun4i
    clocksource: sunxi: make use of CLKSRC_OF
    clocksource: sunxi: Cleanup the timer code
    ARM: at91: remove trailing semicolon from macros
    ARM: at91/setup: fix trivial typos
    ARM: EXYNOS: remove "config EXYNOS_DEV_DRM"
    ARM: EXYNOS: change the name of USB ohci header
    ARM: SAMSUNG: Remove unnecessary code for dma
    ARM: S3C24XX: Remove unused GPIO drive strength register definitions
    ARM: OMAP4+: PM: Restore CPU power state to ON with clockdomain force wakeup method
    ARM: S3C24XX: Removed unneeded dependency on CPU_S3C2412
    ARM: S3C24XX: Removed unneeded dependency on CPU_S3C2410
    ARM: S3C24XX: Removed unneeded dependency on ARCH_S3C24XX for boards
    ARM: SAMSUNG: Fix typo "CONFIG_SAMSUNG_DEV_RTC"
    ARM: S5P64X0: Fix typo "CONFIG_S5P64X0_SETUP_SDHCI"
    ...

    Linus Torvalds
     

16 Apr, 2013

1 commit

  • GENERIC_GPIO has been made equivalent to GPIOLIB in architecture code
    and all driver code has been switch to depend on GPIOLIB. It is thus
    safe to have GENERIC_GPIO removed.

    Signed-off-by: Alexandre Courbot
    Acked-by: Linus Walleij
    Acked-by: Grant Likely

    Alexandre Courbot
     

15 Apr, 2013

1 commit

  • Now that all Marvell EBU platforms have been converted to use the
    mvebu-mbus driver, we can remove the common plat-orion/addr-map.c code
    that isn't compiled anymore.

    Signed-off-by: Thomas Petazzoni
    Acked-by: Arnd Bergmann
    Signed-off-by: Jason Cooper

    Thomas Petazzoni