From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.16]) (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 20349332EBB for ; Thu, 9 Jul 2026 11:53:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783598009; cv=none; b=ktxvoAkxXY/eNvFdogafXqDhYwP5YhyK7PpPImKTS3jUV2Wi7oRcNo5d8JnkOXtFmKPH8hUISBa36egfzyl/sxzLRFBBiSh8cCUNDP98J8J+ZAMZIvKs1n0gsStFRI1zr/8kn4cxgha0iptJE0dCREjjfB0OGqmjnJffbs/5vNg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783598009; c=relaxed/simple; bh=6ozmVITewMY7x7o4QHkkB6PUQJDlhHAcSVz23m7NADU=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=EwRCi40U+ZQmvJUWrED+sk+yOBFietCrVk73SoXYm/waagbNnXuHzrHsNSPDdXJIYC54aJDuBuww5em4Ea9nLILKWHID+VKucbWq5w1pywRhSKUR2yss2R0JyBZLqVfwGOfn0MgsiXKptXWgmDd0y46RyDJnHVcP/TO+Df1ArjY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=VoxpujWD; arc=none smtp.client-ip=198.175.65.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="VoxpujWD" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1783598008; x=1815134008; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=6ozmVITewMY7x7o4QHkkB6PUQJDlhHAcSVz23m7NADU=; b=VoxpujWDS4Iq/L0lv4RrmR2i3yR9fCEF+ZWGOBJx0yTO+ESaxHHHM4wG Q3vhHQwHxD6TGjVP4wC9Wn+FGYSqkWAIBzqg1lGceGTbe0ZDVI7zcwJxg urChtToYeJ++0qXopq3AAHusIPED7dOOyQbltNP5NFPPpR3eqPDsn7MRn Q2zk/RKy9qNg7CRiEr+kjKd1IvD7jZlLbkVXVhN8jiNAz9jZn3yWqiPlB qHr4725wq6JD5b5Zz6K2kNk4s6FzgWvAhwa6Z5Bbmlj8CQ+1LA3AFVSU7 fLQ6OaNztQp9hehOUWbEsMseWgPwq536755KnCr66eOlKi2goWKFbXtx2 Q==; X-CSE-ConnectionGUID: ncmGrmYATSutpI/dQx6Juw== X-CSE-MsgGUID: Hyud9XUaRMCfNl0vukXYJg== X-IronPort-AV: E=McAfee;i="6800,10657,11841"; a="84468142" X-IronPort-AV: E=Sophos;i="6.25,154,1779174000"; d="scan'208";a="84468142" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by orvoesa108.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2026 04:53:28 -0700 X-CSE-ConnectionGUID: NzVXENsmTzav4XDhEZon7A== X-CSE-MsgGUID: wqNAPSGtQPKGx1Y7uLZC6A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,154,1779174000"; d="scan'208";a="254684167" Received: from ettammin-mobl3.ger.corp.intel.com (HELO localhost) ([10.245.245.235]) by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2026 04:53:26 -0700 Date: Thu, 9 Jul 2026 14:53:18 +0300 From: Andy Shevchenko To: "Christophe Leroy (CS GROUP)" Cc: Andrew Morton , Yury Norov , Rasmus Villemoes , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Erhard Furtner Subject: Re: [PATCH] bitmap: Properly initialise destination bitmap for scatter & gather test Message-ID: References: <67d1838732b85b1f715cc3ada5bb38dcfcf9db55.1783593992.git.chleroy@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <67d1838732b85b1f715cc3ada5bb38dcfcf9db55.1783593992.git.chleroy@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo On Thu, Jul 09, 2026 at 01:40:06PM +0200, Christophe Leroy (CS GROUP) wrote: > Erhard reports failure of bitmap tests on powerpc: > > 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 > > The happens mainly when CONFIG_INIT_STACK_ALL_PATTERN is set. > > Commit 6b5a4b687367 ("bitmap: Add test for out-of-boundary > modifications for scatter & gather") extended the test to > out-of-boundary bits, but those bits where left uninitialised. > > Properly initialise the entire result bitmap before the test. Reviewed-by: Andy Shevchenko Thanks! -- With Best Regards, Andy Shevchenko