Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp671322lqo; Wed, 8 May 2024 11:04:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7cS7p1AfFr7fJj5C1rSbwY76ApeA/4DJJQkN0Rs44nBmalndLe5bc9ojiOa7cisnFSWiRY/Djm2YYVhDbuxIZzafCyo+9J5XMl5xxUw== X-Google-Smtp-Source: AGHT+IGrJ/uykh5oxQ2HeJ3Nh2aZTgimHY8TkWJxr1zt1f3aatdgejLUToaXJS+hTK5ecKnZrK7C X-Received: by 2002:a05:622a:144e:b0:43a:f64e:a71f with SMTP id d75a77b69052e-43dbf3ce2f7mr37561191cf.24.1715191458247; Wed, 08 May 2024 11:04:18 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id h13-20020ac8584d000000b0043c5cc60900si14626844qth.317.2024.05.08.11.04.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 11:04:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173688-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="jN5Rze4/"; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-173688-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173688-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BE0361C23B81 for ; Wed, 8 May 2024 18:04:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7674312BEAE; Wed, 8 May 2024 18:03:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="jN5Rze4/" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) (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 687B312C464; Wed, 8 May 2024 18:03:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=198.175.65.12 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715191422; cv=fail; b=R+k+FICu/SU5Ks75fzs6xiYi2tCrdCdZvjR6XG4PkHlcDgc9LLh5c2WrH6nj0XV1pK3L0cnQ3Lc4MmQNkBy3ZNhTVjiEuWsXRx+SbQCMBChjxbZBjx8oRUw5aa3t1MmecM6ri2g2ObOaZ7ChPoPt7IE6TmqlDUXoCAKd6j9wiHQ= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715191422; c=relaxed/simple; bh=QyY5F0VSgUStgAHe0tdU/ccRkKh5w2BsFAVR8HeGgqk=; h=Message-ID:Date:Subject:To:CC:References:From:In-Reply-To: Content-Type:MIME-Version; b=QZ/TyotCx6F/re48643nmjn4CyCJMrGlkSqi9fP46WaFGzZ8Nz/evy+p4IzljzUf9H2md8rvh8AwaXQTk+akX72Mdr4DWcBn3A+x+KrrKObnxAMQ5aIuxsiPz6rcqnf7vW9ytfWZcQt4VF1hSyvm6FpjVV38NxNY+Z5BzXfQjyc= 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=jN5Rze4/; arc=fail smtp.client-ip=198.175.65.12 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=1715191419; x=1746727419; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=QyY5F0VSgUStgAHe0tdU/ccRkKh5w2BsFAVR8HeGgqk=; b=jN5Rze4/bmtG+rHNeUzJr/7l14UKDF4PZ/9aE84+ydirxlr/t81Md0nH ZtzLthgnQsGD67ljaM3cYDOhR1NUCSh+aR1SbiSrKqzHCUNaSWxn+1qU5 iohZRw5a5g6LMs84qtYgdxmQ5eBrRl1P5KZBixj9judKzprx3EMXgYS61 8z5N47m7CNF+bZfml8K4bMhxkz+k6v5g3dKUrNQhRCW2kdAPqW5vvKS1X zu+J35XtP9IXZ6ojWV+A2ASen+cg4Q5kHZ3AHtR1TVtyax0FOh061DCPt EZIVeZq3Y6rpwB9IUlxyXjht6GrrFBvwyBGe51gzVNVq+6tA/cK+hWfI/ g==; X-CSE-ConnectionGUID: 2TAnLrXASEGpqXncIuAPzw== X-CSE-MsgGUID: 45KtPJEYSQeL1hhch3ISKA== X-IronPort-AV: E=McAfee;i="6600,9927,11067"; a="22477228" X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="22477228" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2024 11:03:38 -0700 X-CSE-ConnectionGUID: f/I1Vvl1Sq6Ula4YFRAjsg== X-CSE-MsgGUID: Bqo9Bob0SaeGb9vR3uUi5w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,145,1712646000"; d="scan'208";a="33519841" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmviesa004.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 08 May 2024 11:03:37 -0700 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 8 May 2024 11:03:37 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx610.amr.corp.intel.com (10.22.229.23) 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, 8 May 2024 11:03:37 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Wed, 8 May 2024 11:03:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DZC1v3E/PgRjJ347Q+9uR/utj49dbxeAbp31OTsKGqaa78tFgK46WfquWAP838FJtd3Hw6pV7JSBCEq4G+6FgEOYYIwrf8JenO0XX83+7QzXdyi6YlL7oNpPnNrPf6peBcFxfmhwKhWmhZzrEfsXA/HMwVZD3PiWOG9a8iuAU+3x+jSbZH6WPcT/5VJKYBQsnZee8eLSC8Nywi/oXFAe6MTZ81XdZbHGZev9ZlrgjniWKJ0EKVE8dVyQdMlGhr9sVu4La8v403alMW6rxupd1EY/hfnUe+p5s2K7q8iuIjFRhZO30JDGP4WdnGBR6LM84MGdfoOeCyx8b205B1IY1A== 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=DlOCdtorIX4MwEiit8CWCUgW1cmrgs6RiWoATIpSq8M=; b=lwi9Lqynrr1EZnY9U1dvZD7uUPosB44uDT+99onBud6OXHpaTkDMInZi25amhTbNRSOX3Q+Cg1hCJOZCdJQI66AeU5nPbm43kE4pHpKxtjW6/dlBo3ci7pDN80HTdUcu+mlt1ErsmbDji3CdogmMTMxDQPzynH6kBjpW3uGNuuioVg0erqy1kHE0YNZg1yKxxlyj8wVCnTGILe1nxNX2HKkuaoxAVnKdx3mabnM74MtgRn4CrPNv5FmCNbXD9dryW/NRe+Et6x82I7nhABZxgO1o+qCgSzxAnEPQ3oun6s1tauSkMDbYlkH6lEjtE+Pe2+jsLuO9Be+9BcbGjxL2oA== 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 MW4PR11MB7164.namprd11.prod.outlook.com (2603:10b6:303:212::6) by PH0PR11MB7471.namprd11.prod.outlook.com (2603:10b6:510:28a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.42; Wed, 8 May 2024 18:03:30 +0000 Received: from MW4PR11MB7164.namprd11.prod.outlook.com ([fe80::a972:1395:dd49:1dc5]) by MW4PR11MB7164.namprd11.prod.outlook.com ([fe80::a972:1395:dd49:1dc5%6]) with mapi id 15.20.7544.045; Wed, 8 May 2024 18:03:30 +0000 Message-ID: <62e2ebd9-4afa-4bb1-a30c-5ba34bc6b94e@intel.com> Date: Wed, 8 May 2024 11:03:22 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 1/2] x86/fpu: Extend kernel_fpu_begin_mask() to initialize AMX state To: Dave Hansen , CC: , , , , , , , , , , References: <20240430212508.105117-1-chang.seok.bae@intel.com> <20240507235344.249103-1-chang.seok.bae@intel.com> <20240507235344.249103-2-chang.seok.bae@intel.com> Content-Language: en-US From: "Chang S. Bae" In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MW4PR04CA0129.namprd04.prod.outlook.com (2603:10b6:303:84::14) To MW4PR11MB7164.namprd11.prod.outlook.com (2603:10b6:303:212::6) 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: MW4PR11MB7164:EE_|PH0PR11MB7471:EE_ X-MS-Office365-Filtering-Correlation-Id: 3f5bde7f-6793-4368-a03d-08dc6f892abc X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?Yk9sQTdkY3QxOWMxeEZyWjFRbXZPZ1FuR3VJWDB1MnQzNFdIRElxbHRCTGhK?= =?utf-8?B?R3RwQkRGYXlZektoOUdDVkVlQTA1VFp1bTRLenVvUzI4ZlJjZTlVcmxEaEJ4?= =?utf-8?B?YTlxVEJ4bUlEVXRPdUQwYWd6MUhiU2ZOOHJ2WWZjblhCU05uQWZLTkZZUTBu?= =?utf-8?B?ZHJHRjJyRHlrNSt0RFFTM05WRDQycUdNbWpXNFFkT0Y5U2VLNTZpb0NWcmdy?= =?utf-8?B?MHVIUW0va3ExUWRnUXhjY2Z0NHRiVnQwNkhJV2xWakJwUmNBOUN5VDhHSmF6?= =?utf-8?B?eGlDVFJyWnNOZEhkS0lPR09CUGRmOFA3R2c3WEZWTDBiRENZY1B3amg0VnVI?= =?utf-8?B?M01taEN2czlSa0JUdjlkWTZxQ2Q5WHdCRlVpTnIzRWJjRE8zREcxL3pBUEVq?= =?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HOEtSQ1Nk?= =?utf-8?B?aUNsT1dJM2FKNjZvSHE4ejVoYzNXcDdoQTRKNm55cGsyMFJTNU9Ha2N1SDFj?= =?utf-8?B?dldGckRZQWRTTWZVYzRROEVIWFo1cW9vVzA1RTVNSGtSTG1TdVB1M3F4QjNQ?= =?utf-8?B?K29EN0NSanBobGY3Y2RobFNvNndjc09KN0tNcHd0N29YN3oyWWpRMTVBRFFS?= =?utf-8?B?bVBMWmk0NHRaVUdFUU1CeENyNU41K1FQS0pyRjlRdVF6amN5MHRBR1V1akRU?= =?utf-8?B?ZVdUR3p6QkJaSEdxQkQrUldqd21acWl0NjhhaFdERGhGbEJGUFpPY1gzUEFa?= =?utf-8?B?S0ZwemxLMnJ0WWtucVQ0UkpoQ1RZTVIrSkZ2Yy9kV0VzUUFDQkJjNmszbUh6?= =?utf-8?B?UU96NnFsSDhRelNqVFdXSndyd2t3MTlYTk1TSmF3bWJVeTVsbDVnMUd3PT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR11MB7164.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(366007)(1800799015);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?d0NIWEpsdXRqaWZNcFFtWW1lazJKa3d0Z0VLRURsUDk1b21tLyswTXdHdEVy?= =?utf-8?B?d2N6ZlYzeDRiVnBHUDVURW1icmNRbS9KM0tKQ2Q0NFZhQ09ycWRELzFYVHJy?= =?utf-8?B?MWVla1hMYmRkdnEwWkF0elRPc3p4UkRzYXRjWUdtWndaUDFqcnhHc08vSVI1?= =?utf-8?B?emFWT25XSnU5SWl3a0NvRmRyQWNLQzh0ejdQUmMvODBWL0NIK0ZCUzJXQ3V6?= =?utf-8?B?cXNaRnZTbXk1MWhXdVJsd0wvVCtQVW9EcXBacXJQREZKZ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cjVvZHpYS2VnbXpjL0Y0Ym5PdUQ2enY0MEhRclA1NzFTS0c1RXlHK0Yw?= =?utf-8?B?Wlorc0pVdTE4UlZyazAzbDJvMnZuVUorWGsyK05DL09DK3d6Tnc1RFpIVmtj?= =?utf-8?B?S1E9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 3f5bde7f-6793-4368-a03d-08dc6f892abc X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB7164.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 May 2024 18:03:29.9358 (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: wXXu+TWZjDi/qQGaakEiAoyJhgJ2rPGjWj0fIoZCt2oYRE2oKGafaManqeU42oX6paihsGIHMHeB0Sdh2AaYAAdzs7xUfEZTERka4pm1yVk= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB7471 X-OriginatorOrg: intel.com On 5/8/2024 7:40 AM, Dave Hansen wrote: > On 5/7/24 16:53, Chang S. Bae wrote: > >> However, due to resource constraints in storage, AMX state is excluded >> from the scope of state recovery. Consequently, AMX state must be in its >> initialized state for the IFS test to run. > > This doesn't mention how this issue got introduced. Are we all bad at > reading the SDM? :) Ah, I'd rather zap out this SDM sentence. >> When AMX workloads are running, an active user AMX state remains even >> after a context switch, optimizing to reduce the state reload cost. In >> such cases, the test cannot proceed if it is scheduled. > > This is a bit out of the blue. What does scheduling have do do with IFS? $ echo > /sys/devices/virtual/misc/intel_ifs_0/run_test Then, run_test_store() -> do_core_test() -> ifs_test_core() -> stop_core_cpuslocked() -> stop_cpus() -> queue_stop_cpus_work() -> cpu_stop_queue_work() -> wake_q_add() -> wake_up_q() So, the CPU stopper threads for and its sibling to execute doscan() are queued up with the highest priority. queue_stop_cpus_work() has for_each_cpu(cpu, cpumask) { work = &per_cpu(cpu_stopper.stop_work, cpu); work->fn = fn; work->arg = arg; work->done = done; work->caller = _RET_IP_; if (cpu_stop_queue_work(cpu, work)) queued = true; } Those threads are created during early boot via smpboot_register_percpu_thread(). > I'm not sure those last two paragraphs add much value. I'd try to > banish most of that content to *after* you talk about the solution. Or > maybe put it in the cover letter. It looks like lots of distractions coming from bunch of alternatives in different levels. Thanks, Chang PS: Let me respond the solution discussion separately. I do want to experiment the init-track behavior a bit.