Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 90f73c2d7fd006ef4cfb12d4146cae07afa861c1
      
https://github.com/qemu/qemu/commit/90f73c2d7fd006ef4cfb12d4146cae07afa861c1
  Author: Bibo Mao <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M target/loongarch/tcg/insn_trans/trans_privileged.c.inc
    A target/loongarch/tcg/tcg_loongarch.h
    M target/loongarch/tcg/translate.c

  Log Message:
  -----------
  target/loongarch: Add dynamic function access with CSR register

With CSR register, dynamic function access is used for CSR register
access in TCG mode, so that csr info can be used by other modules.

Signed-off-by: Bibo Mao <[email protected]>


  Commit: 3156b1c1e9eb0954c46346595e6b40af13114fd4
      
https://github.com/qemu/qemu/commit/3156b1c1e9eb0954c46346595e6b40af13114fd4
  Author: Bibo Mao <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M target/loongarch/tcg/insn_trans/trans_privileged.c.inc

  Log Message:
  -----------
  target/loongarch: Remove static CSR function setting

Since CSR function setting is done dynamically in TCG mode, remove
static CSR function setting here.

Signed-off-by: Bibo Mao <[email protected]>


  Commit: 75b2c5da94fc9f94370438d27c179abcc8f424be
      
https://github.com/qemu/qemu/commit/75b2c5da94fc9f94370438d27c179abcc8f424be
  Author: Bibo Mao <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M target/loongarch/tcg/insn_trans/trans_privileged.c.inc

  Log Message:
  -----------
  target/loongarch: Add generic csr function type

Parameter type TCGv and TCGv_ptr for function GenCSRRead and GenCSRWrite
is not used in non-TCG mode. Generic csr function type is added here
with parameter void type, so that it passes to compile with non-TCG mode.

Signed-off-by: Bibo Mao <[email protected]>


  Commit: d03114ea20e043278306f168bcf306a6605ed4a5
      
https://github.com/qemu/qemu/commit/d03114ea20e043278306f168bcf306a6605ed4a5
  Author: Bibo Mao <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    A target/loongarch/csr.h
    M target/loongarch/tcg/insn_trans/trans_privileged.c.inc

  Log Message:
  -----------
  target/loongarch: Add common header file for CSR registers

Common header file csr.h is added here, it can be used by both
TCG mode and kvm mode.

Signed-off-by: Bibo Mao <[email protected]>


  Commit: cb6fa4142f883684c7689944020aa95e422e0578
      
https://github.com/qemu/qemu/commit/cb6fa4142f883684c7689944020aa95e422e0578
  Author: Bibo Mao <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    A target/loongarch/csr.c
    M target/loongarch/csr.h
    M target/loongarch/meson.build
    M target/loongarch/tcg/insn_trans/trans_privileged.c.inc

  Log Message:
  -----------
  target/loongarch: Add common source file for CSR register

Common source file csr.c is added here, it can be used by both
TCG mode and kvm mode. The common code is removed from file
tcg/insn_trans/trans_privileged.c.inc to csrc.c

Signed-off-by: Bibo Mao <[email protected]>


  Commit: b5b13eb712e73545c4323d497ef1fabf7e63c360
      
https://github.com/qemu/qemu/commit/b5b13eb712e73545c4323d497ef1fabf7e63c360
  Author: Bibo Mao <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M target/loongarch/cpu.c
    M target/loongarch/csr.c
    M target/loongarch/csr.h

  Log Message:
  -----------
  target/loongarch: Set unused flag with CSR registers

On LA464, some CSR registers are not used such as CSR_SAVE8 -
CSR_SAVE15, also CSR registers relative with MCE is not used now.

Flag CSRFL_UNUSED is added for these registers, so that it will
not dumped. In order to keep compatiblity, these CSR registers are
not removed since it is used in vmstate already.

Signed-off-by: Bibo Mao <[email protected]>


  Commit: 3215fe8528de45a1794f0314623cc10bd8e8e19f
      
https://github.com/qemu/qemu/commit/3215fe8528de45a1794f0314623cc10bd8e8e19f
  Author: Bibo Mao <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M target/loongarch/cpu.c
    M target/loongarch/csr.c
    M target/loongarch/csr.h

  Log Message:
  -----------
  target/loongarch: Dump all generic CSR registers

CSR registers is import system control registers, it had better
dump all CSR registers when VM is running in system mode.

Here is dump output example of CSR registers:
 CSR000: CRMD   b4               PRMD   4                EUEN   0               
 MISC   0
 CSR004: ECFG   71c1c            ESTAT  0                ERA    
9000000002c31300 BADV   12022c0e0
 CSR008: BADI   2b0000
 CSR012: EENTRY 90000000046b0000
 CSR016: TLBIDX ffffffff8e000228 TLBEHI 120228000        TLBELO0 
400000016f19001f TLBELO1 400000016f1a401f
 CSR024: ASID   a0004            PGDL   90000001016f0000 PGDH   
9000000004680000 PGD    0
 CSR028: PWCL   5e56e            PWCH   2e4              STLBPS e               
 RVACFG 0
 CSR032: CPUID  0                PRCFG1 72f8             PRCFG2 3ffff000        
 PRCFG3 8073f2
 CSR048: SAVE0  0                SAVE1  af9c             SAVE2  12010d6a8       
 SAVE3  8300000
 CSR052: SAVE4  0                SAVE5  0                SAVE6  0               
 SAVE7  0
 CSR064: TID    0                TCFG   8f0ca15          TVAL   4cefd8b         
 CNTC   fffffffffe688aaa
 CSR068: TICLR  0
 CSR096: LLBCTL 1
 CSR136: TLBRENTRY 46ba000       TLBRBADV ffff8000130d81e2 TLBRERA 
9000000003585cb8 TLBRSAVE ffff8000130d81e0
 CSR140: TLBRELO0 1fe00043       TLBRELO1 40             TLBREHI 
ffff8000130d800e TLBRPRMD 0
 CSR384: DMW0   8000000000000001 DMW1   9000000000000011 DMW2   0               
 DMW3   0

Signed-off-by: Bibo Mao <[email protected]>


  Commit: 5f01c60879f0a1dd540c2c25757a57908847e055
      
https://github.com/qemu/qemu/commit/5f01c60879f0a1dd540c2c25757a57908847e055
  Author: Helge Deller <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M linux-user/fd-trans.c

  Log Message:
  -----------
  linux-user: netlink: Add missing IFA_PROTO to 
host_to_target_data_addr_rtattr()

Fix this warning:
 Unknown host IFA type: 11

While adding IFA_PROTO, convert all IFA_XXX values over to QEMU_IFA_XXX values
to avoid a build failure on Ubuntu 22.04 (kernel v5.18 which does not know
IFA_PROTO yet).

Signed-off-by: Helge Deller <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>


  Commit: b97f8d1fa5f783d1ff436b52b29612ecb8793f93
      
https://github.com/qemu/qemu/commit/b97f8d1fa5f783d1ff436b52b29612ecb8793f93
  Author: Helge Deller <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: Use unique error messages for cmsg parsing

Avoid using the same error message for two different code paths
as it complicates determining the one which actually triggered.

Signed-off-by: Helge Deller <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>


  Commit: 017fc6620f2513c1d0217289c48be4c51e0167a7
      
https://github.com/qemu/qemu/commit/017fc6620f2513c1d0217289c48be4c51e0167a7
  Author: Helge Deller <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M linux-user/syscall.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  linux-user: netlink: Add IP_PKTINFO cmsg parsing

Fixes those warnings:
 Unsupported host ancillary data: 0/8

Signed-off-by: Helge Deller <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>


  Commit: f65464ce6d00fdec726dbd9f8c8c543c3feb2924
      
https://github.com/qemu/qemu/commit/f65464ce6d00fdec726dbd9f8c8c543c3feb2924
  Author: Helge Deller <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M linux-user/syscall.c

  Log Message:
  -----------
  linux-user: netlink: Add emulation of IP_MULTICAST_IF

Add IP_MULTICAST_IF and share the code with IP_ADD_MEMBERSHIP / 
IP_DROP_MEMBERSHIP.
Sharing the code makes sense, because the manpage of ip(7) says:

IP_MULTICAST_IF (since Linux 1.2)
      Set the local device for a multicast socket.  The argument
      for setsockopt(2) is an ip_mreqn or (since Linux 3.5)
      ip_mreq structure similar to IP_ADD_MEMBERSHIP, or an
      in_addr structure.  (The kernel determines which structure
      is being passed based on the size passed in optlen.)  For
      getsockopt(2), the argument is an in_addr structure.

Signed-off-by: Helge Deller <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>


  Commit: cc9a83155dde604020b4b4b4ad2926d5924b1375
      
https://github.com/qemu/qemu/commit/cc9a83155dde604020b4b4b4ad2926d5924b1375
  Author: Helge Deller <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M linux-user/fd-trans.c

  Log Message:
  -----------
  linux-user: netlink: add netlink neighbour emulation

Fixes various warnings in the testsuite while building gupnp:
 gssdp-net-DEBUG: Failed to send netlink message: Operation not supported
 gupnp-context-DEBUG: Mismatch between host header and host IP (example.com, 
expected: 127.0.0.1)
 gupnp-context-DEBUG: Mismatch between host header and host port (80, expected 
4711)
 gupnp-context-DEBUG: Mismatch between host header and host IP (192.168.1.2, 
expected: 127.0.0.1)
 gupnp-context-DEBUG: Mismatch between host header and host IP (fe80::01, 
expected: 127.0.0.1)
 gupnp-context-DEBUG: Mismatch between host header and host port (80, expected 
4711)
 gupnp-context-DEBUG: Failed to parse HOST header from request: Invalid IPv6 
address ?[fe80::01%1]? in URI
 gupnp-context-DEBUG: Failed to parse HOST header from request: Invalid IPv6 
address ?[fe80::01%eth0]? in URI
 gupnp-context-DEBUG: Failed to parse HOST header from request: Could not parse 
port ?:1? in URI
 gupnp-context-DEBUG: Mismatch between host header and host IP (example.com, 
expected: ::1)
 gupnp-context-DEBUG: Mismatch between host header and host port (80, expected 
4711)
 gupnp-context-DEBUG: Mismatch between host header and host IP (example.com, 
expected: ::1)
 gupnp-context-DEBUG: Mismatch between host header and host port (80, expected 
4711)
 gupnp-context-DEBUG: Mismatch between host header and host IP (example.com, 
expected: ::1)

Signed-off-by: Helge Deller <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>


  Commit: 3719acc273865744b885ad9bcb141b4496c31887
      
https://github.com/qemu/qemu/commit/3719acc273865744b885ad9bcb141b4496c31887
  Author: Helge Deller <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M linux-user/fd-trans.c

  Log Message:
  -----------
  linux-user: netlink: Add missing QEMU_IFLA entries

This fixes the following qemu warnings when building debian gupnp package:
 Unknown host QEMU_IFLA type: 61
 Unknown host QEMU_IFLA type: 58
 Unknown host QEMU_IFLA type: 59
 Unknown host QEMU_IFLA type: 60
 Unknown host QEMU_IFLA type: 32820

QEMU_IFLA type 32820 is actually NLA_NESTED | QEMU_IFLA_PROP_LIST (a nested
entry), which is why rta_type needs to be masked with NLA_TYPE_MASK.

Signed-off-by: Helge Deller <[email protected]>
Reviewed-by: Laurent Vivier <[email protected]>


  Commit: 8f9cb50fe6bb15be72e1af4c7676969556d600da
      
https://github.com/qemu/qemu/commit/8f9cb50fe6bb15be72e1af4c7676969556d600da
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M target/loongarch/cpu.c
    A target/loongarch/csr.c
    A target/loongarch/csr.h
    M target/loongarch/meson.build
    M target/loongarch/tcg/insn_trans/trans_privileged.c.inc
    A target/loongarch/tcg/tcg_loongarch.h
    M target/loongarch/tcg/translate.c

  Log Message:
  -----------
  Merge tag 'pull-loongarch-20250124' of https://gitlab.com/bibo-mao/qemu into 
staging

loongarch queue

# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQQNhkKjomWfgLCz0aQfewwSUazn0QUCZ5M4AwAKCRAfewwSUazn
# 0aJAAP45/9qfbGSYiMCrBXpRFlyvtRN+GEXHEsERfk9Q1V+tQgEA/mMiUEcyc/xc
# Z1Z27cDoqUFRhPmxbd6/KyTGHzo2+As=
# =Zanw
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 24 Jan 2025 01:49:39 EST
# gpg:                using EDDSA key 0D8642A3A2659F80B0B3D1A41F7B0C1251ACE7D1
# gpg: Good signature from "bibo mao <[email protected]>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 7044 3A00 19C0 E97A 31C7  13C4 8E86 8FB7 A176 9D4C
#      Subkey fingerprint: 0D86 42A3 A265 9F80 B0B3  D1A4 1F7B 0C12 51AC E7D1

* tag 'pull-loongarch-20250124' of https://gitlab.com/bibo-mao/qemu:
  target/loongarch: Dump all generic CSR registers
  target/loongarch: Set unused flag with CSR registers
  target/loongarch: Add common source file for CSR register
  target/loongarch: Add common header file for CSR registers
  target/loongarch: Add generic csr function type
  target/loongarch: Remove static CSR function setting
  target/loongarch: Add dynamic function access with CSR register

Signed-off-by: Stefan Hajnoczi <[email protected]>


  Commit: ed734377ab3f3f3cc15d7aa301a87ab6370f2eed
      
https://github.com/qemu/qemu/commit/ed734377ab3f3f3cc15d7aa301a87ab6370f2eed
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2025-01-24 (Fri, 24 Jan 2025)

  Changed paths:
    M linux-user/fd-trans.c
    M linux-user/syscall.c
    M linux-user/syscall_defs.h

  Log Message:
  -----------
  Merge tag 'linux-user-fix-gupnp-pull-request' of 
https://github.com/hdeller/qemu-hppa into staging

linux-user: Add support for various missing netlink sockopt entries

Add missing sockopt calls and thus fix building the debian gupnp package in a 
chroot.

This fixes debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1044651

Signed-off-by: Helge Deller <[email protected]>

# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQS86RI+GtKfB8BJu973ErUQojoPXwUCZ5OPdwAKCRD3ErUQojoP
# X9EWAP0ZvoDehmNzgWMlUpWT+d4O06kMsrDsi+tRddUUSJgp4wEAuuycr4go4b9b
# 6xLDLr81C7MFEGsztGcRVhPwVdDJxAU=
# =Lw8U
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 24 Jan 2025 08:02:47 EST
# gpg:                using EDDSA key BCE9123E1AD29F07C049BBDEF712B510A23A0F5F
# gpg: Good signature from "Helge Deller <[email protected]>" [unknown]
# gpg:                 aka "Helge Deller <[email protected]>" [unknown]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 4544 8228 2CD9 10DB EF3D  25F8 3E5F 3D04 A7A2 4603
#      Subkey fingerprint: BCE9 123E 1AD2 9F07 C049  BBDE F712 B510 A23A 0F5F

* tag 'linux-user-fix-gupnp-pull-request' of 
https://github.com/hdeller/qemu-hppa:
  linux-user: netlink: Add missing QEMU_IFLA entries
  linux-user: netlink: add netlink neighbour emulation
  linux-user: netlink: Add emulation of IP_MULTICAST_IF
  linux-user: netlink: Add IP_PKTINFO cmsg parsing
  linux-user: Use unique error messages for cmsg parsing
  linux-user: netlink: Add missing IFA_PROTO to 
host_to_target_data_addr_rtattr()

Signed-off-by: Stefan Hajnoczi <[email protected]>


Compare: https://github.com/qemu/qemu/compare/cf86770c7aa3...ed734377ab3f

To unsubscribe from these emails, change your notification settings at 
https://github.com/qemu/qemu/settings/notifications

Reply via email to