Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161685916
D31893.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
790 B
Referenced Files
None
Subscribers
None
D31893.diff
View Options
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c b/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
--- a/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c
@@ -32,6 +32,7 @@
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/bus.h>
+#include <sys/conf.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/malloc.h>
@@ -762,6 +763,13 @@
struct bcm_sdhci_softc *sc = device_get_softc(slot->bus);
#endif
+ /*
+ * We don't want to perform DMA in this context -- interrupts are
+ * disabled, and a transaction may already be in progress.
+ */
+ if (dumping)
+ return (0);
+
/*
* This indicates that we somehow let a data interrupt slip by into the
* SDHCI framework, when it should not have. This really needs to be
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jul 6, 11:03 PM (22 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34772460
Default Alt Text
D31893.diff (790 B)
Attached To
Mode
D31893: bcm2835_sdhci: don't use DMA for kernel dumps
Attached
Detach File
Event Timeline
Log In to Comment