Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1436394pxf; Fri, 12 Mar 2021 09:25:53 -0800 (PST) X-Google-Smtp-Source: ABdhPJyZ+2nX3IwYwAq7azQ+sQ+hy8F0vq3DQq7pI7L0+np+cvS6j1Qea9i+HxsMOTzdc5Qi4tFD X-Received: by 2002:a05:6402:1a4f:: with SMTP id bf15mr15522788edb.304.1615569952900; Fri, 12 Mar 2021 09:25:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615569952; cv=none; d=google.com; s=arc-20160816; b=IICygWjo5rv+Az2uvpdEIq0n1XCzxOpmNkc70680kBuj6ZQFLS5Ukj29d/d+FnlA5+ kc1auTiwosXRTXNcrnR26TEEnAgX1AmOXpRtzQbq6Im3qFVjxOEWQ+pUBYNyVkNnCqP0 gts9PVsIcLKDG9NGUJgisDGX5JYNA6lPOsSTdEw6Y1795qLO7SPdWywTeLdUZsMOdjP/ Q+FrG83k29rpD8yK/mkNkXbJHxHAs1C5yOPH3BntZ+ULY1xUt+QfpoB+UvBSZij7dE5l KlGRUTu5kg+08bL+1uFbD4s85WiscbxSrXcE9jqPtKKRj4A52+vTPw4h3H2AFRCR62+x ji9A== 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; bh=6HWD5kLYeqDxkkSDRO2Srv32oyFMKOOaiP3I75+QgNk=; b=DCz2+vmP/ldqvMaFhBHcI39nQON1rrz98FFL3lmfeo41acbhcQWR9UOBTWrPM6aXwx Cv248aUudeL+iScNjr92sorsns7r3Rn7UuieGh878oa/6sSYo0Bq6hoifPPyVaqREN1o MJ2pyLCX79wugUM0LPh1g7i/2Wbg1BmMXxqr5N7qvBVlGFm05zGe5AOHBTfIz6IIjOfd oAIWKxfHh/rW4ENg+uWZNCctdI2IuZsBWUd+NZxVYGat34M9L2WfBIwLBGLuHIxZPtO4 La9oiiE7++ouq41pR2vsFlItT2PqZrKRznZlQoCiOeSEXr8hQl9L7PvLk2L28Ug+EfPR XbUA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o15si3805401ejh.542.2021.03.12.09.25.30; Fri, 12 Mar 2021 09:25:52 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232528AbhCLRYe (ORCPT + 99 others); Fri, 12 Mar 2021 12:24:34 -0500 Received: from foss.arm.com ([217.140.110.172]:57776 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232217AbhCLRYF (ORCPT ); Fri, 12 Mar 2021 12:24:05 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E6F481FB; Fri, 12 Mar 2021 09:24:04 -0800 (PST) Received: from e107158-lin.cambridge.arm.com (e107158-lin.cambridge.arm.com [10.1.195.57]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CAC013F7D7; Fri, 12 Mar 2021 09:24:03 -0800 (PST) Date: Fri, 12 Mar 2021 17:24:01 +0000 From: Qais Yousef To: Alexander Sverdlin Cc: Florian Fainelli , Steven Rostedt , Ingo Molnar , Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ard Biesheuvel Subject: Re: [PATCH v7 2/2] ARM: ftrace: Add MODULE_PLTS support Message-ID: <20210312172401.36awjh4hmj4cs6ot@e107158-lin.cambridge.arm.com> References: <20210127110944.41813-1-alexander.sverdlin@nokia.com> <20210127110944.41813-3-alexander.sverdlin@nokia.com> <20210307172650.uztx3sk5abybbp3f@e107158-lin.cambridge.arm.com> <0c122390-6e76-f773-86e9-8c085f4384f2@nokia.com> <20210309174201.n53za7mw33dqyleh@e107158-lin.cambridge.arm.com> <3eecf51d-b189-9e8b-f19d-a49d0764aae5@nokia.com> <05608bc8-f44d-5f91-15ab-af00c59b53e6@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alexander On 03/10/21 18:17, Alexander Sverdlin wrote: > Hi! > > On 10/03/2021 17:14, Florian Fainelli wrote: > >>>>> I tried on 5.12-rc2 and 5.11 but couldn't reproduce the problem using your > >>> I still can't reproduce on 5.12-rc2. > >>> > >>> I do have CONFIG_ARM_MODULE_PLTS=y. Do you need to do something else after > >>> loading the module? I tried starting ftrace, but maybe there's a particular > >>> combination required? > >> You need to load a BIG module, so big that it has no place in the modules area > >> any more and goes to vmalloc area. > > You absolutely need a very big module maybe more than one. When I tested > > this, I could use the two proprietary modules (*sigh*) that I needed to > > exercise against and loading one but not the other was not enough to > > make the second module loading spill into vmalloc space. > > Here is what I use instead of these real world "proprietary" modules (which of course > were the real trigger for the patch): > > https://www.spinics.net/lists/arm-kernel/msg878599.html I am testing with your module. I can't reproduce the problem you describe with it as I stated. I will try to spend more time on it on the weekend. Thanks -- Qais Yousef