Re: [patch 01/33] genirq/msi: Rearrange MSI domain flags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux