From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 641DAC43219 for ; Mon, 29 Apr 2019 21:15:00 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 31496215EA for ; Mon, 29 Apr 2019 21:15:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rM/Q0eLW"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="YxHibykQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 31496215EA Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1SOgrxarsNFHJT2v0FFRjaBwQGAmdqDFYkdwo344LiM=; b=rM/Q0eLW9HFD57 VYg3sfEhqAu6o1+5NLv/5I/o/n6LwNxMTAVbHX3zZ2/2vrebwtOa3l8lr7bGMtO6a2MvalD5CBTsg NY+E3OGwv2RMsLariDM0hNCAJmZlu27UmU2asAK6SSsKASoq1i5uUBnbxu4SmoFAhB42WuMSD5p5Y tVQ6Mx8eINmswWsOXF/YJBJwxkIMjxEa6ITybBjUruC52dSq9qOm0+uCNxZQ91FnRlpip6IY6+TtB TGc7lZdpNXEJdBaEEvCA0+TQzDwwRTWBW/MXp/bFZxZ6TRf73Gi8OQeh/zbu7K/cEwlWU8x0WHtFm I09w6+Ee+yh02RmU3ecg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLDbv-0004c7-G6; Mon, 29 Apr 2019 21:14:51 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLDbs-0004bi-KE for linux-arm-kernel@lists.infradead.org; Mon, 29 Apr 2019 21:14:49 +0000 Received: from localhost (odyssey.drury.edu [64.22.249.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 95338215EA; Mon, 29 Apr 2019 21:14:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556572487; bh=XX0aTJglLKQg7dsZbY4eNn1vqzsBT3b0Sj+xLrzx0yk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YxHibykQtphUqTaLCrPFMVUnoPuwdK1iYO2VrtH44UQZDBpPNEIgM+EQM+ho0ajOH U7bQco5v19ubB1D43u2lfNBs8KvFl6/Tbwn+o5UIMte+7mdc6Euc/IXTI8nadeZc+Z 9qxqwwsQIbuhid6oF/FqEvGGNc8TC6PpId9D37hU= Date: Mon, 29 Apr 2019 16:14:46 -0500 From: Bjorn Helgaas To: Heiner Kallweit Subject: Re: [PATCH v2 0/9] PCI: add help pci_dev_id Message-ID: <20190429211446.GA145057@google.com> References: <2e1f9a57-6d08-d017-24da-3e6b97fa2449@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2e1f9a57-6d08-d017-24da-3e6b97fa2449@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190429_141448_697805_6388A4CB X-CRM114-Status: GOOD ( 12.84 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , Benjamin Herrenschmidt , "open list:AMD KFD" , Paul Mackerras , "moderated list:ARM/STM32 ARCHITECTURE" , "David \(ChunMing\) Zhou" , Michael Ellerman , Joerg Roedel , "open list:RADEON and AMDGPU DRM DRIVERS" , Jose Abreu , "open list:PCI SUBSYSTEM" , Realtek linux nic maintainers , Alexandre Torgue , Stephen Rothwell , Alex Deucher , Giuseppe Cavallaro , Benson Leung , "moderated list:ARM/STM32 ARCHITECTURE" , Oded Gabbay , Maxime Coquelin , "open list:8169 10/100/1000 GIGABIT ETHERNET DRIVER" , open list , Christian =?iso-8859-1?Q?K=F6nig?= , "open list:AMD IOMMU \(AMD-VI\)" , Daniel Vetter , Enric Balletbo i Serra , David Woodhouse , "David S. Miller" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Apr 24, 2019 at 09:10:21PM +0200, Heiner Kallweit wrote: > In several places in the kernel we find PCI_DEVID used like this: > PCI_DEVID(dev->bus->number, dev->devfn) Therefore create a helper > for it. > > v2: > - apply the change to all affected places in the kernel > > Heiner Kallweit (9): > PCI: add helper pci_dev_id > PCI: use helper pci_dev_id > r8169: use new helper pci_dev_id > powerpc/powernv/npu: use helper pci_dev_id > drm/amdkfd: use helper pci_dev_id > iommu/amd: use helper pci_dev_id > iommu/vt-d: use helper pci_dev_id > stmmac: pci: use helper pci_dev_id > platform/chrome: chromeos_laptop: use helper pci_dev_id > > arch/powerpc/platforms/powernv/npu-dma.c | 14 ++++++-------- > drivers/gpu/drm/amd/amdkfd/kfd_topology.c | 3 +-- > drivers/iommu/amd_iommu.c | 2 +- > drivers/iommu/intel-iommu.c | 2 +- > drivers/iommu/intel_irq_remapping.c | 2 +- > drivers/net/ethernet/realtek/r8169.c | 3 +-- > drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 2 +- > drivers/pci/msi.c | 6 +++--- > drivers/pci/search.c | 10 +++------- > drivers/platform/chrome/chromeos_laptop.c | 2 +- > include/linux/pci.h | 5 +++++ > 11 files changed, 24 insertions(+), 27 deletions(-) Applied with acks/reviewed-by from Benson, Joerg, Christian, Alexey, and David to pci/misc for v5.2, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel