Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge tag 'pull-loongarch-20230824' of https://gitlab.com/gaosong/qemu …
…into staging pull-loongarch-20230824 # -----BEGIN PGP SIGNATURE----- # # iLMEAAEIAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCZOcdAwAKCRBAov/yOSY+ # 3w3CA/sH8+Ay+Qnaqa2vEyuhOlFQuxHKeR7mYfsitAdzh8yMK2K8C2iBUzDzL1H3 # kZmZbCcYX7ko9RLhsuXmvfBJ7iwzY55ozSHLIjJ/VS4JVE5B0cUSZ5jjIPDqpzDs # 7TUt9qpTkwg0e+klzVREWLSWP5xopvkRvFHZM3KZZhGMphOTUQ== # =/HHZ # -----END PGP SIGNATURE----- # gpg: Signature made Thu 24 Aug 2023 05:04:03 EDT # 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-20230824' of https://gitlab.com/gaosong/qemu: (31 commits) hw/loongarch: Fix ACPI processor id off-by-one error target/loongarch: Split fcc register to fcc0-7 in gdbstub hw/intc/loongarch_pch: fix edge triggered irq handling target/loongarch: cpu: Implement get_arch_id callback target/loongarch: Add avail_IOCSR to check iocsr instructions target/loongarch: Add avail_LSX to check LSX instructions target/loongarch: Add avail_LAM to check atomic instructions target/loongarch: Add avail_LSPW to check LSPW instructions target/loongarch: Add avail_FP/FP_SP/FP_DP to check fpu instructions hw/loongarch: Remove restriction of la464 cores in the virt machine target/loongarch: Add LoongArch32 cpu la132 target/loongarch: Add avail_64 to check la64-only instructions target/loongarch: Add a check parameter to the TRANS macro target/loongarch: Sign extend results in VA32 mode target/loongarch: Truncate high 32 bits of address in VA32 mode target/loongarch: Extract set_pc() helper target/loongarch: Extract make_address_pc() helper target/loongarch: Extract make_address_i() helper target/loongarch: Extract make_address_x() helper target/loongarch: Add LA64 & VA32 to DisasContext ... Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
- Loading branch information
Showing
28 changed files
with
1,591 additions
and
1,093 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| TARGET_ARCH=loongarch64 | ||
| TARGET_BASE_ARCH=loongarch | ||
| TARGET_SUPPORTS_MTTCG=y | ||
| TARGET_XML_FILES= gdb-xml/loongarch-base64.xml gdb-xml/loongarch-fpu.xml | ||
| TARGET_XML_FILES= gdb-xml/loongarch-base32.xml gdb-xml/loongarch-base64.xml gdb-xml/loongarch-fpu.xml | ||
| TARGET_NEED_FDT=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,45 @@ | ||
| <?xml version="1.0"?> | ||
| <!-- Copyright (C) 2022 Free Software Foundation, Inc. | ||
| Copying and distribution of this file, with or without modification, | ||
| are permitted in any medium without royalty provided the copyright | ||
| notice and this notice are preserved. --> | ||
|
|
||
| <!DOCTYPE feature SYSTEM "gdb-target.dtd"> | ||
| <feature name="org.gnu.gdb.loongarch.base"> | ||
| <reg name="r0" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r1" bitsize="32" type="code_ptr" group="general"/> | ||
| <reg name="r2" bitsize="32" type="data_ptr" group="general"/> | ||
| <reg name="r3" bitsize="32" type="data_ptr" group="general"/> | ||
| <reg name="r4" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r5" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r6" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r7" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r8" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r9" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r10" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r11" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r12" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r13" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r14" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r15" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r16" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r17" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r18" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r19" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r20" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r21" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r22" bitsize="32" type="data_ptr" group="general"/> | ||
| <reg name="r23" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r24" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r25" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r26" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r27" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r28" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r29" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r30" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="r31" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="orig_a0" bitsize="32" type="uint32" group="general"/> | ||
| <reg name="pc" bitsize="32" type="code_ptr" group="general"/> | ||
| <reg name="badv" bitsize="32" type="code_ptr" group="general"/> | ||
| </feature> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.