qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 6027d2: hw/intc/loongarch_pch_msi: add irq nu


From: Peter Maydell
Subject: [Qemu-commits] [qemu/qemu] 6027d2: hw/intc/loongarch_pch_msi: add irq number property
Date: Sat, 07 Jan 2023 06:26:01 -0800

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 6027d2740524cf04ab38564c0c299fddbeaa6723
      
https://github.com/qemu/qemu/commit/6027d2740524cf04ab38564c0c299fddbeaa6723
  Author: Tianrui Zhao <zhaotianrui@loongson.cn>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M hw/intc/loongarch_pch_msi.c
    M hw/loongarch/virt.c
    M include/hw/intc/loongarch_pch_msi.h
    M include/hw/pci-host/ls7a.h

  Log Message:
  -----------
  hw/intc/loongarch_pch_msi: add irq number property

This patch adds irq number property for loongarch msi interrupt
controller, and remove hard coding irq number macro.

Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230104020518.2564263-2-zhaotianrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>


  Commit: 270950b49d36659372acbc12e65ff34969bed678
      
https://github.com/qemu/qemu/commit/270950b49d36659372acbc12e65ff34969bed678
  Author: Tianrui Zhao <zhaotianrui@loongson.cn>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  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_pic: add irq number property

With loongarch 7A1000 manual, irq number supported can be set
in PCH_PIC_INT_ID_HI register. This patch adds irq number property
for loongarch_pch_pic, so that virt machine can set different
irq number when pch_pic intc is added.

Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20230104020518.2564263-3-zhaotianrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>


  Commit: f4d10ce8aa545266a0b6df223a7f8ea2afca18b2
      
https://github.com/qemu/qemu/commit/f4d10ce8aa545266a0b6df223a7f8ea2afca18b2
  Author: Tianrui Zhao <zhaotianrui@loongson.cn>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M hw/intc/loongarch_pch_pic.c
    M hw/loongarch/virt.c
    M include/hw/intc/loongarch_pch_msi.h
    M include/hw/intc/loongarch_pch_pic.h
    M include/hw/pci-host/ls7a.h

  Log Message:
  -----------
  hw/intc/loongarch_pch: Change default irq number of pch irq controller

Change the default irq number of pch pic to 32, so that the irq
number of pch msi is 224(256 - 32), and move the 'PCH_PIC_IRQ_NUM'
macro to pci-host/ls7a.h and add prefix 'VIRT' on it to keep standard
format.

Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230104020518.2564263-4-zhaotianrui@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>


  Commit: 0ab12aa32462817f0a53fa6f6ce4baf664ef1713
      
https://github.com/qemu/qemu/commit/0ab12aa32462817f0a53fa6f6ce4baf664ef1713
  Author: Peter Maydell <peter.maydell@linaro.org>
  Date:   2023-01-07 (Sat, 07 Jan 2023)

  Changed paths:
    M hw/intc/loongarch_pch_msi.c
    M hw/intc/loongarch_pch_pic.c
    M hw/loongarch/virt.c
    M include/hw/intc/loongarch_pch_msi.h
    M include/hw/intc/loongarch_pch_pic.h
    M include/hw/pci-host/ls7a.h

  Log Message:
  -----------
  Merge tag 'pull-loongarch-20230106' of https://gitlab.com/gaosong/qemu into 
staging

pull-loongarch-20230106

# gpg: Signature made Fri 06 Jan 2023 06:21:22 GMT
# gpg:                using RSA key B8FF1DA0D2FDCB2DA09C6C2C40A2FFF239263EDF
# gpg: Good signature from "Song Gao <m17746591750@163.com>" [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: B8FF 1DA0 D2FD CB2D A09C  6C2C 40A2 FFF2 3926 3EDF

* tag 'pull-loongarch-20230106' of https://gitlab.com/gaosong/qemu:
  hw/intc/loongarch_pch: Change default irq number of pch irq controller
  hw/intc/loongarch_pch_pic: add irq number property
  hw/intc/loongarch_pch_msi: add irq number property

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>


Compare: https://github.com/qemu/qemu/compare/4a5aaf4c29fd...0ab12aa32462



reply via email to

[Prev in Thread] Current Thread [Next in Thread]