hppa: Use 44 bit physical addresses for PA-8700
This is in line with the PA-8700 specification which demands 44 bits. However, this change breaks the SeaBIOS functional tests as the firmware assumes 40 bit physical addresses. Therefore, change the functional tests to instead run on an A400 which has the expected physical address space size. Reviewed-by: Helge Deller <deller@gmx.de> Signed-off-by: Anton Johansson <anjo@rev.ng> Message-ID: <20260305-hppa-c3600-v6-3-d51526e5269c@rev.ng> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Anton Johansson committed
Mar 5, 2026 at 23:54 UTC
8fefb2fd60203ee8f3bbd1f84bdfd36da7f78214
2 files changed
+3
-3
target/hppa/cpu.c
+1
-1
@@ -349,7 +349,7 @@ static const TypeInfo hppa_cpu_type_infos[] = {
349
.name = TYPE_HPPA_CPU_PA_8700,
350
.parent = TYPE_HPPA_CPU,
351
.class_data = &(const HPPACPUDef) {
352
- .phys_addr_bits = 40,
352
+ .phys_addr_bits = 44,
353
.is_pa20 = true,
354
},
355
},
tests/functional/hppa/test_seabios.py
+2
-2
@@ -12,7 +12,7 @@ from qemu_test import wait_for_console_pattern
12
class HppaSeabios(QemuSystemTest):
13
14
timeout = 5
15
- MACH_BITS = {'B160L': 32, 'C3700': 64}
15
+ MACH_BITS = {'B160L': 32, 'A400': 64}
16
17
def boot_seabios(self):
18
mach = self.machine
@@ -28,7 +28,7 @@ class HppaSeabios(QemuSystemTest):
28
self.boot_seabios()
29
30
def test_hppa_64(self):
31
- self.set_machine('C3700')
31
+ self.set_machine('A400')
32
self.boot_seabios()
33
34
if __name__ == '__main__':