Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1875892rwb; Tue, 29 Nov 2022 21:56:28 -0800 (PST) X-Google-Smtp-Source: AA0mqf7zbre9XWSQsbxnmwbQHH3y56tQkC4zg7qc1r6oNEAOhQREbVBAhLqpBhTbred+616hijCf X-Received: by 2002:a17:90a:de0f:b0:213:1143:9886 with SMTP id m15-20020a17090ade0f00b0021311439886mr64036675pjv.236.1669787787921; Tue, 29 Nov 2022 21:56:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669787787; cv=none; d=google.com; s=arc-20160816; b=dtKVSFUvQ0EEtazU8ngJc1stS6UQhsNyK2qdzchtb/QJD/1Nw85tnp2rMKxXCNKW97 V8YFjVeHtHpMf2bpuAEdM9IGF4hR2pJy5g0ryxw4DfLrG3ayk2uC/QVWV23kPX33tB7l 3dgVL62Q5R2btSJ5zpM0sizJwiwZeLDlYWCIWnicJ5YQoo603ZRl1HUe566op0nxmddM z6ScwAXSn6lzN8kUj8Zvj7y6ucvhLw1eHWl9dzGdrraRbfngoOTD3mzPjEQdQX3kuESE 2rw+c7btBqlnMiezn0zDvc0dYzacJmMzj5tTZWFxbvfvyfuTLR3oU/ORkBKuoIh5OP0i xQbw== 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=BBe7dfq6+Y5Hzv+BR8ELyGnwHV4T4cChh0gknZP366w=; b=YHJkanrB55NV2LjcjJTEa4sgVUDtIL9xjnBKlwLsHG5H7XCNOT7r67MxnZHnOQxu9g ekqSuqwy1PgLxd9/jobbodF1DvHZzGM7M4r5Eg6An8MP1xtgYxizo5u3sTwZB0zdgKOM CCjwNRN1dAUBN754/Uunih6KOG/pZ4wl3MwtppOLSaTB1DNDCG6NFOta1fWqtG5gkinP eJK7ChTuS+JyFHLg5LYWEoNxueuD4naMeuzc5xkCMXoH1OvwekLYxPhJTPc2IlcIJUKV A/HRK5StmWmeH6VTMHKBlfDG7hGeW4iQFiQXSsXAHUKZsZp1Qp4srxVpH0nFaOPJp9kX 25iw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Av78yeFm; 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 oc7-20020a17090b1c0700b0020de23fa58csi4035574pjb.12.2022.11.29.21.56.16; Tue, 29 Nov 2022 21:56:27 -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=Av78yeFm; 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 S233639AbiK3FuU (ORCPT + 86 others); Wed, 30 Nov 2022 00:50:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231852AbiK3FuS (ORCPT ); Wed, 30 Nov 2022 00:50:18 -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 352EB53EF5 for ; Tue, 29 Nov 2022 21:50:17 -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 BD17C61A25 for ; Wed, 30 Nov 2022 05:50:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 14FE0C433C1; Wed, 30 Nov 2022 05:50:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669787416; bh=mWapkiqeTyhlxtRKV32R7knpZ7vDUmMOPyBjveYsR+U=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=Av78yeFmfoNfcMdGgqwR32cOMPacIyY0KesjwoFf/ydY6U13ddUEDf2bwaLb94WOV kO+bbyWiJ4tfLwP08lIt5TjX3qCMvMAOaipihb59G0p9jg0T7oYFPBdJd+L3WD+8S7 s/oOMpFD2Jb7hgEDM+Vi6QwtZdLmFNhPn/DuDqUwa0tB4QvGKaCwl9qLQRkGglzpY+ YTiRBpwouNVLRuOJv+AKNhHAQ6zagIQfma3orWDLEiwwwlANZKLf6oZ6XPIr13zjDk 5k97t/Htyhx+EEs65WlkM1NJajxP5GFqEsZiNSfv0ERmLVHFvcwYZ7QZWxxg7PA9R1 SGCjgUhK1ipQw== 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 EE4EFE21EF2; Wed, 30 Nov 2022 05:50:15 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH v2] riscv: mm: Proper page permissions after initmem free From: patchwork-bot+linux-riscv@kernel.org Message-Id: <166978741597.2406.14892412978128239301.git-patchwork-notify@kernel.org> Date: Wed, 30 Nov 2022 05:50:15 +0000 References: <20221115090641.258476-1-bjorn@kernel.org> In-Reply-To: <20221115090641.258476-1-bjorn@kernel.org> To: =?utf-8?b?QmrDtnJuIFTDtnBlbCA8Ympvcm5Aa2VybmVsLm9yZz4=?=@ci.codeaurora.org Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, samuel@sholland.org, bjorn@rivosinc.com, 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 Tue, 15 Nov 2022 10:06:40 +0100 you wrote: > From: Björn Töpel > > 64-bit RISC-V kernels have the kernel image mapped separately to alias > the linear map. The linear map and the kernel image map are documented > as "direct mapping" and "kernel" respectively in [1]. > > At image load time, the linear map corresponding to the kernel image > is set to PAGE_READ permission, and the kernel image map is set to > PAGE_READ|PAGE_EXEC. > > [...] Here is the summary with links: - [v2] riscv: mm: Proper page permissions after initmem free https://git.kernel.org/riscv/c/6fdd5d2f8c2f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html