diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2020-07-10 10:20:21 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-08-05 16:30:19 +0300 |
commit | a4235ec06acf05c58081700cda02dcd480d9e9cb (patch) | |
tree | b5179d0d8a489cc38219bdee1186aa8886e04822 /include/uapi/linux/virtio_9p.h | |
parent | 5487196878bc926a1ee15069c13aa48b9a894fab (diff) | |
download | linux-a4235ec06acf05c58081700cda02dcd480d9e9cb.tar.xz |
virtio: allow __virtioXX, __leXX in config space
Currently all config space fields are of the type __uXX.
This confuses people and some drivers (notably vdpa)
access them using CPU endian-ness - which only
works well for legacy or LE platforms.
Update virtio_cread/virtio_cwrite macros to allow __virtioXX
and __leXX field types. Follow-up patches will convert
config space to use these types.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'include/uapi/linux/virtio_9p.h')
0 files changed, 0 insertions, 0 deletions