1. 26 12月, 2017 8 次提交
  2. 07 12月, 2017 1 次提交
  3. 06 12月, 2017 2 次提交
  4. 03 12月, 2017 1 次提交
  5. 01 12月, 2017 2 次提交
  6. 29 11月, 2017 5 次提交
  7. 28 11月, 2017 4 次提交
    • A
      ARM: dts: logicpd-som-lv: Fix gpmc addresses for NAND and enet · 3c18bbf3
      Adam Ford 提交于
      This patch fixes and issue where the NAND and GPMC based ethernet
      controller stopped working.  This also updates the GPMC settings
      to be consistent with the Logic PD Torpedo development from the
      commit listed above.
      
      Fixes: 44e47164 ("ARM: dts: omap3: Fix NAND device nodes")
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      3c18bbf3
    • T
      ARM: dts: Fix omap4 hang with GPS connected to USB by using wakeupgen · cf87634c
      Tony Lindgren 提交于
      There's been a reproducable USB OHCI/EHCI cpuidle related hang on omap4
      for a while that happens after about 20 - 40 minutes on an idle system
      with some data feeding device being connected, like a USB GPS device or
      a cellular modem.
      
      This issue happens in cpuidle states C2 and C3 and does not happen if
      cpuidle is limited to C1 state only. The symptoms are that the whole
      system hangs and never wakes up from idle, and if a watchdog is
      configured the system reboots after a while.
      
      Turns out that OHCI/EHCI devices on omap4 are trying to use the GIC
      interrupt controller directly as a parent instead of the WUGEN. We
      need to pass the interrupts through WUGEN to GIC to provide the wakeup
      events for the processor.
      
      Let's fix the issue by removing the gic interrupt-parent and use the
      default interrupt-parent wakeupgen instead. Note that omap5.dtsi had
      this already fixes earlier by commit 7136d457 ("ARM: omap: convert
      wakeupgen to stacked domains") but we somehow missed omap4 at that
      point.
      
      Fixes: 7136d457 ("ARM: omap: convert wakeupgen to stacked domains")
      Cc: Dave Gerlach <d-gerlach@ti.com>
      Cc: Nishanth Menon <nm@ti.com>
      Cc: Marc Zyngier <marc.zyngier@arm.com>
      Cc: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
      Reviewed-by: NRoger Quadros <rogerq@ti.com>
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      cf87634c
    • F
      ARM: dts: NSP: Fix PPI interrupt types · 5f1aa51c
      Florian Fainelli 提交于
      Booting a kernel results in the kernel warning us about the following
      PPI interrupts configuration:
      [    0.105127] smp: Bringing up secondary CPUs ...
      [    0.110545] GIC: PPI11 is secure or misconfigured
      [    0.110551] GIC: PPI13 is secure or misconfigured
      
      Fix this by using the appropriate edge configuration for PPI11 and
      PPI13, this is similar to what was fixed for Northstar (BCM5301X) in
      commit 0e34079c ("ARM: dts: BCM5301X: Correct GIC_PPI interrupt
      flags").
      
      Fixes: 7b2e987d ("ARM: NSP: add minimal Northstar Plus device tree")
      Fixes: 1a9d53ca ("ARM: dts: NSP: Add TWD Support to DT")
      Acked-by: NJon Mason <jon.mason@broadcom.com>
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      5f1aa51c
    • F
      ARM: dts: NSP: Disable AHCI controller for HR NSP boards · 77416ab3
      Florian Fainelli 提交于
      The AHCI controller is currently enabled for all of these boards:
      bcm958623hr and bcm958625hr would result in a hard hang on boot that we
      cannot get rid of. Since this does not appear to have an easy and simple
      fix, just disable the AHCI controller for now until this gets resolved.
      
      Fixes: 70725d6e ("ARM: dts: NSP: Enable SATA on bcm958625hr")
      Fixes: d454c376 ("ARM: dts: NSP: Add new DT file for bcm958623hr")
      Acked-by: NJon Mason <jon.mason@broadcom.com>
      Signed-off-by: NFlorian Fainelli <f.fainelli@gmail.com>
      77416ab3
  8. 20 11月, 2017 1 次提交
    • A
      ARM: dts: r8a779x: Add '#reset-cells' in cpg-mssr · 098f5305
      Arnd Bergmann 提交于
      With the latest dtc, we get many warnings about the missing
      '#reset-cells' property in these controllers, e.g.:
      
      arch/arm/boot/dts/r8a7790-lager.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller@e6150000 or bad phandle (referred from /can@e6e80000:resets[0])
      arch/arm/boot/dts/r8a7792-blanche.dtb: Warning (resets_property): Missing property '#reset-cells' in node /soc/clock-controller@e6150000 or bad phandle (referred from /soc/dma-controller@e6700000:resets[0])
      arch/arm/boot/dts/r8a7792-wheat.dtb: Warning (resets_property): Missing property '#reset-cells' in node /soc/clock-controller@e6150000 or bad phandle (referred from /soc/ethernet@e6800000:resets[0])
      arch/arm/boot/dts/r8a7793-gose.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller@e6150000 or bad phandle (referred from /gpio@e6050000:resets[0])
      arch/arm/boot/dts/r8a7794-alt.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller@e6150000 or bad phandle (referred from /i2c@e6500000:resets[0])
      arch/arm/boot/dts/r8a7794-silk.dtb: Warning (resets_property): Missing property '#reset-cells' in node /clock-controller@e6150000 or bad phandle (referred from /interrupt-controller@e61c0000:resets[0])
      
      This adds it for the three r8a779x chips that were lacking it. The
      binding mandates this as <1>, so this is the value I use.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      [geert: Add fix for r8a7793.dtsi]
      Fixes: 34fbd2b1 ("ARM: dts: r8a7790: Add reset control properties")
      Fixes: 6e11a322 ("ARM: dts: r8a7792: Add reset control properties")
      Fixes: 84fb19e1 ("ARM: dts: r8a7793: Add reset control properties")
      Fixes: 615beb75 ("ARM: dts: r8a7794: Add reset control properties")
      Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      098f5305
  9. 16 11月, 2017 1 次提交
  10. 11 11月, 2017 3 次提交
  11. 10 11月, 2017 1 次提交
    • M
      kbuild: handle dtb-y and CONFIG_OF_ALL_DTBS natively in Makefile.lib · 7e7962dd
      Masahiro Yamada 提交于
      If CONFIG_OF_ALL_DTBS is enabled, "make ARCH=arm64 dtbs" compiles each
      DTB twice; one from arch/arm64/boot/dts/*/Makefile and the other from
      the dtb-$(CONFIG_OF_ALL_DTBS) line in arch/arm64/boot/dts/Makefile.
      It could be a race problem when building DTBS in parallel.
      
      Another minor issue is CONFIG_OF_ALL_DTBS covers only *.dts in vendor
      sub-directories, so this broke when Broadcom added one more hierarchy
      in arch/arm64/boot/dts/broadcom/<soc>/.
      
      One idea to fix the issues in a clean way is to move DTB handling
      to Kbuild core scripts.  Makefile.dtbinst already recognizes dtb-y
      natively, so it should not hurt to do so.
      
      Add $(dtb-y) to extra-y, and $(dtb-) as well if CONFIG_OF_ALL_DTBS is
      enabled.  All clutter things in Makefiles go away.
      
      As a bonus clean-up, I also removed dts-dirs.  Just use subdir-y
      directly to traverse sub-directories.
      Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      [robh: corrected BUILTIN_DTB to CONFIG_BUILTIN_DTB]
      Signed-off-by: NRob Herring <robh@kernel.org>
      7e7962dd
  12. 09 11月, 2017 1 次提交
  13. 04 11月, 2017 3 次提交
  14. 03 11月, 2017 3 次提交
  15. 02 11月, 2017 4 次提交
    • G
      License cleanup: add SPDX GPL-2.0 license identifier to files with no license · b2441318
      Greg Kroah-Hartman 提交于
      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 <5
         lines).
      
      All documentation files were explicitly excluded.
      
      The following heuristics were used to determine which SPDX license
      identifiers to apply.
      
       - when both scanners couldn't find any license traces, file was
         considered to have no license information in it, and the top level
         COPYING file license applied.
      
         For non */uapi/* files that summary was:
      
         SPDX license identifier                            # files
         ---------------------------------------------------|-------
         GPL-2.0                                              11139
      
         and resulted in the first patch in this series.
      
         If that file was a */uapi/* path one, it was "GPL-2.0 WITH
         Linux-syscall-note" otherwise it was "GPL-2.0".  Results of that was:
      
         SPDX license identifier                            # files
         ---------------------------------------------------|-------
         GPL-2.0 WITH Linux-syscall-note                        930
      
         and resulted in the second patch in this series.
      
       - if a file had some form of licensing information in it, and was one
         of the */uapi/* ones, it was denoted with the Linux-syscall-note if
         any GPL family license was found in the file or had no licensing in
         it (per prior point).  Results summary:
      
         SPDX license identifier                            # files
         ---------------------------------------------------|------
         GPL-2.0 WITH Linux-syscall-note                       270
         GPL-2.0+ WITH Linux-syscall-note                      169
         ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause)    21
         ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)    17
         LGPL-2.1+ WITH Linux-syscall-note                      15
         GPL-1.0+ WITH Linux-syscall-note                       14
         ((GPL-2.0+ WITH Linux-syscall-note) OR BSD-3-Clause)    5
         LGPL-2.0+ WITH Linux-syscall-note                       4
         LGPL-2.1 WITH Linux-syscall-note                        3
         ((GPL-2.0 WITH Linux-syscall-note) OR MIT)              3
         ((GPL-2.0 WITH Linux-syscall-note) AND MIT)             1
      
         and that resulted in the third patch in this series.
      
       - when the two scanners agreed on the detected license(s), that became
         the concluded license(s).
      
       - when there was disagreement between the two scanners (one detected a
         license but the other didn't, or they both detected different
         licenses) a manual inspection of the file occurred.
      
       - In most cases a manual inspection of the information in the file
         resulted in a clear resolution of the license that should apply (and
         which scanner probably needed to revisit its heuristics).
      
       - When it was not immediately clear, the license identifier was
         confirmed with lawyers working with the Linux Foundation.
      
       - If there was any question as to the appropriate license identifier,
         the file was flagged for further research and to be revisited later
         in time.
      
      In total, over 70 hours of logged manual review was done on the
      spreadsheet to determine the SPDX license identifiers to apply to the
      source files by Kate, Philippe, Thomas and, in some cases, confirmation
      by lawyers working with the Linux Foundation.
      
      Kate also obtained a third independent scan of the 4.13 code base from
      FOSSology, and compared selected files where the other two scanners
      disagreed against that SPDX file, to see if there was new insights.  The
      Windriver scanner is based on an older version of FOSSology in part, so
      they are related.
      
      Thomas did random spot checks in about 500 files from the spreadsheets
      for the uapi headers and agreed with SPDX license identifier in the
      files he inspected. For the non-uapi files Thomas did random spot checks
      in about 15000 files.
      
      In initial set of patches against 4.14-rc6, 3 files were found to have
      copy/paste license identifier errors, and have been fixed to reflect the
      correct identifier.
      
      Additionally Philippe spent 10 hours this week doing a detailed manual
      inspection and review of the 12,461 patched files from the initial patch
      version early this week with:
       - a full scancode scan run, collecting the matched texts, detected
         license ids and scores
       - reviewing anything where there was a license detected (about 500+
         files) to ensure that the applied SPDX license was correct
       - reviewing anything where there was no detection but the patch license
         was not GPL-2.0 WITH Linux-syscall-note to ensure that the applied
         SPDX license was correct
      
      This produced a worksheet with 20 files needing minor correction.  This
      worksheet was then exported into 3 different .csv files for the
      different types of files to be modified.
      
      These .csv files were then reviewed by Greg.  Thomas wrote a script to
      parse the csv files and add the proper SPDX tag to the file, in the
      format that the file expected.  This script was further refined by Greg
      based on the output to detect more types of files automatically and to
      distinguish between header and source .c files (which need different
      comment types.)  Finally Greg ran the script using the .csv files to
      generate the patches.
      Reviewed-by: NKate Stewart <kstewart@linuxfoundation.org>
      Reviewed-by: NPhilippe Ombredanne <pombredanne@nexb.com>
      Reviewed-by: NThomas Gleixner <tglx@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b2441318
    • M
      ARM: dts: sun8i: a711: Enable USB OTG · f2f221c7
      Maxime Ripard 提交于
      The TBS A711 has a micro-USB connector that can be used in OTG mode. Enable
      it.
      Acked-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      f2f221c7
    • M
      ARM: dts: sun8i: a711: Add regulator support · 90c5d7cd
      Maxime Ripard 提交于
      The TBS A711 is using an AXP813 PMIC. Let's add all the regulators for that
      board, and migrate the current, dumb, regulators to the actual ones.
      Acked-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      90c5d7cd
    • C
      ARM: dts: sun8i: a83t: bananapi-m3: Enable AP6212 WiFi on mmc1 · 337cce7e
      Chen-Yu Tsai 提交于
      The WiFi side of the AP6212 WiFi/BT combo module is connected to
      mmc1. There are also GPIOs for enable and interrupts. An external
      clock from the AC100 RTC is also used.
      
      Enable WiFi on this board by enabling mmc1 and adding the power
      sequencing clocks and GPIO, as well as the chip's interrupt line.
      Signed-off-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      337cce7e