diff options
author | KuoHsiang Chou <kuohsiang_chou@aspeedtech.com> | 2021-04-21 16:58:59 +0800 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2021-04-27 14:12:34 +0200 |
commit | ba4e0339a6a33e2ba341703ce14ae8ca203cb2f1 (patch) | |
tree | d979ba61d67466d8205a81b9e50789c41a641142 /drivers/gpu/drm/bochs/bochs.h | |
parent | 749da85a9a527c78f35cfa3f918a57644eb12908 (diff) |
drm/ast: Fixed CVE for DP501
[Bug][DP501]
If ASPEED P2A (PCI to AHB) bridge is disabled and disallowed for
CVE_2019_6260 item3, and then the monitor's EDID is unable read through
Parade DP501.
The reason is the DP501's FW is mapped to BMC addressing space rather
than Host addressing space.
The resolution is that using "pci_iomap_range()" maps to DP501's FW that
stored on the end of FB (Frame Buffer).
In this case, FrameBuffer reserves the last 2MB used for the image of
DP501.
Signed-off-by: KuoHsiang Chou <kuohsiang_chou@aspeedtech.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20210421085859.17761-1-kuohsiang_chou@aspeedtech.com
Diffstat (limited to 'drivers/gpu/drm/bochs/bochs.h')
0 files changed, 0 insertions, 0 deletions