Go to file
Patrick Talbert df627227d8 Merge: s390/pci: Don't abort recovery for user-space drivers
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/7267

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

commit 62355f1f87b8c7f8785a8dd3cd5ca6e5b513566a
Author: Niklas Schnelle <schnelle@linux.ibm.com>
Date:   Wed Jun 25 11:28:30 2025 +0200

    s390/pci: Allow automatic recovery with minimal driver support

    According to Documentation/PCI/pci-error-recovery.rst only the
    error_detected() callback in the err_handler struct is mandatory for
    a driver to support error recovery. So far s390's error recovery chose
    a stricter approach also requiring slot_reset() and resume().

    Relax this requirement and only require error_detected(). If a callback
    is not implemented EEH and AER treat this as PCI_ERS_RESULT_NONE. This
    return value is otherwise used by drivers abstaining from their vote
    on how to proceed with recovery and currently also not supported by
    s390's recovery code.

    So to support missing callbacks in-line with other implementors of the
    recovery flow, also handle PCI_ERS_RESULT_NONE. Since s390 only does per
    PCI function recovery and does not do voting, treat PCI_ERS_RESULT_NONE
    optimistically and proceed through recovery unless other failures
    prevent this.

    Reviewed-by: Farhan Ali <alifm@linux.ibm.com>
    Reviewed-by: Julian Ruess <julianr@linux.ibm.com>
    Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
    Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>

Signed-off-by: Mete Durlu <mdurlu@redhat.com>

Approved-by: Steve Best <sbest@redhat.com>
Approved-by: Tony Camuso <tcamuso@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>

Merged-by: Patrick Talbert <ptalbert@redhat.com>
2025-09-06 10:41:44 -04:00
Documentation Merge: Fix failure when building kernel modules using a separate output directory [rhel-9.8] 2025-09-06 10:41:43 -04:00
LICENSES LICENSES: Add the copyleft-next-0.3.1 license 2025-06-18 10:35:27 -03:00
arch Merge: s390/pci: Don't abort recovery for user-space drivers 2025-09-06 10:41:44 -04:00
block Merge: block: use plug request list tail for one-shot backmerge attempt 2025-08-12 13:50:09 -03:00
certs kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2025-08-19 20:06:24 -03:00
crypto crypto: algif_hash - fix double free in hash_accept 2025-07-08 05:09:28 +00:00
drivers Merge: Fix failure when building kernel modules using a separate output directory [rhel-9.8] 2025-09-06 10:41:43 -04:00
fs Merge: Fix failure when building kernel modules using a separate output directory [rhel-9.8] 2025-09-06 10:41:43 -04:00
include Merge: zl3073x: backport the driver into RHEL9 2025-09-06 10:41:41 -04:00
init Merge: cgroup: Backport upstream cgroup commits up to v6.12 2025-05-26 10:33:48 +02:00
io_uring Merge: io_uring: ensure deferred completions are flushed for multishot 2025-07-28 12:55:36 -03:00
ipc ipc/sem: use flexible array in 'struct sem_undo' 2025-03-21 11:02:00 -04:00
kernel Merge: sched: Fix migrate_swap() vs. hotplug 2025-08-22 08:54:29 -07:00
lib kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2025-08-19 20:06:24 -03:00
mm Merge: mm/hugetlb: fixes for split races 2025-08-18 07:22:03 -07:00
net Merge: Fix failure when building kernel modules using a separate output directory [rhel-9.8] 2025-09-06 10:41:43 -04:00
redhat Merge: zl3073x: backport the driver into RHEL9 2025-09-06 10:41:41 -04:00
samples kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2025-08-19 20:06:24 -03:00
scripts kbuild: scripts/gdb: bring the "abspath" back 2025-08-19 20:06:25 -03:00
security Merge: Fix failure when building kernel modules using a separate output directory [rhel-9.8] 2025-09-06 10:41:43 -04:00
sound Merge: ALSA: hda/tegra: Add Tegra264 support 2025-08-18 17:05:07 -07:00
tools Merge: net/sched: ets: use old 'nbands' while purging unused classes 2025-08-19 16:32:50 -07:00
usr kbuild: use $(src) instead of $(srctree)/$(src) for source directory 2025-08-19 20:06:24 -03:00
virt KVM: add kvm_lock_all_vcpus and kvm_trylock_all_vcpus 2025-07-16 12:16:06 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml Merge tag 'kernel-5.14.0-570.3.1.el9_6' into 'main' 2025-03-10 17:24:30 -04:00
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS Merge: zl3073x: backport the driver into RHEL9 2025-09-06 10:41:41 -04:00
Makefile Makefile: add $(srctree) to dependency of compile_commands.json target 2025-08-19 20:06:25 -03:00
Makefile.rhelver [redhat] kernel-5.14.0-612.el9 2025-08-30 14:45:20 +00:00
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.