[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH] target/arm: add RAZ/WI handling for DBGDTR[TX|RX]
From: |
Alex Bennée |
Subject: |
Re: [RFC PATCH] target/arm: add RAZ/WI handling for DBGDTR[TX|RX] |
Date: |
Thu, 18 May 2023 12:09:47 +0100 |
User-agent: |
mu4e 1.11.6; emacs 29.0.91 |
Peter Maydell <peter.maydell@linaro.org> writes:
> On Tue, 16 May 2023 at 11:44, Alex Bennée <alex.bennee@linaro.org> wrote:
>>
>> The commit b3aa2f2128 (target/arm: provide stubs for more external
>> debug registers) was added to handle HyperV's unconditional usage of
>> Debug Communications Channel. It turns out that Linux will similarly
>> break if you enable CONFIG_HVC_DCC "ARM JTAG DCC console".
>>
>> Extend the registers we RAZ/WI set to avoid this.
>
> Applied to target-arm.next, thanks.
>
> (In theory we could implement the DCC and wire it up to a
> chardev, which might be a cute way of getting early debug.)
I wondered about that - does DCC give you anything that you can't get
with semihosting (which I think also can support earlycon)?
I found it a little unclear if this is an always available feature.
Should you expect any modern Cortex/Arm chip to support DCC when
attached to jtag?
--
Alex Bennée
Virtualisation Tech Lead @ Linaro