Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
142 commits
Select commit Hold shift + click to select a range
fa9f579
configs: comment out redhat ignore on configs/*.config
PlaidCat May 21, 2025
4aa7d78
github actions: add in build check workflows
PlaidCat May 21, 2025
4f16142
scsi: sg: Fix slab-use-after-free read in sg_release()
PlaidCat May 21, 2025
a45663e
scsi: st: Don't set pos_unknown just after device recognition
PlaidCat May 21, 2025
ebbdc51
idpf: call set_real_num_queues in idpf_open
PlaidCat May 21, 2025
bf28b2c
can: bcm: Fix UAF in bcm_proc_show()
PlaidCat May 21, 2025
053bec5
pps: Fix a use-after-free
PlaidCat May 21, 2025
4782ffc
cxgb4: use port number to set mac addr
PlaidCat May 21, 2025
c2ec0b0
powerpc: export MIN RMA size
PlaidCat May 21, 2025
2e0b693
powerpc/fadump: fix additional param memory reservation for HASH MMU
PlaidCat May 21, 2025
8294a82
powerpc: increase MIN RMA size for CAS negotiation
PlaidCat May 21, 2025
f7a351f
Documentation/powerpc/fadump: add additional parameter feature details
PlaidCat May 21, 2025
fac881c
arm64: mm: Fix zone_dma_limit calculation
PlaidCat May 21, 2025
45cf5b5
RDMA/mlx5: Fix a WARN during dereg_mr for DM type
PlaidCat May 21, 2025
0283cd6
fs/proc: fix softlockup in __read_vmcore (part 2)
PlaidCat May 21, 2025
ea1dd0e
scsi: core: Fix command pass through retry regression
PlaidCat May 21, 2025
864101c
scsi: megaraid_sas: Fix for a potential deadlock
PlaidCat May 21, 2025
552e3c1
smb: client: fix chmod(2) regression with ATTR_READONLY
PlaidCat May 21, 2025
503020c
phy: tegra: xusb: reset VBUS & ID OVERRIDE
PlaidCat May 21, 2025
0bc5423
nfsd: validate the nfsd_serv pointer before calling svc_wake_up
PlaidCat May 21, 2025
82cb2ef
scsi: qla2xxx: Fix use after free on unload
PlaidCat May 21, 2025
76fa901
gfs2: gfs2_evict_inode clarification
PlaidCat May 21, 2025
0e57289
gfs2: Decode missing glock flags in tracepoints
PlaidCat May 21, 2025
478c9c2
gfs2: glock holder GL_NOPID fix
PlaidCat May 21, 2025
8aba6e3
gfs2: Add GLF_PENDING_REPLY flag
PlaidCat May 21, 2025
4c41d63
gfs2: Replace GIF_DEFER_DELETE with GLF_DEFER_DELETE
PlaidCat May 21, 2025
0f251d8
gfs2: Remove LM_FLAG_PRIORITY flag
PlaidCat May 21, 2025
2fffaae
gfs2: remove dead code in add_to_queue
PlaidCat May 21, 2025
d77f548
gfs2: Remove more dead code in add_to_queue
PlaidCat May 21, 2025
ee9beff
gfs2: Check for empty queue in run_queue
PlaidCat May 21, 2025
703c661
gfs2: Fix request cancelation bug
PlaidCat May 21, 2025
e1f1338
gfs2: Fix additional unlikely request cancelation race
PlaidCat May 21, 2025
f33ca5f
gfs2: Prevent inode creation race (2)
PlaidCat May 21, 2025
7ef3f5e
gfs2: minor evict fix
PlaidCat May 21, 2025
8e5107c
gfs2: remove redundant warnings
PlaidCat May 21, 2025
938d9f3
gfs2: skip if we cannot defer delete
PlaidCat May 21, 2025
eaa1b94
arm64: cacheinfo: Avoid out-of-bounds write to cacheinfo array
PlaidCat May 21, 2025
152f508
net: stmmac: Fix zero-division error when disabling tc cbs
PlaidCat May 21, 2025
137044a
net: stmmac: dwmac-tegra: Read iommu stream id from device tree
PlaidCat May 21, 2025
8fa4a31
iommu/vt-d: Remove device comparison in context_setup_pass_through_cb
PlaidCat May 21, 2025
edd30ed
iommu/vt-d: Fix suspicious RCU usage
PlaidCat May 21, 2025
395539f
nvme_core: scan namespaces asynchronously
PlaidCat May 21, 2025
18c0812
Rebuild rocky9_6 with kernel-5.14.0-570.12.1.el9_6
PlaidCat May 21, 2025
d2d805b
rtc: pcf85063: fix potential OOB write in PCF85063 NVMEM read
PlaidCat May 21, 2025
daf9b42
cgroup: Remove steal time from usage_usec
PlaidCat May 21, 2025
d9ea808
smb: client: don't retry IO on failed negprotos with soft mounts
PlaidCat May 21, 2025
fb54607
ice: c827: move wait for FW to ice_init_hw()
PlaidCat May 21, 2025
2fe633e
ice: split ice_init_hw() out from ice_init_dev()
PlaidCat May 21, 2025
76b528a
ice: minor: rename goto labels from err to unroll
PlaidCat May 21, 2025
3ea74f2
ice: ice_probe: init ice_adapter after HW init
PlaidCat May 21, 2025
8611b17
ice: devlink PF MSI-X max and min parameter
PlaidCat May 21, 2025
377fff4
ice: remove splitting MSI-X between features
PlaidCat May 21, 2025
3bf2d1f
ice: get rid of num_lan_msix field
PlaidCat May 21, 2025
ce08a96
ice, irdma: move interrupts code to irdma
PlaidCat May 21, 2025
0433e80
ice: treat dyn_allowed only as suggestion
PlaidCat May 21, 2025
3273516
ice: enable_rdma devlink param
PlaidCat May 21, 2025
ad3700e
ice: simplify VF MSI-X managing
PlaidCat May 21, 2025
556e3db
ice: init flow director before RDMA
PlaidCat May 21, 2025
7c3a13e
ice: Fix signedness bug in ice_init_interrupt_scheme()
PlaidCat May 21, 2025
8a5f417
net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup
PlaidCat May 21, 2025
f15dce3
net: mana: Implement get_ringparam/set_ringparam for mana
PlaidCat May 21, 2025
dca5f50
net: mana: Improve mana_set_channels() in low mem conditions
PlaidCat May 21, 2025
9b29c0b
net: mana: Increase the DEF_RX_BUFFERS_PER_QUEUE to 1024
PlaidCat May 21, 2025
fea35d0
net: mana: Add get_link and get_link_ksettings in ethtool
PlaidCat May 21, 2025
0fabbe8
net: mana: Enable debugfs files for MANA device
PlaidCat May 21, 2025
9f19c66
net: mana: use ethtool string helpers
PlaidCat May 21, 2025
ca6b1a7
net :mana :Request a V2 response version for MANA_QUERY_GF_STAT
PlaidCat May 21, 2025
9849c29
net: mana: Fix memory leak in mana_gd_setup_irqs
PlaidCat May 21, 2025
5633a0c
net: mana: Fix irq_contexts memory leak in mana_gd_setup_irqs
PlaidCat May 21, 2025
402b5f9
net: mana: Cleanup "mana" debugfs dir after cleanup of all children
PlaidCat May 21, 2025
c6a6ef0
net: mana: cleanup mana struct after debugfs_remove()
PlaidCat May 21, 2025
15dd9b0
net: netvsc: Update default VMBus channels
PlaidCat May 21, 2025
7972334
hv_netvsc: Fix VF namespace also in synthetic NIC NETDEV_REGISTER event
PlaidCat May 21, 2025
4033965
scsi: storvsc: Set correct data length for sending SCSI command witho…
PlaidCat May 21, 2025
632c0c9
tpm: Change to kvalloc() in eventlog/acpi.c
PlaidCat May 21, 2025
51de9c5
certs: Trigger creation of RSA module signing key if it's not an RSA key
PlaidCat May 21, 2025
bf53a6b
certs: Add support for using elliptic curve keys for signing modules
PlaidCat May 21, 2025
22ea70b
crypto: certs: fix FIPS selftest dependency
PlaidCat May 21, 2025
0f64c73
KEYS: Include linux/errno.h in linux/verification.h
PlaidCat May 21, 2025
a050f99
certs: Break circular dependency when selftest is modular
PlaidCat May 21, 2025
895dd75
certs: Move RSA self-test data to separate file
PlaidCat May 21, 2025
ea8d451
certs: Add ECDSA signature verification self-test
PlaidCat May 21, 2025
d6b016c
iscsi_ibft: Fix UBSAN shift-out-of-bounds warning in ibft_attr_show_n…
PlaidCat May 21, 2025
ae073d3
nvme-tcp: fix potential memory corruption in nvme_tcp_recv_pdu()
PlaidCat May 21, 2025
5b61d30
io_uring/sqpoll: zero sqd->thread on tctx errors
PlaidCat May 21, 2025
1f4e7b4
smb: client: fix regression with guest option
PlaidCat May 21, 2025
6427b12
ice: Implement ice_ptp_pin_desc
PlaidCat May 21, 2025
940283a
ice: Add SDPs support for E825C
PlaidCat May 21, 2025
cd253ea
ice: Align E810T GPIO to other products
PlaidCat May 21, 2025
8c67a04
ice: Cache perout/extts requests and check flags
PlaidCat May 21, 2025
323244d
ice: Disable shared pin on E810 on setfunc
PlaidCat May 21, 2025
c74b5ec
ice: Read SDP section from NVM for pin definitions
PlaidCat May 21, 2025
9261512
ice: Enable 1PPS out from CGU for E825C products
PlaidCat May 21, 2025
1a91558
ice: Introduce ice_get_phy_model() wrapper
PlaidCat May 21, 2025
e80c6e1
ice: Add ice_get_ctrl_ptp() wrapper to simplify the code
PlaidCat May 21, 2025
020002b
ice: Initial support for E825C hardware in ice_adapter
PlaidCat May 21, 2025
d1a37d6
ice: Use ice_adapter for PTP shared data instead of auxdev
PlaidCat May 21, 2025
0f0a75b
ice: Drop auxbus use for PTP to finalize ice_adapter move
PlaidCat May 21, 2025
c2e5d97
ice: fix PHY Clock Recovery availability check
PlaidCat May 21, 2025
a9b0597
ice: ensure periodic output start time is in the future
PlaidCat May 21, 2025
d5f1e93
soc: qcom: Add check devm_kasprintf() returned value
PlaidCat May 21, 2025
1e06183
soc: qcom: socinfo: fix revision check in qcom_socinfo_probe()
PlaidCat May 21, 2025
782a181
soc: qcom: socinfo: Avoid out of bounds read of serial number
PlaidCat May 21, 2025
171ceb5
Rebuild rocky9_6 with kernel-5.14.0-570.16.1.el9_6
PlaidCat May 21, 2025
ead9929
ixgbe: Add support for E610 FW Admin Command Interface
PlaidCat May 21, 2025
99e3fc8
ixgbe: Add support for E610 device capabilities detection
PlaidCat May 21, 2025
232b982
ixgbe: Add link management support for E610 device
PlaidCat May 21, 2025
18e24df
ixgbe: Add support for NVM handling in E610 device
PlaidCat May 21, 2025
f088688
ixgbe: Add support for EEPROM dump in E610 device
PlaidCat May 21, 2025
c8b4e8b
ixgbe: Add ixgbe_x540 multiple header inclusion protection
PlaidCat May 21, 2025
7170d4b
ixgbe: Clean up the E610 link management related code
PlaidCat May 21, 2025
f38d9ff
ixgbe: Enable link management in E610 device
PlaidCat May 21, 2025
5f76508
ixgbe: fix media cage present detection for E610 device
PlaidCat May 21, 2025
2d9b977
PCI: Add PCI_VDEVICE_SUB helper macro
PlaidCat May 21, 2025
2fac81e
ixgbevf: Add support for Intel(R) E610 device
PlaidCat May 21, 2025
833b447
ixgbe: fix media type detection for E610 device
PlaidCat May 21, 2025
741907a
dm-flakey: Fix memory corruption in optional corrupt_bio_byte feature
PlaidCat May 21, 2025
e218d40
Union-Find: add a new module in kernel library
PlaidCat May 21, 2025
70cbac2
cpuset: use Union-Find to optimize the merging of cpumasks
PlaidCat May 21, 2025
303b684
cgroup/cpuset: remove child_ecpus_count
PlaidCat May 21, 2025
4930690
selftest/cgroup: Add new test cases to test_cpuset_prs.sh
PlaidCat May 21, 2025
baddaeb
cgroup/cpuset: remove fetch_xcpus
PlaidCat May 21, 2025
4c591db
cgroup/cpuset: remove use_parent_ecpus of cpuset
PlaidCat May 21, 2025
703ac29
cgroup/cpuset: Account for boot time isolated CPUs
PlaidCat May 21, 2025
8dd2c70
selftest/cgroup: Make test_cpuset_prs.sh deal with pre-isolated CPUs
PlaidCat May 21, 2025
d109165
cgroup/cpuset: Fix spelling errors in file kernel/cgroup/cpuset.c
PlaidCat May 21, 2025
e35c088
cgroup/cpuset: Revert "Allow suppression of sched domain rebuild in u…
PlaidCat May 21, 2025
5c5c662
cgroup/cpuset: Enforce at most one rebuild_sched_domains_locked() cal…
PlaidCat May 21, 2025
5a26e0c
cgroup/cpuset: Prevent leakage of isolated CPUs into sched domains
PlaidCat May 21, 2025
84db0e0
cgroup/cpuset: Fix race between newly created partition and dying one
PlaidCat May 21, 2025
651daba
cgroup/cpuset: Fix incorrect isolated_cpus update in update_parent_ef…
PlaidCat May 21, 2025
27270b3
cgroup/cpuset: Fix error handling in remote_partition_disable()
PlaidCat May 21, 2025
4cecd6b
cgroup/cpuset: Remove remote_partition_check() & make update_cpumasks…
PlaidCat May 21, 2025
5912b9c
cgroup/cpuset: Code cleanup and comment update
PlaidCat May 21, 2025
c93cf1a
selftest/cgroup: Update test_cpuset_prs.sh to use | as effective CPUs…
PlaidCat May 21, 2025
7f937ed
selftest/cgroup: Clean up and restructure test_cpuset_prs.sh
PlaidCat May 21, 2025
0a5c6a8
selftest/cgroup: Add a remote partition transition test to test_cpuse…
PlaidCat May 21, 2025
66f5604
net: ppp: Add bound checking for skb data on ppp_sync_txmung
PlaidCat May 21, 2025
1bd3f41
bpf, vsock: Invoke proto::close on close()
PlaidCat May 21, 2025
606887d
vsock: Keep the binding until socket destruction
PlaidCat May 21, 2025
c42faa6
vsock: Orphan socket after transport release
PlaidCat May 21, 2025
838cd1e
Rebuild rocky9_6 with kernel-5.14.0-570.17.1.el9_6
PlaidCat May 21, 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.
34 changes: 34 additions & 0 deletions .github/workflows/build-check_aarch64-rt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: aarch64-RT CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -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
34 changes: 34 additions & 0 deletions .github/workflows/build-check_aarch64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: aarch64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build-arm64
container:
image: rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -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
34 changes: 34 additions & 0 deletions .github/workflows/build-check_x86_64-rt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: x86_64-RT CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -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
34 changes: 34 additions & 0 deletions .github/workflows/build-check_x86_64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: x86_64 CI
on:
pull_request:
branches:
- '**'
- '!mainline'

jobs:
kernel-build-job:
runs-on:
labels: kernel-build
container:
image: rockylinux:9
env:
ROCKY_ENV: rocky9
ports:
- 80
options: --cpus 8
steps:
- name: Install tools and Libraries
run: |
dnf groupinstall 'Development Tools' -y
dnf install --enablerepo=crb bc dwarves kernel-devel openssl-devel elfutils-libelf-devel -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 @@ -161,7 +161,7 @@ x509.genkey
#
# Red Hat
#
configs/*.config
#configs/*.config
localversion
redhat/rhdocs/
.get_maintainer.conf
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion Documentation/ABI/testing/sysfs-kernel-fadump
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,5 @@ Date: May 2024
Contact: [email protected]
Description: read/write
This is a special sysfs file available to setup additional
parameters to be passed to capture kernel.
parameters to be passed to capture kernel. For HASH MMU it
is exported only if RMA size higher than 768MB.
102 changes: 102 additions & 0 deletions Documentation/core-api/union_find.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
.. SPDX-License-Identifier: GPL-2.0

====================
Union-Find in Linux
====================


:Date: June 21, 2024
:Author: Xavier <[email protected]>

What is union-find, and what is it used for?
------------------------------------------------

Union-find is a data structure used to handle the merging and querying
of disjoint sets. The primary operations supported by union-find are:

Initialization: Resetting each element as an individual set, with
each set's initial parent node pointing to itself.
Find: Determine which set a particular element belongs to, usually by
returning a “representative element” of that set. This operation
is used to check if two elements are in the same set.
Union: Merge two sets into one.

As a data structure used to maintain sets (groups), union-find is commonly
utilized to solve problems related to offline queries, dynamic connectivity,
and graph theory. It is also a key component in Kruskal's algorithm for
computing the minimum spanning tree, which is crucial in scenarios like
network routing. Consequently, union-find is widely referenced. Additionally,
union-find has applications in symbolic computation, register allocation,
and more.

Space Complexity: O(n), where n is the number of nodes.

Time Complexity: Using path compression can reduce the time complexity of
the find operation, and using union by rank can reduce the time complexity
of the union operation. These optimizations reduce the average time
complexity of each find and union operation to O(α(n)), where α(n) is the
inverse Ackermann function. This can be roughly considered a constant time
complexity for practical purposes.

This document covers use of the Linux union-find implementation. For more
information on the nature and implementation of union-find, see:

Wikipedia entry on union-find
https://en.wikipedia.org/wiki/Disjoint-set_data_structure

Linux implementation of union-find
-----------------------------------

Linux's union-find implementation resides in the file "lib/union_find.c".
To use it, "#include <linux/union_find.h>".

The union-find data structure is defined as follows::

struct uf_node {
struct uf_node *parent;
unsigned int rank;
};

In this structure, parent points to the parent node of the current node.
The rank field represents the height of the current tree. During a union
operation, the tree with the smaller rank is attached under the tree with the
larger rank to maintain balance.

Initializing union-find
--------------------

You can complete the initialization using either static or initialization
interface. Initialize the parent pointer to point to itself and set the rank
to 0.
Example::

struct uf_node my_node = UF_INIT_NODE(my_node);
or
uf_node_init(&my_node);

Find the Root Node of union-find
--------------------------------

This operation is mainly used to determine whether two nodes belong to the same
set in the union-find. If they have the same root, they are in the same set.
During the find operation, path compression is performed to improve the
efficiency of subsequent find operations.
Example::

int connected;
struct uf_node *root1 = uf_find(&node_1);
struct uf_node *root2 = uf_find(&node_2);
if (root1 == root2)
connected = 1;
else
connected = 0;

Union Two Sets in union-find
----------------------------

To union two sets in the union-find, you first find their respective root nodes
and then link the smaller node to the larger node based on the rank of the root
nodes.
Example::

uf_union(&node_1, &node_2);
3 changes: 1 addition & 2 deletions Documentation/filesystems/gfs2-glocks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ The gl_holders list contains all the queued lock requests (not
just the holders) associated with the glock. If there are any
held locks, then they will be contiguous entries at the head
of the list. Locks are granted in strictly the order that they
are queued, except for those marked LM_FLAG_PRIORITY which are
used only during recovery, and even then only for journal locks.
are queued.

There are three lock states that users of the glock layer can request,
namely shared (SH), deferred (DF) and exclusive (EX). Those translate
Expand Down
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
# Copyright 2009 Simon Arlott
#
# This program is free software; you can redistribute it and/or modify it
Expand Down
11 changes: 11 additions & 0 deletions Documentation/networking/devlink/ice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ Parameters

To verify that value has been set:
$ devlink dev param show pci/0000:16:00.0 name tx_scheduling_layers
* - ``msix_vec_per_pf_max``
- driverinit
- Set the max MSI-X that can be used by the PF, rest can be utilized for
SRIOV. The range is from min value set in msix_vec_per_pf_min to
2k/number of ports.
* - ``msix_vec_per_pf_min``
- driverinit
- Set the min MSI-X that will be used by the PF. This value inform how many
MSI-X will be allocated statically. The range is from 2 to value set
in msix_vec_per_pf_max.

.. list-table:: Driver specific parameters implemented
:widths: 5 5 90

Expand Down
22 changes: 22 additions & 0 deletions Documentation/powerpc/firmware-assisted-dump.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,28 @@ to ensure that crash data is preserved to process later.
e.g.
# echo 1 > /sys/firmware/opal/mpipl/release_core

-- Support for Additional Kernel Arguments in Fadump
Fadump has a feature that allows passing additional kernel arguments
to the fadump kernel. This feature was primarily designed to disable
kernel functionalities that are not required for the fadump kernel
and to reduce its memory footprint while collecting the dump.

Command to Add Additional Kernel Parameters to Fadump:
e.g.
# echo "nr_cpus=16" > /sys/kernel/fadump/bootargs_append

The above command is sufficient to add additional arguments to fadump.
An explicit service restart is not required.

Command to Retrieve the Additional Fadump Arguments:
e.g.
# cat /sys/kernel/fadump/bootargs_append

Note: Additional kernel arguments for fadump with HASH MMU is only
supported if the RMA size is greater than 768 MB. If the RMA
size is less than 768 MB, the kernel does not export the
/sys/kernel/fadump/bootargs_append sysfs node.

Implementation details:
-----------------------

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
# -*- 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
# 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
# -*- coding: utf-8; mode: python -*-
# pylint: disable=C0330, R0903, R0912

Expand Down
2 changes: 1 addition & 1 deletion Documentation/target/tcm_mod_builder.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#! /usr/bin/python3
# The TCM v4 multi-protocol fabric module generation script for drivers/target/$NEW_MOD
#
# Copyright (c) 2010 Rising Tide Systems
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
# add symbolic names to read_msr / write_msr in trace
# decode_msr msr-index.h < trace
import sys
Expand Down
Loading