Re: [PATCH v6 04/46] virtio: add support for 64 bit features.

From: Cornelia Huck
Date: Fri Nov 28 2014 - 07:47:33 EST


On Thu, 27 Nov 2014 22:07:55 +0200
"Michael S. Tsirkin" <mst@xxxxxxxxxx> wrote:

> Change u32 to u64, and use BIT_ULL and 1ULL everywhere.
>
> Note: transports are unchanged, and only set low 32 bit.
> This guarantees that no transport sets e.g. VERSION_1
> by mistake without proper support.
>
> Based on patch by Rusty.
>
> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
> Signed-off-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>
> Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
> ---
> include/linux/virtio.h | 2 +-
> include/linux/virtio_config.h | 20 ++++++++++----------
> tools/virtio/linux/virtio.h | 2 +-
> drivers/lguest/lguest_device.c | 2 +-
> drivers/misc/mic/card/mic_virtio.c | 2 +-
> drivers/remoteproc/remoteproc_virtio.c | 2 +-
> drivers/s390/kvm/kvm_virtio.c | 2 +-
> drivers/s390/kvm/virtio_ccw.c | 2 +-
> drivers/virtio/virtio.c | 8 ++++----
> drivers/virtio/virtio_mmio.c | 2 +-
> drivers/virtio/virtio_pci.c | 2 +-
> 11 files changed, 23 insertions(+), 23 deletions(-)

Reviewed-by: Cornelia Huck <cornelia.huck@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/