Skip to content
Permalink
Wende-Tan/arch…
Switch branches/tags

Commits on Jul 20, 2021

  1. arch: Move page table config macros out of #ifndef __ASSEMBLY__ con…

    …dition
    
    Move page table configuration macros like `P4D_SHIFT` out of
    `#ifndef __ASSEMBLY__` condition, so that they can be used by assembly
    code or linker scripts.  For example, the `TEXT_CFI_JT` macro in
    `include/asm-generic/vmlinux.lds.h` needs `PMD_SIZE` when Clang CFI is
    enabled.
    
    Signed-off-by: Wende Tan <twd2.me@gmail.com>
    twd2 authored and intel-lab-lkp committed Jul 20, 2021

Commits on Jul 16, 2021

  1. ARM: dts: versatile: Fix up interrupt controller node names

    Once the new schema interrupt-controller/arm,vic.yaml is added, we get
    the below warnings:
    
            arch/arm/boot/dts/versatile-ab.dt.yaml:
            intc@10140000: $nodename:0: 'intc@10140000' does not match
            '^interrupt-controller(@[0-9a-f,]+)*$'
    
    	arch/arm/boot/dts/versatile-ab.dt.yaml:
    	intc@10140000: 'clear-mask' does not match any of the regexes
    
    Fix the node names for the interrupt controller to conform
    to the standard node name interrupt-controller@.. Also drop invalid
    clear-mask property.
    
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    Acked-by: Linus Walleij <linus.walleij@linaro.org>
    Link: https://lore.kernel.org/r/20210701132118.759454-1-sudeep.holla@arm.com'
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    sudeep-holla authored and arndb committed Jul 16, 2021
  2. Merge tag 'aspeed-5.14-devicetree-2' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/joel/bmc into arm/fixes
    
    ASPEED device tree fixes for 5.14
    
     - eMMC phase corrections so Tacoma and Everest can boot
    
     - VUART irq polarity fix for e3c246d4i, using new bindings
    
     - I2C address fix for Rainier power supply
    
     - GPIO line name fixes
    
    * tag 'aspeed-5.14-devicetree-2' of git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc:
      ARM: dts: aspeed: everest: PSU #3 address change
      ARM: dts: everest: Add phase corrections for eMMC
      ARM: dts: tacoma: Add phase corrections for eMMC
      ARM: dts: aspeed: Update e3c246d4i vuart properties
      ARM: dts: aspeed: Fix AST2600 machines line names
    
    Link: https://lore.kernel.org/r/CACPK8XefdPzeOUDnDgk9cHQEs-9wF_ZSPdYQRzuNOpGZTyGUKQ@mail.gmail.com
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    arndb committed Jul 16, 2021
  3. ARM: multi_v7_defconfig: Make NOP_USB_XCEIV driver built-in

    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 e590474 ("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: e590474 ("driver core: Set fw_devlink=on by default")
    Reported-by: Ojaswin Mujoo <ojaswin98@gmail.com>
    Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
    Link: https://lore.kernel.org/r/1625915095-23077-1-git-send-email-stefan.wahren@i2se.com'
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    lategoodbye authored and arndb committed Jul 16, 2021
  4. ARM: configs: Update u8500_defconfig

    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: f611b1e ("drm: Avoid circular dependencies for CONFIG_FB")
    Signed-off-by: Linus 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: Arnd Bergmann <arnd@arndb.de>
    linusw authored and arndb committed Jul 16, 2021
  5. ARM: configs: Update Vexpress defconfig

    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: f611b1e ("drm: Avoid circular dependencies for CONFIG_FB")
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Acked-by: Sudeep 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: Arnd Bergmann <arnd@arndb.de>
    linusw authored and arndb committed Jul 16, 2021
  6. ARM: configs: Update Versatile defconfig

    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: f611b1e ("drm: Avoid circular dependencies for CONFIG_FB")
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Reviewed-by: Kees 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: Arnd Bergmann <arnd@arndb.de>
    linusw authored and arndb committed Jul 16, 2021
  7. ARM: configs: Update RealView defconfig

    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: f611b1e ("drm: Avoid circular dependencies for CONFIG_FB")
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Reviewed-by: Kees 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: Arnd Bergmann <arnd@arndb.de>
    linusw authored and arndb committed Jul 16, 2021
  8. ARM: configs: Update Integrator defconfig

    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: f611b1e ("drm: Avoid circular dependencies for CONFIG_FB")
    Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
    Reviewed-by: Kees 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: Arnd Bergmann <arnd@arndb.de>
    linusw authored and arndb committed Jul 16, 2021
  9. Merge tag 'scmi-fixes-5.14' of git://git.kernel.org/pub/scm/linux/ker…

    …nel/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: Arnd Bergmann <arnd@arndb.de>
    arndb committed Jul 16, 2021
  10. 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: Arnd Bergmann <arnd@arndb.de>
    arndb committed Jul 16, 2021
  11. arm: Typo s/PCI_IXP4XX_LEGACY/IXP4XX_PCI_LEGACY/

    Kconfig symbol PCI_IXP4XX_LEGACY does not exist, but IXP4XX_PCI_LEGACY
    does.
    
    Fixes: d5d9f7a ("ARM/ixp4xx: Make NEED_MACH_IO_H optional")
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
    Link: https://lore.kernel.org/r/82ce37c617293521f095a945a255456b9512769c.1626255077.git.geert+renesas@glider.be'
    Signed-off-by: Arnd Bergmann <arnd@arndb.de>
    geertu authored and arndb committed Jul 16, 2021
  12. 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: Arnd Bergmann <arnd@arndb.de>
    arndb committed Jul 16, 2021
  13. 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: Arnd Bergmann <arnd@arndb.de>
    arndb committed Jul 16, 2021
  14. Merge tag 'memory-controller-drv-tegra-5.14-3' of git://git.kernel.or…

    …g/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: Arnd Bergmann <arnd@arndb.de>
    arndb committed Jul 16, 2021

Commits on Jul 13, 2021

  1. firmware: arm_scmi: Fix range check for the maximum number of pending…

    … messages
    
    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: Vincent Guittot <vincent.guittot@linaro.org>
    Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
    [sudeep.holla: updated the patch title and error message]
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    freefall75 authored and sudeep-holla committed Jul 13, 2021
  2. firmware: arm_scmi: Avoid padding in sensor message structure

    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: e2083d3 ("firmware: arm_scmi: Add SCMI v3.0 sensors timestamped reads")
    Signed-off-by: Cristian Marussi <cristian.marussi@arm.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    freefall75 authored and sudeep-holla committed Jul 13, 2021
  3. firmware: arm_scmi: Fix kernel doc warnings about return values

    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: Cristian Marussi <cristian.marussi@arm.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    freefall75 authored and sudeep-holla committed Jul 13, 2021
  4. firmware: arm_scpi: Fix kernel doc warnings

    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: Cristian Marussi <cristian.marussi@arm.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    sudeep-holla committed Jul 13, 2021
  5. firmware: arm_scmi: Fix kernel doc warnings

    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: Cristian Marussi <cristian.marussi@arm.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    sudeep-holla committed Jul 13, 2021
  6. ARM: shmobile: defconfig: Restore graphical consoles

    As of commit f611b1e ("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: f611b1e ("drm: Avoid circular dependencies for CONFIG_FB")
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Link: https://lore.kernel.org/r/2a4474be1d2c00c6ca97c2714844ea416a9ea9a9.1626084948.git.geert+renesas@glider.be
    geertu committed Jul 13, 2021

Commits on Jul 12, 2021

  1. firmware: arm_ffa: Fix a possible ffa_linux_errmap buffer overflow

    The ffa_linux_errmap buffer access index is supposed to range from 0-8
    but it ranges from 1-9 instead. It reads one element out of bounds. It
    also changes the success into -EINVAL though ffa_to_linux_errno is never
    used in case of success, it is expected to work for success case too.
    
    It is slightly confusing code as the negative of the error code
    is used as index to the buffer. Fix it by negating it at the start and
    make it more readable.
    
    Link: https://lore.kernel.org/r/20210707134739.1869481-1-sudeep.holla@arm.com
    Reported-by: kernel test robot <lkp@intel.com>
    Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    sudeep-holla committed Jul 12, 2021
  2. firmware: arm_ffa: Fix the comment style

    clang produces the following warning:
    
        drivers/firmware/arm_ffa/driver.c:123: warning: expecting
        prototype for FF(). Prototype was for FFA_PAGE_SIZE() instead
    
        This comment starts with '/**', but isn't a kernel-doc comment.
        Refer Documentation/doc-guide/kernel-doc.rst
    
    Fix the same by removing the kernel-doc style comment here.
    
    Link: https://lore.kernel.org/r/20210622162202.3485866-1-sudeep.holla@arm.com
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    sudeep-holla committed Jul 12, 2021
  3. firmware: arm_ffa: Simplify probe function

    When the driver core calls the probe callback it already checked that
    the devices match, so there is no need to call the match callback again.
    
    Link: https://lore.kernel.org/r/20210621201652.127611-2-u.kleine-koenig@pengutronix.de
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    ukleinek authored and sudeep-holla committed Jul 12, 2021
  4. firmware: arm_ffa: Ensure drivers provide a probe function

    The bus probe callback calls the driver callback without further
    checking. Better be safe than sorry and refuse registration of a driver
    without a probe function to prevent a NULL pointer exception.
    
    Link: https://lore.kernel.org/r/20210621201652.127611-1-u.kleine-koenig@pengutronix.de
    Fixes: e781858 ("firmware: arm_ffa: Add initial FFA bus support for device enumeration")
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    ukleinek authored and sudeep-holla committed Jul 12, 2021
  5. firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow

    The scmi_linux_errmap buffer access index is supposed to depend on the
    array size to prevent element out of bounds access. It uses SCMI_ERR_MAX
    to check bounds but that can mismatch with the array size. It also
    changes the success into -EIO though scmi_linux_errmap is never used in
    case of success, it is expected to work for success case too.
    
    It is slightly confusing code as the negative of the error code
    is used as index to the buffer. Fix it by negating it at the start and
    make it more readable.
    
    Link: https://lore.kernel.org/r/20210707135028.1869642-1-sudeep.holla@arm.com
    Reported-by: kernel test robot <lkp@intel.com>
    Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
    Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    sudeep-holla committed Jul 12, 2021
  6. firmware: arm_scmi: Ensure drivers provide a probe function

    The bus probe callback calls the driver callback without further
    checking. Better be safe than sorry and refuse registration of a driver
    without a probe function to prevent a NULL pointer exception.
    
    Link: https://lore.kernel.org/r/20210624095059.4010157-2-sudeep.holla@arm.com
    Fixes: 933c504 ("firmware: arm_scmi: add scmi protocol bus to enumerate protocol devices")
    Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Tested-by: Cristian Marussi <cristian.marussi@arm.com>
    Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
    Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    sudeep-holla committed Jul 12, 2021
  7. firmware: arm_scmi: Simplify device probe function on the bus

    When the driver core calls the probe callback it already checked that
    the devices match, so there is no need to call the match callback again.
    
    Link: https://lore.kernel.org/r/20210624095059.4010157-1-sudeep.holla@arm.com
    Suggested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Tested-by: Cristian Marussi <cristian.marussi@arm.com>
    Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
    Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
    sudeep-holla committed Jul 12, 2021
  8. dt-bindings: clock: r9a07g044-cpg: Update clock/reset definitions

    Update clock and reset definitions as per RZ/G2L_clock_list_r02_02.xlsx
    and RZ/G2L HW(Rev.0.50) manual.
    
    Update {GIC,IA55,SCIF} clock and reset entries in the CPG driver, and
    separate reset from module clocks in order to handle them efficiently.
    
    Update the SCIF0 clock and reset index in the SoC DTSI.
    
    Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
    Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
    Link: https://lore.kernel.org/r/20210626081344.5783-6-biju.das.jz@bp.renesas.com
    Link: https://lore.kernel.org/r/20210626081344.5783-7-biju.das.jz@bp.renesas.com
    Link: https://lore.kernel.org/r/20210626081344.5783-8-biju.das.jz@bp.renesas.com
    [geert: Squashed 3 commits]
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Biju Das authored and geertu committed Jul 12, 2021
  9. clk: renesas: r9a07g044: Add P2 Clock support

    Add support for P2 clock which is sourced from pll3_div2_4_2.
    
    Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
    Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
    Link: https://lore.kernel.org/r/20210626081344.5783-5-biju.das.jz@bp.renesas.com
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Biju Das authored and geertu committed Jul 12, 2021
  10. clk: renesas: r9a07g044: Fix P1 Clock

    As per RZ/G2L HW Manual(Rev.0.50) P1 is sourced from pll3_div2_4.
    So fix the clock definitions for P1.
    
    Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
    Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
    Link: https://lore.kernel.org/r/20210626081344.5783-4-biju.das.jz@bp.renesas.com
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Biju Das authored and geertu committed Jul 12, 2021
  11. clk: renesas: r9a07g044: Rename divider table

    As per RZ/G2L HW Manual (Rev.0.50), CPG_PL3A_DDIV,CPG_PL3B_DDIV
    and CPG_PL2_DDIV(for P0) shares same divider table entries. Rename
    clk_div_table dtable_3b to clk_div_table dtable_1_32 so that it
    can be reused.
    
    Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
    Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
    Link: https://lore.kernel.org/r/20210626081344.5783-3-biju.das.jz@bp.renesas.com
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Biju Das authored and geertu committed Jul 12, 2021
  12. clk: renesas: rzg2l: Add multi clock PM support

    Add multi clock PM support for cpg driver.
    
    Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
    Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
    Link: https://lore.kernel.org/r/20210626081344.5783-2-biju.das.jz@bp.renesas.com
    Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Biju Das authored and geertu committed Jul 12, 2021

Commits on Jul 11, 2021

  1. Linux 5.14-rc1

    torvalds committed Jul 11, 2021
  2. mm/rmap: try_to_migrate() skip zone_device !device_private

    I know nothing about zone_device pages and !device_private pages; but if
    try_to_migrate_one() will do nothing for them, then it's better that
    try_to_migrate() filter them first, than trawl through all their vmas.
    
    Signed-off-by: Hugh Dickins <hughd@google.com>
    Reviewed-by: Shakeel Butt <shakeelb@google.com>
    Reviewed-by: Alistair Popple <apopple@nvidia.com>
    Link: https://lore.kernel.org/lkml/1241d356-8ec9-f47b-a5ec-9b2bf66d242@google.com/
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Jason Gunthorpe <jgg@nvidia.com>
    Cc: Ralph Campbell <rcampbell@nvidia.com>
    Cc: Christoph Hellwig <hch@lst.de>
    Cc: Yang Shi <shy828301@gmail.com>
    Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    Hugh Dickins authored and torvalds committed Jul 11, 2021
Older