mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
tegra: rtcpu: signal trace console support
Use new TLV tag to signal that the trace processor supports console prints. Populate TLV size field for additional range checking on RCE side. Bug 3898176 Change-Id: Ie3cd18198ab325eb34fac4803e93019318cf44df Signed-off-by: Mika Liljeberg <mliljeberg@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2845587 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2988237 Reviewed-by: Matti Ryttylainen <mryttylainen@nvidia.com> Reviewed-by: Viktor Horsmanheimo <viktorh@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
16e44e82a9
commit
cac12c4fb7
@@ -160,8 +160,8 @@ static void rtcpu_trace_init_memory(struct tegra_rtcpu_trace *tracer)
|
||||
|
||||
{
|
||||
struct camrtc_trace_memory_header header = {
|
||||
.signature[0] = CAMRTC_TRACE_SIGNATURE_1,
|
||||
.signature[1] = CAMRTC_TRACE_SIGNATURE_2,
|
||||
.tlv.tag = CAMRTC_TAG_NV_TRCON,
|
||||
.tlv.len = tracer->trace_memory_size,
|
||||
.revision = 1,
|
||||
.exception_offset = CAMRTC_TRACE_EXCEPTION_OFFSET,
|
||||
.exception_size = CAMRTC_TRACE_EXCEPTION_SIZE,
|
||||
|
||||
Reference in New Issue
Block a user