[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240605162249.GE791043@ziepe.ca>
Date: Wed, 5 Jun 2024 13:22:49 -0300
From: Jason Gunthorpe <jgg@...pe.ca>
To: Fred Griffoul <fgriffo@...zon.co.uk>
Cc: griffoul@...il.com, Alex Williamson <alex.williamson@...hat.com>,
Yi Liu <yi.l.liu@...el.com>, Kevin Tian <kevin.tian@...el.com>,
Eric Auger <eric.auger@...hat.com>,
Stefan Hajnoczi <stefanha@...hat.com>,
Christian Brauner <brauner@...nel.org>,
Ankit Agrawal <ankita@...dia.com>,
Reinette Chatre <reinette.chatre@...el.com>,
Ye Bin <yebin10@...wei.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] vfio/pci: add msi interrupt affinity support
On Wed, Jun 05, 2024 at 03:55:05PM +0000, Fred Griffoul wrote:
> The usual way to configure a device interrupt from userland is to write
> the /proc/irq/<irq>/smp_affinity or smp_affinity_list files. When using
> vfio to implement a device driver or a virtual machine monitor, this may
> not be ideal: the process managing the vfio device interrupts may not be
> granted root privilege, for security reasons. Thus it cannot directly
> control the interrupt affinity and has to rely on an external command.
For a long time I've been beating a drum that people need to stop
using /proc/irq/../smp_affinity, so I like this idea :)
Jason
Powered by blists - more mailing lists