mirror of
https://github.com/opnsense/src.git
synced 2026-04-03 08:25:16 -04:00
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 (cherry picked from commit 55c3348ed78fb1d0891e8bb51a8948f95da3560b) |
||
|---|---|---|
| .. | ||
| arm.subr | ||
| azure.conf | ||
| basic-ci.conf | ||
| basic-cloudinit.conf | ||
| ec2-base.conf | ||
| ec2-cloud-init.conf | ||
| ec2-small.conf | ||
| ec2.conf | ||
| gce.conf | ||
| oci-image-dynamic.conf | ||
| oci-image-minimal.conf | ||
| oci-image-static.conf | ||
| openstack.conf | ||
| oracle.conf | ||
| vagrant-virtualbox.conf | ||
| vagrant-vmware.conf | ||
| vagrant.conf | ||
| vmimage.subr | ||