Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1974556lqp; Sat, 23 Mar 2024 18:55:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWhPhBLLgMVO3VzmYuTy0RF/lAg4yb8YompWI2Z2Gzyf/KxA5fkj8bYFuitdOjA7R0lUw29IA8MI9BAUyR63l2ClSofV6rE6EZ2+5siyA== X-Google-Smtp-Source: AGHT+IHYWl8gJATHZKTv5OOud9IvFdA6rnve4bv1L+EVyMaNxS95ZooCfMkJcZvnKmOLm5WwDww/ X-Received: by 2002:a05:6870:e388:b0:220:8d2e:c78d with SMTP id x8-20020a056870e38800b002208d2ec78dmr4218992oad.7.1711245319275; Sat, 23 Mar 2024 18:55:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711245319; cv=pass; d=google.com; s=arc-20160816; b=jPgOQH9/YLTMJhLFHj4TSR8XKKQWyddfDyc1UARCK+CDZqJ1T3OQOEykNWnXN8tFlq FDPbePib12prdcudsrXcUpl6DUQA2siVJReJDWcZo0diqpq4Qx3fyZOA3jJPEt4uVQwi YMtRkzAZ+6DDtWTr1gqqwQlgn2Raamt/8sOVkBiI+QmU6WE5W1Ltj2uGe0oa6V+qNIGC sMafyQUAs2PxMIrEiZlBKPtS4mgDUvqnrO7DQpB76+UCXHXiPHfMclw0/xIajLWE2Ovi qI/dUo308wbVemfsVhGfntvSScrzW5p4xV0AHiL/6e10aZ2/B6Jr48mhnvsyziv8G6tL fCug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=epiAq/uhOjFytLKsUkArgR/82Gp4Db9hW2gITSregD0=; fh=/Nd1lXTziaP8sR/dWihYYVxmyYJnRJooSiDpJA7X+rU=; b=nirQUhmT4xn//Q5Cx1kiN7hhpb6kRvyPJhGbhiB/36NOsRbPaQsis5qlfcSwGrrqr4 wPqsMul/k6+mSmPuiKLhF9mPluTaED4bdc9LTQL9ax04/8BJml9u/54kEFDi73YexOKR CeJxkFznqy++HrK+OKAPBGQIPnD/HRSWAm+3fMBzxqNjV/BhWMBv5Dm9vsWgxKjLyGul ualCJ6oR1xdKzILnyZLeHgl9v8yBPFdkkd5YgQsG0UrN8B8bMpGqleiHusrG1+oftarW oi+f5j4Psz/GX2KW84oODAQmW47POZY/WKy5sKLQ2QK2u8sYUGl90LOL/4pvtulWsyN8 FzVw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=VeOUJf54; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-112528-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112528-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id bm7-20020a056a00320700b006e6c374f109si2405247pfb.38.2024.03.23.18.55.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 18:55:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112528-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=@infradead.org header.s=bombadil.20210309 header.b=VeOUJf54; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-112528-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112528-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F07ADB219DA for ; Sun, 24 Mar 2024 00:37:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BBA9DA50; Sun, 24 Mar 2024 00:37:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="VeOUJf54" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9EF87399; Sun, 24 Mar 2024 00:37:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711240647; cv=none; b=Ix8UYpmeMSNS+LM1657M4cN6N9sNfD/PAahOG96WYyiic6aS4S1Kqa+knpwH+kqaOJp+yxGeOB8rEwKeHbo+K0TuxOwkorqULDxDaTmpe3KfxfSHZhGRZFOe86Znr0+PcV+ITTtRmPSk2DUXcvKhDnFADNQWybVEd5pJNwWtUEo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711240647; c=relaxed/simple; bh=cIzNabmO/wIIEk6PzjySaf+efj9NqcfRU1AKQDQVcy0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=skdDvowSefeYXv/9FgDFTe9wpdnzQis/bk/b/gYBFn98EZfpGkXFwutm2tfREcRN4yTU5npm9TC0FS8XYtDKLurkxhjF4m+sJskU26sPeFF/h3nOR/hdjrQzVWWhHbG0BJNpYOwLWOdEWkKuob5Jm+ff01KiOhe79myW5gjgHt4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=VeOUJf54; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=epiAq/uhOjFytLKsUkArgR/82Gp4Db9hW2gITSregD0=; b=VeOUJf540a8tuf9Bll54X21YBu /LJxaqcMokzI3nuUQ6MwR4o3c7FF9Vyrp++qtlTxSbYPxVZ/QbIvrn+Hq5SEeGBpivbNju5lJrvkN DIUIPUuZE7xjeq/YeLadaAkEOebhf8ZZj7gdX2sR7dqx45vFY8DomYUxUCf8sYUdiN28qKLxVZiow xDapCMQa2Jvr3UjJWODDgDXaJHezMVOwJCdNlonBQeX+FMMagvEc4c4n9PuT9R5qqYhWU0NatRrW1 tPJqraJCrpvB1DjAJQ6ZVOTaRhuT9u2BYBwGQwbYyi0sklHkxsKa7NBSzkNZONfgTsqfQnh1L+Fhq eMuLGT5Q==; Received: from [50.53.2.121] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1roBrY-0000000BTiB-1PUq; Sun, 24 Mar 2024 00:37:24 +0000 Message-ID: <40c96057-4bd8-4743-bea1-5d848f0e0c84@infradead.org> Date: Sat, 23 Mar 2024 17:37:21 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] arch/riscv: Enable kprobes when CONFIG_MODULES=n Content-Language: en-US To: Jarkko Sakkinen , linux-riscv@lists.infradead.org Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-kernel@vger.kernel.org, "Naveen N . Rao" , Anil S Keshavamurthy , "David S . Miller" , Masami Hiramatsu , linux-trace-kernel@vger.kernel.org References: <20240323232908.13261-1-jarkko@kernel.org> From: Randy Dunlap In-Reply-To: <20240323232908.13261-1-jarkko@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 3/23/24 16:29, Jarkko Sakkinen wrote: > +config HAVE_KPROBES_ALLOC > + bool > + help > + Architectures that select this option are capable of allocating memory > + for kprobes withou the kernel module allocator. without -- #Randy