1. Dec 11, 2020
    • Linus Torvalds's avatar
      Merge tag 'media/v5.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 40201575
      Linus Torvalds authored
      Pull media fixes from Mauro Carvalho Chehab:
       "A couple of fixes:
      
         - videobuf2: fix a DMABUF bug, preventing it to properly handle cache
           sync/flush
      
         - vidtv: an usage after free and a few sparse/smatch warning fixes
      
         - pulse8-cec: a duplicate free and a bug related to new firmware
           usage
      
         - mtk-cir: fix a regression on a clock setting"
      
      * tag 'media/v5.10-4' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        media: vidtv: fix some warnings
        media: vidtv: fix kernel-doc markups
        media: [next] media: vidtv: fix a read from an object after it has been freed
        media: vb2: set cache sync hints when init buffers
        media: pulse8-cec: add support for FW v10 and up
        media: pulse8-cec: fix duplicate free at disconnect or probe error
        media: mtk-cir: fix calculation of chk period
      40201575
  2. Dec 10, 2020
    • Linus Torvalds's avatar
      Merge tag 'arm-soc-fixes-v5.10-4b' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · a2f5ea9e
      Linus Torvalds authored
      Pull ARM SoC fixes from Arnd Bergmann:
       "There are a few more PHY mode changes for allwinner SoC based boards
        with a Realtek PHY after the driver changed its behavior, I assume
        there will be more of these in the future. Also on for Allwinner, the
        Banana Pi M2 board had a regression that led to some devices not
        working because of a slightly incorrect voltage being applied.
      
        By popular demand, I picked up a change from Krzysztof Kozlowski to
        actually list the SoC tree in the MAINTAINERS file. We don't want to
        get Cc'd on normal patches that are picked up by platform maintainers,
        but the lack of an entry has led to confusion in the past.
      
        All the other changes are fairly benign, fixing boot-time or
        compile-time warning messages in various places:
      
         - A dtc warning on the OLPC XO-1.75
      
         - A boot-time warning on i.MX6 wandboard
      
         - A harmless compile-time warning
      
         - A regression causing one of the i.MX6 SoCs to be identified as
           another
      
         - Missing SoC identification of Allwinner V3 and S3"
      
      * tag 'arm-soc-fixes-v5.10-4b' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        firmware: xilinx: Mark pm_api_features_map with static keyword
        ARM: dts: mmp2-olpc-xo-1-75: clear the warnings when make dtbs
        MAINTAINERS: add a limited ARM and ARM64 SoC entry
        MAINTAINERS: correct SoC Git address (formerly: arm-soc)
        ARM: keystone: remove SECTION_SIZE_BITS/MAX_PHYSMEM_BITS
        arm64: dts: allwinner: H5: NanoPi Neo Plus2: phy-mode rgmii-id
        arm64: dts: allwinner: A64 Sopine: phy-mode rgmii-id
        ARM: dts: imx6qdl-kontron-samx6i: fix I2C_PM scl pin
        ARM: dts: imx6qdl-wandboard-revd1: Remove PAD_GPIO_6 from enetgrp
        ARM: imx: Use correct SRC base address
        ARM: dts: sun7i: pcduino3-nano: enable RGMII RX/TX delay on PHY
        ARM: dts: sun8i: v3s: fix GIC node memory range
        ARM: dts: sun8i: v40: bananapi-m2-berry: Fix ethernet node
        ARM: dts: sun8i: r40: bananapi-m2-berry: Fix dcdc1 regulator
        ARM: dts: sun7i: bananapi: Enable RGMII RX/TX delay on Ethernet PHY
        ARM: dts: s3: pinecube: align compatible property to other S3 boards
        ARM: sunxi: Add machine match for the Allwinner V3 SoC
        arm64: dts: allwinner: h6: orangepi-one-plus: Fix ethernet
      a2f5ea9e
    • Zou Wei's avatar
      firmware: xilinx: Mark pm_api_features_map with static keyword · 69fe24d1
      Zou Wei authored
      
      
      Fix the following sparse warning:
      
      drivers/firmware/xilinx/zynqmp.c:32:1: warning: symbol 'pm_api_features_map' was not declared. Should it be static?
      
      Signed-off-by: default avatarZou Wei <zou_wei@huawei.com>
      Link: https://lore.kernel.org/r/1606823513-121578-1-git-send-email-zou_wei@huawei.com
      
      
      Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      69fe24d1
    • Zhen Lei's avatar
      ARM: dts: mmp2-olpc-xo-1-75: clear the warnings when make dtbs · 387270cb
      Zhen Lei authored
      
      
      The check_spi_bus_bridge() in scripts/dtc/checks.c requires that the node
      have "spi-slave" property must with "#address-cells = <0>" and
      "#size-cells = <0>". But currently both "#address-cells" and "#size-cells"
      properties are deleted, the corresponding default values are 2 and 1. As a
      result, the check fails and below warnings is displayed.
      
      arch/arm/boot/dts/mmp2.dtsi:472.23-480.6: Warning (spi_bus_bridge): \
      /soc/apb@d4000000/spi@d4037000: incorrect #address-cells for SPI bus
        also defined at arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:225.7-237.3
      arch/arm/boot/dts/mmp2.dtsi:472.23-480.6: Warning (spi_bus_bridge): \
      /soc/apb@d4000000/spi@d4037000: incorrect #size-cells for SPI bus
        also defined at arch/arm/boot/dts/mmp2-olpc-xo-1-75.dts:225.7-237.3
      arch/arm/boot/dts/mmp2-olpc-xo-1-75.dtb: Warning (spi_bus_reg): \
      Failed prerequisite 'spi_bus_bridge'
      
      Because the value of "#size-cells" is already defined as zero in the node
      "ssp3: spi@d4037000" in arch/arm/boot/dts/mmp2.dtsi. So we only need to
      explicitly add "#address-cells = <0>" and keep "#size-cells" no change.
      
      Signed-off-by: default avatarZhen Lei <thunder.leizhen@huawei.com>
      Link: https://lore.kernel.org/r/20201207084752.1665-2-thunder.leizhen@huawei.com
      
      '
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      387270cb
    • Linus Torvalds's avatar
      Merge tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux · ca4bbdaf
      Linus Torvalds authored
      Pull iommu fix from Will Deacon:
       "Fix interrupt table length definition for AMD IOMMU.
      
        It's actually a fix for a fix, where the size of the interrupt
        remapping table was increased but a related constant for the
        size of the interrupt table was forgotten"
      
      * tag 'iommu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux:
        iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs
      ca4bbdaf
  3. Dec 09, 2020
  4. Dec 08, 2020
    • Mauro Carvalho Chehab's avatar
      media: vidtv: fix some warnings · 3d1387b3
      Mauro Carvalho Chehab authored
      
      
      As reported by sparse:
      
      	drivers/media/test-drivers/vidtv/vidtv_ts.h:47:47: warning: array of flexible structures
      	drivers/media/test-drivers/vidtv/vidtv_channel.c:458:54: warning: incorrect type in argument 3 (different base types)
      	drivers/media/test-drivers/vidtv/vidtv_channel.c:458:54:    expected unsigned short [usertype] service_id
      	drivers/media/test-drivers/vidtv/vidtv_channel.c:458:54:    got restricted __be16 [usertype] service_id
      	drivers/media/test-drivers/vidtv/vidtv_s302m.c:471 vidtv_s302m_encoder_init() warn: possible memory leak of 'e'
      
      Address such warnings.
      
      Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
      3d1387b3
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · cd796ed3
      Linus Torvalds authored
      Pull tracing fix from Steven Rostedt:
       "Fix userstacktrace option for instances
      
        While writing an application that requires user stack trace option to
        work in instances, I found that the instance option has a bug that
        makes it a nop. The check for performing the user stack trace in an
        instance, checks the top level options (not the instance options) to
        determine if a user stack trace should be performed or not.
      
        This is not only incorrect, but also confusing for users. It confused
        me for a bit!"
      
      * tag 'trace-v5.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Fix userstacktrace option for instances
      cd796ed3
  5. Dec 07, 2020