summaryrefslogtreecommitdiffstats
path: root/drivers/dca/Makefile
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@intel.com>2007-10-16 10:27:41 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 18:43:09 +0200
commit7589670f37736bcc119ebfbd69aafea6d585d1d4 (patch)
tree471f90dda6bcbcd59cc857b4f0130922bba88fc4 /drivers/dca/Makefile
parentI/OAT: Add support for MSI and MSI-X (diff)
downloadlinux-7589670f37736bcc119ebfbd69aafea6d585d1d4.tar.xz
linux-7589670f37736bcc119ebfbd69aafea6d585d1d4.zip
DCA: Add Direct Cache Access driver
Direct Cache Access (DCA) is a method for warming the CPU cache before data is used, with the intent of lessening the impact of cache misses. This patch adds a manager and interface for matching up client requests for DCA services with devices that offer DCA services. In order to use DCA, a module must do bus writes with the appropriate tag bits set to trigger a cache read for a specific CPU. However, different CPUs and chipsets can require different sets of tag bits, and the methods for determining the correct bits may be simple hardcoding or may be a hardware specific magic incantation. This interface is a way for DCA clients to find the correct tag bits for the targeted CPU without needing to know the specifics. [Dave Miller] use DEFINE_SPINLOCK() Signed-off-by: Shannon Nelson <shannon.nelson@intel.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/dca/Makefile')
-rw-r--r--drivers/dca/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dca/Makefile b/drivers/dca/Makefile
new file mode 100644
index 000000000000..b2db56bb9dde
--- /dev/null
+++ b/drivers/dca/Makefile
@@ -0,0 +1,2 @@
+obj-$(CONFIG_DCA) += dca.o
+dca-objs := dca-core.o dca-sysfs.o