opnsense-src/release
Colin Percival a64357f31b acpi_pci: Add quirk for PSTAT_PME-before-detach
In order to signal to Graviton [123] systems that a device is ready
to be "ejected" (after a detach request is made via the EC2 API) we
need to set PCIM_PSTAT_PME to 1 and PCIM_PSTAT_PMEENABLE to 0.  We are
not aware of any rationale for this requirement beyond "another OS
kernel happens to do this", i.e. this is effectively bug-for-bug
compatibility.

Arguably this should be done by the ACPI _EJ0 method on these systems,
but it is not.

Create a new ACPI_Q_CLEAR_PME_ON_DETACH quirk and set it in EC2 AMIs,
and add the PCI register write to acpi_pci_device_notify_handler when
that quirk is set.

Reviewed by:	jhb
MFC after:	1 month
Sponsored by:	Amazon
Differential Revision:	https://reviews.freebsd.org/D49146

(cherry picked from commit d70bac252d30adec4feba0c866dabe2c16a756d9)
2025-04-01 10:43:58 -07:00
..
amd64 Copy the new ia32 loader 2025-03-25 19:28:38 -06:00
arm release: remove arm/armv6 RPI-B configuration file 2023-09-03 16:59:00 -04:00
arm64 arm64/RPI: enable powerd by default on arm64-aarch64-RPI images 2024-01-30 14:10:00 -06:00
i386 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
packages release: Remove binutils 2024-11-10 02:57:38 +00:00
pkg_repos Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
powerpc ports/filesystems: Fix fallout 2025-02-26 20:14:37 -05:00
riscv Increase the size of riscv GENERICSD images to 6 GB 2024-01-15 07:29:35 -06:00
scripts release: build OCI images with shell scripts 2025-03-04 09:46:03 +00:00
tools acpi_pci: Add quirk for PSTAT_PME-before-detach 2025-04-01 10:43:58 -07:00
Makefile vmimage.subr: Redirect etcupdate log to stdout 2025-02-05 20:14:21 -08:00
Makefile.azure release: Support r/o /usr/ports for cloudware 2024-04-16 22:43:27 -07:00
Makefile.ec2 Makefile.ec2: Add missing CLEANFILES entry 2024-08-22 00:55:48 -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-16 22:43:27 -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-16 16:54:16 -08:00
Makefile.oci release: build OCI images with shell scripts 2025-03-04 09:46:03 +00:00
Makefile.vagrant release: Support r/o /usr/ports for cloudware 2024-04-16 22:43:27 -07:00
Makefile.vm release: Standardize on *-${FS}.* VM image naming 2024-12-16 16:54:16 -08: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-10 10:34:42 +00:00
release.sh release: build OCI images with shell scripts 2025-03-04 09:46:03 +00:00