22 Sep, 2016

1 commit


24 Jun, 2016

1 commit

  • Use helper of_platform_default_populate() in linux/of_platform
    when possible, instead of calling of_platform_populate() with
    the default match table.

    Acked-by: Viresh Kumar
    Acked-by: Nicolas Ferre
    Cc: Nicolas Ferre
    Cc: Krzysztof Halasa
    Cc: Sekhar Nori
    Cc: Shawn Guo
    Cc: Russell King
    Cc: Roland Stigge
    Cc: Jason Cooper
    Cc: Ray Jui
    Cc: Viresh Kumar
    Cc: Stephen Warren
    Cc: Rob Herring
    Cc: Michal Simek
    Signed-off-by: Kefeng Wang
    Signed-off-by: Rob Herring

    Kefeng Wang
     

04 Apr, 2016

1 commit

  • This moves the boardfile definition of the flash memory in the
    Versatile board into the device tree. The flash was already
    defined with the property "arm,versatile-flash" which was
    not handled by the kernel: instead define it as compatible
    also with "cfi-flash" so it detects properly, and delete the
    corresponding boardfile code so we get a smooth transition.

    The old compatible string "arm,versatile-flash" is reused to
    indicate to the MTD physmap subsystem that this flash requires
    special VPP handling. (See separate patch.)

    Cc: Grant Likely
    Cc: Rob Herring
    Cc: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     

15 Feb, 2016

1 commit


16 Dec, 2015

4 commits

  • Now that all the prerequisites are in place, we can enable Versatile
    boards for multi-platform kernels.

    Signed-off-by: Rob Herring
    Cc: Russell King
    Cc: Linus Walleij
    Signed-off-by: Arnd Bergmann

    Rob Herring
     
  • With DT-only support now in place and most of the legacy code removed,
    the separation of core.c and versatile_dt.c makes little sense. The
    headers in mach include directory also have to move for multi-platform
    support, but with a single .c file the remaining definitions needed can
    also be moved into the versatile_dt.c.

    In the move, the system registers and IB2 registers are converted to
    run-time mappings and all register accesses converted to use
    readl/writel.

    Signed-off-by: Rob Herring
    Cc: Russell King
    Cc: Linus Walleij
    Signed-off-by: Arnd Bergmann

    Rob Herring
     
  • With DT support for clocks, irqchips, timers, and PCI now in place, DT
    based booting has feature parity with non-DT legacy boot. The final
    piece is actually enabling common clock support on Versatile. Enabling
    full DT support requires either removing the old Versatile clock code,
    updating the legacy boot to use the common clock code, or making DT and
    legacy boot mutually exclusive. Given that removing legacy boot code is
    the goal anyway, I am going with the 1st option.

    Signed-off-by: Rob Herring
    Cc: Russell King
    Cc: Linus Walleij
    Cc: Mike Turquette
    Signed-off-by: Arnd Bergmann

    Rob Herring
     
  • Disable the Versatile PCI DT node when no PCI backplane is detected. This
    will prevent the Versatile PCI driver from probing when PCI is not
    populated.

    Signed-off-by: Rob Herring
    Cc: Russell King
    Cc: Linus Walleij
    Signed-off-by: Arnd Bergmann

    Rob Herring
     

02 Jun, 2015

2 commits

  • The ARM Dual-Timer SP804 module is peripheral found not only on ARM32
    platforms but also on ARM64 platforms.

    This patch moves the driver out of arch/arm to driver/clocksource
    so that it can be used on ARM64 platforms also.

    Cc: Daniel Lezcano
    Cc: Rob Herring
    Cc: Arnd Bergmann
    Cc: Catalin Marinas
    Cc: Olof Johansson
    Acked-by: Thomas Gleixner
    Signed-off-by: Sudeep Holla
    Signed-off-by: Russell King

    Sudeep Holla
     
  • The header asm/hardware/arm_timer.h is included in various machine
    specific files to access TIMER_CTRL and initialise to a known state.

    This patch introduces a new function sp804_timer_disable to disable
    the SP804 timers and uses the same for initialising the timers to
    known(off) state, thereby removing the dependency on the header
    asm/hardware/arm_timer.h

    This change is in prepartion to move sp804 timer support out of arch/arm
    so that it can be used on ARM64 platforms.

    Cc: Daniel Lezcano
    Cc: Arnd Bergmann
    Cc: Olof Johansson
    Acked-by: Thomas Gleixner
    Signed-off-by: Sudeep Holla
    Signed-off-by: Russell King

    Sudeep Holla
     

19 Feb, 2015

1 commit

  • The definition

    static const char *axxia_dt_match[] __initconst = {
    ...

    defines a changable array of constant strings. That is you must not do:

    *axxia_dt_match[0] = 'k';

    but

    axxia_dt_match[0] = "different string";

    is fine. So the annotation __initconst is wrong and yields a compiler
    error when other really const variables are added with __initconst.

    As the struct machine_desc member dt_compat is declared as

    const char *const *dt_compat;

    making the arrays const is the better alternative over changing all
    annotations to __initdata.

    Signed-off-by: Uwe Kleine-König
    Signed-off-by: Arnd Bergmann

    Uwe Kleine-König
     

15 Jan, 2015

1 commit


09 Aug, 2014

1 commit

  • Pull ARM SoC platform changes from Olof Johansson:
    "This is the bulk of new SoC enablement and other platform changes for
    3.17:

    - Samsung S5PV210 has been converted to DT and multiplatform
    - Clock drivers and bindings for some of the lower-end i.MX 1/2
    platforms
    - Kirkwood, one of the popular Marvell platforms, is folded into the
    mvebu platform code, removing mach-kirkwood
    - Hwmod data for TI AM43xx and DRA7 platforms
    - More additions of Renesas shmobile platform support
    - Removal of plat-samsung contents that can be removed with S5PV210
    being multiplatform/DT-enabled and the other two old platforms
    being removed

    New platforms (most with only basic support right now):

    - Hisilicon X5HD2 settop box chipset is introduced
    - Mediatek MT6589 (mobile chipset) is introduced
    - Broadcom BCM7xxx settop box chipset is introduced

    + as usual a lot other pieces all over the platform code"

    * tag 'soc-for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (240 commits)
    ARM: hisi: remove smp from machine descriptor
    power: reset: move hisilicon reboot code
    ARM: dts: Add hix5hd2-dkb dts file.
    ARM: debug: Rename Hi3716 to HIX5HD2
    ARM: hisi: enable hix5hd2 SoC
    ARM: hisi: add ARCH_HISI
    MAINTAINERS: add entry for Broadcom ARM STB architecture
    ARM: brcmstb: select GISB arbiter and interrupt drivers
    ARM: brcmstb: add infrastructure for ARM-based Broadcom STB SoCs
    ARM: configs: enable SMP in bcm_defconfig
    ARM: add SMP support for Broadcom mobile SoCs
    Documentation: arm: misc updates to Marvell EBU SoC status
    Documentation: arm: add URLs to public datasheets for the Marvell Armada XP SoC
    ARM: mvebu: fix build without platforms selected
    ARM: mvebu: add cpuidle support for Armada 38x
    ARM: mvebu: add cpuidle support for Armada 370
    cpuidle: mvebu: add Armada 38x support
    cpuidle: mvebu: add Armada 370 support
    cpuidle: mvebu: rename the driver from armada-370-xp to mvebu-v7
    ARM: mvebu: export the SCU address
    ...

    Linus Torvalds
     

27 Jun, 2014

1 commit

  • This moves the Versatile-specific helper code and panel database
    down into the drivers/video folder next to the CLCD driver
    itself, preserving the config symbol but also moving the header
    to platform data.

    This is necessary to rid the Integrator of this final
    inclusion dependency and get us one less user of the
    plat-versatile folder.

    Cc: Arnd Bergmann
    Cc: Jean-Christophe Plagniol-Villard
    Cc: linux-fbdev@vger.kernel.org
    Cc: Russell King
    Acked-by: Tomi Valkeinen
    Signed-off-by: Linus Walleij

    Linus Walleij
     

25 Jun, 2014

1 commit


06 May, 2014

1 commit


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
     

27 Feb, 2014

1 commit

  • The LEDs were initialized unconditionally with an fs_initcall()
    which doesn't play well with multiplatform. Convert the driver
    to a platform device and convert all boards with these LEDs
    to register a platform device and pass the register as a
    resource instead.

    Tested successfully on the Versatile/AB and RealView PB1176.

    Cc: Bryan Wu
    Cc: Richard Purdie
    Cc: Russell King
    Cc: Pawel Moll
    Signed-off-by: Linus Walleij

    Linus Walleij
     

19 Feb, 2014

1 commit

  • This cleanup series gets rid of for platforms not using
    ARCH_MULTIPLATFORM. (For multi-platform code it's already unused since
    387798b (ARM: initial multiplatform support).)

    To make this work some code out of arch/arm needed to be adapted. The
    respective changes got acks by their maintainers to be taken via armsoc
    (with Andrew Morton substituting for Alessandro Zummo as rtc maintainer).

    Compared to the previous pull request there was another patch added that
    fixes a (non-critical) regression on ixp4xx. Olof Johansson asked to not
    squash this fix into the original commit to save him from the need to
    reverify the series.

    * tag 'dropmachtimexh-v2' of git://git.pengutronix.de/git/ukl/linux:
    ARM: ixp4xx: fix timer latch calculation
    ARM: drop for !ARCH_MULTIPLATFORM, too
    ARM: rpc: stop using
    ARM: ixp4xx: stop using
    input: ixp4xx-beeper: don't use symbols from
    ARM: at91: don't use
    ARM: ep93xx: stop using mach/timex.h
    ARM: mmp: stop using mach/timex.h
    ARM: netx: stop using mach/timex.h
    ARM: sa1100: stop using mach/timex.h
    clocksource: sirf/marco+prima2: drop usage of CLOCK_TICK_RATE
    rtc: pxa: drop unused #define TIMER_FREQ
    rtc: at91sam9: include explicitly
    ARM/serial: at91: switch atmel serial to use gpiolib

    Signed-off-by: Olof Johansson

    Olof Johansson
     

13 Feb, 2014

1 commit

  • This adds support for a VIC to be cascaded off another IRQ.
    On the Integrator/AP logical module IM-PD1 there is a VIC
    cascaded off the central FPGA IRQ controller so this is
    needed for that to work out.

    In order for the plug-in board to be able to register all
    the devices with their IRQs relative to the offset of the
    base obtained for the cascaded VIC, the base IRQ number
    is passed back to the caller.

    Cc: Thomas Gleixner
    Signed-off-by: Linus Walleij

    Linus Walleij
     

21 Dec, 2013

2 commits

  • Move GPIO2 and GPIO3 to be registered from the core as this is
    certainly available on Versatile AB as well, not just the PB.
    GPIO2 is used for reading board status and GPIO3 is unused,
    but it does not hurt to register it anyway.

    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • While isn't used for multi-platform builds since long it
    still is for "normal" builds. As the previous patches fix all sites to
    not make use of this per-platform file, it can go now for good also for
    platforms that are not (yet) converted to multi-platform.

    While at it there are no users of CLOCK_TICK_RATE any more, so also drop
    the dummy #define.

    Signed-off-by: Uwe Kleine-König

    Uwe Kleine-König
     

10 Sep, 2013

1 commit

  • From Peter Maydell:
    These patches fix a number of issues with the PCI controller
    code for mach-versatile:

    (1) The irq mapping matched neither hardware nor QEMU; we correct
    it to match the hardware, which means it will also work on recent
    (1.5 or later) QEMU.

    (2) The code was confused between the PCI I/O window (at 0x43000000)
    and the first PCI memory window (at 0x44000000), which meant that
    PCI devices using PCI PIO rather than MMIO didn't work. This is
    fixed (and some variables/labels are renamed to avoid further
    confusion in future).

    (3) The SMAP register offsets were all off-by-four, though by
    fluke this didn't actually have any ill effects.

    All these changes have been tested on real hardware (PB926
    plus the PCI backplane), as well as on QEMU. I have confirmed
    that IRQs and PCI PIO and MMIO work OK.

    PCI bus-master DMA doesn't seem to work on h/w -- as far as I can
    tell the device is correctly managing to DMA to the right places
    in memory, but every other 32 bit word is corrupt (at least judging
    from rtl8139 debug dumps of the frames it's receiving). I'm not
    sure what's going on here, but since this is disjoint from
    the irq and I/O issues I don't think that applying the
    patches that fix those should be stalled on trying to debug
    DMA problems. (DMA works fine on QEMU, incidentally.)

    * versatile/fixes:
    ARM: PCI: versatile: Fix SMAP register offsets
    ARM: PCI: versatile: Fix PCI I/O
    ARM: PCI: versatile: Fix map_irq function to match hardware

    Signed-off-by: Olof Johansson

    Olof Johansson
     

05 Sep, 2013

3 commits

  • The SMAP register offsets in the versatile PCI controller code were
    all off by four. (This didn't have any observable bad effects
    because on this board PHYS_OFFSET is zero, and (a) writing zero to
    the flags register at offset 0x10 has no effect and (b) the reset
    value of the SMAP register is zero anyway, so failing to write SMAP2
    didn't matter.)

    Signed-off-by: Peter Maydell
    Cc: stable@vger.kernel.org
    Reviewed-by: Linus Walleij
    Signed-off-by: Kevin Hilman

    Peter Maydell
     
  • The versatile PCI controller code was confused between the
    PCI I/O window (at 0x43000000) and the first PCI memory
    window (at 0x44000000). Pass the correct base address to
    pci_remap_io() so that PCI I/O accesses work.

    Since the first PCI memory window isn't used at all (it's
    an odd size), rename the associated variables and labels
    so that it's clear that it isn't related to the I/O window.

    This has been tested and confirmed to fix PCI I/O accesses
    both on physical PB926+PCI backplane hardware and on QEMU.

    Signed-off-by: Peter Maydell
    Cc: stable@vger.kernel.org
    Reviewed-by: Linus Walleij
    Signed-off-by: Kevin Hilman

    Peter Maydell
     
  • The PCI controller code for the Versatile board has never had the
    correct IRQ mapping for hardware. For many years it had an odd
    mapping ("all interrupts are int 27") which aligned with the
    equivalent bug in QEMU. However as of commit 1bc39ac5dab265
    the mapping changed and no longer matched either hardware or QEMU,
    with the result that any PCI card beyond the first in QEMU would
    not have functioning interrupts; for example a boot with a SCSI
    controller would time out as follows:

    ------------
    sym0: rev 0x0 at pci 0000:00:0d.0 irq 92
    sym0: SCSI BUS has been reset.
    scsi0 : sym-2.2.3
    [...]
    scsi 0:0:0:0: ABORT operation started
    scsi 0:0:0:0: ABORT operation timed-out.
    scsi 0:0:0:0: DEVICE RESET operation started
    scsi 0:0:0:0: DEVICE RESET operation timed-out.
    scsi 0:0:0:0: BUS RESET operation started
    scsi 0:0:0:0: BUS RESET operation timed-out.
    scsi 0:0:0:0: HOST RESET operation started
    sym0: SCSI BUS has been reset
    ------------

    Fix the mapping so that it matches real hardware (checked against the
    schematics for PB926 and backplane, and tested against the hardware).
    This allows PCI cards using interrupts to work on hardware for the
    first time; this change will also work with QEMU 1.5 or later, where
    the equivalent bugs in the modelling of the hardware have been fixed.

    Although QEMU will attempt to autodetect whether the kernel is
    expecting the long-standing "everything is int 27" mapping or the one
    hardware has, for certainty we force it into "definitely behave like
    hardware mode"; this will avoid unexpected surprises later if we
    implement sparse irqs. This is harmless on hardware.

    Thanks to Paul Gortmaker for bisecting the problem and finding an initial
    solution, to Russell King for providing the correct interrupt mapping,
    and to Guenter Roeck for providing an initial version of this patch
    and prodding me into relocating the hardware and retesting everything.

    Signed-off-by: Peter Maydell
    Cc: stable@vger.kernel.org
    Reviewed-by: Linus Walleij
    Signed-off-by: Kevin Hilman

    Peter Maydell
     

26 Aug, 2013

2 commits


10 Jul, 2013

1 commit

  • Preparing to move the parsing of reboot= to generic kernel code forces
    the change in reboot_mode handling to use the enum.

    [akpm@linux-foundation.org: fix arch/arm/mach-socfpga/socfpga.c]
    Signed-off-by: Robin Holt
    Cc: Russell King
    Cc: Russ Anderson
    Cc: Robin Holt
    Cc: H. Peter Anvin
    Cc: Guan Xuetao
    Acked-by: Russell King
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Robin Holt
     

12 Apr, 2013

1 commit


22 Feb, 2013

2 commits

  • Pull ARM SoC cleanups from Arnd Bergmann:
    "A large number of cleanups, all over the platforms. This is dominated
    largely by the Samsung platforms (s3c, s5p, exynos) and a few of the
    others moving code out of arch/arm into more appropriate subsystems.

    The clocksource and irqchip drivers are now abstracted to the point
    where platforms that are already cleaned up do not need to even
    specify the driver they use, it can all get configured from the device
    tree as we do for normal device drivers. The clocksource changes
    basically touch every single platform in the process.

    We further clean up the use of platform specific header files here,
    with the goal of turning more of the platforms over to being
    "multiplatform" enabled, which implies that they cannot expose their
    headers to architecture independent code any more.

    It is expected that no functional changes are part of the cleanup.
    The overall reduction in total code lines is mostly the result of
    removing broken and obsolete code."

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (133 commits)
    ARM: mvebu: correct gated clock documentation
    ARM: kirkwood: add missing include for nsa310
    ARM: exynos: move exynos4210-combiner to drivers/irqchip
    mfd: db8500-prcmu: update resource passing
    drivers/db8500-cpufreq: delete dangling include
    ARM: at91: remove NEOCORE 926 board
    sunxi: Cleanup the reset code and add meaningful registers defines
    ARM: S3C24XX: header mach/regs-mem.h local
    ARM: S3C24XX: header mach/regs-power.h local
    ARM: S3C24XX: header mach/regs-s3c2412-mem.h local
    ARM: S3C24XX: Remove plat-s3c24xx directory in arch/arm/
    ARM: S3C24XX: transform s3c2443 subirqs into new structure
    ARM: S3C24XX: modify s3c2443 irq init to initialize all irqs
    ARM: S3C24XX: move s3c2443 irq code to irq.c
    ARM: S3C24XX: transform s3c2416 irqs into new structure
    ARM: S3C24XX: modify s3c2416 irq init to initialize all irqs
    ARM: S3C24XX: move s3c2416 irq init to common irq code
    ARM: S3C24XX: Modify s3c_irq_wake to use the hwirq property
    ARM: S3C24XX: Move irq syscore-ops to irq-pm
    clocksource: always define CLOCKSOURCE_OF_DECLARE
    ...

    Linus Torvalds
     
  • Pull non-critical ARM SoC bug fixes from Arnd Bergmann:
    "Bug fixes that did not make it into v3.8, mostly because they were not
    considered important enough, and in some cases because bugs only show
    up in combination with other patches destined for 3.9. This includes
    a few larger patches for GPIO on the Marvell PXA platform and a lot of
    Samsung specific bug fixes, as well as a series from Arnd to fix older
    build warnings."

    * tag 'fixes-non-critical' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (54 commits)
    ARM: SPEAr13xx: Enable CONFIG_ARCH_HAS_CPUFREQ
    ARM: imx: MACH_MX31ADS_WM1133_EV1 needs REGULATOR_WM8350
    scripts/sortextable: silence script output
    ARM: s3c: i2c: add platform_device forward declaration
    ARM: mvebu: allow selecting mvebu without Armada XP
    ARM: pick Versatile by default for !MMU
    ARM: integrator: fix build with INTEGRATOR_AP off
    ARM: integrator/versatile: fix NOMMU warnings
    ARM: sa1100: don't warn about mach/ide.h
    ARM: shmobile: fix defconfig warning on CONFIG_USB
    ARM: w90x900: fix legacy assembly syntax
    ARM: samsung: fix assembly syntax for new gas
    ARM: disable virt_to_bus/virt_to_bus almost everywhere
    ARM: dts: Correct pin configuration of SD 4 for exynos4x12-pinctrl
    ARM: SAMSUNG: Silence empty switch warning in fimc-core.h
    ARM: SAMSUNG: Silence empty switch warning in sdhci.h
    ARM: msm: proc_comm_boot_wait should not be __init
    arm: vt8500: Update MAINTAINERS entry for arch-vt8500
    ARM: integrator: ensure ap_syscon_base is initialised when !CONFIG_MMU
    ARM: S5PV210: Fix early uart output in fifo mode
    ...

    Linus Torvalds
     

14 Feb, 2013

2 commits

  • The introduction of ARCH_MULTIPLATFORM changed
    the default for nommu kernels from Versatile to
    Integrator, which is less common, and does not
    currently build for allnoconfig because that does
    not select any of the CPUs.

    This also ensures that at least one of the three
    board files in versatile are enabled, which lets
    us successfully build an allnoconfig kernel.

    Signed-off-by: Arnd Bergmann
    Cc: Russell King

    Arnd Bergmann
     
  • On NOMMU kernels, the io_desc variables are unused
    because we don't use the MMU to remap the MMIO
    areas.

    Marking these variables as __maybe_unused easily
    avoids the otherwise harmless warnings like

    warning: 'versatile_io_desc' defined but not used

    Signed-off-by: Arnd Bergmann
    Cc: Linus Walleij
    Cc: Russell King

    Arnd Bergmann
     

06 Feb, 2013

2 commits

  • The PCI IRQs were regressing due to two things:

    - The PCI glue layer was using an hard-coded IRQ 27 offset.
    This caused the immediate regression.

    - The SIC IRQ mask was inverted (i.e. a bit was indeed set to
    one for each valid IRQ on the SIC, but accidentally inverted
    in the init call). This has been around forever, but we have
    been saved by some other forgiving code that would reserve
    IRQ descriptors in this range, as the versatile is
    non-sparse.

    When the IRQs were bumped up 32 steps so as to avoid using IRQ
    zero and avoid touching the 16 legacy IRQs, things broke.

    Introduce an explicit valid mask for the IRQs that are active
    on the PIC/SIC, and pass that. Use the BIT() macro from
    to make sure we hit the right bits, readily
    defined in .

    Reported-by: Tetsuo Handa
    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     
  • …-2.6 into next/cleanup

    From Shawn Guo:
    The series cleans up ARCH_HAS_DECOMP_WDOG and arch_decomp_wdog which
    are unused on ARM architecure. Samsung has some code setting up wdog
    in arch_decomp_wdog(). But since CONFIG_S3C_BOOT_WATCHDOG is defined
    nowhere, it will not run. Otherwise, system can not boot at all when
    wdog is set up but no one pats it.

    * tag 'cleanup-decompwdog-3.9' of git://git.linaro.org/people/shawnguo/linux-2.6:
    ARM: samsung: remove unused arch_decomp_wdog() code
    ARM: remove unused arch_decomp_wdog()
    ARM: decompress: remove unused ARCH_HAS_DECOMP_WDOG

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

    Olof Johansson
     

15 Jan, 2013

2 commits

  • From Rob Herring:

    Initial irqchip init infrastructure and GIC and VIC clean-ups

    This creates irqchip initialization infrastructure from Thomas
    Petazzoni. The VIC and GIC irqchip code is moved to drivers/irqchips
    and adapted to use the new infrastructure. All DT enabled platforms
    using GIC and VIC are converted over to use the new irqchip_init.

    * tag 'gic-vic-to-irqchip' of git://sources.calxeda.com/kernel/linux:
    irqchip: Move ARM vic.h to include/linux/irqchip/arm-vic.h
    ARM: picoxcell: use common irqchip_init function
    ARM: spear: use common irqchip_init function
    irqchip: Move ARM VIC to drivers/irqchip
    ARM: samsung: remove unused tick.h
    ARM: remove unneeded vic.h includes
    ARM: remove mach .handle_irq for VIC users
    ARM: VIC: set handle_arch_irq in VIC initialization
    ARM: VIC: shrink down vic.h
    irqchip: Move ARM gic.h to include/linux/irqchip/arm-gic.h
    ARM: use common irqchip_init for GIC init
    irqchip: Move ARM GIC to drivers/irqchip
    ARM: remove mach .handle_irq for GIC users
    ARM: GIC: set handle_arch_irq in GIC initialization
    ARM: GIC: remove direct use of gic_raise_softirq
    ARM: GIC: remove assembly ifdefs from gic.h
    ARM: mach-ux500: use SGI0 to wake up the other core
    arm: add set_handle_irq() to register the parent IRQ controller handler function
    irqchip: add basic infrastructure
    irqchip: add to the directories part of the IRQ subsystem in MAINTAINERS

    Fixed up massive merge conflicts with the timer cleanup due to adjacent changes:

    Signed-off-by: Olof Johansson

    Conflicts:
    arch/arm/mach-bcm/board_bcm.c
    arch/arm/mach-cns3xxx/cns3420vb.c
    arch/arm/mach-ep93xx/adssphere.c
    arch/arm/mach-ep93xx/edb93xx.c
    arch/arm/mach-ep93xx/gesbc9312.c
    arch/arm/mach-ep93xx/micro9.c
    arch/arm/mach-ep93xx/simone.c
    arch/arm/mach-ep93xx/snappercl15.c
    arch/arm/mach-ep93xx/ts72xx.c
    arch/arm/mach-ep93xx/vision_ep9307.c
    arch/arm/mach-highbank/highbank.c
    arch/arm/mach-imx/mach-imx6q.c
    arch/arm/mach-msm/board-dt-8960.c
    arch/arm/mach-netx/nxdb500.c
    arch/arm/mach-netx/nxdkn.c
    arch/arm/mach-netx/nxeb500hmi.c
    arch/arm/mach-nomadik/board-nhk8815.c
    arch/arm/mach-picoxcell/common.c
    arch/arm/mach-realview/realview_eb.c
    arch/arm/mach-realview/realview_pb1176.c
    arch/arm/mach-realview/realview_pb11mp.c
    arch/arm/mach-realview/realview_pba8.c
    arch/arm/mach-realview/realview_pbx.c
    arch/arm/mach-socfpga/socfpga.c
    arch/arm/mach-spear13xx/spear1310.c
    arch/arm/mach-spear13xx/spear1340.c
    arch/arm/mach-spear13xx/spear13xx.c
    arch/arm/mach-spear3xx/spear300.c
    arch/arm/mach-spear3xx/spear310.c
    arch/arm/mach-spear3xx/spear320.c
    arch/arm/mach-spear3xx/spear3xx.c
    arch/arm/mach-spear6xx/spear6xx.c
    arch/arm/mach-tegra/board-dt-tegra20.c
    arch/arm/mach-tegra/board-dt-tegra30.c
    arch/arm/mach-u300/core.c
    arch/arm/mach-ux500/board-mop500.c
    arch/arm/mach-ux500/cpu-db8500.c
    arch/arm/mach-versatile/versatile_ab.c
    arch/arm/mach-versatile/versatile_dt.c
    arch/arm/mach-versatile/versatile_pb.c
    arch/arm/mach-vexpress/v2m.c
    include/asm-generic/vmlinux.lds.h

    Olof Johansson
     
  • Clockevent cleanup series from Shawn Guo.

    Resolved move/change conflict in mach-pxa/time.c due to the sys_timer
    cleanup.

    * clocksource/cleanup:
    clocksource: use clockevents_config_and_register() where possible
    ARM: use clockevents_config_and_register() where possible
    clockevents: export clockevents_config_and_register for module use
    + sync to Linux 3.8-rc3

    Signed-off-by: Olof Johansson

    Conflicts:
    arch/arm/mach-pxa/time.c

    Olof Johansson
     

13 Jan, 2013

2 commits

  • Now that we have VIC moved to drivers/irqchip and all VIC DT init for
    platforms using irqchip_init, move gic.h and update the remaining
    includes.

    Signed-off-by: Rob Herring
    Cc: Thomas Gleixner
    Cc: Hartley Sweeten
    Cc: Ryan Mallon
    Cc: Russell King
    Cc: Alessandro Rubini
    Acked-by: Linus Walleij
    Cc: STEricsson
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Cc: linux-samsung-soc@vger.kernel.org

    Rob Herring
     
  • Numerous includes of asm/hardware/vic.h aren't needed, so remove them.

    Signed-off-by: Rob Herring
    Acked-by: H Hartley Sweeten
    Cc: Ryan Mallon
    Cc: Russell King
    Cc: Hubert Feurstein
    Cc: Alessandro Rubini
    Acked-by: Linus Walleij
    Cc: STEricsson
    Cc: Ben Dooks
    Cc: Kukjin Kim
    Acked-by: Mark Brown
    Cc: Kyungmin Park
    Acked-By: Maxime Ripard
    Cc: linux-samsung-soc@vger.kernel.org
    Cc: patches@opensource.wolfsonmicro.com
    Acked-by: Arnd Bergmann

    Rob Herring