Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp5691900imw; Wed, 20 Jul 2022 10:28:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tG6n0BN4Q4avIcoIJgTCzxcXUXdYB03I+YCbzArDhFjO0IzEVTbN8Wm8E2iit1oMT89Kuy X-Received: by 2002:a17:903:25cf:b0:16d:1507:10ea with SMTP id jc15-20020a17090325cf00b0016d150710eamr7944808plb.33.1658338103797; Wed, 20 Jul 2022 10:28:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658338103; cv=none; d=google.com; s=arc-20160816; b=YwGPWWMEmtmi2TfZc69gnUdspQWFQaAu9wLzkRAjY9Wrm6v32nDMVE3GoO0egAfgWO gXcjrRe30a/zIvqIvRIWioWJTzSfbICtkXH/3Yyp80F7mhbO1p6aJegMhG6VCr2aZ/pr bxIfCxNwYrEfxWAgCy6wUsBXcDsLOyfo5n/NvX2pv5QmiTNnsn7LhsM5gfOY50EC+zgF t54P/ITvzLG8E3FIMeUI4IECrUcEhK/BAm0vAE/AdGQzpawjf21MQNTd/aCgiTQiaFDJ 6V8XQFnZeK/cbd7jYERi83eNZvxIcbykNpac0lzEm4QkI+Ajpwxu+UhAxVC8DWaJRWcb 6K5A== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=WlQloxKMSNzYA8huu2dHZOkx95q65YqX8GP/ptxtt8I=; b=ijm0HpzuvhqAFeHKbM6qpMbtLtxK7S2Qb3ydwSautV5daQKs/tUrBgMme9cM1SmPp/ +72pAh0v1RYlE4VYaf1hmc32Xl/zET1KrHpgOFSzBC4NFLAu3C3tKR9R+dJMl7vk9PFY ghNhqz96a/aNB/WxjcOKuFJfikg1Mtn/Ug1u8mLz5jloGZDtsFFI/dDbO90hLQVHuStA LM56DQpKjyJqYFQla0Uw8i4+1jtTvwy/M8yUgfuOYLumbCRg09aJk6FrZa6o7UiGEP60 nxoc+TfwtzGtHcAy+k0llAM6tWGU6p0wumbXqAF/Htsq8ytBsmWkXzHd/tO8F5u1C/SI HWYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=L+EJ7oX+; 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 k189-20020a6384c6000000b0041621066c08si21595626pgd.498.2022.07.20.10.28.08; Wed, 20 Jul 2022 10:28:23 -0700 (PDT) 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; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=L+EJ7oX+; 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 S229959AbiGTQnQ (ORCPT + 99 others); Wed, 20 Jul 2022 12:43:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbiGTQnP (ORCPT ); Wed, 20 Jul 2022 12:43:15 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19233643F6; Wed, 20 Jul 2022 09:43:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=WlQloxKMSNzYA8huu2dHZOkx95q65YqX8GP/ptxtt8I=; b=L+EJ7oX+O6+3U4HbS+0k0fDH7c T2b90gQbRgb1ukynOljIVqwD/upHXuAptXtzWg1Kjw4MsEQtqQYdtSCDbZSl00D0/kn4qPmhxFh/G 35rebU2BpBH6VTXtaJGzdN+IdP35CJqoGbLs8co9VNXe8G9FhmBZyQbUAk1LUFUJ2TpY=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oECmt-00AwjJ-DX; Wed, 20 Jul 2022 18:43:03 +0200 Date: Wed, 20 Jul 2022 18:43:03 +0200 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Arnd Bergmann , Mauri Sandberg , linux-pci , DTML , Linux Kernel Mailing List , Linux ARM , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Sebastian Hesselbarth , Gregory CLEMENT , Russell King - ARM Linux , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Thomas Petazzoni Subject: Re: [PATCH 2/2] PCI: mvebu: add support for orion5x Message-ID: References: <20220718202843.6766-1-maukka@ext.kapsi.fi> <20220718202843.6766-4-maukka@ext.kapsi.fi> <20220719094649.pzyrqdvm3fm5fqh2@pali> <20220720161315.rr4ujakl7akm7pur@pali> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220720161315.rr4ujakl7akm7pur@pali> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 > If we have free 256MB in physical address space, then we can implement > it easily. It is just changing _size_ argument. I'm not sure how much > DDR RAM has Orion, but if only 2GB then we should be fine (remaining 2GB > should be enough for all peripherals + 256MB for PCIe config space). All the Orion5x devices i've seen have had small amounts of RAM, 64MB, maybe 128M. It seems very unlikely there are any with 2GB for RAM. So i don't see a problem with taking 256MB of physical addresses for PCI. Andrew