summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorBreno Leitao <leitao@debian.org>2022-08-12 02:40:11 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-01 16:29:29 +0200
commitfccf202e01e0e5c9d5f1fdd00009614c04c82818 (patch)
tree942de03dc86f666550a483e02b732023a0dbbd22 /tools/perf/util/scripting-engines/trace-event-python.c
parent9d64d2405f7d30d49818f6682acd0392348f0fdb (diff)
misc: bcm-vk: Specify the minimum number of IRQ vecs
During bcm_vk_probe(), pci_alloc_irq_vectors() is called passing the number of IRQ vectors as 1, but, later, check how many IRQ vectors it got, and fails if it is smaller than VK_MSIX_IRQ_MIN_REQ. The most appropriated way to do it is setting the 'min_vecs' param as VK_MSIX_IRQ_MIN_REQ, instead of one. pci_alloc_irq_vectors() should know the requirements when called. The test was done by just loading this module on a machine with a Valkyrie offload engine hardware. Acked-by: Scott Branden <scott.branden@broadcom.com> Signed-off-by: Breno Leitao <leitao@debian.org> Link: https://lore.kernel.org/r/20220812094011.4064729-1-leitao@debian.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions