Branch: refs/heads/staging Home: https://github.com/qemu/qemu Commit: b7084b5067b617fa193cb8c93273b7d8c2f1818f https://github.com/qemu/qemu/commit/b7084b5067b617fa193cb8c93273b7d8c2f1818f Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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 functions to boot.c Move some boot functions to boot.c and struct loongarch_boot_info into struct LoongArchMachineState. Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Message-Id: <20240426091551.2397867-2-gaos...@loongson.cn> Commit: 56cf5871f2fe16c9bd1c58a10de003e6a74d3b1f https://github.com/qemu/qemu/commit/56cf5871f2fe16c9bd1c58a10de003e6a74d3b1f Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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 <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-3-gaos...@loongson.cn> Commit: d17ddab92cd60f77a12dedfaddcb9ed8b77ff043 https://github.com/qemu/qemu/commit/d17ddab92cd60f77a12dedfaddcb9ed8b77ff043 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 2024) Changed paths: M hw/loongarch/boot.c Log Message: ----------- hw/loongarch: Add slave cpu boot_code Load the slave CPU boot code at pflash0 and set the slave CPU elf_address to VIRT_FLASH0_BASE. Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-4-gaos...@loongson.cn> Commit: bafbdb7f1a196ac43f05074270024c7772773919 https://github.com/qemu/qemu/commit/bafbdb7f1a196ac43f05074270024c7772773919 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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 <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-5-gaos...@loongson.cn> Commit: a85f06f687dc20b705aab954bd30d956fb2e9493 https://github.com/qemu/qemu/commit/a85f06f687dc20b705aab954bd30d956fb2e9493 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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 <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-6-gaos...@loongson.cn> Commit: c7f312c889052f87856f52f6900f091915d9261c https://github.com/qemu/qemu/commit/c7f312c889052f87856f52f6900f091915d9261c Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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 The efi_system_table adds a efi_boot_memmap configuration table. Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-7-gaos...@loongson.cn> Commit: 9af253ee98a0b5976549b7d7a7572ababf1fabe6 https://github.com/qemu/qemu/commit/9af253ee98a0b5976549b7d7a7572ababf1fabe6 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 2024) Changed paths: M hw/loongarch/boot.c M include/hw/loongarch/boot.h Log Message: ----------- hw/loongarch: Init efi_initrd table The efi_system_table adds a efi_initrd configuration table. Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-8-gaos...@loongson.cn> Commit: 02585ed92bfaf4e38f7c2cf15ce03b88cbc31b9c https://github.com/qemu/qemu/commit/02585ed92bfaf4e38f7c2cf15ce03b88cbc31b9c Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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_fdt table The efi_system_table adds a efi_fdt configuration table. Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-9-gaos...@loongson.cn> Commit: 3b51b4b80293c40358ab49eb8f49647b4943786f https://github.com/qemu/qemu/commit/3b51b4b80293c40358ab49eb8f49647b4943786f Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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 <maob...@loongson.cn> Signed-off-by: Song Gao <gaos...@loongson.cn> Message-Id: <20240426091551.2397867-10-gaos...@loongson.cn> Commit: f9b7365efb7489a38e4219331f0eb2b651c82d76 https://github.com/qemu/qemu/commit/f9b7365efb7489a38e4219331f0eb2b651c82d76 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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-liupei...@loongson.cn Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-11-gaos...@loongson.cn> Commit: 0bee1f0d63aae23c9cb97b089e23dcc3a29aa326 https://github.com/qemu/qemu/commit/0bee1f0d63aae23c9cb97b089e23dcc3a29aa326 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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.zhoubin...@loongson.cn Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-12-gaos...@loongson.cn> Commit: a3832646daf7d1820a5249e2455c819ad066fe6c https://github.com/qemu/qemu/commit/a3832646daf7d1820a5249e2455c819ad066fe6c Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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.y...@flygoat.com Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-13-gaos...@loongson.cn> Commit: 6458c00e85adbd34a58ada89b81195f583dd0c17 https://github.com/qemu/qemu/commit/6458c00e85adbd34a58ada89b81195f583dd0c17 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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.y...@flygoat.com Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-14-gaos...@loongson.cn> Commit: 6bac892ebc1843919eece434ff13d008f2b51b70 https://github.com/qemu/qemu/commit/6bac892ebc1843919eece434ff13d008f2b51b70 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 2024) Changed paths: M hw/loongarch/virt.c Log Message: ----------- hw/loongarch: fdt adds pcie irq_map node This patch adds pcie irq_map node for FDT. Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-15-gaos...@loongson.cn> Commit: ecae5f8084d70be114adb43d5bde62c89bec9a4d https://github.com/qemu/qemu/commit/ecae5f8084d70be114adb43d5bde62c89bec9a4d Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 2024) Changed paths: M hw/loongarch/virt.c Log Message: ----------- hw/loongarch: fdt remove unused irqchip node This patch removes the unused fdt irqchip node. Signed-off-by: Song Gao <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-16-gaos...@loongson.cn> Commit: f6ce48d574178f205645c51f131c6db764688342 https://github.com/qemu/qemu/commit/f6ce48d574178f205645c51f131c6db764688342 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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 <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-17-gaos...@loongson.cn> Commit: f3c05d222dc9ed3cd10383302ce51ab6cee06a97 https://github.com/qemu/qemu/commit/f3c05d222dc9ed3cd10383302ce51ab6cee06a97 Author: Song Gao <gaos...@loongson.cn> Date: 2024-04-28 (Sun, 28 Apr 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 <gaos...@loongson.cn> Reviewed-by: Bibo Mao <maob...@loongson.cn> Message-Id: <20240426091551.2397867-18-gaos...@loongson.cn> Commit: b93e2e34d53160926991d0764f1d2f7f03935ce0 https://github.com/qemu/qemu/commit/b93e2e34d53160926991d0764f1d2f7f03935ce0 Author: Richard Henderson <richard.hender...@linaro.org> Date: 2024-04-28 (Sun, 28 Apr 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-20240428' of https://gitlab.com/gaosong/qemu into staging Add boot LoongArch elf kernel with FDT # -----BEGIN PGP SIGNATURE----- # # iLMEAAEKAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZi4PygAKCRBAov/yOSY+ # 3zawBACxXN/3Ifz+v8xNMCB1A1YuBQI4VtVtmmZxUUchia1zEFfnk78PZagrWrme # VcYAqVgm9ll5QQvE9+ihmVYuqXli9b81jk4JF3zJNmxzHjm/iDYoDp6OUrYu1sNO # +4bueDkcgyl6b5V6d30MF94OrSef9pdw5rN1lVJGO76mz64h6g== # =7mMW # -----END PGP SIGNATURE----- # gpg: Signature made Sun 28 Apr 2024 01:58:50 AM PDT # gpg: using RSA key B8FF1DA0D2FDCB2DA09C6C2C40A2FFF239263EDF # gpg: Good signature from "Song Gao <m17746591...@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-20240428' 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 functions to boot.c Signed-off-by: Richard Henderson <richard.hender...@linaro.org> Compare: https://github.com/qemu/qemu/compare/fd87be1dada5...b93e2e34d531 To unsubscribe from these emails, change your notification settings at https://github.com/qemu/qemu/settings/notifications