Message ID | 20210720232624.1493424-1-nitesh@redhat.com (mailing list archive) |
---|---|
Headers | show |
Series | genirq: Cleanup the abuse of irq_set_affinity_hint() | expand |
On Tue, Jul 20, 2021 at 7:26 PM Nitesh Narayan Lal <nitesh@redhat.com> wrote: > > The drivers currently rely on irq_set_affinity_hint() to either set the > affinity_hint that is consumed by the userspace and/or to enforce a custom > affinity. > > irq_set_affinity_hint() as the name suggests is originally introduced to > only set the affinity_hint to help the userspace in guiding the interrupts > and not the affinity itself. However, since the commit > > e2e64a932556 "genirq: Set initial affinity in irq_set_affinity_hint()" > [...] > drivers/infiniband/hw/irdma/hw.c | 4 +- > drivers/mailbox/bcm-flexrm-mailbox.c | 4 +- > drivers/net/ethernet/cisco/enic/enic_main.c | 8 +-- > drivers/net/ethernet/emulex/benet/be_main.c | 4 +- > drivers/net/ethernet/huawei/hinic/hinic_rx.c | 4 +- > drivers/net/ethernet/intel/i40e/i40e_main.c | 8 +-- > drivers/net/ethernet/intel/iavf/iavf_main.c | 8 +-- > drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 10 ++-- > drivers/net/ethernet/mellanox/mlx4/eq.c | 8 ++- > .../net/ethernet/mellanox/mlx5/core/pci_irq.c | 8 +-- > drivers/scsi/lpfc/lpfc_init.c | 4 +- > drivers/scsi/megaraid/megaraid_sas_base.c | 27 +++++----- > drivers/scsi/mpt3sas/mpt3sas_base.c | 21 ++++---- > include/linux/interrupt.h | 53 ++++++++++++++++++- > kernel/irq/manage.c | 8 +-- > 15 files changed, 114 insertions(+), 65 deletions(-) > > -- > > Gentle ping. Any comments on the following patches: genirq: Provide new interfaces for affinity hints scsi: megaraid_sas: Use irq_set_affinity_and_hint scsi: mpt3sas: Use irq_set_affinity_and_hint enic: Use irq_update_affinity_hint be2net: Use irq_update_affinity_hint mailbox: Use irq_update_affinity_hint hinic: Use irq_set_affinity_and_hint or any other patches?
Nitesh, > Gentle ping. > Any comments on the following patches: > > scsi: megaraid_sas: Use irq_set_affinity_and_hint > scsi: mpt3sas: Use irq_set_affinity_and_hint Sumit and Sreekanth: Please review. Thanks!
On Thu, Aug 5, 2021 at 11:06 PM Martin K. Petersen <martin.petersen@oracle.com> wrote: > > > Nitesh, > > > Gentle ping. > > Any comments on the following patches: > > > > scsi: megaraid_sas: Use irq_set_affinity_and_hint > > scsi: mpt3sas: Use irq_set_affinity_and_hint > > Sumit and Sreekanth: Please review. > > Thanks! > > -- > Martin K. Petersen Oracle Linux Engineering > Thanks, Martin, Sumit & Sreekanth for the help. -- Nitesh
On Mon, Aug 2, 2021 at 11:26 AM Nitesh Lal <nilal@redhat.com> wrote: > > On Tue, Jul 20, 2021 at 7:26 PM Nitesh Narayan Lal <nitesh@redhat.com> wrote: > > > > The drivers currently rely on irq_set_affinity_hint() to either set the > > affinity_hint that is consumed by the userspace and/or to enforce a custom > > affinity. > > [...] > > Gentle ping. > Any comments on the following patches: > > genirq: Provide new interfaces for affinity hints > scsi: megaraid_sas: Use irq_set_affinity_and_hint > scsi: mpt3sas: Use irq_set_affinity_and_hint > enic: Use irq_update_affinity_hint > be2net: Use irq_update_affinity_hint > mailbox: Use irq_update_affinity_hint > hinic: Use irq_set_affinity_and_hint > > or any other patches? > Any comments on the following patches: enic: Use irq_update_affinity_hint be2net: Use irq_update_affinity_hint mailbox: Use irq_update_affinity_hint hinic: Use irq_set_affinity_and_hint or any other patches? Any help in testing will also be very useful.
On Mon, Aug 16, 2021 at 11:50 AM Nitesh Lal <nilal@redhat.com> wrote: > > On Mon, Aug 2, 2021 at 11:26 AM Nitesh Lal <nilal@redhat.com> wrote: > > > > On Tue, Jul 20, 2021 at 7:26 PM Nitesh Narayan Lal <nitesh@redhat.com> wrote: > > > > > > The drivers currently rely on irq_set_affinity_hint() to either set the > > > affinity_hint that is consumed by the userspace and/or to enforce a custom > > > affinity. > > > > [...] > > Any comments on the following patches: > > enic: Use irq_update_affinity_hint > be2net: Use irq_update_affinity_hint > mailbox: Use irq_update_affinity_hint > hinic: Use irq_set_affinity_and_hint > > or any other patches? > Any help in testing will also be very useful. > Gentle ping. Any comments on the following patches: be2net: Use irq_update_affinity_hint hinic: Use irq_set_affinity_and_hint or any other patches? -- Thanks Nitesh
On Mon, Aug 30, 2021 at 11:38 AM Nitesh Lal <nilal@redhat.com> wrote: > > On Mon, Aug 16, 2021 at 11:50 AM Nitesh Lal <nilal@redhat.com> wrote: > > > > On Mon, Aug 2, 2021 at 11:26 AM Nitesh Lal <nilal@redhat.com> wrote: > > > > > > On Tue, Jul 20, 2021 at 7:26 PM Nitesh Narayan Lal <nitesh@redhat.com> wrote: > > > > > > > > The drivers currently rely on irq_set_affinity_hint() to either set the > > > > affinity_hint that is consumed by the userspace and/or to enforce a custom > > > > affinity. > > > > > > > > [...] > > > > > Any comments on the following patches: > > > > enic: Use irq_update_affinity_hint > > be2net: Use irq_update_affinity_hint > > mailbox: Use irq_update_affinity_hint > > hinic: Use irq_set_affinity_and_hint > > > > or any other patches? > > Any help in testing will also be very useful. > > > > Gentle ping. > Any comments on the following patches: > > be2net: Use irq_update_affinity_hint > hinic: Use irq_set_affinity_and_hint > > or any other patches? Also, I have been trying to reach Bin Luo who maintains the hinic driver but it seems his email ID has changed so if someone else can help in reviewing/testing the hinic patch, it would be really helpful.