Skip to content
Permalink
Marijn-Suijten…
Switch branches/tags

Commits on Nov 12, 2021

  1. arm64: dt: qcom: pm660l: Remove board-specific WLED configuration

    This string- and electrical configuration depend on the board and panel,
    and should hence not be defined generically for every user of pm660l.
    SoMainline will pick this configuration again when enabling WLED on the
    Sony Nile platform.
    
    Fixes: 7b56a80 ("arm64: dts: qcom: pm660l: Add WLED support")
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  2. arm64: dts: qcom: Move WLED num-strings from pmi8994 to sony-xperia-tone

    The number of WLED strings used by a certain platform depend on the
    panel connected to that board and may not be the same for every user of
    pmi8994.
    
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  3. arm64: dts: qcom: pmi8994: Remove hardcoded linear WLED enabled-strings

    The driver now sets an appropriate default for WLED4 (and WLED5) just
    like WLED3 making this linear array from 0-3 redundant.  In addition the
    driver is now able to parse arrays of variable length solving the "all
    four strings *have to* be defined" comment.
    
    Besides the driver will now warn when both properties are specified to
    prevent ambiguity: the length of the array is enough to imply a set
    number of strings.
    
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  4. arm64: dts: qcom: pmi8994: Fix "eternal"->"external" typo in WLED node

    The property is named "qcom,external-pfet", as found by
    dt_binding_check:
    
        'qcom,eternal-pfet' does not match any of the regexes
    
    Fixes: 37aa540 ("arm64: dts: qcom: pmi8994: Add WLED node")
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  5. backlight: qcom-wled: Respect enabled-strings in set_brightness

    The hardware is capable of controlling any non-contiguous sequence of
    LEDs specified in the DT using qcom,enabled-strings as u32
    array, and this also follows from the DT-bindings documentation.  The
    numbers specified in this array represent indices of the LED strings
    that are to be enabled and disabled.
    
    Its value is appropriately used to setup and enable string modules, but
    completely disregarded in the set_brightness paths which only iterate
    over the number of strings linearly.
    Take an example where only string 2 is enabled with
    qcom,enabled_strings=<2>: this string is appropriately enabled but
    subsequent brightness changes would have only touched the zero'th
    brightness register because num_strings is 1 here.  This is simply
    addressed by looking up the string for this index in the enabled_strings
    array just like the other codepaths that iterate over num_strings.
    
    Likewise enabled_strings is now also used in the autodetection path for
    consistent behaviour: when a list of strings is specified in DT only
    those strings will be probed for autodetection, analogous to how the
    number of strings that need to be probed is already bound by
    qcom,num-strings.  After all autodetection uses the set_brightness
    helpers to set an initial value, which could otherwise end up changing
    brightness on a different set of strings.
    
    Fixes: 775d2ff ("backlight: qcom-wled: Restructure the driver for WLED3")
    Fixes: 03b2b5e ("backlight: qcom-wled: Add support for WLED4 peripheral")
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  6. backlight: qcom-wled: Remove unnecessary double whitespace

    Remove redundant spaces inside for loop conditions.  No other double
    spaces were found that are not part of indentation with `[^\s]  `.
    
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  7. backlight: qcom-wled: Provide enabled_strings default for WLED 4 and 5

    Only WLED 3 sets a sensible default that allows operating this driver
    with just qcom,num-strings in the DT; WLED 4 and 5 require
    qcom,enabled-strings to be provided otherwise enabled_strings remains
    zero-initialized, resuling in every string-specific register write
    (currently only the setup and config functions, brightness follows in a
    future patch) to only configure the zero'th string multiple times.
    
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  8. backlight: qcom-wled: Remove unnecessary 4th default string in WLED3

    The previous commit improves num_strings parsing to not go over the
    maximum of 3 strings for WLED3 anymore.  Likewise this default index for
    a hypothetical 4th string is invalid and could access registers that are
    not mapped to the desired purpose.
    Removing this value gets rid of undesired confusion and avoids the
    possibility of accessing registers at this offset even if the 4th array
    element is used by accident.
    
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  9. backlight: qcom-wled: Override default length with qcom,enabled-strings

    The length of qcom,enabled-strings as property array is enough to
    determine the number of strings to be enabled, without needing to set
    qcom,num-strings to override the default number of strings when less
    than the default (which is also the maxium) is provided in DT.
    
    Fixes: 775d2ff ("backlight: qcom-wled: Restructure the driver for WLED3")
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  10. backlight: qcom-wled: Fix off-by-one maximum with default num_strings

    When not specifying num-strings in the DT the default is used, but +1 is
    added to it which turns WLED3 into 4 and WLED4/5 into 5 strings instead
    of 3 and 4 respectively, causing out-of-bounds reads and register
    read/writes.  This +1 exists for a deficiency in the DT parsing code,
    and is simply omitted entirely - solving this oob issue - by parsing the
    property separately much like qcom,enabled-strings.
    
    This also allows more stringent checks on the maximum value when
    qcom,enabled-strings is provided in the DT.  Note that num-strings is
    parsed after enabled-strings to give it final sign-off over the length,
    which DT currently utilizes to get around an incorrect fixed read of
    four elements from that array (has been addressed in a prior patch).
    
    Fixes: 93c64f1 ("leds: add Qualcomm PM8941 WLED driver")
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-By: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  11. backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion

    The kernel already provides appropriate primitives to perform endianness
    conversion which should be used in favour of manual bit-wrangling.
    
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  12. backlight: qcom-wled: Pass number of elements to read to read_u32_array

    of_property_read_u32_array takes the number of elements to read as last
    argument. This does not always need to be 4 (sizeof(u32)) but should
    instead be the size of the array in DT as read just above with
    of_property_count_elems_of_size.
    
    To not make such an error go unnoticed again the driver now bails
    accordingly when of_property_read_u32_array returns an error.
    Surprisingly the indentation of newlined arguments is lining up again
    after prepending `rc = `.
    
    Fixes: 775d2ff ("backlight: qcom-wled: Restructure the driver for WLED3")
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021
  13. backlight: qcom-wled: Validate enabled string indices in DT

    The strings passed in DT may possibly cause out-of-bounds register
    accesses and should be validated before use.
    
    Fixes: 775d2ff ("backlight: qcom-wled: Restructure the driver for WLED3")
    Signed-off-by: Marijn Suijten <marijn.suijten@somainline.org>
    Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
    MarijnS95 authored and intel-lab-lkp committed Nov 12, 2021

Commits on Oct 20, 2021

  1. video: backlight: ili9320: Make ili9320_remove() return void

    Up to now ili9320_remove() returns zero unconditionally. Make it return
    void instead which makes it easier to see in the callers that there is
    no error to handle.
    
    Also the return value of spi remove callbacks is ignored anyway.
    
    Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
    Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    Link: https://lore.kernel.org/r/20211019120927.3822792-1-u.kleine-koenig@pengutronix.de
    ukleinek authored and lag-linaro committed Oct 20, 2021

Commits on Sep 23, 2021

  1. backlight: Propagate errors from get_brightness()

    backlight.h documents "struct backlight_ops->get_brightness()" to return
    a negative errno on failure.
    
    So far these errors have not been handled in the backlight core.
    This leads to negative values being exposed through sysfs although only
    positive values are documented to be reported.
    
    Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
    Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    t-8ch authored and lag-linaro committed Sep 23, 2021

Commits on Sep 22, 2021

  1. video: backlight: Drop maximum brightness override for brightness zero

    The note in c2adda2 ("video: backlight: Add of_find_backlight helper
    in backlight.c") says that gpio-backlight uses brightness as power state.
    This has been fixed since in ec665b7 ("backlight: gpio-backlight:
    Correct initial power state handling") and other backlight drivers do not
    require this workaround. Drop the workaround.
    
    This fixes the case where e.g. pwm-backlight can perfectly well be set to
    brightness 0 on boot in DT, which without this patch leads to the display
    brightness to be max instead of off.
    
    Fixes: c2adda2 ("video: backlight: Add of_find_backlight helper in backlight.c")
    Cc: <stable@vger.kernel.org> # 5.4+
    Cc: <stable@vger.kernel.org> # 4.19.x: ec665b7: backlight: gpio-backlight: Correct initial power state handling
    Signed-off-by: Marek Vasut <marex@denx.de>
    Acked-by: Noralf Trønnes <noralf@tronnes.org>
    Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    Marek Vasut authored and lag-linaro committed Sep 22, 2021

Commits on Sep 12, 2021

  1. Linux 5.15-rc1

    torvalds committed Sep 12, 2021
  2. Merge tag 'perf-tools-for-v5.15-2021-09-11' of git://git.kernel.org/p…

    …ub/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
      ...
    torvalds committed Sep 12, 2021
  3. Merge tag 'compiler-attributes-for-linus-v5.15-rc1-v2' of git://githu…

    …b.com/ojeda/linux
    
    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
    torvalds committed Sep 12, 2021
  4. Merge tag 'auxdisplay-for-linus-v5.15-rc1' of git://github.com/ojeda/…

    …linux
    
    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
    torvalds committed Sep 12, 2021
  5. Merge tag 'smp-urgent-2021-09-12' of git://git.kernel.org/pub/scm/lin…

    …ux/kernel/git/tip/tip
    
    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()
    torvalds committed Sep 12, 2021
  6. 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
    torvalds committed Sep 12, 2021
  7. Merge tag 'for-linus-5.15-1' of git://github.com/cminyard/linux-ipmi

    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
    torvalds committed Sep 12, 2021
  8. Merge tag 'sched_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/sc…

    …m/linux/kernel/git/tip/tip
    
    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
    torvalds committed Sep 12, 2021
  9. Merge tag 'locking_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/…

    …scm/linux/kernel/git/tip/tip
    
    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
    torvalds committed Sep 12, 2021
  10. Merge tag 'timers_urgent_for_v5.15_rc1' of git://git.kernel.org/pub/s…

    …cm/linux/kernel/git/tip/tip
    
    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()
    torvalds committed Sep 12, 2021
  11. Merge branch 'misc.namei' of git://git.kernel.org/pub/scm/linux/kerne…

    …l/git/viro/vfs
    
    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
    torvalds committed Sep 12, 2021
  12. Merge tag '5.15-rc-cifs-part2' of git://git.samba.org/sfrench/cifs-2.6

    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
    torvalds committed Sep 12, 2021

Commits on Sep 11, 2021

  1. Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/mst/vhost
    
    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
      ...
    torvalds committed Sep 11, 2021
  2. Merge tag 'riscv-for-linus-5.15-mw1' of git://git.kernel.org/pub/scm/…

    …linux/kernel/git/riscv/linux
    
    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
    torvalds committed Sep 11, 2021
  3. Merge branch 'for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/…

    …git/jlawall/linux
    
    Pull coccinelle updates from Julia Lawall:
     "These changes update some existing semantic patches with
      respect to some recent changes in the kernel.
    
      Specifically, the change to kvmalloc.cocci searches for
      kfree_sensitive rather than kzfree, and the change to
      use_after_iter.cocci adds list_entry_is_head as a valid
      use of a list iterator index variable after the end of
      the loop"
    
    * 'for-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/jlawall/linux:
      scripts: coccinelle: allow list_entry_is_head() to use pos
      coccinelle: api: rename kzfree to kfree_sensitive
    torvalds committed Sep 11, 2021
  4. tools headers UAPI: Update tools's copy of drm.h headers

    Picking the changes from:
    
      17ce9c6 ("drm: document DRM_IOCTL_MODE_RMFB")
    
    Doesn't result in any tooling changes:
    
      $ tools/perf/trace/beauty/drm_ioctl.sh  > before
      $ cp include/uapi/drm/drm.h tools/include/uapi/drm/drm.h
      $ tools/perf/trace/beauty/drm_ioctl.sh  > after
      $ diff -u before after
    
    Silencing these perf build warnings:
    
      Warning: Kernel ABI header at 'tools/include/uapi/drm/drm.h' differs from latest version at 'include/uapi/drm/drm.h'
      diff -u tools/include/uapi/drm/drm.h include/uapi/drm/drm.h
    
    Cc: Simon Ser <contact@emersion.fr>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Arnaldo Carvalho de Melo committed Sep 11, 2021
  5. tools headers UAPI: Sync drm/i915_drm.h with the kernel sources

    To pick the changes in:
    
      b65a948 ("drm/i915/userptr: Probe existence of backing struct pages upon creation")
      ee242ca ("drm/i915/guc: Implement GuC priority management")
      81340cf ("drm/i915/uapi: reject set_domain for discrete")
      7961c5b ("drm/i915: Add TTM offset argument to mmap.")
      aef7b67 ("drm/i915/uapi: convert drm_i915_gem_userptr to kernel doc")
      e7737b6 ("drm/i915/uapi: reject caching ioctls for discrete")
      3aa8c57 ("drm/i915/uapi: convert drm_i915_gem_set_domain to kernel doc")
      289f5a7 ("drm/i915/uapi: convert drm_i915_gem_caching to kernel doc")
      4a766ae ("drm/i915: Drop the CONTEXT_CLONE API (v2)")
      6ff6d61 ("drm/i915: Drop I915_CONTEXT_PARAM_NO_ZEROMAP")
      fe4751c ("drm/i915: Drop I915_CONTEXT_PARAM_RINGSIZE")
      5777295 ("drm/i915: Document the Virtual Engine uAPI")
      c649432 ("drm/i915: Fix busy ioctl commentary")
    
    That doesn't result in any changes to tooling as no new ioctl were
    added (at least not perceived by tools/perf/trace/beauty/drm_ioctl.sh).
    
    Addressing this perf build warning:
    
      Warning: Kernel ABI header at 'tools/include/uapi/drm/i915_drm.h' differs from latest version at 'include/uapi/drm/i915_drm.h'
      diff -u tools/include/uapi/drm/i915_drm.h include/uapi/drm/i915_drm.h
    
    Cc: Chris Wilson <chris@chris-wilson.co.uk>
    Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
    Cc: Jason Ekstrand <jason@jlekstrand.net>
    Cc: John Harrison <John.C.Harrison@Intel.com>
    Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
    Cc: Matthew Auld <matthew.auld@intel.com>
    Cc: Matthew Brost <matthew.brost@intel.com>
    Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Arnaldo Carvalho de Melo committed Sep 11, 2021
  6. tools headers UAPI: Sync linux/fs.h with the kernel sources

    To pick the change in:
    
      7957d93 ("block: add ioctl to read the disk sequence number")
    
    It adds a new ioctl, but we are still not using that to generate tables
    for 'perf trace', so no changes in tooling.
    
    This silences this perf build warning:
    
      Warning: Kernel ABI header at 'tools/include/uapi/linux/fs.h' differs from latest version at 'include/uapi/linux/fs.h'
      diff -u tools/include/uapi/linux/fs.h include/uapi/linux/fs.h
    
    Cc: Jens Axboe <axboe@kernel.dk>
    Cc: Matteo Croce <mcroce@microsoft.com>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Arnaldo Carvalho de Melo committed Sep 11, 2021
  7. tools headers UAPI: Sync linux/in.h copy with the kernel sources

    To pick the changes in:
    
      db243b7 ("net/ipv4/ipv6: Replace one-element arraya with flexible-array members")
      2d3e5ca ("net/ipv4: Replace one-element array with flexible-array member")
    
    That don't result in any change in tooling, the structs changed remains
    with the same layout.
    
    This addresses this build warning:
    
      Warning: Kernel ABI header at 'tools/include/uapi/linux/in.h' differs from latest version at 'include/uapi/linux/in.h'
      diff -u tools/include/uapi/linux/in.h include/uapi/linux/in.h
    
    Cc: David S. Miller <davem@davemloft.net>
    Cc: Gustavo A. R. Silva <gustavoars@kernel.org>
    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Arnaldo Carvalho de Melo committed Sep 11, 2021
Older