Re: (subset) [PATCH v10 00/10] kvm/coresight: Support exclude guest and exclude host

From: Marc Zyngier
Date: Sun Jan 12 2025 - 09:02:15 EST


On Tue, 07 Jan 2025 11:32:37 +0000, James Clark wrote:
> FEAT_TRF is a Coresight feature that allows trace capture to be
> completely filtered at different exception levels, unlike the existing
> TRCVICTLR controls which may still emit target addresses of branches,
> even if the following trace is filtered.
>
> Without FEAT_TRF, it was possible to start a trace session on a host and
> also collect trace from the guest as TRCVICTLR was never programmed to
> exclude guests (and it could still emit target addresses even if it
> was).
>
> [...]

Applied to next, thanks!

[05/10] tools: arm64: Update sysreg.h header files
commit: 38138762faffeb923d9f49efbcc09884f1530786
[06/10] arm64/sysreg/tools: Move TRFCR definitions to sysreg
commit: c382ee674c8b5005798606267d660cf995218b18
[07/10] coresight: trbe: Remove redundant disable call
commit: a2b579c41fe9c295804abd167751f9fdc73c7006
[08/10] KVM: arm64: coresight: Give TRBE enabled state to KVM
commit: a665e3bc88081dd65642d83fc22a1abdb6a901bc
[09/10] KVM: arm64: Support trace filtering for guests
commit: 054b88391bbe2e470c5484cb91622238314344fb
[10/10] coresight: Pass guest TRFCR value to KVM
commit: aaf69eff6cdb8613ff1f6a520821f769dc92f969

Cheers,

M.
--
Without deviation from the norm, progress is not possible.