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=-10.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 52852C433B4 for ; Sat, 8 May 2021 18:54:57 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 C0BFB61040 for ; Sat, 8 May 2021 18:54:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C0BFB61040 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To: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-Owner; bh=z5AExfjMeBDrsZjfrqOjKirV2ZcfwXFv5wfxTENxwek=; b=iyEzAF6kMZ6GlLC2zZSVqj6jt pLR5pDXYIXzkII/hlF1gSGtGj5cjiXlSSeE94E6HJQ3Dn40j60N9CenxoBvmlh3gQTD+YS+WvTaEd fdBUFn40nmuhlF4Mt3Na53FVyQF/NYlQCAHo4U/txqrYyrgnaeUrNfOmIgJnZBnioLY2r9/uxPve/ V4NSVgbcSoX6px1Om8w6Qov7MxSZuwMIF3OdHRx6QhYNQIYGJXn75oRNUJAg10b9NVBNeOxrJ7p/L pVM6JvMpxaaTcishdbQUkbNkQR6zs9m4qu87TIJlee2s7+3VmEuc/aMXWDrwlBbK37eym0/k42H3t jfYI1EWTA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lfS4P-00A7jN-PY; Sat, 08 May 2021 18:52:57 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lfS4N-00A7jG-4v for linux-arm-kernel@desiato.infradead.org; Sat, 08 May 2021 18:52:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=SpBJgfkftqpvFAtdSzeZJgPR2YQYjUv2usZi8QDov8I=; b=HgbWoC6/C2Q4CPrbhoAOLsYR3x 9HEPhy9WHt8ul9NYitLpq1W3y5fKv90lze+wAEuigyf0h9zCebcz8ArV3SFAxta3nD4ZKNZN6dKh9 rfqiKB2ISWWT2Ln0MEj5MBRjGSttKM1Jz1N4bDieZCnjowb5gGH4zcX1+bZ9EfK0R9rq/txwBUBah 3DkQY7PS5PriwlZyPZjZrZyD6y/SkimlsEv6UGZ+22bJ2j5B4tDHCFnqmw0/CosydAiy4uOatCJUi Y14rH5udYSbLNXvukhvdr7XKC1q0DliBYlWy2RbHURkyaXjqF5Tl3C2y8LNgHIg7NWR7cl6bIY/Cn UkVFz3RQ==; Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lfS4K-007fpk-Ar for linux-arm-kernel@lists.infradead.org; Sat, 08 May 2021 18:52:53 +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-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding: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=SpBJgfkftqpvFAtdSzeZJgPR2YQYjUv2usZi8QDov8I=; b=SeN4U+rIUEbJrEn5zmxmH/vfd gHhZq25MI4850RNUJ9glt3vOlTJIUm4Dw1PWQCxutZXhNXJ4h2PxnjP0lLht/pDECD9oTAtESUJCa yl+1x4kJD/m5WHJ5uaYgC1uRyVgDsSFBqUVUORatl0HT9YCOLRoS7kjyjH1qbjq6HycEPQvO48lWO b+A3D8MuCE6kbg9s3ydrK4Ayj6V6PMIQtt4UK9yyyDInWzkKtXej74V+VNNp5NfqVvd3ucacWExNX H8l+gzXfixou2x2WQGnFiJf0ao3vyMqA9L4K2rvZwWgI1nLXATzMX9YWCb+dH2xoNIXFxTGImzv8q AqjUszFyw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:43792) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfS2H-0006Gv-6v; Sat, 08 May 2021 19:50:45 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lfS2G-0006u2-A9; Sat, 08 May 2021 19:50:44 +0100 Date: Sat, 8 May 2021 19:50:44 +0100 From: Russell King - ARM Linux admin To: Ansuel Smith Cc: stable@vger.kernel.org, Palmer Dabbelt , Luis Chamberlain , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH] arm: Enlarge IO_SPACE_LIMIT needed for some SoC Message-ID: <20210508185043.GF1336@shell.armlinux.org.uk> References: <20210508175537.202-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210508175537.202-1-ansuelsmth@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-20210508_115252_395652_1A1D5C7C X-CRM114-Status: GOOD ( 10.56 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, May 08, 2021 at 07:55:35PM +0200, Ansuel Smith wrote: > Ipq8064 SoC requires larger IO_SPACE_LIMIT or second and third pci port > fails to register the IO addresses and connected device doesn't work. > > Cc: # 4.9+ > Signed-off-by: Ansuel Smith I don't see any consideration of whether this increase results in any clashes with any other related areas. Also, there is no update of the memory layout documentation. The memory layout documentation says: =============== =============== =============================================== Start End Use =============== =============== =============================================== fee00000 feffffff Mapping of PCI I/O space. This is a static mapping within the vmalloc space. which means there's a maximum of 0x001fffff available. You are increasing it's size from 0x000fffff to 0x00ffffff. This means it expands from 0xfee00000 through to 0xffdfffff. This conflicts with these entries: ffc80000 ffefffff Fixmap mapping region. Addresses provided by fix_to_virt() will be located here. ffc00000 ffc7ffff Guard region ff800000 ffbfffff Permanent, fixed read-only mapping of the firmware provided DT blob So, I have no option but to NAK this change. Sorry. You can find this documentation in the "Documentation" subdirectory. -- 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 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=-10.1 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable 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 E5F34C433ED for ; Sat, 8 May 2021 18:51:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BCC3E613F5 for ; Sat, 8 May 2021 18:51:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229601AbhEHSv6 (ORCPT ); Sat, 8 May 2021 14:51:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbhEHSv5 (ORCPT ); Sat, 8 May 2021 14:51:57 -0400 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 005B3C061574; Sat, 8 May 2021 11:50:54 -0700 (PDT) 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-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding: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=SpBJgfkftqpvFAtdSzeZJgPR2YQYjUv2usZi8QDov8I=; b=SeN4U+rIUEbJrEn5zmxmH/vfd gHhZq25MI4850RNUJ9glt3vOlTJIUm4Dw1PWQCxutZXhNXJ4h2PxnjP0lLht/pDECD9oTAtESUJCa yl+1x4kJD/m5WHJ5uaYgC1uRyVgDsSFBqUVUORatl0HT9YCOLRoS7kjyjH1qbjq6HycEPQvO48lWO b+A3D8MuCE6kbg9s3ydrK4Ayj6V6PMIQtt4UK9yyyDInWzkKtXej74V+VNNp5NfqVvd3ucacWExNX H8l+gzXfixou2x2WQGnFiJf0ao3vyMqA9L4K2rvZwWgI1nLXATzMX9YWCb+dH2xoNIXFxTGImzv8q AqjUszFyw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:43792) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lfS2H-0006Gv-6v; Sat, 08 May 2021 19:50:45 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1lfS2G-0006u2-A9; Sat, 08 May 2021 19:50:44 +0100 Date: Sat, 8 May 2021 19:50:44 +0100 From: Russell King - ARM Linux admin To: Ansuel Smith Cc: stable@vger.kernel.org, Palmer Dabbelt , Luis Chamberlain , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [RESEND PATCH] arm: Enlarge IO_SPACE_LIMIT needed for some SoC Message-ID: <20210508185043.GF1336@shell.armlinux.org.uk> References: <20210508175537.202-1-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210508175537.202-1-ansuelsmth@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 08, 2021 at 07:55:35PM +0200, Ansuel Smith wrote: > Ipq8064 SoC requires larger IO_SPACE_LIMIT or second and third pci port > fails to register the IO addresses and connected device doesn't work. > > Cc: # 4.9+ > Signed-off-by: Ansuel Smith I don't see any consideration of whether this increase results in any clashes with any other related areas. Also, there is no update of the memory layout documentation. The memory layout documentation says: =============== =============== =============================================== Start End Use =============== =============== =============================================== fee00000 feffffff Mapping of PCI I/O space. This is a static mapping within the vmalloc space. which means there's a maximum of 0x001fffff available. You are increasing it's size from 0x000fffff to 0x00ffffff. This means it expands from 0xfee00000 through to 0xffdfffff. This conflicts with these entries: ffc80000 ffefffff Fixmap mapping region. Addresses provided by fix_to_virt() will be located here. ffc00000 ffc7ffff Guard region ff800000 ffbfffff Permanent, fixed read-only mapping of the firmware provided DT blob So, I have no option but to NAK this change. Sorry. You can find this documentation in the "Documentation" subdirectory. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!