[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 37/44] target/mips: enable GINVx support for I6400 and I6500
From: |
Philippe Mathieu-Daudé |
Subject: |
[PULL 37/44] target/mips: enable GINVx support for I6400 and I6500 |
Date: |
Tue, 11 Jul 2023 00:26:04 +0200 |
From: Marcin Nowakowski <marcin.nowakowski@fungible.com>
GINVI and GINVT operations are supported on MIPS I6400 and I6500 cores,
so indicate that properly in CP0.Config5 register bits [16:15].
Cc: qemu-stable@nongnu.org
Signed-off-by: Marcin Nowakowski <marcin.nowakowski@fungible.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230630072806.3093704-1-marcin.nowakowski@fungible.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
target/mips/cpu-defs.c.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/mips/cpu-defs.c.inc b/target/mips/cpu-defs.c.inc
index 05d9ec7125..03185d9aa0 100644
--- a/target/mips/cpu-defs.c.inc
+++ b/target/mips/cpu-defs.c.inc
@@ -755,7 +755,7 @@ const mips_def_t mips_defs[] =
.CP0_Config4 = MIPS_CONFIG4 | (1U << CP0C4_M) | (3 << CP0C4_IE) |
(1 << CP0C4_AE) | (0xfc << CP0C4_KScrExist),
.CP0_Config5 = MIPS_CONFIG5 | (1 << CP0C5_XNP) | (1 << CP0C5_VP) |
- (1 << CP0C5_LLB) | (1 << CP0C5_MRP),
+ (1 << CP0C5_LLB) | (1 << CP0C5_MRP) | (3 << CP0C5_GI),
.CP0_Config5_rw_bitmask = (1 << CP0C5_MSAEn) | (1 << CP0C5_SBRI) |
(1 << CP0C5_FRE) | (1 << CP0C5_UFE),
.CP0_LLAddr_rw_bitmask = 0,
@@ -795,7 +795,7 @@ const mips_def_t mips_defs[] =
.CP0_Config4 = MIPS_CONFIG4 | (1U << CP0C4_M) | (3 << CP0C4_IE) |
(1 << CP0C4_AE) | (0xfc << CP0C4_KScrExist),
.CP0_Config5 = MIPS_CONFIG5 | (1 << CP0C5_XNP) | (1 << CP0C5_VP) |
- (1 << CP0C5_LLB) | (1 << CP0C5_MRP),
+ (1 << CP0C5_LLB) | (1 << CP0C5_MRP) | (3 << CP0C5_GI),
.CP0_Config5_rw_bitmask = (1 << CP0C5_MSAEn) | (1 << CP0C5_SBRI) |
(1 << CP0C5_FRE) | (1 << CP0C5_UFE),
.CP0_LLAddr_rw_bitmask = 0,
--
2.38.1
- [PULL 27/44] target/mips/mxu: Add D32SARL D32SARW instructions, (continued)
- [PULL 27/44] target/mips/mxu: Add D32SARL D32SARW instructions, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 28/44] target/mips/mxu: Add D32SLL D32SLR D32SAR instructions, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 29/44] target/mips/mxu: Add Q16SLL Q16SLR Q16SAR instructions, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 30/44] target/mips/mxu: Add D32/Q16- SLLV/SLRV/SARV instructions, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 31/44] target/mips/mxu: Add S32/D16/Q8- MOVZ/MOVN instructions, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 32/44] target/mips/mxu: Add Q8MAC Q8MACSU instructions, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 33/44] target/mips/mxu: Add Q16SCOP instruction, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 34/44] target/mips/mxu: Add Q8MADL instruction, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 35/44] target/mips/mxu: Add S32SFL instruction, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 36/44] target/mips/mxu: Add Q8SAD instruction, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 37/44] target/mips: enable GINVx support for I6400 and I6500,
Philippe Mathieu-Daudé <=
- [PULL 38/44] hw/ide/pci: Expose legacy interrupts as named GPIOs, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 39/44] hw/ide/via: Wire up IDE legacy interrupts in host device, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 40/44] hw/isa/vt82c686: Remove via_isa_set_irq(), Philippe Mathieu-Daudé, 2023/07/10
- [PULL 41/44] hw/ide: Extract IDEBus assignment into bmdma_init(), Philippe Mathieu-Daudé, 2023/07/10
- [PULL 44/44] hw/ide/piix: Move registration of VMStateDescription to DeviceClass, Philippe Mathieu-Daudé, 2023/07/10
- [PULL 42/44] hw/ide: Extract bmdma_status_writeb(), Philippe Mathieu-Daudé, 2023/07/10
- [PULL 43/44] hw/ide/pci: Replace some magic numbers by constants, Philippe Mathieu-Daudé, 2023/07/10
- Re: [PULL 00/44] MIPS patches for 2023-07-10, Richard Henderson, 2023/07/11