summaryrefslogtreecommitdiffstats
path: root/drivers/block/skd_s1120.h
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@wdc.com>2017-08-17 22:13:06 +0200
committerJens Axboe <axboe@kernel.dk>2017-08-18 16:45:29 +0200
commit6507f436f92c37a7963bf0d55df7b673d8d6f533 (patch)
treeb4e1001d3f89f967dab4544859b955f107ee1095 /drivers/block/skd_s1120.h
parentskd: Simplify the code for deciding whether or not to send a FIT msg (diff)
downloadlinux-6507f436f92c37a7963bf0d55df7b673d8d6f533.tar.xz
linux-6507f436f92c37a7963bf0d55df7b673d8d6f533.zip
skd: Simplify the code for allocating DMA message buffers
dma_alloc_coherent() guarantees alignment on a page boundary so no explicit alignment is needed to align on a 64 byte boundary. Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Johannes Thumshirn <jthumshirn@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/skd_s1120.h')
-rw-r--r--drivers/block/skd_s1120.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/skd_s1120.h b/drivers/block/skd_s1120.h
index f69d3d97744d..8044705cbbf9 100644
--- a/drivers/block/skd_s1120.h
+++ b/drivers/block/skd_s1120.h
@@ -28,7 +28,7 @@
#define FIT_QCMD_MSGSIZE_128 (0x1 << 4)
#define FIT_QCMD_MSGSIZE_256 (0x2 << 4)
#define FIT_QCMD_MSGSIZE_512 (0x3 << 4)
-#define FIT_QCMD_BASE_ADDRESS_MASK (0xFFFFFFFFFFFFFFC0ull)
+#define FIT_QCMD_ALIGN L1_CACHE_BYTES
/*
* Control, 32-bit r/w