From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD7EDC433F5 for ; Fri, 28 Jan 2022 14:09:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 0801C6B00C2; Fri, 28 Jan 2022 09:09:53 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 0084F6B00C5; Fri, 28 Jan 2022 09:09:52 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id DC43C6B00C6; Fri, 28 Jan 2022 09:09:52 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0046.hostedemail.com [216.40.44.46]) by kanga.kvack.org (Postfix) with ESMTP id C856B6B00C2 for ; Fri, 28 Jan 2022 09:09:52 -0500 (EST) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 8D6428249980 for ; Fri, 28 Jan 2022 14:09:52 +0000 (UTC) X-FDA: 79079879424.26.C56ED9C Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) by imf25.hostedemail.com (Postfix) with ESMTP id 3491FA0022 for ; Fri, 28 Jan 2022 14:09:51 +0000 (UTC) Received: by mail-wr1-f41.google.com with SMTP id k18so11087519wrg.11 for ; Fri, 28 Jan 2022 06:09:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=c0MbAYZn48s/2sw8+6sJEGK9DVzD/LP2yU/tzes0Wew=; b=KnoYpCROJNJ4KeVjiMHVRjI3Nw6MBdLiVMYBKyWi5SjTGkUNhmLXnrLxkxBTE/uvzm 1i7z3jyz9HYmoZNAG5Loy00qH2mtg+iFqBgPPlltZlvuAUpVQzHJC/Zh5YvuO8bbiuKV EhY0GkfgFO0pVCtVfHeoBwIMjXpF7AfmFwBBlSPZrfauweTohE5pmPCqYrkC4s7Xusfz 4HPmI5qzz1+q+sdmUh4Ity1hlHsWh5wpsKT4x8GRkQTfDY1KyAL6lGRKpMiXEM/O84+/ bEb7k6+NG5FdGoGanjw1rOia/TgJAtC6p47O0pODeUAm6OEJWTT+h5i60wvVX+nLYbKo twmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=c0MbAYZn48s/2sw8+6sJEGK9DVzD/LP2yU/tzes0Wew=; b=PRTGpvGhGZ3jDqMqWvk6urcoObMSYnnw4E5BdIawabU/YtHSDFin5u00jEs43+IJ7U KcsBuwhQJMetgMd+DTwDkcL7sfOZBzD6KKuPMlJhUb+SxSleFv1JZf8Gnr0+LEm6E+GC symrLv7MVALXd2Ls1//2LYnULZyZzdH/JvCF0Cv/6S8INzIKB7haHbv3EdNJoUtri6iq 0r/bLUB9GwxdFBS/kTFBgFGGnQNVYphx1PJi0M3cpOh1lNRvhVT0PCWPfEip2e5GriK/ imtNVX3UZD7Tf/s561EbXp9SMO+U8Gj4gDFMkoYqABgL0YND1Z9iB06YYx3idW5yVh6G QBfQ== X-Gm-Message-State: AOAM532lfyRiV6ng/UyUUT/4Qd1MDprbsV4BLaFgQc/E8zZ3iQifbXxE VWPPik4jPy5x4D873oWTC71pDg== X-Google-Smtp-Source: ABdhPJwcwaW5k4PCVMl0xIx5mubfMQwAXKgrPRB+Y2ibDaLBwjoVmYeQufxi/ZaCrtP5AiArmXZMSw== X-Received: by 2002:adf:d1ed:: with SMTP id g13mr7395000wrd.477.1643378989779; Fri, 28 Jan 2022 06:09:49 -0800 (PST) Received: from maple.lan (cpc141216-aztw34-2-0-cust174.18-1.cable.virginm.net. [80.7.220.175]) by smtp.gmail.com with ESMTPSA id w22sm4811774wra.59.2022.01.28.06.09.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 06:09:49 -0800 (PST) Date: Fri, 28 Jan 2022 14:09:47 +0000 From: Daniel Thompson To: Christophe Leroy Cc: Luis Chamberlain , Jessica Yu , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , "kgdb-bugreport@lists.sourceforge.net" , "linux-mm@kvack.org" , "linux-arch@vger.kernel.org" , Jason Wessel , Douglas Anderson Subject: Re: [PATCH v2 4/5] modules: Add CONFIG_ARCH_WANTS_MODULES_DATA_IN_VMALLOC Message-ID: <20220128140947.n2xea77txqohfbfj@maple.lan> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 3491FA0022 X-Stat-Signature: efmqnjapth3m7ez1hychr7kd8m7dm7j5 X-Rspam-User: nil Authentication-Results: imf25.hostedemail.com; dkim=pass header.d=linaro.org header.s=google header.b=KnoYpCRO; spf=pass (imf25.hostedemail.com: domain of daniel.thompson@linaro.org designates 209.85.221.41 as permitted sender) smtp.mailfrom=daniel.thompson@linaro.org; dmarc=pass (policy=none) header.from=linaro.org X-HE-Tag: 1643378991-526482 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000615, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Thu, Jan 27, 2022 at 11:28:09AM +0000, Christophe Leroy wrote: > Add CONFIG_ARCH_WANTS_MODULES_DATA_IN_VMALLOC to allow architectures > to request having modules data in vmalloc area instead of module area. > > This is required on powerpc book3s/32 in order to set data non > executable, because it is not possible to set executability on page > basis, this is done per 256 Mbytes segments. The module area has exec > right, vmalloc area has noexec. > > This can also be useful on other powerpc/32 in order to maximize the > chance of code being close enough to kernel core to avoid branch > trampolines. > > Signed-off-by: Christophe Leroy > Cc: Jason Wessel > Cc: Daniel Thompson > Cc: Douglas Anderson Thanks for diligence in making sure kdb is up to date! Acked-by: Daniel Thompson Daniel.