opnsense-src/release
Colin Percival d70bac252d 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
2025-03-05 12:25:49 -08: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 PSTAT_PME-before-detach 2025-03-05 12:25:49 -08:00
Makefile vmimage.subr: Redirect etcupdate log to stdout 2025-01-30 11:29:53 -08: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: add cloudware oracle targets to package and upload .oci files 2025-03-04 23:56:00 +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