opnsense-src/release
Colin Percival 55c3348ed7 acpi_pci: Add quirk for DELAY-after-EJ0
On some EC2 instances, there is a race between removing a device from
the system and making the PCI bus stop reporting the presence of the
device.  As a result, a PCI BUS_RESCAN performed immediately after
the _EJ0 method returns "sees" the device which is being ejected, which
then causes problems later (e.g. we won't recognize a new device being
plugged into that slot because we never knew it was vacant).

On other operating systems the bus is synchronously marked as needing
to be rescanned but the rescan does not occur until O(1) seconds later.

Create a new ACPI_Q_DELAY_BEFORE_EJECT_RESCAN quirk and set it in EC2
AMIs, and add a 10 ms DELAY between _EJ0 and BUS_RESCAN when tht quirk
is set.

Reviewed by:	jhb
MFC after:	1 month
Sponsored by:	Amazon
Differential Revision:	https://reviews.freebsd.org/D49252
2025-03-14 11:35:35 -07:00
..
amd64 Copy the new ia32 loader 2024-09-20 08:45:10 -06:00
arm release: remove arm/armv6 RPI-B configuration file 2023-08-31 19:24:38 -04:00
arm64 release: remove the RPI CM4s .dtb 2024-04-25 17:10:32 -05:00
i386 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
packages iwm: Stop shipping firmware as kernel module 2024-12-16 10:44:47 +01:00
pkg_repos Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
powerpc ports/filesystems: Fix fallout 2025-01-27 15:03:10 -05:00
riscv riscv: add firmware partitions to GENERICSD.conf 2024-02-14 11:16:54 -04:00
scripts release: add cloudware oracle targets to package and upload .oci files 2025-03-04 23:56:00 +00:00
tools acpi_pci: Add quirk for DELAY-after-EJ0 2025-03-14 11:35:35 -07:00
Makefile release: Use unprivileged mode for bootonly and mini-memstick 2025-03-07 06:46:01 -05:00
Makefile.azure release: Support r/o /usr/ports for cloudware 2024-04-12 10:58:09 -07:00
Makefile.ec2 EC2: Drop UEFI-PREFERRED from AMI names 2024-08-19 11:11:17 -07:00
Makefile.firecracker Firecracker: Make root disk configurable 2023-08-07 09:21:08 -07:00
Makefile.gce release: Support r/o /usr/ports for cloudware 2024-04-12 10:58:09 -07:00
Makefile.inc1 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.mirrors release: Standardize on *-${FS}.* VM image naming 2024-12-10 12:48:17 -08:00
Makefile.oci release: build OCI images with shell scripts 2025-03-02 15:17:13 +00:00
Makefile.oracle release: add cloudware oracle targets to package and upload .oci files 2025-03-04 23:56:00 +00:00
Makefile.vagrant release: Support r/o /usr/ports for cloudware 2024-04-12 10:58:09 -07:00
Makefile.vm release/vm: force replacement of compressed images 2025-03-12 21:05:43 +00:00
rc.local bsdinstall release: Start installer on multiple consoles 2022-10-03 17:09:17 +01:00
release.conf.sample release: add optional OCI images 2024-11-08 13:23:08 +00:00
release.sh release: build OCI images with shell scripts 2025-03-02 15:17:13 +00:00