Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp151356rwb; Tue, 15 Nov 2022 21:07:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf6DWJXFDChU6VQRUkl4m2Ogt2PZVAvq+yAeqd4sUkMlf2yPRCexlJXU/5Jf6Xlhasb0gPiA X-Received: by 2002:a17:907:2074:b0:7ad:d411:30af with SMTP id qp20-20020a170907207400b007add41130afmr16289997ejb.636.1668575246902; Tue, 15 Nov 2022 21:07:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668575246; cv=none; d=google.com; s=arc-20160816; b=obuxXB3KPOKtio5F+2MhizO7e1ueDMhx6lNDBtC73yEyKnrhsQj6wibWEC5iemlPW5 E11d511D462KdPdbEuygxRYDslB7VEvZV+MTCUmSK+4DYUgXGexQo1bNEKts0vb+0DNu a6j0U7lZE+ZqnyhQOMUppb6jXekbJQRb3QicnqtYPMdjJvNfeAulFckjRyqD6u6sXzAT YH+XO1G05AFHB9dPOuT/dTE3bA1yVWAojZzK5wtD42nKYcJuxsuNDvn3hGnKG8+o/+pA 6n1Zj9cXp6lvjI2bRIcmvL6u2XTOstmEsps2vbactTLODDxpZdzCGELC77FDIzZpivJ8 K9/w== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=1zIzDKHHVNaVurdU/es7VrrKvHMyE/kDIQtf0pEpjIw=; b=R4T95XTS/61gi2jA5wX8umLHKl33o6op/TPnK8K0QwXMThYvgkVU56XtSwre7dUfBY +/nUx3X7x8hR4MUTHFLsoX4p9MHjG7Pt9HWkl3G67OJJrLacSBeeQ78tyW8Hp5fuLZxZ lepP6ZLf+FdvH0p6vmFdunvUPU9Mi+9/UYBn+CDmWBRBm3LFTllERM7gtSAwl+UrGno1 ArEFhrsrxifm1qUKVQT3xh3jEfJSF2ZWBWPsbh63UcT8jnsTvw261vWZeO03Qstx0qvH ZeiwZpXxgG8TLm6yESyzLDwpThFDvxJ48vMiA2QMo5Dp29HcuNnbhkfll2W8Sl6CsNeQ 0Jjg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z13-20020a05640240cd00b004663240e1f7si13897032edb.620.2022.11.15.21.07.03; Tue, 15 Nov 2022 21:07:26 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231542AbiKPEDM (ORCPT + 90 others); Tue, 15 Nov 2022 23:03:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229958AbiKPEDK (ORCPT ); Tue, 15 Nov 2022 23:03:10 -0500 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C44391E3EC; Tue, 15 Nov 2022 20:03:09 -0800 (PST) Received: by mail-pl1-f171.google.com with SMTP id g24so15310949plq.3; Tue, 15 Nov 2022 20:03:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1zIzDKHHVNaVurdU/es7VrrKvHMyE/kDIQtf0pEpjIw=; b=D+Dlj71vTioFw5aoFSqADw++/kUzanUTlYOQ7fNeSSjMyycrCR5pZhMeEJnkbqejcL LCCSFSnafpI5ssaa8POK0gcuW/Pw2DoQXy3ETf5PhEBkMpA7JxjClb0TQCXu2Wa34FNU paxEH9ZS+Smwlv0g1rjPoaXrow8a/svdMvaXfNRidTkqKBrFWYad/XgPkl6zJsV8VsDe ktLzqza/cEzYtGUx74382Cx01ZOtKLKnJQzlcTeXkB5TSprKJ3jLyCQH8Haaa+4SiKtE RmvJ+DvB7CJwQ75cNo6yH8rme3Eh9bGnpCXc6lr7VCy0DMpwD3MIByKOGAnmtW3WLsCq f3qA== X-Gm-Message-State: ANoB5plbaNnxF6tUPO7irZmLJYu/BThk6sbTxnIKk+p0P70RfRudN0jn 5Vs+jCTJiw6fbpcB5ggOi8U= X-Received: by 2002:a17:90a:3f89:b0:217:90e0:3f8c with SMTP id m9-20020a17090a3f8900b0021790e03f8cmr1687555pjc.192.1668571388739; Tue, 15 Nov 2022 20:03:08 -0800 (PST) Received: from rocinante (fpd11144dd.ap.nuro.jp. [209.17.68.221]) by smtp.gmail.com with ESMTPSA id nl8-20020a17090b384800b0020d48bc6661sm390550pjb.31.2022.11.15.20.03.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Nov 2022 20:03:08 -0800 (PST) Date: Wed, 16 Nov 2022 13:03:01 +0900 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Andy Shevchenko Cc: =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= , Mika Westerberg , Michael Ellerman , Arnd Bergmann , Bjorn Helgaas , "Rafael J. Wysocki" , Pali =?utf-8?B?Um9ow6Fy?= , Juergen Gross , Dominik Brodowski , linux-kernel@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, linux-pci@vger.kernel.org, xen-devel@lists.xenproject.org, Miguel Ojeda , Richard Henderson , Ivan Kokshaysky , Matt Turner , Russell King , Thomas Bogendoerfer , Nicholas Piggin , Christophe Leroy , "David S. Miller" , Bjorn Helgaas , Stefano Stabellini , Oleksandr Tyshchenko Subject: Re: [PATCH v3 0/4] PCI: Add pci_dev_for_each_resource() helper and Message-ID: References: <20221114185822.65038-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221114185822.65038-1-andriy.shevchenko@linux.intel.com> X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Hello, > Provide two new helper macros to iterate over PCI device resources and > convert users. > > Looking at it, refactor existing pci_bus_for_each_resource() and convert > users accordingly. > > This applies on top of this patch Mika sent out earlier: > https://lore.kernel.org/r/20221114115953.40236-1-mika.westerberg@linux.intel.com > > Changelog v3: > - rebased on top of v2 by Mika, see above > - added tag to pcmcia patch (Dominik) [...] Thank you Andy for all the improvements and Mika for the idea! For the whole series: Reviewed-by: Krzysztof WilczyƄski Looks very nice! Krzysztof