diff mbox series

[PULL,03/13] hw/loongarch/virt-acpi-build: Drop UART _CCA declaration

Message ID 20261105065345.966691-4-maobibo@loongson.cn
State New
Headers show
Series [PULL,01/13] bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.* | expand

Commit Message

Bibo Mao Nov. 5, 2026, 6:53 a.m. UTC
From: pillow <waysorrypub@gmail.com>

Remove the _CCA property from the UART device. _CCA describes a
device's DMA cache coherency attributes. This UART does not support
DMA, so there is no need to declare this property.

Signed-off-by: pillow <waysorrypub@gmail.com>
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
---
 hw/loongarch/virt-acpi-build.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/hw/loongarch/virt-acpi-build.c b/hw/loongarch/virt-acpi-build.c
index 981e609ffc..c560f25c0b 100644
--- a/hw/loongarch/virt-acpi-build.c
+++ b/hw/loongarch/virt-acpi-build.c
@@ -324,7 +324,6 @@  static void build_uart_device_aml(Aml *table, int index)
     dev = aml_device("COM%d", index);
     aml_append(dev, aml_name_decl("_HID", aml_string("PNP0501")));
     aml_append(dev, aml_name_decl("_UID", aml_int(index)));
-    aml_append(dev, aml_name_decl("_CCA", aml_int(1)));
     crs = aml_resource_template();
     aml_append(crs,
         aml_qword_memory(AML_POS_DECODE, AML_MIN_FIXED, AML_MAX_FIXED,