summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJavier Achirica <jachirica@gmail.com>2026-04-03 13:30:03 +0300
committerManivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com>2026-05-12 17:27:13 +0300
commit86f6dc05ea051fa03ebc03174bc00f734593465d (patch)
tree2b94a4e694767c59f613df80b3e9ffc03736f335 /scripts
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
downloadlinux-86f6dc05ea051fa03ebc03174bc00f734593465d.tar.xz
bus: mhi: host: pci_generic: Round up nr_irqs to power of two
When an MHI device uses standard MSI, the PCI core requires the allocated number of vectors to be a strict power of two. But devices will only ask for the irqs they need, so they might not be properly aligned. Make sure a power-of-2 number of vectors is requested. Signed-off-by: Javier Achirica <jachirica@gmail.com> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@oss.qualcomm.com> Link: https://patch.msgid.link/CACixm21q7b_diEx5COZxVZm9EhZ0hnakM_WBjEWcCsznfWeniw@mail.gmail.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions