Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp3264001rdb; Wed, 13 Sep 2023 07:09:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEn6EtIrW9PKQHx87CVXDcmIptMKYBUclE6zJScwyJNp6qnvCecUfPNcATEOPFcaSMXvQJi X-Received: by 2002:a17:90a:c214:b0:274:589f:ba35 with SMTP id e20-20020a17090ac21400b00274589fba35mr277514pjt.8.1694614198761; Wed, 13 Sep 2023 07:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694614198; cv=none; d=google.com; s=arc-20160816; b=g+gvIKhsA7zUOHNDpdNRwcTdTatCIHvOf8+m9yH7rb+DahB8MBB2g3vwLKJdZJQ3R9 PiDI2FPO2Yvovd8/Mtl62SDiBgfHs7l4thpxsEwkeB0/oYJKspvt3XgeMOevWfAmbmd/ hGtZA4cw4ab/nXAYsIgrJQ8MCIfqhfOXIaH1rWqjWx70RsvaxZ6J8Kv09qUxCTMP1nWY LZ2HsoXlqaUWG5d6xxX4zP6KQ3Fgfz30un4jBZgMg23dYo2BvQUj9qfuK3nlY9clii5b tSOfJs0GGxqVYikVncwXtDpHQgE/OuQW66eq/NoGIsICj5XUEV63uaIgay1BjzQRj9qR JeJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=BQWQxVgtDq67jRQfNxeUs/YY/NSz0gkDxgXPDiLLg4Y=; fh=OH77GtmRY3OWCwVDmd0P84V3JSkUFioSl1q/e4zXmIo=; b=xQfOOidgijutOJ3tVl3BoACdaok9RZYVOCZLeRxiAe256ak6J22CpT98ak9GTo4KKP 3WlJwhIeh19vP/WgygXQ+Y1Sp28geOl90sTJ5YRAoIQ4Zr6GGZA8rCuXf+vU0yCzqDt2 TV95Nfuj3b34XHsNojfYtP75mfRmUzew7FbvxY4M8BIiGnWruTGD3VnFbGBEkmfEoetM mHKE2KVxpnosh+aH0U7a1ZwAnIRSIADxxJTNIUsbHH3uiKlp5nRnhrS2a7ri5+cXc1u+ QmoifGwNp8V12CqcRyW5LKOIdcrxmdbPAbgNDXoquPQ/dV4+0xYNFJgBYPmL4steONdw VZbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="ox7p/ixZ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id e12-20020a17090a77cc00b002682b173a2fsi1638442pjs.148.2023.09.13.07.09.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Sep 2023 07:09:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b="ox7p/ixZ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id A2E78807528A; Tue, 12 Sep 2023 22:01:57 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235603AbjIME71 (ORCPT + 99 others); Wed, 13 Sep 2023 00:59:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230127AbjIME70 (ORCPT ); Wed, 13 Sep 2023 00:59:26 -0400 Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44E76172A; Tue, 12 Sep 2023 21:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1694581160; bh=BQWQxVgtDq67jRQfNxeUs/YY/NSz0gkDxgXPDiLLg4Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ox7p/ixZ4XdLZb7vURtOdqoQjj/ecaEwbncvnBgOqT3tTmsuN0O2a3cMbMyFBquQD TnvHstGG7e/t5hECabxAgouneLH5VM4aExCobQD8N1t/H8lySAmJCB1ljn7wwL4GYc eAbjC8uzV6XsMtxaY4Q7cxpEwpKADca3EvFrxrUamcWh5PpBgEKabXUFVWCAFY4MGj mH1Nb4zHofGCOw1Eiw4E9CBgPT/XSdh1bzPQms6WKGCcISbSgjhmRvIeZwU8aH32HJ ZbI8W36fhtEoo302Pkp958hplz79Ah+aqFlh97kAwlgxMn+kYIEYQXcA9W3HiH53du 9egLxkWgDcMyQ== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4RlpCC68Bmz4wbj; Wed, 13 Sep 2023 14:59:19 +1000 (AEST) Date: Wed, 13 Sep 2023 14:59:19 +1000 From: Stephen Rothwell To: Daniel Borkmann , Alexei Starovoitov , Andrii Nakryiko , bpf , Networking Cc: Yonghong Song , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: boot warning from the bpf-next tree Message-ID: <20230913145919.6060ae61@canb.auug.org.au> In-Reply-To: <20230913133436.0eeec4cb@canb.auug.org.au> References: <20230913133436.0eeec4cb@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/PXHm/nlbskOi1ycBzy=CONu"; protocol="application/pgp-signature"; micalg=pgp-sha256 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 12 Sep 2023 22:01:58 -0700 (PDT) X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email --Sig_/PXHm/nlbskOi1ycBzy=CONu Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Wed, 13 Sep 2023 13:34:36 +1000 Stephen Rothwell = wrote: > > Today's linux-next boot tests (powerpc pseries_le_defconfig) produced > this warning: >=20 > ------------[ cut here ]------------ > bpf_mem_cache[0]: unexpected object size 16, expect 96 > WARNING: CPU: 0 PID: 1 at kernel/bpf/memalloc.c:500 bpf_mem_alloc_init+0= x410/0x440 > Modules linked in: > CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.6.0-rc1-04964-g2e08ed1d459f = #1 > Hardware name: IBM pSeries (emulated by qemu) POWER8 (raw) 0x4d0200 0xf0= 00004 of:SLOF,HEAD pSeries > NIP: c0000000003c0890 LR: c0000000003c088c CTR: 0000000000000000 > REGS: c000000004783890 TRAP: 0700 Not tainted (6.6.0-rc1-04964-g2e08e= d1d459f) > MSR: 8000000002029033 CR: 24000280 XER: 00= 000000 > CFAR: c00000000014cfa0 IRQMASK: 0=20 > GPR00: c0000000003c088c c000000004783b30 c000000001578c00 00000000000000= 36=20 > GPR04: 0000000000000000 c000000002667e18 0000000000000001 00000000000000= 00=20 > GPR08: c000000002667ce0 0000000000000001 0000000000000000 00000000440002= 80=20 > GPR12: 0000000000000000 c000000002b00000 c000000000011188 00000000000000= 60=20 > GPR16: c0000000011f9a30 c000000002920f68 c0000000021fac40 c0000000021fac= 40=20 > GPR20: c000000002a3ed88 c000000002921560 c0000000014867f0 c00000000291cc= d8=20 > GPR24: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 10=20 > GPR28: c0000000011f9a30 0000000000000000 000000000000000b c00000007fc9ac= 40=20 > NIP [c0000000003c0890] bpf_mem_alloc_init+0x410/0x440 > LR [c0000000003c088c] bpf_mem_alloc_init+0x40c/0x440 > Call Trace: > [c000000004783b30] [c0000000003c088c] bpf_mem_alloc_init+0x40c/0x440 (un= reliable) > [c000000004783c20] [c00000000203d0c0] bpf_global_ma_init+0x5c/0x9c > [c000000004783c50] [c000000000010bc0] do_one_initcall+0x80/0x300 > [c000000004783d20] [c000000002004978] kernel_init_freeable+0x30c/0x3b4 > [c000000004783df0] [c0000000000111b0] kernel_init+0x30/0x1a0 > [c000000004783e50] [c00000000000debc] ret_from_kernel_user_thread+0x14/0= x1c > --- interrupt: 0 at 0x0 > NIP: 0000000000000000 LR: 0000000000000000 CTR: 0000000000000000 > REGS: c000000004783e80 TRAP: 0000 Not tainted (6.6.0-rc1-04964-g2e08e= d1d459f) > MSR: 0000000000000000 <> CR: 00000000 XER: 00000000 > CFAR: 0000000000000000 IRQMASK: 0=20 > GPR00: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 > GPR04: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 > GPR08: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 > GPR12: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 > GPR16: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 > GPR20: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 > GPR24: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 > GPR28: 0000000000000000 0000000000000000 0000000000000000 00000000000000= 00=20 > NIP [0000000000000000] 0x0 > LR [0000000000000000] 0x0 > --- interrupt: 0 > Code: 3b000000 4bfffcbc 78650020 3c62ffe7 39200001 3d420130 7cc607b4 7ba= 40020 386382f0 992a1e24 4bd8c631 60000000 <0fe00000> 4bffff40 ea410080 3860= fff4=20 > ---[ end trace 0000000000000000 ]--- >=20 > Presumably related to commit >=20 > 41a5db8d8161 ("bpf: Add support for non-fix-size percpu mem allocation") >=20 > (or other commist in that series) from the bpf-next tree. Actually it looks like it is some interaction between that commit a commits in the bpf tree. --=20 Cheers, Stephen Rothwell --Sig_/PXHm/nlbskOi1ycBzy=CONu Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmUBQacACgkQAVBC80lX 0Gwh9gf+NxNxIq7gQtNipwJYuIA0IKO1UYtFeQYprv/zknhJrGIwuBk1/YIolPfF R1MGdnszYqdVr76FRZ7tODn32QsRAmyus220G6TW9P4JYIeMHrgZ/mF4ji0GsAcV gF+de4mLrgJlvBVQhdqp04NKR9UmHzluV4kQH/IFTm8QMCBGr91fOC4kEfjvtbKT FGqpvkR6q0xrzUrnbC+N9sEO6YurXRuQ01clAHEwOx2i2NKGaYURAnIODNG7eJY7 AwZ/FE/lec1Y2jHV8nIKTrJU7WvLgiA+mIbl4fKJOTESUYKCTMOnq4ihb5E9UXJe aIUyIVPBV41c7EDT6ypCyiQRmj4g3Q== =8q4r -----END PGP SIGNATURE----- --Sig_/PXHm/nlbskOi1ycBzy=CONu--