lkml.org 
[lkml]   [2022]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 01/33] genirq/msi: Rearrange MSI domain flags
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@linutronix.de>
> ---
> include/linux/msi.h | 49 ++++++++++++++++++++++++++++++++++---------------
> 1 file changed, 34 insertions(+), 15 deletions(-)

Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>

Jason

\
 
 \ /
  Last update: 2022-11-16 19:42    [W:0.364 / U:0.852 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site