WSL2-Linux-Kernel/drivers/parisc
Guilherme G. Piccoli 6158e958e8 parisc: Replace regular spinlock with spin_trylock on panic path
[ Upstream commit 829632dae8 ]

The panic notifiers' callbacks execute in an atomic context, with
interrupts/preemption disabled, and all CPUs not running the panic
function are off, so it's very dangerous to wait on a regular
spinlock, there's a risk of deadlock.

Refactor the panic notifier of parisc/power driver to make use
of spin_trylock - for that, we've added a second version of the
soft-power function. Also, some comments were reorganized and
trailing white spaces, useless header inclusion and blank lines
were removed.

Cc: "James E.J. Bottomley" <James.Bottomley@HansenPartnership.com>
Cc: Jeroen Roovers <jer@xs4all.nl>
Acked-by: Helge Deller <deller@gmx.de> # parisc
Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-24 17:36:48 +01:00
..
Kconfig
Makefile
README.dino
asp.c
ccio-dma.c parisc: ccio-dma: Add missing iounmap in error path in ccio_probe() 2022-09-23 14:15:48 +02:00
dino.c parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-04-13 20:59:14 +02:00
eisa.c
eisa_eeprom.c
eisa_enumerator.c
gsc.c parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-04-13 20:59:14 +02:00
gsc.h parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-04-13 20:59:14 +02:00
hppb.c
iommu-helpers.h
iommu.h
iosapic.c genirq: Add and use an irq_data_update_affinity helper 2023-03-11 13:57:31 +01:00
iosapic_private.h
lasi.c parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-04-13 20:59:14 +02:00
lba_pci.c parisc: Check the return value of ioremap() in lba_driver_probe() 2022-08-17 14:22:51 +02:00
led.c parisc: led: Fix potential null-ptr-deref in start_task() 2023-01-12 11:58:59 +01:00
pdc_stable.c parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries 2022-01-27 11:05:28 +01:00
power.c parisc: Replace regular spinlock with spin_trylock on panic path 2023-05-24 17:36:48 +01:00
sba_iommu.c parisc: Fix data TLB miss in sba_unmap_sg 2022-02-23 12:03:03 +01:00
superio.c
wax.c parisc: Fix CPU affinity for Lasi, WAX and Dino chips 2022-04-13 20:59:14 +02:00

README.dino

/*
** HP VISUALIZE Workstation PCI Bus Defect
**
** "HP has discovered a potential system defect that can affect
** the behavior of five models of HP VISUALIZE workstations when
** equipped with third-party or customer-installed PCI I/O expansion
** cards. The defect is limited to the HP C180, C160, C160L, B160L,
** and B132L VISUALIZE workstations, and will only be encountered
** when data is transmitted through PCI I/O expansion cards on the
** PCI bus. HP-supplied graphics cards that utilize the PCI bus are
** not affected."
**
** http://h20000.www2.hp.com/bizsupport/TechSupport/Home.jsp?locale=en_US&prodTypeId=12454&prodSeriesId=44443
**
**	Product		First Good Serial Number
**  C200/C240 (US)	US67350000
**B132L+/B180 (US)	US67390000
**   C200 (Europe)	3713G01000
**  B180L (Europe)	3720G01000
**
** Note that many boards were fixed/replaced under a free replacement
** program. Assume a machine is only "suspect" until proven otherwise.
**
** "The pci_check program will also be available as application
**  patch PHSS_12295"
*/