hdmirx: fix kernel panic for slab-out-of-bounds [1/1]

PD#SWPL-153358

Problem:
EMP DDR write out of bounds

Solution:
Reserve sufficient memory

Verify:
T3

Change-Id: I91cb9fd797f398bc09ea55553547ae0e322207ad
Signed-off-by: Gaowei Zhao <gaowei.zhao@amlogic.com>
This commit is contained in:
Gaowei Zhao
2024-01-11 14:25:47 +08:00
committed by Luan Yuan
parent 3c2043f971
commit c0962c4aa2
+3 -2
View File
@@ -153,9 +153,10 @@
/* 2023.11.03 disable DDR access when suspend */
/* 2023.12.1 fix trim value err when resume */
/* 2023.12.06 fix resume panic issue */
#define RX_VER2 "ver.2023/12/06"
/* 2024.01.11 fix EMP DDR write out of bounds */
#define RX_VER2 "ver.2024/01/11"
#define PFIFO_SIZE 160
#define PFIFO_SIZE 256
#define HDCP14_KEY_SIZE 368
/* sizeof(emp_buf) / sizeof(sizeof(struct pd_infoframe_s) + 1) = 1024/32 */