Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101251238
D47239.id145350.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47239.id145350.diff
View Options
diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -70,6 +70,11 @@
# nodes, but apply the workaround just in case.
echo 'hw.broken_txfifo="1"' >> ${DESTDIR}/boot/loader.conf
+ # Graviton 1 through Graviton 4 have a bug in their ACPI where they
+ # mark the PL061's pins as needing to be configured in PullUp mode
+ # (in fact the PL061 has no pullup/pulldown resistors).
+ echo 'debug.acpi.quirks="8"' >> ${DESTDIR}/boot/loader.conf
+
# Load the kernel module for the Amazon "Elastic Network Adapter"
echo 'if_ena_load="YES"' >> ${DESTDIR}/boot/loader.conf
diff --git a/sys/dev/acpica/acpivar.h b/sys/dev/acpica/acpivar.h
--- a/sys/dev/acpica/acpivar.h
+++ b/sys/dev/acpica/acpivar.h
@@ -227,12 +227,15 @@
* ACPI_Q_MADT_IRQ0: Specifies that ISA IRQ 0 is wired up to pin 0 of the
* first APIC and that the MADT should force that by ignoring the PC-AT
* compatible flag and ignoring overrides that redirect IRQ 0 to pin 2.
+ * ACPI_Q_AEI_NOPULL: Specifies that _AEI objects incorrectly designate pins
+ * as "PullUp" and they should be treated as "NoPull" instead.
*/
extern int acpi_quirks;
#define ACPI_Q_OK 0
#define ACPI_Q_BROKEN (1 << 0)
#define ACPI_Q_TIMER (1 << 1)
#define ACPI_Q_MADT_IRQ0 (1 << 2)
+#define ACPI_Q_AEI_NOPULL (1 << 3)
#if defined(__amd64__) || defined(__i386__)
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 27, 5:26 PM (22 h, 6 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14355298
Default Alt Text
D47239.id145350.diff (1 KB)
Attached To
Mode
D47239: ACPI: Add ACPI_Q_AEI_NOPULL quirk and use in EC2
Attached
Detach File
Event Timeline
Log In to Comment