Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp73052rwb; Mon, 28 Nov 2022 17:13:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf7YO+W4SIzla+90S2cCNjsGP4rOCx0dFOYbG+tQy8YZvUifTDQW7poANpzNBnjLKhG0pCsY X-Received: by 2002:a62:f94c:0:b0:56e:174e:efdf with SMTP id g12-20020a62f94c000000b0056e174eefdfmr55223524pfm.29.1669684425726; Mon, 28 Nov 2022 17:13:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669684425; cv=none; d=google.com; s=arc-20160816; b=KU3CYJYaBLTO9UKR3N8gLvsziU3Fdj3KrOMQbnz2wo6n7hNi8CQuRFMqt2890l02HM uM6My39A7qrB9fQWPQwHOxcb7nua+z4LAi1WzX09/rwnlAkKG+KLALGckgkvvCQ7Veju qFVwRozhPd6SHcWBVou8PhT3JGSISKGasu9z3/1GGp0ADOhp6HZiedpfRKIPK/NkokFD sezzEbdnfGcm3kfS16OTzof6erXi6SREJlc2QOKCfhWFLJfibW8xdOwthbCBnLST9Jyi hPvkOKFlF2LA8uTEek0pST7TE0NwzzD57HflvOcR6oqWmjyjfWQZEohMLLYFq0J/NI+f Veww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=AsdhPKHoc9ov1MXmBaenjeNX6C5CVlYSZUxn3jkCiOk=; b=CxMssF5YDKPikbr+2c+Txgvjl0P0hBb6+VB5nrlkihaPxDrMH8/gNBvt67+LvkQXXy Vtvb8t0GVWOkQg8i+84yuJMsMbm/QudQ02URr9OI9gQFMAZ7qH+u/IaV/GiF05QFk64Y NyCqFffIvlQbmz1hVOO4obgdXtkBHfI5DVdTT3oKiO6sJM6oaolxRulfOm+cO/iKWDcm rqM4rSeAvnxQgbcS7TnzXkx6gCQX6bQOdVoFlQ9UoZ0Zi+8mfjj72ZOaie46UGa/O2sm EY00FqIEpNUlCRoGcI4lsudO6BC4CFI4Jfabt4DCjAele/I8hbG+UHE/tvDjbXd2L9AN kq3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A2y0HV0W; 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 z15-20020a63c04f000000b0043c1cb75c22si13372564pgi.333.2022.11.28.17.13.32; Mon, 28 Nov 2022 17:13:45 -0800 (PST) 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=A2y0HV0W; 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 S234659AbiK2AuT (ORCPT + 84 others); Mon, 28 Nov 2022 19:50:19 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234652AbiK2AuR (ORCPT ); Mon, 28 Nov 2022 19:50:17 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F51010B79; Mon, 28 Nov 2022 16:50:16 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D33BA61356; Tue, 29 Nov 2022 00:50:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 23D32C433D6; Tue, 29 Nov 2022 00:50:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669683015; bh=gVh2g0Vi1FSHpyi0QX/3SGHx2knvHC+vTGRbDJ9Tg/0=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=A2y0HV0WBuZHEV0GYJ/MZJ3NGO8o6Yo+3jHKTQJduA2LKrukDPICEN/IK/nEtp+E3 rQ0LRQ9BRTGh07oqSgpxIyhPOez6/vFgqBWtMz1oZWLbqnqHdOiR0wnNlb8fEZV8YN 2sHZrOKhxgO3/tfzRcAcJZz94WssYuB56mO9EL1E0IG0a/OEdGpeHY0ywmi9EG5XwT HYsohvw0FVHddZgPMEu0hcrKIi+uQBvHOJqiTdfjnz/wDvLzsV+lEKkalWZId7PcGx roLKVhT9cvYXs5klK94Quac1gzo1azLgffLlCFtAoT98CyZH0NP3euvHwK1DEqsYsb uHREn/H7qO4zg== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 0128AE21EF6; Tue, 29 Nov 2022 00:50:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: Sync efi page table's kernel mappings before switching From: patchwork-bot+linux-riscv@kernel.org Message-Id: <166968301500.7047.6174959001069239033.git-patchwork-notify@kernel.org> Date: Tue, 29 Nov 2022 00:50:15 +0000 References: <20221121133303.1782246-1-alexghiti@rivosinc.com> In-Reply-To: <20221121133303.1782246-1-alexghiti@rivosinc.com> To: Alexandre Ghiti Cc: linux-riscv@lists.infradead.org, ardb@kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, heinrich.schuchardt@canonical.com, emil.renner.berthing@canonical.com, linux-efi@vger.kernel.org, linux-kernel@vger.kernel.org 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 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 Hello: This patch was applied to riscv/linux.git (fixes) by Palmer Dabbelt : On Mon, 21 Nov 2022 14:33:03 +0100 you wrote: > The EFI page table is initially created as a copy of the kernel page table. > With VMAP_STACK enabled, kernel stacks are allocated in the vmalloc area: > if the stack is allocated in a new PGD (one that was not present at the > moment of the efi page table creation or not synced in a previous vmalloc > fault), the kernel will take a trap when switching to the efi page table > when the vmalloc kernel stack is accessed, resulting in a kernel panic. > > [...] Here is the summary with links: - riscv: Sync efi page table's kernel mappings before switching https://git.kernel.org/riscv/c/3f105a742725 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html