diff options
| author | Koichiro Den <den@valinux.co.jp> | 2026-04-14 23:15:11 +0900 |
|---|---|---|
| committer | Manivannan Sadhasivam <mani@kernel.org> | 2026-04-30 21:48:48 +0530 |
| commit | a3a079e5c5b7748f206c4baeb92593f9eca3184a (patch) | |
| tree | 676f9fd55d5e31b8c6b76bf9e3282a38d2284ee7 /scripts/sbom/git@git.tavy.me:linux-stable.git | |
| parent | ec2075cfc629eed09d8865621be76ff2197781d6 (diff) | |
PCI: endpoint: pci-ep-msi: Refactor doorbell allocation for new backends
Prepare pci-ep-msi for non-MSI doorbell backends.
Factor MSI doorbell allocation into a helper and extend struct
pci_epf_doorbell_msg with:
- irq_flags: required IRQ request flags (e.g. IRQF_SHARED for some
backends)
- type: doorbell backend type
- bar/offset: pre-exposed doorbell target location, if any
Initialize these fields for the existing MSI-backed doorbell
implementation.
Also add PCI_EPF_DOORBELL_EMBEDDED type, which is to be implemented in a
follow-up patch.
No functional changes.
Signed-off-by: Koichiro Den <den@valinux.co.jp>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Tested-by: Niklas Cassel <cassel@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260414141514.1341429-5-den@valinux.co.jp
Diffstat (limited to 'scripts/sbom/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
