Module Name:    src
Committed By:   jdolecek
Date:           Fri Jun 23 23:49:20 UTC 2017

Modified Files:
        src/sys/dev/ata [jdolecek-ncq]: TODO.ncq
        src/sys/dev/ic [jdolecek-ncq]: siisata.c

Log Message:
fix dump for siisata(4) to work - need to call drv_done() callback in order to
not leak xfers

while here, reduce the DELAY() for polled bio to make it go much faster,
same value as used in ahcisata(4)

needs also rev. 1.252 src/sys/arch/x86/x86/pmap.c to not trigger the
assertion, the pmap.c fix committed only on HEAD


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/sys/dev/ata/TODO.ncq
cvs rdiff -u -r1.30.4.20 -r1.30.4.21 src/sys/dev/ic/siisata.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/ata/TODO.ncq
diff -u src/sys/dev/ata/TODO.ncq:1.1.2.22 src/sys/dev/ata/TODO.ncq:1.1.2.23
--- src/sys/dev/ata/TODO.ncq:1.1.2.22	Fri Jun 23 20:40:51 2017
+++ src/sys/dev/ata/TODO.ncq	Fri Jun 23 23:49:20 2017
@@ -6,12 +6,6 @@ fix crashdump for mvsata - request times
 
 siisata - fix all new XXX and unmergable bits
 
-test crashdump with siisata
-- fails with recursive panic via pmap_kremove_local() regardless if
-  drive connected via PMP or direct (failed KASSERT(panicstr != NULL))
-- HEAD crashes same as branch
-- see kern/49610 for potential fix
-
 test wd* at umass?, confirm the ata_channel kludge works
 + add detach code (channel detach, free queue)
 
@@ -31,6 +25,8 @@ not non-FIS
 
 Other random notes (do outside the NCQ branch):
 -----------------------------------------------------
+queue is allocated regardless if there are any drives, fix? 
+
 change wd(4) to use dksubr
 
 dump to unopened disk fails (e.g. dump do wd1b when wd1a not mounted), due

Index: src/sys/dev/ic/siisata.c
diff -u src/sys/dev/ic/siisata.c:1.30.4.20 src/sys/dev/ic/siisata.c:1.30.4.21
--- src/sys/dev/ic/siisata.c:1.30.4.20	Fri Jun 23 23:45:56 2017
+++ src/sys/dev/ic/siisata.c	Fri Jun 23 23:49:20 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: siisata.c,v 1.30.4.20 2017/06/23 23:45:56 jdolecek Exp $ */
+/* $NetBSD: siisata.c,v 1.30.4.21 2017/06/23 23:49:20 jdolecek Exp $ */
 
 /* from ahcisata_core.c */
 
@@ -79,7 +79,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.20 2017/06/23 23:45:56 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: siisata.c,v 1.30.4.21 2017/06/23 23:49:20 jdolecek Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>

Reply via email to