1. 15 Oct, 2021 6 commits
  2. 05 Oct, 2021 8 commits
  3. 04 Oct, 2021 11 commits
  4. 22 Sep, 2021 9 commits
    • Kuldeep Singh's avatar
      arm64: dts: ls1012a: Add serial alias for ls1012a-rdb · 7f31ae6e
      Kuldeep Singh authored
      U-boot atempts to read serial alias value for ls1012a-rdb but couldn't
      do so as it is not initialised and thus, FDT_ERR_NOTFOUND error is
      reported while booting linux.
      
      Loading fdt from FIT Image at a0000000 ...
         Description:  ls1012ardb-dtb
           Type:         Flat Device Tree
           Data Start:   0xab111474
           Data Size:    11285 Bytes = 11 KiB
           Architecture: AArch64
           Load Address: 0x90000000
         Loading fdt from 0xab111474 to 0x90000000
         Booting using the fdt blob at 0x90000000
         Uncompressing Kernel Image
         Loading Device Tree to 000000008fffa000, end 000000008ffffc14 ... OK
      WARNING: fdt_fixup_stdout: could not read serial0 alias: FDT_ERR_NOTFOUND
      NOTICE:  RNG: INSTANTIATED
      
      Starting kernel ...
      
      Fix the above error by specifying serial value to duart.
      Signed-off-by: default avatarKuldeep Singh <kuldeep.singh@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      7f31ae6e
    • Kuldeep Singh's avatar
      arm64: dts: imx8mp: Reorder flexspi clock-names entry · d7cd7446
      Kuldeep Singh authored
      Reorder flexspi clock-names entry to make it compliant with bindings.
      Signed-off-by: default avatarKuldeep Singh <kuldeep.singh@nxp.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      d7cd7446
    • Richard Zhu's avatar
      arm64: dts: imx8mq: fix the schema check errors · c179ee1e
      Richard Zhu authored
      No functional changes, but the ranges should be grouped by region.
      Otherwise, schema dtbs_check would report the following errors.
      
      "/linux-imx/arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: pcie@33800000: ranges: 'oneOf' conditional failed, one must be fixed:
              /linux-imx/arch/arm64/boot/dts/freescale/imx8mq-evk.dt.yaml: pcie@33800000: ranges: 'oneOf' conditional failed, one must be fixed:
                      [[2164260864, 0, 0, 536346624, 0, 65536, 2181038080, 0, 402653184, 402653184, 0, 133169152]] is not of type 'boolean'
                      True was expected
                      [[2164260864, 0, 0, 536346624, 0, 65536, 2181038080, 0, 402653184, 402653184, 0, 133169152]] is not of type 'null'
              [2164260864, 0, 0, 536346624, 0, 65536, 2181038080, 0, 402653184, 402653184, 0, 133169152] is too long
              From schema: //linux-imx/Documentation/devicetree/bindings/pci/fsl,imx6q-pcie.yaml"
      
      Refer to commit 281f1f99 ("PCI: dwc: Detect number of iATU windows").
      The num-viewport is not required anymore, remove them totally.
      Signed-off-by: default avatarRichard Zhu <hongxing.zhu@nxp.com>
      Reviewed-by: default avatarLucas Stach <l.stach@pengutronix.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      c179ee1e
    • Michael Walle's avatar
      arm64: dts: freescale: fix arm,sp805 compatible string · 99a7cacc
      Michael Walle authored
      According to Documentation/devicetree/bindings/watchdog/arm,sp805.yaml
      the compatible is:
        compatible = "arm,sp805", "arm,primecell";
      
      The current compatible string doesn't exist at all. Fix it.
      Signed-off-by: default avatarMichael Walle <michael@walle.cc>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      99a7cacc
    • Lucas Stach's avatar
      arm64: dts: zii-ultra: add PCIe PHY supply · 628550e2
      Lucas Stach authored
      The ZII Ultra board uses the same design as the EVK board supplying
      PCIE_VPH with 3.3V. Add this connection to the DT to allow the PCIe
      driver to enable the internal PHY regulator, as required by the
      reference manual.
      Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      628550e2
    • Lucas Stach's avatar
      arm64: dts: imx8mq-reform2: add uSDHC2 CD pinctrl · c4ce6e6c
      Lucas Stach authored
      The SD card slot on the Reform 2 uses the card detect pad routed to
      the uSDHC2 module as intended. This is currently working as it is the
      default mux setting for this pad, but better be explicit and add it
      to the pinctrl node.
      Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      c4ce6e6c
    • Krzysztof Kozlowski's avatar
      arm64: dts: freescale: imx8mq-librem5: align operating-points table name with dtschema · 91db1670
      Krzysztof Kozlowski authored
      Align the name of operating-points node to dtschema to fix warnings like:
      
        ddrc-opp-table: $nodename:0: 'ddrc-opp-table' does not match '^opp-table(-[a-z0-9]+)?$'
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      91db1670
    • Fabio Estevam's avatar
      arm64: dts: imx8mm-venice: Fix the SPI chipselect polarity · c6fe862a
      Fabio Estevam authored
      The conversion of the spi-imx driver to use GPIO descriptors
      in commit 8cdcd8ae ("spi: imx/fsl-lpspi: Convert to GPIO descriptors")
      helped to detect the following SPI chipselect polarity mismatch on an
      imx6q-sabresd for example:
      
      [    4.854337] m25p80@0 enforce active low on chipselect handle
      
      Prior to the above commit, the chipselect polarity passed via cs-gpios
      property was ignored and considered active-low.
      
      The reason for such mismatch is clearly explained in the comments inside
      drivers/gpio/gpiolib-of.c:
      
      * SPI children have active low chip selects
      * by default. This can be specified negatively
      * by just omitting "spi-cs-high" in the
      * device node, or actively by tagging on
      * GPIO_ACTIVE_LOW as flag in the device
      * tree. If the line is simultaneously
      * tagged as active low in the device tree
      * and has the "spi-cs-high" set, we get a
      * conflict and the "spi-cs-high" flag will
      * take precedence.
      
      To properly represent the SPI chipselect polarity, change it to active-low
      when the "spi-cs-high" property is absent.
      Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
      Reviewed-By: default avatarTim Harvey <tharvey@gateworks.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      c6fe862a
    • Fabio Estevam's avatar
      arm64: dts: imx8mm-kontron-n801x-som: Fix the SPI chipselect polarity · bdd166be
      Fabio Estevam authored
      The conversion of the spi-imx driver to use GPIO descriptors
      in commit 8cdcd8ae ("spi: imx/fsl-lpspi: Convert to GPIO descriptors")
      helped to detect the following SPI chipselect polarity mismatch on an
      imx6q-sabresd for example:
      
      [    4.854337] m25p80@0 enforce active low on chipselect handle
      
      Prior to the above commit, the chipselect polarity passed via cs-gpios
      property was ignored and considered active-low.
      
      The reason for such mismatch is clearly explained in the comments inside
      drivers/gpio/gpiolib-of.c:
      
      * SPI children have active low chip selects
      * by default. This can be specified negatively
      * by just omitting "spi-cs-high" in the
      * device node, or actively by tagging on
      * GPIO_ACTIVE_LOW as flag in the device
      * tree. If the line is simultaneously
      * tagged as active low in the device tree
      * and has the "spi-cs-high" set, we get a
      * conflict and the "spi-cs-high" flag will
      * take precedence.
      
      To properly represent the SPI chipselect polarity, change it to active-low
      when the "spi-cs-high" property is absent.
      Signed-off-by: default avatarFabio Estevam <festevam@gmail.com>
      Reviewed-by: default avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      bdd166be
  5. 12 Sep, 2021 6 commits
    • Linus Torvalds's avatar
      Linux 5.15-rc1 · 6880fa6c
      Linus Torvalds authored
      6880fa6c
    • Linus Torvalds's avatar
      Merge tag 'perf-tools-for-v5.15-2021-09-11' of... · b5b65f13
      Linus Torvalds authored
      Merge tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
      
      Pull more perf tools updates from Arnaldo Carvalho de Melo:
      
       - Add missing fields and remove some duplicate fields when printing a
         perf_event_attr.
      
       - Fix hybrid config terms list corruption.
      
       - Update kernel header copies, some resulted in new kernel features
         being automagically added to 'perf trace' syscall/tracepoint argument
         id->string translators.
      
       - Add a file generated during the documentation build to .gitignore.
      
       - Add an option to build without libbfd, as some distros, like Debian
         consider its ABI unstable.
      
       - Add support to print a textual representation of IBS raw sample data
         in 'perf report'.
      
       - Fix bpf 'perf test' sample mismatch reporting
      
       - Fix passing arguments to stackcollapse report in a 'perf script'
         python script.
      
       - Allow build-id with trailing zeros.
      
       - Look for ImageBase in PE file to compute .text offset.
      
      * tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux: (25 commits)
        tools headers UAPI: Update tools's copy of drm.h headers
        tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
        tools headers UAPI: Sync linux/fs.h with the kernel sources
        tools headers UAPI: Sync linux/in.h copy with the kernel sources
        perf tools: Add an option to build without libbfd
        perf tools: Allow build-id with trailing zeros
        perf tools: Fix hybrid config terms list corruption
        perf tools: Factor out copy_config_terms() and free_config_terms()
        perf tools: Fix perf_event_attr__fprintf() missing/dupl. fields
        perf tools: Ignore Documentation dependency file
        perf bpf: Provide a weak btf__load_from_kernel_by_id() for older libbpf versions
        tools include UAPI: Update linux/mount.h copy
        perf beauty: Cover more flags in the  move_mount syscall argument beautifier
        tools headers UAPI: Sync linux/prctl.h with the kernel sources
        tools include UAPI: Sync sound/asound.h copy with the kernel sources
        tools headers UAPI: Sync linux/kvm.h with the kernel sources
        tools headers UAPI: Sync x86's asm/kvm.h with the kernel sources
        perf report: Add support to print a textual representation of IBS raw sample data
        perf report: Add tools/arch/x86/include/asm/amd-ibs.h
        perf env: Add perf_env__cpuid, perf_env__{nr_}pmu_mappings
        ...
      b5b65f13
    • Linus Torvalds's avatar
      Merge tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://github.com/ojeda/linux · c3e46874
      Linus Torvalds authored
      Pull compiler attributes updates from Miguel Ojeda:
      
       - Fix __has_attribute(__no_sanitize_coverage__) for GCC 4 (Marco Elver)
      
       - Add Nick as Reviewer for compiler_attributes.h (Nick Desaulniers)
      
       - Move __compiletime_{error|warning} (Nick Desaulniers)
      
      * tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://github.com/ojeda/linux:
        compiler_attributes.h: move __compiletime_{error|warning}
        MAINTAINERS: add Nick as Reviewer for compiler_attributes.h
        Compiler Attributes: fix __has_attribute(__no_sanitize_coverage__) for GCC 4
      c3e46874
    • Linus Torvalds's avatar
      Merge tag 'auxdisplay-for-linus-v5.15-rc1' of git://github.com/ojeda/linux · d41adc4e
      Linus Torvalds authored
      Pull auxdisplay updates from Miguel Ojeda:
       "An assortment of improvements for auxdisplay:
      
         - Replace symbolic permissions with octal permissions (Jinchao Wang)
      
         - ks0108: Switch to use module_parport_driver() (Andy Shevchenko)
      
         - charlcd: Drop unneeded initializers and switch to C99 style (Andy
           Shevchenko)
      
         - hd44780: Fix oops on module unloading (Lars Poeschel)
      
         - Add I2C gpio expander example (Ralf Schlatterbeck)"
      
      * tag 'auxdisplay-for-linus-v5.15-rc1' of git://github.com/ojeda/linux:
        auxdisplay: Replace symbolic permissions with octal permissions
        auxdisplay: ks0108: Switch to use module_parport_driver()
        auxdisplay: charlcd: Drop unneeded initializers and switch to C99 style
        auxdisplay: hd44780: Fix oops on module unloading
        auxdisplay: Add I2C gpio expander example
      d41adc4e
    • Linus Torvalds's avatar
      Merge tag 'smp-urgent-2021-09-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · f306b90c
      Linus Torvalds authored
      Pull CPU hotplug updates from Thomas Gleixner:
       "Updates for the SMP and CPU hotplug:
      
         - Remove DEFINE_SMP_CALL_CACHE_FUNCTION() which is a left over of the
           original hotplug code and now causing trouble with the ARM64 cache
           topology setup due to the pointless SMP function call.
      
           It's not longer required as the hotplug callbacks are guaranteed to
           be invoked on the upcoming CPU.
      
         - Remove the deprecated and now unused CPU hotplug functions
      
         - Rewrite the CPU hotplug API documentation"
      
      * tag 'smp-urgent-2021-09-12' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        Documentation: core-api/cpuhotplug: Rewrite the API section
        cpu/hotplug: Remove deprecated CPU-hotplug functions.
        thermal: Replace deprecated CPU-hotplug functions.
        drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION()
      f306b90c
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.15-rc1-lkdtm' of... · d8e988b6
      Linus Torvalds authored
      Merge tag 'char-misc-5.15-rc1-lkdtm' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
      
      Pull misc driver fix from Greg KH:
       "Here is a single patch for 5.15-rc1, for the lkdtm misc driver.
      
        It resolves a build issue that many people were hitting with your
        current tree, and Kees and others felt would be good to get merged
        before -rc1 comes out, to prevent them from having to constantly hit
        it as many development trees restart on -rc1, not older -rc releases.
      
        It has NOT been in linux-next, but has passed 0-day testing and looks
        'obviously correct' when reviewing it locally :)"
      
      * tag 'char-misc-5.15-rc1-lkdtm' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        lkdtm: Use init_uts_ns.name instead of macros
      d8e988b6