All of lore.kernel.org
 help / color / mirror / Atom feed
From: pillow <waysorrypub@gmail.com>
To: qemu-devel@nongnu.org
Cc: 17746591750@163.com, maobibo@loongson.cn, lixianglai@loongson.cn,
	jiaxun.yang@flygoat.com, mst@redhat.com, imammedo@redhat.com,
	anisinha@redhat.com, waysorrypub@gmail.com
Subject: [PATCH v5 3/5] hw/loongarch/virt-acpi-build: Drop UART _CCA declaration
Date: Sun, 25 Oct 2026 21:55:57 +0800	[thread overview]
Message-ID: <20261025135559.236356-4-waysorrypub@gmail.com> (raw)
In-Reply-To: <20261025135559.236356-1-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>
---
 hw/loongarch/virt-acpi-build.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/hw/loongarch/virt-acpi-build.c b/hw/loongarch/virt-acpi-build.c
index 981e609..c560f25 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,
-- 
2.56.0



  parent reply	other threads:[~2026-10-25 13:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-25 13:55 [PATCH v5 0/5] hw/loogarch: Fix UART ACPI properties and FDT pillow
2026-10-25 13:55 ` [PATCH v5 1/5] bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.* pillow
2026-10-25 13:55 ` [PATCH v5 2/5] hw/loongarch/virt-acpi-build: Drop invalid _DSD UART clock property pillow
2026-10-25 13:55 ` pillow [this message]
2026-10-25 13:55 ` [PATCH v5 4/5] hw/loongarch/virt: Fix UART clock frequency in FDT pillow
2026-10-25 13:55 ` [PATCH v5 5/5] tests/data/acpi/loongarch64: Update expected DSDT.* pillow
2026-10-28  1:24 ` [PATCH v5 0/5] hw/loogarch: Fix UART ACPI properties and FDT Bibo Mao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261025135559.236356-4-waysorrypub@gmail.com \
    --to=waysorrypub@gmail.com \
    --cc=17746591750@163.com \
    --cc=anisinha@redhat.com \
    --cc=imammedo@redhat.com \
    --cc=jiaxun.yang@flygoat.com \
    --cc=lixianglai@loongson.cn \
    --cc=maobibo@loongson.cn \
    --cc=mst@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.