19 Jun, 2019

1 commit

  • Based on 2 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 version 2 as
    published by the free software foundation

    this program is free software you can redistribute it and or modify
    it under the terms of the gnu general public license version 2 as
    published by the free software foundation #

    extracted by the scancode license scanner the SPDX license identifier

    GPL-2.0-only

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

    Signed-off-by: Thomas Gleixner
    Reviewed-by: Enrico Weigelt
    Reviewed-by: Kate Stewart
    Reviewed-by: Allison Randal
    Cc: linux-spdx@vger.kernel.org
    Link: https://lkml.kernel.org/r/20190604081206.933168790@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
     

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
     

02 Nov, 2017

1 commit

  • Many source files in the tree are missing licensing information, which
    makes it harder for compliance tools to determine the correct license.

    By default all files without license information are under the default
    license of the kernel, which is GPL version 2.

    Update the files which contain no license information with the 'GPL-2.0'
    SPDX license identifier. The SPDX identifier is a legally binding
    shorthand, which can be used instead of the full boiler plate text.

    This patch is based on work done by Thomas Gleixner and Kate Stewart and
    Philippe Ombredanne.

    How this work was done:

    Patches were generated and checked against linux-4.14-rc6 for a subset of
    the use cases:
    - file had no licensing information it it.
    - file was a */uapi/* one with no licensing information in it,
    - file was a */uapi/* one with existing licensing information,

    Further patches will be generated in subsequent months to fix up cases
    where non-standard license headers were used, and references to license
    had to be inferred by heuristics based on keywords.

    The analysis to determine which SPDX License Identifier to be applied to
    a file was done in a spreadsheet of side by side results from of the
    output of two independent scanners (ScanCode & Windriver) producing SPDX
    tag:value files created by Philippe Ombredanne. Philippe prepared the
    base worksheet, and did an initial spot review of a few 1000 files.

    The 4.13 kernel was the starting point of the analysis with 60,537 files
    assessed. Kate Stewart did a file by file comparison of the scanner
    results in the spreadsheet to determine which SPDX license identifier(s)
    to be applied to the file. She confirmed any determination that was not
    immediately clear with lawyers working with the Linux Foundation.

    Criteria used to select files for SPDX license identifier tagging was:
    - Files considered eligible had to be source code files.
    - Make and config files were included as candidates if they contained >5
    lines of source
    - File already had some variant of a license header in it (even if
    Reviewed-by: Philippe Ombredanne
    Reviewed-by: Thomas Gleixner
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

28 Feb, 2017

1 commit


22 Sep, 2016

2 commits

  • PCI_DOMAINS config should be selected for any SoCs
    having more than a single PCIe controller. Without PCI_DOMAINS
    config, only one PCIe controller gets registered.

    Select PCI_DOMAINS in ARCH_MULTIPLATFORM if PCI is selected, since
    it doesn't harm even if a platform has a single PCIe port.
    Also remove PCI_DOMAINS being selected from other platform
    specific configs.

    Signed-off-by: Kishon Vijay Abraham I
    Acked-by: Krzysztof Kozlowski
    Signed-off-by: Arnd Bergmann

    Kishon Vijay Abraham I
     
  • *MIGHT_HAVE_PCI* config is already selected in ARCH_MULTIPLATFORM.
    Don't select it redundantly in all ARCH_MULTIPLATFORM based machines.

    Signed-off-by: Kishon Vijay Abraham I
    Acked-by: Alexandre Belloni
    Acked-by: Krzysztof Kozlowski
    Signed-off-by: Arnd Bergmann

    Kishon Vijay Abraham I
     

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

24 May, 2014

1 commit

  • The AXM55xx family consists of devices that may contain up to 16 ARM Cortex-A15
    cores (in a 4x4 cluster configuration). The cores within each cluster share an
    L2 cache, and the clusters are connected to each other via a CCN-504 cache
    coherent interconnect.

    This machine requires CONFIG_ARM_LPAE enabled as all peripherals are located
    above 4GB in the memory map.

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

    Anders Berg