svn commit: r358613 - head/sys/dev/aacraid
Leandro Lupori
luporl at FreeBSD.org
Wed Mar 4 12:21:40 UTC 2020
Author: luporl
Date: Wed Mar 4 12:21:38 2020
New Revision: 358613
URL: https://svnweb.freebsd.org/changeset/base/358613
Log:
[aacraid] Add missing unmap call for SYNC mode
This issue was observed on a PowerPC64 machine with an Adaptec RAID Controller
with PCI device ID 0x028d. After several read/write operations, the kernel was
panic'ing in bus_dmamap_sync(). This was due to a missing aac_unmap_command()
in the SYNC path.
PR: 237463
Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D23668
Modified:
head/sys/dev/aacraid/aacraid.c
Modified: head/sys/dev/aacraid/aacraid.c
==============================================================================
--- head/sys/dev/aacraid/aacraid.c Wed Mar 4 11:32:31 2020 (r358612)
+++ head/sys/dev/aacraid/aacraid.c Wed Mar 4 12:21:38 2020 (r358613)
@@ -903,6 +903,7 @@ aacraid_new_intr_type1(void *arg)
if (mode & AAC_INT_MODE_SYNC) {
if (sc->aac_sync_cm) {
cm = sc->aac_sync_cm;
+ aac_unmap_command(cm);
cm->cm_flags |= AAC_CMD_COMPLETED;
/* is there a completion handler? */
if (cm->cm_complete != NULL) {
More information about the svn-src-head
mailing list