All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/5] hw/loogarch: Fix UART ACPI properties and FDT
@ 2026-10-25 13:55 pillow
  2026-10-25 13:55 ` [PATCH v5 1/5] bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.* pillow
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: pillow @ 2026-10-25 13:55 UTC (permalink / raw)
  To: qemu-devel
  Cc: 17746591750, maobibo, lixianglai, jiaxun.yang, mst, imammedo,
	anisinha, waysorrypub

This series fixes the UART description for LoongArch virt.

The ACPI _DSD property built for the UART has three problems: the
property name is misspelled, the key and value order is reversed, and
it describes a 100 MHz clock that does not match the device model.
The property can be dropped directly because the UART model's input
clock matches the Linux 8250 PnP driver default of 1,843,200 Hz, so no
_DSD override is needed.

The _CCA property is also unnecessary.  _CCA describes a device's DMA
cache coherency attribute, and this UART does not support DMA, so there
is no reason to declare it.

The UART clock frequency in the FDT is corrected to 1,843,200 Hz, and
the expected ACPI tables are updated accordingly.

pillow (5):
  bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.*
  hw/loongarch/virt-acpi-build: Drop invalid _DSD UART clock property
  hw/loongarch/virt-acpi-build: Drop UART _CCA declaration
  hw/loongarch/virt: Fix UART clock frequency in FDT
  tests/data/acpi/loongarch64: Update expected DSDT.*

 hw/loongarch/virt-acpi-build.c                |  11 -----------
 hw/loongarch/virt-fdt-build.c                 |   2 +-
 tests/data/acpi/loongarch64/virt/DSDT         | Bin 4603 -> 4351 bytes
 tests/data/acpi/loongarch64/virt/DSDT.memhp   | Bin 5824 -> 5572 bytes
 tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 4609 -> 4357 bytes
 .../data/acpi/loongarch64/virt/DSDT.topology  | Bin 4905 -> 4653 bytes
 6 files changed, 1 insertion(+), 12 deletions(-)

-- 
2.56.0



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-10-28  1:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH v5 3/5] hw/loongarch/virt-acpi-build: Drop UART _CCA declaration pillow
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

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.