[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] a09a34: hw/loongarch: Move boot fucntions to
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] a09a34: hw/loongarch: Move boot fucntions to boot.c |
Date: |
Thu, 07 Mar 2024 07:08:17 -0800 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: a09a34be1214285b1fea80013b4185b9432b44b8
https://github.com/qemu/qemu/commit/a09a34be1214285b1fea80013b4185b9432b44b8
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A hw/loongarch/boot.c
M hw/loongarch/meson.build
M hw/loongarch/virt.c
A include/hw/loongarch/boot.h
M include/hw/loongarch/virt.h
Log Message:
-----------
hw/loongarch: Move boot fucntions to boot.c
Move some boot functions to boot.c and struct
loongarch_boot_info into struct LoongArchMachineState.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-2-gaosong@loongson.cn>
Commit: 8fb517cf3f75b89ee5cd358fb212e121c79e6b53
https://github.com/qemu/qemu/commit/8fb517cf3f75b89ee5cd358fb212e121c79e6b53
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/boot.c
Log Message:
-----------
hw/loongarch: Add load initrd
we load initrd ramdisk after kernel_high address
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-3-gaosong@loongson.cn>
Commit: 667e31a56f0f0175d6e96b10bdda393ebfff6f14
https://github.com/qemu/qemu/commit/667e31a56f0f0175d6e96b10bdda393ebfff6f14
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/boot.c
Log Message:
-----------
hw/loongarch: Add slave cpu boot_code
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-4-gaosong@loongson.cn>
Commit: c1aa525df6551ae7bc3c9d2159fccc7f444f9d37
https://github.com/qemu/qemu/commit/c1aa525df6551ae7bc3c9d2159fccc7f444f9d37
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/boot.c
M include/hw/loongarch/virt.h
M target/loongarch/cpu.h
Log Message:
-----------
hw/loongarch: Add init_cmdline
Add init_cmline and set boot_info->a0, a1
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-5-gaosong@loongson.cn>
Commit: 0e771e7d622f9385959ebc8d37ebb4e658abfbc7
https://github.com/qemu/qemu/commit/0e771e7d622f9385959ebc8d37ebb4e658abfbc7
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/boot.c
M include/hw/loongarch/boot.h
Log Message:
-----------
hw/loongarch: Init efi_system_table
Add init_systab and set boot_info->a2
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-6-gaosong@loongson.cn>
Commit: b2c2e44a94181525cb24c5348511c5199b7d4cdf
https://github.com/qemu/qemu/commit/b2c2e44a94181525cb24c5348511c5199b7d4cdf
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/boot.c
M hw/loongarch/virt.c
M include/hw/loongarch/boot.h
M include/hw/loongarch/virt.h
Log Message:
-----------
hw/loongarch: Init efi_boot_memmap table
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-7-gaosong@loongson.cn>
Commit: 8922da913f4935779d54cb055d216b1e080c70a0
https://github.com/qemu/qemu/commit/8922da913f4935779d54cb055d216b1e080c70a0
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/boot.c
M include/hw/loongarch/boot.h
Log Message:
-----------
hw/loongarch: Init efi_initrd table
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-8-gaosong@loongson.cn>
Commit: 4f0a40e960c64ef8e2bae184bf4e6aaf97e02c57
https://github.com/qemu/qemu/commit/4f0a40e960c64ef8e2bae184bf4e6aaf97e02c57
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/boot.c
M include/hw/loongarch/boot.h
Log Message:
-----------
hw/loongarch: Init efi_fdt table
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-9-gaosong@loongson.cn>
Commit: 92d56e71bd6d9f82de96c4c5559ea392595c641d
https://github.com/qemu/qemu/commit/92d56e71bd6d9f82de96c4c5559ea392595c641d
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch: Fix fdt memory node wrong 'reg'
The right fdt memory node like [1], not [2]
[1]
memory@0 {
device_type = "memory";
reg = <0x00 0x00 0x00 0x10000000>;
};
[2]
memory@0 {
device_type = "memory";
reg = <0x02 0x00 0x02 0x10000000>;
};
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-10-gaosong@loongson.cn>
Commit: e2f8f37983bc56050976cc4128008be73ff27c5d
https://github.com/qemu/qemu/commit/e2f8f37983bc56050976cc4128008be73ff27c5d
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch: fdt adds cpu interrupt controller node
fdt adds cpu interrupt controller node,
we use 'loongson,cpu-interrupt-controller'.
See:
https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongarch-cpu.c
https://lore.kernel.org/r/20221114113824.1880-2-liupeibao@loongson.cn
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-11-gaosong@loongson.cn>
Commit: f9dc385fb6d3e22f541fe1f2457399f1c9898986
https://github.com/qemu/qemu/commit/f9dc385fb6d3e22f541fe1f2457399f1c9898986
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
M include/hw/intc/loongarch_extioi.h
Log Message:
-----------
hw/loongarch: fdt adds Extend I/O Interrupt Controller
fdt adds Extend I/O Interrupt Controller,
we use 'loongson,ls2k2000-eiointc'.
See:
https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongson-eiointc.c
https://lore.kernel.org/r/764e02d924094580ac0f1d15535f4b98308705c6.1683279769.git.zhoubinbin@loongson.cn
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-12-gaosong@loongson.cn>
Commit: 7acfed63cf6d916efcdb294eef805a579173aa70
https://github.com/qemu/qemu/commit/7acfed63cf6d916efcdb294eef805a579173aa70
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
M include/hw/pci-host/ls7a.h
Log Message:
-----------
hw/loongarch: fdt adds pch_pic Controller
fdt adds pch pic controller, we use 'loongson,pch-pic-1.0'
See:
https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongson-pch-pic.c
https://lore.kernel.org/r/20200528152757.1028711-4-jiaxun.yang@flygoat.com
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-13-gaosong@loongson.cn>
Commit: d3f0f3485c0f7fe9d624d4d8beb45596ea137e22
https://github.com/qemu/qemu/commit/d3f0f3485c0f7fe9d624d4d8beb45596ea137e22
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
M include/hw/pci-host/ls7a.h
Log Message:
-----------
hw/loongarch: fdt adds pch_msi Controller
fdt adds pch msi controller, we use 'loongson,pch-msi-1.0'.
See:
https://github.com/torvalds/linux/blob/v6.7/drivers/irqchip/irq-loongson-pch-msi.c
https://lore.kernel.org/r/20200528152757.1028711-6-jiaxun.yang@flygoat.com
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-14-gaosong@loongson.cn>
Commit: f57ec0fa6bae6587bc7898d2457f8207eff98a08
https://github.com/qemu/qemu/commit/f57ec0fa6bae6587bc7898d2457f8207eff98a08
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch: fdt adds pcie irq_map node
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-15-gaosong@loongson.cn>
Commit: 9a4e58015e2acffc464b212903ff9ff3bc61f2de
https://github.com/qemu/qemu/commit/9a4e58015e2acffc464b212903ff9ff3bc61f2de
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch: fdt remove unused irqchip node
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-16-gaosong@loongson.cn>
Commit: 9b48ce2dd9bcd6846e9b7fecf67687e491c6c7c2
https://github.com/qemu/qemu/commit/9b48ce2dd9bcd6846e9b7fecf67687e491c6c7c2
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch: Add cells missing from uart node
uart node need interrupts and interrupt-parent cells.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-17-gaosong@loongson.cn>
Commit: 4dc2edfd6f8abfc38f0ba110502790aa5051b1b5
https://github.com/qemu/qemu/commit/4dc2edfd6f8abfc38f0ba110502790aa5051b1b5
Author: Song Gao <gaosong@loongson.cn>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M hw/loongarch/virt.c
Log Message:
-----------
hw/loongarch: Add cells missing from rtc node
rtc node need interrupts and interrupt-parent cells.
Signed-off-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20240301093839.663947-18-gaosong@loongson.cn>
Commit: 8480dd8685b306d8a7d371ba03d9ca875040be31
https://github.com/qemu/qemu/commit/8480dd8685b306d8a7d371ba03d9ca875040be31
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A hw/loongarch/boot.c
M hw/loongarch/meson.build
M hw/loongarch/virt.c
M include/hw/intc/loongarch_extioi.h
A include/hw/loongarch/boot.h
M include/hw/loongarch/virt.h
M include/hw/pci-host/ls7a.h
M target/loongarch/cpu.h
Log Message:
-----------
Merge tag 'pull-loongarch-20240307' of https://gitlab.com/gaosong/qemu into
staging
pull-loongarch-20240307
# -----BEGIN PGP SIGNATURE-----
#
# iLMEAAEKAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZenQBQAKCRBAov/yOSY+
# 355iBACyjomi43ofCeERRb45suaZPsAbHCZc7+PvyQPE5dMRiURkQL0i0ezxwXRZ
# 1SK+yg8g+Q2R6nuqcdxFdRPTNvhdH92MI9R/ir1FLnTf0Qiw9kpHYxVeLfmn0GGO
# /QHABDUKljV5Tga0rh8Lj9SiuQkiPtFr0gWQYeNwlVPFUdyJxw==
# =kaT+
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu 07 Mar 2024 14:32:37 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-20240307' of https://gitlab.com/gaosong/qemu:
hw/loongarch: Add cells missing from rtc node
hw/loongarch: Add cells missing from uart node
hw/loongarch: fdt remove unused irqchip node
hw/loongarch: fdt adds pcie irq_map node
hw/loongarch: fdt adds pch_msi Controller
hw/loongarch: fdt adds pch_pic Controller
hw/loongarch: fdt adds Extend I/O Interrupt Controller
hw/loongarch: fdt adds cpu interrupt controller node
hw/loongarch: Fix fdt memory node wrong 'reg'
hw/loongarch: Init efi_fdt table
hw/loongarch: Init efi_initrd table
hw/loongarch: Init efi_boot_memmap table
hw/loongarch: Init efi_system_table
hw/loongarch: Add init_cmdline
hw/loongarch: Add slave cpu boot_code
hw/loongarch: Add load initrd
hw/loongarch: Move boot fucntions to boot.c
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/8f6330a807f2...8480dd8685b3
To unsubscribe from these emails, change your notification settings at
https://github.com/qemu/qemu/settings/notifications
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] a09a34: hw/loongarch: Move boot fucntions to boot.c,
Peter Maydell <=