linux/drivers/xen/events
Vladimir Murzin 05a812ac47 xen/events/fifo: correctly align bitops
FIFO event channels require bitops on 32-bit aligned values (the event
words).  Linux's bitops require unsigned long alignment which may be
64-bits.

On arm64 an incorrectly unaligned access will fault.

Fix this by aligning the bitops along with an adjustment for bit
position and using an unsigned long for the local copy of the ready
word.

Cc: stable@vger.kernel.org
Signed-off-by: Vladimir Murzin <murzin.v@gmail.com>
Tested-by: Pranavkumar Sawargaonkar <pranavkumar@linaro.org>
Reviewed-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2014-04-28 11:09:40 +01:00
..
events_2l.c xen: Use the proper irq functions 2014-03-04 17:37:52 +01:00
events_base.c Xen: do hv callback accounting only on x86 2014-04-07 14:12:38 +01:00
events_fifo.c xen/events/fifo: correctly align bitops 2014-04-28 11:09:40 +01:00
events_internal.h xen: add support for MSI message groups 2014-03-18 14:40:09 +00:00
Makefile xen/events: use the FIFO-based ABI if available 2014-01-06 10:07:57 -05:00