Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1300971rdb; Wed, 24 Jan 2024 10:36:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IFWMGRD5vtHQ9G2reey7f3Wd/zsYsF9aoZsOP07fzxkRIW3PygffiqI0jYqngs5G3JWj9qu X-Received: by 2002:a05:6902:2606:b0:dc2:2e46:cad0 with SMTP id dw6-20020a056902260600b00dc22e46cad0mr1275715ybb.12.1706121398807; Wed, 24 Jan 2024 10:36:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706121398; cv=pass; d=google.com; s=arc-20160816; b=YIVfuT9N5/CxZHwFf9jqB3+maXHxYQm3rCqTrrYHjaVlozzJFtnmyKMFFfecz0+S2S fw3lVOwf/JzdORygpCj6lAkx0TjDlKcNk3iTdtqrKct5A7mdsrjmmI9Pf0ezTMAehThM mH7ji4Y9OBDcRmxkPqBxUl3GRVQ4N76Y0yfbUk76wu7iAzj/34uT1RQC9Y4EDH2bMNEa y9ntLbaMiwVKP8Zgv6F/DbjSUFyur8miMTwvk1DstI5ARokhqwVqA3cXYOXyAnPs2Fvr GjCl1mi5N8oXDGNkIPJ3QhQ6B/lKR7kRbt4Vgru2Z4GUw9x39wc1aAbdHkTiLmuYIGMl +Zng== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=BSDyjeT+sWx4a7+HucQkDxlfBX8Yu1AlwACyEiZHipQ=; fh=21st8DUSAivxCsU+pUK+Y99eFFtLb6tRuTuacCWZ2KQ=; b=QT5fuAJwX1spIi5IwOpG6PSOgFzQKjlcy3nmS0g7ZAGxDipNR0bNns50IEWWO/JweI OqPZMuwDAm5gVPrhCJNKPOl+mGEnaxAI/SysUjBW6h78z7a1D1bt5D9Mq4CaW9xpFGyr Iz4xJzBRWeBRzuWZhuhLehN9zoByC5a3zkL4wxjYEegXZ80znQTinU3r0yj5MQOzEpqJ T/kQTyc2VBcwmccBLLBCFeJSKfO7WXcxNd7bufdo71UW7iMquoqgYduo7+H0ikc2lD1/ gUO7GmMwHPaijzYBw5B3PPCWcTy4DcpfIInzJxhDQBp5dm60nzLZLcAFvLb+9Dgslo5A 1Kwg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=IPY6oUPt; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-37522-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37522-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n4-20020a0c9d44000000b006818be20423si10382884qvf.385.2024.01.24.10.36.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:36:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37522-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=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b=IPY6oUPt; arc=pass (i=1 spf=pass spfdomain=rivosinc.com dkim=pass dkdomain=rivosinc-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-37522-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37522-linux.lists.archive=gmail.com@vger.kernel.org" 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 8D5851C22D5B for ; Wed, 24 Jan 2024 18:36:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5CA8131737; Wed, 24 Jan 2024 18:35:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b="IPY6oUPt" Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com [209.85.167.177]) (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 42BF3131733 for ; Wed, 24 Jan 2024 18:35:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706121349; cv=none; b=kGGPNswomuckl96OytjGmxMK+kopUtJuzE0rVEfnryqR/xmPwmZVBSuTAh8NvhZZm4ewBSJoz7I5a+nyrdBKDeM/vHKa4NX/xWqDTl4JDFVJBHHrrj9xPf+ucckfxhIRgJItWdJ7PXEMwRQWs2BhX9JfDocB1imDQ6wXjqKN7S0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706121349; c=relaxed/simple; bh=QD6RdBcDxgxeO88Ma7z7Ldbk92/k+S2l/6jPWTI9kvk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jLfrULklK7nrjNS9KF+awgqD5RAtqztZSQUwocNyAPesH3GOzTmA/GCi4ebU16XjShBIYZQTa3Db77F4EmYFm3ZDrJu50OkGEBv00kdBRi023EC5xlPcRTKv5VzR+GeSuxcNMwLpGFrnBFUn73MrDsJ653/I2kKOKxcr9nW/aws= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com; spf=pass smtp.mailfrom=rivosinc.com; dkim=pass (2048-bit key) header.d=rivosinc-com.20230601.gappssmtp.com header.i=@rivosinc-com.20230601.gappssmtp.com header.b=IPY6oUPt; arc=none smtp.client-ip=209.85.167.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rivosinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rivosinc.com Received: by mail-oi1-f177.google.com with SMTP id 5614622812f47-3bda4bd14e2so4454335b6e.2 for ; Wed, 24 Jan 2024 10:35:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1706121347; x=1706726147; darn=vger.kernel.org; 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=BSDyjeT+sWx4a7+HucQkDxlfBX8Yu1AlwACyEiZHipQ=; b=IPY6oUPtAlnmxG36VLpFgsUaNQhBMa2Ig+vdtY1wWWWRQ35/GU1z/r1QME9wBOo6C8 uUYvw5BRN43BSmjfItcRK12YL61qVx8AWuYPWBLk/b3TAR/R8l2Z3to7QQWu+FKeFFNb xSW6AY+Ut+sAoFdkQbRBnzSmX5hA422DorJ0P27+R1w7LqRNJqEMM2nMjmrti3IOF9ix DSV+wVNm4/RMT61Pi/TnCDqjMvvVAlDqcQq5vJ+2VASaMb+GJxi5MlUf8UedRkwDTdrQ RTmUFifKPa/XrNg8NLgY8eQ2vHTWCpwH00IXFSQuW3k5gedk3/5YNpxcVOXbjiT/H6Pr Hbhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706121347; x=1706726147; 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=BSDyjeT+sWx4a7+HucQkDxlfBX8Yu1AlwACyEiZHipQ=; b=fi61MJ5vJX+szF/IZ1v1dylH54ivmgSWdJpu2nNfldcsy58WLz/VTlkR4czbl+r7M0 RLKmAoarO7AAe+0uRw46TOzDasTv+u2U/PC2ND6Mkog2MOsz2Ioogv/KhHPcVlCE3puL DmS/URdh8TyUyMp9JM6JLIZ0LNVtNI14/7dwWjX80aZxGEnumxgK9AdOKSJvUGInoiZf Q/G0ptGSzDA7NLIJvoghcv0lwrCi+38d0r9noNWmN6EcgKkVXNp1q8SGeuulpEWtlxTg MebBcctDS4+Y1AnDK9FFAGgeb6iKdJY6Jo66WbGYfOjN1JzjnjcfuJVr+HsbAkdrQcbN ZSAg== X-Gm-Message-State: AOJu0YwKJvwhXkNZ8JOqsHTcUOd/jPQRTe37/nfyss7iLY/VM6iJ7Q3q wHGHhUcZPgYGZZur/SRzTBBV3y/TpyqXyo+OhURzAEfWDYFfFvFDxSbMjI1pwfg= X-Received: by 2002:a05:6871:581e:b0:210:9e85:edc3 with SMTP id oj30-20020a056871581e00b002109e85edc3mr4154038oac.18.1706121347349; Wed, 24 Jan 2024 10:35:47 -0800 (PST) Received: from ghost ([12.44.203.122]) by smtp.gmail.com with ESMTPSA id t8-20020a63dd08000000b005cf450e91d2sm12079197pgg.52.2024.01.24.10.35.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:35:47 -0800 (PST) Date: Wed, 24 Jan 2024 10:35:43 -0800 From: Charlie Jenkins To: guoren@kernel.org Cc: linux-kernel@vger.kernel.org, paul.walmsley@sifive.com, palmer@dabbelt.com, alexghiti@rivosinc.com, xiao.w.wang@intel.com, david@redhat.com, panqinglin2020@iscas.ac.cn, rick.p.edgecombe@intel.com, willy@infradead.org, bjorn@rivosinc.com, conor.dooley@microchip.com, cleger@rivosinc.com, leobras@redhat.com, linux-riscv@lists.infradead.org, Guo Ren Subject: Re: [PATCH V3 3/4] riscv: mm: Remove unused TASK_SIZE_MIN Message-ID: References: <20231222115703.2404036-1-guoren@kernel.org> <20231222115703.2404036-4-guoren@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231222115703.2404036-4-guoren@kernel.org> On Fri, Dec 22, 2023 at 06:57:02AM -0500, guoren@kernel.org wrote: > From: Guo Ren > > Remove TASK_SIZE_MIN because it's not used anymore. > > Reviewed-by: Leonardo Bras > Signed-off-by: Guo Ren > Signed-off-by: Guo Ren > --- > arch/riscv/include/asm/pgtable.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/riscv/include/asm/pgtable.h b/arch/riscv/include/asm/pgtable.h > index 74ffb2178f54..e415582276ec 100644 > --- a/arch/riscv/include/asm/pgtable.h > +++ b/arch/riscv/include/asm/pgtable.h > @@ -878,7 +878,6 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte) > */ > #ifdef CONFIG_64BIT > #define TASK_SIZE_64 (PGDIR_SIZE * PTRS_PER_PGD / 2) > -#define TASK_SIZE_MIN (PGDIR_SIZE_L3 * PTRS_PER_PGD / 2) > > #ifdef CONFIG_COMPAT > #define TASK_SIZE_32 (_AC(0x80000000, UL)) > @@ -890,7 +889,6 @@ static inline pte_t pte_swp_clear_exclusive(pte_t pte) > > #else > #define TASK_SIZE FIXADDR_START > -#define TASK_SIZE_MIN TASK_SIZE > #endif > > #else /* CONFIG_MMU */ > -- > 2.40.1 > Reviewed-by: Charlie Jenkins