lkml.org 
[lkml]   [2022]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [patch V2 03/33] genirq/msi: Provide data structs for per device domains
Date
> From: Thomas Gleixner <tglx@linutronix.de>
> Sent: Monday, November 21, 2022 10:38 PM
>
> Provide struct msi_domain_template which contains a bundle of struct
> irq_chip, struct msi_domain_ops and struct msi_domain_info and a name
> field.
>
> This template is used by MSI device domain implementations to provide the
> domain specific functionality, feature bits etc.
>
> When a MSI domain is created the template is duplicated in the core code
> so that it can be modified per instance. That means templates can be
> marked const at the MSI device domain code.
>
> The template is a bundle to avoid several allocations and duplications
> of the involved structures.
>
> The name field is used to construct the final domain and chip name via:
>
> $PREFIX-$NAME-$DEVNAME

$PREFIX$NAME-$DEVNAME

\
 
 \ /
  Last update: 2022-11-23 08:59    [W:2.000 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site