From ecac4a2d505833dd7d20a6afcc7f5985faa56425 Mon Sep 17 00:00:00 2001 From: Bhaumik Bhatt Date: Tue, 24 Mar 2020 17:02:33 -0700 Subject: [PATCH] mhi: cntrl: qcom: reduce timesync and bootlogger log buffer size Much of the IPC log buffer size allocated to the sparsely used time synchronization is unused and bootlogger is allocated more than it needs. Reduce the sizes for the same. Change-Id: I342cd077d00d38a0fb737605e6e43577edc05396 Signed-off-by: Bhaumik Bhatt --- drivers/bus/mhi/controllers/mhi_arch_qcom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/bus/mhi/controllers/mhi_arch_qcom.c b/drivers/bus/mhi/controllers/mhi_arch_qcom.c index 5f24529f5c85..661536d3d5ea 100644 --- a/drivers/bus/mhi/controllers/mhi_arch_qcom.c +++ b/drivers/bus/mhi/controllers/mhi_arch_qcom.c @@ -40,7 +40,7 @@ struct arch_info { #define DLOG "Dev->Host: " #define HLOG "Host: " -#define MHI_TSYNC_LOG_PAGES (10) +#define MHI_TSYNC_LOG_PAGES (2) #ifdef CONFIG_MHI_DEBUG @@ -408,7 +408,7 @@ static int mhi_bl_probe(struct mhi_device *mhi_device, mhi_device->slot); arch_info->boot_dev = mhi_device; - arch_info->boot_ipc_log = ipc_log_context_create(MHI_IPC_LOG_PAGES, + arch_info->boot_ipc_log = ipc_log_context_create(MHI_CNTRL_LOG_PAGES, node_name, 0); ipc_log_string(arch_info->boot_ipc_log, HLOG "Entered SBL, Session ID:0x%x\n", mhi_cntrl->session_id);