[PULL 0/4] loongarch-to-apply queue

Bibo Mao posted 4 patches 4 months, 1 week ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250710093238.453962-1-maobibo@loongson.cn
Maintainers: Song Gao <gaosong@loongson.cn>, Bibo Mao <maobibo@loongson.cn>, Jiaxun Yang <jiaxun.yang@flygoat.com>
There is a newer version of this series
hw/intc/loongarch_extioi.c                |  9 ---------
hw/intc/loongarch_extioi_common.c         |  9 +++++++++
include/hw/intc/loongarch_extioi.h        |  1 -
include/hw/intc/loongarch_extioi_common.h |  1 +
target/loongarch/tcg/csr_helper.c         |  8 ++++++--
target/loongarch/tcg/tlb_helper.c         | 24 ++++++++----------------
6 files changed, 24 insertions(+), 28 deletions(-)
[PULL 0/4] loongarch-to-apply queue
Posted by Bibo Mao 4 months, 1 week ago
The following changes since commit df6fe2abf2e990f767ce755d426bc439c7bba336:

  Merge tag 'pull-target-arm-20250704' of https://gitlab.com/pm215/qemu into staging (2025-07-07 09:22:41 -0400)

are available in the Git repository at:

  https://github.com/bibo-mao/qemu.git tags/pull-loongarch-20250710

for you to fetch changes up to 8ad757642e3a8a283edc29efec73b9bd57fdb365:

  target/loongarch: Remove unnecessary page size validity checking (2025-07-10 16:30:25 +0800)

----------------------------------------------------------------
pull-loongarch-20250710 queue

----------------------------------------------------------------
Bibo Mao (4):
      hw/intc/loongarch_extioi: Move unrealize function to common code
      target/loongarch: Correct spelling in helper_csrwr_pwcl()
      target/loongarch: Fix CSR STLBPS register write emulation
      target/loongarch: Remove unnecessary page size validity checking

 hw/intc/loongarch_extioi.c                |  9 ---------
 hw/intc/loongarch_extioi_common.c         |  9 +++++++++
 include/hw/intc/loongarch_extioi.h        |  1 -
 include/hw/intc/loongarch_extioi_common.h |  1 +
 target/loongarch/tcg/csr_helper.c         |  8 ++++++--
 target/loongarch/tcg/tlb_helper.c         | 24 ++++++++----------------
 6 files changed, 24 insertions(+), 28 deletions(-)
Re: [PULL 0/4] loongarch-to-apply queue
Posted by Stefan Hajnoczi 4 months, 1 week ago
On Thu, Jul 10, 2025 at 5:34 AM Bibo Mao <maobibo@loongson.cn> wrote:
>
> The following changes since commit df6fe2abf2e990f767ce755d426bc439c7bba336:
>
>   Merge tag 'pull-target-arm-20250704' of https://gitlab.com/pm215/qemu into staging (2025-07-07 09:22:41 -0400)
>
> are available in the Git repository at:
>
>   https://github.com/bibo-mao/qemu.git tags/pull-loongarch-20250710
>
> for you to fetch changes up to 8ad757642e3a8a283edc29efec73b9bd57fdb365:
>
>   target/loongarch: Remove unnecessary page size validity checking (2025-07-10 16:30:25 +0800)
>
> ----------------------------------------------------------------
> pull-loongarch-20250710 queue
>
> ----------------------------------------------------------------
> Bibo Mao (4):
>       hw/intc/loongarch_extioi: Move unrealize function to common code
>       target/loongarch: Correct spelling in helper_csrwr_pwcl()
>       target/loongarch: Fix CSR STLBPS register write emulation
>       target/loongarch: Remove unnecessary page size validity checking

Please take a look at the following aarch64 macOS CI failure and
resend your pull request when it has been fixed:

../target/loongarch/tcg/tlb_helper.c:643:75: error: format specifies
type 'long' but the argument has type 'target_ulong' (aka 'unsigned
long long') [-Werror,-Wformat]
643 | qemu_log_mask(LOG_GUEST_ERROR, "Illegal huge pagesize %ld\n", ps);
| ~~~ ^~
| %llu
/private/var/folders/7m/kxwv39y54d9g6lmkzwbqwk8r0000gn/T/cirrus-ci-build/include/qemu/log.h:57:30:
note: expanded from macro 'qemu_log_mask'
57 | qemu_log(FMT, ## __VA_ARGS__); \
| ~~~ ^~~~~~~~~~~

https://gitlab.com/qemu-project/qemu/-/jobs/10637285043

Thanks,
Stefan

>
>  hw/intc/loongarch_extioi.c                |  9 ---------
>  hw/intc/loongarch_extioi_common.c         |  9 +++++++++
>  include/hw/intc/loongarch_extioi.h        |  1 -
>  include/hw/intc/loongarch_extioi_common.h |  1 +
>  target/loongarch/tcg/csr_helper.c         |  8 ++++++--
>  target/loongarch/tcg/tlb_helper.c         | 24 ++++++++----------------
>  6 files changed, 24 insertions(+), 28 deletions(-)
>
>
Re: [PULL 0/4] loongarch-to-apply queue
Posted by Bibo Mao 4 months, 1 week ago

On 2025/7/10 下午8:43, Stefan Hajnoczi wrote:
> On Thu, Jul 10, 2025 at 5:34 AM Bibo Mao <maobibo@loongson.cn> wrote:
>>
>> The following changes since commit df6fe2abf2e990f767ce755d426bc439c7bba336:
>>
>>    Merge tag 'pull-target-arm-20250704' of https://gitlab.com/pm215/qemu into staging (2025-07-07 09:22:41 -0400)
>>
>> are available in the Git repository at:
>>
>>    https://github.com/bibo-mao/qemu.git tags/pull-loongarch-20250710
>>
>> for you to fetch changes up to 8ad757642e3a8a283edc29efec73b9bd57fdb365:
>>
>>    target/loongarch: Remove unnecessary page size validity checking (2025-07-10 16:30:25 +0800)
>>
>> ----------------------------------------------------------------
>> pull-loongarch-20250710 queue
>>
>> ----------------------------------------------------------------
>> Bibo Mao (4):
>>        hw/intc/loongarch_extioi: Move unrealize function to common code
>>        target/loongarch: Correct spelling in helper_csrwr_pwcl()
>>        target/loongarch: Fix CSR STLBPS register write emulation
>>        target/loongarch: Remove unnecessary page size validity checking
> 
> Please take a look at the following aarch64 macOS CI failure and
> resend your pull request when it has been fixed:
> 
> ../target/loongarch/tcg/tlb_helper.c:643:75: error: format specifies
> type 'long' but the argument has type 'target_ulong' (aka 'unsigned
> long long') [-Werror,-Wformat]
> 643 | qemu_log_mask(LOG_GUEST_ERROR, "Illegal huge pagesize %ld\n", ps);
> | ~~~ ^~
> | %llu
> /private/var/folders/7m/kxwv39y54d9g6lmkzwbqwk8r0000gn/T/cirrus-ci-build/include/qemu/log.h:57:30:
> note: expanded from macro 'qemu_log_mask'
> 57 | qemu_log(FMT, ## __VA_ARGS__); \
> | ~~~ ^~~~~~~~~~~
> 
> https://gitlab.com/qemu-project/qemu/-/jobs/10637285043
Thanks for your reminder, will resend it after solving this issue.

Regards
Bibo Mao

> 
> Thanks,
> Stefan
> 
>>
>>   hw/intc/loongarch_extioi.c                |  9 ---------
>>   hw/intc/loongarch_extioi_common.c         |  9 +++++++++
>>   include/hw/intc/loongarch_extioi.h        |  1 -
>>   include/hw/intc/loongarch_extioi_common.h |  1 +
>>   target/loongarch/tcg/csr_helper.c         |  8 ++++++--
>>   target/loongarch/tcg/tlb_helper.c         | 24 ++++++++----------------
>>   6 files changed, 24 insertions(+), 28 deletions(-)
>>
>>