Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1295628rdb; Wed, 24 Jan 2024 10:28:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IHBTMslhXSEUlGsVd1YG9gA6QBysPFWyvfkF5eFDVOvas0NamAUko24otiP7cNswT+VGnI+ X-Received: by 2002:a2e:9ccf:0:b0:2cd:f421:9b9c with SMTP id g15-20020a2e9ccf000000b002cdf4219b9cmr1021303ljj.77.1706120895163; Wed, 24 Jan 2024 10:28:15 -0800 (PST) Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id em2-20020a056402364200b0055c9861abd0si1539558edb.68.2024.01.24.10.28.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 10:28:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=SiwnYqNF; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-37512-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37512-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BD85F1F244CD for ; Wed, 24 Jan 2024 18:28:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EE4412AADF; Wed, 24 Jan 2024 18:28:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="SiwnYqNF" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AD3FB7E593; Wed, 24 Jan 2024 18:28:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=192.198.163.7 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706120886; cv=fail; b=pRRhrC+woqe5jIv6HoERVmyskPqNpXWP6lD1d1QFuqlRoVtHm02HpkDNRiIXyEBpP1Iu+yLV/I+z5oabs+4r2AnT2N+doH8CWnHTycw/Bg+FkQnbmTbzSBbmX3GgSMnvNp0fVTjQ8jow6FGnJBxGf44rVL14HfEFMVOgQJlszqE= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706120886; c=relaxed/simple; bh=AK+q/V7z45bOjM7ICpea2Z8gtzF2HaJoNYA9M9KYP9s=; h=Date:From:To:CC:Subject:Message-ID:References:Content-Type: Content-Disposition:In-Reply-To:MIME-Version; b=MbkvYlJr3eKw+cY5ytIFCJ7oOOzU/0rU47Oe0NNONVzKMhzTVbjlVTMMY5+azIItZ8STZ1OgxXMS+/VJGJ9oXTwgg3j0jtwFL7PDqtbD73CgU8ETDcImnwkokABO/BXC/Dg5dm3E5naxE3+GD6Q7sgIrNrkQTJanzOPnkAt5GXI= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=SiwnYqNF; arc=fail smtp.client-ip=192.198.163.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706120885; x=1737656885; h=date:from:to:cc:subject:message-id:references: in-reply-to:mime-version; bh=AK+q/V7z45bOjM7ICpea2Z8gtzF2HaJoNYA9M9KYP9s=; b=SiwnYqNFnsUkZOyZ9j5qEhSak60yo6OLSTzPp39gdmWXr3CUxsPgis19 Zux3QYSqJjDjc4nyjvIrTvCReU4kaOyqvGvWrt1q+LvWt92y4T81znJiz LeztOpKeH1BIHQA1QglS9jDBLaLtRtgq6z7zx1624gLvdNDl7S3vZTXys ia7IFM4FFv/utkA1PmBBLwhJOYM3LKOCtOmNn3hCIj6ax2dwPCyuSJXPG lJFi368932dwddihOJ89hwIaVAohaDbxOZ8jTVb3QNc26r95YFcAgUJer zrrgpyqzWrWTQk3mg3WVOcjRZtMya6nPfLudTe8O2obCljIojZol6GI/8 g==; X-IronPort-AV: E=McAfee;i="6600,9927,10962"; a="23400725" X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="23400725" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Jan 2024 10:28:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,216,1701158400"; d="scan'208";a="2012975" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orviesa003.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 24 Jan 2024 10:28:02 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 24 Jan 2024 10:28:01 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Wed, 24 Jan 2024 10:28:01 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 24 Jan 2024 10:28:01 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lmNQtRCKZNS9hqD0OE/ofaC8s+xRmQ8YrWTeSVZSe/dTysp7qRM5cDO8BDVqkOJu4Camv5BEZtLRRmQ//X80Rxnqj9yDqhke524MrZcOKndIz94yHBvvka2DInpnivv1slYpb4A0udPuA73UqRhOyZIWzBukgel2noDX3+1pPWWFcrOvq3AXkEWtHsm50kvtIZDZPnCF3fUXulYYe7bGbIiHAm3G8bDgOjQaIJXcUkgUhgWpBfSPTXs6TMIB661tBw7ya39BsQ5wWAr0EaPwpo58FiH4qOXR5FLkKU4/ln7X7CZKYjzZXO83YBizJ012UimOnjB1yxYgf++Y6qWZ5g== 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=rriNTJkClVeNIN9tnraJs0c7glCn4es/thvF0ii2EXA=; b=c2q0NCVo3CH/NBrP4jPXX3Za7Bbpx3g1q/dlNyPEG45kLHvy0zeXjIC1oXEjicIKJAy/dqy6sjeKEo0hytvCM3pV+OIFGJRE01oRYpeWpnlX5RRTOhyJkHlnpxkzd69wkUxvEvTOchszdJ2gy2HCplphC7D6LImBQupXh9RjFvHfwODNsZZozTiI2sNDcgnfqwDqHvTPumG/coUpsCg3UdL2M8pBa2tWkAvePfRjiLnshqzwzjEtDqxPI2DysbzATtPIuyTMk+Ep6wcVCSDnmgprcVcZvwL8wu3qqOIjSLbzMtljonB0gDWAzQMLuQP2ES1tchF19jluhIb7ltiK5A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from CY5PR11MB6139.namprd11.prod.outlook.com (2603:10b6:930:29::17) by IA1PR11MB7918.namprd11.prod.outlook.com (2603:10b6:208:3ff::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.22; Wed, 24 Jan 2024 18:27:58 +0000 Received: from CY5PR11MB6139.namprd11.prod.outlook.com ([fe80::9f32:ce50:1914:e954]) by CY5PR11MB6139.namprd11.prod.outlook.com ([fe80::9f32:ce50:1914:e954%7]) with mapi id 15.20.7202.035; Wed, 24 Jan 2024 18:27:58 +0000 Date: Wed, 24 Jan 2024 12:27:56 -0600 From: Lucas De Marchi To: David Gow CC: Rae Moar , , "Brendan Higgins" , , "intel-xe@lists.freedesktop.org" , Subject: Re: Re: Re: [PATCH v2] kunit: Mark filter* params as rw Message-ID: References: <20240122171408.3328510-1-lucas.demarchi@intel.com> Content-Type: text/plain; charset="us-ascii"; format=flowed Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: SJ0PR03CA0278.namprd03.prod.outlook.com (2603:10b6:a03:39e::13) To CY5PR11MB6139.namprd11.prod.outlook.com (2603:10b6:930:29::17) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY5PR11MB6139:EE_|IA1PR11MB7918:EE_ X-MS-Office365-Filtering-Correlation-Id: 8788b0d1-653e-43cd-05ae-08dc1d0a30df X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GCdVDSaD3Z1B+WYIg7B+iPWY+rj4mnhRfv3MsWsjwcSyLMpNUNf/F0/B7Xy1ZivxxtFwyuofUQnTNJnJO1cOHzw+Oh+MkDMBaltqD4XBIaID7PQ70VG3LWXTcNXeIxN+P0IzHseWcBIGaBhk7p7dgMYLMxo4fYb5XegDjk8VqvrQF3CHPOVM60BgANU85akAJ8/aPX45MOB0UgA7nkktp02JTqIerOZu7GdZVlSUCOsWVuok7zBNc3zrGdCN9gtHlLsyOjCz7RZlMs5GpJ84FdeUCUoP8UoW/kEMo21G85QoPN4kAFKdNoCwb5/1qGijDzYqal1RF++xdlUw7d9cPWtgl6RD+Hg+VtE6gtl8CjOv/SCMRPFzulZ9qq9rc4aT2PJJdGDmvNfHJOO5IyJ1k+CUwFUn3N8a042NIaO7RfjhgdN8k5DDacuaO3ngsaTOjKGZ+wlJ+svVq733rINU0ba+zYQcM7JBTPVhvID0Q0jwj9ENOqKrsgv7kaHk0ADXIPFsRHO7br4JWDfKU2RPw75Ug3lvcbqW5exRtJvSHvg= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY5PR11MB6139.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(7916004)(346002)(136003)(376002)(396003)(39860400002)(366004)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(8676002)(5660300002)(8936002)(4326008)(2906002)(966005)(316002)(54906003)(6486002)(6916009)(86362001)(66946007)(66556008)(66476007)(6506007)(38100700002)(82960400001)(6512007)(9686003)(478600001)(26005)(41300700001)(33716001);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?cSwa7zOpHTr3ti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gY9mT8brjeMoK3f?= =?us-ascii?Q?2XziQyculWAQU9Yw1j3+403HpTahgheH3ebYdnU32BvhnmaIad1Gk13dNp7a?= =?us-ascii?Q?wOd+Zdsa2y2p5CNBsSUDJKMkw/Axwb0gxgqaD4YxdX+0s7rocAGVK+soUwOk?= =?us-ascii?Q?jjHWJN2RM2E7x6cN/hfNCdGRd9/i8fns0ATAjDMhhNrIOI4sX7spRGNaGhdo?= =?us-ascii?Q?XJVw1uofbEOO/n6rcI61JPtwC7WlrhlNy1DX2R7P9D8m5d/MSYcswwAPBuQu?= =?us-ascii?Q?TMnBo9EJDxZoBsobtRrRKG+rtnkLeAWOMXgQ0D5/sblc+Agty69LcNS+a5H/?= =?us-ascii?Q?xjMbfu61s3slg1vCtk/fbKkk9I9G2n5KsRolwaw3sJJcEjEFebJjnyfz7YZi?= =?us-ascii?Q?sSkwCyRIjT3FSGxZJcuLEHOgHnJS3AWnDZL47ik2EmBi5jUjw5YPfaYJzQl6?= =?us-ascii?Q?I1/NNvQSVFEzAhidw8n2UYBhXZLq3W18Ie2uIDXv1A8h6G5nNKBR27wGltj/?= =?us-ascii?Q?hAZPBnWsBPhxHYpCwIOmFVKzWm3gx4xxBuQZbTpBlerDW4TsiCk53e0ID188?= =?us-ascii?Q?Jv7H68D22YNAGANBAB0Gz+N0nHASbAUbkQvhX8UPb5sKeBUNFBQGYPM0IX64?= =?us-ascii?Q?1yDQf3S0/FZK5K3xOVCq1Gp1GYE4tQR2in3SLVqTW8v9IFma6O70tASUyM+q?= =?us-ascii?Q?exUlS3CpsV3oRc/zUS6sU8lWL3uojJ3GZoGeEl7c6BdvMslXXRLG3nJE768Z?= =?us-ascii?Q?PQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 8788b0d1-653e-43cd-05ae-08dc1d0a30df X-MS-Exchange-CrossTenant-AuthSource: CY5PR11MB6139.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Jan 2024 18:27:58.7985 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jaPAI8YoHjXX3E4m/nrAlC3tyAjKcSgBU9qSgc5dBTBrGCH9dN7+PtPbw6vuU+uC0kBqyg45B1TcZsx9rWuFOJF3VdrNCr8EyEXoGgcNnA0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB7918 X-OriginatorOrg: intel.com On Wed, Jan 24, 2024 at 11:49:43AM +0800, David Gow wrote: >On Wed, 24 Jan 2024 at 00:31, Lucas De Marchi wrote: >> >> On Tue, Jan 23, 2024 at 04:01:49PM +0800, David Gow wrote: >> >On Tue, 23 Jan 2024 at 01:14, Lucas De Marchi wrote: >> >> >> >> By allowing the filter_glob parameter to be written to, it's possible to >> >> tweak the testsuites that will be executed on new module loads. This >> >> makes it easier to run specific tests without having to reload kunit and >> >> provides a way to filter tests on real HW even if kunit is builtin. >> >> Example for xe driver: >> >> >> >> 1) Run just 1 test >> >> # echo -n xe_bo > /sys/module/kunit/parameters/filter_glob >> >> # modprobe -r xe_live_test >> >> # modprobe xe_live_test >> >> # ls /sys/kernel/debug/kunit/ >> >> xe_bo >> >> >> >> 2) Run all tests >> >> # echo \* > /sys/module/kunit/parameters/filter_glob >> >> # modprobe -r xe_live_test >> >> # modprobe xe_live_test >> >> # ls /sys/kernel/debug/kunit/ >> >> xe_bo xe_dma_buf xe_migrate xe_mocs >> >> >> >> For completeness and to cover other use cases, also change filter and >> >> filter_action to rw. >> >> >> >> Link: https://lore.kernel.org/intel-xe/dzacvbdditbneiu3e3fmstjmttcbne44yspumpkd6sjn56jqpk@vxu7sksbqrp6/ >> >> Reviewed-by: Rae Moar >> >> Signed-off-by: Lucas De Marchi >> >> --- >> > >> >This looks good to me, and works here. >> > >> >Reviewed-by: David Gow >> >> are you going to merge this through kunit tree or should I carry it in >> drm ? >> > >I think we'll merge it via KUnit for 6.9, but if you need it sooner, I >doubt it'd cause problems if it went in via DRM instead. I think it's fine to have it on your tree. For our CI, we can just apply it on the side to have it working before the 6.9 merge window. thanks Lucas De Marchi