Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: deeca9cb0ba8d8c85e2b8eeb778b35dd0b806d8c
      
https://github.com/qemu/qemu/commit/deeca9cb0ba8d8c85e2b8eeb778b35dd0b806d8c
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M include/hw/intc/loongarch_pch_pic.h
    A include/hw/intc/loongarch_pic_common.h

  Log Message:
  -----------
  include: Add loongarch_pic_common header file

Add common header file hw/intc/loongarch_pic_common.h, and move
some macro definition from hw/intc/loongarch_pch_pic.h to the common
header file.

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


  Commit: f58ac9784728e27b096f4d0086f5277a7bef01f4
      
https://github.com/qemu/qemu/commit/f58ac9784728e27b096f4d0086f5277a7bef01f4
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M include/hw/intc/loongarch_pch_pic.h
    M include/hw/intc/loongarch_pic_common.h

  Log Message:
  -----------
  include: Move struct LoongArchPCHPIC to loongarch_pic_common header file

Move structure LoongArchPCHPIC from header file loongarch_pch_pic.h
to file loongarch_pic_common.h, and rename structure name with
LoongArchPICCommonState.

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


  Commit: f42e88883745ddf4ab48c26253d2dfb7f76a3f53
      
https://github.com/qemu/qemu/commit/f42e88883745ddf4ab48c26253d2dfb7f76a3f53
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_pch_pic.c

  Log Message:
  -----------
  hw/intc/loongarch_pch: Merge instance_init() into realize()

Memory region is created in instance_init(), merge it into function
realize(). There is no special class_init() for loongarch_pch object.

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


  Commit: c43aceddb292229fa9206b8e26fb65a92dd90562
      
https://github.com/qemu/qemu/commit/c43aceddb292229fa9206b8e26fb65a92dd90562
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_pch_pic.c

  Log Message:
  -----------
  hw/intc/loongarch_pch: Rename LoongArchPCHPIC with LoongArchPICCommonState

With pic vmstate, rename structure name vmstate_loongarch_pch_pic with
vmstate_loongarch_pic_common, and with pic property rename
loongarch_pch_pic_properties with loongarch_pic_common_properties.

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


  Commit: b7563779f9e3a319af1a8d39084d0342e5dbb1bb
      
https://github.com/qemu/qemu/commit/b7563779f9e3a319af1a8d39084d0342e5dbb1bb
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_pch_pic.c
    A hw/intc/loongarch_pic_common.c

  Log Message:
  -----------
  hw/intc/loongarch_pch: Move some functions to file loongarch_pic_common

Move some common functions to file loongarch_pic_common.c, the common
functions include loongarch_pic_common_realize(), property structure
loongarch_pic_common_properties and vmstate structure
vmstate_loongarch_pic_common.

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


  Commit: 8bf26a9ea3c8067e04c36b0280b219958955196c
      
https://github.com/qemu/qemu/commit/8bf26a9ea3c8067e04c36b0280b219958955196c
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_pch_pic.c
    M hw/intc/loongarch_pic_common.c
    M hw/intc/meson.build
    M include/hw/intc/loongarch_pch_pic.h
    M include/hw/intc/loongarch_pic_common.h

  Log Message:
  -----------
  hw/intc/loongarch_pch: Inherit from loongarch_pic_common

Set TYPE_LOONGARCH_PIC inherit from TYPE_LOONGARCH_PIC_COMMON object,
it shares vmsate and property of TYPE_LOONGARCH_PIC_COMMON, and has
its own realize() function.

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


  Commit: 36d31cf812848ee65ab03ca901e7b140f5538a7a
      
https://github.com/qemu/qemu/commit/36d31cf812848ee65ab03ca901e7b140f5538a7a
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_pic_common.c
    M include/hw/intc/loongarch_pic_common.h

  Log Message:
  -----------
  hw/intc/loongarch_pch: Add pre_save and post_load interfaces

Add vmstate pre_save and post_load interfaces, which can be used
by pic kvm driver in future.

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


  Commit: b2799f101cfb58f46cd5ef043038276d128d8e72
      
https://github.com/qemu/qemu/commit/b2799f101cfb58f46cd5ef043038276d128d8e72
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_pch_pic.c
    M hw/loongarch/virt.c
    M include/hw/intc/loongarch_pch_pic.h

  Log Message:
  -----------
  hw/intc/loongarch_pch: Code cleanup about loongarch_pch_pic

Remove definition about LoongArchPCHPIC and LOONGARCH_PCH_PIC, and
replace them with LoongArchPICCommonState and LOONGARCH_PIC_COMMON
separately. Also remove unnecessary header files.

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


  Commit: fea46db1c7f3b7cd3df92e871c10a6b85a872041
      
https://github.com/qemu/qemu/commit/fea46db1c7f3b7cd3df92e871c10a6b85a872041
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M include/hw/intc/loongarch_extioi.h
    A include/hw/intc/loongarch_extioi_common.h

  Log Message:
  -----------
  include: Add loongarch_extioi_common header file

Add common header file include/hw/intc/loongarch_extioi_common.h, and
move some macro definition from include/hw/intc/loongarch_extioi.h to
the common header file.

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


  Commit: 593c6b868450603a3295892d8d65b1eba4ea211d
      
https://github.com/qemu/qemu/commit/593c6b868450603a3295892d8d65b1eba4ea211d
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M include/hw/intc/loongarch_extioi.h
    M include/hw/intc/loongarch_extioi_common.h

  Log Message:
  -----------
  include: Move struct LoongArchExtIOI to header file loongarch_extioi_common

Move definiton of structure LoongArchExtIOI from header file loongarch_extioi.h
to file loongarch_extioi_common.h.

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


  Commit: 6f54d920935826a3ce47ba64605b3ccd20d9c0f1
      
https://github.com/qemu/qemu/commit/6f54d920935826a3ce47ba64605b3ccd20d9c0f1
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M include/hw/intc/loongarch_extioi.h
    M include/hw/intc/loongarch_extioi_common.h

  Log Message:
  -----------
  include: Rename LoongArchExtIOI with LoongArchExtIOICommonState

Rename structure LoongArchExtIOI with LoongArchExtIOICommonState,
since it is defined in file loongarch_extioi_common.h

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


  Commit: c169b51b1720c2722bfacb83896cd7100859ee4c
      
https://github.com/qemu/qemu/commit/c169b51b1720c2722bfacb83896cd7100859ee4c
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_extioi.c

  Log Message:
  -----------
  hw/intc/loongarch_extioi: Rename LoongArchExtIOI with 
LoongArchExtIOICommonState

With some structure such as vmstate and property, rename LoongArchExtIOI
with LoongArchExtIOICommonState, these common structure will be moved
to common file.

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


  Commit: aa6330d50ccf7467a022dc348ab6ae2323c2b0b9
      
https://github.com/qemu/qemu/commit/aa6330d50ccf7467a022dc348ab6ae2323c2b0b9
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_extioi.c

  Log Message:
  -----------
  hw/intc/loongarch_extioi: Add common realize interface

Add common realize function, it is only to check validity of property.

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


  Commit: 4abf47126f5c37e974c58f3cbd295abcc67b8668
      
https://github.com/qemu/qemu/commit/4abf47126f5c37e974c58f3cbd295abcc67b8668
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_extioi.c

  Log Message:
  -----------
  hw/intc/loongarch_extioi: Add unrealize interface

For loongarch extioi emulation driver, add unrealize interface and
remove instance_finalize interface and move the code to unrealize
interface.

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


  Commit: 6b69f778176d6d00842ec4e7ac9400af1620387a
      
https://github.com/qemu/qemu/commit/6b69f778176d6d00842ec4e7ac9400af1620387a
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_extioi.c
    A hw/intc/loongarch_extioi_common.c

  Log Message:
  -----------
  hw/intc/loongarch_extioi: Add common file loongarch_extioi_common

Add new common file loongarch_extioi_common.c, and move vmstate
and property structure to common file.

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


  Commit: 272c467a48815e77db89b69dcd251b9f5b22203e
      
https://github.com/qemu/qemu/commit/272c467a48815e77db89b69dcd251b9f5b22203e
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_extioi.c
    M hw/intc/loongarch_extioi_common.c
    M hw/intc/meson.build
    M include/hw/intc/loongarch_extioi.h
    M include/hw/intc/loongarch_extioi_common.h

  Log Message:
  -----------
  hw/intc/loongarch_extioi: Inherit from loongarch_extioi_common

Set TYPE_LOONGARCH_EXTIOI inherit from TYPE_LOONGARCH_EXTIOI_COMMON
object, it shares vmsate and property of TYPE_LOONGARCH_EXTIOI_COMMON,
and has its own realize() function.

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


  Commit: ff09444a88af9f5d55b9e315aa16d3ace1f25211
      
https://github.com/qemu/qemu/commit/ff09444a88af9f5d55b9e315aa16d3ace1f25211
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_extioi_common.c
    M include/hw/intc/loongarch_extioi_common.h

  Log Message:
  -----------
  hw/intc/loongarch_extioi: Add pre_save interface

Add vmstate pre_save interface, which can be used extioi kvm driver
in future.

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


  Commit: 6f6006ad07243543595c7607ffbeee7f45b94b80
      
https://github.com/qemu/qemu/commit/6f6006ad07243543595c7607ffbeee7f45b94b80
  Author: Bibo Mao <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_extioi.c
    M include/hw/intc/loongarch_extioi.h

  Log Message:
  -----------
  hw/intc/loongarch_extioi: Code cleanup about loongarch_extioi

Remove definition about LoongArchExtIOI and LOONGARCH_EXTIOI, and
replace them with LoongArchExtIOICommonState and macro
LOONGARCH_EXTIOI_COMMON separately. Also remove unnecessary header
files.

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


  Commit: 9863d46a5a25bfff7d2195ad5e3127ab3bae0a2b
      
https://github.com/qemu/qemu/commit/9863d46a5a25bfff7d2195ad5e3127ab3bae0a2b
  Author: Stefan Hajnoczi <[email protected]>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M hw/intc/loongarch_extioi.c
    A hw/intc/loongarch_extioi_common.c
    M hw/intc/loongarch_pch_pic.c
    A hw/intc/loongarch_pic_common.c
    M hw/intc/meson.build
    M hw/loongarch/virt.c
    M include/hw/intc/loongarch_extioi.h
    A include/hw/intc/loongarch_extioi_common.h
    M include/hw/intc/loongarch_pch_pic.h
    A include/hw/intc/loongarch_pic_common.h

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

loongarch queue

# -----BEGIN PGP SIGNATURE-----
#
# iHUEABYKAB0WIQQNhkKjomWfgLCz0aQfewwSUazn0QUCZ2PKBQAKCRAfewwSUazn
# 0QAZAQCxbLnvzOb9TPORlg5w0n/xFaKCL7dJbJE4WjlM7dhLkAEA5G8JVoP5Ju2B
# mcK7wbymyXNX1ocsukL/JM2JavHS+AI=
# =JoSk
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 19 Dec 2024 02:23:49 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-20241219' of https://gitlab.com/bibo-mao/qemu:
  hw/intc/loongarch_extioi: Code cleanup about loongarch_extioi
  hw/intc/loongarch_extioi: Add pre_save interface
  hw/intc/loongarch_extioi: Inherit from loongarch_extioi_common
  hw/intc/loongarch_extioi: Add common file loongarch_extioi_common
  hw/intc/loongarch_extioi: Add unrealize interface
  hw/intc/loongarch_extioi: Add common realize interface
  hw/intc/loongarch_extioi: Rename LoongArchExtIOI with 
LoongArchExtIOICommonState
  include: Rename LoongArchExtIOI with LoongArchExtIOICommonState
  include: Move struct LoongArchExtIOI to header file loongarch_extioi_common
  include: Add loongarch_extioi_common header file
  hw/intc/loongarch_pch: Code cleanup about loongarch_pch_pic
  hw/intc/loongarch_pch: Add pre_save and post_load interfaces
  hw/intc/loongarch_pch: Inherit from loongarch_pic_common
  hw/intc/loongarch_pch: Move some functions to file loongarch_pic_common
  hw/intc/loongarch_pch: Rename LoongArchPCHPIC with LoongArchPICCommonState
  hw/intc/loongarch_pch: Merge instance_init() into realize()
  include: Move struct LoongArchPCHPIC to loongarch_pic_common header file
  include: Add loongarch_pic_common header file

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


Compare: https://github.com/qemu/qemu/compare/3e9793ab0190...9863d46a5a25

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

Reply via email to