[PATCH 0/2] hw/loongarch/virt: Small enhancement about big endian host

Bibo Mao posted 2 patches 5 months, 2 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250604065502.1114098-1-maobibo@loongson.cn
Maintainers: Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>
hw/intc/loongarch_pch_pic.c    | 2 +-
hw/loongarch/virt-acpi-build.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
[PATCH 0/2] hw/loongarch/virt: Small enhancement about big endian host
Posted by Bibo Mao 5 months, 2 weeks ago
On big endian host machine such as S390, bios-table-test fails to run.
And also linux kernel fails to boot.

This patches solves these two issues.

Bibo Mao (2):
  hw/loongarch/virt: Fix big endian support with MCFG table
  hw/intc/loongarch_pch: Convert to little endian with ID register

 hw/intc/loongarch_pch_pic.c    | 2 +-
 hw/loongarch/virt-acpi-build.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)


base-commit: 6322b753f798337835e205b6d805356bea582c86
-- 
2.39.3
Re: [PATCH 0/2] hw/loongarch/virt: Small enhancement about big endian host
Posted by Alireza Sanaee via 5 months, 2 weeks ago
On Wed, 4 Jun 2025 14:55:00 +0800
Bibo Mao <maobibo@loongson.cn> wrote:

> On big endian host machine such as S390, bios-table-test fails to run.
> And also linux kernel fails to boot.
> 
> This patches solves these two issues.
> 
> Bibo Mao (2):
>   hw/loongarch/virt: Fix big endian support with MCFG table
>   hw/intc/loongarch_pch: Convert to little endian with ID register
> 
>  hw/intc/loongarch_pch_pic.c    | 2 +-
>  hw/loongarch/virt-acpi-build.c | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> 
> base-commit: 6322b753f798337835e205b6d805356bea582c86

Hi Bao,

Thanks for the fix.

In that case, I will put a DEPEND-ON tag and resend my patchset.

Alireza
Re: [PATCH 0/2] hw/loongarch/virt: Small enhancement about big endian host
Posted by gaosong 5 months, 1 week ago
在 2025/6/4 下午5:05, Alireza Sanaee 写道:
> On Wed, 4 Jun 2025 14:55:00 +0800
> Bibo Mao <maobibo@loongson.cn> wrote:
>
>> On big endian host machine such as S390, bios-table-test fails to run.
>> And also linux kernel fails to boot.
>>
>> This patches solves these two issues.
>>
>> Bibo Mao (2):
>>    hw/loongarch/virt: Fix big endian support with MCFG table
>>    hw/intc/loongarch_pch: Convert to little endian with ID register
Reviewed-by: Song Gao <gaosong@loongson.cn>

Applied to  loongarch. next

thanks.
Song Gao

>>   hw/intc/loongarch_pch_pic.c    | 2 +-
>>   hw/loongarch/virt-acpi-build.c | 4 ++--
>>   2 files changed, 3 insertions(+), 3 deletions(-)
>>
>>
>> base-commit: 6322b753f798337835e205b6d805356bea582c86
> Hi Bao,
>
> Thanks for the fix.
>
> In that case, I will put a DEPEND-ON tag and resend my patchset.
>
> Alireza