Server page: eventlib: hvrtos: process

- Add new array for all trace buffers in the system.

Jira HYP-11997
Jira HYP-12629

Change-Id: Ic53fbeb2efecf5792a33ec3814b4d955991128b9
Signed-off-by: Vishnu Mandalapu <vmandalapu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2793634
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Akash Kulkarni <akashk@nvidia.com>
Reviewed-by: Suresh Venkatachalam <skathirampat@nvidia.com>
Reviewed-by: Bo Yan <byan@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
Vishnu Mandalapu
2022-10-17 17:06:51 -07:00
committed by mobile promotions
parent e2e75e1acc
commit fc580eb7bd

View File

@@ -129,6 +129,16 @@ struct trapped_access {
uint32_t guest_id;
};
/* Structure to store the IPA, Length and Name. */
struct trace_buf {
/* @brief IPA of trace buffer region. */
uint64_t ipa;
/* @brief Length of trace buffer region. */
uint64_t size;
/* @brief Name */
char name[32];
};
struct hyp_server_page {
/* guest reset protocol */
uint32_t guest_reset_virq;
@@ -157,6 +167,10 @@ struct hyp_server_page {
/* all vm mappings ipa */
uint64_t mappings_ipa;
/* IPA, Length and Name for trace buffer region. */
struct trace_buf trace_buffs[2*NGUESTS_MAX];
};
/* For backwards compatibility, alias the old name for hyp_server_name. */