On 2025/5/22 19:47, Manivannan Sadhasivam wrote:
On Sat, May 17, 2025 at 12:55:14AM +0800, Hans Zhang wrote:
The following series introduces a new kernel command-line option aer_panic
to enhance error handling for PCIe Advanced Error Reporting (AER) in
mission-critical environments. This
On 2025/5/22 00:17, Sathyanarayanan Kuppuswamy wrote:
On 5/21/25 7:54 AM, Hans Zhang wrote:
On 2025/5/21 00:09, Sathyanarayanan Kuppuswamy wrote:
On 5/19/25 7:41 AM, Hans Zhang wrote:
On 2025/5/19 22:21, Hans Zhang wrote:
On 2025/5/17 02:10, Sathyanarayanan Kuppuswamy wrote:
On
On 2025/5/21 00:09, Sathyanarayanan Kuppuswamy wrote:
On 5/19/25 7:41 AM, Hans Zhang wrote:
On 2025/5/19 22:21, Hans Zhang wrote:
On 2025/5/17 02:10, Sathyanarayanan Kuppuswamy wrote:
On 5/16/25 9:55 AM, Hans Zhang wrote:
The following series introduces a new kernel command-line
On 2025/5/20 06:03, Bjorn Helgaas wrote:
On Sat, May 17, 2025 at 12:55:14AM +0800, Hans Zhang wrote:
The following series introduces a new kernel command-line option aer_panic
to enhance error handling for PCIe Advanced Error Reporting (AER) in
mission-critical environments. This feature
On 2025/5/19 22:21, Hans Zhang wrote:
On 2025/5/17 02:10, Sathyanarayanan Kuppuswamy wrote:
On 5/16/25 9:55 AM, Hans Zhang wrote:
The following series introduces a new kernel command-line option
aer_panic
to enhance error handling for PCIe Advanced Error Reporting (AER) in
mission
On 2025/5/19 22:21, Hans Zhang wrote:
On 2025/5/17 02:10, Sathyanarayanan Kuppuswamy wrote:
On 5/16/25 9:55 AM, Hans Zhang wrote:
The following series introduces a new kernel command-line option
aer_panic
to enhance error handling for PCIe Advanced Error Reporting (AER) in
mission
On 2025/5/17 02:10, Sathyanarayanan Kuppuswamy wrote:
On 5/16/25 9:55 AM, Hans Zhang wrote:
The following series introduces a new kernel command-line option
aer_panic
to enhance error handling for PCIe Advanced Error Reporting (AER) in
mission-critical environments. This feature ensures
On 2025/5/17 12:07, Sathyanarayanan Kuppuswamy wrote:
On 5/16/25 9:55 AM, Hans Zhang wrote:
From: Hans Zhang
Add pci_aer_panic_enabled() to check if aer_panic is enabled system-wide.
Export the function for use in error recovery logic.
Signed-off-by: Hans Zhang
---
drivers/pci/pci.h
From: Hans Zhang
Add a new "aer_panic" kernel parameter to force panic on unrecoverable
PCIe errors. This prepares for handling fatal AER errors in systems where
bus hangs require immediate reboot.
Signed-off-by: Hans Zhang
---
drivers/pci/pci.c | 2 ++
drivers/pci/pci.
From: Hans Zhang
Change pcie_aer_disable variable to bool and update pci_no_aer()
to set it to true. Improves code readability and aligns with modern
kernel practices.
Signed-off-by: Hans Zhang
---
drivers/pci/pcie/aer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a
" on the kernel command line.
It prepares for safer error handling in mission-critical environments
by bypassing indefinite hangs and triggering controlled panic.
Signed-off-by: Hans Zhang <18255117...@163.com>
---
Documentation/admin-guide/kernel-parameters.txt | 7 +++
1 file chan
and other buses connected by PCIe do not have a design to prevent hanging.
Once a FATAL error occurs in the PCIe link and cannot be restored, the
system needs to be restarted.
Dear Mani,
I wonder if you know how other SoCs of qcom handle FATAL errors that occur
in PCIe link.
---
Hans Zhang (4
From: Hans Zhang
Add pci_aer_panic_enabled() to check if aer_panic is enabled system-wide.
Export the function for use in error recovery logic.
Signed-off-by: Hans Zhang
---
drivers/pci/pci.h | 2 ++
drivers/pci/pcie/aer.c | 12
2 files changed, 14 insertions(+)
diff --git
From: Hans Zhang
Modify pcie_do_recovery() to panic the system when device recovery fails
and aer_panic is enabled via kernel command-line. This addresses scenarios
where PCIe link errors cause bus hangs requiring forced reboots.
Signed-off-by: Hans Zhang
---
drivers/pci/pcie/err.c | 8
bool type eliminates ambiguity between integer 1/0 and
true/false. Follows modern kernel practices for state tracking with proper
type semantics.
No functional changes - pure code cleanup to enhance readability and
maintainability.
Hans Zhang (2):
PCI/MSI: Use bool for MSI enable state tracking
From: Hans Zhang
Convert pci_msi_enable and pci_msi_enabled() to use bool type for clarity.
No functional changes, only code cleanup.
Signed-off-by: Hans Zhang
---
drivers/pci/msi/api.c | 2 +-
drivers/pci/msi/msi.c | 4 ++--
drivers/pci/msi/msi.h | 2 +-
include/linux/pci.h | 4 ++--
4
Replace the manual read-modify-write sequences in
pci_aer_unmask_internal_errors()with pci_clear_and_set_config_dword().
This function performs the read/write operations atomically and reduces
code duplication.
Signed-off-by: Hans Zhang <18255117...@163.com>
---
drivers/pci/pcie/aer.
17 matches
Mail list logo