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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD58DC433EF for ; Wed, 24 Nov 2021 15:51:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346585AbhKXPyt (ORCPT ); Wed, 24 Nov 2021 10:54:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346498AbhKXPyr (ORCPT ); Wed, 24 Nov 2021 10:54:47 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5C49EC061574; Wed, 24 Nov 2021 07:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=83Z9ctsXhi4n6jL1I+xnZYOsulRili5YtWNkeTxLDvY=; b=O7JOpWGcH4DnhCV+XrFVDi83VC vjiYAQOklY/dedfzCATe0m84ZCCGpC19/nyEcuuM5m94AIzji0oGc9sfnQQR8aolKgTxP4o2GQ+Xc YlZeXOYhBsdXAZMwSi+YqF+bCuqPTBtTzP35dk3g6C58RZTaYf2g+yaXSQOHzwuL/XSGrSB8QmTXd +SxFWxTlgGfheF5iU10JREpJdELdxQSs9O+mJxIg7DkuZhIw1PYGodPZUKjp7VHnkmvgnkmkI5tPh cX/AGJsyoeHQtMxrgWTaBVfptCGiBzQcu5eYlw0mZE5Fu7RfqUixgtVKnAmiuNgx7n30DLyGv2D7+ 4k6GdpEw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55852) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mpuYP-0000oH-NY; Wed, 24 Nov 2021 15:51:25 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mpuYN-0001JA-4r; Wed, 24 Nov 2021 15:51:23 +0000 Date: Wed, 24 Nov 2021 15:51:23 +0000 From: "Russell King (Oracle)" To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Thomas Petazzoni , Lorenzo Pieralisi , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , Dominik Brodowski , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , Marek =?iso-8859-1?Q?Beh=FAn?= , linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/5] arm: ioremap: Implement standard PCI function pci_remap_iospace() Message-ID: References: <20211124154116.916-1-pali@kernel.org> <20211124154116.916-2-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211124154116.916-2-pali@kernel.org> Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 24, 2021 at 04:41:12PM +0100, Pali Rohár wrote: > pci_remap_iospace() is standard PCI core function. Architecture code can > reimplement default core implementation if needs custom arch specific > functionality. > > ARM needs custom implementation due to pci_ioremap_set_mem_type() hook > which allows ARM platforms to change mem type for iospace. > > Implement this pci_remap_iospace() function for ARM architecture to > correctly handle pci_ioremap_set_mem_type() hook, which allows usage of > this standard PCI core function also for platforms which needs different > mem type (e.g. Marvell Armada 375, 38x and 39x). > > Signed-off-by: Pali Rohár Reviewed-by: Russell King (Oracle) -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! 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 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 3B896C433F5 for ; Wed, 24 Nov 2021 15:53:08 +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: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=SGEkf9RcqAGQPA8h3xLHCnnDYMpSuNkg2ga5B6Oerx0=; b=us7RbZuea1y2P8 1Y1Qv38wSFklVkse3E35s8k5bXORbIgHUGvkxjuIaHCfs/AVU/SIQ2LWzQ7UW9Wki+Sowz9DLS2qY tqTjKjQM1j/+33vlNceW8XRK14zwUZki17zR9twvBg+ibxn5xZMQ/5qIamnhs/p17JlJE9tRHShgj EYP0+bZYEu+1RoaZdX4+5/r7dWw7WsD5j6vg/spJRuPdrxEupMhTd+BW97ALztd/x+3+yZXCDDBBP RO8DP98EdWKimdcpKU3loCECndH0u7fR9YcVk8pOfk6wPjHy1oRh9sH30eBdIKd3UnwUr7SNv2xyP pM1Hlxu0ZkCIpQLto80g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpuYd-0059v3-UW; Wed, 24 Nov 2021 15:51:40 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mpuYa-0059uW-J7 for linux-arm-kernel@lists.infradead.org; Wed, 24 Nov 2021 15:51:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=83Z9ctsXhi4n6jL1I+xnZYOsulRili5YtWNkeTxLDvY=; b=O7JOpWGcH4DnhCV+XrFVDi83VC vjiYAQOklY/dedfzCATe0m84ZCCGpC19/nyEcuuM5m94AIzji0oGc9sfnQQR8aolKgTxP4o2GQ+Xc YlZeXOYhBsdXAZMwSi+YqF+bCuqPTBtTzP35dk3g6C58RZTaYf2g+yaXSQOHzwuL/XSGrSB8QmTXd +SxFWxTlgGfheF5iU10JREpJdELdxQSs9O+mJxIg7DkuZhIw1PYGodPZUKjp7VHnkmvgnkmkI5tPh cX/AGJsyoeHQtMxrgWTaBVfptCGiBzQcu5eYlw0mZE5Fu7RfqUixgtVKnAmiuNgx7n30DLyGv2D7+ 4k6GdpEw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:55852) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mpuYP-0000oH-NY; Wed, 24 Nov 2021 15:51:25 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mpuYN-0001JA-4r; Wed, 24 Nov 2021 15:51:23 +0000 Date: Wed, 24 Nov 2021 15:51:23 +0000 From: "Russell King (Oracle)" To: Pali =?iso-8859-1?Q?Roh=E1r?= Subject: Re: [PATCH 1/5] arm: ioremap: Implement standard PCI function pci_remap_iospace() Message-ID: References: <20211124154116.916-1-pali@kernel.org> <20211124154116.916-2-pali@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211124154116.916-2-pali@kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211124_075136_652548_C2B5AB49 X-CRM114-Status: UNSURE ( 9.65 ) X-CRM114-Notice: Please train this message. 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: , Cc: Marek =?iso-8859-1?Q?Beh=FAn?= , Andrew Lunn , Alexandre Belloni , Lorenzo Pieralisi , Rob Herring , linux-pci@vger.kernel.org, Gregory Clement , Dominik Brodowski , linux-kernel@vger.kernel.org, Bjorn Helgaas , Ludovic Desroches , Thomas Petazzoni , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Nov 24, 2021 at 04:41:12PM +0100, Pali Roh=E1r wrote: > pci_remap_iospace() is standard PCI core function. Architecture code can > reimplement default core implementation if needs custom arch specific > functionality. > = > ARM needs custom implementation due to pci_ioremap_set_mem_type() hook > which allows ARM platforms to change mem type for iospace. > = > Implement this pci_remap_iospace() function for ARM architecture to > correctly handle pci_ioremap_set_mem_type() hook, which allows usage of > this standard PCI core function also for platforms which needs different > mem type (e.g. Marvell Armada 375, 38x and 39x). > = > Signed-off-by: Pali Roh=E1r Reviewed-by: Russell King (Oracle) -- = RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel