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 06AB8D18130 for ; Mon, 14 Oct 2024 16:35:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 9213A6B0085; Mon, 14 Oct 2024 12:35:47 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 8D1096B0088; Mon, 14 Oct 2024 12:35:47 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 798506B0089; Mon, 14 Oct 2024 12:35:47 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 5BCB96B0085 for ; Mon, 14 Oct 2024 12:35:47 -0400 (EDT) Received: from smtpin22.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay08.hostedemail.com (Postfix) with ESMTP id 01E4B141027 for ; Mon, 14 Oct 2024 16:35:38 +0000 (UTC) X-FDA: 82672758924.22.CF1903E Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by imf22.hostedemail.com (Postfix) with ESMTP id 28859C0010 for ; Mon, 14 Oct 2024 16:35:36 +0000 (UTC) Authentication-Results: imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 93.17.235.10 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu; dmarc=pass (policy=quarantine) header.from=csgroup.eu ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1728923602; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=lxLg3D1mQX8bXbjfnZjDH2FqJXvnmGB/7P1Xiff2ViI=; b=mQBKZY4X0uB99kN6ZwsGZ0pg6X3pcInDudG4n8E6DP9MdyEywOUybbQSwSBDjGZ97GY2J+ 47ex3arsCJtdwRQsljTw81iiJzvamng5zZj/FLjCOTq/EWVY+2X5H3oDzzeSSy763OHuec Kpo9gwEMNkBBJri/QrO/brNLkE1DnrQ= ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1728923602; a=rsa-sha256; cv=none; b=PNwqNX9RZOyWIf2L4IYN69Unknz9BELeWuTIU4L34k9uSYS+y4Cobr00TrRrBQBeKWBUHe KYIeu5QyDJdT0RU8OE1rbBLfg4wvpoI3HAQSBR3f9D9AVuIM6lMjHdXgJk/wLUlHDVskps CQLiqYDP5HUXAwXBwoITXHoJ9UvEJCI= ARC-Authentication-Results: i=1; imf22.hostedemail.com; dkim=none; spf=pass (imf22.hostedemail.com: domain of christophe.leroy@csgroup.eu designates 93.17.235.10 as permitted sender) smtp.mailfrom=christophe.leroy@csgroup.eu; dmarc=pass (policy=quarantine) header.from=csgroup.eu Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4XS2sV0NNfz9sPd; Mon, 14 Oct 2024 18:35:42 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id buVrh9wG_YJs; Mon, 14 Oct 2024 18:35:41 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4XS2sT65Hrz9rvV; Mon, 14 Oct 2024 18:35:41 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id BA8588B766; Mon, 14 Oct 2024 18:35:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id H0wbCbiFQOXZ; Mon, 14 Oct 2024 18:35:41 +0200 (CEST) Received: from [192.168.233.7] (POS169783.IDSI0.si.c-s.fr [192.168.233.7]) by messagerie.si.c-s.fr (Postfix) with ESMTP id E17658B764; Mon, 14 Oct 2024 18:35:39 +0200 (CEST) Message-ID: <615e9d81-dac8-41de-9831-5792bdb3f3bf@csgroup.eu> Date: Mon, 14 Oct 2024 18:35:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [linux-next:master] [x86/module] 6661cae1aa: WARNING:at_arch/x86/mm/pat/set_memory.c:#__cpa_process_fault To: Mike Rapoport , Dave Hansen Cc: kernel test robot , oe-lkp@lists.linux.dev, lkp@intel.com, Linux Memory Management List , Andrew Morton , Andreas Larsson , Andy Lutomirski , Ard Biesheuvel , Arnd Bergmann , Borislav Petkov , Brian Cain , Catalin Marinas , Christoph Hellwig , Dave Hansen , Dinh Nguyen , Geert Uytterhoeven , Guo Ren , Helge Deller , Huacai Chen , Ingo Molnar , Johannes Berg , John Paul Adrian Glaubitz , Kent Overstreet , "Liam R. Howlett" , Luis Chamberlain , Mark Rutland , Masami Hiramatsu , Matt Turner , Max Filippov , Michael Ellerman , Michal Simek , Oleg Nesterov , Palmer Dabbelt , Peter Zijlstra , Richard Weinberger , Russell King , Song Liu , Stafford Horne , Steven Rostedt , Thomas Bogendoerfer , Thomas Gleixner , Uladzislau Rezki , Vineet Gupta , Will Deacon , linux-kernel@vger.kernel.org References: <202410111408.8fe6f604-lkp@intel.com> <73d5a6ed-da3c-448e-8cf8-6abb59cb2c36@intel.com> Content-Language: fr-FR From: Christophe Leroy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam04 X-Rspamd-Queue-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ijMOsNims7nBmvb93naVWqZUSZDJYD4FfJ9SImuEDlCPbdY5N6PosmCIVBAqrC0TrAfeRGd8d8gZL+e5XSFOIVhGwpFagkrqNT/D4YtGj00ZAgRvPaW4LHHAZ8fdSHr1h4Po7/QlrRPFeP7xINWbTeH4+z3YdJNKc0I2ch9mpF7j7nw X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: Le 13/10/2024 à 10:17, Mike Rapoport a écrit : > On Fri, Oct 11, 2024 at 09:30:33AM -0700, Dave Hansen wrote: >> On 10/11/24 08:40, Mike Rapoport wrote: >>> On Fri, Oct 11, 2024 at 07:00:01AM -0700, Dave Hansen wrote: >>>> On 10/11/24 06:08, Mike Rapoport wrote: >>>>> This patch disables ROX caches on 32-bit, it should fix the issue. >>>> While I'm not going to shed a tear for 32-bit, what's the actual >>>> compatibility issue with 32-bit? >>> From the stack trace it looks like execmem tries to update the direct map >>> for highmem memory, and cpa is not happy about it. >> >> First of all, if it's a highmem problem, shouldn't the check be for >> CONFIG_HIGHMEM and not on 32-bit vs. 64-bit? We do have non-highmem >> 32-bit configs. > > 32 bit also does not have ARCH_HUGE_VMALLOC and execmem cache will be > anyway populated with 4k pages, so I don't see why it would be useful on 32 > bit all. > Are you talking about X86 only or any architecture ? On powerpc we have: arch/powerpc/Kconfig: select HAVE_ARCH_HUGE_VMALLOC if HAVE_ARCH_HUGE_VMAP arch/powerpc/Kconfig: select HAVE_ARCH_HUGE_VMAP if PPC_RADIX_MMU || PPC_8xx PPC_8xx is 32 bits. Christophe