Subject line: this patch doesn't add a property, it adds a property *type*. Easy enough to fix.
Nathan Chen <[email protected]> writes: > From: Nathan Chen <[email protected]> > > Introduce a new enum type property allowing to set an Output Address > Size. Values are auto, 32, 36, 40, 42, 44, 48, 52, and 56, where a > value of N specifies an N-bit OAS. > > Reviewed-by: Eric Auger <[email protected]> > Tested-by: Eric Auger <[email protected]> > Signed-off-by: Nathan Chen <[email protected]> [...] > diff --git a/qapi/misc-arm.json b/qapi/misc-arm.json > index 76ea0a09fa..5dbb4add91 100644 > --- a/qapi/misc-arm.json > +++ b/qapi/misc-arm.json > @@ -61,3 +61,31 @@ > 'data': [ 'auto', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', > '10', '11', '12', '13', '14', '15', '16', '17', '18', > '19', '20' ] } # order matters, see ssid_size_mode_auto() > + > +## > +# @OasMode: > +# > +# SMMUv3 Output Address Size configuration mode. > +# > +# @auto: derive from host IOMMU capabilities > +# > +# @32: 32-bit output address size > +# > +# @36: 36-bit output address size > +# > +# @40: 40-bit output address size > +# > +# @42: 42-bit output address size > +# > +# @44: 44-bit output address size > +# > +# @48: 48-bit output address size > +# > +# @52: 52-bit output address size > +# > +# @56: 56-bit output address size > +# > +# Since: 11.0 > +## > +{ 'enum': 'OasMode', > + 'data': [ 'auto', '32', '36', '40', '42', '44', '48', '52', '56' ] } QAPI schema Acked-by: Markus Armbruster <[email protected]>
