Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
ce1fe06
dpll: zl3073x: Fix output pin phase adjustment sign
PlaidCat May 19, 2026
01a2ca1
dpll: Allow associating dpll pin with a firmware node
PlaidCat May 19, 2026
0994dff
dpll: zl3073x: Associate pin with fwnode handle
PlaidCat May 19, 2026
4ace11d
dpll: Add notifier chain for dpll events
PlaidCat May 19, 2026
2731929
dpll: Support dynamic pin index allocation
PlaidCat May 19, 2026
0223847
dpll: zl3073x: Add support for mux pin type
PlaidCat May 19, 2026
7f31dff
dpll: Enhance and consolidate reference counting logic
PlaidCat May 19, 2026
636a40a
dpll: Add reference count tracking support
PlaidCat May 19, 2026
ab92691
drivers: Add support for DPLL reference count tracking
PlaidCat May 19, 2026
f0656cb
ice: dpll: Support E825-C SyncE and dynamic pin discovery
PlaidCat May 19, 2026
ce819bc
nvme: fix memory leak in quirks_param_set()
PlaidCat May 19, 2026
e809fd6
vsock: document namespace mode sysctls
PlaidCat May 19, 2026
49b61ee
vsock: Use container_of() to get net namespace in sysctl handlers
PlaidCat May 19, 2026
4aa00d1
vsock: lock down child_ns_mode as write-once
PlaidCat May 19, 2026
19dc08e
vsock: document write-once behavior of the child_ns_mode sysctl
PlaidCat May 19, 2026
a16f4ab
idpf: export RX hardware timestamping information to XDP
PlaidCat May 19, 2026
fec0edd
KVM: selftests: Add support for #DE exception fixup
PlaidCat May 19, 2026
f2287b1
KVM: x86: Add human friendly formatting for #XM, and #VE
PlaidCat May 19, 2026
17a478c
KVM: x86: Define Control Protection Exception (#CP) vector
PlaidCat May 19, 2026
20952fe
KVM: x86: Define AMD's #HV, #VC, and #SX exception vectors
PlaidCat May 19, 2026
7b17538
KVM: selftests: Add ex_str() to print human friendly name of exceptio…
PlaidCat May 19, 2026
98583d2
x86/fpu: Clear XSTATE_BV[i] in guest XSAVE state whenever XFD[i]=1
PlaidCat May 19, 2026
6535cdb
selftests: kvm: replace numbered sync points with actions
PlaidCat May 19, 2026
eaf8eb7
selftests: kvm: try getting XFD and XSAVE state out of sync
PlaidCat May 19, 2026
89bd1c3
selftests: kvm: Verify TILELOADD actually #NM faults when XFD[18]=1
PlaidCat May 19, 2026
30c3c01
net: vlan: don't propagate flags on open
PlaidCat May 19, 2026
dd4d5c9
PCI: vmd: Add VMD Device ID Support for Panther Lake (PTL)-H/P/U
PlaidCat May 19, 2026
b5cf495
PCI: vmd: Override irq_startup()/irq_shutdown() in vmd_init_dev_msi_i…
PlaidCat May 19, 2026
0a70703
bpf: crypto: Use the correct destructor kfunc type
PlaidCat May 19, 2026
65decdc
selftests/bpf: Use the correct destructor kfunc type
PlaidCat May 19, 2026
bfb3e93
perf/amd/ibs: Avoid calling perf_allow_kernel() from the IBS NMI handler
PlaidCat May 19, 2026
bc2a7dd
migrate: correct lock ordering for hugetlb file folios
PlaidCat May 19, 2026
abe3fa5
spi: tegra210-quad: Return IRQ_HANDLED when timeout already processed…
PlaidCat May 19, 2026
6541916
spi: tegra210-quad: Move curr_xfer read inside spinlock
PlaidCat May 19, 2026
7db06fb
spi: tegra210-quad: Protect curr_xfer assignment in tegra_qspi_setup_…
PlaidCat May 19, 2026
3efa4db
spi: tegra210-quad: Protect curr_xfer in tegra_qspi_combined_seq_xfer
PlaidCat May 19, 2026
db9cff5
spi: tegra210-quad: Protect curr_xfer clearing in tegra_qspi_non_comb…
PlaidCat May 19, 2026
126968c
spi: tegra210-quad: Protect curr_xfer check in IRQ handler
PlaidCat May 19, 2026
0261d42
smb: client: fix broken multichannel with krb5+signing
PlaidCat May 19, 2026
15e64e6
macvlan: fix error recovery in macvlan_common_newlink()
PlaidCat May 19, 2026
d248525
macvlan: observe an RCU grace period in macvlan_common_newlink() erro…
PlaidCat May 19, 2026
41bd3ae
netfilter: nf_tables: fix inverted genmask check in nft_map_catchall_…
PlaidCat May 19, 2026
2c68348
netfilter: nf_tables: fix use-after-free in nf_tables_addchain()
PlaidCat May 19, 2026
35df309
ixgbevf: add missing negotiate_features op to Hyper-V ops table
PlaidCat May 19, 2026
cb1df80
mshv: Fix VpRootDispatchThreadBlocked value
PlaidCat May 19, 2026
c846c84
mshv: Fix deposit memory in MSHV_ROOT_HVCALL
PlaidCat May 19, 2026
c6863f0
mshv: Only map vp->vp_stats_pages if on root scheduler
PlaidCat May 19, 2026
411f0b8
mshv: Add the HVCALL_GET_PARTITION_PROPERTY_EX hypercall
PlaidCat May 19, 2026
0e62054
mshv: Get the vmm capabilities offered by the hypervisor
PlaidCat May 19, 2026
2ac63aa
mshv: Allocate vp state page for HVCALL_MAP_VP_STATE_PAGE on L1VH
PlaidCat May 19, 2026
1ff80b4
mshv: Introduce new hypercall to map stats page for L1VH partitions
PlaidCat May 19, 2026
6e77e89
hyperv: Add two new hypercall numbers to guest ABI public header
PlaidCat May 19, 2026
c05bd5e
mshv: add WQ_PERCPU to alloc_workqueue users
PlaidCat May 19, 2026
57d6f89
mshv: Fix create memory region overlap check
PlaidCat May 19, 2026
69e250c
mshv: Allow mappings that overlap in uaddr
PlaidCat May 19, 2026
149f0fe
mshv: Extend create partition ioctl to support cpu features
PlaidCat May 19, 2026
9f49c13
mshv: Add ioctl for self targeted passthrough hvcalls
PlaidCat May 19, 2026
0665c97
mshv: adjust interrupt control structure for ARM64
PlaidCat May 19, 2026
9d7fc4b
mshv: Refactor and rename memory region handling functions
PlaidCat May 19, 2026
ec2edf7
mshv: Centralize guest memory region destruction
PlaidCat May 19, 2026
d4f7569
mshv: Move region management to mshv_regions.c
PlaidCat May 19, 2026
b89bce3
mshv: Fix huge page handling in memory region traversal
PlaidCat May 19, 2026
482e825
mshv: Add refcount and locking to mem regions
PlaidCat May 19, 2026
9759876
mshv: Add support for movable memory regions
PlaidCat May 19, 2026
e2cfc65
mshv: Add definitions for MSHV sleep state configuration
PlaidCat May 19, 2026
fed08aa
mshv: Use reboot notifier to configure sleep state
PlaidCat May 19, 2026
3f8d638
mshv: Cleanly shutdown root partition with MSHV
PlaidCat May 19, 2026
e3ddb81
mshv: Use PMD_ORDER instead of HPAGE_PMD_ORDER when processing regions
PlaidCat May 19, 2026
66e5cef
mshv: Initialize local variables early upon region invalidation
PlaidCat May 19, 2026
2a038a7
mshv: hide x86-specific functions on arm64
PlaidCat May 19, 2026
cd2bdc0
mshv: release mutex on region invalidation failure
PlaidCat May 19, 2026
4767911
mshv: Align huge page stride with guest mapping
PlaidCat May 19, 2026
29bcbb7
mshv: Store the result of vfs_poll in a variable of type __poll_t
PlaidCat May 19, 2026
8e88008
mshv: Add __user attribute to argument passed to access_ok()
PlaidCat May 19, 2026
337bf7b
mshv: add definitions for arm64 gpa intercepts
PlaidCat May 19, 2026
f289c89
mshv: handle gpa intercepts for arm64
PlaidCat May 19, 2026
d00f8be
perf: arm_pmuv3: Don't use PMCCNTR_EL0 on SMT cores
PlaidCat May 19, 2026
f85d4d5
arch_topology: Provide a stub topology_core_has_smt() for !CONFIG_GEN…
PlaidCat May 19, 2026
106b719
mm/damon/sysfs: cleanup attrs subdirs on context dir setup failure
PlaidCat May 19, 2026
272ccd4
net: add skb_header_pointer_careful() helper
PlaidCat May 19, 2026
6dfed01
net/sched: cls_u32: use skb_header_pointer_careful()
PlaidCat May 19, 2026
42d462f
ice: Fix PTP NULL pointer dereference during VSI rebuild
PlaidCat May 19, 2026
e967be7
libceph: Remove unused ceph_crypto_key_encode
PlaidCat May 19, 2026
ef2c931
libceph: define and enforce CEPH_MAX_KEY_LEN
PlaidCat May 19, 2026
291f384
libceph: generalize ceph_x_encrypt_offset() and ceph_x_encrypt_buflen()
PlaidCat May 19, 2026
42e4fad
libceph: introduce ceph_crypto_key_prepare()
PlaidCat May 19, 2026
60d8eb0
libceph: add support for CEPH_CRYPTO_AES256KRB5
PlaidCat May 19, 2026
e7799bf
libceph: adapt ceph_x_challenge_blob hashing and msgr1 message signing
PlaidCat May 19, 2026
c8269d8
powerpc, perf: Check that current->mm is alive before getting user ca…
PlaidCat May 19, 2026
c133ced
efivarfs: fix error propagation in efivar_entry_get()
PlaidCat May 19, 2026
e59d181
wifi: mac80211_hwsim: fix typo in frequency notification
PlaidCat May 19, 2026
309030f
IB/IPoIB: Add support for hwtstamp get/set ndos
PlaidCat May 19, 2026
1c4609b
iavf: fix incorrect reset handling in callbacks
PlaidCat May 19, 2026
8c376ee
RDMA/umad: Reject negative data_len in ib_umad_write
PlaidCat May 19, 2026
38e66e5
allow finish_no_open(file, ERR_PTR(-E...))
PlaidCat May 19, 2026
7463ded
ALSA: aloop: Fix racy access at PCM trigger
PlaidCat May 19, 2026
5d6a14d
bonding: fix use-after-free due to enslave fail after slave array update
PlaidCat May 19, 2026
b6afd8a
cifs: some missing initializations on replay
PlaidCat May 19, 2026
dd1ca89
smb: client: fix oops due to uninitialised var in smb2_unlink()
PlaidCat May 19, 2026
de77c09
iavf: fix PTP use-after-free during reset
PlaidCat May 19, 2026
993e27e
platform/mellanox: mlxbf-pmc: incorrect type in assignment
PlaidCat May 19, 2026
163ba3e
platform/mellanox: mlxbf-pmc: Add support for monitoring cycle count
PlaidCat May 19, 2026
fa6f8fc
platform/mellanox: mlxbf-pmc: Add support for clock_measure performan…
PlaidCat May 19, 2026
af31b31
platform/mellanox: mlxbf-pmc: Support additional PMC blocks
PlaidCat May 19, 2026
c4e46ad
platform/mellanox: mlxbf-pmc: Fix duplicate event ID for CACHE_DATA1
PlaidCat May 19, 2026
0165c14
platform/mellanox: mlxbf-pmc: Remove newline char from event name input
PlaidCat May 19, 2026
b8e68ef
platform/mellanox: mlxbf-pmc: Validate event/enable input
PlaidCat May 19, 2026
e587133
platform/mellanox: mlxbf-pmc: Use kstrtobool() to check 0/1 input
PlaidCat May 19, 2026
bd1bca3
platform/mellanox: mlxbf-pmc: add sysfs_attr_init() to count_clock init
PlaidCat May 19, 2026
f2fa151
Comment out configs/*.config in .gitignore for kernel-6.12.0-211.7.1.…
PlaidCat May 19, 2026
23c1adc
Rebuild rocky10_2 with kernel-6.12.0-211.7.1.el10_2
PlaidCat May 19, 2026
175e50a
crypto: af-alg - fix NULL pointer dereference in scatterwalk
PlaidCat May 19, 2026
d134671
crypto: algif_aead - Revert to operating out-of-place
PlaidCat May 19, 2026
845dc2a
crypto: af_alg - limit RX SG extraction by receive buffer budget
PlaidCat May 19, 2026
6b9aaf8
crypto: af_alg - Fix page reassignment overflow in af_alg_pull_tsgl
PlaidCat May 19, 2026
ca7c5a8
crypto: authencesn - reject too-short AAD (assoclen<8) to match ESP/E…
PlaidCat May 19, 2026
25698db
crypto: authencesn - Do not place hiseq at end of dst for out-of-plac…
PlaidCat May 19, 2026
da6f70d
crypto: authencesn - Fix src offset when decrypting in-place
PlaidCat May 19, 2026
9772372
crypto: authencesn - reject short ahash digests during instance creation
PlaidCat May 19, 2026
bdaea65
crypto: algif_aead - Fix minimum RX size check for decryption
PlaidCat May 19, 2026
d989583
crypto: algif_aead - snapshot IV for async AEAD requests
PlaidCat May 19, 2026
2628109
Rebuild rocky10_2 with kernel-6.12.0-211.7.3.el10_2
PlaidCat May 19, 2026
7696413
github actions: Add build checks for Rocky10 on supported Architectures
PlaidCat Jul 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
38 changes: 38 additions & 0 deletions .github/workflows/build-check_aarch64-rt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: aarch64-RT CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux/rockylinux:10.1
env:
ROCKY_ENV: rocky10
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
dnf groupinstall 'Development Tools' -y
dnf install openssl -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-aarch64-rt-rhel.config .config
make olddefconfig
make -j8
38 changes: 38 additions & 0 deletions .github/workflows/build-check_aarch64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: aarch64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux/rockylinux:10.1
env:
ROCKY_ENV: rocky10
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
dnf groupinstall 'Development Tools' -y
dnf install openssl -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-aarch64-rhel.config .config
make olddefconfig
make -j8
38 changes: 38 additions & 0 deletions .github/workflows/build-check_x86_64-rt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: x86_64-RT CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux/rockylinux:10.1
env:
ROCKY_ENV: rocky10
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
dnf groupinstall 'Development Tools' -y
dnf install openssl -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-x86_64-rt-rhel.config .config
make olddefconfig
make -j8
38 changes: 38 additions & 0 deletions .github/workflows/build-check_x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: x86_64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux/rockylinux:10.1
env:
ROCKY_ENV: rocky19
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf update -y
dnf install 'dnf-command(config-manager)' -y
dnf config-manager --set-enabled devel
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -y
dnf groupinstall 'Development Tools' -y
dnf install openssl -y
- name: Checkout code
uses: actions/checkout@v4
with:
ref: "${{ github.event.pull_request.head.sha }}"
fetch-depth: 0
- name: Build the Kernel
run: |
git config --global --add safe.directory /__w/kernel-src-tree/kernel-src-tree
cp configs/kernel-x86_64-rhel.config .config
make olddefconfig
make -j8
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ x509.genkey
#
# Red Hat
#
configs/*.config
# configs/*.config
redhat/rhdocs/*
redhat/rhdocs
localversion
Expand Down
File renamed without changes.
19 changes: 19 additions & 0 deletions Documentation/ABI/stable/sysfs-driver-qaic
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
What: /sys/bus/pci/drivers/qaic/XXXX:XX:XX.X/accel/accel<minor_nr>/dbc<N>_state
Date: October 2025
KernelVersion: 6.19
Contact: Jeff Hugo <jeff.hugo@oss.qualcomm.com>
Description: Represents the current state of DMA Bridge channel (DBC). Below are the possible
states:

=================== ==========================================================
IDLE (0) DBC is free and can be activated
ASSIGNED (1) DBC is activated and a workload is running on device
BEFORE_SHUTDOWN (2) Sub-system associated with this workload has crashed and
it will shutdown soon
AFTER_SHUTDOWN (3) Sub-system associated with this workload has crashed and
it has shutdown
BEFORE_POWER_UP (4) Sub-system associated with this workload is shutdown and
it will be powered up soon
AFTER_POWER_UP (5) Sub-system associated with this workload is now powered up
=================== ==========================================================
Users: Any userspace application or clients interested in DBC state.
25 changes: 23 additions & 2 deletions Documentation/accel/qaic/aic100.rst
Original file line number Diff line number Diff line change
Expand Up @@ -487,15 +487,36 @@ one user crashes, the fallout of that should be limited to that workload and not
impact other workloads. SSR accomplishes this.

If a particular workload crashes, QSM notifies the host via the QAIC_SSR MHI
channel. This notification identifies the workload by it's assigned DBC. A
multi-stage recovery process is then used to cleanup both sides, and get the
channel. This notification identifies the workload by its assigned DBC. A
multi-stage recovery process is then used to cleanup both sides, and gets the
DBC/NSPs into a working state.

When SSR occurs, any state in the workload is lost. Any inputs that were in
process, or queued by not yet serviced, are lost. The loaded artifacts will
remain in on-card DDR, but the host will need to re-activate the workload if
it desires to recover the workload.

When SSR occurs for a specific NSP, the assigned DBC goes through the
following state transactions in order:

DBC_STATE_BEFORE_SHUTDOWN
Indicates that the affected NSP was found in an unrecoverable error
condition.
DBC_STATE_AFTER_SHUTDOWN
Indicates that the NSP is under reset.
DBC_STATE_BEFORE_POWER_UP
Indicates that the NSP's debug information has been collected, and is
ready to be collected by the host (if desired). At that stage the NSP
is restarted by QSM.
DBC_STATE_AFTER_POWER_UP
Indicates that the NSP has been restarted, fully operational and is
in idle state.

SSR also has an optional crashdump collection feature. If enabled, the host can
collect the memory dump for the crashed NSP and dump it to the user space via
the dev_coredump subsystem. The host can also decline the crashdump collection
request from the device.

Reliability, Accessibility, Serviceability (RAS)
================================================

Expand Down
8 changes: 4 additions & 4 deletions Documentation/accel/qaic/qaic.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ polling mode and reenables the IRQ line.
This mitigation in QAIC is very effective. The same lprnet usecase that
generates 100k IRQs per second (per /proc/interrupts) is reduced to roughly 64
IRQs over 5 minutes while keeping the host system stable, and having the same
workload throughput performance (within run to run noise variation).
workload throughput performance (within run-to-run noise variation).

Single MSI Mode
---------------
Expand All @@ -49,7 +49,7 @@ useful to be able to fall back to a single MSI when needed.
To support this fallback, we allow the case where only one MSI is able to be
allocated, and share that one MSI between MHI and the DBCs. The device detects
when only one MSI has been configured and directs the interrupts for the DBCs
to the interrupt normally used for MHI. Unfortunately this means that the
to the interrupt normally used for MHI. Unfortunately, this means that the
interrupt handlers for every DBC and MHI wake up for every interrupt that
arrives; however, the DBC threaded irq handlers only are started when work to be
done is detected (MHI will always start its threaded handler).
Expand All @@ -62,9 +62,9 @@ never disabled, allowing each new entry to the FIFO to trigger a new interrupt.
Neural Network Control (NNC) Protocol
=====================================

The implementation of NNC is split between the KMD (QAIC) and UMD. In general
The implementation of NNC is split between the KMD (QAIC) and UMD. In general,
QAIC understands how to encode/decode NNC wire protocol, and elements of the
protocol which require kernel space knowledge to process (for example, mapping
protocol which requires kernel space knowledge to process (for example, mapping
host memory to device IOVAs). QAIC understands the structure of a message, and
all of the transactions. QAIC does not understand commands (the payload of a
passthrough transaction).
Expand Down
55 changes: 53 additions & 2 deletions Documentation/admin-guide/sysctl/net.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ Table : Subdirectories in /proc/sys/net
bridge Bridging rose X.25 PLP layer
core General parameter tipc TIPC
ethernet Ethernet protocol unix Unix domain sockets
ipv4 IP version 4 x25 X.25 protocol
ipv6 IP version 6
ipv4 IP version 4 vsock VSOCK sockets
ipv6 IP version 6 x25 X.25 protocol
========= =================== = ========== ===================

1. /proc/sys/net/core - Network core options
Expand Down Expand Up @@ -513,3 +513,54 @@ originally may have been issued in the correct sequential order.
If named_timeout is nonzero, failed topology updates will be placed on a defer
queue until another event arrives that clears the error, or until the timeout
expires. Value is in milliseconds.

6. /proc/sys/net/vsock - VSOCK sockets
--------------------------------------

VSOCK sockets (AF_VSOCK) provide communication between virtual machines and
their hosts. The behavior of VSOCK sockets in a network namespace is determined
by the namespace's mode (``global`` or ``local``), which controls how CIDs
(Context IDs) are allocated and how sockets interact across namespaces.

ns_mode
-------

Read-only. Reports the current namespace's mode, set at namespace creation
and immutable thereafter.

Values:

- ``global`` - the namespace shares system-wide CID allocation and
its sockets can reach any VM or socket in any global namespace.
Sockets in this namespace cannot reach sockets in local
namespaces.
- ``local`` - the namespace has private CID allocation and its
sockets can only connect to VMs or sockets within the same
namespace.

The init_net mode is always ``global``.

child_ns_mode
-------------

Controls what mode newly created child namespaces will inherit. At namespace
creation, ``ns_mode`` is inherited from the parent's ``child_ns_mode``. The
initial value matches the namespace's own ``ns_mode``.

Values:

- ``global`` - child namespaces will share system-wide CID allocation
and their sockets will be able to reach any VM or socket in any
global namespace.
- ``local`` - child namespaces will have private CID allocation and
their sockets will only be able to connect within their own
namespace.

The first write to ``child_ns_mode`` locks its value. Subsequent writes of the
same value succeed, but writing a different value returns ``-EBUSY``.

Changing ``child_ns_mode`` only affects namespaces created after the change;
it does not modify the current namespace or any existing children.

A namespace with ``ns_mode`` set to ``local`` cannot change
``child_ns_mode`` to ``global`` (returns ``-EPERM``).
2 changes: 1 addition & 1 deletion Documentation/networking/device_drivers/atm/cxacru-cf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#! /usr/bin/python3 -s
# Copyright 2009 Simon Arlott
#
# This program is free software; you can redistribute it and/or modify it
Expand Down
2 changes: 1 addition & 1 deletion Documentation/sphinx/kernel_include.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#! /usr/bin/python3 -s
# -*- coding: utf-8; mode: python -*-
# pylint: disable=R0903, C0330, R0914, R0912, E0401

Expand Down
2 changes: 1 addition & 1 deletion Documentation/sphinx/maintainers_include.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#! /usr/bin/python3 -s
# SPDX-License-Identifier: GPL-2.0
# -*- coding: utf-8; mode: python -*-
# pylint: disable=R0903, C0330, R0914, R0912, E0401
Expand Down
2 changes: 1 addition & 1 deletion Documentation/sphinx/rstFlatTable.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#! /usr/bin/python3 -s
# -*- coding: utf-8; mode: python -*-
# pylint: disable=C0330, R0903, R0912

Expand Down
2 changes: 1 addition & 1 deletion Documentation/trace/postprocess/decode_msr.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#! /usr/bin/python3 -s
# add symbolic names to read_msr / write_msr in trace
# decode_msr msr-index.h < trace
import sys
Expand Down
2 changes: 1 addition & 1 deletion Makefile.rhelver
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RHEL_MINOR = 2
#
# Use this spot to avoid future merge conflicts.
# Do not trim this comment.
RHEL_RELEASE = 211
RHEL_RELEASE = 211.7.3

#
# RHEL_REBASE_NUM
Expand Down
5 changes: 5 additions & 0 deletions arch/powerpc/perf/callchain.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,11 @@ perf_callchain_kernel(struct perf_callchain_entry_ctx *entry, struct pt_regs *re
void
perf_callchain_user(struct perf_callchain_entry_ctx *entry, struct pt_regs *regs)
{
perf_callchain_store(entry, perf_arch_instruction_pointer(regs));

if (!current->mm)
return;

if (!is_32bit_task())
perf_callchain_user_64(entry, regs);
else
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/perf/callchain_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ void perf_callchain_user_32(struct perf_callchain_entry_ctx *entry,
next_ip = perf_arch_instruction_pointer(regs);
lr = regs->link;
sp = regs->gpr[1];
perf_callchain_store(entry, next_ip);

while (entry->nr < entry->max_stack) {
fp = (unsigned int __user *) (unsigned long) sp;
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/perf/callchain_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ void perf_callchain_user_64(struct perf_callchain_entry_ctx *entry,
next_ip = perf_arch_instruction_pointer(regs);
lr = regs->link;
sp = regs->gpr[1];
perf_callchain_store(entry, next_ip);

while (entry->nr < entry->max_stack) {
fp = (unsigned long __user *) sp;
Expand Down
Loading
Loading