Received: by 2002:a05:7412:8d1c:b0:fa:4c10:6cad with SMTP id bj28csp636492rdb; Wed, 17 Jan 2024 12:30:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFF+7AC0n/1I6LIhhFKcbRolnW2ug5iQrDrKBPN/IWZvIxLrv0PEZsocRVU4RRWiCUEY1vc X-Received: by 2002:ad4:4eeb:0:b0:681:7e6c:fd1d with SMTP id dv11-20020ad44eeb000000b006817e6cfd1dmr1237776qvb.53.1705523441426; Wed, 17 Jan 2024 12:30:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705523441; cv=pass; d=google.com; s=arc-20160816; b=IyFSOL77nosvghgW9cW+i08JO84Mtz6R0J7UH+R8BLWXtt5OFQxhPx3JzurbVXuK28 7Ebpe/pKycnMlNyATCcrXmaAamfE8f0gMvJNTabQxz666oWj7dqtYlSGKPUiFq0INJox +agle61M/Rdk2/8nGQchvLqVTAQdhTZJ0lip6GtC1CKwMOO+6GZv9kCeAfOCwejTlREy FEZ2bfmxXXf1jov5kED/tv4uYtgBBZy/mSrEA24i8WMkWDCcWI1pMiBksdBCC7V7b6wP 5mjiqmZJaoFoaxYTOYLF42lmzNmZu0NVkbBnRTeI/UvGwOgLOnDFZQamO6hHYraUZGC0 fqPg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=YD575AqDWxtRQQng31p0N7tpxf/VKKoFokMvFPXs22A=; fh=ColyjNuBtOK6RGHbguM6G2aMF77fkWQ/7D5E90sQi0I=; b=C9yKzLuU5o/DqevTXaWDM2FGEyX411OSYWyL0jcCi+ilyTMtEGZVAIZvjZ0LgCSFeN Z6LK9LrKF2S3ouiJxZup+B5yKio9/K/z3Aj5UmZu4RhxvoTgvVchRgZ6WAy8biKEYIPk aKTKS4iE2b/MVmrTmouoOrIyneVykx1uIN2Eq5QWsuC2rckbWNCTIohcN38pxURitXo6 hrgkDDhGQHn6nIfBjyHYlP9MAefCTZ4aa8ilw5UedmUaVY5M5/7kjrOxC9z/7c/BY5PG zeAZSmsnHMWWW3c/k4VCjSVxT33I05LJTCOligoedyOZQFYh4GygPYKWSgdvLaeAJvGO OcGA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Sd+ghtGJ; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-29417-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29417-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x24-20020a0cb218000000b0067f340d32b6si12496486qvd.199.2024.01.17.12.30.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 12:30:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-29417-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=Sd+ghtGJ; arc=pass (i=1 spf=pass spfdomain=google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-29417-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-29417-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F2B991C208D6 for ; Wed, 17 Jan 2024 20:30:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F3DD724B4A; Wed, 17 Jan 2024 20:29:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="Sd+ghtGJ" Received: from mail-ua1-f47.google.com (mail-ua1-f47.google.com [209.85.222.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B50CB24B2F for ; Wed, 17 Jan 2024 20:29:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705523393; cv=none; b=PMlRT/CXNc9d3wCAb7VkKLu8taijw9VNJf2EZjXTxgZfSBAfgyqgnTTx8hR4SJjIDFjST7PfbXR9aCxYb1dxSVcM3kvoutqzOALFzBuzDJ9pp6n3SIWdM7/yQjwtITTnj7fr4BWq213+4gqVCO0JuKujw0LLaOGxTBBPLmt+x30= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705523393; c=relaxed/simple; bh=YD575AqDWxtRQQng31p0N7tpxf/VKKoFokMvFPXs22A=; h=Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Google-Smtp-Source:X-Received:MIME-Version: References:In-Reply-To:From:Date:Message-ID:Subject:To:Cc: Content-Type:Content-Transfer-Encoding; b=IIJLsKGjoVc3qPve3UEpxbZq3g79DPDic24wv7D0+3bQZvlJ6NGd/nsm6ufXjhd/crmPIhuW/Q3UMRsXrCA1f8nfReqq6b6PDudRNCZJieT3+4uO1RHJpn9bleDxhItF0ScjgbUL9Ib1MWXxrm4XC3Ks/5PuTCkwDLr8LCLCbRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=Sd+ghtGJ; arc=none smtp.client-ip=209.85.222.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=google.com Received: by mail-ua1-f47.google.com with SMTP id a1e0cc1a2514c-7ce3c7566e0so2843982241.1 for ; Wed, 17 Jan 2024 12:29:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1705523390; x=1706128190; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=YD575AqDWxtRQQng31p0N7tpxf/VKKoFokMvFPXs22A=; b=Sd+ghtGJGDgR+cV1CO7AXrnYre/xniCvNl0iyzZ9mORv140T6ZC9rHVjbOaqroBnYU PPqv28JUMkw/selk4LCW0Iey3oUIoJ2kgtQjyhSy7UVIp0wU1GBug8INCoLaPq8XjUjC QnxmrJmU+mSU316rXvvKxx2KABd1ej/2ZY5OCExCaluyxb2o+Y+3pt3Lp62Ez6ZKUZa1 +VzQhWg1oGV9GDbGu66fo1LC2qWPsSDYJreNjx2UB17eP3IRq9YFPJCrB9DPxpvDvfe/ Ut2BTo1I5Q99ESfWgc+JoLEyNhiV9UAEM2r4mN80DzKhP74p6l1njIzQPFmf+IjjR7On BaDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705523390; x=1706128190; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YD575AqDWxtRQQng31p0N7tpxf/VKKoFokMvFPXs22A=; b=pTMGsi12q5+B/jeRIyAx+RXNhTV1hrdvZuuW47l3GJeQzqiYTunFNvpSkqFGtoEEyJ F3UVd3t77gAnVw3cwJi5k+bk8wN5xfiRNXS37zAPocIgPMm6c54k7yGBSpZEMDxtGbFJ /6y29Ay1nA95dU4uVby15UwcChdKzayp6o9DUTogyUuSVQizRBtm7GKpHn4Z9HrxAEpb b+g3nHQ4ySKtb7h9p43/FUv+bZilEP9Von60GviKz7muPuoJhsWT2np9c4BDwm/JQikk bzxyz4TGEL2saAgoFwQ8gcNZEeVcDjOZ0akmE+H2fl/DOE6cYcZyJ2zIMizoAe/PdJ49 3xSQ== X-Gm-Message-State: AOJu0YypnUxgPiGXoLH4+IG0ievW8OGjsNtwWxghNEO2JCUeskJQa9In E7UYnLSxYMXUhSCTzNK+vpUOsxnG7u+ME9I/MA9LjgLP/fyr X-Received: by 2002:a67:ef8b:0:b0:467:ddc7:e7c0 with SMTP id r11-20020a67ef8b000000b00467ddc7e7c0mr3765571vsp.17.1705523390532; Wed, 17 Jan 2024 12:29:50 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20230929211155.3910949-4-samitolvanen@google.com> In-Reply-To: From: Sami Tolvanen Date: Wed, 17 Jan 2024 12:29:12 -0800 Message-ID: Subject: Re: [PATCH 0/2] riscv: Increase mmap_rnd_bits_max on Sv48/57 To: Palmer Dabbelt Cc: Paul Walmsley , aou@eecs.berkeley.edu, akpm@linux-foundation.org, keescook@chromium.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org, llvm@lists.linux.dev, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Palmer, On Wed, Dec 6, 2023 at 5:14=E2=80=AFAM Palmer Dabbelt = wrote: > > On Fri, 29 Sep 2023 14:11:56 PDT (-0700), samitolvanen@google.com wrote: > > Hi all, > > > > We noticed that 64-bit RISC-V kernels limit mmap_rnd_bits to 24 > > even if the hardware supports a larger virtual address space size > > [1]. These two patches allow mmap_rnd_bits_max to be changed during > > init, and bumps up the maximum randomness if we end up setting up > > 4/5-level paging at boot. > > Sorry for missing this, I'm just poking through old stuff in patchwork. > As far as I can tell this is still relevant, the discussions are just on > the mmap() bits (but we'd already screwed that one up and have since > fixed it). > > So > > Reviewed-by: Palmer Dabbelt > Acked-by: Palmer Dabbelt > > in case someone else wants to take it, but I'm OK taking that MM patch > with Kees' review. Is this still on your radar for v6.8 or would you prefer me to resend the patches? Sami