Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3225204rwl; Thu, 13 Apr 2023 18:19:07 -0700 (PDT) X-Google-Smtp-Source: AKy350ZaL2XIHW0DI9BRFx5HxvCu5nLmtoi0U8s6VJn+IwqrGnuHWB5LmjWTHNiRTsmJjoD9xpyl X-Received: by 2002:a17:90b:3ec2:b0:247:13fc:2e2f with SMTP id rm2-20020a17090b3ec200b0024713fc2e2fmr3733718pjb.34.1681435146969; Thu, 13 Apr 2023 18:19:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681435146; cv=none; d=google.com; s=arc-20160816; b=J0qRoadfp6lYQJbJi2ezUVhLVB9XaJyYtWpade2TtzYDSCy41D4c1kxhNZcZWC/ORD NmSX7aJELRKR9luYrSgv7/B9MkEoBbhCpvgsgjZOXyLh2JTq8M98qyxThcbENur5jAz8 rBLGEixU4HTBwv1Bm45QeNjw3hb8tbuqc9dJaFwXj2bMNHZK3gRWgHS0Hj4b30iy2bqt KzZ6IlnPByDbXhVBeMPWwkeXRLXNTuoiNR5uXExBhtDkZ8N6YzBEUR3Syoi84gM1CW/y eoDpBeLp3uU1N2Y8Q0L2nVh/X0SB2s+/bLrUYdFxDdDflK3vAlvzxCK1qsVh0JbG75t1 O24A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:content-transfer-encoding:mime-version :date:message-id:subject:references:in-reply-to:dkim-signature; bh=q/xFbhdfGbvhRzWNEiCTRFnrjnSlOCJrbe6wqyR9o+g=; b=oRBuB/Y6bCE1d9NUWZODVE1q+Nw8F0XDauR4k09opWI/5zFF5jFX1MOnQoBva+h2Bj EbN8CJideP6/6woV8K4UtmFWsZ5+LmVrZIXDYmMppdrJVL+oFIFP+VYn/cUJVt960d4Y cN2fjUZwt3qqKlu6MvUNE+ONfnXZmlwvDejvNQlh5+b+OUml/l4fA/Z83gEPtpZx/JbQ +ah1isqMz4WGCSir4kKSdQ2hvhET4Q8NL2m72WicbJ1GLJqmIDofvo7nZZ+UOpWsYKDN lg86nfo5UNmfQnS+ByPOSMevX7WaqfMotRByEmedhg6Txoc/NX161MuWIYTeeG6QpNNI 7o2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b="QXtiP/By"; 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 f6-20020a17090a700600b00246a6cecff8si3134204pjk.44.2023.04.13.18.18.53; Thu, 13 Apr 2023 18:19:06 -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=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b="QXtiP/By"; 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 S229681AbjDNBRF (ORCPT + 99 others); Thu, 13 Apr 2023 21:17:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45450 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229582AbjDNBRB (ORCPT ); Thu, 13 Apr 2023 21:17:01 -0400 Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2387D449C for ; Thu, 13 Apr 2023 18:17:00 -0700 (PDT) Received: by mail-pl1-x630.google.com with SMTP id o2so16901361plg.4 for ; Thu, 13 Apr 2023 18:17:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1681435019; x=1684027019; h=to:from:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:from:to:cc:subject:date:message-id :reply-to; bh=q/xFbhdfGbvhRzWNEiCTRFnrjnSlOCJrbe6wqyR9o+g=; b=QXtiP/ByEYzceemUsaq/VFt/95tjAPbukG/yJU1BYKDXLWY9JnBb1qFjjKQiMHuZc7 KDBm2KxxV+1sy0gvosuwTh3uNFazeNd0bGrOCthnPeEskRcS1VZYaisP0KOoX8SbMx6N g/Ob5H2SICItoT0eTy+MWCi+v5vTDmfR+uNJqVxZcogn9Es4b2fkJQryFIE3G4FhKgYG VLib+0aHObAPKWXU5XH3QIYW3cELcsfxTiMJciaQXS4Ir/1GAFVMKTkflXAOgd2DnlU/ HGzXygSGG9WL/hqHHeELmmFqHdihBZRYc+oqamxIGrOK5boj9Pz89krRZwLrfUXzeA6r seSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681435019; x=1684027019; h=to:from:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q/xFbhdfGbvhRzWNEiCTRFnrjnSlOCJrbe6wqyR9o+g=; b=Ou3tk5CrwWawnktJHlC3g+4kFcdnAthdljG1FL9u+yRlGhei7+Ce2rKsokTrm+TpVY qqLoE72a4wVvLuTOWvKK74rHt3lTqm7SA3ZWZWJzdf0ahaFnyZ67O1mgEGCxJYwvgNDr IMLWa6IZgu/D2sIIcy6GwKswbkFOIkDvQVLaIh2HlrZffYLJd7GADkKm3wdkm0fFgkyT t6GfiMSYA4aAT0G8UefF5eFV6Pyh44LfiRAuew6GTqCSvMSjqmq/I8hIkTRF54SQEHAf bS1Up+AFzUxsdXYTQ3n2EnwIAWr4pbZ3HHucHtdLNi2l/NuIY4nd8Q6AJbGqXs/+BwAL qIhw== X-Gm-Message-State: AAQBX9cUc+AcK+ocKFz0RPY2EiMBeJP+qdKox8b1NbH5Gl0NgQ66oYeB ha0zAkZGKcOoUysUPq0SoMZc4Q== X-Received: by 2002:a05:6a20:2795:b0:dd:e6f5:a798 with SMTP id s21-20020a056a20279500b000dde6f5a798mr3211242pzf.6.1681435019394; Thu, 13 Apr 2023 18:16:59 -0700 (PDT) Received: from localhost ([50.221.140.188]) by smtp.gmail.com with ESMTPSA id l13-20020a63ea4d000000b004fb8732a2f9sm1932694pgk.88.2023.04.13.18.16.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Apr 2023 18:16:58 -0700 (PDT) In-Reply-To: <20230329081932.79831-1-alexghiti@rivosinc.com> References: <20230329081932.79831-1-alexghiti@rivosinc.com> Subject: Re: [PATCH -fixes v2 0/3] Fixes for dtb mapping Message-Id: <168143480593.31161.4075805306178598424.b4-ty@rivosinc.com> Date: Thu, 13 Apr 2023 18:13:25 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-901c5 From: Palmer Dabbelt To: Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Conor Dooley , linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Ghiti X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 On Wed, 29 Mar 2023 10:19:29 +0200, Alexandre Ghiti wrote: > We used to map the dtb differently between early_pg_dir and > swapper_pg_dir which caused issues when we referenced addresses from > the early mapping with swapper_pg_dir (reserved_mem): move the dtb mapping > to the fixmap region in patch 1, which allows to simplify dtb handling in > patch 2. > > base-commit-tag: v6.3-rc3 > > [...] Applied, thanks! [1/3] riscv: Move early dtb mapping into the fixmap region https://git.kernel.org/palmer/c/99a289623453 [2/3] riscv: Do not set initial_boot_params to the linear address of the dtb https://git.kernel.org/palmer/c/becc32e1f2ef [3/3] riscv: No need to relocate the dtb as it lies in the fixmap region https://git.kernel.org/palmer/c/585da9dacc9c Best regards, -- Palmer Dabbelt