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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3EB16CE7A81 for ; Mon, 25 Sep 2023 12:17:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=GfPjfr2GsAtWAlDNeSTkHh7pH+6p9/HKrWPE+KL1F38=; b=YdHC5hewH0l4DS L0bYzfO5EdTo489jUvwNI73K3ExXy8quxVuRKEhJ/LsG2x+YWrw1Tgsjr3sxIA+Ia9SWYJs3MqaXm JvHsOC7l2UkiX6u7OBgfUVMNFlLx+f/gj1CUwNp3XRL996/gWePuVHAmGCuzYeTcC0N7s0zgDhquD zBB7H96HnI9TQl3Cnl71JUcWJDAmooLaKVHN2+ynZ83yqTUy3MKm2mstqLVtBRXMM7zOO39PGkpNi XQmLMTU65FVdHnyAkZpm0w1ubbFzmdw8tyfithCYqF6GqxnrBESJlLbL+wHg/f0b5Zuo/GNmtJ6OV 8wJqpUhCThkpSLTnNAug==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qkkWl-00EEnu-09; Mon, 25 Sep 2023 12:17:27 +0000 Received: from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qkkWi-00EEn5-2e for linux-arm-kernel@lists.infradead.org; Mon, 25 Sep 2023 12:17:26 +0000 Received: by mail-yw1-x112d.google.com with SMTP id 00721157ae682-59c0d329a8bso75124257b3.1 for ; Mon, 25 Sep 2023 05:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1695644238; x=1696249038; darn=lists.infradead.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=xx+A8zxruuR8KUakSK/9HIOv4z00NBVJ+Y4StkVxo7E=; b=Kzi1WhEq6sju0JKUWzdCUq7iZlBTwsKk3GTLiQYWjT8cGHtdBHQDA+jYZ8r8xJIvAa YvTugm2fJeAAfmaL8RL2L87tTTRXWE0rJX7hCt8QcGt6S/jDDAlMvaiE3Qgt20ndPWX8 Y22BSMB4NFZt/WTFO1EA91yK461tnJCPo+ghrYnmP51Nv09O9ZEQYCvLaV3q28/hZGVl VrWYanV2di9JAvS25OlgnieJk6LpNRKfWo+DNeuvG5AOsAKGhQPy2j3jU41DuhnqUrK7 WhspfwpP/Kv+BWfhxAxmutUiEWHvXjWwGxNFl2uMaug3sGRo7DELq35P5lq2L9mMAPNC N7yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695644238; x=1696249038; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=xx+A8zxruuR8KUakSK/9HIOv4z00NBVJ+Y4StkVxo7E=; b=kJtHvdbE57mA4s5kbq6wr+BReDr50K64WPMrRDMMtAUr4ikFh5qI0RNoMa3oDmyErw xd5iKqBoFMq1Epdozqpcvfpvsfn+HwdjPdNjSbH6cf0UIyLzAXWU8eooyUTqCz7eXA6d Z1kK4XgSwE0T86RQvNh+n9V37e27bjQVZ8+Pq/LM7Wrg6SrhWTSpYqd/yQ4dthkWT5/j ScreCBYDKmm5kOSQNMOgSMA3M0GJA68FEzpskaYR3VS5sv1MchvgCzv7lKd8mUcNqE9m QtNiBF08YOqWeKIDZ4KnKcwI6vFhulGP63TT4KkUWFfX5BgCCnx8iZwarpJfw1m139tU fZaQ== X-Gm-Message-State: AOJu0YwDxn38xnkO+UcPnjK1VMdyBHuZwkIheax4jOnFLOJUwOnBZ+W1 fSbmyLi6ajpaO0W9cDvq25P6Q//1Q+J9nCsVhGBu0w== X-Google-Smtp-Source: AGHT+IEZVVMYG8tLWvvrz8sPIYdQ1KJOTncEoLVCzBF8eUvwD3eWNACQY6mQSCaANlaLVI3+Wa0X7ueN/e1NoJ26ixU= X-Received: by 2002:a25:e016:0:b0:d85:ad8c:4bf4 with SMTP id x22-20020a25e016000000b00d85ad8c4bf4mr5661511ybg.34.1695644238375; Mon, 25 Sep 2023 05:17:18 -0700 (PDT) MIME-Version: 1.0 References: <20230922080848.1261487-1-glider@google.com> <20230922080848.1261487-3-glider@google.com> In-Reply-To: <20230922080848.1261487-3-glider@google.com> From: Alexander Potapenko Date: Mon, 25 Sep 2023 14:16:37 +0200 Message-ID: Subject: Re: [PATCH v5 2/5] lib/test_bitmap: add tests for bitmap_{read,write}() To: glider@google.com, catalin.marinas@arm.com, will@kernel.org, pcc@google.com, andreyknvl@gmail.com, andriy.shevchenko@linux.intel.com, linux@rasmusvillemoes.dk, yury.norov@gmail.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, eugenis@google.com, syednwaris@gmail.com, william.gray@linaro.org X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230925_051724_865849_4276CA5F X-CRM114-Status: UNSURE ( 9.40 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > > +/* > + * Test bitmap should be big enough to include the cases when start is not in > + * the first word, and start+nbits lands in the following word. > + */ > +#define TEST_BIT_LEN (1000) Dunno why this didn't fire previously, but CONFIG_CPU_BIG_ENDIAN=y kernel reports mismatches here, presumably because the last quad word ends up partially initialized. The easiest fix is to make TEST_BIT_LEN divisible by 64 (e.g. 1024) _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel