remoteproc: remove the hardcoded vring alignment
authorOhad Ben-Cohen <ohad@wizery.com>
Wed, 29 Feb 2012 12:42:13 +0000 (14:42 +0200)
committerOhad Ben-Cohen <ohad@wizery.com>
Tue, 6 Mar 2012 17:14:37 +0000 (19:14 +0200)
commit63140e0ed2e69bdafe62bc19fd6551d9213f80a7
treea885f08832b5479721898b3dbef17edc17958d2c
parent55f34080d99be0ac75122a27e7b151c76a5b070d
remoteproc: remove the hardcoded vring alignment

Remove the hardcoded vring alignment of 4096 bytes,
and instead utilize tha vring alignment as specified in
the resource table.

This is needed for remote processors that have rigid
memory requirement, and which have found the alignment of
4096 bytes to be excessively big.

Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Cc: Brian Swetland <swetland@google.com>
Cc: Iliyan Malchev <malchev@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Mark Grosen <mgrosen@ti.com>
Cc: John Williams <john.williams@petalogix.com>
Cc: Michal Simek <monstr@monstr.eu>
Cc: Loic PALLARDY <loic.pallardy@stericsson.com>
Cc: Ludovic BARRE <ludovic.barre@stericsson.com>
Cc: Omar Ramirez Luna <omar.luna@linaro.org>
Cc: Guzman Lugo Fernando <fernando.lugo@ti.com>
Cc: Anna Suman <s-anna@ti.com>
Cc: Clark Rob <rob@ti.com>
Cc: Stephen Boyd <sboyd@codeaurora.org>
Cc: Saravana Kannan <skannan@codeaurora.org>
Cc: David Brown <davidb@codeaurora.org>
Cc: Kieran Bingham <kieranbingham@gmail.com>
Cc: Tony Lindgren <tony@atomide.com>
drivers/remoteproc/remoteproc_core.c
drivers/remoteproc/remoteproc_virtio.c
include/linux/remoteproc.h