On Fri, Nov 11, 2022 at 02:58:12PM +0100, Thomas Gleixner wrote: > These flags got added as necessary and have no obvious structure. For > feature support checks and masking it's convenient to have two blocks of > flags: > > 1) Flags to control the internal behaviour like allocating/freeing > MSI descriptors. Those flags do not need any support from the > underlying MSI parent domain. They are mostly under the control > of the outermost domain which implements the actual MSI support. > > 2) Flags to expose features, e.g. PCI multi-MSI or requirements > which can depend on a underlying domain. > > No functional change. > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > --- > include/linux/msi.h | 49 ++++++++++++++++++++++++++++++++++--------------- > 1 file changed, 34 insertions(+), 15 deletions(-) Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx> Jason