Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp595282rwi; Wed, 2 Nov 2022 15:57:58 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5RyNlWUlI0VhNNU0xiM/zR02axHhAP9Ihzg600amTvKFfF9U/tlEdGiR9xhE2M1Rg+8t0g X-Received: by 2002:a17:90a:6e4c:b0:213:2058:f456 with SMTP id s12-20020a17090a6e4c00b002132058f456mr28354724pjm.186.1667429878020; Wed, 02 Nov 2022 15:57:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667429878; cv=none; d=google.com; s=arc-20160816; b=zUPq5Dp7xoMVMzz6B0nL2BnKLbraAQ2aKGVUvSp1VMPv+sggZ57n//kBPUuebZWCyN LCSXPtmi1RsClDHnHSMH5GHv3acLQIHDpV1GkR5lzOkt1fJOlF9lEv06kWD9hYp1lc+C e2NbGgH7s9Kff13QCr11wlQTmSC/VLVVtqPX7T/8eoiJbZ+4LaIBeKGsWhq7ywHvJI6y wISBgN79Ewv/RxsRKVbl9gB3I6Lui65ashWpvG1Pzg3HgcSF3+2dkNt8Fzrs2PAM41I1 7XaLnwfxx4n3iiGGMmxSiHxp5Bh2PeGfuau+k5tUjiFj9u/qacewsiGWlIlZOkQ67eUI JcyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=ykGeZXBqBe2UkIT62SQolqrwMt7eIy7/rUmC6bmOxTM=; b=wYrjgOFKO172NbSMFy2VDeav1UyzVILdvt4LBMnBSNTGvBqhXvZPWPFfv4Xbikw7E9 sCjJQxBwJCaFx3UiitbYHRpw/oT83smbyqpeGSaGmjjq4BSunC5PC72lUc6QBNYvzTvV CVNUcjfkcpHeJzyyH3lHig2kNv18E+gAJ3KnbHnPc5DSJ8ttXoqyC3nlPdD2vGWQzpte jzzO43lrf4tnTdlGbG8DpXQgAAxaUOz7uSE54NjCS4iiETVDAM4ZOw8SZSAfW9X7ETrw VFAPaw0aygZQJo4/8FZ3wI1ZBvBR6Abpov3wjRYEIRwVWu7hosAG55+jcVr6tGj9fZra 1SXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lkNj5+hE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q71-20020a17090a1b4d00b0021409ca96c2si3590694pjq.23.2022.11.02.15.57.44; Wed, 02 Nov 2022 15:57:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lkNj5+hE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230073AbiKBWye (ORCPT + 98 others); Wed, 2 Nov 2022 18:54:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230242AbiKBWyJ (ORCPT ); Wed, 2 Nov 2022 18:54:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD455DED9; Wed, 2 Nov 2022 15:54:08 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7590061C63; Wed, 2 Nov 2022 22:54:08 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9370BC433C1; Wed, 2 Nov 2022 22:54:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1667429647; bh=szbfqZa0C5YWU/D4uudQpUJ6fj3QVdxllMIIA78eON8=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=lkNj5+hEJDf00QkTXN+DBNDh7TmU5jfOLeok5fAbOqwLKGigs6IKnvUL+PJRPKDf9 PDbiTtTL2nak0UwFZ7ENPKw9oYvOCKJpowuvNMVaAMBN1OKAagRvr895wDmV0MWWDt XaVFRHLFaNzKL+bXBp6fG2q/bNDq+W142o8DfuitPUqjf50wmf9YqkQvP1yoIlGYts 3N91VWuMA0SW+BpNcSs8CpsIzzZdi1cYp1PWVUf5+S1boFCXmCNymLFIAuHaZf8j/7 HOhmrNb3Mn9twFdjXcYy6A5+1tBF9X4wwppm63fzoC6Vuo3UkiYGRthngB1a9L9uEw WFs8FGmKnGD4A== Date: Wed, 2 Nov 2022 17:54:06 -0500 From: Bjorn Helgaas To: Davidlohr Bueso Cc: Jonathan Cameron , Dan Williams , Ira Weiny , dave.jiang@intel.com, alison.schofield@intel.com, bwidawsk@kernel.org, vishal.l.verma@intel.com, a.manzanares@samsung.com, linux-cxl@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas , linux-pci@vger.kernel.org, Christoph Hellwig Subject: Re: [PATCH 1/2] cxl/pci: Add generic MSI-X/MSI irq support Message-ID: <20221102225406.GA5803@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221102171524.thsz2kwtirhxn7ee@offworld> X-Spam-Status: No, score=-8.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 02, 2022 at 10:15:24AM -0700, Davidlohr Bueso wrote: > On Tue, 25 Oct 2022, Bjorn Helgaas wrote: > ... > > The MSI case is ugly because the Interrupt Message Number can change > > when we set Multiple Message Enable. Maybe we can separate it out and > > have a less than optimal solution for this case, like allocating one > > or two vectors and polling if that's not enough. I expect most > > devices will support MSI-X. > > Would only supporting MSI-X be so terrible? My gut feeling is that polling when MSI-X isn't supported wouldn't be terrible, but I have no data on how common devices that only support MSI are. Bjorn