20 Nov, 2013

1 commit

  • The Integrator/AP PCI bridget, "v3" is contained in two files,
    where pci.c is a socket container to plug in the v3 device.
    However to transition the v3 to enable device tree probing, it
    need to be converted to a platform device (so that it can have
    a device node in the device tree) and then we want the PCI
    driver in a single file, as any other device driver, so we can
    handle variants using compatible strings and device name,
    and get the base address etc from resources connected to the
    device node.

    To move toward this goal we consolidate all code in the
    pci_v3.c file.

    Acked-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     

08 May, 2013

1 commit

  • Pull ARM SoC late cleanups from Arnd Bergmann:
    "These are cleanups and smaller changes that either depend on earlier
    feature branches or came in late during the development cycle. We
    normally try to get all cleanups early, so these are the exceptions:

    - A follow-up on the clocksource reworks, hopefully the last time we
    need to merge clocksource subsystem changes through arm-soc.

    A first set of patches was part of the original 3.10 arm-soc
    cleanup series because of interdependencies with timer drivers now
    moved out of arch/arm.

    - Migrating the SPEAr13xx platform away from using auxdata for DMA
    channel descriptions towards using information in device tree,
    based on the earlier SPEAr multiplatform series

    - A few follow-ups on the Atmel SAMA5 support and other changes for
    Atmel at91 based on the larger at91 reworks.

    - Moving the armada irqchip implementation to drivers/irqchip

    - Several OMAP cleanups following up on the larger series already
    merged in 3.10."

    * tag 'cleanup-for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (50 commits)
    ARM: OMAP4: change the device names in usb_bind_phy
    ARM: OMAP2+: Fix mismerge for timer.c between ff931c82 and da4a686a
    ARM: SPEAr: conditionalize SMP code
    ARM: arch_timer: Silence debug preempt warnings
    ARM: OMAP: remove unused variable
    serial: amba-pl011: fix !CONFIG_DMA_ENGINE case
    ata: arasan: remove the need for platform_data
    ARM: at91/sama5d34ek.dts: remove not needed compatibility string
    ARM: at91: dts: add MCI DMA support
    ARM: at91: dts: add i2c dma support
    ARM: at91: dts: set #dma-cells to the correct value
    ARM: at91: suspend both memory controllers on at91sam9263
    irqchip: armada-370-xp: slightly cleanup irq controller driver
    irqchip: armada-370-xp: move IRQ handler to avoid forward declaration
    irqchip: move IRQ driver for Armada 370/XP
    ARM: mvebu: move L2 cache initialization in init_early()
    devtree: add binding documentation for sp804
    ARM: integrator-cp: convert use CLKSRC_OF for timer init
    ARM: versatile: use OF init for sp804 timer
    ARM: versatile: add versatile dtbs to dtbs target
    ...

    Linus Torvalds
     

04 May, 2013

1 commit

  • Pull ARM updates from Russell King:
    "The major items included in here are:

    - MCPM, multi-cluster power management, part of the infrastructure
    required for ARMs big.LITTLE support.

    - A rework of the ARM KVM code to allow re-use by ARM64.

    - Error handling cleanups of the IS_ERR_OR_NULL() madness and fixes
    of that stuff for arch/arm

    - Preparatory patches for Cortex-M3 support from Uwe Kleine-König.

    There is also a set of three patches in here from Hugh/Catalin to
    address freeing of inappropriate page tables on LPAE. You already
    have these from akpm, but they were already part of my tree at the
    time he sent them, so unfortunately they'll end up with duplicate
    commits"

    * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (77 commits)
    ARM: EXYNOS: remove unnecessary use of IS_ERR_VALUE()
    ARM: IMX: remove unnecessary use of IS_ERR_VALUE()
    ARM: OMAP: use consistent error checking
    ARM: cleanup: OMAP hwmod error checking
    ARM: 7709/1: mcpm: Add explicit AFLAGS to support v6/v7 multiplatform kernels
    ARM: 7700/2: Make cpu_init() notrace
    ARM: 7702/1: Set the page table freeing ceiling to TASK_SIZE
    ARM: 7701/1: mm: Allow arch code to control the user page table ceiling
    ARM: 7703/1: Disable preemption in broadcast_tlb*_a15_erratum()
    ARM: mcpm: provide an interface to set the SMP ops at run time
    ARM: mcpm: generic SMP secondary bringup and hotplug support
    ARM: mcpm_head.S: vlock-based first man election
    ARM: mcpm: Add baremetal voting mutexes
    ARM: mcpm: introduce helpers for platform coherency exit/setup
    ARM: mcpm: introduce the CPU/cluster power API
    ARM: multi-cluster PM: secondary kernel entry code
    ARM: cacheflush: add synchronization helpers for mixed cache state accesses
    ARM: cpu hotplug: remove majority of cache flushing from platforms
    ARM: smp: flush L1 cache in cpu_die()
    ARM: tegra: remove tegra specific cpu_disable()
    ...

    Linus Torvalds
     

03 May, 2013

1 commit


18 Apr, 2013

1 commit

  • This is the 2nd part of ARM timer clean-ups for 3.10. This series has
    the following changes:

    - Add sched_clock selection logic to select the highest frequency clock
    - Use full 64-bit arch timer counter for sched_clock
    - Convert arch timer, sp804 and integrator-cp timers to CLKSRC_OF and
    adapt all users to use clocksource_of_init

    * tag 'clksrc-cleanup-for-3.10-part2' of git://sources.calxeda.com/kernel/linux:
    devtree: add binding documentation for sp804
    ARM: integrator-cp: convert use CLKSRC_OF for timer init
    ARM: versatile: use OF init for sp804 timer
    ARM: versatile: add versatile dtbs to dtbs target
    ARM: vexpress: remove extra timer-sp control register clearing
    ARM: dts: vexpress: disable CA9 core tile sp804 timer
    ARM: vexpress: remove sp804 OF init
    ARM: highbank: use OF init for sp804 timer
    ARM: timer-sp: convert to use CLKSRC_OF init
    OF: add empty of_device_is_available for !OF
    ARM: convert arm/arm64 arch timer to use CLKSRC_OF init
    ARM: make machine_desc->init_time default to clocksource_of_init
    ARM: arch_timer: use full 64-bit counter for sched_clock
    ARM: make sched_clock just call a function pointer
    ARM: sched_clock: allow changing to higher frequency counter

    Signed-off-by: Olof Johansson

    This has a nasty set of conflicts with the exynos MCT code, which was
    moved in a separate branch, and then fixed up when merged in, but still
    conflicts a bit here. It should have been sorted out by this merge though.

    Olof Johansson
     

12 Apr, 2013

1 commit

  • Move the integrator-cp timer init to timer-sp.c and use CLKSRC_OF. There is
    no reason to use the aliases, so drop them from the init code.

    The integrator-cp timers are mistakenly called sp804 timers in the dts, but
    in fact they are not sp804 dual timers, but single timers with the same
    programming model. Fix the dts to reflect this.

    Signed-off-by: Rob Herring
    Acked-by: Linus Walleij

    Rob Herring
     

08 Apr, 2013

1 commit


04 Apr, 2013

1 commit


02 Apr, 2013

1 commit

  • policy->cpus contains all online cpus that have single shared clock line. And
    their frequencies are always updated together.

    Many SMP system's cpufreq drivers take care of this in individual drivers but
    the best place for this code is in cpufreq core.

    This patch modifies cpufreq_notify_transition() to notify frequency change for
    all cpus in policy->cpus and hence updates all users of this API.

    Signed-off-by: Viresh Kumar
    Acked-by: Stephen Warren
    Tested-by: Stephen Warren
    Signed-off-by: Rafael J. Wysocki

    Viresh Kumar
     

24 Feb, 2013

1 commit

  • soc_device_register() never returns NULL, it only ever returns an
    error pointer or a valid pointer. Use the right function (IS_ERR())
    to check this.

    soc_device_to_device() only ever returns &soc_dev->dev, and so can
    never return an error or NULL if the pointer passed into it was
    valid, so there's no point checking its return.

    Signed-off-by: Russell King

    Russell King
     

22 Feb, 2013

1 commit

  • 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
     

14 Feb, 2013

3 commits

  • These are fixes for compiler warnings that for the most
    part were introduced during the 3.8 cycle but are otherwise
    harmless.

    * warning-fixes:
    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

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • The conditional declaration of ap_uart_data is broken
    and causes this build error:

    In file included from arch/arm/mach-integrator/core.c:35:0:
    arch/arm/mach-integrator/common.h:6:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token

    Turning the check into an constant-expression if(IS_ENABLED()) statement
    creates more readable code and solves this problem as well.

    Cc: Linus Walleij
    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
     

10 Feb, 2013

1 commit


06 Feb, 2013

1 commit

  • …-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
     

28 Jan, 2013

1 commit


12 Jan, 2013

1 commit

  • The Integrator/AP syscon remapping was done in the .setup()
    function rather than .preinit() which is wrong - .preinit()
    is called before .setup() and the former also use the syscon
    base and cause a crash since it was not yet remapped.

    Signed-off-by: Linus Walleij
    Signed-off-by: Olof Johansson

    Linus Walleij
     

11 Jan, 2013

1 commit

  • With ARCH_HAS_DECOMP_WDOG removed from arch/arm/boot/compressed/decompress.c,
    all the arch_decomp_wdog() definition at platform level is unneeded.
    Remmove it.

    Signed-off-by: Shawn Guo
    Acked-by: Nicolas Pitre
    Acked-by: Jason Cooper

    Shawn Guo
     

25 Dec, 2012

1 commit

  • Now that the only field in struct sys_timer is .init, delete the struct,
    and replace the machine descriptor .timer field with the initialization
    function itself.

    This will enable moving timer drivers into drivers/clocksource without
    having to place a public prototype of each struct sys_timer object into
    include/linux; the intent is to create a single of_clocksource_init()
    function that determines which timer driver to initialize by scanning
    the device dtree, much like the proposed irqchip_init() at:
    http://www.spinics.net/lists/arm-kernel/msg203686.html

    Includes mach-omap2 fixes from Igor Grinberg.

    Tested-by: Robert Jarzmik
    Signed-off-by: Stephen Warren

    Stephen Warren
     

13 Dec, 2012

3 commits

  • Pull ARM SoC updates from Olof Johansson:
    "This contains the bulk of new SoC development for this merge window.

    Two new platforms have been added, the sunxi platforms (Allwinner A1x
    SoCs) by Maxime Ripard, and a generic Broadcom platform for a new
    series of ARMv7 platforms from them, where the hope is that we can
    keep the platform code generic enough to have them all share one mach
    directory. The new Broadcom platform is contributed by Christian
    Daudt.

    Highbank has grown support for Calxeda's next generation of hardware,
    ECX-2000.

    clps711x has seen a lot of cleanup from Alexander Shiyan, and he's
    also taken on maintainership of the platform.

    Beyond this there has been a bunch of work from a number of people on
    converting more platforms to IRQ domains, pinctrl conversion, cleanup
    and general feature enablement across most of the active platforms."

    Fix up trivial conflicts as per Olof.

    * tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (174 commits)
    mfd: vexpress-sysreg: Remove LEDs code
    irqchip: irq-sunxi: Add terminating entry for sunxi_irq_dt_ids
    clocksource: sunxi_timer: Add terminating entry for sunxi_timer_dt_ids
    irq: versatile: delete dangling variable
    ARM: sunxi: add missing include for mdelay()
    ARM: EXYNOS: Avoid early use of of_machine_is_compatible()
    ARM: dts: add node for PL330 MDMA1 controller for exynos4
    ARM: EXYNOS: Add support for secondary CPU bring-up on Exynos4412
    ARM: EXYNOS: add UART3 to DEBUG_LL ports
    ARM: S3C24XX: Add clkdev entry for camif-upll clock
    ARM: SAMSUNG: Add s3c24xx/s3c64xx CAMIF GPIO setup helpers
    ARM: sunxi: Add missing sun4i.dtsi file
    pinctrl: samsung: Do not initialise statics to 0
    ARM i.MX6: remove gate_mask from pllv3
    ARM i.MX6: Fix ethernet PLL clocks
    ARM i.MX6: rename PLLs according to datasheet
    ARM i.MX6: Add pwm support
    ARM i.MX51: Add pwm support
    ARM i.MX53: Add pwm support
    ARM: mx5: Replace clk_register_clkdev with clock DT lookup
    ...

    Linus Torvalds
     
  • Pull ARM SoC cleanups on various subarchitectures from Olof Johansson:
    "Cleanup patches for various ARM platforms and some of their associated
    drivers. There's also a branch in here that enables Freescale i.MX to
    be part of the multiplatform support -- the first "big" SoC that is
    moved over (more multiplatform work comes in a separate branch later
    during the merge window)."

    Conflicts fixed as per Olof, including a silent semantic one in
    arch/arm/mach-omap2/board-generic.c (omap_prcm_restart() was renamed to
    omap3xxx_restart(), and a new user of the old name was added).

    * tag 'cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (189 commits)
    ARM: omap: fix typo on timer cleanup
    ARM: EXYNOS: Remove unused regs-mem.h file
    ARM: EXYNOS: Remove unused non-dt support for dwmci controller
    ARM: Kirkwood: Use hw_pci.ops instead of hw_pci.scan
    ARM: OMAP3: cm-t3517: use GPTIMER for system clock
    ARM: OMAP2+: timer: remove CONFIG_OMAP_32K_TIMER
    ARM: SAMSUNG: use devm_ functions for ADC driver
    ARM: EXYNOS: no duplicate mask/unmask in eint0_15
    ARM: S3C24XX: SPI clock channel setup is fixed for S3C2443
    ARM: EXYNOS: Remove i2c0 resource information and setting of device names
    ARM: Kirkwood: checkpatch cleanups
    ARM: Kirkwood: Fix sparse warnings.
    ARM: Kirkwood: Remove unused includes
    ARM: kirkwood: cleanup lsxl board includes
    ARM: integrator: use BUG_ON where possible
    ARM: integrator: push down SC dependencies
    ARM: integrator: delete static UART1 mapping
    ARM: integrator: delete SC mapping on the CP
    ARM: integrator: remove static CP syscon mapping
    ARM: integrator: remove static AP syscon mapping
    ...

    Linus Torvalds
     
  • Pull ARM updates from Russell King:
    "Here's the updates for ARM for this merge window, which cover quite a
    variety of areas.

    There's a bunch of patch series from Will tackling various bugs like
    the PROT_NONE handling, ASID allocation, cluster boot protocol and
    ASID TLB tagging updates.

    We move to a build-time sorted exception table rather than doing the
    sorting at run-time, add support for the secure computing filter, and
    some updates to the perf code. We also have sorted out the placement
    of some headers, fixed some build warnings, fixed some hotplug
    problems with the per-cpu TWD code."

    * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (73 commits)
    ARM: 7594/1: Add .smp entry for REALVIEW_EB
    ARM: 7599/1: head: Remove boot-time HYP mode check for v5 and below
    ARM: 7598/1: net: bpf_jit_32: fix sp-relative load/stores offsets.
    ARM: 7595/1: syscall: rework ordering in syscall_trace_exit
    ARM: 7596/1: mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep
    ARM: 7597/1: net: bpf_jit_32: fix kzalloc gfp/size mismatch.
    ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU
    ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accesses
    ARM: 7591/1: nommu: Enable the strict alignment (CR_A) bit only if ARCH < v6
    ARM: 7590/1: /proc/interrupts: limit the display of IPIs to online CPUs only
    ARM: 7587/1: implement optimized percpu variable access
    ARM: 7589/1: integrator: pass the lm resource to amba
    ARM: 7588/1: amba: create a resource parent registrator
    ARM: 7582/2: rename kvm_seq to vmalloc_seq so to avoid confusion with KVM
    ARM: 7585/1: kernel: fix nr_cpu_ids check in DT logical map init
    ARM: 7584/1: perf: fix link error when CONFIG_HW_PERF_EVENTS is not selected
    ARM: gic: use a private mapping for CPU target interfaces
    ARM: kernel: add logical mappings look-up
    ARM: kernel: add cpu logical map DT init in setup_arch
    ARM: kernel: add device tree init map function
    ...

    Linus Torvalds
     

03 Dec, 2012

1 commit


22 Nov, 2012

1 commit

  • The ARM IM-PD1 add-on module has a few clock of its own, let's
    move also these down to the drivers/clk/versatile driver dir
    and get rid of any remaining oldschool Integrator clocks.

    Signed-off-by: Linus Walleij
    Signed-off-by: Mike Turquette

    Linus Walleij
     

18 Nov, 2012

2 commits

  • Just use BUG_ON() instead of constructions such as:

    if (...)
    BUG()

    A simplified version of the semantic patch that makes this transformation
    is as follows: (http://coccinelle.lip6.fr/)

    //
    @@
    expression e;
    @@
    - if (e) BUG();
    + BUG_ON(e);
    //

    Signed-off-by: Sasha Levin
    Acked-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Sasha Levin
     
  • This pushes the dependencies on the Integrator/AP system
    controller (SC) down into the PCI V3 driver and the
    AP-specific board file.

    First, the platform data for the PL010 UART is moved into
    the integrator_ap.c board file, and the Integrator/CP is
    assigned with NULL pdata. This way the callback functions
    can reference the dynamically remapped AP syscon address
    in both the ATAG and DT boot path, and this remapping
    is localized to the board file.

    Second the PCIv3 driver is making its own dynamic remapping
    of the SC for the few registers it is using. When we
    convert the PCIv3 driver over to using device tree having a
    dynamically assigned base address will be useful, but we
    will have to use the definition from for
    now, the only improvement is that it's done dynamically.

    Signed-off-by: Linus Walleij

    Linus Walleij
     

17 Nov, 2012

6 commits

  • The Integrators does not use the UART1 for any debugging
    or similar, dynamic mapping should be all that is needed
    so delete this static map.

    Acked-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • The Integrator/CP does not use the address space defined as
    used by the Integrator/AP system controller, it's just unused
    memory. So just delete this static mapping from the CP static
    mapping table.

    Acked-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This removes the static mapping for the CP system controller for
    the device tree case. Fork the static mappings table and move
    the system controller to only be statically mapped in the ATAG
    boot path.

    Acked-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This removes the static mapping for the AP system controller for
    the device tree case. Fork the static mappings table and move
    the system controller to only be statically mapped in the ATAG
    boot path.

    Acked-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This hooks the Integrator/CP into the SoC bus when booting from
    device tree, by mapping the CP controller registers first,
    then registering the SoC device, and then populating the device
    tree with the SoC device as parent.

    Cc: Lee Jones
    Acked-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     
  • This hooks the Integrator/AP into the SoC bus when booting from
    device tree, by mapping the AP controller registers first,
    then registering the SoC device, and then populating the device
    tree with the SoC device as parent.

    Introduce some helpers in the core to provide sysfs files
    detailing the use of the SoC ID which will later be reused by
    the Integrator/CP patch for the same bus grouping.

    Cc: Lee Jones
    Acked-by: Arnd Bergmann
    Signed-off-by: Linus Walleij

    Linus Walleij
     

05 Nov, 2012

1 commit


27 Oct, 2012

1 commit

  • The Integrators were using the .nr_irqs field of the machine
    descriptor to pre-allocate a number of descriptors at boot. This
    is not right: the irq chip implementations should allocate
    their descriptors themselves, and as a result the simple
    irqdomain code warns about it.

    Get rid of this by just deleting the .nr_irq field from the
    machine descriptors but take care: doing so makes the default
    implementation hog the first 16 IRQ numbers, so these cannot
    be used by the still static IRQ number assignments in the
    ATAG boot case. So for these, bump the IRQ numbers to begin
    at 64 and upward.

    Introduce an offset to offset all IRQ numbers if need be,
    though we don't expect to do that again as device tree comes
    along.

    Signed-off-by: Linus Walleij

    Linus Walleij
     

09 Oct, 2012

1 commit


07 Oct, 2012

1 commit

  • Pull ARM updates from Russell King:
    "This is the first chunk of ARM updates for this merge window.
    Conflicts are expected in two files - asm/timex.h and
    mach-integrator/integrator_cp.c. Nothing particularly stands out more
    than anything else.

    Most of the growth is down to the opcodes stuff from Dave Martin,
    which is countered by Rob's patches to use more of the asm-generic
    headers on ARM."

    (A few more conflicts grew since then, but it all looked fairly trivial)

    * 'for-linus' of git://git.linaro.org/people/rmk/linux-arm: (44 commits)
    ARM: 7548/1: include linux/sched.h in syscall.h
    ARM: 7541/1: Add ARM ERRATA 775420 workaround
    ARM: ensure vm_struct has its phys_addr member filled in
    ARM: 7540/1: kexec: Check segment memory addresses
    ARM: 7539/1: kexec: scan for dtb magic in segments
    ARM: 7538/1: delay: add registration mechanism for delay timer sources
    ARM: 7536/1: smp: Formalize an IPI for wakeup
    ARM: 7525/1: ptrace: use updated syscall number for syscall auditing
    ARM: 7524/1: support syscall tracing
    ARM: 7519/1: integrator: convert platform devices to Device Tree
    ARM: 7518/1: integrator: convert AMBA devices to device tree
    ARM: 7517/1: integrator: initial device tree support
    ARM: 7516/1: plat-versatile: add DT support to FPGA IRQ
    ARM: 7515/1: integrator: check PL010 base address from resource
    ARM: 7514/1: integrator: call common init function from machine
    ARM: 7522/1: arch_timers: register a time/cycle counter
    ARM: 7523/1: arch_timers: enable the use of the virtual timer
    ARM: 7531/1: mark kernelmode mem{cpy,set} non-experimental
    ARM: 7520/1: Build dtb files in all target
    ARM: Fix build warning in arch/arm/mm/alignment.c
    ...

    Linus Torvalds
     

02 Oct, 2012

1 commit

  • Pull ARM soc driver specific changes from Olof Johansson:
    - A long-coming conversion of various platforms to a common LED
    infrastructure
    - AT91 is moved over to use the newer MCI driver for MMC
    - Pincontrol conversions for samsung platforms
    - DT bindings for gscaler on samsung
    - i2c driver fixes for tegra, acked by i2c maintainer

    Fix up conflicts as per Olof.

    * tag 'drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (48 commits)
    drivers: bus: omap_l3: use resources instead of hardcoded irqs
    pinctrl: exynos: Fix wakeup IRQ domain registration check
    pinctrl: samsung: Uninline samsung_pinctrl_get_soc_data
    pinctrl: exynos: Correct the detection of wakeup-eint node
    pinctrl: exynos: Mark exynos_irq_demux_eint as inline
    pinctrl: exynos: Handle only unmasked wakeup interrupts
    pinctrl: exynos: Fix typos in gpio/wkup _irq_mask
    pinctrl: exynos: Set pin function to EINT in irq_set_type of GPIO EINTa
    drivers: bus: Move the OMAP interconnect driver to drivers/bus/
    i2c: tegra: dynamically control fast clk
    i2c: tegra: I2_M_NOSTART functionality not supported in Tegra20
    ARM: tegra: clock: remove unused clock entry for i2c
    ARM: tegra: clock: add connection name in i2c clock entry
    i2c: tegra: pass proper name for getting clock
    ARM: tegra: clock: add i2c fast clock entry in clock table
    ARM: EXYNOS: Adds G-Scaler device from Device Tree
    ARM: EXYNOS: Add clock support for G-Scaler
    ARM: EXYNOS: Enable pinctrl driver support for EXYNOS4 device tree enabled platform
    ARM: dts: Add pinctrl node entries for SAMSUNG EXYNOS4210 SoC
    ARM: EXYNOS: skip wakeup interrupt setup if pinctrl driver is used
    ...

    Linus Torvalds
     

23 Sep, 2012

1 commit

  • __iomem annotation cleanup branch from Arnd.

    * cleanup/__iomem: (21 commits)
    net: seeq: use __iomem pointers for MMIO
    video: da8xx-fb: use __iomem pointers for MMIO
    scsi: eesox: use __iomem pointers for MMIO
    serial: ks8695: use __iomem pointers for MMIO
    input: rpcmouse: use __iomem pointers for MMIO
    ARM: samsung: use __iomem pointers for MMIO
    ARM: spear13xx: use __iomem pointers for MMIO
    ARM: sa1100: use __iomem pointers for MMIO
    ARM: prima2: use __iomem pointers for MMIO
    ARM: nomadik: use __iomem pointers for MMIO
    ARM: msm: use __iomem pointers for MMIO
    ARM: lpc32xx: use __iomem pointers for MMIO
    ARM: ks8695: use __iomem pointers for MMIO
    ARM: ixp4xx: use __iomem pointers for MMIO
    ARM: iop32x: use __iomem pointers for MMIO
    ARM: iop13xx: use __iomem pointers for MMIO
    ARM: integrator: use __iomem pointers for MMIO
    ARM: imx: use __iomem pointers for MMIO
    ARM: ebsa110: use __iomem pointers for MMIO
    ARM: at91: use __iomem pointers for MMIO
    ...

    Signed-off-by: Olof Johansson

    Olof Johansson
     

19 Sep, 2012

1 commit

  • ARM is moving to stricter checks on readl/write functions,
    so we need to use the correct types everywhere.

    This patch has a few small conflicts with stuff in linux-next, which
    we have to sort out in arm-soc.

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

    Arnd Bergmann