Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp629125ybg; Tue, 9 Jun 2020 08:55:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxhj7v7fK06EluuGK5GPUdg2cSOwna5Aud3tvD9zUmpt/GrDwqYSKhyJ0t7o1JZvxyKhqci X-Received: by 2002:a17:906:2e9a:: with SMTP id o26mr25647006eji.538.1591718140749; Tue, 09 Jun 2020 08:55:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591718140; cv=none; d=google.com; s=arc-20160816; b=j1srwpEFtDHb16dG4rl71DRYi6Ti4OVF9Q/ImshmwuEqD61wSDDX3cEzbbQRqoS6s4 qd2FdAFS8cf0+yE+mUlN66S9ouf/X4ARe3/S4mAOF6xqLkw9BE6uEJMsnXYIs2rLSGqi LDt+GhVcU9/sCR9szC1gjiozEObl17/AVLk7A+ZNN9k4TyIO1WdMjW26oF+k1neQ+WP4 Cz+zGyuWR1wOCIQYUnuYHSv8IuO9hj61gFyL8stlDXTjqdE4q7TpWcfCRDLQZIQYqiQm XkdqJU1YXqnkJpAhR+O7DYgJNsIynxiLgBpiNPDZKrsuLHzEfeNZZfa0LdXtC11/qKtR PjxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=vC8V+aEno7HGDbaQpVa4ZBc8i79Usy689nIDntg7S3Y=; b=XWOGPKGf1hxBY0IJSgMt0W6GTwEnavQbqnRlfXkx+QV/MECgYW+fqtj56kNfY8jm3Y XhEki2SmeuHg9qNsDLP/0GsU3eonUQ1/0I1MlhnG58Y4AoaCPmoz8wjh60vZ7aENDlZL FkhceHa3lGiJ1TrdXuDomhLUrN9nfIOdGaovHWuhrSER+7G4VOszAvIcvMI0K5xJmQXh Zt8pma0l+k5Ytx7h2XcxbR6tG7jm8HCf0Z3WOZztz14vVz9iwgBfuRVJC1mG6x/9EkSc TfpuYG0mzlbpPkTWutEWfOVm9x3uog1vHHeoYDGrL036K6vgqPXUu6R/mS0/T/APAMhn iphg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VAL71rjp; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qn20si10373141ejb.367.2020.06.09.08.55.17; Tue, 09 Jun 2020 08:55:40 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=VAL71rjp; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730952AbgFIPv1 (ORCPT + 99 others); Tue, 9 Jun 2020 11:51:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730603AbgFIPv1 (ORCPT ); Tue, 9 Jun 2020 11:51:27 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 993CBC05BD1E; Tue, 9 Jun 2020 08:51:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=vC8V+aEno7HGDbaQpVa4ZBc8i79Usy689nIDntg7S3Y=; b=VAL71rjpnJm1wjZrTaRm0cyHc+ Lu7Palz6Uv26rhNL5PglxtMJfNtnk4wM6LuwN+LFfR1soMcZSKT5/wqpb0PV5BoHkrC48JpkrmuDI yNh2oWICb96YEFv3oSt4q+ZgncoiC3ePWVXSxIWMT5tKMYVqPaCRhsWT2P6T5uz0Yjo9NdRyTV5VZ wewZ2C+xjpvEre+j4hOP7R6RMq5gCDYVSDxDmxCtYXYRKkBlvbGrO2IkOo7RFvMC7HYv6FZDRQBFl 42VLjDtvgGV0AuxzA25TmoEr9QeG/k1E4OVJcjtt+4W58IquDw67QFzsyrJ+JMyYBiAmgzGBm12Sb u2zdDHUw==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jigX6-0003SL-TY; Tue, 09 Jun 2020 15:51:24 +0000 Date: Tue, 9 Jun 2020 08:51:24 -0700 From: Christoph Hellwig To: Piotr Stankiewicz Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, Kurt Schwemmer , Logan Gunthorpe , Mika Westerberg , "Rafael J. Wysocki" , Andy Shevchenko , Olof Johansson , Kuppuswamy Sathyanarayanan , Kelvin Cao , Wesley Sheng , "Peter Zijlstra (Intel)" , Krzysztof Wilczynski , Sebastian Andrzej Siewior , linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 03/15] PCI: Use PCI_IRQ_MSI_TYPES where appropriate Message-ID: <20200609155124.GB2597@infradead.org> References: <20200609091148.32749-1-piotr.stankiewicz@intel.com> <20200609091650.801-1-piotr.stankiewicz@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200609091650.801-1-piotr.stankiewicz@intel.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 09, 2020 at 11:16:46AM +0200, Piotr Stankiewicz wrote: > Seeing as there is shorthand available to use when asking for any type > of interrupt, or any type of message signalled interrupt, leverage it. > > Signed-off-by: Piotr Stankiewicz > Reviewed-by: Andy Shevchenko > Reviewed-by: Logan Gunthorpe The patch actually adding PCI_IRQ_MSI_TYPES still didn't show up on linux-pci. But from the person who added PCI_IRQ_*: NAK to the whole concept of PCI_IRQ_MSI_TYPES, I think this just makes the code a lot more confusing. Especially with the new IMS interrupt type, which really is a MSI-like interrupt but certainly shouldn't be added to this mask.