Skip to content
  1. Jul 17, 2021
    • Stefan Wahren's avatar
      ARM: multi_v7_defconfig: Make NOP_USB_XCEIV driver built-in · ab37a7a8
      Stefan Wahren authored
      The usage of usb-nop-xceiv PHY on Raspberry Pi boards with BCM283x has
      been a "regression source" a lot of times. The last case is breakage of
      USB mass storage boot has been commit e5904747 ("driver core: Set
      fw_devlink=on by default") for multi_v7_defconfig. As long as
      NOP_USB_XCEIV is configured as module, the dwc2 USB driver defer probing
      endlessly and prevent booting from USB mass storage device. So make
      the driver built-in as in bcm2835_defconfig and arm64/defconfig.
      
      Fixes: e5904747
      
       ("driver core: Set fw_devlink=on by default")
      Reported-by: default avatarOjaswin Mujoo <ojaswin98@gmail.com>
      Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
      Link: https://lore.kernel.org/r/1625915095-23077-1-git-send-email-stefan.wahren@i2se.com'
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      ab37a7a8
    • Linus Walleij's avatar
      ARM: configs: Update u8500_defconfig · 042f2e10
      Linus Walleij authored
      The platform lost the framebuffer due to a commit solving a
      circular dependency in v5.14-rc1, so add it back in by explicitly
      selecting the framebuffer.
      
      The U8500 has also gained a few systems using touchscreens from
      Cypress, Melfas and Zinitix so add these at the same time as
      we're updating the defconfig anyway.
      
      Fixes: f611b1e7
      
       ("drm: Avoid circular dependencies for CONFIG_FB")
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Cc: phone-devel@vger.kernel.org
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Arnd Bergmann <arnd@kernel.org>
      Cc: Stephan Gerhold <stephan@gerhold.net>
      Cc: newbyte@disroot.org
      Link: https://lore.kernel.org/r/20210712085522.672482-1-linus.walleij@linaro.org'
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      042f2e10
    • Linus Walleij's avatar
      ARM: configs: Update Vexpress defconfig · 49e7757a
      Linus Walleij authored
      This updates the Versatile Express defconfig for the changes
      in the v5.14-rc1 kernel:
      
      - The Framebuffer CONFIG_FB needs to be explicitly selected
        or we don't get any framebuffer anymore. DRM has stopped to
        select FB because of circular dependency.
      - CONFIG_CMA options were moved around.
      - CONFIG_MODULES options were moved around.
      - CONFIG_CRYPTO_HW was moved around.
      
      Fixes: f611b1e7
      
       ("drm: Avoid circular dependencies for CONFIG_FB")
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Acked-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      Cc: Kees Cook <keescook@chromium.org>
      Cc: Sudeep Holla <sudeep.holla@arm.com>
      Link: https://lore.kernel.org/r/20210713133708.94397-1-linus.walleij@linaro.org'
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      49e7757a
    • Linus Walleij's avatar
      ARM: configs: Update Versatile defconfig · 850d8ec9
      Linus Walleij authored
      This updates the Versatile defconfig for the changes
      in the v5.14-rc1 kernel:
      
      - The Framebuffer CONFIG_FB needs to be explicitly selected
        or we don't get any framebuffer anymore. DRM has stopped to
        select FB because of circular dependency.
      - The CONFIG_FB_MODE_HELPERS are not needed when using DRM
        framebuffer emulation as DRM does.
      - The Acorn fonts are removed, the default framebuffer font
        works fine. I don't know why this was selected in the first
        place or how the Kconfig was altered so it was removed.
      
      Fixes: f611b1e7
      
       ("drm: Avoid circular dependencies for CONFIG_FB")
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarKees Cook <keescook@chromium.org>
      Cc: Kees Cook <keescook@chromium.org>
      Link: https://lore.kernel.org/r/20210714081819.139210-1-linus.walleij@linaro.org'
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      850d8ec9
    • Linus Walleij's avatar
      ARM: configs: Update RealView defconfig · 56fa6e8a
      Linus Walleij authored
      This updates the RealView defconfig for the changes
      in the v5.14-rc1 kernel:
      
      - The Framebuffer CONFIG_FB needs to be explicitly selected
        or we don't get any framebuffer anymore. DRM has stopped to
        select FB because of circular dependency.
      - The CONFIG_FB_MODE_HELPERS are not needed when using DRM
        framebuffer emulation as DRM does.
      - Drop two unused penguin logos.
      
      Fixes: f611b1e7
      
       ("drm: Avoid circular dependencies for CONFIG_FB")
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarKees Cook <keescook@chromium.org>
      Cc: Kees Cook <keescook@chromium.org>
      Link: https://lore.kernel.org/r/20210714090040.182381-1-linus.walleij@linaro.org'
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      56fa6e8a
    • Linus Walleij's avatar
      ARM: configs: Update Integrator defconfig · 2096d6fe
      Linus Walleij authored
      This updates the Integrator defconfig for the changes
      in the v5.14-rc1 kernel:
      
      - The Framebuffer CONFIG_FB needs to be explicitly selected
        or we don't get any framebuffer anymore. DRM has stopped to
        select FB because of circular dependency.
      - Drop the unused Matrox FB drivers that are only used with
        specific PCI cards.
      
      Fixes: f611b1e7
      
       ("drm: Avoid circular dependencies for CONFIG_FB")
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Reviewed-by: default avatarKees Cook <keescook@chromium.org>
      Cc: Kees Cook <keescook@chromium.org>
      Link: https://lore.kernel.org/r/20210714122703.212609-1-linus.walleij@linaro.org'
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      2096d6fe
    • Arnd Bergmann's avatar
      Merge tag 'scmi-fixes-5.14' of... · 2526112b
      Arnd Bergmann authored
      
      Merge tag 'scmi-fixes-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes
      
      ARM SCMI fixes for v5.14
      
      A small set of fixes:
      - adding check for presence of probe while registering the driver to
        prevent NULL pointer access
      - dropping the duplicate check as the driver core already takes care of it
      - fix for possible scmi_linux_errmap buffer overflow
      - fix to avoid sensor message structure padding
      - fix the range check for the maximum number of pending SCMI messages
      - fix for various kernel-doc warnings
      
      * tag 'scmi-fixes-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
        firmware: arm_scmi: Fix range check for the maximum number of pending messages
        firmware: arm_scmi: Avoid padding in sensor message structure
        firmware: arm_scmi: Fix kernel doc warnings about return values
        firmware: arm_scpi: Fix kernel doc warnings
        firmware: arm_scmi: Fix kernel doc warnings
        firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow
        firmware: arm_scmi: Ensure drivers provide a probe function
        firmware: arm_scmi: Simplify device probe function on the bus
      
      Link: https://lore.kernel.org/r/20210714165831.2617437-1-sudeep.holla@arm.com
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      2526112b
    • Arnd Bergmann's avatar
      Merge tag 'arm-ffa-fixes-5.14' of... · d28912d6
      Arnd Bergmann authored
      
      Merge tag 'arm-ffa-fixes-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux into arm/fixes
      
      Arm FF-A fixes for v5.14
      
      A small set of fixes:
      - adding check for presence of probe while registering the driver to
        prevent NULL pointer access
      - dropping the duplicate check as the driver core already takes care of it
      - fixing possible ffa_linux_errmap buffer overflow and
      - fixing kernel-doc warning for comment style
      
      * tag 'arm-ffa-fixes-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux:
        firmware: arm_ffa: Fix a possible ffa_linux_errmap buffer overflow
        firmware: arm_ffa: Fix the comment style
        firmware: arm_ffa: Simplify probe function
        firmware: arm_ffa: Ensure drivers provide a probe function
      
      Link: https://lore.kernel.org/r/20210714165806.2617325-1-sudeep.holla@arm.com
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      d28912d6
    • Geert Uytterhoeven's avatar
      arm: Typo s/PCI_IXP4XX_LEGACY/IXP4XX_PCI_LEGACY/ · 5f291bfd
      Geert Uytterhoeven authored
      Kconfig symbol PCI_IXP4XX_LEGACY does not exist, but IXP4XX_PCI_LEGACY
      does.
      
      Fixes: d5d9f7ac
      
       ("ARM/ixp4xx: Make NEED_MACH_IO_H optional")
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Reviewed-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Link: https://lore.kernel.org/r/82ce37c617293521f095a945a255456b9512769c.1626255077.git.geert+renesas@glider.be'
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      5f291bfd
    • Arnd Bergmann's avatar
      Merge tag 'tegra-for-5.14-arm64-dt-fixes' of... · 93346fb3
      Arnd Bergmann authored
      
      Merge tag 'tegra-for-5.14-arm64-dt-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/fixes
      
      arm64: tegra: Device tree fixes for v5.14-rc1
      
      This contains two late fixes for Tegra194 device tree files to restore
      USB and audio functionality after enabling system-wide IOMMU support.
      
      * tag 'tegra-for-5.14-arm64-dt-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
        arm64: tegra: Enable SMMU support for USB on Tegra194
        arm64: tegra: Enable audio IOMMU support on Tegra194
      
      Link: https://lore.kernel.org/r/20210709150220.2543875-1-thierry.reding@gmail.com
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      93346fb3
    • Arnd Bergmann's avatar
      Merge tag 'renesas-fixes-for-v5.14-tag1' of... · e0129a0e
      Arnd Bergmann authored
      
      Merge tag 'renesas-fixes-for-v5.14-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel into arm/fixes
      
      Renesas fixes for v5.14
      
        - Fix a clock/reset handling design issue on the new RZ/G2L SoC,
          requiring an atomic change to DT binding definitions, clock driver,
          and DTS,
        - Restore graphical consoles in the shmobile_defconfig.
      
      * tag 'renesas-fixes-for-v5.14-tag1' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel:
        ARM: shmobile: defconfig: Restore graphical consoles
        dt-bindings: clock: r9a07g044-cpg: Update clock/reset definitions
        clk: renesas: r9a07g044: Add P2 Clock support
        clk: renesas: r9a07g044: Fix P1 Clock
        clk: renesas: r9a07g044: Rename divider table
        clk: renesas: rzg2l: Add multi clock PM support
      
      Link: https://lore.kernel.org/r/cover.1626253929.git.geert+renesas@glider.be
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      e0129a0e
    • Arnd Bergmann's avatar
      Merge tag 'memory-controller-drv-tegra-5.14-3' of... · b6e473d1
      Arnd Bergmann authored
      
      Merge tag 'memory-controller-drv-tegra-5.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl into arm/fixes
      
      Memory controller drivers for v5.14 - Tegra SoC, late fixes
      
      Two fixes for recent series of changes in Tegra SoC memory controller
      drivers:
      1. Add a stub for tegra_mc_probe_device() to fix compile testing of
         arm-smmu without TEGRA_MC.
      2. Fix arm-smmu dtschema syntax.
      
      * tag 'memory-controller-drv-tegra-5.14-3' of git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-mem-ctrl:
        dt-bindings: arm-smmu: Fix json-schema syntax
        memory: tegra: Add compile-test stub for tegra_mc_probe_device()
      
      Link: https://lore.kernel.org/r/20210625073604.13562-1-krzysztof.kozlowski@canonical.com
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      b6e473d1
  2. Jul 13, 2021
    • Cristian Marussi's avatar
      firmware: arm_scmi: Fix range check for the maximum number of pending messages · bdb8742d
      Cristian Marussi authored
      
      
      SCMI message headers carry a sequence number and such field is sized to
      allow for MSG_TOKEN_MAX distinct numbers; moreover zero is not really an
      acceptable maximum number of pending in-flight messages.
      
      Fix accordingly the checks performed on the value exported by transports
      in scmi_desc.max_msg
      
      Link: https://lore.kernel.org/r/20210712141833.6628-3-cristian.marussi@arm.com
      Reported-by: default avatarVincent Guittot <vincent.guittot@linaro.org>
      Signed-off-by: default avatarCristian Marussi <cristian.marussi@arm.com>
      [sudeep.holla: updated the patch title and error message]
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      bdb8742d
    • Cristian Marussi's avatar
      firmware: arm_scmi: Avoid padding in sensor message structure · 187a002b
      Cristian Marussi authored
      scmi_resp_sensor_reading_complete structure is meant to represent an
      SCMI asynchronous reading complete message. The readings field with
      a 64bit type forces padding and breaks reads in scmi_sensor_reading_get.
      
      Split it in two adjacent 32bit readings_low/high subfields to avoid the
      padding within the structure. Alternatively we could to mark the structure
      packed.
      
      Link: https://lore.kernel.org/r/20210628170042.34105-1-cristian.marussi@arm.com
      Fixes: e2083d36
      
       ("firmware: arm_scmi: Add SCMI v3.0 sensors timestamped reads")
      Signed-off-by: default avatarCristian Marussi <cristian.marussi@arm.com>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      187a002b
    • Cristian Marussi's avatar
      firmware: arm_scmi: Fix kernel doc warnings about return values · b98cf55e
      Cristian Marussi authored
      
      
      Kernel doc validation script still complains about the following:
      
      |No description found for return value of 'scmi_get_protocol_device'
      |No description found for return value of 'scmi_devm_notifier_register'
      |No description found for return value of 'scmi_devm_notifier_unregister'
      
      Fix adding missing Return kernel-doc statements.
      
      Link: https://lore.kernel.org/r/20210712143504.33541-1-cristian.marussi@arm.com
      Signed-off-by: default avatarCristian Marussi <cristian.marussi@arm.com>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      b98cf55e
    • Sudeep Holla's avatar
      firmware: arm_scpi: Fix kernel doc warnings · 5ff6319d
      Sudeep Holla authored
      
      
      Kernel doc validation script is unhappy and complains with the below set
      of warnings.
      
       | Function parameter or member 'device_domain_id' not described in 'scpi_ops'
       | Function parameter or member 'get_transition_latency' not described in 'scpi_ops'
       | Function parameter or member 'add_opps_to_device' not described in 'scpi_ops'
       | Function parameter or member 'sensor_get_capability' not described in 'scpi_ops'
       | Function parameter or member 'sensor_get_info' not described in 'scpi_ops'
       | Function parameter or member 'sensor_get_value' not described in 'scpi_ops'
       | Function parameter or member 'device_get_power_state' not described in 'scpi_ops'
       | Function parameter or member 'device_set_power_state' not described in 'scpi_ops'
      
      Fix them adding appropriate documents or missing keywords.
      
      Link: https://lore.kernel.org/r/20210712130801.2436492-1-sudeep.holla@arm.com
      Reviewed-by: default avatarCristian Marussi <cristian.marussi@arm.com>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      5ff6319d
    • Sudeep Holla's avatar
      firmware: arm_scmi: Fix kernel doc warnings · 52f83955
      Sudeep Holla authored
      
      
      Kernel doc validation script is unhappy and complains with the below set
      of warnings.
      
       | Function parameter or member 'fast_switch_possible' not described in 'scmi_perf_proto_ops'
       | Function parameter or member 'power_scale_mw_get' not described in 'scmi_perf_proto_ops'
       | cannot understand function prototype: 'struct scmi_sensor_reading '
       | cannot understand function prototype: 'struct scmi_range_attrs '
       | cannot understand function prototype: 'struct scmi_sensor_axis_info '
       | cannot understand function prototype: 'struct scmi_sensor_intervals_info '
      
      Fix them adding appropriate documents or missing keywords.
      
      Link: https://lore.kernel.org/r/20210712130801.2436492-2-sudeep.holla@arm.com
      Reviewed-by: default avatarCristian Marussi <cristian.marussi@arm.com>
      Signed-off-by: default avatarSudeep Holla <sudeep.holla@arm.com>
      52f83955
    • Geert Uytterhoeven's avatar
      ARM: shmobile: defconfig: Restore graphical consoles · 432b52ee
      Geert Uytterhoeven authored
      As of commit f611b1e7 ("drm: Avoid circular dependencies for
      CONFIG_FB"), CONFIG_FB is no longer auto-enabled.  While CONFIG_FB may
      be considered unneeded for systems where graphics is provided by a DRM
      driver, R-Mobile A1 still relies on a frame buffer device driver for
      graphics support.
      
      Restore support for graphics on R-Mobile A1 and graphical consoles on
      DRM-based systems by explicitly enabling CONFIG_FB in the defconfig for
      Renesas ARM systems.
      
      Fixes: f611b1e7
      
       ("drm: Avoid circular dependencies for CONFIG_FB")
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Link: https://lore.kernel.org/r/2a4474be1d2c00c6ca97c2714844ea416a9ea9a9.1626084948.git.geert+renesas@glider.be
      432b52ee
  3. Jul 12, 2021