diff options
author | Shannon Nelson <shannon.nelson@intel.com> | 2007-10-16 04:27:41 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:09 -0400 |
commit | 7589670f37736bcc119ebfbd69aafea6d585d1d4 (patch) | |
tree | 471f90dda6bcbcd59cc857b4f0130922bba88fc4 /drivers/Makefile | |
parent | 3e037454bcfa4b187e8293d2121bd8c0f5a5c31c (diff) |
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/Makefile')
-rw-r--r-- | drivers/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index a168eacdcd9..174c27eb443 100644 --- a/drivers/Makefile +++ b/drivers/Makefile | |||
@@ -85,6 +85,7 @@ obj-$(CONFIG_CRYPTO) += crypto/ | |||
85 | obj-$(CONFIG_SUPERH) += sh/ | 85 | obj-$(CONFIG_SUPERH) += sh/ |
86 | obj-$(CONFIG_GENERIC_TIME) += clocksource/ | 86 | obj-$(CONFIG_GENERIC_TIME) += clocksource/ |
87 | obj-$(CONFIG_DMA_ENGINE) += dma/ | 87 | obj-$(CONFIG_DMA_ENGINE) += dma/ |
88 | obj-$(CONFIG_DCA) += dca/ | ||
88 | obj-$(CONFIG_HID) += hid/ | 89 | obj-$(CONFIG_HID) += hid/ |
89 | obj-$(CONFIG_PPC_PS3) += ps3/ | 90 | obj-$(CONFIG_PPC_PS3) += ps3/ |
90 | obj-$(CONFIG_OF) += of/ | 91 | obj-$(CONFIG_OF) += of/ |