Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2609946rwl; Mon, 27 Mar 2023 02:42:15 -0700 (PDT) X-Google-Smtp-Source: AKy350Zp+dHzFA+T09xfQXH+dDNIqMGlqPc87wcMsArzt7ka5YyJ1ddKt99RLAOXX4bkBWzzYe+X X-Received: by 2002:aa7:8f29:0:b0:62a:d752:acc5 with SMTP id y9-20020aa78f29000000b0062ad752acc5mr9834452pfr.32.1679910135020; Mon, 27 Mar 2023 02:42:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679910135; cv=none; d=google.com; s=arc-20160816; b=Mz2135Okr3E3iiX66/Lpn1zj/8Q2gh/Jo9XQGG5g2HmmFWkH8Q5+i6VlXGDCbB/p01 hEcssAl2OB1fBwg1iBWVh2W/BvKF3F3CD3jvSqPSFfaLqWPu1FooyvfSS9baBP+NOySS XZCrdrDS1AAtN5An0R3KB8MD+kB+s7gnty36uYbthojHFDMDAjXeq+FrU92jOI5iX+Dr RGLa7oJrMNSvA47HIKNDeF/+D4e9z+FqylbknZL1L4vMC1SwiWZKd++xGCthcvSqE+0Z gGuW2jL1Fn0NbqE9BhODj5TAfiY7bMtjfNs3lB7RUAovVo70Ysh7yfIrvBv0kCMVxO0q nfOA== 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=4w0LfZxV5gGkIvt3krujIxED/ZFU4CmkEbwpWDDfN9M=; b=pqjWNvyDpFrhQKd/fAaXG/3XL1ClA5oMEyp0kpO/YU7mj41WyMKrrivtKmDPOF9Myv 4DxsluQpcPRoAJFXECsnfc/Lgd4i7b77vQXDnq2eP4Pq/LlT78tM8L77gMBqRy4fjYIk uQCdCsL+DOJpDnmZ1fif6osot7mx35lXLH9XNwqA0+UZVjMv6ZDNQml0wnFixIHWSOsq 2GL16QMCPlXv+GYOtTEgUzvlS27RhKYHpztR1Gv8LGvQ7gRQa3BrpW+Vyl3oyEw90m9s 21YrI5Y4b4D1KtZXhgZMuB4NEMHNUokTLG7jA/8qcxsiODMIzKTb9l+x3A5+00yjK3x9 NA4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=E1SkeH1Z; 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 v135-20020a63618d000000b005131132bff0si10604336pgb.252.2023.03.27.02.42.02; Mon, 27 Mar 2023 02:42:14 -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=@ventanamicro.com header.s=google header.b=E1SkeH1Z; 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 S233025AbjC0Jjs (ORCPT + 99 others); Mon, 27 Mar 2023 05:39:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232834AbjC0Jjq (ORCPT ); Mon, 27 Mar 2023 05:39:46 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C87F346BD for ; Mon, 27 Mar 2023 02:39:43 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id r11so33353161edd.5 for ; Mon, 27 Mar 2023 02:39:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1679909982; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=4w0LfZxV5gGkIvt3krujIxED/ZFU4CmkEbwpWDDfN9M=; b=E1SkeH1Z1buglgC+NNtXnvpC93AjrvqcWBnjND14dCcXq6i/LOkkD/KCnOdHK9ffjQ +FDXfynnNTMv68vHz3XCzlikO0Cx7su96Kj2KdRdAuZMwgk+/KI91e96elRbM9GpyC/s tFjsgiPlPeDRx4PnFc8Zku5/4t/NawHFXjN0kxB5X4lZOs8SVVlFOlZZRmXJiLykpr5d cVxR/p1z7rPSrDn4SP+4N3xMoZWJRG/GMc6WVy5myNPSnZ8HIfR0h7uZSWIw2+iQHqat kAu6wSXdawVYEUTFtgoa10sFbTQLVLPBN3V3oFMfzQtQF/B8sKki1EQ2IqH8jNxyvWX/ 6yBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679909982; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4w0LfZxV5gGkIvt3krujIxED/ZFU4CmkEbwpWDDfN9M=; b=yO4ESPPV4YNX9kxEEf/9X7vlnFB6EALPHiOHJ1C0GCNC4LWs55tRTGtEtrVV80PqE1 mZZQW6jVrRSP5hCgl0psTOCRwNmA97aBmgUA0kRXeJBq0oJ7FdU8RHQC1hDVLqE2hi+q lOIhSazWv7lduiSH6I059eQ3z0DNnshWtvWGlxTSoQ9fSb1ibJpqafIydPrp7ChuBede 9Fw2oU3jyJxTmKrTW6eRYukulNMOiKHmNZQoVeddNVy+yKKI6m3NipR08lZcO1ZpkfNs lYnqkT6ws4tMTc0cvEVnlN0ram5RLgKV9bN0M+EMyQK05iqcI52QnSmtP7n9j28qTu5p 53Mg== X-Gm-Message-State: AAQBX9eNucIl1PDLmudiCBQYHjtVCnWOFhtFE1JtC6winzjuTBlhhvua ixy3hSBXnZj1LVlsGedMSH6umg== X-Received: by 2002:a17:906:380a:b0:93b:943f:6261 with SMTP id v10-20020a170906380a00b0093b943f6261mr11485304ejc.74.1679909982354; Mon, 27 Mar 2023 02:39:42 -0700 (PDT) Received: from localhost (2001-1ae9-1c2-4c00-20f-c6b4-1e57-7965.ip6.tmcz.cz. [2001:1ae9:1c2:4c00:20f:c6b4:1e57:7965]) by smtp.gmail.com with ESMTPSA id v14-20020a1709063bce00b0093344ef3764sm12028358ejf.57.2023.03.27.02.39.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Mar 2023 02:39:41 -0700 (PDT) Date: Mon, 27 Mar 2023 11:39:40 +0200 From: Andrew Jones To: Alexandre Ghiti Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Rob Herring , Frank Rowand , Anup Patel , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v9 2/3] riscv: Move the linear mapping creation in its own function Message-ID: <20230327093940.7cxqh52mwiaibzeu@orel> References: <20230324155421.271544-1-alexghiti@rivosinc.com> <20230324155421.271544-3-alexghiti@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230324155421.271544-3-alexghiti@rivosinc.com> X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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, Mar 24, 2023 at 04:54:20PM +0100, Alexandre Ghiti wrote: > No change intended, it just splits the linear mapping creation from > setup_vm_final: this prepares for upcoming additions to the linear > mapping creation. > > Signed-off-by: Alexandre Ghiti > --- > arch/riscv/mm/init.c | 42 ++++++++++++++++++++++++++++-------------- > 1 file changed, 28 insertions(+), 14 deletions(-) > Reviewed-by: Andrew Jones