13 Apr, 2020

2 commits


17 Jun, 2019

1 commit


05 Jun, 2019

1 commit

  • Based on 1 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms and conditions of the gnu general public license
    version 2 as published by the free software foundation this program
    is distributed in the hope it will be useful but without any
    warranty without even the implied warranty of merchantability or
    fitness for a particular purpose see the gnu general public license
    for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

    has been chosen to replace the boilerplate/reference in 263 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Alexios Zavras
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190529141901.208660670@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

31 May, 2019

1 commit

  • Based on 3 normalized pattern(s):

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version this program is distributed in the
    hope that it will be useful but without any warranty without even
    the implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [kishon] [vijay] [abraham]
    [i] [kishon]@[ti] [com] this program is distributed in the hope that
    it will be useful but without any warranty without even the implied
    warranty of merchantability or fitness for a particular purpose see
    the gnu general public license for more details

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license as published by
    the free software foundation either version 2 of the license or at
    your option any later version [author] [graeme] [gregory]
    [gg]@[slimlogic] [co] [uk] [author] [kishon] [vijay] [abraham] [i]
    [kishon]@[ti] [com] [based] [on] [twl6030]_[usb] [c] [author] [hema]
    [hk] [hemahk]@[ti] [com] this program is distributed in the hope
    that it will be useful but without any warranty without even the
    implied warranty of merchantability or fitness for a particular
    purpose see the gnu general public license for more details

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-or-later

    has been chosen to replace the boilerplate/reference in 1105 file(s).

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Allison Randal
    Reviewed-by: Richard Fontana
    Reviewed-by: Kate Stewart
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190527070033.202006027@linutronix.de
    Signed-off-by: Greg Kroah-Hartman

    Thomas Gleixner
     

21 May, 2019

1 commit


20 May, 2019

1 commit

  • The call to of_get_next_child returns a node pointer with refcount
    incremented thus it must be explicitly decremented after the last
    usage.

    Detected by coccinelle with the following warnings:
    ./arch/arm/mach-rockchip/pm.c:269:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 259, but without a corresponding object release within this function.
    ./arch/arm/mach-rockchip/pm.c:275:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 259, but without a corresponding object release within this function
    ./arch/arm/mach-rockchip/platsmp.c:281:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 272, but without a corresponding object release within this function.
    ./arch/arm/mach-rockchip/platsmp.c:285:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 272, but without a corresponding object release within this function.
    ./arch/arm/mach-rockchip/platsmp.c:289:3-9: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 272, but without a corresponding object release within this function.
    ./arch/arm/mach-rockchip/platsmp.c:303:3-9: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 294, but without a corresponding object release within this function.

    Signed-off-by: Wen Yang
    Reviewed-by: Florian Fainelli
    Suggested-by: Heiko Stuebner
    Cc: Russell King
    Cc: Heiko Stuebner
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-rockchip@lists.infradead.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Heiko Stuebner

    Wen Yang
     

17 May, 2019

1 commit


16 May, 2019

1 commit

  • Now that we've gotten rid of clk_readl() we can remove io.h from the
    clk-provider header and push out the io.h include to any code that isn't
    already including the io.h header but using things like readl/writel,
    etc.

    Found with this grep:

    git grep -l clk-provider.h | grep '.c$' | xargs git grep -L 'linux/io.h' | \
    xargs git grep -l \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\' --or \
    -e '\'

    I also reordered a couple includes when they weren't alphabetical and
    removed clk.h from kona, replacing it with clk-provider.h because
    that driver doesn't use clk consumer APIs.

    Acked-by: Geert Uytterhoeven
    Cc: Chen-Yu Tsai
    Acked-by: Maxime Ripard
    Acked-by: Tero Kristo
    Acked-by: Sekhar Nori
    Cc: Krzysztof Kozlowski
    Acked-by: Mark Brown
    Cc: Chris Zankel
    Acked-by: Max Filippov
    Acked-by: John Crispin
    Acked-by: Heiko Stuebner
    Signed-off-by: Stephen Boyd

    Stephen Boyd
     

24 Apr, 2019

1 commit

  • The call to of_get_next_child returns a node pointer with refcount
    incremented thus it must be explicitly decremented after the last
    usage.

    Detected by coccinelle with the following warnings:
    ./arch/arm/mach-rockchip/platsmp.c:250:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 241, but without a corresponding object release within this function.
    ./arch/arm/mach-rockchip/platsmp.c:260:2-8: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 241, but without a corresponding object release within this function.
    ./arch/arm/mach-rockchip/platsmp.c:263:1-7: ERROR: missing of_node_put; acquired a node pointer with refcount incremented on line 241, but without a corresponding object release within this function.

    Signed-off-by: Wen Yang
    Cc: Russell King
    Cc: Heiko Stuebner
    Cc: linux-arm-kernel@lists.infradead.org
    Cc: linux-rockchip@lists.infradead.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: Heiko Stuebner

    Wen Yang
     

12 Apr, 2019

1 commit


24 Aug, 2018

1 commit

  • A number of the Rockchip-specific drivers (IOMMU, display controllers)
    are now assuming that CONFIG_PM is set, and may completely misbehave
    if that's not the case.

    Since there is hardly any reason for this configuration option not
    to be selected anyway, let's require it (in the same way Tegra already
    does).

    Signed-off-by: Marc Zyngier
    Signed-off-by: Olof Johansson

    Marc Zyngier
     

09 May, 2018

1 commit

  • Define this symbol if the architecture either uses 64-bit pointers or the
    PHYS_ADDR_T_64BIT is set. This covers 95% of the old arch magic. We only
    need an additional select for Xen on ARM (why anyway?), and we now always
    set ARCH_DMA_ADDR_T_64BIT on mips boards with 64-bit physical addressing
    instead of only doing it when highmem is set.

    Signed-off-by: Christoph Hellwig
    Acked-by: James Hogan

    Christoph Hellwig
     

12 Mar, 2018

1 commit


12 Sep, 2017

1 commit

  • Pull ARM updates from Russell King:
    "Low priority fixes and updates for ARM:

    - add some missing includes

    - efficiency improvements in system call entry code when tracing is
    enabled

    - ensure ARMv6+ is always built as EABI

    - export save_stack_trace_tsk()

    - fix fatal signal handling during mm fault

    - build translation table base address register from scratch

    - appropriately align the .data section to a word boundary where we
    rely on that data being word aligned"

    * 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm:
    ARM: 8691/1: Export save_stack_trace_tsk()
    ARM: 8692/1: mm: abort uaccess retries upon fatal signal
    ARM: 8690/1: lpae: build TTB control register value from scratch in v7_ttb_setup
    ARM: align .data section
    ARM: always enable AEABI for ARMv6+
    ARM: avoid saving and restoring registers unnecessarily
    ARM: move PC value into r9
    ARM: obtain thread info structure later
    ARM: use aliases for registers in entry-common
    ARM: 8689/1: scu: add missing errno include
    ARM: 8688/1: pm: add missing types include

    Linus Torvalds
     

09 Sep, 2017

1 commit


06 Sep, 2017

1 commit

  • * next/cleanup:
    soc: versatile: remove unnecessary static in realview_soc_probe()
    ARM: Convert to using %pOF instead of full_name
    ARM: hisi: Fix typo in comment
    ARM: OMAP4+: PRM: fix of_irq_get() result checks
    ARM: OMAP3+: PRM: fix of_irq_get() result check
    ARM: dts: dra72-evm-revc: workaround incorrect DP83867 RX_CTRL pin strap
    ARM: dts: dra71-evm: workaround incorrect DP83867 RX_CTRL pin strap
    ARM: OMAP2+: omap_device: drop broken RPM status update from suspend_noirq
    bus: omap-ocp2scp: Fix error handling in omap_ocp2scp_probe

    Olof Johansson
     

17 Aug, 2017

1 commit

  • Now that we have a custom printf format specifier, convert users of
    full_name to use %pOF instead. This is preparation to remove storing
    of the full path string for each node.

    Signed-off-by: Rob Herring
    Acked-by: Krzysztof Kozlowski
    Acked-by: Heiko Stuebner
    Reviewed-by: Geert Uytterhoeven
    Acked-by: Gregory CLEMENT
    Acked-by: Shawn Guo
    Acked-by: Simon Horman
    Cc: Russell King
    Cc: Kukjin Kim
    Cc: Javier Martinez Canillas
    Cc: Fabio Estevam
    Cc: Jason Cooper
    Cc: Andrew Lunn
    Cc: Sebastian Hesselbarth
    Cc: Tony Lindgren
    Cc: "Benoît Cousson"
    Cc: Paul Walmsley
    Cc: Magnus Damm
    Signed-off-by: Arnd Bergmann

    Rob Herring
     

14 Aug, 2017

1 commit

  • Robert Jarzmik reports that his PXA25x system fails to boot with 4.12,
    failing at __flush_whole_cache in arch/arm/mm/proc-xscale.S:215:

    0xc0019e20 : ldr r1, [pc, #788]
    0xc0019e24 : ldr r0, [r1]
    Tested-by: Robert Jarzmik
    Signed-off-by: Russell King

    Russell King
     

06 Aug, 2017

1 commit


01 Aug, 2017

1 commit


21 Jul, 2017

1 commit

  • Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting
    reset lines") started to transition the reset control request API calls
    to explicitly state whether the driver needs exclusive or shared reset
    control behavior. Convert all drivers requesting exclusive resets to the
    explicit API call so the temporary transition helpers can be removed.

    No functional changes.

    Cc: Heiko Stuebner
    Cc: linux-rockchip@lists.infradead.org
    Signed-off-by: Philipp Zabel
    Signed-off-by: Heiko Stuebner

    Philipp Zabel
     

05 Jul, 2017

1 commit

  • Pull ARM SoC platform updates from Arnd Bergmann:
    "SoC platform changes (arch/arm/mach-*). This merge window, the bulk is
    for a few platforms:

    - Andres Färber adds initial support for the Actions Semi S500 (aka
    'owl') platform, a close relative of the S900 platform he adds for
    arm64.

    - in mach-omap2, we remove more legacy code

    - Rockchips gains support for the RV1108 SoC designed for camera
    applications.

    - For Atmel, we gain support for MMU-less SoCs (SAME70/V71/S70/V70)

    - Minor updates for other platforms, including davinci, s3c64xx,
    prima2, stm32, broadcom nsp, amlogic, pxa, imx and renesas"

    * tag 'armsoc-soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (74 commits)
    ARM: owl: smp: Drop bogus holding pen
    ARM: owl: Drop custom machine
    ARM: owl: smp: Implement SPS power-gating for CPU2 and CPU3
    soc: actions: owl-sps: Factor out owl_sps_set_pg() for power-gating
    soc: actions: Add Owl SPS
    dt-bindings: power: Add Owl SPS power domains
    MAINTAINERS: Update Actions Semi section with SPS
    ARM: owl: Implement CPU enable-method for S500
    MAINTAINERS: Add Actions Semi Owl section
    ARM: Prepare Actions Semi S500
    ARM: socfpga: Increase max number of GPIOs
    ARM: stm32: Introduce MACH_STM32F469 flag
    ARM: prima2: remove redundant select CPU_V7
    ARM: davinci: fix const warnings
    ARM: shmobile: pm-rmobile: Use GENPD_FLAG_ALWAYS_ON
    ARM: OMAP4: hwmod_data: add SHAM crypto accelerator
    ARM: OMAP4: hwmod data: add des
    ARM: OMAP4: hwmod data: add aes2
    ARM: OMAP4: hwmod data: add aes1
    ARM: pxa: Delete an error message for a failed memory allocation in pxa3xx_u2d_probe()
    ...

    Linus Torvalds
     

14 Jun, 2017

1 commit


14 May, 2017

1 commit


01 Mar, 2017

1 commit

  • Pull ARM updates from Russell King:

    - nommu updates from Afzal Mohammed cleaning up the vectors support

    - allow DMA memory "mapping" for nommu Benjamin Gaignard

    - fixing a correctness issue with R_ARM_PREL31 relocations in the
    module linker

    - add strlen() prototype for the decompressor

    - support for DEBUG_VIRTUAL from Florian Fainelli

    - adjusting memory bounds after memory reservations have been
    registered

    - unipher cache handling updates from Masahiro Yamada

    - initrd and Thumb Kconfig cleanups

    * 'for-linus' of git://git.armlinux.org.uk/~rmk/linux-arm: (23 commits)
    ARM: mm: round the initrd reservation to page boundaries
    ARM: mm: clean up initrd initialisation
    ARM: mm: move initrd init code out of arm_memblock_init()
    ARM: 8655/1: improve NOMMU definition of pgprot_*()
    ARM: 8654/1: decompressor: add strlen prototype
    ARM: 8652/1: cache-uniphier: clean up active way setup code
    ARM: 8651/1: cache-uniphier: include instead of
    ARM: 8650/1: module: handle negative R_ARM_PREL31 addends correctly
    ARM: 8649/2: nommu: remove Hivecs configuration is asm
    ARM: 8648/2: nommu: display vectors base
    ARM: 8647/2: nommu: dynamic exception base address setting
    ARM: 8646/1: mmu: decouple VECTORS_BASE from Kconfig
    ARM: 8644/1: Reduce "CPU: shutdown" message to debug level
    ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol
    ARM: 8640/1: Add support for CONFIG_DEBUG_VIRTUAL
    ARM: 8639/1: Define KERNEL_START and KERNEL_END
    ARM: 8638/1: mtd: lart: Rename partition defines to be prefixed with PART_
    ARM: 8637/1: Adjust memory boundaries after reservations
    ARM: 8636/1: Cleanup sanity_check_meminfo
    ARM: add CPU_THUMB_CAPABLE to indicate possible Thumb support
    ...

    Linus Torvalds
     

28 Feb, 2017

1 commit


06 Jan, 2017

1 commit


02 Aug, 2016

1 commit

  • Pull ARM SoC cleanups from Olof Johansson:
    "The cleanup branch keeps going down in size as we've completed a lot
    of the major legacy platform removals and conversions.

    A handful of changes this time around, some of the themes or larger
    sets are:

    - A bunch of i.MX cleanups around platform detection, init call cleanups
    - Misc fixes of missing/implicit includes
    - Removal of ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB"

    * tag 'armsoc-cleanup' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (40 commits)
    ARM: mps2: fix typo
    ARM: s3c64xx: avoid warning about 'struct device_node'
    bus: mvebu-mbus: make mvebu_mbus_syscore_ops static
    bus: mvebu-mbus: fix __iomem on register pointers
    ARM: tegra: Remove board_init_funcs array
    ARM: iop: Fix indentation
    ARM: imx: remove cpu_is_mx*()
    ARM: imx: remove last call to cpu_is_mx5*
    ARM: imx: rework mx27_pm_init() call
    ARM: imx: deconstruct mx3_idle
    ARM: imx: deconstruct mxc_rnga initialization
    ARM: imx: remove cpu_is_mx1 check
    ARM: i.MX: Do not explicitly call l2x0_of_init()
    ARM: i.MX: system.c: Tweak prefetch settings for performance
    ARM: i.MX: system.c: Replace magic numbers
    ARM: i.MX: system.c: Remove redundant errata 752271 code
    ARM: i.MX: system.c: Convert goto to if statement
    ARM: Kirkwood: fix kirkwood_pm_init() declaration/type
    ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static
    ARM: orion5x: make orion5x_legacy_handle_irq static
    ...

    Linus Torvalds
     

24 Jun, 2016

1 commit

  • After patch "of/platform: Add common method to populate default bus",
    it is possible for arch code to remove unnecessary callers of
    of_platform_populate with default match table.

    Acked-by: Viresh Kumar
    Cc: Nicolas Ferre
    Cc: Ray Jui
    Cc: Lee Jones
    Cc: Krzysztof Halasa
    Cc: Kukjin Kim
    Cc: Rob Herring
    Cc: Shawn Guo
    Cc: Santosh Shilimkar
    Cc: Roland Stigge
    Cc: Jason Cooper
    Cc: Haojian Zhuang
    Cc: Heiko Stuebner
    Cc: Viresh Kumar
    Cc: Shiraz Hashim
    Cc: Tony Prisk
    Cc: Arnd Bergmann
    Cc: Russell King
    Signed-off-by: Kefeng Wang
    Signed-off-by: Rob Herring

    Kefeng Wang
     

04 Jun, 2016

1 commit

  • This replaces:

    - "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB" as this can
    now be selected directly.

    - "select ARCH_WANT_OPTIONAL_GPIOLIB" with no dependency: GPIOLIB
    is now selectable by everyone, so we need not declare our
    intent to select it.

    When ordering the symbols the following rationale was used:
    if the selects were in alphabetical order, I moved select GPIOLIB
    to be in alphabetical order, but if the selects were not
    maintained in alphabetical order, I just replaced
    "select ARCH_REQUIRE_GPIOLIB" with "select GPIOLIB".

    Cc: Michael Büsch
    Cc: arm@kernel.org
    Cc: linux-arm-kernel@lists.infradead.org
    Signed-off-by: Linus Walleij
    Signed-off-by: Olof Johansson

    Linus Walleij
     

19 May, 2016

1 commit

  • Pull ARM SoC cleanups and fixes from Arnd Bergmann:
    "Traditionally we've had two separate branches for cleanups and
    non-critical bug fixes, but both of these got smaller with each
    release and the differences are rather unclear now, so it seems more
    appropriate to have a combined branch.

    The most notable change is for OMAP, which gets a small rework to
    simplify handling of the AUXDATA mechanism used on machines that are
    not completely DT based yet, along with other work that is used as
    preparation for dropping the legacy board files"

    * tag 'armsoc-cleanups-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
    ARM: dts: exynos: Add interrupt line to MAX8997 PMIC on exynos4210-trats
    ARM: dts: exynos: Fix regulator name to avoid forbidden character on exynos4210-trats
    ARM: dts: exynos: Add MFC memory banks for Peach boards
    ARM: OMAP2+: n900 needs MMC slot names for legacy user space
    ARM: OMAP2+: Add more functions to pwm pdata for ir-rx51
    ARM: debug: remove extraneous DEBUG_HI3716_UART option
    ARM: OMAP2+: Simplify auxdata by using the generic match
    of/platform: Allow secondary compatible match in of_dev_lookup
    ARM: davinci: use IRQCHIP_DECLARE for cp_intc
    ARM: davinci: remove unused DA8XX_NUM_UARTS
    ARM: davinci: simplify call to of populate
    ARM: DaVinci USB: removed deprecated properties from MUSB config
    ARM: rockchip: Fix use of plain integer as NULL pointer
    ARM: realview: hide unused 'pmu_device' object
    soc: versatile: dynamically detect RealView HBI numbers

    Linus Torvalds
     

25 Apr, 2016

1 commit

  • This patch add rockchip's compatible string to the compat list and
    remove similar code from platform code for supporting generic platdev
    driver.

    Signed-off-by: Finley Xiao
    Acked-by: Arnd Bergmann
    Signed-off-by: Viresh Kumar
    Reviewed-by: Heiko Stuebner
    Signed-off-by: Rafael J. Wysocki

    Finley Xiao
     

12 Apr, 2016

1 commit


23 Dec, 2015

1 commit

  • Merge in cleanup to avoid internal conflicts with newly added code.

    * treewide/cleanup:
    ARM: use "depends on" for SoC configs instead of "if" after prompt
    ARM/clocksource: use automatic DT probing for ux500 PRCMU
    ARM: use const and __initconst for smp_operations
    ARM: hisi: do not export smp_operations structures

    Signed-off-by: Olof Johansson

    Olof Johansson
     

17 Dec, 2015

2 commits


02 Dec, 2015

2 commits

  • Many ARM sub-architectures use prompts followed by "if" conditional,
    but it is wrong.

    Please notice the difference between

    config ARCH_FOO
    bool "Foo SoCs" if ARCH_MULTI_V7

    and

    config ARCH_FOO
    bool "Foo SoCs"
    depends on ARCH_MULTI_V7

    These two are *not* equivalent!

    In the former statement, it is not ARCH_FOO, but its prompt that
    depends on ARCH_MULTI_V7. So, it is completely valid that ARCH_FOO
    is selected by another, but ARCH_MULTI_V7 is still disabled. As it is
    not unmet dependency, Kconfig never warns. This is probably not what
    you want.

    The former should be used only when you need to do so, and you really
    understand what you are doing. (In most cases, it should be wrong!)

    For enabling/disabling sub-architectures, the latter is always correct.

    As a good side effect, this commit fixes some entries over 80 columns
    (mach-imx, mach-integrator, mach-mbevu).

    [Arnd: I note that there is not really a bug here, according to
    the discussion that followed, but I can see value in being consistent
    and in making the lines shorter]

    Signed-off-by: Masahiro Yamada
    Acked-by: Maxime Ripard
    Acked-by: Nicolas Ferre
    Acked-by: Heiko Stuebner
    Acked-by: Patrice Chotard
    Acked-by: Liviu Dudau
    Acked-by: Krzysztof Kozlowski
    Acked-by: Jun Nie
    Acked-by: Matthias Brugger
    Acked-by: Simon Horman
    Acked-by: Gregory CLEMENT
    Acked-by: Shawn Guo
    Acked-by: Sebastian Hesselbarth
    Acked-by: Thierry Reding
    Acked-by: Krzysztof Halasa
    Acked-by: Maxime Coquelin
    Signed-off-by: Arnd Bergmann

    Masahiro Yamada
     
  • These smp_operations structures are not over-written, so add "const"
    qualifier and replace __initdata with __initconst.

    Also, add "static" where it is possible.

    Signed-off-by: Masahiro Yamada
    Acked-by: Krzysztof Kozlowski
    Acked-by: Maxime Ripard
    Acked-by: Moritz Fischer
    Acked-by: Stephen Boyd # qcom part
    Acked-by: Viresh Kumar
    Acked-by: Patrice Chotard
    Acked-by: Heiko Stuebner
    Acked-by: Wei Xu
    Acked-by: Florian Fainelli
    Acked-by: Sebastian Hesselbarth
    Acked-by: Gregory CLEMENT
    Acked-by: Shawn Guo
    Acked-by: Matthias Brugger
    Acked-by: Thierry Reding
    Acked-by: Nicolas Pitre
    Acked-by: Liviu Dudau
    Acked-by: Linus Walleij
    Signed-off-by: Arnd Bergmann

    Masahiro Yamada
     

19 Nov, 2015

1 commit

  • The dual-core Cortex A7 rk3036 is a bit special in that it does not allow
    to control the actual powerdomain of the cpu cores, while the rest of the
    smp-bringup like reset control and entry address handling stays the same.
    Its bigger sibling, the quad-core rk3128 again allows powerdomain control.

    So allow that case by introducing a separate smp-enable-method, that simply
    disables powerdomain handling in the common code.

    Signed-off-by: Heiko Stuebner
    Tested-by: Xing Zheng
    Acked-by: Rob Herring

    Heiko Stuebner