1. 15 Oct, 2021 9 commits
  2. 05 Oct, 2021 16 commits
  3. 22 Sep, 2021 8 commits
    • Yunus Bas's avatar
      ARM: dts: imx6: phycore-som: Disable micro-SD write protection · d555a229
      Yunus Bas authored
      The micro-SD card doesn't feature a write-protect pin. Set the
      corresponding property in the devicetree to handle this behavior
      correctly and suppress driver warnings.
      Signed-off-by: default avatarYunus Bas <y.bas@phytec.de>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      d555a229
    • Richard Zhu's avatar
      ARM: dts: imx: fix the schema check errors · 63651ef2
      Richard Zhu authored
      - ranges property should be grouped by region, with no functional
        changes. Otherwise, schema dtbs_check would report the following errors.
      "linux-imx/arch/arm/boot/dts/imx6qp-vicutp.dt.yaml: pcie@1ffc000: ranges: 'oneOf' conditional failed, one must be fixed:
              linux-imx/arch/arm/boot/dts/imx6qp-vicutp.dt.yaml: pcie@1ffc000: ranges: 'oneOf' conditional failed, one must be fixed:
                      [[2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640]] is not of type 'boolean'
                      True was expected
                      [[2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640]] is not of type 'null'
              [2164260864, 0, 0, 33030144, 0, 65536, 2181038080, 0, 16777216, 16777216, 0, 15728640] 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.
      - dt_binding_check complains "compatible: ['fsl,imx6qp-pcie', 'snps,dw-pcie']
        is too long", remove "snps,dw-pcie" from the compatible string.
      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>
      63651ef2
    • Fabio Estevam's avatar
      ARM: dts: imx7d-sdb: Fix the SPI chipselect polarity · 6c418328
      Fabio Estevam authored
      The following warning is seen when the SPI GPIO driver probes:
      
      gpio-expander@0 enforce active low on chipselect handle
      
      The reason for this warning 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>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      6c418328
    • Fabio Estevam's avatar
      ARM: dts: imx6qdl-tqma6: Fix the SPI chipselect polarity · e40d0706
      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>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      e40d0706
    • Fabio Estevam's avatar
      ARM: dts: imx6qp-prtwd3: Fix the SPI chipselect polarity · 70b211dd
      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 avatarOleksij Rempel <o.rempel@pengutronix.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      70b211dd
    • Fabio Estevam's avatar
      ARM: dts: imx6dl-alti6p: Fix the SPI chipselect polarity · 97eb19d8
      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 avatarOleksij Rempel <o.rempel@pengutronix.de>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      97eb19d8
    • Michal Vokáč's avatar
      ARM: dts: imx6dl-yapp4: Remove the unused white LED channel · 417a9845
      Michal Vokáč authored
      Since the reg property was added to each channel node in commit
      b86d3d21 ("ARM: dts: imx6dl-yapp4: Add reg property to the lp5562
      channel node") it is possible to skip unused channels.
      
      Remove the actually unused white LED channel.
      Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      417a9845
    • Michal Vokáč's avatar
      ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe · 9b663b34
      Michal Vokáč authored
      Since the LED multicolor framework support was added in commit
      92a81562 ("leds: lp55xx: Add multicolor framework support to lp55xx")
      LEDs on this platform stopped working.
      
      Author of the framework attempted to accommodate this DT to the
      framework in commit b86d3d21 ("ARM: dts: imx6dl-yapp4: Add reg property
      to the lp5562 channel node") but that is not sufficient. A color property
      is now required even if the multicolor framework is not used, otherwise
      the driver probe fails:
      
        lp5562: probe of 1-0030 failed with error -22
      
      Add the color property to fix this.
      
      Fixes: 92a81562 ("leds: lp55xx: Add multicolor framework support to lp55xx")
      Cc: <stable@vger.kernel.org>
      Cc: linux-leds@vger.kernel.org
      Signed-off-by: default avatarMichal Vokáč <michal.vokac@ysoft.com>
      Acked-by: default avatarPavel Machek <pavel@ucw.cz>
      Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
      Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
      9b663b34
  4. 12 Sep, 2021 7 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
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.15-1' of git://github.com/cminyard/linux-ipmi · 1791596b
      Linus Torvalds authored
      Pull IPMI updates from Corey Minyard:
       "A couple of very minor fixes for style and rate limiting.
      
        Nothing big, but probably needs to go in"
      
      * tag 'for-linus-5.15-1' of git://github.com/cminyard/linux-ipmi:
        char: ipmi: use DEVICE_ATTR helper macro
        ipmi: rate limit ipmi smi_event failure message
      1791596b