Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2346319rwd; Fri, 16 Jun 2023 02:41:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ707X8gew1DuDzbW3gYtJ4CEPowgyIwdhO20wV9rCgFWTiPrhAjzYC6byj4ZnkOsjHCesTw X-Received: by 2002:a17:902:b604:b0:1ab:1bdd:b307 with SMTP id b4-20020a170902b60400b001ab1bddb307mr897855pls.51.1686908491183; Fri, 16 Jun 2023 02:41:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686908491; cv=none; d=google.com; s=arc-20160816; b=IlAbMZKstXDJaGnAf078FrS/6s1D5QASMtT6m7UQ2eTjToyQN5Nhex6MIlcjmoTKNv AJEmtoQljHWSqkmbgs8vDALgWV0WiufmZBo4lRYLJsj7n1e3xka1YfhYJY3pWcvzfRoe tAGdBKQpfDq70Iuu2MlZdWDglSdo7fSdOUcHMg749inXuzXxEdyU9eny3lAwb1ppSHNN CfZ2Mx2Mj1lZ95XnmDn6WO74qJhBrlLIWf/WaQja6xGVFk+ydE8bKgxltVXAJJmwKzEc YmAjXca9qv291q5Ueehp5HQkbXUDaq2zBLLhBWMN5+w0W/iKRPP6hd2s+wgU2oP4AAuv vb/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=afznl1xu2FedPHnZ6GwWLSsAYaSSpfgT68N9LhlDOIg=; b=SHlAntYOFV+mB3EjBJqFJ7irOpD/I6JMk+irIglRk4MAPCx3Ci2ZWAop+cDFaZeDGg /Wh+bCmY/J/ivcgWckKObpuSwTZ5G6oC8L2Zkne0blCHJdyPmeoQ6N+MTM56rtOZMX+I QRQxeGMXo3UkVub7S3mKuFvOG9tjJoC9hPYQhkFEcoUh565aGtwd4rMxBcnZVHQdI/s4 V1HAgOANVW/TavcYqtQttzBBRBTdUONmInkltgfPAik25DROUL0PJGDiKghjgMzLH0NU khWX+g57McwplGkiaXqtZcIv5ZcX5EuU2YzPBFrCITeUD948wxNOrcOQMSuZ1ztHju8r Hsvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Q5FuMmbm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a9-20020a170902ecc900b001b0732ccd7esi15752731plh.379.2023.06.16.02.41.16; Fri, 16 Jun 2023 02:41:31 -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=@kernel.org header.s=k20201202 header.b=Q5FuMmbm; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344365AbjFPJcQ (ORCPT + 99 others); Fri, 16 Jun 2023 05:32:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344354AbjFPJcC (ORCPT ); Fri, 16 Jun 2023 05:32:02 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD3DE30FF; Fri, 16 Jun 2023 02:31:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9C73D6339C; Fri, 16 Jun 2023 09:31:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62B2FC433C8; Fri, 16 Jun 2023 09:31:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686907881; bh=afznl1xu2FedPHnZ6GwWLSsAYaSSpfgT68N9LhlDOIg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q5FuMmbm4AOpRluSAcOrgFB9mR/QK8tv8sLf7JixuZSo1Mll4OFQ90Cije78Jlobu ysKHLaT2DYlX5mONK/5jTL9w6Qlqp0BBAcijxNHV+EUkhisFgHRaFotu1Si+VxUx7H FNwjype88qr+RSxR8vZkTdBo0sTuCM/++VV+rHOb4kZ8aEa+LqgQ5lrJiDFEs1ctzn a+D8BTNNUp8Kzi9WEoxLNtzJiGLCyaOE7r+GAuy7YQmxCAUavuxxhacVQhMza2UTCy v3GgOs7fOiiDEMTvS5USzacHRMFRXt0o0uTsW4+Y+QL2H/nhC/kKTX4mxVyKXL4aXK 12Ib22qcq+UZg== Date: Fri, 16 Jun 2023 10:31:17 +0100 From: Will Deacon To: Bibo Mao Cc: Bjorn Helgaas , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Huacai Chen , loongarch@lists.linux.dev, loongson-kernel@lists.loongnix.cn Subject: Re: [PATCH v4] PCI: Align pci memory space base address with page size Message-ID: <20230616093116.GA10423@willie-the-truck> References: <20230609022047.2195689-1-maobibo@loongson.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230609022047.2195689-1-maobibo@loongson.cn> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Fri, Jun 09, 2023 at 10:20:47AM +0800, Bibo Mao wrote: > Some PCI devices have only 4K memory space size, it is normal in general > machines and aligned with page size. However some architectures which > support different page size, default page size on LoongArch is 16K, and > ARM64 supports page size varying from 4K to 64K. Shouldn't we also select this new Kconfig option on arm64 then? Will