2019-03-29 14:12:17 +08:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
2019-03-22 14:52:12 +08:00
|
|
|
From: "Zhang, Qi" <qi1.zhang@intel.com>
|
|
|
|
Date: Tue, 27 Nov 2018 13:19:07 +0800
|
2019-03-29 14:12:17 +08:00
|
|
|
Subject: [PATCH] trusty: disable va printing in dmesg on user build
|
2019-03-22 14:52:12 +08:00
|
|
|
|
|
|
|
The va of trusty memory printing may leak security info
|
|
|
|
|
|
|
|
Change-Id: I7fafd1427b10e3bca48368a1e1327bbea3b2505c
|
|
|
|
Tracked-On: PKT-1809
|
|
|
|
Signed-off-by: Zhang, Qi <qi1.zhang@intel.com>
|
|
|
|
---
|
|
|
|
drivers/trusty/trusty-virtio.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/drivers/trusty/trusty-virtio.c b/drivers/trusty/trusty-virtio.c
|
2020-10-27 02:14:06 +08:00
|
|
|
index df066dda80d3..113dc2fed2ef 100644
|
2019-03-22 14:52:12 +08:00
|
|
|
--- a/drivers/trusty/trusty-virtio.c
|
|
|
|
+++ b/drivers/trusty/trusty-virtio.c
|
|
|
|
@@ -335,7 +335,7 @@ static struct virtqueue *_find_vq(struct virtio_device *vdev,
|
|
|
|
*/
|
|
|
|
tvr->vr_descr->pa = (u32)HIULINT(pa);
|
|
|
|
|
|
|
|
- dev_info(&vdev->dev, "vring%d: va(pa) %p(%llx) qsz %d notifyid %d\n",
|
|
|
|
+ dev_dbg(&vdev->dev, "vring%d: va(pa) %p(%llx) qsz %d notifyid %d\n",
|
|
|
|
id, tvr->vaddr, (u64)tvr->paddr, tvr->elem_num, tvr->notifyid);
|
|
|
|
|
|
|
|
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 14, 0)
|
|
|
|
--
|
2019-04-08 18:08:36 +08:00
|
|
|
https://clearlinux.org
|
2019-03-22 14:52:12 +08:00
|
|
|
|