1. 16 Oct, 2021 1 commit
  2. 08 Oct, 2021 8 commits
    • Mark Brown's avatar
      Merge series "regulator/mfd/clock: dt-bindings: Samsung S2M and S5M to... · 636bdb5f
      Mark Brown authored
      Merge series "regulator/mfd/clock: dt-bindings: Samsung S2M and S5M to dtschema" from Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>:
      
      Hi All,
      
      Changes since v2
      ================
      1. Add Stephen's and Rob's tags.
      2. Correct inb-supply description in patch 10/10.
      
      Changes since v2
      ================
      1. Add Rob's tags.
      2. Remove "regulator-name" from properties (all regulator dtschema).
      3. Move "unevaluatedProperties" higher to make code easier to read (all regulator dtschema).
      4. Add ref-type to op-mode property (patch 6: s5m8767 regulators).
      
      Changes since v1
      ================
      1. Drop DTS patches - applied.
      2. Fully remove bindings/regulator/samsung,s5m8767.txt .
      3. Minor subject reformatting and few typos in text.
      
      Intro
      =====
      This patchset converts all devicetree bindings of Samsung S2M and S5M
      PMIC devices from txt to dtschema.
      
      It includes also two fixes because later conversion depends on it
      (contextually).
      
      Merging/dependencies
      ====================
      1. Regulator related binding changes depend on first two commits (the
         fixes), because of context.
      2. The mfd bindings depend on clock and regulator bindings.
      
      The fixes and bindings changes (patches 1-10) should go via the same
      tree.  For example regulator or mfd tree.
      
      Another alternative is that regulator patches (1-2, 4-6) go via Mark who
      later gives MFD a stable branch/tag to pull. Then the clock and MFD
      bindings would go on top via MFD tree. Or any other setup you would like
      to have.
      
      Overview of devices
      ===================
      Essentially all Samsung S2M and S5M PMICs are very similar devices. They
      provide the same functionality: regulators, RTC, 2 or 3 clocks and main
      power management (e.g. power cut to SoC).
      
      The differences are mostly in registers layout and number of regulators.
      
      The drivers are built around one common part, mfd/sec-core.c, and share
      some drivers between devices:
      1. MFD sec-core for all devices,
      1. one clock driver for most of devices,
      2. one RTC driver for all devices,
      3. three regulator drivers.
      
      The regulator drivers were implementing slightly different features,
      therefore one regulator binding for all devices does not make much
      sense.  However the clock device binding can be shared.
      
      The final dtschema bindings try to implement this - share only the clock
      bindings.
      
      Best regards,
      Krzysztof
      
      Krzysztof Kozlowski (10):
        regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS
          is disabled
        regulator: dt-bindings: samsung,s5m8767: correct
          s5m8767,pmic-buck-default-dvs-idx property
        dt-bindings: clock: samsung,s2mps11: convert to dtschema
        regulator: dt-bindings: samsung,s2m: convert to dtschema
        regulator: dt-bindings: samsung,s2mpa01: convert to dtschema
        regulator: dt-bindings: samsung,s5m8767: convert to dtschema
        dt-bindings: mfd: samsung,s2mps11: convert to dtschema
        dt-bindings: mfd: samsung,s2mpa01: convert to dtschema
        dt-bindings: mfd: samsung,s5m8767: convert to dtschema
        dt-bindings: mfd: samsung,s5m8767: document buck and LDO supplies
      
       .../bindings/clock/samsung,s2mps11.txt        |  49 ---
       .../bindings/clock/samsung,s2mps11.yaml       |  45 +++
       .../bindings/mfd/samsung,s2mpa01.yaml         |  91 ++++++
       .../bindings/mfd/samsung,s2mps11.yaml         | 267 +++++++++++++++
       .../bindings/mfd/samsung,s5m8767.yaml         | 307 ++++++++++++++++++
       .../bindings/mfd/samsung,sec-core.txt         |  86 -----
       .../bindings/regulator/samsung,s2mpa01.txt    |  79 -----
       .../bindings/regulator/samsung,s2mpa01.yaml   |  62 ++++
       .../bindings/regulator/samsung,s2mps11.txt    | 102 ------
       .../bindings/regulator/samsung,s2mps11.yaml   |  44 +++
       .../bindings/regulator/samsung,s2mps13.yaml   |  44 +++
       .../bindings/regulator/samsung,s2mps14.yaml   |  44 +++
       .../bindings/regulator/samsung,s2mps15.yaml   |  44 +++
       .../bindings/regulator/samsung,s2mpu02.yaml   |  44 +++
       .../bindings/regulator/samsung,s5m8767.txt    | 145 ---------
       .../bindings/regulator/samsung,s5m8767.yaml   |  74 +++++
       MAINTAINERS                                   |   9 +-
       drivers/regulator/s5m8767.c                   |  21 +-
       18 files changed, 1080 insertions(+), 477 deletions(-)
       delete mode 100644 Documentation/devicetree/bindings/clock/samsung,s2mps11.txt
       create mode 100644 Documentation/devicetree/bindings/clock/samsung,s2mps11.yaml
       create mode 100644 Documentation/devicetree/bindings/mfd/samsung,s2mpa01.yaml
       create mode 100644 Documentation/devicetree/bindings/mfd/samsung,s2mps11.yaml
       create mode 100644 Documentation/devicetree/bindings/mfd/samsung,s5m8767.yaml
       delete mode 100644 Documentation/devicetree/bindings/mfd/samsung,sec-core.txt
       delete mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mpa01.txt
       create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mpa01.yaml
       delete mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mps11.txt
       create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mps11.yaml
       create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mps13.yaml
       create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mps14.yaml
       create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mps15.yaml
       create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s2mpu02.yaml
       delete mode 100644 Documentation/devicetree/bindings/regulator/samsung,s5m8767.txt
       create mode 100644 Documentation/devicetree/bindings/regulator/samsung,s5m8767.yaml
      
      --
      2.30.2
      636bdb5f
    • Krzysztof Kozlowski's avatar
      regulator: dt-bindings: samsung,s5m8767: convert to dtschema · fab58deb
      Krzysztof Kozlowski authored
      Convert the regulators of Samsung S5M8767 PMIC to DT schema format.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Message-Id: <20211008113931.134847-3-krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      fab58deb
    • Krzysztof Kozlowski's avatar
      regulator: dt-bindings: samsung,s2mpa01: convert to dtschema · a52afb0f
      Krzysztof Kozlowski authored
      Convert the regulators of Samsung S2MPA01 PMIC to DT schema format.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Message-Id: <20211008113931.134847-2-krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      a52afb0f
    • Krzysztof Kozlowski's avatar
      regulator: dt-bindings: samsung,s2m: convert to dtschema · ea98b9eb
      Krzysztof Kozlowski authored
      Convert the regulators of Samsung
      S2MPS11/S2MPS13/S2MPS14/S2MPS15/S2MPU02 family of PMICs to DT schema
      format.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Message-Id: <20211008113931.134847-1-krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      ea98b9eb
    • Krzysztof Kozlowski's avatar
      dt-bindings: clock: samsung,s2mps11: convert to dtschema · 1790cd35
      Krzysztof Kozlowski authored
      Convert the clock provider of Samsung S2MPS11 family of PMICs to DT
      schema format.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
      Message-Id: <20211008113723.134648-4-krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      1790cd35
    • Krzysztof Kozlowski's avatar
      regulator: dt-bindings: samsung,s5m8767: correct s5m8767,pmic-buck-default-dvs-idx property · a7fda04b
      Krzysztof Kozlowski authored
      The driver was always parsing "s5m8767,pmic-buck-default-dvs-idx", not
      "s5m8767,pmic-buck234-default-dvs-idx".
      
      Cc: <stable@vger.kernel.org>
      Fixes: 26aec009 ("regulator: add device tree support for s5m8767")
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Message-Id: <20211008113723.134648-3-krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      a7fda04b
    • Krzysztof Kozlowski's avatar
      regulator: s5m8767: do not use reset value as DVS voltage if GPIO DVS is disabled · b16bef60
      Krzysztof Kozlowski authored
      The driver and its bindings, before commit 04f9f068 ("regulator:
      s5m8767: Modify parsing method of the voltage table of buck2/3/4") were
      requiring to provide at least one safe/default voltage for DVS registers
      if DVS GPIO is not being enabled.
      
      IOW, if s5m8767,pmic-buck2-uses-gpio-dvs is missing, the
      s5m8767,pmic-buck2-dvs-voltage should still be present and contain one
      voltage.
      
      This requirement was coming from driver behavior matching this condition
      (none of DVS GPIO is enabled): it was always initializing the DVS
      selector pins to 0 and keeping the DVS enable setting at reset value
      (enabled).  Therefore if none of DVS GPIO is enabled in devicetree,
      driver was configuring the first DVS voltage for buck[234].
      
      Mentioned commit 04f9f068 ("regulator: s5m8767: Modify parsing
      method of the voltage table of buck2/3/4") broke it because DVS voltage
      won't be parsed from devicetree if DVS GPIO is not enabled.  After the
      change, driver will configure bucks to use the register reset value as
      voltage which might have unpleasant effects.
      
      Fix this by relaxing the bindings constrain: if DVS GPIO is not enabled
      in devicetree (therefore DVS voltage is also not parsed), explicitly
      disable it.
      
      Cc: <stable@vger.kernel.org>
      Fixes: 04f9f068 ("regulator: s5m8767: Modify parsing method of the voltage table of buck2/3/4")
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      Message-Id: <20211008113723.134648-2-krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      b16bef60
    • Krzysztof Kozlowski's avatar
      regulator: dt-bindings: maxim,max8973: convert to dtschema · 19cd2b14
      Krzysztof Kozlowski authored
      Convert the Maxim MAX8973 regulator to DT schema format.  Extend the
      examples with more advanced one for MAX77621 copied from kernel's
      nvidia/tegra210-smaug.dts, licensed under GPL-2.0.
      Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Message-Id: <20211008114755.148279-1-krzysztof.kozlowski@canonical.com>
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      19cd2b14
  3. 07 Oct, 2021 1 commit
  4. 04 Oct, 2021 2 commits
  5. 01 Oct, 2021 2 commits
  6. 30 Sep, 2021 1 commit
  7. 27 Sep, 2021 2 commits
  8. 22 Sep, 2021 1 commit
    • Mark Brown's avatar
      spi: Check we have a spi_device_id for each DT compatible · 5fa6863b
      Mark Brown authored
      Currently for SPI devices we use the spi_device_id for module autoloading
      even on systems using device tree, meaning that listing a compatible string
      in the of_match_table isn't enough to have the module for a SPI driver
      autoloaded.
      
      We attempted to fix this by generating OF based modaliases for devices
      instantiated from DT in 3ce6c9e2 ("spi: add of_device_uevent_modalias
      support") but this meant we no longer reported spi_device_id based aliases
      which broke drivers such as spi-nor which don't list all the compatible
      strings they support directly for DT, and in at least that case it's not
      super practical to do so given the very large number of compatibles
      needed, much larger than the number spi_device_ids due to vendor strings.
      As a result fell back to using spi_device_id based modalises.
      
      Try to close the gap by printing a warning when a SPI driver has a DT
      compatible that won't be matched as a SPI device ID with the goal of having
      drivers provide both. Given fallback compatibles this check is going to be
      excessive but it should be robust which is probably more important here.
      Signed-off-by: default avatarMark Brown <broonie@kernel.org>
      Link: https://lore.kernel.org/r/20210921192149.50740-1-broonie@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      5fa6863b
  9. 20 Sep, 2021 1 commit
  10. 15 Sep, 2021 1 commit
  11. 13 Sep, 2021 6 commits
  12. 12 Sep, 2021 12 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
    • Linus Torvalds's avatar
      Merge tag 'sched_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 56c24438
      Linus Torvalds authored
      Pull scheduler fixes from Borislav Petkov:
      
       - Make sure the idle timer expires in hardirq context, on PREEMPT_RT
      
       - Make sure the run-queue balance callback is invoked only on the
         outgoing CPU
      
      * tag 'sched_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched: Prevent balance_push() on remote runqueues
        sched/idle: Make the idle timer expire in hard interrupt context
      56c24438
    • Linus Torvalds's avatar
      Merge tag 'locking_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 165d05d8
      Linus Torvalds authored
      Pull locking fixes from Borislav Petkov:
      
       - Fix the futex PI requeue machinery to not return to userspace in
         inconsistent state
      
       - Avoid a potential null pointer dereference in the ww_mutex deadlock
         check
      
       - Other smaller cleanups and optimizations
      
      * tag 'locking_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/rtmutex: Fix ww_mutex deadlock check
        futex: Remove unused variable 'vpid' in futex_proxy_trylock_atomic()
        futex: Avoid redundant task lookup
        futex: Clarify comment for requeue_pi_wake_futex()
        futex: Prevent inconsistent state and exit race
        futex: Return error code instead of assigning it without effect
        locking/rwsem: Add missing __init_rwsem() for PREEMPT_RT
      165d05d8
    • Linus Torvalds's avatar
      Merge tag 'timers_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 7bf31426
      Linus Torvalds authored
      Pull timer fix from Borislav Petkov:
      
       - Handle negative second values properly when converting a timespec64
         to nanoseconds.
      
      * tag 'timers_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        time: Handle negative seconds correctly in timespec64_to_ns()
      7bf31426
    • Linus Torvalds's avatar
      Merge branch 'misc.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · fdfc3463
      Linus Torvalds authored
      Pull namei updates from Al Viro:
       "Clearing fallout from mkdirat in io_uring series. The fix in the
        kern_path_locked() patch plus associated cleanups"
      
      * 'misc.namei' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        putname(): IS_ERR_OR_NULL() is wrong here
        namei: Standardize callers of filename_create()
        namei: Standardize callers of filename_lookup()
        rename __filename_parentat() to filename_parentat()
        namei: Fix use after free in kern_path_locked
      fdfc3463
    • Linus Torvalds's avatar
      Merge tag '5.15-rc-cifs-part2' of git://git.samba.org/sfrench/cifs-2.6 · 8d4a0b5d
      Linus Torvalds authored
      Pull smbfs updates from Steve French:
       "cifs/smb3 updates:
      
         - DFS reconnect fix
      
         - begin creating common headers for server and client
      
         - rename the cifs_common directory to smbfs_common to be more
           consistent ie change use of the name cifs to smb (smb3 or smbfs is
           more accurate, as the very old cifs dialect has long been
           superseded by smb3 dialects).
      
        In the future we can rename the fs/cifs directory to fs/smbfs.
      
        This does not include the set of multichannel fixes nor the two
        deferred close fixes (they are still being reviewed and tested)"
      
      * tag '5.15-rc-cifs-part2' of git://git.samba.org/sfrench/cifs-2.6:
        cifs: properly invalidate cached root handle when closing it
        cifs: move SMB FSCTL definitions to common code
        cifs: rename cifs_common to smbfs_common
        cifs: update FSCTL definitions
      8d4a0b5d
  13. 11 Sep, 2021 2 commits
    • Linus Torvalds's avatar
      Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost · 78e70952
      Linus Torvalds authored
      Pull virtio updates from Michael Tsirkin:
      
       - vduse driver ("vDPA Device in Userspace") supporting emulated virtio
         block devices
      
       - virtio-vsock support for end of record with SEQPACKET
      
       - vdpa: mac and mq support for ifcvf and mlx5
      
       - vdpa: management netlink for ifcvf
      
       - virtio-i2c, gpio dt bindings
      
       - misc fixes and cleanups
      
      * tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost: (39 commits)
        Documentation: Add documentation for VDUSE
        vduse: Introduce VDUSE - vDPA Device in Userspace
        vduse: Implement an MMU-based software IOTLB
        vdpa: Support transferring virtual addressing during DMA mapping
        vdpa: factor out vhost_vdpa_pa_map() and vhost_vdpa_pa_unmap()
        vdpa: Add an opaque pointer for vdpa_config_ops.dma_map()
        vhost-iotlb: Add an opaque pointer for vhost IOTLB
        vhost-vdpa: Handle the failure of vdpa_reset()
        vdpa: Add reset callback in vdpa_config_ops
        vdpa: Fix some coding style issues
        file: Export receive_fd() to modules
        eventfd: Export eventfd_wake_count to modules
        iova: Export alloc_iova_fast() and free_iova_fast()
        virtio-blk: remove unneeded "likely" statements
        virtio-balloon: Use virtio_find_vqs() helper
        vdpa: Make use of PFN_PHYS/PFN_UP/PFN_DOWN helper macro
        vsock_test: update message bounds test for MSG_EOR
        af_vsock: rename variables in receive loop
        virtio/vsock: support MSG_EOR bit processing
        vhost/vsock: support MSG_EOR bit processing
        ...
      78e70952
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.15-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · b79bd0d5
      Linus Torvalds authored
      Pull more RISC-V updates from Palmer Dabbelt:
      
       - A pair of defconfig additions, for NVMe and the EFI filesystem
         localization options.
      
       - A larger address space for stack randomization.
      
       - A cleanup to our install rules.
      
       - A DTS update for the Microchip Icicle board, to fix the serial
         console.
      
       - Support for build-time table sorting, which allows us to have
         __ex_table read-only.
      
      * tag 'riscv-for-linus-5.15-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Move EXCEPTION_TABLE to RO_DATA segment
        riscv: Enable BUILDTIME_TABLE_SORT
        riscv: dts: microchip: mpfs-icicle: Fix serial console
        riscv: move the (z)install rules to arch/riscv/Makefile
        riscv: Improve stack randomisation on RV64
        riscv: defconfig: enable NLS_CODEPAGE_437, NLS_ISO8859_1
        riscv: defconfig: enable BLK_DEV_NVME
      b79bd0d5