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

This series removes the UART _DSD clock property and _CCA, adds
_STA = 0x0f, and updates the expected DSDT blobs.

It also changes the FDT clock-frequency from 100000000 to 1843200 Hz
to match the emulated UART model. The FDT clock property is retained.

Changes since v3:
- Add a separate patch to correct the FDT UART clock frequency.
- Carry Bibo Mao's Reviewed-by for the ACPI change.
- Clarify the ACPI commit message.

Testing:
- All five LoongArch ACPI bios-tables-test subtests pass.
- The generated DTB reports clock-frequency = 1843200 for all four
  UART nodes.

pillow (4):
  bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.*
  hw/loongarch/virt-acpi-build: Drop UART _DSD clock and add _STA
  tests/data/acpi/loongarch64: Update expected DSDT.*
  hw/loongarch/virt: Fix UART clock frequency in FDT

 hw/loongarch/virt-acpi-build.c                |  12 +-----------
 hw/loongarch/virt-fdt-build.c                 |   2 +-
 tests/data/acpi/loongarch64/virt/DSDT         | Bin 4603 -> 4379 bytes
 tests/data/acpi/loongarch64/virt/DSDT.memhp   | Bin 5824 -> 5600 bytes
 tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 4609 -> 4385 bytes
 .../data/acpi/loongarch64/virt/DSDT.topology  | Bin 4905 -> 4681 bytes
 6 files changed, 2 insertions(+), 12 deletions(-)


base-commit: 8967b2fe1b2aaae3c29e207d85fab901d580a2dc
-- 
2.56.0



^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH V4 0/4] add rtc acpi table
@ 2026-03-27  2:31 Xianglai Li
  2026-03-27  2:31 ` [PATCH V4 1/4] bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.* Xianglai Li
  0 siblings, 1 reply; 11+ messages in thread
From: Xianglai Li @ 2026-03-27  2:31 UTC (permalink / raw)
  To: qemu-devel, lixianglai
  Cc: Song Gao, Bibo Mao, Jiaxun Yang, Huacai Chen, Jonathan Cameron

1.Add the acpi table to the loongson rtc hardware so that the virtual machine
kernel can use the loongson RTC-related drivers.

2.Delete the interrupt information in the rtc fdt table. 

change:
V3->V4:
Update the test data in the directory "tests/qtest/bios-tables-test"

V2->V3:
Split the modifications related to ACPI and FDT for RTC into two patches

V1->V2:
1.Add a comment to explain why the acpi table no longer provides interrupt numbers
2.Delete the interrupt number from the rtc fdt table 

Cc: Song Gao <gaosong@loongson.cn> 
Cc: Bibo Mao <maobibo@loongson.cn> 
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com> 
Cc: "Huacai Chen"<zltjiangshi@gmail.com>
Cc: Jonathan Cameron <jonathan.cameron@huawei.com> 

Xianglai Li (4):
  bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.*
  hw/loongarch: add rtc acpi table
  tests/qtest/bios-tables-test: Update DSDT blobs after loongarch rtc
    change
  hw/loongarch: modify rtc fdt table

 hw/loongarch/virt-acpi-build.c                |  25 ++++++++++++++++++
 hw/loongarch/virt-fdt-build.c                 |  16 +++++------
 tests/data/acpi/loongarch64/virt/DSDT         | Bin 4603 -> 4689 bytes
 tests/data/acpi/loongarch64/virt/DSDT.memhp   | Bin 5824 -> 5910 bytes
 tests/data/acpi/loongarch64/virt/DSDT.numamem | Bin 4609 -> 4695 bytes
 .../data/acpi/loongarch64/virt/DSDT.topology  | Bin 4905 -> 4991 bytes
 6 files changed, 33 insertions(+), 8 deletions(-)

-- 
2.39.1



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

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-22  7:22 [PATCH v4 0/4] hw/loongarch/virt: Fix UART ACPI and FDT pillow
2026-10-22  7:22 ` [PATCH v4 1/4] bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.* pillow
2026-10-22  7:22 ` [PATCH v4 2/4] hw/loongarch/virt-acpi-build: Drop UART _DSD clock and add _STA pillow
2026-10-22  8:15   ` Igor Mammedov
2026-10-22  8:18   ` Igor Mammedov
2026-10-22  9:01     ` way sorry
2026-10-22  9:25       ` way sorry
2026-10-22 11:27         ` Igor Mammedov
2026-10-22  7:22 ` [PATCH v4 3/4] tests/data/acpi/loongarch64: Update expected DSDT.* pillow
2026-10-22  7:22 ` [PATCH v4 4/4] hw/loongarch/virt: Fix UART clock frequency in FDT pillow
  -- strict thread matches above, loose matches on Subject: below --
2026-03-27  2:31 [PATCH V4 0/4] add rtc acpi table Xianglai Li
2026-03-27  2:31 ` [PATCH V4 1/4] bios-tables-test-allowed-diff.h: Allow LoongArch DSDT.* Xianglai Li

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.