Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1708832rwb; Fri, 5 Aug 2022 06:39:10 -0700 (PDT) X-Google-Smtp-Source: AA6agR50RRNw2eLdXzuN7UTnj5GmYn648AGZhS+FcF8641D1KXAQlMdMeqY07eeKgbtsqr2ldnLT X-Received: by 2002:a63:db17:0:b0:41b:8e02:3e80 with SMTP id e23-20020a63db17000000b0041b8e023e80mr5930476pgg.235.1659706750161; Fri, 05 Aug 2022 06:39:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659706750; cv=none; d=google.com; s=arc-20160816; b=eJrkMck4/Kh3wsfWjFxZrXrVYEwBToXb/ej2Lp7y6OUz4GXHeB8mtk5KQo2OWNAAD1 n+o4GDEUi28zi04W5N+xXmtXnK9+jSW0mPhGBAPB+bWlXs4fFRwSk5MvgIn3Ar2UrM6z poODKK3p7yn2GLXpi9YPNGYfXjfGReMdyFs/bS/5Zw4Ouy1s6m/wWACUIFXfJBCxCjZm zvbxOdrwsRuSSPX4/8er/Cm3CzNZJqCSzxryxudSBFqnr1T5kdk7ZSj1qBST0qlW27fC EF+4KCCdWTmjv2yuuZdRP7TXDpo9czJ/bTmu0szqr2MUYJ+Oz4ooECVQy2K2yVHVK6IF Dnfw== 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=WtZkV/0BKYsG3eNEvlKhZXIE5kxRAhuDGYpv94at7gI=; b=QUKVDaPfjhSRfGVscrv8/W6FfftsEAAqQWVlDJYisVdzZYXbZNp7QSi5HGyLPZI1Ih v/kLZMa2cNsuEPveRx0YJ6sIPekYChfz4WvSZGdSx8jlTkGrvotySrJBZDiilEIOPFuB 2ijuhTuoCG0tL/hwCIh8b3khwILzF8UTR5dTrEf1YCCs/Nk8WYX1QWj2JQ0doVNRQ6+O n7Rgr/I985abajxteEoGcfB/N7bAsRWsW8Qtb/gLxtrjzx5MiSrbngoN9yFTrZiiTOD/ FT0aW5ed1bB0/1xBSCrtCYWskUT5XMabs0LrPibIHzAi+rSaWhl6ZntG3eNKBTf+xcB5 ogIg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n184-20020a6327c1000000b00410ac395252si3217632pgn.512.2022.08.05.06.38.55; Fri, 05 Aug 2022 06:39:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S240817AbiHEM4p (ORCPT + 99 others); Fri, 5 Aug 2022 08:56:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240860AbiHEM4c (ORCPT ); Fri, 5 Aug 2022 08:56:32 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 87B152F003 for ; Fri, 5 Aug 2022 05:56:24 -0700 (PDT) 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 02EB3106F; Fri, 5 Aug 2022 05:56:25 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.42.224]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5B0953F73B; Fri, 5 Aug 2022 05:56:23 -0700 (PDT) Date: Fri, 5 Aug 2022 13:56:20 +0100 From: Mark Rutland To: Bruno Goncalves Cc: linux-arm-kernel@lists.infradead.org, LKML , CKI Project , Sudeep Holla Subject: Re: [5.19.0] [aarch64] WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:5407 __alloc_pages+0x1a0/0x290 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 05, 2022 at 11:47:57AM +0200, Bruno Goncalves wrote: > Hello, > > Since commit "c1c76700a0d6" we started to hit the following call trace > on aarch64 VMs when looking at journalctl log For everyone else's benefit that's commit: c1c76700a0d6 ("Merge tag 'spdx-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx") Could you please include the commit title when citing a patch? ... did you try to bisect this? > kernel: Mountpoint-cache hash table entries: 16384 (order: 5, 131072 > bytes, linear) > kernel: ACPI PPTT: No PPTT table found, CPU and cache topology may be inaccurate > kernel: ------------[ cut here ]------------ > kernel: WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:5407 __alloc_pages+0x1a0/0x290 IIUC that's: WARN_ON_ONCE_GFP(order >= MAX_ORDER, gfp) ... and IIUC that's fixed by commit: 11969d698f8cda31 ("cacheinfo: Use atomic allocation for percpu cache attributes") Thanks, Mark. > kernel: Modules linked in: > kernel: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.19.0 #1 > kernel: pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) > kernel: pc : __alloc_pages+0x1a0/0x290 > kernel: lr : alloc_page_interleave+0x24/0xbc > kernel: sp : ffff80000803bb90 > kernel: x29: ffff80000803bb90 x28: 0000000000000000 x27: 0000000000000000 > kernel: x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000 > kernel: x23: 000000000000001e x22: 0000000000000000 x21: 000000000000001e > kernel: x20: 000000000000001e x19: 0000000000040b20 x18: 0000000000000014 > kernel: x17: 6e69206562207961 x16: 6d2079676f6c6f70 x15: 6f74206568636163 > kernel: x14: 20646e6120555043 x13: 6574617275636361 x12: 6e69206562207961 > kernel: x11: 6d2079676f6c6f70 x10: 6f74206568636163 x9 : ffffa4f6617fd5e8 > kernel: x8 : ffffa4f663ed0440 x7 : 0000000000000007 x6 : 0000000000000000 > kernel: x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000 > kernel: x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffffa4f663c53532 > kernel: Call trace: > kernel: __alloc_pages+0x1a0/0x290 > kernel: alloc_page_interleave+0x24/0xbc > kernel: alloc_pages+0x10c/0x16c > kernel: kmalloc_order+0x3c/0xc0 > kernel: kmalloc_order_trace+0x38/0x130 > kernel: __kmalloc+0x2e8/0x350 > kernel: detect_cache_attributes+0x9c/0x110 > kernel: update_siblings_masks+0x34/0x270 > kernel: store_cpu_topology+0x7c/0xc0 > kernel: smp_prepare_cpus+0x34/0x108 > kernel: kernel_init_freeable+0x108/0x1b8 > kernel: kernel_init+0x30/0x150 > kernel: ret_from_fork+0x10/0x20 > kernel: ---[ end trace 0000000000000000 ]--- > kernel: Early cacheinfo failed, ret = -12 > kernel: cblist_init_generic: Setting adjustable number of callback queues. > kernel: cblist_init_generic: Setting shift to 2 and lim to 1. > > test logs: https://datawarehouse.cki-project.org/kcidb/tests/4712644 > cki issue tracker: https://datawarehouse.cki-project.org/issue/1485 > > kernel config: https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/605193135/build%20aarch64/2816138306/artifacts/kernel-mainline.kernel.org-redhat_605193135_aarch64.config > kernel build: https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/605193135/publish%20aarch64/2816138315/artifacts/kernel-mainline.kernel.org-redhat_605193135_aarch64.tar.gz > > Thanks, > Bruno Goncalves >