All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>
To: Brian Cain <brian.cain@oss.qualcomm.com>, qemu-devel@nongnu.org
Cc: Laurent Vivier <lvivier@redhat.com>, Helge Deller <deller@gmx.de>,
	Pierrick Bouvier <pierrick.bouvier@oss.qualcomm.com>,
	Fabiano Rosas <farosas@suse.de>, Anton Johansson <anjo@rev.ng>,
	Alessandro Di Federico <ale@rev.ng>,
	Paolo Bonzini <pbonzini@redhat.com>,
	Laurent Vivier <laurent@vivier.eu>
Subject: Re: [PATCH 14/14] tests/functional/hexagon: boot DSP firmware
Date: Tue, 27 Oct 2026 05:29:44 +0100	[thread overview]
Message-ID: <64a45237-3f0b-4eeb-b2d4-cc1c90024526@oss.qualcomm.com> (raw)
In-Reply-To: <66ae1e1c-edba-450d-9fb1-9ad8cf710dd0@oss.qualcomm.com>

On 19/10/26 17:22, Brian Cain wrote:
> 
> On 10/19/2026 8:51 AM, Brian Cain wrote:
>>
>> On 10/19/2026 8:47 AM, Philippe Mathieu-Daudé wrote:
>>> On 19/10/26 07:52, Brian Cain wrote:
>>>> Download the firmware and run it on the corresponding DSP machine.
>>>>
>>>> The images are third-party binaries, so the tests run only when 
>>>> untrusted
>>>> code is allowed.
>>>>
>>>> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
>>>> ---
>>>>   tests/functional/hexagon/meson.build          |  2 +
>>>>   .../hexagon/test_qcom_dsp_firmware.py         | 89 +++++++++++++++ 
>>>> ++++
>>>>   2 files changed, 91 insertions(+)
>>>>   create mode 100755 tests/functional/hexagon/test_qcom_dsp_firmware.py
>>>
>>>
>>>> diff --git a/tests/functional/hexagon/test_qcom_dsp_firmware.py b/ 
>>>> tests/functional/hexagon/test_qcom_dsp_firmware.py
>>>> new file mode 100755
>>>> index 00000000000..86a0628d9f3
>>>> --- /dev/null
>>>> +++ b/tests/functional/hexagon/test_qcom_dsp_firmware.py
>>>> @@ -0,0 +1,89 @@
>>>> +#!/usr/bin/env python3
>>>> +#
>>>> +# Boot the production DSP firmware on the Qualcomm DSP machines
>>>> +#
>>>> +# Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>>>> +#
>>>> +# SPDX-License-Identifier: GPL-2.0-or-later
>>>> +
>>>> +from qemu_test import QemuSystemTest, Asset, skipUntrustedTest
>>>> +from qemu_test import wait_for_console_pattern
>>>> +
>>>> +
>>>> +class QcomDspFirmwareTest(QemuSystemTest):
>>>> +    """Base class: the firmware is the ELF that -kernel starts 
>>>> running."""
>>>> +
>>>> +    REPO = 'https://gitlab.com/kernel-firmware/linux-firmware/-/ 
>>>> raw/' \
>>>> +           'd947e4e8e314e9254a1242dc1a5d9cede2cce33d/qcom'
>>>
>>> 404: Page not found
>>
>>
>> Huh.  Maybe I picked a funny commit and somehow the asset cache fooled 
>> me?  Will take a closer look.
> 
> Disregard: all is well.  A "wget" of one of these assets works for me. 
> If I paste the URL into chrome, it downloads the asset.
> 
> But if I browse to https://gitlab.com/kernel-firmware/linux-firmware/-/ 
> raw/d947e4e8e314e9254a1242dc1a5d9cede2cce33d/qcom I do get a 404.  I 
> think this is the expected behavior, though. That "raw" mode for the URL 
> expects a path to a file object that git could serve up.
> 
> If you browse to https://gitlab.com/kernel-firmware/linux-firmware/-/ 
> tree/d947e4e8e314e9254a1242dc1a5d9cede2cce33d/qcom you can see the 
> directory listing that you might have expected.

Oops sorry, I indeed checked a wrong URL 🤦🏼‍♂️

> If you apply these 
> changes to master I would expect `check-functional` will download and 
> run them (w/the untrusted code bit set).
> 
> The sha in the URL is inconvenient and unclear so in v2 I will switch to 
> a recent tag instead.
> 
> 
>>
>>
>> -Brian
> 



  reply	other threads:[~2026-10-27  4:30 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-19  5:52 [PATCH 00/14] Hexagon: Add real SoC-style machines Brian Cain
2026-10-19  5:52 ` [PATCH 01/14] Hexagon: add v85 CPU model Brian Cain
2026-10-19 22:32   ` Anton Johansson via qemu development
2026-10-19 23:58     ` Brian Cain
2026-10-19  5:52 ` [PATCH 02/14] hw/hexagon: let a machine place its DDR Brian Cain
2026-10-19 21:40   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 03/14] hw/hexagon: introduce hex-board abstraction Brian Cain
2026-10-19 21:42   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 04/14] hw/hexagon: convert virt board to hex-board Brian Cain
2026-10-19 21:40   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 05/14] hw/misc: add the QDSP6SS PLL, RCG Brian Cain
2026-10-19 21:51   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 06/14] hw/hexagon: add the QCS6490 CDSP machine Brian Cain
2026-10-19 22:15   ` Pierrick Bouvier
2026-10-20 11:28   ` Anton Johansson via qemu development
2026-10-19  5:52 ` [PATCH 07/14] hw/hexagon: add the SA8775P " Brian Cain
2026-10-19 22:15   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 08/14] hw/hexagon: add the SC8480XP NSP0 machine Brian Cain
2026-10-19 22:15   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 09/14] hw/hexagon: add the SA8797P " Brian Cain
2026-10-19 22:15   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 10/14] hw/hexagon: add the SM8975 NSP machine Brian Cain
2026-10-19 22:15   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 11/14] hw/hexagon: add v79NA1 machine Brian Cain
2026-10-19 22:16   ` Pierrick Bouvier
2026-10-19  5:52 ` [PATCH 12/14] hw/hexagon: add subsystem-base property Brian Cain
2026-10-19 22:16   ` Pierrick Bouvier
2026-10-20 14:53   ` Anton Johansson via qemu development
2026-10-19  5:52 ` [PATCH 13/14] target/hexagon: fix the allocframe framekey Brian Cain
2026-10-19  5:52 ` [PATCH 14/14] tests/functional/hexagon: boot DSP firmware Brian Cain
2026-10-19 13:47   ` Philippe Mathieu-Daudé
2026-10-19 13:51     ` Brian Cain
2026-10-19 15:22       ` Brian Cain
2026-10-27  4:29         ` Philippe Mathieu-Daudé [this message]
2026-10-19 21:50     ` Pierrick Bouvier
2026-10-19 22:03       ` Brian Cain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=64a45237-3f0b-4eeb-b2d4-cc1c90024526@oss.qualcomm.com \
    --to=philmd@oss.qualcomm.com \
    --cc=ale@rev.ng \
    --cc=anjo@rev.ng \
    --cc=brian.cain@oss.qualcomm.com \
    --cc=deller@gmx.de \
    --cc=farosas@suse.de \
    --cc=laurent@vivier.eu \
    --cc=lvivier@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=pierrick.bouvier@oss.qualcomm.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.