* [PULL 0/1] LoongArch fix for 9.1
@ 2024-07-24 8:39 Song Gao
2024-07-24 11:34 ` Richard Henderson
0 siblings, 1 reply; 5+ messages in thread
From: Song Gao @ 2024-07-24 8:39 UTC (permalink / raw)
To: qemu-devel; +Cc: richard.henderson, peter.maydell
The following changes since commit 6410f877f5ed535acd01bbfaa4baec379e44d0ef:
Merge tag 'hw-misc-20240723' of https://github.com/philmd/qemu into staging (2024-07-24 15:39:43 +1000)
are available in the Git repository at:
https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240724
for you to fetch changes up to a18ffbcf8b9fabfc6c850ebb1d3e40a21b885c67:
target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue (2024-07-24 16:52:18 +0800)
----------------------------------------------------------------
Fix for 9.1
----------------------------------------------------------------
Song Gao (1):
target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue
target/loongarch/tcg/tlb_helper.c | 1 +
1 file changed, 1 insertion(+)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PULL 0/1] LoongArch fix for 9.1
2024-07-24 8:39 [PULL 0/1] LoongArch fix " Song Gao
@ 2024-07-24 11:34 ` Richard Henderson
0 siblings, 0 replies; 5+ messages in thread
From: Richard Henderson @ 2024-07-24 11:34 UTC (permalink / raw)
To: Song Gao, qemu-devel; +Cc: peter.maydell
On 7/24/24 18:39, Song Gao wrote:
> The following changes since commit 6410f877f5ed535acd01bbfaa4baec379e44d0ef:
>
> Merge tag 'hw-misc-20240723' ofhttps://github.com/philmd/qemu into staging (2024-07-24 15:39:43 +1000)
>
> are available in the Git repository at:
>
> https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240724
>
> for you to fetch changes up to a18ffbcf8b9fabfc6c850ebb1d3e40a21b885c67:
>
> target/loongarch: Fix helper_lddir() a CID INTEGER_OVERFLOW issue (2024-07-24 16:52:18 +0800)
>
> ----------------------------------------------------------------
> Fix for 9.1
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PULL 0/1] LoongArch: Fix for 9.1
@ 2024-08-21 2:47 Song Gao
2024-08-21 2:47 ` [PULL 1/1] hw/loongarch: Fix length for lowram in ACPI SRAT Song Gao
2024-08-21 6:46 ` [PULL 0/1] LoongArch: Fix for 9.1 Richard Henderson
0 siblings, 2 replies; 5+ messages in thread
From: Song Gao @ 2024-08-21 2:47 UTC (permalink / raw)
To: qemu-devel; +Cc: richard.henderson
The following changes since commit 4220ebde107c44412755d593fb46e168eeaed936:
Merge tag 'migration-20240820-pull-request' of https://gitlab.com/farosas/qemu into staging (2024-08-21 08:46:45 +1000)
are available in the Git repository at:
https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240821
for you to fetch changes up to d4f5e5af86d2e28edb578e556b307e3ad01ebf08:
hw/loongarch: Fix length for lowram in ACPI SRAT (2024-08-21 11:01:09 +0800)
----------------------------------------------------------------
Fix for 9.1
----------------------------------------------------------------
Jiaxun Yang (1):
hw/loongarch: Fix length for lowram in ACPI SRAT
hw/loongarch/acpi-build.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PULL 1/1] hw/loongarch: Fix length for lowram in ACPI SRAT
2024-08-21 2:47 [PULL 0/1] LoongArch: Fix for 9.1 Song Gao
@ 2024-08-21 2:47 ` Song Gao
2024-08-21 6:46 ` [PULL 0/1] LoongArch: Fix for 9.1 Richard Henderson
1 sibling, 0 replies; 5+ messages in thread
From: Song Gao @ 2024-08-21 2:47 UTC (permalink / raw)
To: qemu-devel; +Cc: richard.henderson, Jiaxun Yang, Bibo Mao
From: Jiaxun Yang <jiaxun.yang@flygoat.com>
The size of lowram should be "gap" instead of the whole node.
This is failing kernel's sanity check:
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0xffffffff]
[ 0.000000] ACPI: SRAT: Node 0 PXM 0 [mem 0x80000000-0x16fffffff]
[ 0.000000] ACPI: SRAT: Node 1 PXM 1 [mem 0x170000000-0x26fffffff]
[ 0.000000] Warning: node 0 [mem 0x00000000-0xffffffff] overlaps with itself [mem 0x80000000-0x16fffffff]
Fixes: fc100011f38d ("hw/loongarch: Refine acpi srat table for numa memory")
Signed-off-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
---
hw/loongarch/acpi-build.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/loongarch/acpi-build.c b/hw/loongarch/acpi-build.c
index 72bfc35ae6..2638f87434 100644
--- a/hw/loongarch/acpi-build.c
+++ b/hw/loongarch/acpi-build.c
@@ -218,7 +218,7 @@ build_srat(GArray *table_data, BIOSLinker *linker, MachineState *machine)
* highram: [VIRT_HIGHMEM_BASE, +(len - gap))
*/
if (len >= gap) {
- build_srat_memory(table_data, base, len, i, MEM_AFFINITY_ENABLED);
+ build_srat_memory(table_data, base, gap, i, MEM_AFFINITY_ENABLED);
len -= gap;
base = VIRT_HIGHMEM_BASE;
gap = machine->ram_size - VIRT_LOWMEM_SIZE;
--
2.34.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PULL 0/1] LoongArch: Fix for 9.1
2024-08-21 2:47 [PULL 0/1] LoongArch: Fix for 9.1 Song Gao
2024-08-21 2:47 ` [PULL 1/1] hw/loongarch: Fix length for lowram in ACPI SRAT Song Gao
@ 2024-08-21 6:46 ` Richard Henderson
1 sibling, 0 replies; 5+ messages in thread
From: Richard Henderson @ 2024-08-21 6:46 UTC (permalink / raw)
To: Song Gao, qemu-devel
On 8/21/24 12:47, Song Gao wrote:
> The following changes since commit 4220ebde107c44412755d593fb46e168eeaed936:
>
> Merge tag 'migration-20240820-pull-request' ofhttps://gitlab.com/farosas/qemu into staging (2024-08-21 08:46:45 +1000)
>
> are available in the Git repository at:
>
> https://gitlab.com/gaosong/qemu.git tags/pull-loongarch-20240821
>
> for you to fetch changes up to d4f5e5af86d2e28edb578e556b307e3ad01ebf08:
>
> hw/loongarch: Fix length for lowram in ACPI SRAT (2024-08-21 11:01:09 +0800)
Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/9.1 as appropriate.
r~
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-08-21 6:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21 2:47 [PULL 0/1] LoongArch: Fix for 9.1 Song Gao
2024-08-21 2:47 ` [PULL 1/1] hw/loongarch: Fix length for lowram in ACPI SRAT Song Gao
2024-08-21 6:46 ` [PULL 0/1] LoongArch: Fix for 9.1 Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
2024-07-24 8:39 [PULL 0/1] LoongArch fix " Song Gao
2024-07-24 11:34 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).