linux_dsm_epyc7002/drivers/gpu/host1x/hw
Thierry Reding 0e43b8da15 gpu: host1x: Use correct semantics for HOST1X_CHANNEL_DMAEND
The HOST1X_CHANNEL_DMAEND is an offset relative to the value written to
the HOST1X_CHANNEL_DMASTART register, but it is currently treated as an
absolute address. This can cause SMMU faults if the CDMA fetches past a
pushbuffer's IOMMU mapping.

Properly setting the DMAEND prevents the CDMA from fetching beyond that
address and avoid such issues. This is currently not observed because a
whole (almost) page of essentially scratch space absorbs any excessive
prefetching by CDMA. However, changing the number of slots in the push
buffer can trigger these SMMU faults.

Signed-off-by: Thierry Reding <treding@nvidia.com>
2019-02-07 18:28:58 +01:00
..
cdma_hw.c gpu: host1x: Use correct semantics for HOST1X_CHANNEL_DMAEND 2019-02-07 18:28:58 +01:00
channel_hw.c gpu: host1x: Support 40-bit addressing 2019-02-07 18:28:35 +01:00
debug_hw_1x01.c gpu: host1x: Disassemble more instructions 2017-10-20 14:19:52 +02:00
debug_hw_1x06.c gpu: host1x: Add Tegra194 support 2018-11-29 17:11:49 +01:00
debug_hw.c gpu: host1x: Disassemble more instructions 2017-10-20 14:19:52 +02:00
host1x01_hardware.h gpu: host1x: Add channel support 2013-04-22 12:32:43 +02:00
host1x01.c gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
host1x01.h gpu: host1x: Add host1x driver 2013-04-22 12:32:40 +02:00
host1x02_hardware.h gpu: host1x: Use the correct HW headers for host1x02 2013-12-19 09:29:51 +01:00
host1x02.c gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
host1x02.h gpu: host1x: Add support for Tegra114 2013-10-31 09:55:41 +01:00
host1x04_hardware.h gpu: host1x: Add Tegra124 support 2013-12-19 09:29:52 +01:00
host1x04.c gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
host1x04.h gpu: host1x: Add Tegra124 support 2013-12-19 09:29:52 +01:00
host1x05_hardware.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
host1x05.c gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
host1x05.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
host1x06_hardware.h gpu: host1x: Support 40-bit addressing 2019-02-07 18:28:35 +01:00
host1x06.c gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
host1x06.h gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
host1x07_hardware.h gpu: host1x: Support 40-bit addressing 2019-02-07 18:28:35 +01:00
host1x07.c gpu: host1x: Add Tegra194 support 2018-11-29 17:11:49 +01:00
host1x07.h gpu: host1x: Add Tegra194 support 2018-11-29 17:11:49 +01:00
hw_host1x01_channel.h gpu: host1x: Add debug support 2013-04-22 12:32:46 +02:00
hw_host1x01_sync.h gpu: host1x: Fix MLOCK's debug info 2015-10-02 14:40:12 +02:00
hw_host1x01_uclass.h gpu: host1x: Add syncpoint base support 2013-10-31 09:55:48 +01:00
hw_host1x02_channel.h gpu: host1x: Add support for Tegra114 2013-10-31 09:55:41 +01:00
hw_host1x02_sync.h gpu: host1x: Fix MLOCK's debug info 2015-10-02 14:40:12 +02:00
hw_host1x02_uclass.h gpu: host1x: Use the correct HW headers for host1x02 2013-12-19 09:29:51 +01:00
hw_host1x04_channel.h gpu: host1x: Enable gather filter 2017-10-20 14:19:52 +02:00
hw_host1x04_sync.h gpu: host1x: Fix MLOCK's debug info 2015-10-02 14:40:12 +02:00
hw_host1x04_uclass.h gpu: host1x: Add Tegra124 support 2013-12-19 09:29:52 +01:00
hw_host1x05_channel.h gpu: host1x: Enable gather filter 2017-10-20 14:19:52 +02:00
hw_host1x05_sync.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
hw_host1x05_uclass.h gpu: host1x: Add Tegra210 support 2015-12-14 10:50:33 +01:00
hw_host1x06_channel.h gpu: host1x: Program the channel stream ID 2019-02-07 18:28:33 +01:00
hw_host1x06_hypervisor.h gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
hw_host1x06_uclass.h gpu: host1x: Fix syncpoint ID field size on Tegra186 2018-11-27 17:18:39 +01:00
hw_host1x06_vm.h gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
hw_host1x07_channel.h gpu: host1x: Program the channel stream ID 2019-02-07 18:28:33 +01:00
hw_host1x07_hypervisor.h gpu: host1x: Add Tegra194 support 2018-11-29 17:11:49 +01:00
hw_host1x07_uclass.h gpu: host1x: Add Tegra194 support 2018-11-29 17:11:49 +01:00
hw_host1x07_vm.h gpu: host1x: Add Tegra194 support 2018-11-29 17:11:49 +01:00
intr_hw.c gpu: host1x: Add Tegra186 support 2017-10-20 14:19:51 +02:00
syncpt_hw.c gpu: host1x: Add Tegra194 support 2018-11-29 17:11:49 +01:00