From: Fabiano Rosas <farosas@suse.de>
To: Brian Cain <brian.cain@oss.qualcomm.com>, qemu-devel@nongnu.org
Cc: brian.cain@oss.qualcomm.com, philmd@linaro.org,
ltaylorsimpson@gmail.com, matheus.bernardino@oss.qualcomm.com,
marco.liebel@oss.qualcomm.com, quic_mburton@quicinc.com,
sid.manning@oss.qualcomm.com, ale@rev.ng, anjo@rev.ng,
Laurent Vivier <lvivier@redhat.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: Re: [PATCH v3 9/9] tests/qtest: Add hexagon boot-serial-test
Date: Thu, 12 Mar 2026 11:43:51 -0300 [thread overview]
Message-ID: <873425yuoo.fsf@suse.de> (raw)
In-Reply-To: <20260311042019.1085030-10-brian.cain@oss.qualcomm.com>
Brian Cain <brian.cain@oss.qualcomm.com> writes:
> Add boot-serial-test support for Hexagon architecture using the virt
> machine.
>
> Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
> ---
> tests/qtest/boot-serial-test.c | 8 ++++++++
> tests/qtest/meson.build | 2 ++
> 2 files changed, 10 insertions(+)
>
> diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c
> index bcd0a9c50e7..37fee7a91c4 100644
> --- a/tests/qtest/boot-serial-test.c
> +++ b/tests/qtest/boot-serial-test.c
> @@ -142,6 +142,13 @@ static const uint8_t kernel_stm32vldiscovery[] = {
> 0x04, 0x38, 0x01, 0x40 /* 0x40013804 = USART1 TXD */
> };
>
> +static const uint8_t bios_hexagon[] = {
> + 0x00, 0x40, 0x00, 0x01, /* immext(#0x10000000) */
> + 0x00, 0xc0, 0x00, 0x78, /* r0 = ##0x10000000 */
> + 0x54, 0xc0, 0x00, 0x3c, /* memb(r0+#0) = #0x54 Write 'T' */
> + 0xf8, 0xff, 0xff, 0x59 /* jump 0x0 ; Loop back to start */
> +};
> +
> typedef struct testdef {
> const char *arch; /* Target architecture */
> const char *machine; /* Name of the machine */
> @@ -194,6 +201,7 @@ static const testdef_t tests[] = {
> { "arm", "microbit", "", "T", sizeof(kernel_nrf51), kernel_nrf51 },
> { "arm", "stm32vldiscovery", "", "T",
> sizeof(kernel_stm32vldiscovery), kernel_stm32vldiscovery },
> + { "hexagon", "virt", "", "TT", sizeof(bios_hexagon), NULL, bios_hexagon },
>
> { NULL }
> };
> diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build
> index ba9f59d2f8f..d83cb05cc8c 100644
> --- a/tests/qtest/meson.build
> +++ b/tests/qtest/meson.build
> @@ -290,6 +290,8 @@ qtests_riscv64 = ['riscv-csr-test'] + \
> config_all_devices.has_key('CONFIG_RISCV_IOMMU') ?
> ['iommu-riscv-test'] : [])
>
> +qtests_hexagon = ['boot-serial-test']
> +
> qos_test_ss = ss.source_set()
> qos_test_ss.add(
> 'ac97-test.c',
Reviewed-by: Fabiano Rosas <farosas@suse.de>
prev parent reply other threads:[~2026-03-12 14:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 4:20 [PATCH v3 0/9] Hexagon system emulation - Part 3/3 Brian Cain
2026-03-11 4:20 ` [PATCH v3 1/9] hw/hexagon: Add globalreg model Brian Cain
2026-03-16 17:58 ` Taylor Simpson
2026-04-07 21:35 ` Brian Cain
2026-03-11 4:20 ` [PATCH v3 2/9] hw/hexagon: Add global register tracing Brian Cain
2026-03-11 17:52 ` Philippe Mathieu-Daudé
2026-03-16 18:02 ` Taylor Simpson
2026-03-11 4:20 ` [PATCH v3 3/9] hw/hexagon: Add machine configs for sysemu Brian Cain
2026-03-11 4:20 ` [PATCH v3 4/9] hw/hexagon: Add v68, sa8775-cdsp0 defs Brian Cain
2026-03-11 17:54 ` Philippe Mathieu-Daudé
2026-03-11 21:51 ` Brian Cain
2026-03-11 4:20 ` [PATCH v3 5/9] hw/hexagon: Add support for cfgbase Brian Cain
2026-03-11 4:20 ` [PATCH v3 6/9] hw/hexagon: Modify "Standalone" symbols Brian Cain
2026-03-11 4:20 ` [PATCH v3 7/9] target/hexagon: add build config for softmmu Brian Cain
2026-03-11 17:57 ` Philippe Mathieu-Daudé
2026-03-18 13:14 ` Philippe Mathieu-Daudé
2026-03-11 4:20 ` [PATCH v3 8/9] hw/hexagon: Define hexagon "virt" machine Brian Cain
2026-03-11 4:20 ` [PATCH v3 9/9] tests/qtest: Add hexagon boot-serial-test Brian Cain
2026-03-12 14:43 ` Fabiano Rosas [this message]
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=873425yuoo.fsf@suse.de \
--to=farosas@suse.de \
--cc=ale@rev.ng \
--cc=anjo@rev.ng \
--cc=brian.cain@oss.qualcomm.com \
--cc=ltaylorsimpson@gmail.com \
--cc=lvivier@redhat.com \
--cc=marco.liebel@oss.qualcomm.com \
--cc=matheus.bernardino@oss.qualcomm.com \
--cc=pbonzini@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=quic_mburton@quicinc.com \
--cc=sid.manning@oss.qualcomm.com \
/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.