lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <454045F6.7000704@shaw.ca>
Date:	Wed, 25 Oct 2006 23:21:58 -0600
From:	Robert Hancock <hancockr@...w.ca>
To:	linux-kernel <linux-kernel@...r.kernel.org>
Cc:	linux-ide@...r.kernel.org, Andrew Morton <akpm@...l.org>,
	Andi Kleen <ak@...e.de>, pitt@...fault.info
Subject: [PATCH] sata_nv ADMA/NCQ support for nForce4 (v7)

Another update to this patch, now version 7. This greatly simplifies the 
interrupt handler and gets rid of some of the weird code relating to the 
notifier clear registers (as well as a potential uninitialized value 
usage that was in version 6). There still seems to be the need to do a 
notifier clear in the interrupt handler even when the notifiers are 
empty. I'm not sure why that is, it would be nice to get some input from 
NVIDIA or those with the hardware specs as to what writing values 
(including zero values) to the notifier clear registers actually does.

This version has passed the usual test I've been using lately, 3 
concurrent bonnie++ instances, without any errors or hangs.

Some testing with this updated version by others (including from those 
who have tried earlier versions) would be useful. An earlier version of 
this patch is in the -mm tree right now. Andrew, assuming that others 
have success with this version, would you want to just replace that 
patch with this one, or shall I cut an incremental patch against the 
previous one?

---

This patch adds support for ADMA mode on NVIDIA nForce4 (CK804/MCP04) 
SATA controllers to the sata_nv driver. Benefits of ADMA mode include:

-NCQ support
-Reduced CPU overhead (controller DMAs command information from memory 
instead of them being pushed in by the CPU)
-Full 64-bit DMA support

ADMA mode is enabled by default in this version. To disable it, set the 
module parameter adma_enabled=0.

Signed-off-by: Robert Hancock <hancockr@...w.ca>

-- 
Robert Hancock      Saskatoon, SK, Canada
To email, remove "nospam" from hancockr@...pamshaw.ca
Home Page: http://www.roberthancock.com/

View attachment "sata_nv-adma-ncq-v7.patch" of type "text/plain" (31885 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ