Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2729720pxb; Mon, 31 Jan 2022 03:05:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYawW0figJRU1VF1Kxw6tjfz/1dJ30VwWYln31pxoPR3GfVZOUEVnj2FFmv5QI9/xAInve X-Received: by 2002:a17:902:8d81:: with SMTP id v1mr20247175plo.20.1643627128980; Mon, 31 Jan 2022 03:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643627128; cv=none; d=google.com; s=arc-20160816; b=cBrFJmfauQmiypUKpQf/5o5FS0Vf0Q9ilEjuUdJHrVHRT1st9MhCmaZ8t8BOh7Z8ac LIrnV1ukrSm+nCvDPFe9cvsPsYZll7z1hHBdsjB8ug0qJaUdQa/Cp07DYoQydw4V4/I3 J9DJ0c7+rd+vTj+hoe7h7p0yWKLdrBkCs7HJ+UIEDTkO4t4UTd614xoqgSfP0n7dDwZa sd3MS0+iLXHbieYbAuXcgGrpZN6SVCVQPrtPgb+BYVdV+vRXRy3jgYNmBy3LpxF/k7zD 48fP5foMXR2ZK84E3GsRoCqWMZv/hI3u400yWJpzMjk8X7Y9hHvwDbbLXTlEo0HwHk+c FbYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=c0MbAYZn48s/2sw8+6sJEGK9DVzD/LP2yU/tzes0Wew=; b=uKr2QeuM7nnY7tJ9SH3pwfafj7zboXXT1vFNsetmoVcP+h/kqZ9izfsztc/uUXYaW/ SJmUStr/uOdKCmcHHvng+wVM+1mdfr1RKkes/ymnD9kZKdF8XcycpDNryhoX6dBr6gL1 ooNIRYWgtCoG3w4aGMgI9KNtTfCrAnmA/1nEuP5Qkvrr843iBjgqF8Vm0P5X1Fpqdpn9 TCMvCfL3Q7RFdFT3aBgeQsZ2tFqIrLY3Bg/M4BD8KtNSQgN8p49lvIb6D16G4mynTpAK j25eiONTkeo7yzxNW7cQWcR5Tx86mLxAQmh0712XCWmKH2aleaqqJlUhUr5GFQmxgTCu ATXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KnoYpCRO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 30si15000840pgw.509.2022.01.31.03.05.18; Mon, 31 Jan 2022 03:05:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KnoYpCRO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347191AbiA1OJw (ORCPT + 99 others); Fri, 28 Jan 2022 09:09:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240958AbiA1OJv (ORCPT ); Fri, 28 Jan 2022 09:09:51 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 38BE6C061714 for ; Fri, 28 Jan 2022 06:09:51 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id c23so11132518wrb.5 for ; Fri, 28 Jan 2022 06:09:51 -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=z5i1stM+u59daHW83pOw4IrFEaNOlYC5ZTk1yDrIcYYUZNGElSRzGx5Fi2v/EpLUO9 VrTcAUtc6gbAsBx001ut1DH2NFpVuf7ZT84WjboVoU5ehHNj3Mf1UavQQItf8Z/wg04+ TTzMG8gHkJ0TOYcNU1vKWjb3SMGzCTZrwUm+Dr82nROvu2Nxm9KKrC4X7NnUOsJ4643T kt+qzHouDGDXdc2VKKnhCdli5OVR07bEo6eYjl4lSEg05eQVkM4zaQNzSTZp59NtY+Rl LaGUpF1+VaDluAcSM+qffnZDKPfayqwmmkt7VwsVHsHnJxu9K4cldDXpfb0B0fTHbFMc 4glA== X-Gm-Message-State: AOAM533lsYp22wFGJuB6WkittVzmCqKg5KPPX1ccPTaJJd3JsR0819GO xPtJzvZhm9DSN8N9RK6LKku9+A== 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: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.