From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 9559A3D8121 for ; Tue, 7 Jul 2026 22:29:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783463372; cv=none; b=njz9viT/7s7Tj51p4bHM27C08fRqhDrkKakU+dHQqeBOPNsnkculdpXaobSu/FUaa8ohYuXoOGkXCAaAUf9xGoVpPU8kR0llBx1/zOjsLyEdVnJn6iHnq/gVm+Mqpj/dClqXELfEku20lSLYh9MAxJQrnJkh2/6A82DMOGb9cXM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783463372; c=relaxed/simple; bh=em6Vdgo7uukeTasQn3ROXAuQH2cCS4PUwJsI5sAzjxg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=VtLxzqvg3TaSiWomAmb60jZaoC2jZzUuXE3DDj2WHaYurXfGBSjsEdwDetSKRGkTfdxtynOh+JjSLcBgz3Zuwt9zHRQqjpIFWU4bUOaUVo9auegLTGuq3SErFqouEn3c2AIu69iaO7y3Wuc0hDHLUlOQrrPW2xcPImxMuUqxKxY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Or+9ysIy; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Or+9ysIy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A18A1F00A3D; Tue, 7 Jul 2026 22:29:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783463370; bh=AZhsVbg+pGpdN+LoqPtk1yF43RbR2KSyGy50RUBXUK4=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=Or+9ysIydRJTTAmJSj0I5DWOTDMV8z+insajMqA+tXpscLj8XffwtjCWQIOwgLF9b kOBeHKlD397Jl1ihy9/LI+iHpVxPQ37I1vs+0VKKVH9XilyZKQZyUePhWmYjma+wJQ nyVUHvIeuyYNnUN49Gob8cVX12KgQGrpDMpyZAiBRatmbwJMjlmQrFonqul660gX7L W5Xc2cFsm7/za20peyS8gc3mrd+x6ouFura0Tf9D780Fxo1Wf5211n/xAg49jFLVB7 TtZkO2/iHKVbuMRdxnuloQgH2k1In8d0QKwO+OAIP4SqakzoKN6y98ncnoYPQsT3lp iKTqXb0M/Zo/w== Message-ID: <98d65de7-e5aa-4197-85bd-219eab01e572@kernel.org> Date: Wed, 8 Jul 2026 00:29:26 +0200 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: test_bitmap fails on ppc/ppc64 on kernels v7.1.3, v7.2-rc2 To: Erhard Furtner , "linuxppc-dev@lists.ozlabs.org" Cc: linux-kernel@vger.kernel.org References: Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi, Le 06/07/2026 à 21:27, Erhard Furtner a écrit : > Greetings! > > I don't get this on my x86_64 machines, but on ppc32 (PowerMac G4 DP) > and on ppc64 (Talos II, POWER9) running Gentoo Linux. This dmesg snippet > is from the G4: > > Total memory = 2048MB; using 4096kB for hash table > Activating Kernel Userspace Access Protection > Activating Kernel Userspace Execution Prevention > Linux version 7.2.0-rc2-PMacG4 (root@T1000) (gcc (Gentoo 15.3.0 p8) > 15.3.0, GNU ld (Gentoo 2.46.0 p1) 2.46.0) #1 SMP PREEMPT Mon Jul  6 > 20:22:47 CEST 2026 > > [...] > > test_bitmap: loaded. > test_bitmap: [lib/test_bitmap.c:397] bitmaps contents differ: expected > "1,3-4,9", got "1,3-4,9,65-71,73-79,81-87,89-95,97-99" > test_bitmap: parselist('0-2047:128/256'):    912 > test_bitmap: scnprintf("%*pbl", '0-32767'):    5977 > test_bitmap: test_bitmap_read_perf:        1191082 > test_bitmap: test_bitmap_write_perf:        1270153 > test_bitmap: failed 1 out of 208655 tests On QEMU (pmac32_defconfig) I get: test_bitmap: loaded. test_bitmap: parselist('0-2047:128/256'): 2200 test_bitmap: scnprintf("%*pbl", '0-32767'): 26440 test_bitmap: test_bitmap_read_perf: 1819760 test_bitmap: test_bitmap_write_perf: 18189840 test_bitmap: all 208655 tests passed On QEMU with your confirm I get: [ 1.162486] test_bitmap: loaded. [ 1.177069] test_bitmap: [lib/test_bitmap.c:397] bitmaps contents differ: expected "1,3-4,9", got "1,3-4,9,65-71,73-79,81-87,89-95,97-99" [ 1.180599] test_bitmap: parselist('0-2047:128/256'): 2920 [ 1.190105] test_bitmap: scnprintf("%*pbl", '0-32767'): 65560 [ 1.427378] test_bitmap: test_bitmap_read_perf: 9546321 [ 1.438769] test_bitmap: test_bitmap_write_perf: 9344481 [ 1.457679] test_bitmap: failed 1 out of 208655 tests So there is something with your config > > > Full dmesg available at request. Kernel .config attached. > > Regards, > Erhard