[PATCH] hw/mips/fuloong2e: Fix vt82c686b idsel

Bernhard Beschow posted 1 patch 1 week, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250914185526.3622-1-shentey@gmail.com
Maintainers: Huacai Chen <chenhuacai@kernel.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Jiaxun Yang <jiaxun.yang@flygoat.com>
hw/mips/fuloong2e.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] hw/mips/fuloong2e: Fix vt82c686b idsel
Posted by Bernhard Beschow 1 week, 6 days ago
PMON 2000 accesses the vt82c686b southbridge under device 17, not 5.
Fix the FULOONG2E_VIA_SLOT define to reflect this.

Signed-off-by: Bernhard Beschow <shentey@gmail.com>

--

Makes PMON 2000 work in combination with
https://lore.kernel.org/qemu-devel/20250508-bonito-v1-0-4f9f27733028@flygoat.com/
`qemu-system-mips64el -M fuloong2e -bios pmon-2edev.bin`.
---
 hw/mips/fuloong2e.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/mips/fuloong2e.c b/hw/mips/fuloong2e.c
index 2a8507b8b0..a6bf524b56 100644
--- a/hw/mips/fuloong2e.c
+++ b/hw/mips/fuloong2e.c
@@ -59,7 +59,7 @@
 #define FULOONG_BIOSNAME "pmon_2e.bin"
 
 /* PCI SLOT in Fuloong 2e */
-#define FULOONG2E_VIA_SLOT        5
+#define FULOONG2E_VIA_SLOT        17
 #define FULOONG2E_ATI_SLOT        6
 #define FULOONG2E_RTL8139_SLOT    7
 
-- 
2.51.0
Re: [PATCH] hw/mips/fuloong2e: Fix vt82c686b idsel
Posted by Bernhard Beschow 3 days, 21 hours ago

Am 14. September 2025 18:55:26 UTC schrieb Bernhard Beschow <shentey@gmail.com>:
>PMON 2000 accesses the vt82c686b southbridge under device 17, not 5.
>Fix the FULOONG2E_VIA_SLOT define to reflect this.
>
>Signed-off-by: Bernhard Beschow <shentey@gmail.com>
>
>--
>
>Makes PMON 2000 work in combination with
>https://lore.kernel.org/qemu-devel/20250508-bonito-v1-0-4f9f27733028@flygoat.com/
>`qemu-system-mips64el -M fuloong2e -bios pmon-2edev.bin`.

Ping

>---
> hw/mips/fuloong2e.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/hw/mips/fuloong2e.c b/hw/mips/fuloong2e.c
>index 2a8507b8b0..a6bf524b56 100644
>--- a/hw/mips/fuloong2e.c
>+++ b/hw/mips/fuloong2e.c
>@@ -59,7 +59,7 @@
> #define FULOONG_BIOSNAME "pmon_2e.bin"
> 
> /* PCI SLOT in Fuloong 2e */
>-#define FULOONG2E_VIA_SLOT        5
>+#define FULOONG2E_VIA_SLOT        17
> #define FULOONG2E_ATI_SLOT        6
> #define FULOONG2E_RTL8139_SLOT    7
>