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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DD32BC433FE for ; Wed, 9 Feb 2022 18:47:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235689AbiBISrt (ORCPT ); Wed, 9 Feb 2022 13:47:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232171AbiBISrV (ORCPT ); Wed, 9 Feb 2022 13:47:21 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B330C1038F2 for ; Wed, 9 Feb 2022 10:44:29 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C814EB82381 for ; Wed, 9 Feb 2022 18:44:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E5674C340E7; Wed, 9 Feb 2022 18:44:23 +0000 (UTC) Date: Wed, 9 Feb 2022 18:44:20 +0000 From: Catalin Marinas To: Joey Gouly Cc: linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, nd@arm.com, broonie@kernel.org, shuah@kernel.org, skhan@linuxfoundation.org, will@kernel.org Subject: Re: [PATCH v3 6/6] kselftest/arm64: mte: user_mem: test a wider range of values Message-ID: References: <20220209152240.52788-1-joey.gouly@arm.com> <20220209152240.52788-7-joey.gouly@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220209152240.52788-7-joey.gouly@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org On Wed, Feb 09, 2022 at 03:22:40PM +0000, Joey Gouly wrote: > Instead of hard coding a small amount of tests, generate a wider > range of tests to try catch any corner cases that could show up. > > These new tests test different MTE tag lengths and offsets, which > previously would have caused infinite loops in the kernel. This was > fixed by 295cf156231c ("arm64: Avoid premature usercopy failure"), > so these are regressions tests for that corner case. > > Signed-off-by: Joey Gouly > Cc: Catalin Marinas > Cc: Will Deacon > Cc: Mark Brown > Cc: Shuah Khan > Reviewed-by: Mark Brown > Tested-by: Mark Brown > Reviewed-by: Shuah Khan Reviewed-by: Catalin Marinas