Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3881453pxu; Wed, 9 Dec 2020 03:05:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTCzgqUZvcADC7tjBUmAaZufIjY+v9S43Sigs8pz1HjUuEbZUMiqotHPBN0K2x3zBsJjL9 X-Received: by 2002:a17:907:28d4:: with SMTP id en20mr1640211ejc.196.1607511924816; Wed, 09 Dec 2020 03:05:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607511924; cv=none; d=google.com; s=arc-20160816; b=Q95wrQRc4XPTMW7obT3y4kH0Zi1ZcSYHLmK6E7K9YZQ1baOxOp1B4jp7i6YNlf+3NO lkYpKw9BUMYfteNm/QA8nCIyvnj2uRi5mvhVQrZ+DE95Ek/4ZOikaY9AYnqK0ym1041A DvYQCqRZTfvGo2I1GC9WxsuOge9d/2JyOKYw4e3MrtsHjCt6q6DHg09c+mQKXWnnd7Eh TzKLjrvO2r4BXJzyHncl7tzzn8o3kwOBWrOMlDEOeuAlcYmfYm3z4y9BXp8hM5wwWUm1 Igw/rqWscdVBskbASLAYFvUNiXxNigAWVegtzI5da9aSTwMMZomid0KhL0WLrJX3SDcx 42Qw== 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=MKsZH2+iAwgUh8UDFh2dZripOeDuPzMh57usXeoy0CY=; b=HEmKM8Ksx5rD+F0Vg1RRXcXXA+UpoI0URWPRoYRcdjQ4zUCqgse1lrnafX1EeiR9VX K0swSx23+3uexOrjA7vN13uGnXD0B1t0PcPhxFqBS9A5DMUIrNTtVkAfOFXJKHUFiRD+ 4/iMhQ7WcTJWTPAVVucdsevKVuQOU86/zo2mTt3XwaYKupnAJeRksqs7CRJVX8ooXXKa yMdNT3G+xJMmVgqK5MYcRzgHchTqt0BfGwVyJEl23mH7oZ3tlSUwnlUGkEkqfG1Kye/x swLemNn4GI5pGW7EIisNuOXCXnY17gMNG/1tEVqPXEJ4P772+FBGHXd+SkqL4Fpi6NYx VImQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=PtobN+qk; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s21si649275edc.368.2020.12.09.03.05.01; Wed, 09 Dec 2020 03:05:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-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=@gmail.com header.s=20161025 header.b=PtobN+qk; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730402AbgLILCB (ORCPT + 99 others); Wed, 9 Dec 2020 06:02:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730267AbgLILBx (ORCPT ); Wed, 9 Dec 2020 06:01:53 -0500 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF3CAC061793; Wed, 9 Dec 2020 03:01:12 -0800 (PST) Received: by mail-pg1-x543.google.com with SMTP id f17so960985pge.6; Wed, 09 Dec 2020 03:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MKsZH2+iAwgUh8UDFh2dZripOeDuPzMh57usXeoy0CY=; b=PtobN+qkKZTUIm3Z46jtCxqfPZ5qOx/6dvovA1iYTJVDHmFO+a2rhs1758yYTQ+k4H o+5J6j5AcNAMVeVpAp7vrMoSmL9KXngG20Ofzoa8DD8mtK+wyf/NJjewzF9hQAzLYLtI 6jblrmw8z2XCD01SDZV2iVGyQGwZjOwtsWcq617+ls42mGL8ToyUg5SD6LFXYUW2U6h3 U9LjeXul43ThJ2AMcEjBnViTOaJBQvRRg4jzV9bisZIWbW2Uza4DWd52hGGr6Rd9fNfk jQhCZKyX4NjyrFTdnLHHi2jtUoUgnyNgsrm+7bZIwv6MRpisKQreDrwtfpcx3O+Un+PG /rnQ== 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=MKsZH2+iAwgUh8UDFh2dZripOeDuPzMh57usXeoy0CY=; b=tiShoyIbXXM14gt+VqGDTvbTN0ybOMGh/KnUHQdnkqgapcrDzZNnNCnbx9hbXFg1uz fNw5jSwSQzJNuvcyV4+RZM8nDvkOW8L0LVVVFb8opthLrCcew5upV5HnaoAKyWpQvjhq HHk0AbMMNwUs8WPo5tEMofNwnJy8hKqHPRz8YULKGKsCP+AyT9JB8ZvxLm0PauZMykbI PV/53LJaz3w2WjRtg34ofjxQXSUNRmUKEhix5vk4ddAy1c1iMpFEeVUvXXz3E3jAmMTC +LVmfwnZD3wQ3J+hFjNNsCilX4x3xnHhg1FCQeLIRUFp9udAnkxBIvAIRwUdFpCJ+D9W Aw8A== X-Gm-Message-State: AOAM532JbjzXP99PqudCrnGvLYAzjrRNB5R3u7EC23/9KatbdXM/jAo6 YjKSXwdNU4D82oO0dYIw62br/Q3XOEsP88KbTNU= X-Received: by 2002:a63:b1e:: with SMTP id 30mr1440855pgl.203.1607511672453; Wed, 09 Dec 2020 03:01:12 -0800 (PST) MIME-Version: 1.0 References: <4d535d35-6c8c-2bd8-812b-2b53194ce0ec@gmail.com> In-Reply-To: From: Andy Shevchenko Date: Wed, 9 Dec 2020 13:02:01 +0200 Message-ID: Subject: Re: [PATCH] PCI: Remove pci_try_set_mwi To: Heiner Kallweit Cc: Bjorn Helgaas , Jonathan Corbet , Jens Axboe , Viresh Kumar , Andy Shevchenko , Dan Williams , Vinod Koul , David Miller , Lee Jones , Ion Badulescu , Jakub Kicinski , Lino Sanfilippo , Christian Lamparter , Kalle Valo , Luis Chamberlain , Adam Radford , "James E.J. Bottomley" , "Martin K. Petersen" , James Smart , Dick Kennedy , Nilesh Javali , GR-QLogic-Storage-Upstream@marvell.com, Greg Kroah-Hartman , Jiri Slaby , Peter Chen , Felipe Balbi , "linux-pci@vger.kernel.org" , Linux Documentation List , Linux Kernel Mailing List , linux-ide@vger.kernel.org, dmaengine , "netdev@vger.kernel.org" , linux-parisc@vger.kernel.org, linux-wireless , SCSI development list , "open list:SERIAL DRIVERS" , Linux USB Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, Dec 9, 2020 at 12:59 PM Andy Shevchenko wrote: > On Wed, Dec 9, 2020 at 10:35 AM Heiner Kallweit wrote: ... > > -int pci_try_set_mwi(struct pci_dev *dev) > > -{ > > > -#ifdef PCI_DISABLE_MWI > > - return 0; > > -#else > > - return pci_set_mwi(dev); > > -#endif > > This seems still valid case for PowerPC and SH. I see that pci_set_mwi() also has the ifdeffery (I thought it's only here), so it's fine. > > -} > > -EXPORT_SYMBOL(pci_try_set_mwi); -- With Best Regards, Andy Shevchenko