[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YaTytI6P3/HEwVrQ@myrica>
Date: Mon, 29 Nov 2021 15:33:08 +0000
From: Jean-Philippe Brucker <jean-philippe@...aro.org>
To: Eric Auger <eric.auger@...hat.com>
Cc: joro@...tes.org, will@...nel.org, mst@...hat.com,
jasowang@...hat.com, virtualization@...ts.linux-foundation.org,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org,
sebastien.boeuf@...el.com, kevin.tian@...el.com,
pasic@...ux.ibm.com
Subject: Re: [PATCH v2 1/5] iommu/virtio: Add definitions for
VIRTIO_IOMMU_F_BYPASS_CONFIG
Hi Eric,
On Sat, Nov 27, 2021 at 08:59:25AM +0100, Eric Auger wrote:
> > @@ -36,6 +37,8 @@ struct virtio_iommu_config {
> > struct virtio_iommu_range_32 domain_range;
> > /* Probe buffer size */
> > __le32 probe_size;
> > + __u8 bypass;
> > + __u8 reserved[7];
> in [PATCH v3] virtio-iommu: Rework the bypass feature I see
>
> + u8 bypass;
> + u8 reserved[3];
>
> What was exactly voted?
Good catch, this should be 3. It brings the config struct to 40 bytes,
which is the size compilers generate when there is no reserved field.
Thanks,
Jean
Powered by blists - more mailing lists