qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tests/functional/test_mips_malta: Re-enable the check for the PCI host bridge
@ 2025-05-22  8:02 Thomas Huth
  2025-05-22 15:41 ` Alex Bennée
  2025-05-26  9:55 ` Philippe Mathieu-Daudé
  0 siblings, 2 replies; 3+ messages in thread
From: Thomas Huth @ 2025-05-22  8:02 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé, qemu-devel; +Cc: Aurelien Jarno, Jiaxun Yang

From: Thomas Huth <thuth@redhat.com>

The problem with the PCI bridge has been fixed in commit e5894fd6f411c1
("hw/pci-host/gt64120: Fix endianness handling"), so we can enable the
corresponding test again.

Signed-off-by: Thomas Huth <thuth@redhat.com>
---
 tests/functional/test_mips_malta.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/tests/functional/test_mips_malta.py b/tests/functional/test_mips_malta.py
index 89b9556f30d..30279f0ff21 100755
--- a/tests/functional/test_mips_malta.py
+++ b/tests/functional/test_mips_malta.py
@@ -80,10 +80,8 @@ def mips_check_wheezy(test, kernel_path, image_path, kernel_command_line,
     exec_command_and_wait_for_pattern(test, 'cat /proc/devices', 'usb')
     exec_command_and_wait_for_pattern(test, 'cat /proc/ioports',
                                       ' : piix4_smbus')
-    # lspci for the host bridge does not work on big endian targets:
-    # https://gitlab.com/qemu-project/qemu/-/issues/2826
-    # exec_command_and_wait_for_pattern(test, 'lspci -d 11ab:4620',
-    #                                   'GT-64120')
+    exec_command_and_wait_for_pattern(test, 'lspci -d 11ab:4620',
+                                      'GT-64120')
     exec_command_and_wait_for_pattern(test,
                                       'cat /sys/bus/i2c/devices/i2c-0/name',
                                       'SMBus PIIX4 adapter')
-- 
2.49.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] tests/functional/test_mips_malta: Re-enable the check for the PCI host bridge
  2025-05-22  8:02 [PATCH] tests/functional/test_mips_malta: Re-enable the check for the PCI host bridge Thomas Huth
@ 2025-05-22 15:41 ` Alex Bennée
  2025-05-26  9:55 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Bennée @ 2025-05-22 15:41 UTC (permalink / raw)
  To: Thomas Huth
  Cc: Philippe Mathieu-Daudé, qemu-devel, Aurelien Jarno,
	Jiaxun Yang

Thomas Huth <thuth@redhat.com> writes:

> From: Thomas Huth <thuth@redhat.com>
>
> The problem with the PCI bridge has been fixed in commit e5894fd6f411c1
> ("hw/pci-host/gt64120: Fix endianness handling"), so we can enable the
> corresponding test again.
>
> Signed-off-by: Thomas Huth <thuth@redhat.com>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] tests/functional/test_mips_malta: Re-enable the check for the PCI host bridge
  2025-05-22  8:02 [PATCH] tests/functional/test_mips_malta: Re-enable the check for the PCI host bridge Thomas Huth
  2025-05-22 15:41 ` Alex Bennée
@ 2025-05-26  9:55 ` Philippe Mathieu-Daudé
  1 sibling, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-05-26  9:55 UTC (permalink / raw)
  To: Thomas Huth, qemu-devel; +Cc: Aurelien Jarno, Jiaxun Yang, Rakesh Jeyasingh

On 22/5/25 10:02, Thomas Huth wrote:
> From: Thomas Huth <thuth@redhat.com>
> 
> The problem with the PCI bridge has been fixed in commit e5894fd6f411c1
> ("hw/pci-host/gt64120: Fix endianness handling"), so we can enable the
> corresponding test again.
> 
> Signed-off-by: Thomas Huth <thuth@redhat.com>
> ---
>   tests/functional/test_mips_malta.py | 6 ++----
>   1 file changed, 2 insertions(+), 4 deletions(-)
> 
> diff --git a/tests/functional/test_mips_malta.py b/tests/functional/test_mips_malta.py
> index 89b9556f30d..30279f0ff21 100755
> --- a/tests/functional/test_mips_malta.py
> +++ b/tests/functional/test_mips_malta.py
> @@ -80,10 +80,8 @@ def mips_check_wheezy(test, kernel_path, image_path, kernel_command_line,
>       exec_command_and_wait_for_pattern(test, 'cat /proc/devices', 'usb')
>       exec_command_and_wait_for_pattern(test, 'cat /proc/ioports',
>                                         ' : piix4_smbus')
> -    # lspci for the host bridge does not work on big endian targets:
> -    # https://gitlab.com/qemu-project/qemu/-/issues/2826
> -    # exec_command_and_wait_for_pattern(test, 'lspci -d 11ab:4620',
> -    #                                   'GT-64120')
> +    exec_command_and_wait_for_pattern(test, 'lspci -d 11ab:4620',
> +                                      'GT-64120')
>       exec_command_and_wait_for_pattern(test,
>                                         'cat /sys/bus/i2c/devices/i2c-0/name',
>                                         'SMBus PIIX4 adapter')

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-26  9:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22  8:02 [PATCH] tests/functional/test_mips_malta: Re-enable the check for the PCI host bridge Thomas Huth
2025-05-22 15:41 ` Alex Bennée
2025-05-26  9:55 ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).