I don't see any tests which are exercise crash from assembly (will wait for others to comment)
However, i did a quick experiment and can see the crash console is usable past crash stack is initialized in el3_arch_init_common() through tpidr_el3 register.

Its good to have feature, i can add it in our backlog.

Thanks
Manish

From: Michal Simek <monstr@monstr.eu>
Sent: 20 September 2023 13:25
To: Manish Pandey2 <Manish.Pandey2@arm.com>; tf-a@lists.trustedfirmware.org <tf-a@lists.trustedfirmware.org>; tf-a-tests@lists.trustedfirmware.org <tf-a-tests@lists.trustedfirmware.org>; Belsare, Akshay <akshay.belsare@amd.com>
Subject: Re: [TF-A] Re: Console scope flags/ console switch state - understanding
 
Hi Manish,

On 9/20/23 13:51, Manish Pandey2 wrote:
> Hi Akshay
>
> Yes, there is a test [1] to exercise crash console in TF-A. The test is
> performed with the help tf-a-ci-scripts, wherein a patch is applied in
> bl31_main() which induces a panic(). Look at CI run [2] artefacts, where UART1
> log captures the console log for crash
>
> [1] https://review.trustedfirmware.org/c/ci/tf-a-ci-scripts/+/19026
> [2] https://ci.trustedfirmware.org/job/tf-a-builder/2538538/artifact/

That's the panic from C and definitely nice to see it.
Shouldn't be there also a test from asm?

Thanks,
Michal