Commit Graph
18214 Commits
Author SHA1 Message Date
CKI KWF Bot 4932196eca Merge: [RHEL 10.3]: rebase HID subsystem to 7.1
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2819

This is the usual rebase of the HID subsystem up to kernel v7.1 for 10.3.

```
JIRA: https://issues.redhat.com/browse/RHEL-170872
JIRA: https://redhat.atlassian.net/browse/RHEL-183865

Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2636

All following omitted-fix are not in drivers/hid/ and can thus safely be ignored:
Omitted-fix: fd1d6b9d13f35dccbacbae25ed53593cd9086f84 # xz not part of this MR
Omitted-fix: 96a7b71c4438d3b72d6c95e3efdc9e8e8aee6b78 # ubd not part of this MR
Omitted-fix: 795469820c638b4449f3bb90ee5e98ebccfbc480 # kcsan not part of this MR
Omitted-fix: 5548dd7fa84510f7bbce67c35cc3b388c86aeddf # testing/vma and testing/radix-tree not parts of this MR
Omitted-fix: 405ca72dc589dd746e5ee5378bb9d9ee7f844010 # landlock not part of this MR
Omitted-fix: 4c0134639694fcdc4ab041d7c53d6188a3e18040 # KVM not part of this MR
Omitted-fix: 4c6d43db2a4d2cef3921e885cf34798f790d34ea # net: dst_metadata not part of this MR
Omitted-fix: 01793374319cdb685bd487633bbd8bd57f416172 # m68k: defconfig not part of this MR
Omitted-fix: 94ff7c59cdfde3a16ab830531acbcb3091b292eb # RDMA not part of this MR
Omitted-fix: 2d2b5507e598984f5832f0c5193f35733c42995e # btrfs not part of this MR
Omitted-fix: 94ff7c59cdfde3a16ab830531acbcb3091b292eb # RDMA not part of this MR
Omitted-fix: 9f4ab0787e7bf6d2c709207317e9d4cd43909869 # btrfs not part of this MR
Omitted-fix: 37f1f51fba1a4320149b1ea3b21d254d4b221b0a # btrfs not part of this MR

Following one was silently dropped from Linus's tree during 7.2 pull request from Jiri Kosina, my HID co-maintainer:
Omitted-fix: d0ff08d946c83b51359a8063c41e9f5af067e628 # not making any effect in 7.2-rc1, silently dropped in a merge commit
```

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>

Approved-by: Jarod Wilson <jarod@redhat.com>
Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: Eric Chanudet <echanude@redhat.com>
Approved-by: Andrea Arcangeli <aarcange@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: Barry Dunn <badunn@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-08-14 18:58:51 +00:00
CKI KWF Bot 9065da685e Merge: stmmac driver update up to v6.17+
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2113

This MR was opened with patches from a previous MR due to difference conflicts.

Omitted-fix: eb6ac268a7c9b9e1c57daac4c68b634049d3d8c6 mips: configs: loongson1: Update defconfig

Omitted-fix: 89886abd073489e26614e4d80fb8eb70d3938a0b net: stmmac: dwc-qos: fix clk prepare/enable leak on probe failure

Omitted-fix: 8cff9dbe89d8bd44d9a5e631c9394dd3901ffd79 net: stmmac: Update default_an_inband before passing value to phylink_config

JIRA: https://issues.redhat.com/browse/RHEL-128151
JIRA: https://issues.redhat.com/browse/RHEL-100501

Signed-off-by: Izabela Bakollari <ibakolla@redhat.com>

Approved-by: Ivan Vecera <ivecera@redhat.com>
Approved-by: Jakub Ramaseuski <jramaseu@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-08-13 08:29:31 +00:00
CKI KWF Bot 75cc90f647 Merge: media: rebase the media to the upstream release 7.2-1
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2573

JIRA: https://redhat.atlassian.net/browse/RHEL-162129
JIRA: https://redhat.atlassian.net/browse/RHEL-23291

This work rebase the media tree against 06cb687a5132 (media: v4l2-fwnode: Fix subdev owner overwritten in v4l2_async_register_subdev_sensor())

This work rebased the kernel media to the upstream commit.
The major changes include:
1. IPU6 update.
2. The fixes for ov01a10 and also add support for ov01a1b image sensor.
3. Update the sensor IDs in ipu-bridge drivers.
4. UVC camera updates.
5. Include and enable AMD ISP4 (RHEL-23291)

Omitted-fix: 04344d0b4929caa94c0df72f767752aa0935ef5d (airspy)
Omitted-fix: 7201c17786a498497bca57752883b90914d405ac (msi2500)
Omitted-fix: 33ca0aab6f4bd90921fc1395478f38f72c4d19af (rtl2832_sdr)
Omitted-fix: ffc8eec06378a340d708c889184ab3e14b57d540 (stm32-dcmipp)
Omitted-fix: bbba3e260a62810a717b4442a3bb96d0ec0f6309 (sun4i-csi)
airspy, msi2500, rtl2832_sdr, stm32-dcmipp, and sun4i-csi aren't enabled in RHEL10

Depends: !2677

Signed-off-by: Kate Hsuan <hpa@redhat.com>

Approved-by: Karol Herbst <kherbst@redhat.com>
Approved-by: Jarod Wilson <jarod@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-08-11 13:37:03 +00:00
CKI KWF Bot 31daee32f1 Merge: [RHEL-10] Update MM-core codebase and its dependencies to upstream v6.17
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2316

JIRA: https://issues.redhat.com/browse/RHEL-145695

Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2267

List of CVEs addressed by this update:
    CVE: CVE-2026-43388
    CVE: CVE-2026-23012
    CVE: CVE-2026-31653
    CVE: CVE-2025-40008
    CVE: CVE-2025-40006
    CVE: CVE-2025-39877
    CVE: CVE-2025-39910
    CVE: CVE-2025-39916
    CVE: CVE-2025-39909
    CVE: CVE-2025-39845
    CVE: CVE-2025-39844
    CVE: CVE-2025-39899
    CVE: CVE-2025-39902
    CVE: CVE-2025-39775
    CVE: CVE-2025-38686
    CVE: CVE-2025-38554
    CVE: CVE-2025-39700
    CVE: CVE-2025-38681

Set of changes to level the RHEL-10 MM-core and dependencies codebase up to upstream's v6.17 (stable).

The following set of "omitted-fixes" is not critical, and the commits in the list below will eventually
be picked up later on, without causing any further conflicts, when we wrap up the update work with v6.18 LTS.

Omitted-fix: 1442bb87b878 ("s390/boot: Use entire page for PTEs")
Omitted-fix: b4a96ab50f36 ("powerpc/kdump: Add support for crashkernel CMA reservation")
Omitted-fix: 4ba5a8a7faa6 ("vmw_balloon: indicate success when effectively deflating during migration")
Omitted-fix: 51e38e7d40d6 ("mm: add remap_pfn_range_prepare(), remap_pfn_range_complete()")
Omitted-fix: dd3b304b9410 ("mm/page_alloc: use xxx_pageblock_isolate() for better reading")
Omitted-fix: f04aad36a07c ("mm/ksm: fix flag-dropping behavior in ksm_madvise")
Omitted-fix: c373f7f98e6a ("mm/sparse-vmemmap: fix vmemmap accounting underflow")
Omitted-fix: 7e89979f6695 ("include/linux/pgtable.h: convert arch_enter_lazy_mmu_mode() and friends to static inlines")
Omitted-fix: 84f4928446e6 ("tools/testing/selftests: add merge test for partial msealed range")
Omitted-fix: bce1dabd310e ("selftests/mm: fix usage of FORCE_READ() in cow tests")
Omitted-fix: d7484f6edd31 ("Docs/mm/damon/design: fix wrong link to intervals goal section")
Omitted-fix: 1736047a4e96 ("mm/damon/core: cleanup targets and regions at once on kdamond termination")
Omitted-fix: 0199390a6b92 ("mm/damon/sysfs: dealloc repeat_call_control if damon_call() fails")
Omitted-fix: 4c04c6b47c36 ("mm/damon/stat: deallocate damon_call() failure leaking damon_ctx")
Omitted-fix: 7e6cc35f5283 ("mm/damon/core: trace esz at first setup")
Omitted-fix: 2f6ce7e714ef ("mm/damon/stat: change last_refresh_jiffies to a global variable")
Omitted-fix: 84481e705ab0 ("mm/damon/stat: monitor all System RAM resources")
Omitted-fix: e04ed278d25b ("mm/damon/stat: fix memory leak on damon_start() failure in damon_stat_start()")
Omitted-fix: f98590bc08d4 ("mm/damon/stat: detect and use fresh enabled value")
Omitted-fix: 7746d72c6405 ("samples/damon/mtier: fail early if address range parameters are invalid")
Omitted-fix: c62cff40481c ("samples/damon/mtier: avoid starting DAMON before initialization")
Omitted-fix: e6b733ca2f99 ("samples/damon/prcl: avoid starting DAMON before initialization")
Omitted-fix: f826edeb888c ("samples/damon/wsse: avoid starting DAMON before initialization")

Signed-off-by: Rafael Aquini <raquini@redhat.com>

Approved-by: Luiz Capitulino <luizcap@redhat.com>
Approved-by: Ricardo Robaina <rrobaina@redhat.com>
Approved-by: Eder Zulian <ezulian@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: ashelat <ashelat@redhat.com>
Approved-by: José Expósito <jexposit@redhat.com>
Approved-by: Michael Petlan <mpetlan@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-08-11 13:36:57 +00:00
Kate Hsuan 8b1189b075 Documentation: add documentation of AMD isp 4 driver
JIRA: https://redhat.atlassian.net/browse/RHEL-162129
JIRA: https://redhat.atlassian.net/browse/RHEL-23291

commit 3cd9b7011519c3fffffb7b6752fc7603be52dc1d
Author: Bin Du <Bin.Du@amd.com>
Date: Wed, 6 May 2026 17:32:49 +0800

  Add documentation for AMD ISP 4 and describe the main components

  Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Bin Du <Bin.Du@amd.com>
  Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
  Reviewed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Tested-by: Alexey Zagorodnikov <xglooom@gmail.com>
  Tested-by: Kate Hsuan <hpa@redhat.com>
  Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2026-08-07 16:13:41 +08:00
Kate Hsuan 627bff32f3 media: platform: amd: isp4 debug fs logging and more descriptive errors
JIRA: https://redhat.atlassian.net/browse/RHEL-162129
JIRA: https://redhat.atlassian.net/browse/RHEL-23291

commit ec4bec227b9d3796cb78af0d3d9bcdd26f0769c5
Author: Bin Du <Bin.Du@amd.com>
Date: Wed, 6 May 2026 17:32:48 +0800

  Add debug fs for isp4 driver and add more detailed descriptive error info
  to some of the log message

  Co-developed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Bin Du <Bin.Du@amd.com>
  Reviewed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Tested-by: Alexey Zagorodnikov <xglooom@gmail.com>
  Tested-by: Kate Hsuan <hpa@redhat.com>
  Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2026-08-07 16:13:41 +08:00
Kate Hsuan 3730fa12c1 media: platform: amd: isp4 video node and buffers handling added
JIRA: https://redhat.atlassian.net/browse/RHEL-162129
JIRA: https://redhat.atlassian.net/browse/RHEL-23291

commit 2ccf48af22709b90ea9419cd828c92652d7709ac
Author: Bin Du <Bin.Du@amd.com>
Date: Wed, 6 May 2026 17:32:47 +0800

  Isp video implements v4l2 video interface and supports NV12 and YUYV. It
  manages buffers, pipeline power and state. Cherry-picked Sultan's DMA
  buffer related fix from branch v6.16-drm-tip-isp4-for-amd on
  https://github.com/kerneltoast/kernel_x86_laptop.git

  Co-developed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Bin Du <Bin.Du@amd.com>
  Reviewed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Tested-by: Alexey Zagorodnikov <xglooom@gmail.com>
  Tested-by: Kate Hsuan <hpa@redhat.com>
  Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2026-08-07 16:13:41 +08:00
Kate Hsuan 40529b5569 media: platform: amd: isp4 subdev and firmware loading handling added
JIRA: https://redhat.atlassian.net/browse/RHEL-162129
JIRA: https://redhat.atlassian.net/browse/RHEL-23291

commit 4e5e7a7ddb4ab9ac35928d7dc72efc8797639dc3
Author: Bin Du <Bin.Du@amd.com>
Date: Wed, 6 May 2026 17:32:46 +0800

  Isp4 sub-device is implementing v4l2 sub-device interface. It has one
  capture video node, and supports only preview stream. It manages firmware
  states, stream configuration. Add interrupt handling and notification for
  isp firmware to isp-subdevice.

  Co-developed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Bin Du <Bin.Du@amd.com>
  Reviewed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Tested-by: Alexey Zagorodnikov <xglooom@gmail.com>
  Tested-by: Kate Hsuan <hpa@redhat.com>
  Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2026-08-07 16:13:41 +08:00
Kate Hsuan 6f20d4cedd media: platform: amd: Add isp4 fw and hw interface
JIRA: https://redhat.atlassian.net/browse/RHEL-162129
JIRA: https://redhat.atlassian.net/browse/RHEL-23291

commit 4c5feef6a62c22b578344891232872056415a3dd
Author: Bin Du <Bin.Du@amd.com>
Date: Wed, 6 May 2026 17:32:45 +0800

  ISP firmware controls ISP HW pipeline using dedicated embedded processor
  called ccpu. The communication between ISP FW and driver is using commands
  and response messages sent through the ring buffer. Command buffers support
  either global setting that is not specific to the stream and support stream
  specific parameters. Response buffers contain ISP FW notification
  information such as frame buffer done and command done. IRQ is used for
  receiving response buffer from ISP firmware, which is handled in the main
  isp4 media device. ISP ccpu is booted up through the firmware loading
  helper function prior to stream start. Memory used for command buffer and
  response buffer needs to be allocated from amdgpu buffer manager because
  isp4 is a child device of amdgpu.

  Co-developed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Bin Du <Bin.Du@amd.com>
  Reviewed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Tested-by: Alexey Zagorodnikov <xglooom@gmail.com>
  Tested-by: Kate Hsuan <hpa@redhat.com>
  Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2026-08-07 16:13:41 +08:00
Kate Hsuan a712ad5c27 media: platform: amd: low level support for isp4 firmware
JIRA: https://redhat.atlassian.net/browse/RHEL-162129
JIRA: https://redhat.atlassian.net/browse/RHEL-23291

commit f2f2c3547d6283e79de424c3c6e759899608fa1e
Author: Bin Du <Bin.Du@amd.com>
Date: Wed, 6 May 2026 17:32:44 +0800

  Low level functions for accessing the registers and mapping to their
  ranges. This change also includes register definitions for ring buffer
  used to communicate with ISP Firmware. Ring buffer is the communication
  interface between driver and ISP Firmware. Command and responses are
  exchanged through the ring buffer.

  Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Bin Du <Bin.Du@amd.com>
  Reviewed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Tested-by: Alexey Zagorodnikov <xglooom@gmail.com>
  Tested-by: Kate Hsuan <hpa@redhat.com>
  Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2026-08-07 16:13:41 +08:00
Kate Hsuan 304d6cb20a media: platform: amd: Introduce amd isp4 capture driver
JIRA: https://redhat.atlassian.net/browse/RHEL-162129
JIRA: https://redhat.atlassian.net/browse/RHEL-23291

commit 9a54c285630c0072daef5d526c3f0b697e901065
Author: Bin Du <Bin.Du@amd.com>
Date: Wed, 6 May 2026 17:32:43 +0800

  AMD isp4 capture is a v4l2 media device which implements media controller
  interface. It has one sub-device (AMD ISP4 sub-device) endpoint which can
  be connected to a remote CSI2 TX endpoint. It supports only one physical
  interface for now. Also add ISP4 driver related entry info into the
  MAINTAINERS file

  Co-developed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Co-developed-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Svetoslav Stoilov <Svetoslav.Stoilov@amd.com>
  Signed-off-by: Bin Du <Bin.Du@amd.com>
  Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
  Reviewed-by: Sultan Alsawaf <sultan@kerneltoast.com>
  Tested-by: Alexey Zagorodnikov <xglooom@gmail.com>
  Tested-by: Kate Hsuan <hpa@redhat.com>
  Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>

Signed-off-by: Kate Hsuan <hpa@redhat.com>
2026-08-07 16:13:40 +08:00
CKI KWF Bot 1ea525c43b Merge: CNB103: net: Retire DCCP socket
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2649

JIRA: https://redhat.atlassian.net/browse/RHEL-179873

Commits:
```
9aba55b1fbef ("selinux: apply clang format to security/selinux/nlmsgtab.c")
b2bdce7adc90 ("selftest: net: Remove DCCP bits.")
2a63dd0edf38 ("net: Retire DCCP socket.")
22d6c9eebf2e ("net: Unexport shared functions for DCCP.")
235bd9d21fcd ("tcp: Rename tcp_or_dccp_get_hashinfo().")
9db0163e3cad ("tcp: Remove sk_protocol test for tcp_twsk_unique().")
2d842b6c670b ("tcp: Remove timewait_sock_ops.twsk_destructor().")
8150f3a44b17 ("tcp: Remove hashinfo test for inet6?_lookup_run_sk_lookup().")
cb16f4b6c73d ("tcp: Don't pass hashinfo to socket lookup helpers.")
f1241200cd66 ("tcp: Don't pass hashinfo to inet_diag helpers.")
382a4d9cb6dc ("tcp: Move TCP-specific diag functions to tcp_diag.c.")
425e080a1c34 ("dccp Remove inet_hashinfo2_init_mod().")
e7a614c008efb ("selinux: suppress warning flood for retired DCCP netlink messages")
```

Signed-off-by: Ivan Vecera <ivecera@redhat.com>

Approved-by: Ondrej Mosnáček <omosnacek@gmail.com>
Approved-by: Felix Maurer <fmaurer@redhat.com>
Approved-by: Ivan Vecera <ivecera@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-08-06 11:46:37 +00:00
Rafael Aquini 67ce17c48f samples: add a skeleton of a sample DAMON module for working set size estimation
JIRA: https://redhat.atlassian.net/browse/RHEL-145695
Conflicts:
  * samples/Makefile: differences in context due to out-of-order backport of
    commit 2158599a4b6d ("samples: add hung_task detector mutex blocking sample")
  * extra hunks to redhat/configs/ to properly rename the config option files

commit 19d7c3adfdd4adbd286429849ac22ce9cce32477
Author: SeongJae Park <sj@kernel.org>
Date:   Tue Dec 10 13:50:26 2024 -0800

    samples: add a skeleton of a sample DAMON module for working set size estimation

    Patch series "mm/damon: add sample modules".

    Implement a proactive cold memory regions reclaiming logic of prcl sample
    module using DAMOS.  The logic treats memory regions that not accessed at
    all for five or more seconds as cold, and reclaim those as soon as found.

    This patch (of 5):

    Add a skeleton for a sample DAMON static module that can be used for
    estimating working set size of a given process.  Note that it is a static
    module since DAMON is not exporting symbols to loadable modules for now.
    It exposes two module parameters, namely 'pid' and 'enable'.  'pid' will
    specify the process that the module will estimate the working set size of.
    'enable' will receive whether to start or stop the estimation.  Because
    this is just a skeleton, the parameters do nothing, though.  The
    functionalities will be implemented by following commits.

    Link: https://lkml.kernel.org/r/20241210215030.85675-1-sj@kernel.org
    Link: https://lkml.kernel.org/r/20241210215030.85675-2-sj@kernel.org
    Signed-off-by: SeongJae Park <sj@kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-31 14:50:00 -04:00
Paulo Alcantara 68cc7c96bc smb: smbdirect: introduce and use include/linux/smbdirect.h
JIRA: https://issues.redhat.com/browse/RHEL-190706

commit e768103cfbac30a49860aca08a7710d39dbdd470
Author: Stefan Metzmacher <metze@samba.org>
Date:   Wed Apr 29 15:43:36 2026 +0200

    smb: smbdirect: introduce and use include/linux/smbdirect.h
    
    This makes it easier to rebuild cifs.ko and ksmbd.ko against
    a running kernel.
    
    Suggested-by: Christoph Hellwig <hch@infradead.org>
    Link: https://lore.kernel.org/linux-cifs/aehrPuY60VMcYGU8@infradead.org/
    Cc: Steve French <smfrench@gmail.com>
    Cc: Tom Talpey <tom@talpey.com>
    Cc: Long Li <longli@microsoft.com>
    Cc: Namjae Jeon <linkinjeon@kernel.org>
    Cc: Christoph Hellwig <hch@infradead.org>
    Cc: linux-cifs@vger.kernel.org
    Cc: samba-technical@lists.samba.org
    Signed-off-by: Stefan Metzmacher <metze@samba.org>
    Signed-off-by: Steve French <stfrench@microsoft.com>

Signed-off-by: Paulo Alcantara <paalcant@redhat.com>
2026-07-20 20:27:45 -03:00
Paulo Alcantara 663ab3d357 smb: smbdirect: move fs/smb/common/smbdirect/ to fs/smb/smbdirect/
JIRA: https://issues.redhat.com/browse/RHEL-190706

commit 1249c01aa42160e40bc765ba5a3cde751491ff0a
Author: Stefan Metzmacher <metze@samba.org>
Date:   Sun Apr 19 21:20:18 2026 +0200

    smb: smbdirect: move fs/smb/common/smbdirect/ to fs/smb/smbdirect/

    This also removes the smbdirect_ prefix from the files.

    Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
    Link: https://lore.kernel.org/linux-cifs/CAHk-=whmue3PVi88K0UZLZO0at22QhQZ-yu+qO2TOKyZpGqecw@mail.gmail.com/
    Cc: Steve French <smfrench@gmail.com>
    Cc: Tom Talpey <tom@talpey.com>
    Cc: Long Li <longli@microsoft.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: linux-cifs@vger.kernel.org
    Cc: samba-technical@lists.samba.org
    Acked-by: Namjae Jeon <linkinjeon@kernel.org>
    Signed-off-by: Stefan Metzmacher <metze@samba.org>
    Signed-off-by: Steve French <stfrench@microsoft.com>

Signed-off-by: Paulo Alcantara <paalcant@redhat.com>
2026-07-20 20:27:28 -03:00
Paulo Alcantara 3b4d7f62c4 MAINTAINERS: create entry for smbdirect
JIRA: https://issues.redhat.com/browse/RHEL-190706
Conflicts:
	- Remove entry for fs/smb/server in MAINTAINERS as ksmbd isn't
          supported in RHEL.

commit 158f4ff1b809e71a37ea46a6726bbc50b5112221
Author: Steve French <stfrench@microsoft.com>
Date:   Wed Apr 8 09:21:06 2026 -0500

    MAINTAINERS: create entry for smbdirect

    Create entry for the client and server smbdirect code and the new
    smbdirect module, and add Metze as reviewer.

    Acked-by: Namjae Jeon <linkinjeon@kernel.org>
    Signed-off-by: Steve French <stfrench@microsoft.com>

Signed-off-by: Paulo Alcantara <paalcant@redhat.com>
2026-07-20 20:26:58 -03:00
Alexandra Hájková 28d428edb5 Merge: [RHEL-10] Update MM-core codebase and its dependencies to upstream v6.16
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2267

JIRA: https://redhat.atlassian.net/browse/RHEL-145694

Conflict resolution calls for the following dependency list:\
Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2172 \
Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2188 \
Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2218 \
Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2225 \
Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2227

CVE: CVE-2024-53219 \
CVE: CVE-2024-57952 \
CVE: CVE-2025-21709 \
CVE: CVE-2025-21896 \
CVE: CVE-2025-21881 \
CVE: CVE-2025-21984 \
CVE: CVE-2025-22034 \
CVE: CVE-2025-38071 \
CVE: CVE-2025-37834 \
CVE: CVE-2025-22030 \
CVE: CVE-2025-37779 \
CVE: CVE-2025-37760 \
CVE: CVE-2025-37908 \
CVE: CVE-2025-37964 \
CVE: CVE-2025-38008 \
CVE: CVE-2025-38029 \
CVE: CVE-2025-38050 \
CVE: CVE-2025-38276 \
CVE: CVE-2025-38359 \
CVE: CVE-2025-38207 \
CVE: CVE-2025-38241 \
CVE: CVE-2025-38242 \
CVE: CVE-2025-38258 \
CVE: CVE-2025-38357 \
CVE: CVE-2025-38518 \
CVE: CVE-2025-38447 \
CVE: CVE-2025-38510 \
CVE: CVE-2025-38519 \
CVE: CVE-2025-39753 \
CVE: CVE-2025-39725 \
CVE: CVE-2025-39879 \
CVE: CVE-2025-39878 \
CVE: CVE-2025-39868 \
CVE: CVE-2025-39941 \
CVE: CVE-2025-40228 \
CVE: CVE-2025-40270 \
CVE: CVE-2026-23109 \
CVE: CVE-2026-43188 \
CVE: CVE-2026-43286 \
CVE: CVE-2026-46121 \
CVE: CVE-2026-46042 \
CVE: CVE-2026-46020 \
CVE: CVE-2026-53162 \
CVE: CVE-2026-53342 \
CVE: CVE-2026-31397 \
CVE: CVE-2026-46284 \
CVE: CVE-2026-31589 \
CVE: CVE-2025-40174

Set of changes to level the RHEL-10 MM-core and dependencies codebase up to upstream's v6.16,\
plus relevant follow-up fixes. To reduce the number of conflicts for the commits in the series,\
this work starts with eight reverts, which are reintroduced later in proper topological order.

This changeset is backporting the upstream series that removes the ZBUD compressed page allocator.\
Customers utilizing the ZSWAP feature, however, will not be affected, as the same changeset makes\
ZSMALLOC the default zpool allocator for the compressed swap feature.

Only the most relevant and non-conflicting follow-up fixes are being backported out-of-order in\
this series. All other follow-up fixes that would require conflict resolution are deferred,\
and their changesets will be picked up by the work being done for the next incremental update (v6.17 and v6.18).

Omitted-fix: b765d69a1adf ("um: Remove outdated comment about STUB_DATA_PAGES")\
Omitted-fix: 44126343d58c ("x86/mm: Disable broadcast TLB flush when PCID is disabled")\
Omitted-fix: 1219e0feaefc ("fs: move initializing f_mode before file_ref_init()")\
Omitted-fix: 711f9b8fbe4f ("fsnotify: disable pre-content and permission events by default")\
Omitted-fix: 2a42754b3104 ("fsnotify: disable notification by default for all pseudo files")\
Omitted-fix: 76f9377cd2ab ("writeback: don't block sync for filesystems with no data integrity guarantees")\
Omitted-fix: 08d9a4580f71 ("tee: shm: Remove refcounting of kernel pages")\
Omitted-fix: b570f37a2ce4 ("mm: Fix a hmm_range_fault() livelock / starvation problem")\
Omitted-fix: 29f40594a281 ("mm/rmap: fix incorrect pte restoration for lazyfree folios")\
Omitted-fix: 9bbffee67ffd ("mm: fix a UAF when vma-\>mm is freed after vma-\>vm_refcnt got dropped")\
Omitted-fix: 743758ccf8be ("Revert "mm/hugetlb: deal with multiple calls to hugetlb_bootmem_alloc"")\
Omitted-fix: a5cdbe9f376f ("mm: shmem: only remove inode from swaplist when it's swapped page count is 0")\
Omitted-fix: 3b617fd3d317 ("mm/vma: enforce VMA fork limit on unfaulted, faulted mremap merge too")\
Omitted-fix: 61f67c230a5e ("mm/vma: fix anon_vma UAF on mremap() faulted, unfaulted merge")\
Omitted-fix: 1aceed565ff1 ("mm/vmscan: fix demotion targets checks in reclaim/demotion")\
Omitted-fix: 4c0ed883e051 ("mm/page_alloc: fix defrag_mode for non-reclaimable allocations")\
Omitted-fix: 396f57b57200 ("mm, swap: speed up hibernation allocation and writeout")\
Omitted-fix: 939080834fef ("mm/huge_memory: fix early failure try_to_migrate() when split huge pmd for shared THP")\
Omitted-fix: 577a1f495fd7 ("mm/huge_memory: fix a folio_split() race condition with folio_try_get()")\
Omitted-fix: f183663901f2 ("mm: consider non-anon swap cache folios in folio_expected_ref_count()")\
Omitted-fix: 878f41243c0d ("mm: page_isolation: avoid unsafe folio reads while scanning compound pages")\
Omitted-fix: a69d1ab971a6 ("mm: Fix a hmm_range_fault() livelock / starvation problem")\
Omitted-fix: d210fdcac9c0 ("mm/damon/core: clear walk_control on inactive context in damos_walk()")\
Omitted-fix: 7071537159be ("mm/damon/core: fix potential memory leak by cleaning ops_filter in damon_destroy_scheme")\
Omitted-fix: 33c3f6c2b48c ("mm/damon/core: fix damos_walk() vs kdamond_fn() exit race")\
Omitted-fix: 55da81663b96 ("mm/damon/core: fix damon_call() vs kdamond_fn() exit race")\
Omitted-fix: 26f775a054c3 ("mm/damon/core: avoid use of half-online-committed context")\
Omitted-fix: 139e7a572af0 ("mm/damon/sysfs: dealloc commit test ctx always")\
Omitted-fix: 7fe000eb3290 ("mm/damon/sysfs: fix param_ctx leak on damon_sysfs_new_test_ctx() failure")\
Omitted-fix: eb1074ece72f ("mm/damon/sysfs: fix param_ctx leak on damon_sysfs_new_test_ctx() failure")\
Omitted-fix: d200cfc81c06 ("mm/damon/sysfs-schemes: fix double increment of nr_regions")\
Omitted-fix: fb39444732f0 ("tools/testing/selftests: add forked (un)/faulted VMA merge tests")\
Omitted-fix: 0ace8f2db6b3 ("tools/testing/selftests: add tests for !tgt, src mremap() merges")\
Omitted-fix: f3bd00507f22 ("selftests/mm: skip uffd-stress test when nr_pages_per_cpu is zero")\
Omitted-fix: e5d3e1422e92 ("selftests/mm: free dynamically allocated PMD-sized buffers in split_huge_page_test")\
Omitted-fix: a99d34e5ecb9 ("Revert "drm/pagemap: Disable device-to-device migration"")\
Omitted-fix: 1a3c0049b3f5 ("Revert "drm/pagemap: Disable device-to-device migration"")\
Omitted-fix: 546e42c8c6d9 ("riscv: Use an atomic xchg in pudp_huge_get_and_clear()")\
Omitted-fix: b7a2b49bba4e ("apparmor: Fix return in ns_mkdir_op")\
Omitted-fix: f171b55f1441 ("mips: fix HIGHMEM initialization")

The following list of "omitted fixes" is only to placate the greediness of the bot and reduce the noise it causes\
with its "Upstream patches that reference commits in your MR" list:

Omitted-fix: 3de705a43a46 ("mm/vmscan: avoid false-positive -Wuninitialized warning")\
Omitted-fix: 20c098928356 ("kbuild: Bump minimum version of LLVM for building the kernel to 15.0.0")\
Omitted-fix: 200b0d25084d ("arm64: mm: Move KPTI helpers to mmu.c")\
Omitted-fix: 2b81082ad37c ("lib/crypto: curve25519-hacl64: Fix older clang KASAN workaround for GCC")\
Omitted-fix: 494d2f508883 ("fuse: use default writeback accounting")\
Omitted-fix: 3efb9800557b ("mm: do not map the shadow stack as THP")\
Omitted-fix: 8fedac321fb0 ("mm/mempolicy: fix weighted interleave auto sysfs name")\
Omitted-fix: 6cbdd9726fb5 ("mm/mglru: use folio_mark_accessed to replace folio_set_active")\
Omitted-fix: 337927d9895a ("x86/build: Remove cc-option from -mskip-rax-setup")\
Omitted-fix: b013ed403197 ("fs: consistently use can_mmap_file() helper")\
Omitted-fix: 6528d29b46d8 ("fs/xfs: transition from deprecated .mmap hook to .mmap_prepare")\
Omitted-fix: 29d69273fefd ("media: remove STA2x11 media pci driver")\
Omitted-fix: a48bd961fb20 ("kbuild: Remove unnecessary 'T' modifier in cmd_ar_builtin_fixup")\
Omitted-fix: e7e1a26b8ddf ("mm/damon/core: set quota-score histogram with core filters")\
Omitted-fix: a089461a5994 ("Documentation/mm: drop pxx_mkdevmap() descriptions from page table helpers")\
Omitted-fix: a55bc4ffc06d ("staging: rtl8723bs: Avoid memset() in aes_cipher() and aes_decipher()")\
Omitted-fix: 98cf2d503910 ("mfd: Remove STA2x11 core driver")\
Omitted-fix: 13b6b6209104 ("mm: vmscan: fix dirty folios throttling on cgroup v1 for MGLRU")\
Omitted-fix: ea693aaa5ce5 ("mm/shmem: hold shmem_swaplist spinlock (not mutex) much less")\
Omitted-fix: f2a48f8fb564 ("mm: update outdated comments for removed scan_swap_map_slots()")\
Omitted-fix: cf49b4ebd2ae ("mm/bootmem_info: remove call to kmemleak_free_part_phys()")\
Omitted-fix: a0d9555bf9ea ("ceph: fix num_ops off-by-one when crypto allocation fails")\
Omitted-fix: 0279bed34c22 ("Revert "btrfs: fix the file offset calculation inside btrfs_decompress_buf2page()"")\
Omitted-fix: cac190c7674f ("ceph: fix write storm on fscrypted files")\
Omitted-fix: 5dba5cc2e0ff ("mm: introduce VM_MAYBE_GUARD and make visible in /proc/$pid/smaps")\
Omitted-fix: 8356a5a3b078 ("mm, vmstat: remove the NR_WRITEBACK_TEMP node_stat_item counter")\
Omitted-fix: 2c4c3e29897d ("mm/page_alloc: simplify __alloc_pages_slowpath() flow")\
Omitted-fix: 2e3b37a7e48f ("fs: replace mmap hook with .mmap_prepare for simple mappings")\
Omitted-fix: 951ea2f4844c ("fs: convert simple use of generic_file_*_mmap() to .mmap_prepare()")\
Omitted-fix: 0a42d732c136 ("x86/build: Remove cc-option from -mno-fp-ret-in-387")\
Omitted-fix: 237dc6a054f6 ("x86/headers: Replace __ASSEMBLY__ stragglers with __ASSEMBLER__")\
Omitted-fix: 2c6a28f3ef72 ("x86/Kconfig: Clean up LLVM version checks in IBT configurations")\
Omitted-fix: cdea4acce026 ("mm: delete stale comment about cachelines")\
Omitted-fix: 2704ad556cf2 ("x86/Kconfig: Fix lists in X86_EXTENDED_PLATFORM help text")\
Omitted-fix: 2f13daee2a72 ("lib/crypto/curve25519-hacl64: Disable KASAN with clang-17 and older")\
Omitted-fix: 5b44297bcfa4 ("mm/filemap: introduce generic_file_*_mmap_prepare() helpers")\
Omitted-fix: 340b59816bc4 ("mm: kill mm_wr_locked from unmap_vmas() and unmap_single_vma()")\
Omitted-fix: ab3c8e7b8687 ("mm/shmem: update shmem to use mmap_prepare")\
Omitted-fix: 8c90ae8fe5e3 ("fs/ext4: transition from deprecated .mmap hook to .mmap_prepare")\
Omitted-fix: 5e0deb0a6b4e ("arm64: mm: Use generic enum pgtable_level")\
Omitted-fix: c6900f227f89 ("mm/nommu: use file_has_valid_mmap_hooks() helper")\
Omitted-fix: f7a741c53b71 ("mm: do not assume file == vma->vm_file in compat_vma_mmap_prepare()")\
Omitted-fix: 7e6cc9f954aa ("Docs/admin-guide/mm/damon/usage: mark scheme filters sysfs dir as deprecated")\
Omitted-fix: 738a6cf8fc51 ("Merge patch series "convert the majority of file systems to mmap_prepare"")

Additional changes that aren't relevant here:
Omitted-fix: 6d5fbecd0213 ("MIPS: mm: Add check for highmem before removing memory block")
Omitted-fix: 6c6c1fc09de35f409f6971cb9e881103afe5dbe0 ("modpost: require a MODULE_DESCRIPTION()")

Signed-off-by: Rafael Aquini <raquini@redhat.com>

Approved-by: Andrea Arcangeli <aarcange@redhat.com>
Approved-by: Jan Stancek <jstancek@redhat.com>
Approved-by: Luiz Capitulino <luizcap@redhat.com>
Approved-by: Ricardo Robaina <rrobaina@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: Phil Auld <pauld@redhat.com>
Approved-by: Jocelyn Falempe <jfalempe@redhat.com>
Approved-by: Felix Maurer <fmaurer@redhat.com>
Approved-by: Michal Schmidt <mschmidt@redhat.com>
Approved-by: ashelat <ashelat@redhat.com>
Approved-by: Petr Oros <poros@redhat.com>
Approved-by: Michael Petlan <mpetlan@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: Alexandra Hájková <ahajkova@redhat.com>
2026-07-14 19:41:14 +02:00
Alexandra Hájková 80746b2512 Merge: DRM Backport v6.18..v6.19
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2393

# Merge Request Required Information

## Summary of Changes

DRM backport for v6.18..6.19

Most commits were hand picked and verified from https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2307

I choose not to backport 6fe22abacd40e because it seems many files already worked around it and it would be more work to undo all of this than to simply rename here.

## Approved Development Ticket(s)

JIRA: https://issues.redhat.com/browse/RHEL-151744

Signed-off-by: José Expósito <jexposit@redhat.com>

Signed-off-by: Karol Herbst <kherbst@redhat.com>

## Omitted Fixes:

Will be part of the 7.0 DRM backport

```
Omitted-fix: 399299d81f3d16e50d641a0ac454e7d4737cf08c ("MAINTAINERS: adjust file entry in AMD DISPLAY CORE - DML")
Omitted-fix: c7ee592dccab73e345b2811f1568c0618997a8e0 ("drm/rockchip: include drm_print.h where needed")
Omitted-fix: d847dc29d07a18911837863c88206547a1768d21 ("drm/panfrost: Name scheduler queues after their job slots")
Omitted-fix: 077d925b60c320027dd64b69e0ab2dd2e00ed45c ("mm/memremap: fix spurious large folio warning for FS-DAX")
Omitted-fix: d9b40d7262a227442bf402ea0708dc94f438bb52 ("selftests/x86: Add selftests include path for kselftest.h after centralization")
Omitted-fix: 05138e8ff287188be7b1bedf022c8b4fd1f09a25 ("drm/amd/pm: Fix unneeded semicolon warning")
Omitted-fix: 0d89268d20c961b6226a4aa948fdbe9f93021d95 ("drm/amd/display: Don't repeat DAC load detection")
Omitted-fix: 156fd724e18dd099267b4ceab485a995b8ba54bb ("drm/xe/compat: remove unused i915_active.h and i915_active_types.h")
Omitted-fix: 17b2c526fd8026d8e0f4c0e7f94fc517e3901589 ("drm/amd/display: Clear HDMI HPD pending work only if it is enabled")
Omitted-fix: 17ff034f805e032ed1358624a71381f9d6e29e9e ("drm/amd/display: Only use analog stream encoder with analog engine")
Omitted-fix: 29f4e7301910d7d1ece249cf34dfbe4dd7c2c6c4 ("drm/gpuvm: fix name in kernel doc of drm_gpuvm_bo_obtain_locked()")
Omitted-fix: 2de34fbcab2063cd3d52e5872a801b9a5fc755d0 ("drm/amd/display: Use DCE 6 link encoder for DCE 6 analog connectors")
Omitted-fix: 3e28a67a85f9b569066f6dfcddadb39294c0c9d4 ("drm/i915/display: fix the pixel normalization handling for xe3p_lpd")
Omitted-fix: 436d0d22aa7035a9f9b24fb14cd0e84d6571ea87 ("drm/amd/display: Pass proper DAC encoder ID to VBIOS")
Omitted-fix: 44e4c88951fa9c73bfbde8269e443ea5343dd2af ("accel/ivpu: Implement warm boot flow for NPU6 and unify boot handling")
Omitted-fix: 470cb09a2936d3c1ff8aeff46e3c14dcc4314e9b ("drm/plane: Fix IS_ERR() vs NULL bug drm_plane_create_color_pipeline_property()")
Omitted-fix: 4bd8b5f8bcb57b430c35494d8a2471ce5fd7661d ("drm/amd/display: Enable DAC in DCE link encoder")
Omitted-fix: 5e905ec67214444362b81345ef8fde63e58425b6 ("drm/xe/vf: Avoid reading media version when media GT is disabled")
Omitted-fix: 613b1737abe1bd0a65b49851e777231302095e28 ("drm/amd/display: Don't call find_analog_engine() twice")
Omitted-fix: 6a3591522930897c3fdb326c5d48b906b5c30b71 ("drm/i915/colorop: do not include headers from headers")
Omitted-fix: 7d0507772406e129329983b8b807e5b499bd74fd ("drm/buddy: release free_trees array on buddy mm teardown")
Omitted-fix: 9163fe4d790fb4e16d6b0e23f55b43cddd3d4a65 ("Revert "drm/amdgpu: don't attach the tlb fence for SI"")
Omitted-fix: 920c6af98e98e6afedf6318a75bac95af8415c6c ("drm/panthor: Fix NULL pointer dereference on panthor_fw_unplug")
Omitted-fix: 9bf4ca1e699c272defe9636f9812ff33a448d650 ("drm/gpuvm: drm_gpuvm_bo_obtain() requires lock and staged mode")
Omitted-fix: a625dc4989a2affb8f06e7b418bf30e1474b99c1 ("drm/amd/display: Revert "init dispclk from bootup clock for DCN315"")
Omitted-fix: ac5b392a8c355001c4c3f230a0e4b1f904e359ca ("drm/panthor: fix queue_reset_timeout_locked")
Omitted-fix: b1e2a6a57aa95f8192e8edb9edaecfd326745d32 ("drm/amd/display: Don't use kernel-doc comment in dc_register_software_state struct")
Omitted-fix: ba038065655c45728be346d0b174a6da08d8a5c5 ("drm/amdgpu: Fix missing unwind in amdgpu_ib_schedule() error path")
Omitted-fix: bdc26342c49e1dc1afb48feeb20c9d74d15b784c ("drm/amd/display: Revert "init dispclk from bootup clock for DCN314"")
Omitted-fix: bf7172cd25ed182f30af2cbb9f80c730dc717d8e ("drm/xe/pf: Fix sysfs initialization")
Omitted-fix: cbced93894d145239c83881d7fd953b7392c23a8 ("drm/amd/display: Set CRTC source for DAC using registers")
Omitted-fix: cedf6765ecfd60197d90437ec648feb8b3e31cb1 ("drm/panthor: Remove redundant call to disable the MCU")
Omitted-fix: cf818707b543687f7cf99180ae0d218bab9a3205 ("drm/amd/pm: Correct comment above power2_cap attributes")
Omitted-fix: d8ccbb5e228b093eba19027a281274e7faf2da4c ("drm/amdgpu: Describe @AMD_IP_BLOCK_TYPE_RAS in amd_ip_block_type enum")
Omitted-fix: e021ee995056ee7e58114edd92bcd4578d8b4bb5 ("drm/amd/display: Turn off DAC in DCE link encoder using VBIOS")
Omitted-fix: e05b08d7d0162cf77fff119367fb1a2d5ab3e669 ("drm/atomic: convert drm_atomic_get_{old, new}_colorop_state() into proper functions")
Omitted-fix: e2a024345bce78a8e1ed7d9e84c859b05979e41e ("drm/amd/display: Initialize DAC in DCE link encoder using VBIOS")
Omitted-fix: e53dcefe30df4f317161f36e8bc11926e7dd7a2e ("drm/amd/pm: Return -EOPNOTSUPP when can't read power limit")
Omitted-fix: f025a2b8d93358467b8e8f4b3a617e88c5f02fab ("drm/amdgpu: clean up the amdgpu_cs_parser_bos")
Omitted-fix: f402898bd101af3166bde236b7f6a43d926e17a0 ("drm/amd/display: Only use analog link encoder with analog engine")
Omitted-fix: 0b87d51690dd5131cbe9fbd23746b037aab89815 ("drm/bridge: ti-sn65dsi86: Enable HPD polling if IRQ is not used")
Omitted-fix: 496daa2759260374bb9c9b2196a849aa3bc513a8 ("drm/bridge: synopsys: dw-dp: Check return value of devm_drm_bridge_add() in dw_dp_bind()")
Omitted-fix: 7be41fb00e2c2a823f271a8318b453ca11812f1e ("accel: ethosu: Fix shift overflow in cmd_to_addr()")
Omitted-fix: c68a6af400ca80596e8c37de0a1cb564aa9da8a4 ("accel/amdxdna: Switch to always use chained command")
Omitted-fix: 150bceb3e0a4a30950279d91ea0e8cc69a736742 ("accel: ethosu: Fix job submit error clean-up refcount underflows")
Omitted-fix: 6e3f4514e3b432871ac81717d24f56b441857f77 ("drm/ttm: Fix ttm_pool_beneficial_order() return type")
Omitted-fix: 838ae99f9a77a5724ee6d4e7b7b1eb079147f888 ("accel: ethosu: Fix NPU_OP_ELEMENTWISE validation with scalar")
Omitted-fix: 99f9b5343cae80eb0dfe050baf6c86d722b3ba2e ("drm/xe/queue: Call fini on exec queue creation fail")
Omitted-fix: a4fa2355e0add57253468ef13bd08f11285f3b6e ("drm/amd/display: Enable DEGAMMA and reject COLOR_PIPELINE+DEGAMMA_LUT")
Omitted-fix: c28b3ec3ca034fd1abc832fef46ce36eb13f8fad ("drm/amd/display: Use mpc.preblend flag to indicate 3D LUT")
Omitted-fix: 59bdbabccaa470ed94aae7d94a1229c7b0ff4681 ("accel/ivpu: Remove boot params address setting via MMIO register")
Omitted-fix: 7149be786da012afc6bae293d38f8c1fff1fb90d ("drm/gud: fix NULL crtc dereference on display disable")
Omitted-fix: 26c638d5602e329e0b26281a74c6ec69dee12f23 ("drm/xe: Always kill exec queues in xe_guc_submit_pause_abort")
Omitted-fix: 65d046b2d8e0d6d855379a981869005fd6b6a41b ("drm/xe: Fix missing runtime PM reference in ccs_mode_store")
Omitted-fix: 9b72283ec9b8685acdb3467de8fbc3352fdb70bb ("drm/xe/guc: Fail immediately on GuC load error")
Omitted-fix: b0a4dba7b623aa7cbc9efcc56b4af2ec8b274f3e ("drm/i915/psr: Disable PSR on update_m_n and update_lrr")
Omitted-fix: e9f58ff991dd4be13fd7a651bbf64329c090af09 ("drm/amdgpu: rework how we handle TLB fences")
Omitted-fix: 87997b6c6516e049cbaf2fc6810b213d587a06b1 ("drm/xe/pf: Fix use-after-free in migration restore")
Omitted-fix: 9da4f9964abcaeb6e19797d5e3b10faad338a786 ("drm/amd/display: check if ext_caps is valid in BL setup")
Omitted-fix: e8ab57b56402697a9bef50b71aecc613f0d61846 ("accel/ivpu: Add disable clock relinquish workaround for NVL-A0")
Omitted-fix: 6d192b4f2d644d15d9a9f1d33dab05af936f6540 ("drm/xe/xe_pagefault: Disallow writes to read-only VMAs")
Omitted-fix: e08e0754e690e4909cab83ac43fd2c93c6200514 ("drm/i915/cdclk: Do the full CDCLK dance for min_voltage_level changes")
Omitted-fix: f078634c184a9b5ccaa056e8b8d6cd32f7bff1b6 ("drm/bridge: Fix refcount shown via debugfs for encoder_bridges_show()")
Omitted-fix: c33efdfcfa6f80e05ce1ee33694c1bad4994cd78 ("dma: contiguous: Check return value of dma_contiguous_reserve_area()")
```

Will be part of the DRM stable backport !2802

```
Omitted-fix: 0d9710aeb6959ae244f255986187562fa50504b9 ("drm/colorop: Preserve bypass value in duplicate_state()")
Omitted-fix: 20e0c197802c545db220157fafd567a10f2b7672 ("drm/nouveau/gsp: add support for GA100")
Omitted-fix: 235b333e2878d791cee09e1e72f44611a9400114 ("drm/colorop: Fix blob property reference tracking in state lifecycle")
Omitted-fix: 2b8101cc3b34d4d80d799360d2744829d5964479 ("drm/amd/ras: Fix NULL deref in ras_core_get_utc_second_timestamp()")
Omitted-fix: 39928984956037cabd304321cb8f342e47421db5 ("mm/zone_device: do not touch device folio after calling ->folio_free()")
Omitted-fix: 4827d6d83f079f7d58d6ec0ed49f85dd2b90837f ("drm/sched: Remove racy hack from drm_sched_fini()")
Omitted-fix: 49ed6f45402ddefc630ebe5d553cf32fe93e1d4c ("drm/amd/display: Undo accidental fix revert in amdgpu_dm_ism.c")
Omitted-fix: 49fe425da6756b3790ad9a1dd9a051998737e81d ("drm/amdgpu: remove gart_window_lock usage from gmc v12_1")
Omitted-fix: 4fce3dfab54d60ebaff1c7a9020a730a0708b705 ("drm/amdgpu: Remove dead negative offset check in amdgpu_virt_init_critical_region()")
Omitted-fix: 6955d6bca0531ffbbaeecac844b7bae84345b3fb ("drm/atomic: Add affected colorops with affected planes")
Omitted-fix: 6b606216e03fa2b53cc179d8383b683a140fe6e1 ("drm/amd/ras: Fix NULL deref in ras_core_ras_interrupt_detected()")
Omitted-fix: 6bf7969a145e13a3390143038fe82c52025aeb93 ("drm/drm_atomic: duplicate colorop states if plane color pipeline in use")
Omitted-fix: 6ef02656c3222b1e12032a40d644ed56806b14fc ("drm/xe: derive mem copy capability from graphics version")
Omitted-fix: 74c2689eea7d18169095854edf7e7b0cf77b039d ("drm/amd/ras: fix kernel-doc warning for ras_eeprom_append()")
Omitted-fix: 7937ea733f79b3f25e802a0c8360bf7423856f36 ("drm/xe: Fix missing runtime PM reference in ccs_mode_store")
Omitted-fix: 79ae8510b5b81b9500370f89c619b50ca9c0990f ("drm/atomic: Increase timeout in drm_atomic_helper_wait_for_vblanks()")
Omitted-fix: 7daff375fa4602934b3b385f83e7ad95d97d86d3 ("dma-fence: Silence sparse warning in dma_fence_describe")
Omitted-fix: 9941b3ca10977a583a6e78707023066fd9cd6311 ("drm/xe/xe3p_xpc: Drop stale MCR steering TODO comment")
Omitted-fix: 9a62a097a7f8d223d722b9e9b557a792d30600ca ("drm/amdgpu: Drop redundant queue NULL check in hang detect worker")
Omitted-fix: 9f3d543a9f7371622aff389e69010ac6bac69ef8 ("drm/amd/ras: Fix type size of remainder argument")
Omitted-fix: a5d5634cde48a9fcd68c8504aa07f89f175074a0 ("drm/xe/sync: Fix user fence leak on alloc failure")
Omitted-fix: bd64240dc88caaf7b96dd869f36f165f51b52039 ("drm/fb-helper: Fix a locking bug in an error path")
Omitted-fix: dc90ead44054736131f73b1dd319b8be06088d36 ("drm/xe/uapi: update used tracking kernel-doc")
Omitted-fix: ec49857ad181f2a68a3bea15422f2936ff366d47 ("drm/gpusvm: Allow device pages to be mapped in mixed mappings after system pages")
Omitted-fix: fd490bb9e1054705e1b35e6f321cdc713e0c7348 ("drm/amd/ras: Remove redundant NULL check in pending bad-bank list iteration")
Omitted-fix: 47776ac1e3f4a2aefcf7fe7c7e4a11151b676222 ("drm/amdgpu: Avoid reset in AMDGPU unload path for APUs with GFX V11 and higher.")
Omitted-fix: 508babf310365f1107a2e8831c267c292a286818 ("drm/amdgpu: avoid double drm_exec_fini() in userq validate")
Omitted-fix: f8c4151d50b12923b67819ebf03c1c6782c984c1 ("drm/xe: Fix potential NULL deref in xe_exec_queue_tlb_inval_last_fence_put_unlocked")
Omitted-fix: 7dd57d7a6350770dfc283287125c409e995200e0 ("accel/ivpu: Disallow re-exporting imported GEM objects")
Omitted-fix: b87951a0ae9f95ca6590bf0939edced7d36929dd ("drm/xe/pf: Fix MMIO access using PF view instead of VF view during migration")
Omitted-fix: c9e3878ae2f57fd6786279cf5d9dc6e6e1b52f5a ("Revert "drm/nouveau/gsp: add support for GA100"")
Omitted-fix: d01012c740bbb298b957e30cc0848e482c6f486f ("drm/xe/pf: Fix EAGAIN sign in pf_migration_consume()")
Omitted-fix: 86ed2d96db1965e9008e919b1936145ae66540e3 ("drm/i915/display: Copy color pipeline from plane in the primary joiner pipe")
Omitted-fix: 3e5a1d5bb2ff061e64c7992f8e5404dfd4c2d0f3 ("drm/amdgpu/vce1: Fix VCE 1 firmware size and offsets")
Omitted-fix: d196136a988051173f68f91de0b5a1bd32122dd7 ("drm/i915/color: Fix HDR pre-CSC LUT programming loop")
Omitted-fix: ead6680f354f83966c796fc7f9463a3171789616 ("dma-buf: fix UAF in dma_buf_fd() tracepoint")
Omitted-fix: 00f547e0dfecf83014fb32bcba587c6b684c1362 ("accel/ethosu: fix IFM region index out-of-bounds in command stream parser")
Omitted-fix: 1d0b597facdd3c0239c88e8797c1014e1ea0ef15 ("accel/ivpu: Add bounds check for firmware runtime memory")
Omitted-fix: 26eb7c0a7ab09d83eec833db6a5a2bc60b9d4d9a ("drm/i915: Fix color blob reference handling in intel_plane_state")
Omitted-fix: c0837b9cf6eabbad8b8cbddaff1a46a6d0a2e29d ("accel/ethosu: fix OOB write in ethosu_gem_cmdstream_copy_and_validate()")
Omitted-fix: d9d021218162b6c4fe0bdf42b2b340f1aae23a12 ("accel/ethosu: reject DMA commands with uninitialized length")
Omitted-fix: e703843f242b28e35ac79408de571ae110c740b5 ("accel/ethosu: fix wrong weight index in NPU_SET_SCALE1_LENGTH on U85")
Omitted-fix: ec4c462e2d8161b32038e21e7187f4a15fe1661d ("drm/amdgpu: Fix incorrect VRAM GART mappings on non-4K page size systems")
Omitted-fix: ee6d9b6e51626f259c6f0e38d94f91be4fd14754 ("accel/ethosu: fix arithmetic issues in dma_length()")
Omitted-fix: ef911805d86a05363d3ec2fa9835a41def83bb7e ("accel/ethosu: reject NPU_OP_RESIZE commands from userspace")
Omitted-fix: 2e235e2a2784b12b735321e5b42240ca51c49b0f ("drm/atomic: track individual colorop updates")
Omitted-fix: 94ff735296d371045fce163451a3d65e44ac4729 ("drm/colorop: make lut(1/3)d_interpolation props correctly behave as mutable")
Omitted-fix: d79716401a954677a93c4dd51fec65beccb38296 ("drm/amd/display: use plane color_mgmt_changed to track colorop changes")
Omitted-fix: e480228cf65583040c894bb9cc02e1d5b328cee0 ("drm/colorop: Remove read-only comments from interpolation fields")
Omitted-fix: d23bd83f3e47a928e783c0d6a004737519dc77dc ("drm/tegra: fbdev: Do not assign to struct drm_fb_helper.info")
Omitted-fix: faf497d2f1ff15756981c6e65a9c3d8bf192a969 ("drm/panel: Clean up S6E3FC2X01 config dependencies")
```

Approved-by: Peter Kopec <pekopec@redhat.com>
Approved-by: Mika Penttilä <mpenttil@redhat.com>
Approved-by: Eric Chanudet <echanude@redhat.com>
Approved-by: Jan Stancek <jstancek@redhat.com>
Approved-by: Eder Zulian <ezulian@redhat.com>
Approved-by: David Airlie <airlied@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: Alexandra Hájková <ahajkova@redhat.com>
2026-07-14 19:41:13 +02:00
CKI KWF Bot 25fb8cc615 Merge: Wireless core and drivers rebase to v7.0
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2656

JIRA: https://issues.redhat.com/browse/RHEL-171410
JIRA: https://issues.redhat.com/browse/RHEL-173865
CVE: CVE-2026-43110
JIRA: https://issues.redhat.com/browse/RHEL-180023
CVE: CVE-2026-46166
JIRA: https://issues.redhat.com/browse/RHEL-180059
CVE: CVE-2026-46152
JIRA: https://issues.redhat.com/browse/RHEL-180129
CVE: CVE-2026-46125

Tested: basic testing with several supported WiFi cards (Intel, Qualcomm, Mediatek and Realtek).

Wireless core and drivers update to v7.0

Upstream status: linux.git

Depends: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2564

The following patches although in the same serie as the fix bef9d5e378f0 ("wifi: cfg80211: restrict LMR feedback check to TB and non-TB ranging") would need more dependencies and are not necessary for now:
Omitted-fix: 4dbd1829045e wifi: cfg80211: Add MAC address filter to remain_on_channel
Omitted-fix: 55f23d68f93a wifi: cfg80211/mac80211: Add NL80211_IFTYPE_PD for PD PASN and PMSR operations

Non-wireless fixes for treewide commits (only wireless is applied):
Omitted-fix: fd1d6b9d13f3 xz: fix arm fdt compile error for kmalloc replacement
Omitted-fix: 96a7b71c4438 ubd: Use pointer-to-pointers for io_thread_req arrays
Omitted-fix: 795469820c63 kcsan: test: Adjust "expect" allocation type for kmalloc_obj
Omitted-fix: 5548dd7fa845 tools/testing: fix testing/vma and testing/radix-tree build
Omitted-fix: 405ca72dc589 landlock: Fix formatting
Omitted-fix: 4c0134639694 KVM: PPC: e500: Fix build error due to using kmalloc_obj() with wrong type
Omitted-fix: 94ff7c59cdfd RDMA: Complete k[z|m|c]alloc-to-k[z|m]alloc_obj conversion
Omitted-fix: 2d2b5507e598 btrfs: replace kcalloc() calls to kzalloc_objs()
Omitted-fix: 94ff7c59cdfd RDMA: Complete k[z|m|c]alloc-to-k[z|m]alloc_obj conversion

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>

Approved-by: Waiman Long <longman@redhat.com>
Approved-by: Ivan Vecera <ivecera@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-07-10 19:53:03 +00:00
Ivan Vecera f7addd5869 net: Retire DCCP socket.
JIRA: https://redhat.atlassian.net/browse/RHEL-179873

Conflicts:
- context conflict due to existing backport of 165573e41f2f6 ("tcp:
  secure_seq: add back ports to TS offset")
- some removed DCCP files have in upstream updates that are missing in RHEL
- removed RHEL config for CONFIG_IP_DCCP

commit 2a63dd0edf388802074f1d4d6b588a3b4c380688
Author: Kuniyuki Iwashima <kuniyu@amazon.com>
Date:   Wed Apr 9 19:36:45 2025 -0700

    net: Retire DCCP socket.

    DCCP was orphaned in 2021 by commit 054c4610bd ("MAINTAINERS: dccp:
    move Gerrit Renker to CREDITS"), which noted that the last maintainer
    had been inactive for five years.

    In recent years, it has become a playground for syzbot, and most changes
    to DCCP have been odd bug fixes triggered by syzbot.  Apart from that,
    the only changes have been driven by treewide or networking API updates
    or adjustments related to TCP.

    Thus, in 2023, we announced we would remove DCCP in 2025 via commit
    b144fcaf46 ("dccp: Print deprecation notice.").

    Since then, only one individual has contacted the netdev mailing list. [0]

    There is ongoing research for Multipath DCCP.  The repository is hosted
    on GitHub [1], and development is not taking place through the upstream
    community.  While the repository is published under the GPLv2 license,
    the scheduling part remains proprietary, with a LICENSE file [2] stating:

      "This is not Open Source software."

    The researcher mentioned a plan to address the licensing issue, upstream
    the patches, and step up as a maintainer, but there has been no further
    communication since then.

    Maintaining DCCP for a decade without any real users has become a burden.

    Therefore, it's time to remove it.

    Removing DCCP will also provide significant benefits to TCP.  It allows
    us to freely reorganize the layout of struct inet_connection_sock, which
    is currently shared with DCCP, and optimize it to reduce the number of
    cachelines accessed in the TCP fast path.

    Note that we keep DCCP netfilter modules as requested.  [3]

    Link: https://lore.kernel.org/netdev/20230710182253.81446-1-kuniyu@amazon.com/T/#u #[0]
    Link: https://github.com/telekom/mp-dccp #[1]
    Link: https://github.com/telekom/mp-dccp/blob/mpdccp_v03_k5.10/net/dccp/non_gpl_scheduler/LICENSE #[2]
    Link: https://lore.kernel.org/netdev/Z_VQ0KlCRkqYWXa-@calendula/ #[3]
    Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
    Acked-by: Paul Moore <paul@paul-moore.com> (LSM and SELinux)
    Acked-by: Casey Schaufler <casey@schaufler-ca.com>
    Link: https://patch.msgid.link/20250410023921.11307-3-kuniyu@amazon.com
    Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2026-07-09 12:32:57 +02:00
Rafael Aquini a9e860b56d mm: perform VMA allocation, freeing, duplication in mm
JIRA: https://redhat.atlassian.net/browse/RHEL-145694

commit 3e43e260f1e44d21861815faa905a1829027600f
Author: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Date:   Mon Apr 28 16:28:17 2025 +0100

    mm: perform VMA allocation, freeing, duplication in mm

    Right now these are performed in kernel/fork.c which is odd and a
    violation of separation of concerns, as well as preventing us from
    integrating this and related logic into userland VMA testing going
    forward.

    There is a fly in the ointment - nommu - mmap.c is not compiled if
    CONFIG_MMU not set, and neither is vma.c.

    To square the circle, let's add a new file - vma_init.c.  This will be
    compiled for both CONFIG_MMU and nommu builds, and will also form part of
    the VMA userland testing.

    This allows us to de-duplicate code, while maintaining separation of
    concerns and the ability for us to userland test this logic.

    Update the VMA userland tests accordingly, additionally adding a
    detach_free_vma() helper function to correctly detach VMAs before freeing
    them in test code, as this change was triggering the assert for this.

    [akpm@linux-foundation.org: remove stray newline, per Liam]
    Link: https://lkml.kernel.org/r/f97b3a85a6da0196b28070df331b99e22b263be8.1745853549.git.lorenzo.stoakes@oracle.com
    Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
    Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
    Reviewed-by: Pedro Falcato <pfalcato@suse.de>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Kees Cook <kees@kernel.org>
    Reviewed-by: Suren Baghdasaryan <surenb@google.com>
    Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Christian Brauner <brauner@kernel.org>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jann Horn <jannh@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:18:22 -04:00
Rafael Aquini 8f7431a846 mm: establish mm/vma_exec.c for shared exec/mm VMA functionality
JIRA: https://redhat.atlassian.net/browse/RHEL-145694

commit 6c36ac1e124f1be97cf0485a220865fce5a2020d
Author: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Date:   Mon Apr 28 16:28:14 2025 +0100

    mm: establish mm/vma_exec.c for shared exec/mm VMA functionality

    Patch series "move all VMA allocation, freeing and duplication logic to
    mm", v3.

    Currently VMA allocation, freeing and duplication exist in kernel/fork.c,
    which is a violation of separation of concerns, and leaves these functions
    exposed to the rest of the kernel when they are in fact internal
    implementation details.

    Resolve this by moving this logic to mm, and making it internal to vma.c,
    vma.h.

    This also allows us, in future, to provide userland testing around this
    functionality.

    We additionally abstract dup_mmap() to mm, being careful to ensure
    kernel/fork.c acceses this via the mm internal header so it is not exposed
    elsewhere in the kernel.

    As part of this change, also abstract initial stack allocation performed
    in __bprm_mm_init() out of fs code into mm via the
    create_init_stack_vma(), as this code uses vm_area_alloc() and
    vm_area_free().

    In order to do so sensibly, we introduce a new mm/vma_exec.c file, which
    contains the code that is shared by mm and exec.  This file is added to
    both memory mapping and exec sections in MAINTAINERS so both sets of
    maintainers can maintain oversight.

    As part of this change, we also move relocate_vma_down() to mm/vma_exec.c
    so all shared mm/exec functionality is kept in one place.

    We add code shared between nommu and mmu-enabled configurations in order
    to share VMA allocation, freeing and duplication code correctly while also
    keeping these functions available in userland VMA testing.

    This is achieved by adding a mm/vma_init.c file which is also compiled by
    the userland tests.

    This patch (of 4):

    There is functionality that overlaps the exec and memory mapping
    subsystems.  While it properly belongs in mm, it is important that exec
    maintainers maintain oversight of this functionality correctly.

    We can establish both goals by adding a new mm/vma_exec.c file which
    contains these 'glue' functions, and have fs/exec.c import them.

    As a part of this change, to ensure that proper oversight is achieved, add
    the file to both the MEMORY MAPPING and EXEC & BINFMT API, ELF sections.

    scripts/get_maintainer.pl can correctly handle files in multiple entries
    and this neatly handles the cross-over.

    [akpm@linux-foundation.org: fix comment typo]
      Link: https://lkml.kernel.org/r/80f0d0c6-0b68-47f9-ab78-0ab7f74677fc@lucifer.local
    Link: https://lkml.kernel.org/r/cover.1745853549.git.lorenzo.stoakes@oracle.com
    Link: https://lkml.kernel.org/r/91f2cee8f17d65214a9d83abb7011aa15f1ea690.1745853549.git.lorenzo.stoakes@oracle.com
    Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
    Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
    Reviewed-by: Suren Baghdasaryan <surenb@google.com>
    Reviewed-by: Pedro Falcato <pfalcato@suse.de>
    Reviewed-by: David Hildenbrand <david@redhat.com>
    Reviewed-by: Kees Cook <kees@kernel.org>
    Reviewed-by: Vlastimil Babka <vbabka@suse.cz>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Christian Brauner <brauner@kernel.org>
    Cc: Jan Kara <jack@suse.cz>
    Cc: Jann Horn <jannh@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:18:21 -04:00
Rafael Aquini 0a926e6039 MAINTAINERS: add test_vmalloc.c to VMALLOC section
JIRA: https://redhat.atlassian.net/browse/RHEL-145694

commit 7a6fe5877745e46795865e3f6a0ae346671741a3
Author: Uladzislau Rezki (Sony) <urezki@gmail.com>
Date:   Thu Apr 17 18:12:15 2025 +0200

    MAINTAINERS: add test_vmalloc.c to VMALLOC section

    A vmalloc subsystem includes "lib/test_vmalloc.c" test suite.  Add an "F:"
    entry under VMALLOC section to track this file as part of the subsystem.

    Link: https://lkml.kernel.org/r/20250417161216.88318-3-urezki@gmail.com
    Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
    Reviewed-by: Baoquan He <bhe@redhat.com>
    Cc: Christop Hellwig <hch@infradead.org>
    Cc: Mateusz Guzik <mjguzik@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:18:11 -04:00
Rafael Aquini 9dbc885097 tools/testing/selftests: assert that anon merge cases behave as expected
JIRA: https://redhat.atlassian.net/browse/RHEL-145694

commit 10d288964d48e52354f002f7e0f64d1df9496ab1
Author: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Date:   Tue Apr 8 10:29:33 2025 +0100

    tools/testing/selftests: assert that anon merge cases behave as expected

    Prior to the recently applied commit that permits this merge,
    mprotect()'ing a faulted VMA, adjacent to an unfaulted VMA, such that the
    two share characteristics would fail to merge due to what appear to be
    unintended consequences of commit 965f55dea0 ("mmap: avoid merging
    cloned VMAs").

    Now we have fixed this bug, assert that we can indeed merge anonymous VMAs
    this way.

    Also assert that forked source/target VMAs are equally rejected.
    Previously, all empty target anon merges with one VMA faulted and the
    other unfaulted would be rejected incorrectly, now we ensure that unforked
    merge, but forked do not.

    Additionally, add the new test file to the MEMORY MAPPING section in
    MAINTAINERS, as these tests are explicitly memory mapping related.

    Link: https://lkml.kernel.org/r/2b69330274a3b71721f7042c5eabe91143934415.1744104124.git.lorenzo.stoakes@oracle.com
    Signed-off-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
    Reviewed-by: Yeoreum Yun <yeoreum.yun@arm.com>
    Cc: David Hildenbrand <david@redhat.com>
    Cc: Jann Horn <jannh@google.com>
    Cc: Liam Howlett <liam.howlett@oracle.com>
    Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
    Cc: Rik van Riel <riel@surriel.com>
    Cc: Suren Baghdasaryan <surenb@google.com>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Cc: Wei Yang <richard.weiyang@gmail.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:18:08 -04:00
Rafael Aquini 1caf057853 MAINTAINERS: add Baolin as shmem reviewer
JIRA: https://redhat.atlassian.net/browse/RHEL-145694

commit a91aaf8dd549dcee9caab227ecaa6cbc243bbc5a
Author: Baolin Wang <baolin.wang@linux.alibaba.com>
Date:   Fri Feb 7 17:44:22 2025 +0800

    MAINTAINERS: add Baolin as shmem reviewer

    In the past year, I've primarily focused on shmem and added several
    features to it, such as support for mTHP, large folio swap-out and swap-in
    support, mTHP collapse support, skipping swapcache, and tmpfs support for
    large folios, and so on.  Meanwhile I've also been helping with testing
    and reviewing shmem related patches.

    So I am willing to continue assisting with testing and reviewing shmem
    related patches.  Let me be Cc'd on patches related to shmem.

    Link: https://lkml.kernel.org/r/bcefbba9b2b44d4e661e6cc2c4187292a5beb467.1738918357.git.baolin.wang@linux.alibaba.com
    Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
    Cc: David Hildenbrand <david@redhat.com>
    Cc: Hugh Dickins <hughd@google.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:17:03 -04:00
Rafael Aquini 3d5e1b78f1 mm/hugetlb: move hugetlb CMA code in to its own file
JIRA: https://redhat.atlassian.net/browse/RHEL-145694

commit 474fe91f213a400334d41397de1a447560be76a6
Author: Frank van der Linden <fvdl@google.com>
Date:   Fri Feb 28 18:29:28 2025 +0000

    mm/hugetlb: move hugetlb CMA code in to its own file

    hugetlb.c contained a number of CONFIG_CMA ifdefs, and the code inside
    them was large enough to merit being in its own file, so move it, cleaning
    up things a bit.

    Hide some direct variable access behind functions to accommodate the move.

    No functional change intended.

    Link: https://lkml.kernel.org/r/20250228182928.2645936-28-fvdl@google.com
    Signed-off-by: Frank van der Linden <fvdl@google.com>
    Cc: Alexander Gordeev <agordeev@linux.ibm.com>
    Cc: Andy Lutomirski <luto@kernel.org>
    Cc: Arnd Bergmann <arnd@arndb.de>
    Cc: Dan Carpenter <dan.carpenter@linaro.org>
    Cc: Dave Hansen <dave.hansen@linux.intel.com>
    Cc: David Hildenbrand <david@redhat.com>
    Cc: Heiko Carstens <hca@linux.ibm.com>
    Cc: Joao Martins <joao.m.martins@oracle.com>
    Cc: Johannes Weiner <hannes@cmpxchg.org>
    Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
    Cc: Michael Ellerman <mpe@ellerman.id.au>
    Cc: Muchun Song <muchun.song@linux.dev>
    Cc: Oscar Salvador <osalvador@suse.de>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Roman Gushchin (Cruise) <roman.gushchin@linux.dev>
    Cc: Usama Arif <usamaarif642@gmail.com>
    Cc: Vasily Gorbik <gor@linux.ibm.com>
    Cc: Yu Zhao <yuzhao@google.com>
    Cc: Zi Yan <ziy@nvidia.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:16:46 -04:00
Rafael Aquini 361025fbc9 mm: zbud: remove zbud
JIRA: https://redhat.atlassian.net/browse/RHEL-145694
Conflicts:
  * redhat/configs/common/generic/CONFIG_ZSWAP_ZPOOL_DEFAULT_ZSMALLOC:
    include the hunk to explicitly set the config option following kernel-ark.
  * redhat/configs/common/generic/CONFIG_ZSWAP_ZPOOL_DEFAULT_ZBUD,
    redhat/configs/rhel/generic/s390x/CONFIG_ZBUD, and
    redhat/configs/common/generic/CONFIG_ZBUD:
    remove the config files as ZBUD is now fully removed from the kernel.

commit 6df8bae8e851eacf2acf2237860213e002aba74f
Author: Yosry Ahmed <yosry.ahmed@linux.dev>
Date:   Wed Jan 29 18:06:32 2025 +0000

    mm: zbud: remove zbud

    The zbud compressed pages allocator is rarely used, most users use
    zsmalloc.  zbud consumes much more memory (only stores 1 or 2 compressed
    pages per physical page).  The only advantage of zbud is a marginal
    performance improvement that by no means justify the memory overhead.

    Historically, zsmalloc had significantly worse latency than zbud and
    z3fold but offered better memory savings.  This is no longer the case as
    shown by a simple recent analysis [1].  In a kernel build test on tmpfs in
    a limited cgroup, zbud 2-3% less time than zsmalloc, but at the cost of
    using ~32% more memory (1.5G vs 1.13G).  The tradeoff does not make sense
    for zbud in any practical scenario.

    The only alleged advantage of zbud is not having the dependency on
    CONFIG_MMU, but CONFIG_SWAP already depends on CONFIG_MMU anyway, and zbud
    is only used by zswap.

    Remove zbud after z3fold's removal, leaving zsmalloc as the one and only
    zpool allocator.  Leave the removal of the zpool API (and its associated
    config options) to a followup cleanup after no more allocators show up.

    Deprecating zbud for a few cycles before removing it was initially
    proposed [2], like z3fold was marked as deprecated for 2 cycles [3].
    However, Johannes rightfully pointed out that the 2 cycles is too short
    for most downstream consumers, and z3fold was deprecated first only as a
    courtesy anyway.

    [1]https://lore.kernel.org/lkml/CAJD7tkbRF6od-2x_L8-A1QL3=2Ww13sCj4S3i4bNndqF+3+_Vg@mail.gmail.com/
    [2]https://lore.kernel.org/lkml/Z5gdnSX5Lv-nfjQL@google.com/
    [3]https://lore.kernel.org/lkml/20240904233343.933462-1-yosryahmed@google.com/

    Link: https://lkml.kernel.org/r/20250129180633.3501650-3-yosry.ahmed@linux.dev
    Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
    Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev>
    Acked-by: Johannes Weiner <hannes@cmpxchg.org>
    Acked-by: Nhat Pham <nphamcs@gmail.com>
    Cc: Alexander Gordeev <agordeev@linux.ibm.com>
    Cc: Chengming Zhou <chengming.zhou@linux.dev>
    Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Heiko Carstens <hca@linux.ibm.com>
    Cc: Huacai Chen <chenhuacai@kernel.org>
    Cc: Miaohe Lin <linmiaohe@huawei.com>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Sven Schnelle <svens@linux.ibm.com>
    Cc: Vasily Gorbik <gor@linux.ibm.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Cc: WANG Xuerui <kernel@xen0n.name>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:16:28 -04:00
Rafael Aquini 00fc10e19a mm: z3fold: remove z3fold
JIRA: https://redhat.atlassian.net/browse/RHEL-145694

commit 58ba73e521b3d3a7a7612fc200beba1544a5100c
Author: Yosry Ahmed <yosry.ahmed@linux.dev>
Date:   Wed Jan 29 18:06:31 2025 +0000

    mm: z3fold: remove z3fold

    Patch series "mm: zswap: remove z3fold and zbud", v2.

    After 2 cycles of deprecating z3fold, remove it as well as zbud (rationale
    in specific patches).

    This patch (of 2):

    Z3fold has been marked as deprecated for 2 cycles and no one complained,
    as expected.  As there are no known users, remove the code now.

    Link: https://lkml.kernel.org/r/20250129180633.3501650-1-yosry.ahmed@linux.dev
    Link: https://lkml.kernel.org/r/20250129180633.3501650-2-yosry.ahmed@linux.dev
    Signed-off-by: Yosry Ahmed <yosry.ahmed@linux.dev>
    Acked-by: Johannes Weiner <hannes@cmpxchg.org>
    Reviewed-by: Shakeel Butt <shakeel.butt@linux.dev>
    Acked-by: Nhat Pham <nphamcs@gmail.com>
    Cc: Alexander Gordeev <agordeev@linux.ibm.com>
    Cc: Chengming Zhou <chengming.zhou@linux.dev>
    Cc: Christian Borntraeger <borntraeger@linux.ibm.com>
    Cc: Dan Streetman <ddstreet@ieee.org>
    Cc: Heiko Carstens <hca@linux.ibm.com>
    Cc: Huacai Chen <chenhuacai@kernel.org>
    Cc: Miaohe Lin <linmiaohe@huawei.com>
    Cc: Seth Jennings <sjenning@redhat.com>
    Cc: Sven Schnelle <svens@linux.ibm.com>
    Cc: Vasily Gorbik <gor@linux.ibm.com>
    Cc: Vitaly Wool <vitaly.wool@konsulko.com>
    Cc: Vlastimil Babka <vbabka@suse.cz>
    Cc: WANG Xuerui <kernel@xen0n.name>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:16:28 -04:00
Rafael Aquini 406968686c uaccess: Introduce ucopysize.h
JIRA: https://redhat.atlassian.net/browse/RHEL-145694

commit 808aac63e2bdf9bae08485e072bf3d317a18acbf
Author: Kees Cook <kees@kernel.org>
Date:   Fri Feb 28 10:19:34 2025 -0800

    uaccess: Introduce ucopysize.h

    The object size sanity checking macros that uaccess.h and uio.h use
    have been living in thread_info.h for historical reasons. Needing to
    use jump labels for these checks, however, introduces a header include
    loop under certain conditions. The dependencies for the object checking
    macros are very limited, but they are used by separate header files,
    so introduce a new header that can be used directly by uaccess.h and
    uio.h. As a result, this also means thread_info.h (which is rather large)
    and be removed from those headers.

    Reported-by: kernel test robot <lkp@intel.com>
    Closes: https://lore.kernel.org/oe-kbuild-all/202502281153.TG2XK5SI-lkp@intel.com/
    Signed-off-by: Kees Cook <kees@kernel.org>

Signed-off-by: Rafael Aquini <raquini@redhat.com>
2026-07-01 16:16:11 -04:00
Benjamin Tissoires 6b0b03cd60 HID: hid-lenovo-go-s: Add Lenovo Legion Go S Series HID Driver
JIRA: https://issues.redhat.com/browse/RHEL-170872
Upstream Status: since v7.1

commit a23f3497bf208c59adac1bc8fd1d8eae240b3001
Author: Derek J. Clark <derekjohn.clark@gmail.com>
Date:   Tue Mar 10 07:29:28 2026 +0000

    HID: hid-lenovo-go-s: Add Lenovo Legion Go S Series HID Driver

    Adds initial framework for a new HID driver, hid-lenovo-go-s, along with
    a uevent to report the firmware version for the MCU.

    This driver primarily provides access to the configurable settings of the
    Lenovo Legion Go S controller. It will attach if the controller is in
    xinput or dinput mode. Non-configuration raw reports are forwarded to
    ensure the other endpoints continue to function as normal.

    Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
    Co-developed-by: Mario Limonciello <mario.limonciello@amd.com>
    Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
    Co-developed-by: Ethan Tidmore <ethantidmore06@gmail.com>
    Signed-off-by: Ethan Tidmore <ethantidmore06@gmail.com>
    Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
    Signed-off-by: Jiri Kosina <jkosina@suse.com>

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
2026-07-01 19:01:54 +02:00
Benjamin Tissoires 45d984d764 HID: hid-lenovo-go: Add Lenovo Legion Go Series HID Driver
JIRA: https://issues.redhat.com/browse/RHEL-170872
Upstream Status: since v7.1

Conflict: MAINTAINERS is missing the other LENOVO entries (platform-x86
tree)

commit d69ccfcbc9551988190895bc125a8bf709aa5931
Author: Derek J. Clark <derekjohn.clark@gmail.com>
Date:   Tue Mar 10 07:29:20 2026 +0000

    HID: hid-lenovo-go: Add Lenovo Legion Go Series HID Driver

    Adds initial framework for a new HID driver, hid-lenovo-go, along with
    attributes that report the firmware and hardware version for each
    component of the HID device, of which there are 4 parts: The MCU, the
    transmission dongle, the left "handle" controller half, and the right
    "handle" controller half. Each of these devices are provided an attribute
    group to contain its device specific attributes. Additionally, the touchpad
    device attributes are logically separated from the other components in
    another attribute group.

    This driver primarily provides access to the configurable settings of the
    Lenovo Legion Go and Lenovo Legion Go 2 controllers running the latest
    firmware. As previously noted, the Legion Go controllers recently had a
    firmware update[1] which switched from the original "SepentiaUSB" protocol
    to a brand new protocol for the Go 2, primarily to ensure backwards and
    forwards compatibility between the Go and Go 2 devices. As part of that
    update the PIDs for the controllers were changed, so there is no risk of
    this driver attaching to controller firmware that it doesn't support.

    --
    v6:
      - Make attributes static.
      - Use NULL instead of 0 in mcu_propery_out when there is no data.
    v5:
      - Make version attributes static, retrieve them using delayed work
        during probe.
      - Fix endianness of version strings and print as hex.
    v3:
      - Add hid-lenovo.c and Mark Pearson to LENOVO HID DRIVERS entry in MAINTAINERS

    Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
    Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
    Signed-off-by: Jiri Kosina <jkosina@suse.com>

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
2026-07-01 19:01:50 +02:00
CKI KWF Bot d7ce0337e9 Merge: drivers/platform/x86/intel Updates to upstream 7.0
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2609

Description:
Updates for drivers/platform/x86/intel

JIRA: https://issues.redhat.com/browse/RHEL-176441

Signed-off-by: Steve Best <sbest@redhat.com>

Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-07-01 08:22:17 +00:00
CKI KWF Bot 2bb5b48063 Merge: gpio: Add Intel Nova Lake ACPI GPIO events driver and config
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2541

Description:
Add Intel Nova Lake ACPI GPIO events driver and enable config

JIRA: https://issues.redhat.com/browse/RHEL-117349

Signed-off-by: Steve Best <sbest@redhat.com>

Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: Brian Masney <bmasney@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-07-01 08:22:08 +00:00
Karol Herbst 3dac22c5df dma-buf: heaps: cma: Register list of CMA regions at boot
JIRA: https://issues.redhat.com/browse/RHEL-151744

Upstream Status: v6.19-rc1

commit 8b5690d5c942a80535f095c8965028262d4ab0f7
Author:     Maxime Ripard <mripard@kernel.org>
AuthorDate: Mon Oct 13 10:35:17 2025 +0200
Commit:     Sumit Semwal <sumit.semwal@linaro.org>
CommitDate: Sat Oct 18 21:31:21 2025 +0530

    In order to create a CMA heap instance for each CMA region found in the
    system, we need to register each of these instances.

    While it would appear trivial, the CMA regions are created super early
    in the kernel boot process, before most of the subsystems are
    initialized. Thus, we can't just create an exported function to create a
    heap from the CMA region being initialized.

    What we can do however is create a two-step process, where we collect
    all the CMA regions into an array early on, and then when we initialize
    the heaps we iterate over that array and create the heaps from the CMA
    regions we collected.

    Reviewed-by: T.J. Mercier <tjmercier@google.com>
    Signed-off-by: Maxime Ripard <mripard@kernel.org>
    Signed-off-by: Sumit Semwal <sumit.semwal@linaro.org>
    Link: https://lore.kernel.org/r/20251013-dma-buf-ecc-heap-v8-2-04ce150ea3d9@kernel.org

Signed-off-by: Karol Herbst <kherbst@redhat.com>
2026-06-24 22:51:10 +02:00
CKI KWF Bot 4d463cb6cc Merge: Update NFS/NFSD/LOCKD/SUNRPC RHEL10.3 to 7.1
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2625

Update NFS/NFSD/LOCKD/SUNRPC RHEL10.3 to 7.1

JIRA: https://issues.redhat.com/browse/RHEL-171581
Omitted-fix: 8c6cccefb33e ("ARM: shmobile: defconfig: Refresh for v7.0-rc1")
Omitted-fix: 48db892356d6 ("NFSD: Defer sub-object cleanup in export put callbacks")

Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>

Approved-by: Scott Mayhew <smayhew@redhat.com>
Approved-by: Andrea Arcangeli <aarcange@redhat.com>
Approved-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Approved-by: Xin Long <lxin@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-06-23 14:31:59 +00:00
CKI KWF Bot 02b6a65b1d Merge: Upgrade the SMC driver to latest from upstream, e.g. kernel 6.20
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2714

Description: Upgrade the SMC driver to latest from upstream, e.g. kernel 6.20. Include latest functionality and fixes from upstream

JIRA: https://redhat.atlassian.net/browse/RHEL-136142

Omitted-fix: 46def663dd34da36464ba059f7cfeacf29d98e5e (driver core: remove driver_set_override())

Signed-off-by: Mircea Dragan <mdragan@redhat.com>

Approved-by: Steve Best <sbest@redhat.com>
Approved-by: Jarod Wilson <jarod@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-06-22 16:30:00 +00:00
CKI KWF Bot 7597fc7d84 Merge: dm: sync with upstream v6.19
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2261

JIRA: https://issues.redhat.com/browse/RHEL-154975
JIRA: https://issues.redhat.com/browse/RHEL-148451
JIRA: https://issues.redhat.com/browse/RHEL-144458
JIRA: https://issues.redhat.com/browse/RHEL-127492
JIRA: https://issues.redhat.com/browse/RHEL-136802
Tested: lvm2-testsuite, cryptsetup, and dmtest-python tests
Omitted-fix: 787bd63ee661 ("dm mpath: Add missing dm_put_device when failing to get scsi dh name"). This fixes a commit that's not present in RHEL-10.3 (fd81bc5cca8f)

Pull in various dm changes from upstream.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>

Approved-by: Matthew Sakai <msakai@redhat.com>
Approved-by: Mikuláš Patočka <mpatocka@redhat.com>
Approved-by: Kenneth Raeburn <raeburn@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-06-22 16:29:40 +00:00
Mircea Dragan edfaf2d4b7 dibs: Create drivers/dibs
JIRA: https://redhat.atlassian.net/browse/RHEL-136142

commit 35758b0032c056cdff3e8f5a70669cb3e2c8d0e4
Author: Alexandra Winter <wintera@linux.ibm.com>
Date:   Thu Sep 18 13:04:49 2025 +0200

    dibs: Create drivers/dibs

    Create the file structure for a 'DIBS - Direct Internal Buffer Sharing'
    shim layer that will provide generic functionality and declarations for
    dibs device drivers and dibs clients.

    Following patches will add functionality.

    Signed-off-by: Alexandra Winter <wintera@linux.ibm.com>
    Link: https://patch.msgid.link/20250918110500.1731261-4-wintera@linux.ibm.com
    Signed-off-by: Paolo Abeni <pabeni@redhat.com>

Signed-off-by: Mircea Dragan <mdragan@redhat.com>
2026-06-17 08:18:18 +00:00
CKI KWF Bot 68dd47c106 Merge: wireguard: stable backport for 10.3 phase 1
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2332

JIRA: https://redhat.atlassian.net/browse/RHEL-152735

 * 463deed51796 ipv6: Add sockaddr_inet unified address structure
 * 9203e0a82c0b wireguard: peer: Replace sockaddr with sockaddr_inet
 * 5551d2128470 wireguard: queueing: simplify wg_cpumask_next_online()
 * 5bd8de20770c wireguard: queueing: always return valid online CPU in wg_cpumask_choose_online()
 * e0e1b6db2e4b wireguard: netlink: enable strict genetlink validation
 * aea199fa1571 wireguard: netlink: validate nested arrays in policy
 * 9755f9de8fac wireguard: netlink: use WG_KEY_LEN in policies
 * 73af07d7f2f6 wireguard: netlink: convert to split ops
 * b8bcc17f583b wireguard: netlink: lower .maxattr for WG_CMD_GET_DEVICE
 * 6b0f4ca079db wireguard: netlink: add YNL specification
 * b5c5a82bf5cb wireguard: uapi: move enum wg_cmd
 * 8d974872ab29 wireguard: uapi: move flag enums
 * 88cedad45ba1 wireguard: uapi: generate header with ynl-gen
 * 3fd2f3d2f425 wireguard: netlink: generate netlink code
 * 88df3972c11b wireguard: allowedips: Use kfree_rcu() instead of call_rcu()
 * e4969f48a18a wireguard: allowedips: remove redundant space
 * 51dc5d10069d wireguard: device: use exit_rtnl callback instead of manual rtnl_lock in pre_exit
 * 6c579d79a1a9 wireguard: send: append trailer after expanding head

Signed-off-by: CKI Backport Bot <cki-ci-bot+cki-gitlab-backport-bot@redhat.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
[^footer]: Created 2026-03-31 09:48 UTC by backporter - [KWF FAQ](https://red.ht/kernel_workflow_doc) - [Slack #team-kernel-workflow](https://redhat-internal.slack.com/archives/C04LRUPMJQ5) - [Source](https://gitlab.com/cki-project/kernel-workflow/-/blob/main/webhook/utils/backporter.py) - [Documentation](https://gitlab.com/cki-project/kernel-workflow/-/blob/main/docs/README.backporter.md) - [Report an issue](https://redhat.atlassian.net/secure/CreateIssueDetails!init.jspa?pid=12334433&issuetype=1&priority=4&summary=backporter+webhook+issue&components=kernel-workflow+/+backporter) [^footer]

Approved-by: Toke Høiland-Jørgensen <toke@redhat.com>
Approved-by: Davide Caratti <dcaratti@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-06-15 08:38:31 +00:00
CKI KWF Bot 39957b7c46 Merge: ACPI: update to match v7.0 for RHEL-10.3
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2302

RESOLVES: RHEL-156420
JIRA: https://issues.redhat.com/browse/RHEL-156420

Omitted-fix: 32f072d9eaf9c31c2b0527a4a3370570a731e3cc "rust: cpufreq: fix formatting"
The cpufreq rust code is not in RHEL-10 so there's no formatting to fix.

Does not include the ACPI_NOSTRING commits at this time.

Some ARM64 commits relating to MPAM were skipped because the ARM64 team will handle them.

Some commits relating to APEI/GHES were skipped as they require additional ARM64 infrastructure.

Two commits relating to mm were included to provide the at_least definition.

Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>

Approved-by: José Ignacio Tornos Martínez <jtornosm@redhat.com>
Approved-by: Javier Martinez Canillas <javierm@redhat.com>
Approved-by: Steve Best <sbest@redhat.com>
Approved-by: David Arcari <darcari@redhat.com>
Approved-by: Rafael Aquini <raquini@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-06-15 08:38:28 +00:00
CKI KWF Bot f3df26506b Merge: iio: adc: backport NXP_SAR_ADC and enable as module in automotive
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2270

## Summary of Changes

Backport upstream `nxp-sar-adc` driver, update the IIO modules it depends on (`drivers/iio/buffer` and `.../trigger`), and enable the driver as a module.

## Commit Selection

The commits backported here were selected by targeting the following paths' changes in the range `linux/v6.12..linux/v7.0-rc3`:

```
drivers/iio/adc/nxp-sar-adc.c
drivers/iio/industrialio-*
drivers/iio/buffer/
drivers/iio/trigger/
Documentation/devicetree/bindings/iio/adc/nxp,s32g2-sar-adc.yaml
include/linux/iio/
```

To keep this MR from blowing up too much, I aggressively filtered out most commits that weren't directly related to `IIO_BUFFER`, `IIO_TRIGGER`, `include/linux/iio`, or the `nxp-sar-adc` driver, which resulted in about 200 irrelevant commits being pruned.

## Testing

This MR depends on devicetree nodes that aren't present upstream yet. The nodes can be found [here](https://gitlab.com/CentOS/automotive/rpms/s32g-vendor-boot/-/merge_requests/10). With this fixup in place, the driver can be tested in sysfs:

```
# { lsmod; dmesg; } | grep -i -e iio -e adc -e industrialio
nxp_sar_adc            20480  0
industrialio_triggered_buffer    12288  1 nxp_sar_adc
kfifo_buf              12288  1 industrialio_triggered_buffer
industrialio          122880  3 industrialio_triggered_buffer,nxp_sar_adc,kfifo_buf
# cat ./check_adc.sh
#!/bin/bash
set -eu

check() {
        init=$(<"$1")
        sleep 1.5s
        end=$(<"$1")
        printf '%s -> %s\n' "$init" "$end"
}

for device in /sys/bus/iio/devices/*; do
        for chan in "$device"/in_voltage?_raw; do
                echo "==> $chan <=="
                check "$chan"
                echo
        done
done
# ./check_adc.sh
==> /sys/bus/iio/devices/iio:device0/in_voltage0_raw <==
1843 -> 1817

==> /sys/bus/iio/devices/iio:device0/in_voltage1_raw <==
1786 -> 1818

==> /sys/bus/iio/devices/iio:device0/in_voltage2_raw <==
1736 -> 1817

==> /sys/bus/iio/devices/iio:device0/in_voltage3_raw <==
1804 -> 1822

==> /sys/bus/iio/devices/iio:device0/in_voltage4_raw <==
16 -> 16

==> /sys/bus/iio/devices/iio:device0/in_voltage5_raw <==
3098 -> 3142

==> /sys/bus/iio/devices/iio:device0/in_voltage6_raw <==
4 -> 4

==> /sys/bus/iio/devices/iio:device0/in_voltage7_raw <==
1581 -> 1815

==> /sys/bus/iio/devices/iio:device1/in_voltage0_raw <==
18 -> 18

==> /sys/bus/iio/devices/iio:device1/in_voltage1_raw <==
16 -> 18

==> /sys/bus/iio/devices/iio:device1/in_voltage2_raw <==
15 -> 16

==> /sys/bus/iio/devices/iio:device1/in_voltage3_raw <==
14 -> 16

==> /sys/bus/iio/devices/iio:device1/in_voltage4_raw <==
14 -> 17

==> /sys/bus/iio/devices/iio:device1/in_voltage5_raw <==
3110 -> 3150

==> /sys/bus/iio/devices/iio:device1/in_voltage6_raw <==
5 -> 4

==> /sys/bus/iio/devices/iio:device1/in_voltage7_raw <==
1642 -> 1859
```

The raw values don't mean much since the pins are floating, but the fact that they fluctuate indicates that the ADC hardware is reading real values from the pins.

## Approved Development Ticket(s)

JIRA: https://issues.redhat.com/browse/RHEL-156761

Omitted-fix: 978d28136c53 ("iio: dac: ad3552r-hs: fix out-of-bound write in ad3552r_hs_write_data_source")
             References da9374819eb3 ("iio: backend: fix out-of-bound write")
             due to similarity; doesn't fix it.

Signed-off-by: Jared Kangas <jkangas@redhat.com>

Approved-by: Enric Balletbo i Serra <eballetbo@redhat.com>
Approved-by: Jarod Wilson <jarod@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-06-15 08:38:26 +00:00
Olga Kornievskaia 64eba1f8e2 NFSD: Add a subsystem policy document
JIRA: https://issues.redhat.com/browse/RHEL-171581

commit 3a1ce35030e1e0e35bc38db5e0be0165945f7e7f
Author: Chuck Lever <chuck.lever@oracle.com>
Date:   Tue Oct 14 11:09:58 2025 -0400

    NFSD: Add a subsystem policy document

    Steer contributors to NFSD's patchworks instance, list our patch
    submission preferences, and more. The new document is based on the
    existing netdev and xfs subsystem policy documents.

    This is an attempt to add transparency to the process of accepting
    contributions to NFSD and getting them merged upstream.

    Suggested-by: "Darrick J. Wong" <djwong@kernel.org>
    Cc: Luis Chamberlain <mcgrof@kernel.org>
    Cc: Martin K. Petersen <martin.petersen@oracle.com>
    Reviewed-by: NeilBrown <neil@brown.name>
    [ cel: Hand-edits to address review comments ]
    Signed-off-by: Chuck Lever <chuck.lever@oracle.com>

Signed-off-by: Olga Kornievskaia <okorniev@redhat.com>
2026-06-11 15:17:33 -04:00
Jose Ignacio Tornos Martinez b66637ec9d MAINTAINERS: add RELAY entry
JIRA: https://issues.redhat.com/browse/RHEL-171410

commit 06de173b138513087896f9cf090f30b35846518d
Author: Jason Xing <kernelxing@tencent.com>
Date:   Sun Mar 1 10:09:02 2026 +0800

    MAINTAINERS: add RELAY entry
    
    RELAYFS was originally developed by Tom Zanussi and Karim Yaghmour in
    2005[1].  Jens Axboe converted it from filesystem into a generic API in
    2006[2] and made it widely known through the notable I/O tracing tool
    blktrace.  In the decade, there remain a few users scatterred across
    different subsystems, like recently added wifi commit[3] that is an
    example to show how to communicate between users and kernel.  Last year
    I've already done some maintenance and added/corrected some diagnostic
    counters.
    
    At Tencent, we internally maintain RELAY as one of most crucial components
    of network observibility platform which was shared a bit at LPC 2025[4][5]
    and hopefully will be published in the paper this year.  RELAY has proven
    highly efficient due to its inherent design essence.  This design becomes
    the indispensable way to build a 7x24 platform monitoring various hot
    paths even without any selectively sampling (yes, sampling is commonly
    used to avoid the overall performance degradation).  One of the
    recommended usages is to use its zerocopy function relay_reserve() to
    transfer data in a raw format that can be recognized and parsed by the
    corresponding application to userspace without introducing heavy locks and
    complicated logic that appears in other types of approaches, like printk.
    More details can be discovered by reading through the Documentation :)
    
    Credits are given to the all the contributors and reviewers for
    RELAY/RELAYFS in the past and future! Many thanks!
    
    [1]: commit e82894f84d ("[PATCH] relayfs")
    [2]: commit b86ff981a8 ("[PATCH] relay: migrate from relayfs to a generic relay API")
    [3]: commit c1bf6959dd81 ("wifi: ath11k: Register relayfs entries for CFR dump")
    [4]: https://lpc.events/event/19/contributions/2055/
    [5]: https://lpc.events/event/19/contributions/2010/
    
    Link: https://lkml.kernel.org/r/20260301020902.56476-1-kerneljasonxing@gmail.com
    Signed-off-by: Jason Xing <kernelxing@tencent.com>
    Acked-by: Andrew Morton <akpm@linux-foundation.org>
    Acked-by: Jens Axboe <axboe@kernel.dk>
    Cc: Andriy Shevchenko <andriy.shevchenko@linux.intel.com>
    Cc: Tom Zanussi <zanussi@us.ibm.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Signed-off-by: Jose Ignacio Tornos Martinez <jtornosm@redhat.com>
2026-06-08 09:12:19 +02:00
Jared Kangas a4f4dd5b78 MAINTAINERS: Add IIO ADC helpers
JIRA: https://issues.redhat.com/browse/RHEL-156761

commit 96f0f0e3aca4925917be32a69367fad2e18a24bc
Author: Matti Vaittinen <mazziesaccount@gmail.com>
Date:   Mon Mar 24 09:13:56 2025 +0200

    MAINTAINERS: Add IIO ADC helpers

    Add undersigned as a maintainer for the IIO ADC helpers.

    Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
    Link: https://patch.msgid.link/1263c954cfb74223f322a9c31bd57f13d5516680.1742560649.git.mazziesaccount@gmail.com
    Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Signed-off-by: Jared Kangas <jkangas@redhat.com>
2026-06-03 12:15:58 -07:00
CKI KWF Bot 057bf6eb77 Merge: ALSA - update drivers for 10.3 - upstream 7.0
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2429

JIRA: https://issues.redhat.com/browse/RHEL-168082

This upstream patchset updates the ALSA driver code:

* ALSA core
* ALSA HDA
* ALSA USB
* ALSA PCI
* ALSA SoC (mainly SOF including SoundWire drivers)
* Soundwire bus
* regmap core

The other components are touched to get things in sync with the current upstream:

Some touched drivers are for hardware platforms which are not used in RHEL. The purpose to merge those upstream commits is to keep the future code sync more easy.

Omitted-fix: 0f9bfb84b3f0fe1406b2555fc11b45283ea21644 # will be included in 7.1 sound backport

Signed-off-by: Jaroslav Kysela <jkysela@redhat.com>

Approved-by: Bastien Nocera <bnocera@redhat.com>
Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: Eric Chanudet <echanude@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-06-02 07:39:36 +00:00
CKI KWF Bot 88366b4f3d Merge: entry: Split generic entry into generic exception and syscall entry
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2178

### Summary

JIRA: https://issues.redhat.com/browse/RHEL-150903

Backport upstream commit
a70e9f647f501e36a6a092888b1ea7386b7c5664
("entry: Split generic entry into generic exception and syscall entry")
as a prerequisite for the arm64 v6.18 generic IRQ entry switchover.

This change separates generic exception entry logic from generic syscall entry
logic by introducing distinct configuration options:

* CONFIG_GENERIC_IRQ_ENTRY
* CONFIG_GENERIC_SYSCALL

and restructuring the associated infrastructure in:

* include/linux/entry-common.h
* include/linux/irq-entry-common.h (new)
* kernel/entry/common.c
* kernel/entry/syscall-common.c (new)
* kernel/sched/core.c

The goal is to align CS10 with upstream’s generic entry framework so that
subsequent arm64 v6.18 entry changes can be applied cleanly and in smaller,
reviewable steps.

---

### Scope and Behavior

This refactoring does the following:

* Splits the generic entry implementation into exception and syscall paths
  consistent with upstream.
* Moves syscall-specific helpers out of `common.c` into `syscall-common.c`.
* Moves IRQ/exception and exit-to-user infrastructure into
  `irq-entry-common.h`.
* Updates Kconfig and Makefile wiring to reflect the split.
* Adjusts scheduler glue under `CONFIG_PREEMPT_DYNAMIC` to use the new
  `CONFIG_GENERIC_IRQ_ENTRY` guard.

CS10 behavior is preserved. The seccomp calling convention remains
`__secure_computing(NULL)` as in CS10. No functional logic changes are
introduced beyond the structural refactor required to match upstream layout.

---

### Rationale

The arm64 v6.18 entry conversion relies on the upstream generic entry split.
This MR isolates the generic entry split as a standalone prerequisite,
keeping the arm64 v6.18 backport series focused and reviewable.

---

### Testing

* Build-tested on x86_64 and aarch64 with `CONFIG_GENERIC_ENTRY` enabled.
* No runtime behavior changes expected.

Signed-off-by: Steve Dunnagan <sdunnaga@redhat.com>

Approved-by: Charles Mirabile <cmirabil@redhat.com>
Approved-by: Herton R. Krzesinski <herton@redhat.com>
Approved-by: Mark Salter <msalter@redhat.com>
Approved-by: Phil Auld <pauld@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-05-29 11:22:23 +00:00
Steve Best ded26e214e platform/x86/intel: Introduce Intel Elkhart Lake PSE I/O
JIRA: https://issues.redhat.com/browse/RHEL-176441

commit a0c83150eea5807dbedf786f55cd49b14af118a8
Author: Raag Jadav <raag.jadav@intel.com>
Date:   Wed Nov 12 09:10:10 2025 +0530

    platform/x86/intel: Introduce Intel Elkhart Lake PSE I/O

    Intel Elkhart Lake Programmable Service Engine (PSE) includes two PCI
    devices that expose two different capabilities of GPIO and Timed I/O
    as a single PCI function through shared MMIO with below layout.

    GPIO: 0x0000 - 0x1000
    TIO:  0x1000 - 0x2000

    This driver enumerates the PCI parent device and creates auxiliary child
    devices for these capabilities. The actual functionalities are provided
    by their respective auxiliary drivers.

    Signed-off-by: Raag Jadav <raag.jadav@intel.com>
    Acked-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
    Link: https://lore.kernel.org/r/20251112034040.457801-2-raag.jadav@intel.com
    Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>

Signed-off-by: Steve Best <sbest@redhat.com>
2026-05-18 13:44:27 -04:00
Mark Langsdorf d2b240adfd clocksource/drivers/arm_arch_timer: Add standalone MMIO driver
JIRA: https://issues.redhat.com/browse/RHEL-156420

commit 4891f01527bbbb0cf0e515c803ade67a17e247bb
Author: Marc Zyngier <maz@kernel.org>
Date:   Thu Aug 14 16:46:20 2025 +0100

Add a new driver for the MMIO side of the ARM architected timer.
Most of it has been lifted from the existing arch timer code,
massaged, and finally rewritten.

It supports both DT and ACPI as firmware descriptions.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Tested-by: Sudeep Holla <sudeep.holla@arm.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20250814154622.10193-3-maz@kernel.org
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
2026-05-15 12:42:01 -04:00
Mark Langsdorf 111665c227 ACPI: RISC-V: Add support for RIMT
JIRA: https://issues.redhat.com/browse/RHEL-156420

commit 8f77295525825086cb43675cd1a4f3716b119d7f
Author: Sunil V L <sunilvl@ventanamicro.com>
Date: Fri, 05 Sep 2025 15:06:03 +0000

RISC-V IO Mapping Table (RIMT) is a static ACPI table to communicate
IOMMU information to the OS. The spec is available at [1].

The changes at high level are,
	a) Initialize data structures required for IOMMU/device
	   configuration using the data from RIMT. Provide APIs required
	   for device configuration.
	b) Provide an API for IOMMU drivers to register the
	   fwnode with RIMT data structures. This API will create a
	   fwnode for PCIe IOMMU.

[1] - https://github.com/riscv-non-isa/riscv-acpi-rimt

Signed-off-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250818045807.763922-2-sunilvl@ventanamicro.com
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Signed-off-by: Mark Langsdorf <mlangsdo@redhat.com>
2026-05-15 12:41:34 -04:00
CKI KWF Bot 375d2ddd85 Merge: Enable resctrlfs support for MPAM
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-10/-/merge_requests/2515

JIRA: https://redhat.atlassian.net/browse/RHEL-164228
JIRA: https://redhat.atlassian.net/browse/RHEL-100932
Upstream Status: v7.1 and RHEL-only for config changes
Tested: Passed MPAM test, kselftests/kvm, kvm-unit-tests on grace-hopper01 (4KB + 64KB)

This series intends to enable resctrlfs support for MPAM by picking up
the following two upstream series, the subsequent fixes, and the needed
dependent upstream commits.

[PATCH v6 00/34] arm_mpam: Add basic mpam driver
(https://lore.kernel.org/all/20251119122305.302149-1-ben.horgan@arm.com)
[PATCH v6 00/40] arm_mpam: Add KVM/arm64 and resctrl glue code
(https://lore.kernel.org/all/20260313144617.3420416-1-ben.horgan@arm.com)

The following upstream commits are picked up as the fixes to the base
driver.

fb75437b4478 arm_mpam: Force __iomem casts
c1376f1ff3f0 arm_mpam: Disable preemption when making accesses to fake MSC in kunit test
4ad79c874e53 arm_mpam: Fix null pointer dereference when restoring bandwidth counters
b9f5c38e4af1 arm_mpam: Use non-atomic bitops when modifying feature bitmap
b5a69c486921 arm_mpam: Remove duplicate linux/srcu.h header
c2803bd580db arm_mpam: Stop using uninitialized variables in __ris_msmon_read()

The following upstream commits are picked up as the fixes to resctrlfs
support for MPAM.

4d5bbbafc170 arm_mpam: resctrl: Make resctrl_mon_ctx_waiters static
67c0a487efa5 arm_mpam: resctrl: Fix the check for no monitor components found
f758340da529 arm_mpam: resctrl: Fix MBA CDP alloc_capable handling on unmount

Changelog:
v2:
- Drop upstream commit b56651007fc0 ("cpumask: Add initialiser to use cleanup
helper") that has been merged through MR-2358

Signed-off-by: Gavin Shan <gshan@redhat.com>

Approved-by: Mark Salter <msalter@redhat.com>
Approved-by: Sebastian Ott <sebott@redhat.com>
Approved-by: Eric Auger <eric.auger@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: CKI GitLab Kmaint Pipeline Bot <26919896-cki-kmaint-pipeline-bot@users.noreply.gitlab.com>
2026-05-14 13:45:19 +00:00