Commit 62ac16b
drm/radeon: fix bad DMA from INTERRUPT_CNTL2
[ Upstream commit 62d91dd ]
The INTERRUPT_CNTL2 register expects a valid DMA address, but is
currently set with a GPU MC address. This can cause problems on
systems that detect the resulting DMA read from an invalid address
(found on a Power8 guest).
Instead, use the DMA address of the dummy page because it will always
be safe.
Fixes: d8f60cf ("drm/radeon/kms: Add support for interrupts on r6xx/r7xx chips (v3)")
Fixes: 25a857f ("drm/radeon/kms: add support for interrupts on SI")
Fixes: a59781b ("drm/radeon: add support for interrupts on CIK (v5)")
Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent ca4c17f commit 62ac16b
3 files changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6969 | 6969 | | |
6970 | 6970 | | |
6971 | 6971 | | |
6972 | | - | |
6973 | | - | |
| 6972 | + | |
| 6973 | + | |
6974 | 6974 | | |
6975 | 6975 | | |
6976 | 6976 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3696 | 3696 | | |
3697 | 3697 | | |
3698 | 3698 | | |
3699 | | - | |
3700 | | - | |
| 3699 | + | |
| 3700 | + | |
3701 | 3701 | | |
3702 | 3702 | | |
3703 | 3703 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5997 | 5997 | | |
5998 | 5998 | | |
5999 | 5999 | | |
6000 | | - | |
6001 | | - | |
| 6000 | + | |
| 6001 | + | |
6002 | 6002 | | |
6003 | 6003 | | |
6004 | 6004 | | |
| |||
0 commit comments