mirror_ubuntu-kernels/drivers/gpu/drm/ast
KuoHsiang Chou ba4e0339a6 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
2021-04-27 14:12:34 +02:00
..
ast_dp501.c drm/ast: Fixed CVE for DP501 2021-04-27 14:12:34 +02:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/aperture: Convert drivers to aperture interfaces 2021-04-14 09:00:04 +02:00
ast_drv.h drm/ast: Fixed CVE for DP501 2021-04-27 14:12:34 +02:00
ast_main.c drm/ast: Fixed CVE for DP501 2021-04-27 14:12:34 +02:00
ast_mm.c drm/ast: Remove references to struct drm_device.pdev 2021-01-06 15:38:30 +01:00
ast_mode.c drm: Use state helper instead of the plane state pointer 2021-02-25 08:05:28 +01:00
ast_post.c drm/ast: Remove references to struct drm_device.pdev 2021-01-06 15:38:30 +01:00
ast_tables.h drm/ast: Fixed 1920x1080 sync. polarity issue 2020-11-09 09:00:44 +01:00
Kconfig drm/vram: fix Kconfig 2019-09-10 08:53:08 +02:00
Makefile drm/ast: Inline ast cursor-update functions into modesetting code 2021-02-17 12:40:05 +01:00