Re: [Xen-devel] [PATCH] xen/events: use virt_xxx barriers

2016-01-04 Thread kbuild test robot
Hi Michael, [auto build test ERROR on v4.4-rc8] [also build test ERROR on next-20151231] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/xen-events-use-virt_xxx-barriers/20160

Re: [Xen-devel] [PATCH] xen/events: use virt_xxx barriers

2016-01-04 Thread David Vrabel
On 04/01/16 11:46, Michael S. Tsirkin wrote: > drivers/xen/events/events_fifo.c uses rmb() to communicate with the > other side. > > For guests compiled with CONFIG_SMP, smp_rmb would be sufficient, so > rmb() here is only needed if a non-SMP guest runs on an SMP host. > > Switch to the virt_rmb

[Xen-devel] [PATCH] xen/events: use virt_xxx barriers

2016-01-04 Thread Michael S. Tsirkin
drivers/xen/events/events_fifo.c uses rmb() to communicate with the other side. For guests compiled with CONFIG_SMP, smp_rmb would be sufficient, so rmb() here is only needed if a non-SMP guest runs on an SMP host. Switch to the virt_rmb barrier which serves this exact purpose. Pull in asm/barri