Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3311425pxv; Mon, 12 Jul 2021 14:28:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy8vP+vufMTgqqy6+3DEd1I7Ba1m3dIldTfb5+oJnVc8OtgmhIKpeAbhrOZgpC9MB1+WejV X-Received: by 2002:a05:6e02:c2e:: with SMTP id q14mr614977ilg.2.1626125316038; Mon, 12 Jul 2021 14:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626125316; cv=none; d=google.com; s=arc-20160816; b=oHGjWGXi5IBCcFMxT0ItKw2kSYnzR7hSzup62nEwvPd7HO2hN4sGpxN6/Pj3iM4SNa P5O3euDfORa2zY1QstuXBiaNJkWjacv9ywX4UehR/yUlOkiLFpQdNKrLcxJn/qIqoCGU y78kKSRg1kiP/wqcR1bFQsEqmdtlLsoyugtbigjt9AxGqNg1y5+NQ6Dp22CJGuSuHtrL gOIyRsg1GwCJhAE/c63G4HrjLs0NfUPBVb+YFG00JJCxrDQ/l2OXNuyTfiUwGFS5rkk0 73OlJyXcwQW96WWNhRZOAaQYcU7UM3eCOzjPA7Xl06PTtoTAe2zKkTbUwC3hglnFA3nF l+7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=50O7XoIosnaTFvNclTBE2xrsoJwPx7yETNcoEdpke38=; b=WxW7+lMxjRaD2+HRA/rXRbOHi0DTVqY4WlaYMqEMN4jz+2nWMRuHt7HO2jvf4tcrT4 ocZfjntEEC83AdiM/oF9axnGT09Wb7Yi23mTA483210ajvTt2t2cwA5fcVCw4zojbZ/5 d04jvxrUVvaNsCPp1GMqTbPqZmnQ909vj534lHgQlJ7360hd/k5+xKAdqzqbMUH1fAlj V6YWIRlTxI745HyUKD1RPRw+f1OnTviHIk11awculrdGNnUMgu2pWKJfzaU+0DWXrZRM 6VVLTEOgCKQcQdej9uoBd8j6Xky+Yjkcli3Tq93uDos93QDz7G7CDV/6Gv8k4NkWHar/ OxQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=F9a2vVjJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j8si18164234ilq.125.2021.07.12.14.28.21; Mon, 12 Jul 2021 14:28:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=F9a2vVjJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234689AbhGLVaK (ORCPT + 99 others); Mon, 12 Jul 2021 17:30:10 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:39456 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233663AbhGLVaJ (ORCPT ); Mon, 12 Jul 2021 17:30:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626125240; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=50O7XoIosnaTFvNclTBE2xrsoJwPx7yETNcoEdpke38=; b=F9a2vVjJoBp/q7ULwV97nPFogI780NA5wiy4Zsx2/4wfi97ES/UVypkx4FD9fVrdgCKdwX W9zFLW2qGLPQQmUPgdlJcFFkBh7tW4+QBIG3spohSPp3Lvvv9KwU3IkK/jZNChFcNA3SvT HXlSat2NOnIwOX54vDBtXH97Tpu4AKk= Received: from mail-lj1-f197.google.com (mail-lj1-f197.google.com [209.85.208.197]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-255-GeJbwfWFOSCVoIez43RAIQ-1; Mon, 12 Jul 2021 17:27:19 -0400 X-MC-Unique: GeJbwfWFOSCVoIez43RAIQ-1 Received: by mail-lj1-f197.google.com with SMTP id y7-20020a2e97870000b029018bc821fd31so2882123lji.11 for ; Mon, 12 Jul 2021 14:27:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=50O7XoIosnaTFvNclTBE2xrsoJwPx7yETNcoEdpke38=; b=JMEaXvo9QGjq4/QEhccXbXJdSlDTjlhf3wNpy0Kw39RL2GHgOceLcvW2YH/RqoraNa EikndLvCSnFZ3g8+WDiZaR0mSsI0pW9DKo0uu/MWlYsNhwGXD5/0KOFrUyNSKg0QVldR bNQyFgyvq/UThgjtniZ4aZVRUCJK1MwtrjJ7sPpqAAtUmeD1Z9uNwBaDBAhEdiU4r8Ex Of9BzXSwfXbd8OIj2/p61DW/ZOMsJHrs8T/9kODs//oXj8GX7WJU4S7A/iXXbNPPizSQ lLq0K+emsDUtNtIqfHOpH25QeC5LAHqYAmwaSAsEnIu48L0ejOKylCgzKOgicMUXfcDO JaGQ== X-Gm-Message-State: AOAM533HJsyyG0/WEs6hWrRnBAaTA8DI0hV+z902lWdDuwqiB0e1NZ8O 4vHqLVvu4zgJX/kvZWJCSMNjmaT9nzgRNcLmCSqrPaBd8cYgbM5CtgJa7ow6WgjQj79BlQd4lP+ w+M/1cXmjmYIUiMX3fgzlymEx+w8exBYxf3FphcmR X-Received: by 2002:a05:6512:33d3:: with SMTP id d19mr632518lfg.114.1626125237455; Mon, 12 Jul 2021 14:27:17 -0700 (PDT) X-Received: by 2002:a05:6512:33d3:: with SMTP id d19mr632454lfg.114.1626125237173; Mon, 12 Jul 2021 14:27:17 -0700 (PDT) MIME-Version: 1.0 References: <20210629152746.2953364-1-nitesh@redhat.com> In-Reply-To: From: Nitesh Lal Date: Mon, 12 Jul 2021 17:27:05 -0400 Message-ID: Subject: Re: [PATCH v2 00/14] genirq: Cleanup the usage of irq_set_affinity_hint To: Leon Romanovsky Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, netdev@vger.kernel.org, linux-api@vger.kernel.org, linux-pci@vger.kernel.org, Thomas Gleixner , Jesse Brandeburg , Robin Murphy , Marcelo Tosatti , Ingo Molnar , jbrandeb@kernel.org, frederic@kernel.org, Juri Lelli , Alex Belits , Bjorn Helgaas , rostedt@goodmis.org, peterz@infradead.org, davem@davemloft.net, akpm@linux-foundation.org, sfr@canb.auug.org.au, stephen@networkplumber.org, rppt@linux.vnet.ibm.com, chris.friesen@windriver.com, Marc Zyngier , Neil Horman , pjwaskiewicz@gmail.com, Stefan Assmann , Tomas Henzl , kashyap.desai@broadcom.com, Sumit Saxena , shivasharan.srikanteshwara@broadcom.com, sathya.prakash@broadcom.com, Sreekanth Reddy , suganath-prabu.subramani@broadcom.com, james.smart@broadcom.com, dick.kennedy@broadcom.com, Ken Cox , faisal.latif@intel.com, shiraz.saleem@intel.com, tariqt@nvidia.com, Alaa Hleihel , Kamal Heib , borisp@nvidia.com, saeedm@nvidia.com, benve@cisco.com, govind@gmx.com, jassisinghbrar@gmail.com, ajit.khaparde@broadcom.com, sriharsha.basavapatna@broadcom.com, somnath.kotur@broadcom.com, "Nikolova, Tatyana E" , "Ismail, Mustafa" , Al Stone Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Leon, On Sun, Jul 11, 2021 at 7:32 AM Leon Romanovsky wrote: > > On Thu, Jul 08, 2021 at 03:24:20PM -0400, Nitesh Lal wrote: > > On Tue, Jun 29, 2021 at 11:28 AM Nitesh Narayan Lal wrote: > > <...> > > > > > > > drivers/infiniband/hw/i40iw/i40iw_main.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 | 6 +-- > > > 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, 113 insertions(+), 64 deletions(-) > > > > > > -- > > > > > > > > > > Gentle ping. > > Any comments or suggestions on any of the patches included in this series? > > Please wait for -rc1, rebase and resend. > At least i40iw was deleted during merge window. > In -rc1 some non-trivial mlx5 changes also went in. I was going through these changes and it seems after your patch e4e3f24b822f: ("net/mlx5: Provide cpumask at EQ creation phase") we do want to control the affinity for the mlx5 interrupts from the driver. Is that correct? This would mean that we should use irq_set_affinity_and_hint() instead of irq_update_affinity_hint(). -- Thanks Nitesh