03 Apr, 2019

2 commits


07 May, 2018

1 commit


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
     

13 Sep, 2016

1 commit


30 Apr, 2016

1 commit


08 Feb, 2016

2 commits


18 Dec, 2015

2 commits


29 Oct, 2015

1 commit

  • PM domains shouldn't be modified after a device is probed, so set it
    before device registration to be sure of that.

    In the future the PM domain pointer will be set through a setter that
    will WARN if the device has been probed already.

    Signed-off-by: Tomeu Vizoso
    Tested-by: Geert Uytterhoeven
    Signed-off-by: Greg Kroah-Hartman

    Tomeu Vizoso
     

09 Sep, 2015

1 commit


07 Jul, 2015

1 commit

  • Building allmodconfig for arch/cris currently fails with:

    drivers/built-in.o: In function `board_staging_register_clock':
    drivers/staging/board/board.c:131: undefined reference to `clk_add_alias'
    make: *** [vmlinux] Error 1

    The clk_add_alias lives in drivers/clk/clkdev.c and that file
    is only compiled for CONFIG_CLKDEV_LOOKUP, so it would seem
    we need to add a dependency on that.

    Geert also reported seeing this in his build coverage:

    There seems to be another missing dependency on OF_IRQ:

    drivers/built-in.o: In function `board_staging_gic_fixup_resources':
    (.init.text+0x21c2): undefined reference to `irq_create_of_mapping'

    so we might as well fix that at the same time since it is
    on the same line.

    Cc: Magnus Damm
    Cc: Simon Horman
    Cc: Geert Uytterhoeven
    Acked-by: Geert Uytterhoeven
    Signed-off-by: Paul Gortmaker
    Signed-off-by: Chen Gang
    Cc: Stephen Rothwell
    Signed-off-by: Greg Kroah-Hartman

    Paul Gortmaker
     

18 Jun, 2015

6 commits

  • Add staging board support for the r8a7740-based armadillo800eva board
    and add platform devices to allow in-tree continuous development of the
    drivers on the armadillo800eva board.

    When DT bindings are ready for theses drivers then the platform devices
    in the armadillo800eva staging board code can easily be removed. Until
    then we use platform devices to continuously improve the driver and
    integrate code.

    Added platform devices:
    - sh_mobile_lcdc_fb for the on-board LCD.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Simon Horman
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     
  • Add support for easy registering of one ore more platform devices that
    may:
    - need clocks that are described in DT,
    - be part of a PM Domain.

    All these dependencies are optional.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Simon Horman
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     
  • As of commit 9a1091ef0017c40a ("irqchip: gic: Support hierarchy irq
    domain."), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ
    numbers in platform device resources.

    Translate the hardware IRQ numbers to virtual IRQ numbers to fix this.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Simon Horman
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     
  • As of commit 9a1091ef0017c40a ("irqchip: gic: Support hierarchy irq
    domain."), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ
    numbers in platform device resources.

    Add support for translating hardware IRQ numbers to virtual IRQ numbers,
    and fixing up platform device resources with hardcoded IRQ numbers.

    Add a copyright header, including the original author.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Simon Horman
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     
  • Currently the staging board code is initialized from a late_initcall().
    However, unused PM domains are also disabled from a late_initcall(),
    which happens before due to link order.

    Change the initialization of staging board code from using
    late_initcall() to device_initcall() to fix this.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Simon Horman
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     
  • This reverts commit d13778d537a0ed6115d2a79a942af999cfb8eec6.

    Commit 13c11072536f2613 ("staging:board: remove unnecessary function")
    fixed the build of drivers/staging/board/board.c.

    Signed-off-by: Geert Uytterhoeven
    Reviewed-by: Simon Horman
    Acked-by: Simon Horman
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     

20 Feb, 2015

1 commit

  • Pull kconfig updates from Michal Marek:
    "Yann E Morin was supposed to take over kconfig maintainership, but
    this hasn't happened. So I'm sending a few kconfig patches that I
    collected:

    - Fix for missing va_end in kconfig
    - merge_config.sh displays used if given too few arguments
    - s/boolean/bool/ in Kconfig files for consistency, with the plan to
    only support bool in the future"

    * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
    kconfig: use va_end to match corresponding va_start
    merge_config.sh: Display usage if given too few arguments
    kconfig: use bool instead of boolean for type definition attributes

    Linus Torvalds
     

18 Jan, 2015

1 commit


07 Jan, 2015

1 commit


11 Jul, 2014

1 commit


20 Jun, 2014

2 commits

  • Add staging board support for the KZM9D board and add
    an emxx_udc platform device to allow in-tree continous
    development of the driver on the KZM9D board.

    When DT bindings are ready for the emxx_udc driver then
    the platform device in the KZM9D staging board code can
    easily be removed. Until then we use platform devices
    to continously improve the driver and integration code.

    Signed-off-by: Magnus Damm
    Acked-by: Simon Horman
    Signed-off-by: Greg Kroah-Hartman

    Magnus Damm
     
  • Add staging board base support to allow continuous upstream
    in-tree development and integration of platform devices.

    Helps developers integrate devices as platform devices for
    device drivers that only provide platform device bindings.
    This in turn allows for incremental development of both
    hardware feature support and DT binding work in parallel.

    Two separate pieces of board staging functionality is
    provided to ease per-board staging board support:
    - The board_staging() macro allows easy per-board callbacks
    - The board_staging_dt_node_available() provides DT node checking

    Tested on the KZM9D board with the emxx_udc staging driver.

    Signed-off-by: Magnus Damm
    Acked-by: Simon Horman
    Signed-off-by: Greg Kroah-Hartman

    Magnus Damm