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 16738C433F5 for ; Fri, 4 Feb 2022 16:07:52 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=QkvrYzP/tF4fhQVAYW9+3w4v3PwtwRHbqvWvoU63M2Y=; b=B5h/Uep5SXX/u2ryqU7miqKU00 Hn5cgO875my0ge2e+jX+6LiPy9SrBSFEbH1ZU3++ky1F7GvJb3442GEyQ1mqUOmO2x1mLpDmtAd7M 7TA8xWs1iDXA6TYQKI/F01ABJjQlwmzULHH3byf6VRwmm65+6OIwptjKnx9GeoUSEmY3ArR87YSpP erszHZfA86Zx25JYzbztk49SLO0bnXrgd1/XKfgXJkCagwdFxr71P5WGapUZALkcnC3XNssJ266zn l1SY4/RHn+86mVP9KxW9ZfEdeA39nA3wsQK8TgngDNaHZ/WKFYTX34jy2BAeck0pM+vEgm6I29wso 6zqtmT8Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nG16a-004tVC-Qg; Fri, 04 Feb 2022 16:06:37 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nG16Q-004tQq-3Z for linux-arm-kernel@lists.infradead.org; Fri, 04 Feb 2022 16:06:27 +0000 Received: by mail-io1-xd33.google.com with SMTP id d188so7894575iof.7 for ; Fri, 04 Feb 2022 08:06:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=RxQcK4v9vORzn3qsXrWDknSMoPZkiLatkirp4cZOKyk=; b=G6UZewZYqJ2Jh+NfrhMRc/U+VxDPNBaZkwRRUrAhQwuB/BiSbQ+PWYHN7Wo3/8ZICl a8cjPLGBL5B6wmWuYaf/BWcDogCFp8ZEIXf1MEkXRXHoR9GUOS9L7TrBeNnx5sa6I3l0 SaDPT+WmnxP0oyZLE0z2Y5b2JG1PCLR2j1Egg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=RxQcK4v9vORzn3qsXrWDknSMoPZkiLatkirp4cZOKyk=; b=mlUdUTWzvyRo9I5K2WLnUTEMvHwYk121A1wQGp2R6JLPizmBovrAD+P0s6xu/YfvP7 OimMeFfvqGeEaYt++DRNjaHoIJuiNzV7RNqsrUIVxzZOgLOgSh1LdySvz7e+xGBScatr IEMohcn9g7ps0wFgHlLdvuGrjoQQKx8rKAPU1g0Rs73pjTA4iITeTwCRjLeNczwAZx7c g5vaEzowIEFaQjDVZtNCljXc1MZhGOwnw1irPTZltqCSAGHB+ImTX2kvGBt46mVow1e8 y78P5pG4rDgYxdAY3mWVNjWkvSqYTCzCukD00NMiDY7e8sKAvrY+qpQiCXOvnz7utkWU 4Cfg== X-Gm-Message-State: AOAM531FoqjG2F+ViD8/+kzs7cmtEk823ZfdawKae64BQ0TQL8poD3Jz BteyQ3DIQ8EWU+gQdr6Mwi9Y6A== X-Google-Smtp-Source: ABdhPJzc/0FqWc78kGzvoWg98qP/uUlKFBPQOXJxSJMBnIMfrLA+me/zV08xpKb6mkqlDZL3ktLBGQ== X-Received: by 2002:a05:6602:340a:: with SMTP id n10mr1470208ioz.76.1643990782565; Fri, 04 Feb 2022 08:06:22 -0800 (PST) Received: from [192.168.1.128] ([71.205.29.0]) by smtp.gmail.com with ESMTPSA id q9sm1063828iop.30.2022.02.04.08.06.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Feb 2022 08:06:22 -0800 (PST) Subject: Re: [PATCH v2 0/6] add more tests to MTE kselftests To: Joey Gouly , linux-arm-kernel@lists.infradead.org Cc: nd@arm.com, broonie@kernel.org, catalin.marinas@arm.com, shuah@kernel.org, will@kernel.org, Shuah Khan References: <20220203143620.30629-1-joey.gouly@arm.com> From: Shuah Khan Message-ID: Date: Fri, 4 Feb 2022 09:06:21 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: <20220203143620.30629-1-joey.gouly@arm.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220204_080626_218239_1D1D7BFF X-CRM114-Status: GOOD ( 17.83 ) 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 2/3/22 7:36 AM, Joey Gouly wrote: > This is a series which refactors and then adds some extra tests for MTE > in the kselftest framework. > > The issue that these tests are for was was fixed by Robin in > 295cf156231c ("arm64: Avoid premature usercopy failure") and based on a > simplified example by Catalin [1]. > > They test some combinations of pointer offsets, sizes and syscalls to > exercise different paths in the kernel. > > Changes since v1 [2]: > - add a page_sz to the tests, for non-4K kernels > - use loops to generate more tests and avoid long lines > > Thanks, > Joey > > [1] https://lore.kernel.org/all/20210624150911.GA25097@arm.com/ > [2] https://lore.kernel.org/linux-arm-kernel/20220125150920.23955-1-joey.gouly@arm.com/ > > Joey Gouly (6): > kselftest/arm64: mte: user_mem: introduce tag_offset and tag_len > kselftest/arm64: mte: user_mem: rework error handling > kselftest/arm64: mte: user_mem: check different offsets and sizes > kselftest/arm64: mte: user_mem: add test type enum > kselftest/arm64: mte: user_mem: add more test types > kselftest/arm64: mte: user_mem: test more combinations of values > > .../selftests/arm64/mte/check_user_mem.c | 196 +++++++++++++++--- > 1 file changed, 162 insertions(+), 34 deletions(-) > Just noticed that these patches aren't cc'ed to linux-kselftest list. Please do so when you sen v2. thanks, -- Shuah _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel