Skip to content
Permalink
Parshuram-Thom…
Switch branches/tags

Commits on Mar 17, 2021

  1. drm: bridge: cdns-mhdp8546: Enable HDCP

    This patch enable HDCP in MHDP driver.
    
    Signed-off-by: Parshuram Thombare <pthombar@cadence.com>
    Reviewed-by: Robert Foss <robert.foss@linaro.org>
    pthombarcdns authored and intel-lab-lkp committed Mar 17, 2021
  2. dt-bindings: drm/bridge: MHDP8546 bridge binding changes for HDCP

    Add binding changes for HDCP in the MHDP8546 DPI/DP bridge binding.
    
    Signed-off-by: Parshuram Thombare <pthombar@cadence.com>
    pthombarcdns authored and intel-lab-lkp committed Mar 17, 2021

Commits on Mar 16, 2021

  1. of: unittest: Statically apply overlays using fdtoverlay

    Now that fdtoverlay is part of the kernel build, start using it to test
    the unitest overlays we have by applying them statically. Create two new
    base files static_base_1.dts and static_base_2.dts which includes other
    .dtsi files.
    
    Some unittest overlays deliberately contain errors that unittest checks
    for. These overlays will cause fdtoverlay to fail, and are thus not
    included for static builds.
    
    Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
    Reviewed-by: Frank Rowand <frank.rowand@sony.com>
    Tested-by: Frank Rowand <frank.rowand@sony.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/da6b4e6429aae2e7832a8be2ba2da473d449895b.1615354376.git.viresh.kumar@linaro.org
    vireshk authored and robherring committed Mar 16, 2021
  2. of: unittest: Create overlay_common.dtsi and testcases_common.dtsi

    In order to build-test the same unit-test files using fdtoverlay tool,
    move the device nodes from the existing overlay_base.dts and
    testcases_common.dts files to .dtsi counterparts. The .dts files now
    include the new .dtsi files, resulting in exactly the same behavior as
    earlier.
    
    The .dtsi files can now be reused for compile time tests using
    fdtoverlay (will be done by a later commit).
    
    This is required because the base files passed to fdtoverlay tool
    shouldn't be overlays themselves (i.e. shouldn't have the /plugin/;
    tag).
    
    Note that this commit also moves "testcase-device2" node to
    testcases.dts from tests-interrupts.dtsi, as this node has a deliberate
    error in it and is only relevant for runtime testing done with
    unittest.c.
    
    Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
    Reviewed-by: Frank Rowand <frank.rowand@sony.com>
    Tested-by: Frank Rowand <frank.rowand@sony.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/c3354a042ba34a03fd563061cbaa7fc96cb2d71a.1615354376.git.viresh.kumar@linaro.org
    vireshk authored and robherring committed Mar 16, 2021
  3. kbuild: Add generic rule to apply fdtoverlay

    Add a generic rule to apply fdtoverlay in Makefile.lib, so every
    platform doesn't need to carry the complex rule. This also automatically
    adds "DTC_FLAGS_foo_base += -@" for all base files.
    
    The platform's Makefile only needs to have this now:
    
     foo-dtbs := foo_base.dtb foo_overlay1.dtbo foo_overlay2.dtbo
     dtb-y := foo.dtb
    
    We don't want to run schema checks on foo.dtb (as foo.dts doesn't exist)
    and the Makefile is updated accordingly.
    
    Acked-by: Masahiro Yamada <masahiroy@kernel.org>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Co-developed-by: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
    Reviewed-by: Frank Rowand <frank.rowand@sony.com>
    Tested-by: Frank Rowand <frank.rowand@sony.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20920b0df6b067aca4040459a9677d7d1d6d766a.1615354376.git.viresh.kumar@linaro.org
    robherring committed Mar 16, 2021
  4. kbuild: Simplify builds with CONFIG_OF_ALL_DTBS

    We update 'always-y' based on CONFIG_OF_ALL_DTBS three times. It would be
    far more straight forward if we rather update dtb-y to include all .dtb
    files if CONFIG_OF_ALL_DTBS is enabled.
    
    Acked-by: Masahiro Yamada <masahiroy@kernel.org>
    Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
    Reviewed-by: Frank Rowand <frank.rowand@sony.com>
    Tested-by: Frank Rowand <frank.rowand@sony.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/7fe7e5ef6ed75450ddf6c224b8adb53059e504e2.1615354376.git.viresh.kumar@linaro.org
    vireshk authored and robherring committed Mar 16, 2021
  5. dt-bindings: media: Convert video-mux to DT schema

    Now that we have the graph schema, convert the video-mux binding to DT
    schema.
    
    Cc: Sakari Ailus <sakari.ailus@linux.intel.com>
    Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
    Cc: linux-media@vger.kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
    Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
    Link: https://lore.kernel.org/r/20210311234042.1588310-1-robh@kernel.org
    robherring committed Mar 16, 2021
  6. dt-bindings: i3c: Fix silvaco,i3c-master-v1 compatible string

    The example for the Silvaco I3C master doesn't match the schema's
    compatible string. Fix it.
    
    Cc: Miquel Raynal <miquel.raynal@bootlin.com>
    Cc: Conor Culhane <conor.culhane@silvaco.com>
    Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
    Cc: linux-i3c@lists.infradead.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
    Link: https://lore.kernel.org/r/20210311234056.1588751-1-robh@kernel.org
    robherring committed Mar 16, 2021
  7. kbuild: Enable DT undocumented compatible checks

    dt-validate has an option to warn on any compatible strings which don't
    match any schema. The option has recently been improved to fix false
    positives, so let's enable the option. This is useful for tracking
    compatibles which are undocumented or not yet converted to DT schema.
    Previously, the only check of undocumented compatible strings has been
    an imperfect checkpatch.pl check.
    
    The option is enabled by default for 'dtbs_check'. This will add more
    warnings, but some platforms are down to only a handful of these
    warnings (good job!).
    
    There's about 100 cases in the binding examples, so the option is
    disabled until these are fixed. In the meantime, they can be checked
    with:
    
    make DT_CHECKER_FLAGS=-m dt_binding_check
    
    Cc: Maxime Ripard <mripard@kernel.org>
    Cc: Masahiro Yamada <masahiroy@kernel.org>
    Cc: Michal Marek <michal.lkml@markovi.net>
    Cc: linux-kbuild@vger.kernel.org
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210311233640.1581526-2-robh@kernel.org
    robherring committed Mar 16, 2021

Commits on Mar 15, 2021

  1. dt-bindings: Bump dtschema version required to v2021.2.1

    There's several dependencies in dtschema since v2020.8.1 we need, so
    let's bump the version required to v2021.2.1. Specifically, the
    graph.yaml schema and improved undocumented compatible check are needed.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210311233640.1581526-1-robh@kernel.org
    robherring committed Mar 15, 2021

Commits on Mar 11, 2021

  1. of: property: Remove unneeded return variable

    This patch removes unneeded return variables, using only
    '0' instead.
    It fixes the following warning detected by coccinelle:
    ./drivers/of/property.c:1371:5-8: Unneeded variable: "ret". Return "0"
    on line 1388
    
    Reported-by: Abaci Robot <abaci@linux.alibaba.com>
    Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
    Link: https://lore.kernel.org/r/1614676598-105267-1-git-send-email-yang.lee@linux.alibaba.com
    Signed-off-by: Rob Herring <robh@kernel.org>
    Yang Li authored and robherring committed Mar 11, 2021
  2. powerpc/kexec_file: Restore FDT size estimation for kdump kernel

    kexec_fdt_totalsize_ppc64() includes the base FDT size in its size
    calculation, but commit 3c985d3 ("powerpc: Use common
    of_kexec_alloc_and_setup_fdt()") changed the kexec code to use the
    generic function of_kexec_alloc_and_setup_fdt() which already includes
    the base FDT size. That change made the code overestimate the size a bit
    by counting twice the space required for the kernel command line and
    /chosen properties.
    
    Therefore change kexec_fdt_totalsize_ppc64() to calculate just the extra
    space needed by the kdump kernel, and change the function name so that it
    better reflects what the function is now doing.
    
    Signed-off-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Reviewed-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Hari Bathini <hbathini@linux.ibm.com>
    Acked-by: Michael Ellerman <mpe@ellerman.id.au>
    [robh: reword commit msg as no longer a fix from merging to branches]
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210220005204.1417200-1-bauerman@linux.ibm.com
    bauermann authored and robherring committed Mar 11, 2021

Commits on Mar 8, 2021

  1. arm64: Enable passing IMA log to next kernel on kexec

    Update CONFIG_KEXEC_FILE to select CONFIG_HAVE_IMA_KEXEC, if CONFIG_IMA
    is enabled, to indicate that the IMA measurement log information is
    present in the device tree for ARM64.
    
    Co-developed-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Suggested-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-14-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  2. powerpc: Delete unused function delete_fdt_mem_rsv()

    delete_fdt_mem_rsv() defined in "arch/powerpc/kexec/file_load.c"
    has been renamed to fdt_find_and_del_mem_rsv(), and moved to
    "drivers/of/kexec.c".
    
    Remove delete_fdt_mem_rsv() in "arch/powerpc/kexec/file_load.c".
    
    Co-developed-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-13-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  3. kexec: Use fdt_appendprop_addrrange() to add ima buffer to FDT

    fdt_appendprop_addrrange() function adds a property, with the given name,
    to the device tree at the given node offset, and also sets the address
    and size of the property.  This function should be used to add
    "linux,ima-kexec-buffer" property to the device tree and set the address
    and size of the IMA measurement buffer, instead of using custom function.
    
    Use fdt_appendprop_addrrange() to add  "linux,ima-kexec-buffer" property
    to the device tree.  This property holds the address and size of
    the IMA measurement buffer that needs to be passed from the current
    kernel to the next kernel across kexec system call.
    
    Remove custom code that is used in setup_ima_buffer() to add
    "linux,ima-kexec-buffer" property to the device tree.
    
    Co-developed-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-12-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  4. powerpc: Move arch independent ima kexec functions to drivers/of/kexec.c

    The functions defined in "arch/powerpc/kexec/ima.c" handle setting up
    and freeing the resources required to carry over the IMA measurement
    list from the current kernel to the next kernel across kexec system call.
    These functions do not have architecture specific code, but are
    currently limited to powerpc.
    
    Move remove_ima_buffer() and setup_ima_buffer() calls into
    of_kexec_alloc_and_setup_fdt() defined in "drivers/of/kexec.c".
    
    Move the remaining architecture independent functions from
    "arch/powerpc/kexec/ima.c" to "drivers/of/kexec.c".
    Delete "arch/powerpc/kexec/ima.c" and "arch/powerpc/include/asm/ima.h".
    Remove references to the deleted files and functions in powerpc and
    in ima.
    
    Co-developed-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Tested-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-11-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  5. powerpc: Enable passing IMA log to next kernel on kexec

    CONFIG_HAVE_IMA_KEXEC is enabled to indicate that the IMA measurement
    log information is present in the device tree. This should be selected
    only if CONFIG_IMA is enabled.
    
    Update CONFIG_KEXEC_FILE to select CONFIG_HAVE_IMA_KEXEC, if CONFIG_IMA
    is enabled, to indicate that the IMA measurement log information is
    present in the device tree for powerpc.
    
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Suggested-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-10-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  6. powerpc: Move ima buffer fields to struct kimage

    The fields ima_buffer_addr and ima_buffer_size in "struct kimage_arch"
    for powerpc are used to carry forward the IMA measurement list across
    kexec system call.  These fields are not architecture specific, but are
    currently limited to powerpc.
    
    arch_ima_add_kexec_buffer() defined in "arch/powerpc/kexec/ima.c"
    sets ima_buffer_addr and ima_buffer_size for the kexec system call.
    This function does not have architecture specific code, but is
    currently limited to powerpc.
    
    Move ima_buffer_addr and ima_buffer_size to "struct kimage".
    Set ima_buffer_addr and ima_buffer_size in ima_add_kexec_buffer()
    in security/integrity/ima/ima_kexec.c.
    
    Co-developed-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Prakhar Srivastava <prsriva@linux.microsoft.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Suggested-by: Will Deacon <will@kernel.org>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-9-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  7. powerpc: Use common of_kexec_alloc_and_setup_fdt()

    The code for setting up the /chosen node in the device tree
    and updating the memory reservation for the next kernel has been
    moved to of_kexec_alloc_and_setup_fdt() defined in "drivers/of/kexec.c".
    
    Use the common of_kexec_alloc_and_setup_fdt() to setup the device tree
    and update the memory reservation for kexec for powerpc.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-8-nramas@linux.microsoft.com
    robherring committed Mar 8, 2021
  8. arm64: Use common of_kexec_alloc_and_setup_fdt()

    The code for setting up the /chosen node in the device tree
    and updating the memory reservation for the next kernel has been
    moved to of_kexec_alloc_and_setup_fdt() defined in "drivers/of/kexec.c".
    
    Use the common of_kexec_alloc_and_setup_fdt() to setup the device tree
    and update the memory reservation for kexec for arm64.
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-7-nramas@linux.microsoft.com
    robherring committed Mar 8, 2021
  9. of: Add a common kexec FDT setup function

    Both arm64 and powerpc do essentially the same FDT /chosen setup for
    kexec.  The differences are either omissions that arm64 should have
    or additional properties that will be ignored.  The setup code can be
    combined and shared by both powerpc and arm64.
    
    The differences relative to the arm64 version:
     - If /chosen doesn't exist, it will be created (should never happen).
     - Any old dtb and initrd reserved memory will be released.
     - The new initrd and elfcorehdr are marked reserved.
     - "linux,booted-from-kexec" is set.
    
    The differences relative to the powerpc version:
     - "kaslr-seed" and "rng-seed" may be set.
     - "linux,elfcorehdr" is set.
     - Any existing "linux,usable-memory-range" is removed.
    
    Combine the code for setting up the /chosen node in the FDT and updating
    the memory reservation for kexec, for powerpc and arm64, in
    of_kexec_alloc_and_setup_fdt() and move it to "drivers/of/kexec.c".
    
    Signed-off-by: Rob Herring <robh@kernel.org>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-6-nramas@linux.microsoft.com
    robherring committed Mar 8, 2021
  10. x86: Use ELF fields defined in 'struct kimage'

    ELF related fields elf_headers, elf_headers_sz, and elf_load_addr
    have been moved from 'struct kimage_arch' to 'struct kimage'.
    
    Use the ELF fields defined in 'struct kimage'.
    
    Suggested-by: Rob Herring <robh@kernel.org>
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-5-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  11. powerpc: Use ELF fields defined in 'struct kimage'

    ELF related fields elf_headers, elf_headers_sz, and elfcorehdr_addr
    have been moved from 'struct kimage_arch' to 'struct kimage' as
    elf_headers, elf_headers_sz, and elf_load_addr respectively.
    
    Use the ELF fields defined in 'struct kimage'.
    
    Suggested-by: Rob Herring <robh@kernel.org>
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-4-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  12. arm64: Use ELF fields defined in 'struct kimage'

    ELF related fields elf_headers, elf_headers_sz, and elf_headers_mem
    have been moved from 'struct kimage_arch' to 'struct kimage' as
    elf_headers, elf_headers_sz, and elf_load_addr respectively.
    
    Use the ELF fields defined in 'struct kimage'.
    
    Suggested-by: Rob Herring <robh@kernel.org>
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-3-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021
  13. kexec: Move ELF fields to struct kimage

    ELF related fields elf_headers, elf_headers_sz, and elf_load_addr are
    defined in architecture specific 'struct kimage_arch' for x86, powerpc,
    and arm64.  The name of these fields are different in these
    architectures that makes it hard to have a common code for setting up
    the device tree for kexec system call.
    
    Move the ELF fields to 'struct kimage' defined in include/linux/kexec.h
    so common code can use it.
    
    Suggested-by: Rob Herring <robh@kernel.org>
    Reported-by: kernel test robot <lkp@intel.com>
    Signed-off-by: Lakshmi Ramasubramanian <nramas@linux.microsoft.com>
    Reviewed-by: Thiago Jung Bauermann <bauerman@linux.ibm.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    Link: https://lore.kernel.org/r/20210221174930.27324-2-nramas@linux.microsoft.com
    nramas authored and robherring committed Mar 8, 2021

Commits on Mar 6, 2021

  1. Linux 5.12-rc2

    torvalds committed Mar 6, 2021
  2. Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/rdma/rdma
    
    Pull rdma fixes from Jason Gunthorpe:
     "Nothing special here, though Bob's regression fixes for rxe would have
      made it before the rc cycle had there not been such strong winter
      weather!
    
       - Fix corner cases in the rxe reference counting cleanup that are
         causing regressions in blktests for SRP
    
       - Two kdoc fixes so W=1 is clean
    
       - Missing error return in error unwind for mlx5
    
       - Wrong lock type nesting in IB CM"
    
    * tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma:
      RDMA/rxe: Fix errant WARN_ONCE in rxe_completer()
      RDMA/rxe: Fix extra deref in rxe_rcv_mcast_pkt()
      RDMA/rxe: Fix missed IB reference counting in loopback
      RDMA/uverbs: Fix kernel-doc warning of _uverbs_alloc
      RDMA/mlx5: Set correct kernel-doc identifier
      IB/mlx5: Add missing error code
      RDMA/rxe: Fix missing kconfig dependency on CRYPTO
      RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep
    torvalds committed Mar 6, 2021
  3. Merge tag 'gcc-plugins-v5.12-rc2' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/kees/linux
    
    Pull gcc-plugins fixes from Kees Cook:
     "Tiny gcc-plugin fixes for v5.12-rc2. These issues are small but have
      been reported a couple times now by static analyzers, so best to get
      them fixed to reduce the noise. :)
    
       - Fix coding style issues (Jason Yan)"
    
    * tag 'gcc-plugins-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      gcc-plugins: latent_entropy: remove unneeded semicolon
      gcc-plugins: structleak: remove unneeded variable 'ret'
    torvalds committed Mar 6, 2021
  4. Merge tag 'pstore-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/ke…

    …rnel/git/kees/linux
    
    Pull pstore fixes from Kees Cook:
    
     - Rate-limit ECC warnings (Dmitry Osipenko)
    
     - Fix error path check for NULL (Tetsuo Handa)
    
    * tag 'pstore-v5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
      pstore/ram: Rate-limit "uncorrectable error in header" message
      pstore: Fix warning in pstore_kill_sb()
    torvalds committed Mar 6, 2021

Commits on Mar 5, 2021

  1. Merge tag 'for-5.12/dm-fixes' of git://git.kernel.org/pub/scm/linux/k…

    …ernel/git/device-mapper/linux-dm
    
    Pull device mapper fixes from Mike Snitzer:
     "Fix DM verity target's optional Forward Error Correction (FEC) for
      Reed-Solomon roots that are unaligned to block size"
    
    * tag 'for-5.12/dm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
      dm verity: fix FEC for RS roots unaligned to block size
      dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
    torvalds committed Mar 5, 2021
  2. Merge tag 'block-5.12-2021-03-05' of git://git.kernel.dk/linux-block

    Pull block fixes from Jens Axboe:
    
     - NVMe fixes:
          - more device quirks (Julian Einwag, Zoltán Böszörményi, Pascal
            Terjan)
          - fix a hwmon error return (Daniel Wagner)
          - fix the keep alive timeout initialization (Martin George)
          - ensure the model_number can't be changed on a used subsystem
            (Max Gurtovoy)
    
     - rsxx missing -EFAULT on copy_to_user() failure (Dan)
    
     - rsxx remove unused linux.h include (Tian)
    
     - kill unused RQF_SORTED (Jean)
    
     - updated outdated BFQ comments (Joseph)
    
     - revert work-around commit for bd_size_lock, since we removed the
       offending user in this merge window (Damien)
    
    * tag 'block-5.12-2021-03-05' of git://git.kernel.dk/linux-block:
      nvmet: model_number must be immutable once set
      nvme-fabrics: fix kato initialization
      nvme-hwmon: Return error code when registration fails
      nvme-pci: add quirks for Lexar 256GB SSD
      nvme-pci: mark Kingston SKC2000 as not supporting the deepest power state
      nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
      rsxx: Return -EFAULT if copy_to_user() fails
      block/bfq: update comments and default value in docs for fifo_expire
      rsxx: remove unused including <linux/version.h>
      block: Drop leftover references to RQF_SORTED
      block: revert "block: fix bd_size_lock use"
    torvalds committed Mar 5, 2021
  3. Merge tag 'io_uring-5.12-2021-03-05' of git://git.kernel.dk/linux-block

    Pull io_uring fixes from Jens Axboe:
     "A bit of a mix between fallout from the worker change, cleanups and
      reductions now possible from that change, and fixes in general. In
      detail:
    
       - Fully serialize manager and worker creation, fixing races due to
         that.
    
       - Clean up some naming that had gone stale.
    
       - SQPOLL fixes.
    
       - Fix race condition around task_work rework that went into this
         merge window.
    
       - Implement unshare. Used for when the original task does unshare(2)
         or setuid/seteuid and friends, drops the original workers and forks
         new ones.
    
       - Drop the only remaining piece of state shuffling we had left, which
         was cred. Move it into issue instead, and we can drop all of that
         code too.
    
       - Kill f_op->flush() usage. That was such a nasty hack that we had
         out of necessity, we no longer need it.
    
       - Following from ->flush() removal, we can also drop various bits of
         ctx state related to SQPOLL and cancelations.
    
       - Fix an issue with IOPOLL retry, which originally was fallout from a
         filemap change (removing iov_iter_revert()), but uncovered an issue
         with iovec re-import too late.
    
       - Fix an issue with system suspend.
    
       - Use xchg() for fallback work, instead of cmpxchg().
    
       - Properly destroy io-wq on exec.
    
       - Add create_io_thread() core helper, and use that in io-wq and
         io_uring. This allows us to remove various silly completion events
         related to thread setup.
    
       - A few error handling fixes.
    
      This should be the grunt of fixes necessary for the new workers, next
      week should be quieter. We've got a pending series from Pavel on
      cancelations, and how tasks and rings are indexed. Outside of that,
      should just be minor fixes. Even with these fixes, we're still killing
      a net ~80 lines"
    
    * tag 'io_uring-5.12-2021-03-05' of git://git.kernel.dk/linux-block: (41 commits)
      io_uring: don't restrict issue_flags for io_openat
      io_uring: make SQPOLL thread parking saner
      io-wq: kill hashed waitqueue before manager exits
      io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return
      io_uring: don't keep looping for more events if we can't flush overflow
      io_uring: move to using create_io_thread()
      kernel: provide create_io_thread() helper
      io_uring: reliably cancel linked timeouts
      io_uring: cancel-match based on flags
      io-wq: ensure all pending work is canceled on exit
      io_uring: ensure that threads freeze on suspend
      io_uring: remove extra in_idle wake up
      io_uring: inline __io_queue_async_work()
      io_uring: inline io_req_clean_work()
      io_uring: choose right tctx->io_wq for try cancel
      io_uring: fix -EAGAIN retry with IOPOLL
      io-wq: fix error path leak of buffered write hash map
      io_uring: remove sqo_task
      io_uring: kill sqo_dead and sqo submission halting
      io_uring: ignore double poll add on the same waitqueue head
      ...
    torvalds committed Mar 5, 2021
  4. Merge tag 'pm-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/rafael/linux-pm
    
    Pull power management fixes from Rafael Wysocki:
     "These fix the usage of device links in the runtime PM core code and
      update the DTPM (Dynamic Thermal Power Management) feature added
      recently.
    
      Specifics:
    
       - Make the runtime PM core code avoid attempting to suspend supplier
         devices before updating the PM-runtime status of a consumer to
         'suspended' (Rafael Wysocki).
    
       - Fix DTPM (Dynamic Thermal Power Management) root node
         initialization and label that feature as EXPERIMENTAL in Kconfig
         (Daniel Lezcano)"
    
    * tag 'pm-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      powercap/drivers/dtpm: Add the experimental label to the option description
      powercap/drivers/dtpm: Fix root node initialization
      PM: runtime: Update device status before letting suppliers suspend
    torvalds committed Mar 5, 2021
  5. Merge tag 'acpi-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/rafael/linux-pm
    
    Pull ACPI fix from Rafael Wysocki:
     "Make the empty stubs of some helper functions used when CONFIG_ACPI is
      not set actually match those functions (Andy Shevchenko)"
    
    * tag 'acpi-5.12-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
      ACPI: bus: Constify is_acpi_node() and friends (part 2)
    torvalds committed Mar 5, 2021
  6. Merge tag 'iommu-fixes-v5.12-rc1' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/joro/iommu
    
    Pull iommu fixes from Joerg Roedel:
    
     - Fix a sleeping-while-atomic issue in the AMD IOMMU code
    
     - Disable lazy IOTLB flush for untrusted devices in the Intel VT-d
       driver
    
     - Fix status code definitions for Intel VT-d
    
     - Fix IO Page Fault issue in Tegra IOMMU driver
    
    * tag 'iommu-fixes-v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
      iommu/vt-d: Fix status code for Allocate/Free PASID command
      iommu: Don't use lazy flush for untrusted device
      iommu/tegra-smmu: Fix mc errors on tegra124-nyan
      iommu/amd: Fix sleeping in atomic in increase_address_space()
    torvalds committed Mar 5, 2021
Older