# Re: \[PATCH v6 12/29\] iommu/amd: Enable NMIPass when allocating an NMI irq

- From: Thomas Gleixner \<hidden\>
- Date: 2022-05-06 21:26:29 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/05/1772927
- Thread: https://ratatoskr.run/linuxppc-dev/2022/05/1771745/t.md

```text
On Thu, May 05 2022 at 16:59, Ricardo Neri wrote:
>  
> +	if (info->flags & X86_IRQ_ALLOC_AS_NMI) {
> +		/* Only one IRQ per NMI */
> +		if (nr_irqs != 1)
> +			return -EINVAL;

See previous reply.

```
