dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* allow drivers to fix kexec bus mastering hole
@ 2011-12-19 14:16 Dave Airlie
  2011-12-19 14:16 ` [PATCH 1/2] drm: move pci bus master enable into driver Dave Airlie
  2011-12-19 14:16 ` [PATCH 2/2] drm/radeon/kms: move pci bus master enable further " Dave Airlie
  0 siblings, 2 replies; 4+ messages in thread
From: Dave Airlie @ 2011-12-19 14:16 UTC (permalink / raw)
  To: dri-devel

kexec relies on disabling bus mastering on PCI devices to block wayward DMAs
left set by the previous kernel. However the drm midlayer was enabling bus
mastering for all PCI drivers before calling into them. This meant no matter
what they did, there was always going to be a small race window. The
first patch pushes the enable into the drivers, and the second radeon patch
moves bus mastering enable to later in the driver load procedure for the kms
driver. These two along with Jerome's sanity patch should close the race completely.

please check the first one to make sure I didn't miss any drivers.

Dave.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-19 16:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-19 14:16 allow drivers to fix kexec bus mastering hole Dave Airlie
2011-12-19 14:16 ` [PATCH 1/2] drm: move pci bus master enable into driver Dave Airlie
2011-12-19 14:16 ` [PATCH 2/2] drm/radeon/kms: move pci bus master enable further " Dave Airlie
2011-12-19 16:35   ` Alex Deucher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox