Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp1227318iol; Fri, 10 Jun 2022 03:05:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSACh/GKejFmF1kd2vQ18YCaunAq0gwr1ZPY9HBDTcX/CYvYj7tA2PXJ5SlEw4AOL96hZJ X-Received: by 2002:aa7:cb13:0:b0:433:4985:1b54 with SMTP id s19-20020aa7cb13000000b0043349851b54mr5420880edt.182.1654855533056; Fri, 10 Jun 2022 03:05:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654855533; cv=pass; d=google.com; s=arc-20160816; b=l6uJo0H/rDQhpWgSfJPHCsD9bsBQyfweg79yaTfmpmfvkpm2gRk2iTg5miN06rCjuT nBchx0z86L10CuPbmMRgKot+0wHGzWLZrnQPAxtjUDVn1jgfxGdsUE8mMwlTOST5lHEZ tTERUOHXM0XB9CQpAw1DaVRzN88heOHDK1DH2ibTuyT1kvXCH7mYgCHJgepDiWPQVYeQ 4ujk8N4XbpHfBUGQitLbautKHykh9SH1y3FeC7XS8n4t8H0Spmbm/e9iLLbANvP2pak0 l74NhMad0Pf+CETjGMtAXSk2928+Awn4RMpUyz/NM+iwEzJ+vOrHTby6BexHvtt+HAdT aL1g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:to:content-language:subject:user-agent :date:message-id:dkim-signature; bh=MpzunkK0YdR6gt7AXm8CwcBUxTAPTjjGQDDWdf/9UAU=; b=zpRMMYk4zGYmrf8QgpiENdQ5cZIVx0a9m/dblkFK0ogL35MtSp8fNCXB41EatGW1Ks 49rDSt3Qnd9fp2C/pdAP9xgd3U6xkopi2hDA17LAGUaF5iG0J9WgOl6IX+K7CKPkpZJw KJNnImcuOTuAvfNECS87DRvpzYwdaYAo/HvWF5WmmxqPIMAaJ4ASeGsol/iF7XQ3OVFJ QYRhruIweudAuvQ/WJi4al/kUaMEoG6RSiGjEEx2Eb0ATLW7YnbXhxgqzUjglQBZ4/CL 1A8cHYXB+LRJzxJfry3BiQyFZEV+WYDwZllqqt6h9RyXLUFA+nvHRxMOSMVXqLdIMcB/ qMsw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="eE3G4Az/"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf34-20020a1709077f2200b00711cf82cc03si15313403ejc.830.2022.06.10.03.05.05; Fri, 10 Jun 2022 03:05:33 -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=@amd.com header.s=selector1 header.b="eE3G4Az/"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347234AbiFJJLj (ORCPT + 99 others); Fri, 10 Jun 2022 05:11:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242702AbiFJJK4 (ORCPT ); Fri, 10 Jun 2022 05:10:56 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2051.outbound.protection.outlook.com [40.107.223.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 244C027FE03; Fri, 10 Jun 2022 02:09:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TJXpJAC5L7hQx7IHF2665PZqcXdiM38O2O0lrQaedbA75PHSji8dDZHNEFDNc3WiS0TAZX/TSlBAfMzW36be73p4FcF5rK5SKWSHnwaNsYcK0VaeBplzPu5Sgw9LBiXfCnRh1hGtpGrDc0lP5y/etpmT9YR7TJqPN5EejzcXRUqE8yH73lQ4EO7I2yp1HqlKH8al2pkbeMfvCDBmbYSAAK2M5wulO2rY2FaAkW2yYyUbC2D6YoLEHXggrIieZM8eWt2goOBA8fWxSBqufmfyqGUeGaXUxx0THh1D26YYco3U+IVjTqtNc//BBoef6R77/uwSJJ4FTFs5mppV+Hsylw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=MpzunkK0YdR6gt7AXm8CwcBUxTAPTjjGQDDWdf/9UAU=; b=HGqQyLKReIo2KZEUKqiw9gY7uUO2yn/GnpoLg8+Pgvo7NFsPgDyT3+pzGlKBKnbhVkUDAwsAwWKkN96ZMkr7jYaDPZJFbh/Hspr3ZxnWDecie+8TypE5qgLTrLPAFJMU78pvzEBwHDWZrtqqTiJrhe0scVUaJAZKYfHdrfhMrCZRsflOH7OavJJVSmC2tCLqLmEf7v+Nokl75vuwytSkRAMgZIi4xrFRMYWkMAmGxnud1PK+87u5Gfk8irQ561H9W4Ee6Xqo5ZDe4tFAWNGemYi5R5FLwsy8Yes6OGBmj9vVZZ4pwlwmIYDEQ5a0wwUqGd7gv5yhIeZvQ+6qag5R/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=MpzunkK0YdR6gt7AXm8CwcBUxTAPTjjGQDDWdf/9UAU=; b=eE3G4Az/V4NZc3eimawngtG2V8SkPlcPwsyARFJQ1SLTc8SkuMTyfMqOQNRu17Cyuxs6HYPqTquTuELAkKRWbH7X5Jd/A/a9kE05LXf+3vyMVrHLI8s28XtciThtpitX+0nc4IXrvYw+QxjzvGQvHMuvFeTKd/+UvSgnVfnwXDM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from BL3PR12MB6449.namprd12.prod.outlook.com (2603:10b6:208:3b8::6) by MWHPR12MB1903.namprd12.prod.outlook.com (2603:10b6:300:108::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Fri, 10 Jun 2022 09:09:15 +0000 Received: from BL3PR12MB6449.namprd12.prod.outlook.com ([fe80::5552:c915:15f5:cb5b]) by BL3PR12MB6449.namprd12.prod.outlook.com ([fe80::5552:c915:15f5:cb5b%9]) with mapi id 15.20.5332.012; Fri, 10 Jun 2022 09:09:14 +0000 Message-ID: Date: Fri, 10 Jun 2022 14:39:05 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH] selftests/vm: Add protection_keys tests to run_vmtests Content-Language: en-US To: Shuah Khan , akpm@linux-foundation.org, shuah@kernel.org, linux-mm@kvack.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220531102556.388-1-kalpana.shetty@amd.com> <4b0aab3f-83f4-80f7-6df0-447561f0da88@linuxfoundation.org> From: "Shetty, Kalpana" In-Reply-To: <4b0aab3f-83f4-80f7-6df0-447561f0da88@linuxfoundation.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: PN3PR01CA0014.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:95::23) To BL3PR12MB6449.namprd12.prod.outlook.com (2603:10b6:208:3b8::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 498e6e42-d47f-4ac3-8f0f-08da4ac0e3e5 X-MS-TrafficTypeDiagnostic: MWHPR12MB1903:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1pMBTUUkPNZNhfHDmUXNDi6fLsJHnSzysJ4lMatWPeXX6W5VqfdrUjuZRPiB74TIJnMv2bJFnQEAh7D/pVyENBsY76zIvXMN6KaSuCaV5q9v/lIq1X4X8ilpDSllaXo7vTwGmAOeOgbehBSENpc7JtgDQ3t4cAPruXtTyYqB2CEWW+GQlkH1i9E995giDCWLfopB/2V9YUeS0CR+A6jTJnUkohRkH12uW5WyMQpWzaJrEDG49/F954VTPZkiAQUBHB/rQLBYu9NYZhILCFeKop1U8gbLwDsX0Mkf7kK3dZGXwG1aKxeFIwUewPrbH5t/KRF5JuLx/GmE08tVvY3gjYSoy6Y/qhSZY8kf7KRP8os21C63lMXigqTxWrQ/VS3X16SfYM58wABQt6eI4BX7EuBzIhYuAlCrv8g5Hud+0Y7P8XnskS4voXsLTxSzsGlg1h40Em11RqED2IPY5pxj128wbjAk45eyK++KgiIr18fXkpwvAn13wVLxO42nBccd+7Uh0Zsbw7KF/J+j51XRFat0QaeoG5LqSIpyrjcbmDHDKqg/ItJfIFX5DX15ClBYGMD64SxtW07v+AnUWopPkzNLIILgRXsQAaW4UmmQI5sB+T9vRWntaBactg5XQEdIRQgApciWm1yaDEIZsAVMTJLs/qk70PLizfLS/bpAKgAKwrxzbmzOb2vTiBmrUNeEVQOeQu9pvD8nppAxwWsL28+xUxgqTrQdVBLR+dJvqgQ= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL3PR12MB6449.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(31696002)(86362001)(38100700002)(508600001)(6486002)(2906002)(36756003)(6666004)(8936002)(31686004)(66946007)(66556008)(66476007)(8676002)(4744005)(5660300002)(186003)(2616005)(316002)(53546011)(6506007)(6512007)(26005)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?WUpzR0ZHek9IcG5lemlpMklZWS9uOXVUT29hTGwyY1Bha0xiWU5nSFNjYm5R?= =?utf-8?B?TFF1RitBOVREa1Q5WlpNU1pPNStXSDBCaWIyeU9uNmdVNVNsSExJaVhoUHhR?= =?utf-8?B?eFV6aWJKekw5VnRicXphUmlqaytXazg2Mk1iWTV0WEN1RWc1L1lHVnNPV0FH?= =?utf-8?B?RkJOYU92TUhmRU1lb09meE1ud2dqTVFpd3V2YjFIcno3RWlzd3ZMZmZFOVhU?= =?utf-8?B?WmZhVXZkYnNTMnI3M0NuZkQ5MlZZOE8waVg0bEh1ZWJpK29xVDZOZ0VGNjJE?= =?utf-8?B?VWRqV2dlSWxaS0RCMXUvSVQvblpjNlBVWXR5QktCQzRTNGx4KzYwUWpKWmVC?= =?utf-8?B?b3loSzRqVVBMTkttTDh5UGRQVVFsRFAvYnZGb0JrSTA5aHBsMmYzVFBVdk9L?= =?utf-8?B?anFzNGIxZm5LOURlQ2hkTnZ1aWxZTmNNMXdDZUp6YWtLTVlBa3VoVlpTYUpa?= =?utf-8?B?UzhpT1hsSmc4UFYwQ1ZIcHZRZ0daNllaM08wT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ktYdFJ4M0JSS3ZrOWlnM1VTZ2hQMzg1b29ZLy81ZmhyWTB6NVhYQT09?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 498e6e42-d47f-4ac3-8f0f-08da4ac0e3e5 X-MS-Exchange-CrossTenant-AuthSource: BL3PR12MB6449.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2022 09:09:14.6963 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: v/cdka+TwXkrvvCApq1aPTITNfnqkIKllmDsIkYqfr+Kshyl+niMcH/XBqcGIBwi0EzQKfQOAMZIeg55NiS0Tg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1903 X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 6/10/2022 1:51 AM, Shuah Khan wrote: > 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. Sent V2 patch with patch description. Thanks, Kalpana > >> --- >>   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