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 E80B9CCA473 for ; Thu, 9 Jun 2022 20:21:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234256AbiFIUV1 (ORCPT ); Thu, 9 Jun 2022 16:21:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229844AbiFIUVY (ORCPT ); Thu, 9 Jun 2022 16:21:24 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC2FA1EACC for ; Thu, 9 Jun 2022 13:21:22 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id i16so3602721ioa.6 for ; Thu, 09 Jun 2022 13:21:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=hbjsCkc5VcrKbwrpI2lbtI+DgR6AjeMEXFgKFCJE1kc=; b=BuYSNz5oIoqpmt2ae1UvZRNPsVpi+zNAvi9vURaeSLvut1JqjvF/ff88Fmso1dsdsj 8n6o7llaRkjm7oSW81w907d36f/y5QSxxPaF+CSTg1xE5XJ8T1b8/UllbavkBqSiJVeE RPl73boF/sJza0Ej04A61GTdaNSOPUpY/6ShM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hbjsCkc5VcrKbwrpI2lbtI+DgR6AjeMEXFgKFCJE1kc=; b=UqbfBBRKhS1PYrj3KtT+nZ8VmAFhtfeye9RVg2uGBC8EAUdj1f6JgM+PB2SL0eEBl5 YNMGB9YSm7VEGG+sltWc39usRdt28+3NfF7FQsMFO9ai32W+UmEg4t7ZwH8HevZl6Vxy VGPL+IzJCM4fYOkiboIb0z6884QBy7Fihw9Z2RueVUTqS+d+bZveoh7PHTwCfxQHXnUU V8nDah8gSQl+79U0vbuHowEyxBHYH0M/Z0t++GpDawBBQB8r9lCX2Mw92P66pqjbV+Rp d0hvg8Yo2mmIiJNOVgnBQEf3XG/5s6YJiwf+NcCeA3vbgJsqH5MM61NYw3KuyRwKUVL6 5Vjg== X-Gm-Message-State: AOAM532n6vKypDITbe94OF8UJd8n1CV1i7lglOM7xBKJoaA9W/EX0Hmn +qqKQ5yPx0F835JSBIbr+zi5nwJAQj7U3Q== X-Google-Smtp-Source: ABdhPJx9VCZClcKJZw1lnRwB1s8ypiU40KVRrqyNTJynafJ3Gjzoc89vcjXHq8zmK/gazJTJM8wHdA== X-Received: by 2002:a6b:4019:0:b0:669:3314:ebcb with SMTP id k25-20020a6b4019000000b006693314ebcbmr15135420ioa.197.1654806082106; Thu, 09 Jun 2022 13:21:22 -0700 (PDT) Received: from [192.168.1.128] ([38.15.45.1]) by smtp.gmail.com with ESMTPSA id r15-20020a92ce8f000000b002d1a16ef24dsm10785788ilo.82.2022.06.09.13.21.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jun 2022 13:21:21 -0700 (PDT) Subject: Re: [PATCH] selftests/vm: Add protection_keys tests to run_vmtests To: Kalpana Shetty , akpm@linux-foundation.org, shuah@kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan References: <20220531102556.388-1-kalpana.shetty@amd.com> From: Shuah Khan Message-ID: <4b0aab3f-83f4-80f7-6df0-447561f0da88@linuxfoundation.org> Date: Thu, 9 Jun 2022 14:21:20 -0600 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: <20220531102556.388-1-kalpana.shetty@amd.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/31/22 4:25 AM, Kalpana Shetty wrote: > Signed-off-by: Kalpana Shetty Missing commit log - please add a detailed commit log explaining why this change is necessary. > --- > tools/testing/selftests/vm/run_vmtests.sh | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/tools/testing/selftests/vm/run_vmtests.sh b/tools/testing/selftests/vm/run_vmtests.sh > index 41fce8bea929..54a0c28f810c 100755 > --- a/tools/testing/selftests/vm/run_vmtests.sh > +++ b/tools/testing/selftests/vm/run_vmtests.sh > @@ -179,4 +179,11 @@ run_test ./ksm_tests -N -m 1 > # KSM test with 2 NUMA nodes and merge_across_nodes = 0 > run_test ./ksm_tests -N -m 0 > > +# protection_keys tests > +if [ $VADDR64 -eq 0 ]; then > + run_test ./protection_keys_32 > +else > + run_test ./protection_keys_64 > +fi > + > exit $exitcode > thanks, -- Shuah