From patchwork Tue Jan 4 15:35:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12703580 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 48FBCC433F5 for ; Tue, 4 Jan 2022 15:41:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=n3ZsYRiGknW392rBdgzR2Io7sfzkpxMfyQqyYAUDups=; b=0wrPvlBkmpilHC /CQQSFhR13ZuJJ+/RRFX0/qV+umKtGl5SJYiX2gvZ7KznMNFUOdS8EM6S1amcuBuhsudvEyBlj1da r13q2lCiSc6vtKwvCcyylo/hREYn3Vi5dXU2IpqR4qVTuVwfQ8q4ouPlBjLO29CycmMsy3KJIwSIp J3y4uMfwmygyD3mMh6ci1VSe3bJIAg/BArF2IfBjENsuOmOwBxROIHFzZ1LFxLWfwkdpPBowynQIi gijzHxY6lV3T/txZOL6ahZHpqEHt5UdPrajHqzQKrmJ7bzdURVrow5SSdfbzMiAZzFKhuLHq1CHZT wvPLr7CJiktP1cwQQXhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4lul-00ByP1-6W; Tue, 04 Jan 2022 15:39:56 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n4ltM-00Bxkz-6L for linux-arm-kernel@lists.infradead.org; Tue, 04 Jan 2022 15:38:31 +0000 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 sin.source.kernel.org (Postfix) with ESMTPS id 42F05CE17EF; Tue, 4 Jan 2022 15:38:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D982C36AE9; Tue, 4 Jan 2022 15:38:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1641310704; bh=IvXybqAvGHkHohoxDtW3luo+IV3CGpGdFMVR8VHUbA4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iC3Xpt1UU7slFI0TkzHOJaf7Xi3CQcepOGAkMJC6B4xa69O/5p6nC6iMgzR1fg1fO Y/U5xZpcXKHpa05dmEtao2eEK7rEg1U2e7yiX621RNBQQatIOj8lx+7h3E+INCVEyY Rfq6Rtxi0CMXbJ+fss5LHsHt57wFic99YK6IInJ7s+Kve8ebKQVQcKUIXEehoSOSGc ebFLx7dnxeTleM1P0CsOwRrdnAAZxaGFpDPK/CLJFFvD2x6bTeySYAjrgKwMHmPETd tM3BONJdeRxaU2LlggD1/+zh0cWyZvhUunXR/yVeUxD7zn1+oADBas1vFZRbrdQ0ma 4jtGSDhNfp/iQ== Received: by pali.im (Postfix) id 7555096B; Tue, 4 Jan 2022 16:38:21 +0100 (CET) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Thomas Petazzoni , Lorenzo Pieralisi , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , =?utf-8?q?Marek_Beh=C3=BAn?= Cc: linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 00/11] PCI: Small improvements for pci-bridge-emul and mvebu Date: Tue, 4 Jan 2022 16:35:18 +0100 Message-Id: <20220104153529.31647-1-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211221141455.30011-1-pali@kernel.org> References: <20211221141455.30011-1-pali@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220104_073828_458025_C08AF967 X-CRM114-Status: GOOD ( 12.20 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series contains small improvements for pci-bridge-emul and mvebu drivers. This patch series is based on top of the patches: https://lore.kernel.org/linux-pci/20211125124605.25915-1-pali@kernel.org/ (which are now in pci/mvebu branch) In V2 was added comment into code explaining PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD and PCI_BRIDGE_EMUL_NO_IO_FORWARD flags. Pali Rohár (11): MAINTAINERS: Add Pali Rohár as pci-mvebu.c maintainer PCI: pci-bridge-emul: Make struct pci_bridge_emul_ops as const PCI: pci-bridge-emul: Rename PCI_BRIDGE_EMUL_NO_PREFETCHABLE_BAR to PCI_BRIDGE_EMUL_NO_PREFMEM_FORWARD PCI: pci-bridge-emul: Add support for new flag PCI_BRIDGE_EMUL_NO_IO_FORWARD PCI: mvebu: Add help string for CONFIG_PCI_MVEBU option PCI: mvebu: Remove duplicate nports assignment PCI: mvebu: Set PCI_BRIDGE_EMUL_NO_IO_FORWARD when IO is unsupported PCI: mvebu: Properly initialize vendor, device and revision of emulated bridge PCI: mvebu: Update comment for PCI_EXP_LNKCAP register on emulated bridge PCI: mvebu: Update comment for PCI_EXP_LNKCTL register on emulated bridge PCI: mvebu: Fix reporting Data Link Layer Link Active on emulated bridge MAINTAINERS | 1 + drivers/pci/controller/Kconfig | 4 ++ drivers/pci/controller/pci-aardvark.c | 2 +- drivers/pci/controller/pci-mvebu.c | 64 ++++++++++++--------------- drivers/pci/pci-bridge-emul.c | 11 ++++- drivers/pci/pci-bridge-emul.h | 14 +++++- 6 files changed, 57 insertions(+), 39 deletions(-) Reviewed-by: Rob Herring