Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp788834iol; Thu, 9 Jun 2022 14:07:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyku0LgoVuLGviW9lDHP1jCtOMJo0FAV+UNM/3MDPIthi84AwfT+GQ9/J4+NxnNgkhovjlw X-Received: by 2002:a17:902:b908:b0:163:e462:704c with SMTP id bf8-20020a170902b90800b00163e462704cmr40845126plb.145.1654808840095; Thu, 09 Jun 2022 14:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654808840; cv=none; d=google.com; s=arc-20160816; b=0A8sHnoq3FfVDS3OwG8tW9FMSEw/wqvAVnFIgF+DYGIr0Fh+9ZENMBRKeoNsAEotGA Rr9e252ph0qTmlrWrHhZZ7HWorD8lQaSc4YbbW/IIIhUHsnvydYPvKB0MIKchCPvTdwk k5W0EkhLQd5rZ4kqWaCNS9I1T9VzsRPulqXIZrcfvAh73naSeggggrQ6k2oI9o1N0pRj aablKHSSh2o5A4ZurGfm5WL7Hg/FPVIqW5TUoiQc/9LZSeMncvnpMnXmbiq6dKYbUi6Z AujJUdZyTTZ/DTxIn7MwUXCzSl7kQ3CPserV27EjV++iboGilaDCr9r1sMgF1BsuZXRl umWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :to:subject:dkim-signature; bh=hbjsCkc5VcrKbwrpI2lbtI+DgR6AjeMEXFgKFCJE1kc=; b=Vc8rLivyCxLNkk6Cycr6PIgXPB8VFV4CekdplZZagROCNH7ynvvg1k81HhYN9ij58h UNbYmmGrCsbpjR20nej4yfp3JXxrBWDjgJ2Adhuir8Ad3u1RWN43kCGj/KQojSZJMKFf vlzN2O95kY+wy2onSWs/3+tUBlhBCXhqUoyzRAxJizVAjdNQIeJ5fdMAWXGyhNZVfnDV ThEBo9c9E0VE0/oSvR112q0p4JM59Gk3hHK6BN2dA2bgWm47OyW9PedDQzY5aqHzGdKQ dWfliyHH367bTbcpL4jKU2+tr42Y5XA1d1aF4KGYA/+VCRfEULqNzXhcek3xl/Y3UjVw Ii7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=BuYSNz5o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 81-20020a630254000000b003fca9388a37si33972664pgc.451.2022.06.09.14.06.43; Thu, 09 Jun 2022 14:07:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=google header.b=BuYSNz5o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233540AbiFIUV1 (ORCPT + 99 others); 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-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 X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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