Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2004137lqb; Mon, 27 May 2024 05:04:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDfrkpLhqdmjVWdMnNGLxJH5XeIfq3XG1rJmhVQSXP21s7KojNjkWBv4xGiZBSJh9DbhJs+qxWOhrAuQvSVwgXhPlOW2pgdQhd31GX9w== X-Google-Smtp-Source: AGHT+IFQktrFdocfNXXD+Tluc+MZ/hE+kytWkahSu6Ig+7dhLzp+bk3Oly/cx11jLpvE7524O9jF X-Received: by 2002:a05:6a20:a11a:b0:1b0:257b:a5da with SMTP id adf61e73a8af0-1b212f0e998mr11375135637.45.1716811446238; Mon, 27 May 2024 05:04:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716811446; cv=pass; d=google.com; s=arc-20160816; b=i5rZ/h1cdQdrqIEQC/zzezRqoqn8VI2TOJIkhVKSBYQCgaZIkCkI2n7RhzRC6FC2s4 mqn14FQ3p2CBAaaEC6KUmu/kqUihZYvegNRK2dCA+jrMCI6uk1VbUOod9FIf73imPVLe tDPOwQVHCP9SMHsBzFZMC2f9EeMhHICD0NCAVDf9blmUGUhrXeyXfORDXtIBze3RpsrG W1wPk4sVlSkgTPB9/vSbOvRzNaOyBREJPkLnfUaOGx/Xh3tK7kgLCDtTpEKsaHq1v9f2 yud1t/xqL1t3OCpHxOdd/mmeuRtkbpCYg2edalpRJKR33xEfo+r9vRsJwEZ1U5jWRZf1 mUwg== 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:dkim-signature:dkim-signature :dkim-signature; bh=2f3e4eA0EYCAHDS7kAJ9/g5TIlOdMCZlb+GA1zYLi7c=; fh=7FqQY95/6dNosXCjFkEopk0YDb4YCNocz5tbx4U0IiY=; b=k8aDpyY7d8E8jwqC7FeZaAXxuuKk2tJELtrXAnmCZa7qO+CFq39KoPjXubdiZI8ERP 5d+6CssfEDprIm4a0d0ocu/CVLdZBKMt7Q1H07iywteJSS9AIEiKwnssYAbAQlS6tkJy CkwFbxc0Yvl/JkhSqojYeHZYh1/oNRC5T7TmJ17CBghoubsXGdeM7z5e5wopTL3tWWGK AZTLA2E7HeklAob+fOgBry88y+Y1s6ZPyzpSG69v2MCX2h5/ORZIrmGbvLx0h6nBdn0Z BS+/YuJseTIVUVhXDjuFeipmoh/+rzlwhPnDnDqhrTBhL0bChU7pe7s6DEsENDICtvCq uh2A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=TPgt3s5r; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=FK4yjBeY; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-190514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822a98fd8bsi6218325a12.741.2024.05.27.05.04.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 05:04:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-190514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=TPgt3s5r; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=FK4yjBeY; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-kernel+bounces-190514-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-190514-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 91E8AB242A4 for ; Mon, 27 May 2024 11:52:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4499A15ECF4; Mon, 27 May 2024 11:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="TPgt3s5r"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="1Z0ASMc8"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="FK4yjBeY"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="csvjI1Mp" Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 BCA6115ECDE for ; Mon, 27 May 2024 11:50:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716810603; cv=none; b=avGduaeOlxX6K0LVxRrbkYCskBL0/t1pa83S/luN5O38QeKN9BCeCSZAoUhuI/QUKRNumhZ8drw/zq9ydUGf0t4POlXQW0lt9Bz6i06ySbpPDLDJS/0ddHKwcGoIElpH+PERWejhn5ALVYO474tCCsKGdib4EHLjY9H3xJhVbD8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716810603; c=relaxed/simple; bh=wrcYuQ4mk5lfvedS0hfgue6NgEYm68+OvAVcFDW58kM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=b/80bv6VxQ576oKLBLEIflHcrxB9Bgi+ZSqDbAUgL3n3+yBcj7HxozmsAIcS9sM6XsJj1DTTsB8wYA3O3kKi8X9ACiiMH0l7b4B87soxLIwBazP60/fXGJxrbdhESeATW271/D9FkYeSs9ANsPAK1tXwMaHBQfRsQYSlizrp0M8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=TPgt3s5r; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=1Z0ASMc8; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=FK4yjBeY; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=csvjI1Mp; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id C7ECE1FD15; Mon, 27 May 2024 11:49:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1716810600; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2f3e4eA0EYCAHDS7kAJ9/g5TIlOdMCZlb+GA1zYLi7c=; b=TPgt3s5r0y0zXEu2robnj+9lLutIHjCzLce9yz+3C99s1hA24IDqi5wHhwjeDr02ZZVz8R n4xC9bW1klAfzCsj1ZXS6ekk94BNK8HA0Qg302UVk2gkFyIXbMSWNGbHTKPNmcU9BxnRsN Oym+8TKailW0cYqcGO8tI7+ZGLkIuMI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1716810600; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2f3e4eA0EYCAHDS7kAJ9/g5TIlOdMCZlb+GA1zYLi7c=; b=1Z0ASMc8+dP1Ki9ltstJGOnEV9G29DLn1s1Zlg0rjXDq3g+kCgtU4w5vdq57CELAoqMrOC Tllpfuv60NGXr6Aw== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=FK4yjBeY; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=csvjI1Mp DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1716810599; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2f3e4eA0EYCAHDS7kAJ9/g5TIlOdMCZlb+GA1zYLi7c=; b=FK4yjBeYP9PYFDTeqXn48SfZzVnJl1EldFXcgzO7TrabhK6zcQ98ZrZ3Zlx/vCTnumDsNL qcdaK6iibqaYrYELRp8EYqaeNvi/Sak4dznhd7GqdItnqvq6PP2RttZvPHjLDUVdPJp1gd YF0WQIgZ8A0yOKCBkxzuiZZ242HOx90= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1716810599; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=2f3e4eA0EYCAHDS7kAJ9/g5TIlOdMCZlb+GA1zYLi7c=; b=csvjI1Mp0aR+Ir6mBbK08dJfwgSIBseTtQfDbHdXoGVJpLRitdjsTO7lzK9/DYur8XeJTr YB+0/aBXjrLYjWDQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 4BFA013A6B; Mon, 27 May 2024 11:49:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id dhO/D2dzVGYUUAAAD6G6ig (envelope-from ); Mon, 27 May 2024 11:49:59 +0000 Date: Mon, 27 May 2024 13:49:49 +0200 From: Oscar Salvador To: Christophe Leroy Cc: Andrew Morton , Jason Gunthorpe , Peter Xu , Michael Ellerman , Nicholas Piggin , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [RFC PATCH v3 06/16] powerpc/mm: Allow hugepages without hugepd Message-ID: References: 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: X-Spam-Level: X-Spamd-Result: default: False [-4.51 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; ARC_NA(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_CC(0.00)[linux-foundation.org,nvidia.com,redhat.com,ellerman.id.au,gmail.com,vger.kernel.org,kvack.org,lists.ozlabs.org]; DKIM_TRACE(0.00)[suse.de:+]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_BLOCKED(0.00)[suse.de:dkim]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_SEVEN(0.00)[9]; MISSING_XM_UA(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,suse.de:email,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns] X-Rspamd-Action: no action X-Rspamd-Queue-Id: C7ECE1FD15 X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spam-Score: -4.51 On Sun, May 26, 2024 at 11:22:26AM +0200, Christophe Leroy wrote: > In preparation of implementing huge pages on powerpc 8xx > without hugepd, enclose hugepd related code inside an > ifdef CONFIG_ARCH_HAS_HUGEPD > > This also allows removing some stubs. > > Signed-off-by: Christophe Leroy Reviewed-by: Oscar Salvador -- Oscar Salvador SUSE Labs