On 4 September 2014 04:56, Arnd Bergmann arnd@arndb.de wrote:
/* Write to the shared comm region. */
iowrite16(cmd, &generic_comm_base->command);
/* Write Subspace MAGIC value so platform can identify destination. */
iowrite32((PCCS_SS_SIG_MAGIC | ss_idx), &generic_comm_base->signature);
/* Flip CMD COMPLETE bit */
iowrite16(0, &generic_comm_base->status);
using writel_relaxed/writew_relaxed should be more efficient here.
x86 doesn't seem to have the write*_relaxed variants? They seem to have read*_relaxed though.
Ashwin