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 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 5FC7BC433EF for ; Wed, 9 Feb 2022 18:53:49 +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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Aosjv+lMWn27SXyJvD9bYxtDUuPi2Z3Hg5HiI8tJMzo=; b=IAQCMph8u9Q40v ij+7qepC6aPrIKrc/1+BfMVNwB+3nzhJuGq9X3+/iCIe6glagfZIPHdmmtsPkBrxpgPgC+g17XdQq 55dGtWQ7Fblz1C+9Ed34Tl7oG4Bqs8iGONcesx4ytoQnvXzMh4JbELPsiIPualRIQAPpfHHUTc+Jy dwH7WxTshLGhQ3d2CAlx5tEFeaq5hXrq9kNDTYDK1cSBFCI1FlsxSw2CksmoBv21X+Z0UVOmwaygc mJ9mMxAg7ahoms6rx6ztoOEq181QsNTTOclmetNayor3JbsvszZnyVZTaeZ1i9kkcEiuzA36jQg/d MiYiOz9GyqyQtfDaSvjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHs4b-001E7O-MO; Wed, 09 Feb 2022 18:52:14 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHrx6-001BW8-Ay for linux-arm-kernel@lists.infradead.org; Wed, 09 Feb 2022 18:44:30 +0000 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 D8EA8B82385; 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-Disposition: inline In-Reply-To: <20220209152240.52788-7-joey.gouly@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220209_104428_573536_613FD2DF X-CRM114-Status: GOOD ( 12.07 ) 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 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel