From nobody Mon Nov 23 22:28:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass(p=reject dis=none) header.from=ford.com ARC-Seal: i=2; a=rsa-sha256; t=1794426710; cv=pass; d=zohomail.com; s=zohoarc; b=hLxstf0IUJuffLHTZWifRNaUFHFguZtacexFqc8QlqtVyq02sUdKE6jZ/V/XVPlcWiOnijkjQErI57lCNVAt/BnXXM9PpPQC6jOJYFPDa60xDSIdqAz4uSkFtfiiziRpyb59bU9jZ1wpX26Idq/O9cAi7AdnUqwyB9GQFIcnhjM= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794426710; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=sD+eBf2x8v77BhJ672+GOnkUSxa96RozVe+nC72I5tU=; b=KRkS6PnP8SbW/CVyjetV8C3+1K+g6aL3esFJrO5nNrgcFeTRcdTmFOtzJgxk4rA3EmtbG6FcLmNX8y2vCZSWBD1ItponPmkIKUmIY4jYdlQR27rSSqlTRMd+N3ZoX4BUgbt1pNL+sEpPKtEH8CqcBB4MJ6wU5bkw/v/I5kOLy0U= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1794426710643577.5631784791592; Wed, 11 Nov 2026 11:51:50 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1484929.1688280 (Exim 4.92) (envelope-from ) id 1xRELy-00046A-Fm; Wed, 11 Nov 2026 19:51:30 +0000 Received: by outflank-mailman (output) from mailman id 1484929.1688280; Wed, 11 Nov 2026 19:51:30 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xRELy-000462-Cn; Wed, 11 Nov 2026 19:51:30 +0000 Received: by outflank-mailman (input) for mailman id 1484929; Wed, 11 Nov 2026 19:51:29 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xRELx-00045P-2I for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 19:51:29 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xRELw-00AWH1-FD for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 20:51:28 +0100 Received: from [10.42.69.4] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6af4c71f-8faa-0a2a0a5109dd-0a2a4504a816-32 for ; Wed, 11 Nov 2026 20:51:28 +0100 Received: from [148.163.146.23] (helo=mx0a-00498f03.pphosted.com) by tlsNG-ebf023.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6af4c73e-b57f-0a2a45040019-94a39217d33a-3 for ; Wed, 11 Nov 2026 20:51:28 +0100 Received: from pps.filterd (m0384718.ppops.net [127.0.0.1]) by mx0a-00498f03.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIYXWo2313307 for ; Wed, 11 Nov 2026 19:51:26 GMT Received: from ph7pr06cu001.outbound.protection.outlook.com (mail-westus3azon11010023.outbound.protection.outlook.com [52.101.201.23]) by mx0a-00498f03.pphosted.com (PPS) with ESMTPS id 4hvuucsrqq-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 11 Nov 2026 19:51:26 +0000 (GMT) Received: from CH2PR11CA0003.namprd11.prod.outlook.com (2603:10b6:610:54::13) by SA6PR16MB6768.namprd16.prod.outlook.com (2603:10b6:806:41b::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.8; Wed, 11 Nov 2026 19:51:19 +0000 Received: from CH2PEPF00000148.namprd02.prod.outlook.com (2603:10b6:610:54:cafe::15) by CH2PR11CA0003.outlook.office365.com (2603:10b6:610:54::13) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.9 via Frontend Transport; Wed, 11 Nov 2026 19:51:19 +0000 Received: from mx0b-00498f04.pphosted.com (148.163.138.245) by CH2PEPF00000148.mail.protection.outlook.com (10.167.244.105) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 11 Nov 2026 19:51:19 +0000 Received: from pps.filterd (m0373461.ppops.net [127.0.0.1]) by mx0b-00498f04.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIXgTE1790917 for ; Wed, 11 Nov 2026 14:51:18 -0500 Received: from smtp-us.ser.proofpoint.com (pmta-usw.ser.proofpoint.com [34.209.42.160]) by mx0b-00498f04.pphosted.com (PPS) with ESMTPS id 4htkgbn3vr-2 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Nov 2026 14:51:18 -0500 (EST) Received: from localhost ([19.12.92.222]) by cmsmtp with ESMTPSA id RELjxLSqsjpGfRELkxkJ4h; Wed, 11 Nov 2026 19:51:18 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=ppford; bh=sD+ eBf2x8v77BhJ672+GOnkUSxa96RozVe+nC72I5tU=; b=edbdIBZ3I3aRUgEzXed fVHGWreM4W7GNXmZjRyhNzpUmiRz8AKm00lz00XbK7hSPQ9VtzzRKwaBPZUoNnFY 1pKZSmVEZ/liT/dnTw54Ub7ijALaWj05PtWOvcT2wvXqdtO37I6ZdmkNl3BrxvA0 LchFoM5lpAeUZHiVIikdxFeOd1z/P4I33e0U001cmdqw9fU3uKbT13KOzV3IaYLd yq6APOZhElefYM1OdvcLud/OfwcqH4Xvqmn0sc3GByg1hF8qnEs9yjgI58Iro4Z3 eHxYGax/vifBYM9Pjr+3Frp2R8nrtAM9ofCxHVZ8dIZlhapsggou7Zb3Z/3tHgCz L8g== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=saxqHsvEXtjC0P99hRbtbRLMwKpRQUGBm9j2Eg8pOYfG1aXUPSaM4xjlAtBOtl+0aEc3y1Svbd6j3uKB0xrNtM6Rryo9wDc6atdXvoGMi1I1IfBKMAyskh2Bdk59XpMrjz8Pn+cdb0vPDMfG2d1noeT/WVVa7Pl37lc67vZHYqqnoh8trcnfO+MmIv9p4k5guYK/uO0q7ApbH4fsDMgK2h3K3zGLBGBmUzTcRV8E5tMhQuVLECV7OH1/uJazXLgQGaUgKech+wAxZnjdxtaOEX0XgqGSg0UXL5L9FUTUYti9Md1/Vfweg9k2+rcoaWuSS9pWPRhpoUFwl5kpmpg7Pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=sD+eBf2x8v77BhJ672+GOnkUSxa96RozVe+nC72I5tU=; b=WqiaR+l6PFgpJzDJyfrWZBV+kJCo+HOFDcvxA9eRBuccIHIyrLlXlwqfkNSYBx9SEvxZXCHqKG4IyuWhHkwT8aC4prwkUAcYnGFZXQqpJEC45VtI6XvtXebznIdeMO317xfirFyqyU/ZTt9/wQAk0vd0LMws7WPYpSXdqo43GnvqU8OFVUEaD59EQVlbp3SIXyGK/K4+c+UXxibJfEwYoFUNcijeIALQMtP3XiSD+snVfuxqsKOYXWlPx4ZhWxM7bEUbmQNbdvcHudv3vu0GmHmXN01wWAQcaNmwx4hToO/LokG/V7o8dn687Ir5WRjDv6FWHWwL/EyRLK5FjbVnSQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 148.163.138.245) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azureford.onmicrosoft.com; s=selector2-azureford-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sD+eBf2x8v77BhJ672+GOnkUSxa96RozVe+nC72I5tU=; b=EOS/xYrAUpZunH0g8hU5igSu6OeY3QLwBzkJWHnxlGrp77MC5Ibcn3pPVsBXdb3djwmb+DIwffUIYbbRfylddXflVpEGhfXUevgTJl2Rrf84EEf/rNi+MwwD94QBJb0viQH3kNY65EnmCPqURPIntxxMeuGT0uwNmwYpsxHCO/4= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 148.163.138.245) smtp.mailfrom=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com;dkim=pass (signature was verified) header.d=ford.com;dmarc=pass action=none header.from=ford.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of ford.com designates 148.163.138.245 as permitted sender) receiver=protection.outlook.com; client-ip=148.163.138.245; helo=mx0b-00498f04.pphosted.com; pr=C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= saarlouis.ford.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= ppserprodsaar; bh=sD+eBf2x8v77BhJ672+GOnkUSxa96RozVe+nC72I5tU=; b= b3F2jbXg9tQaLDJZ7LXYlNi+EFLVu75pgClGckiqyYERLgmVKZfw0A27KZuxGcTV nHpfl+QHSbYkRA0kIsV2wJ14WCCGL0NxPgywojonzDD+h7AQX1Jmpabyr/EIXhrg I6eBX3YSqrC+B0rOj+UbTPynHm1CvKRke234A9JI7OdoPztfieRURqvnAG/VXYpu cEgBJtttaVRC+JkI93RbiMvyoKUgERPrL+PZWu26cbJTNvl3R8i7lq75HpM/kj1n MgMh7pw6HRLl7UWweOonE20fwe0uq547xNWdr67lYdsbkrVuXSSIrbiTk7f6xIH5 ONLzO/XvgUqbJK3zwnsFPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=ppfserpocford; bh=sD+eBf2 x8v77BhJ672+GOnkUSxa96RozVe+nC72I5tU=; b=LQanE7RcUYvKm4BkoT/1Kce cq5j+IRaZro1i70jVouwwbhIXt269wD4ZE6WjkLvWPdLS/kTJEe7axzGpUvQmv+y mWfadkn7/qA4v+1b79w5wlcc2SjTcP6pDJ5sffI3tgjkQh0Vw9ZT/a2ZbTEF+2pc hIwmc+OSKY3BDBxIsZBwg66EDg57sW3gSrPL6Em5XInSX1RagGdnD/ADcjFtuHuw 7R5iz9cBtRK8YHBjFgoscZjjigIDTawi5zWvGIfRLND0OltsPNNObhRWqgBmcDPP ks05EqBqvreDA3aWy3RcTcoD0+xa8cIFDJZD3IjcwRb+OhYN5kIeQMlTLEG3Rmw= = X-Mailer: SER-76bead168636dc6ed1c9e51ce4dea80dbdd4163750742b614a4d871e565792b7 X-Cloudmark-MID: RELjxLSqsjpGfRELkxkJ4h X-Proofpoint-CID: eb09f7eb-2dc2-34ab-a188-7b293c1db1fe From: dmukhin@ford.com To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger@xenproject.org, sstabellini@kernel.org, dmukhin@xen.org, Denis Mukhin Subject: [XTF PATCH v1 1/6] .gitignore: exclude tags Date: Wed, 11 Nov 2026 11:51:04 -0800 Message-ID: <20261111195109.1070169-2-dmukhin@ford.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261111195109.1070169-1-dmukhin@ford.com> References: <20261111195109.1070169-1-dmukhin@ford.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable PSER-M365-App: SER-APP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PEPF00000148:EE_|SA6PR16MB6768:EE_ X-MS-Office365-Filtering-Correlation-Id: e6109b8f-5f4c-4542-faed-08df402d27c1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700016|82310400026|1800799024|376014|23010399003|56012099006|22082099003|18002099003|11063799006|10067099003|261021121427099003|261102123227099003; X-Microsoft-Antispam-Message-Info: xPiPfzpHBZykExsW+GtZmUEjycLz06X2Z/6DM8WzkIiCBSdC0sB+JrhGr4p+O2/Xszdl9DLTL3jbCCQrIqAR99dEJw+LDOqVV/rkaqx4jEyhUB5iey/wcS8yLavGT8YOm1LB6N1piQ0MIpD8y6YSkEVkBQathkYjQfl5l5LDq5SLg3Syuhbf8Xxi8oSsfXw0oU4NP55mc2YsTjfKcxUx3xspH0Ek6LrTfSbS6UCXV+bPX+iX2jkTNNq21kS01o3p5d5CuyELPu/7Yr+hxP1OzcGdUBl0o+Nh9N3u2t+iOhxdEnvc5HYndd0eaL4O3k388ZMbO1Ya2dq3VpejTSvCsvyhThiUGDNPcyRzY34fiQK/hatQWOsIY6REcJ95spoq837EowBWUvCYorQUYj6roudEzKXWBqzqTjAi8262MQv2QyaMX11ba/7MglKoIByMp90hVBq/CwURlz84fe3oJhs1D71jHcgNHIKolMGsRstCvCp0fMsCOy2eorebSRQ+DUZGaNw4SimUu7X+IZ5PIa3QuzbJpakDde8zLITO4sMEzXO3MqdbCNPOlvw7HjEb/3UmOK3TIPSNNUpSh6wh2taeHtJjK46jdC7EIn1W23RDUOSAgedXVgnsEsEU4mEL2FG9CMXQ7J6P1qZgvrKYMlHfJxHZfkySqRICyZ601KytIkJGMGs0XEXZUZbHctWe5lNytPv5w6F9Ja5d9EmY7A== X-Forefront-Antispam-Report: CIP:148.163.138.245;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mx0b-00498f04.pphosted.com;PTR:mx0b-00498f04.pphosted.com;CAT:NONE;SFS:(13230040)(36860700016)(82310400026)(1800799024)(376014)(23010399003)(56012099006)(22082099003)(18002099003)(11063799006)(10067099003)(261021121427099003)(261102123227099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2JVjdAme77H8e840RjAVLNGGBqS6UEraEsn8dbApe1nFRBW93FMjvgBdIUgXb+LLkfaQwqqjyCmSlP/ioV5rVGHhyEMfxvf90uVcurv+HcD04JoQw/7YMd8AcDCo/E94w2LiohMQmOEB5pn8IiTRDo2yDdOm427l7nM9v1s5Ml4s1mW7xlao8r1YxwRyv+i7+PQCEiY5QbbG3tSMR2OnnItLh2/yTFXxkxUZFRgPAu+N3EHz7wwEXv8nNhy6tuPS9g1W4X9/14xTjB7/nJ1x9u5gKoRBD/E++FKmKJqWc0qNUWqA9eJTC2LjeuZOrscu8ur9um3umPSNV8GsCZrqpc09ZlQuNpCptkXUHIyLm8TrvQJhP1EGYUY4UBuGUdA/NdH3ORQeHaO0PVksLNmhisScS9LZiN9xv4BfrFWBCH/m2RHHTxsMnKAJq2jXqhdv X-Exchange-RoutingPolicyChecked: z0v+xO9p2csL5f5J5rZ1Z1aPscKI3YB/eyd0igjX3f0JX2xBEqac2gwPxOZnayAS7jZS7JTY9UtN/sraN7xsszTGe7Ol4WB3BquPCTNDngSYzbdSQ3ERIA0d7NaOZEfVBgsxMuCrvj9jk5OZN+ySy+tNM+QxqEIDNHxsmeffP3UClh3rzBJqg9J5xc3I7t3rMyASEvRHQ//vOqMUtm9hALURSVVdpcN5Ze2ckMFk9RIxyK46YJdytfvW0wM4EO5cziMb2NfCyPWAawRwmukFe94TA4OudE/+Scy43672eNqUxFO14cI1O0XyOfEf0Rpt0d4s10RJkAXkBEDgLB+TEw== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: zTgxZ1dbF6SGcU3ocm9XFAQyZ4vg809/VEfNhpT/GMRM1GIMXneOYka91fbgfEyzPptLXEnTzzJWPwREBuGZ/ei8lpj2Mjtw3zyk+mW5++adv4nc06NfZt4LQQTRsr07C6ZOnSWxQ0KUhqt/IrD8c/eZo7KdXohzHDZL9/+DHcDWvVJuz1rY14AZHUAiYsPXNASdsODlEWGq6GzQabjOsxRUPIoJwUfNE1m2DreiAzYZ5HJfSo8DufQcDcnKVtpPD+eyP5oKFO5QFdESWs5YiZZm6/s+Y48hbSWVjCGEtYURCTP003y4xJPrMDyFo+V+1Q00saTfIGDWaSUmcPdz/NA6nWyxiJDyeKq8qTaxzIa6EpGcTEJI3Jgk887+U3vTve7fm+bxtdLc8hpBc3UF7UzsnKlgMuEYIeMZBpmoma2Bb8xK/BvEtwDDL7S/o2DYGIEjntvrxSBq43fwgf8DusUanOqxIFXeWG/JGTiOLybYoAFrGulndCmELRm30llmpalSDJVq93lrSweIih7I5PHMWNJYmjiXf0xUCz3DxWXYU0o+64xF7lWa3qLP+a+3/C/P2Zl1yDVyYCKDtdgso86hgEkZaCPtxhyDd+c97oFrBcQsUKW/feGCYspnz/bfxY41PlFE61KTIYanC98c7Q== X-OriginatorOrg: ford.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2026 19:51:19.3170 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e6109b8f-5f4c-4542-faed-08df402d27c1 X-MS-Exchange-CrossTenant-Id: c990bb7a-51f4-439b-bd36-9c07fb1041c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c990bb7a-51f4-439b-bd36-9c07fb1041c0;Ip=[148.163.138.245];Helo=[mx0b-00498f04.pphosted.com] X-MS-Exchange-CrossTenant-AuthSource: CH2PEPF00000148.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA6PR16MB6768 X-Authority-Analysis: v=2.4 cv=YO0KWhGx c=1 sm=1 tr=0 ts=6af4c73e cx=c_pps a=xBU3AFOX62plvdJ7VrUh9g==:117 a=b7IhknPlfT0FN1EembXvig==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=zJRp6_cAMcgA:10 a=3PXLN80vpJUA:10 a=6NUGLSImWEsA:10 a=w9pew1qAHqMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=P_n1zlmtWsCQbjROFjcg:22 a=ARvDHhclS48edyKYUbLB:22 a=cbNQJ9GKAAAA:8 a=oX6sQOh5f4QriJ02HC0A:9 a=P0bj-C3X3jJDpopQwM1U:22 a=WmVTiCyuxqgg3mnwYu6p:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfX9QksE/v/2fTo 7Gt+m3ku3CxHH8e1tMStWkmpJEY16VXdH/cyk5JhQGSitYOB9jQRAYZt8BY9De3ROpmPzVifUiH XpdiskbrxL8lSa9CshWVB44rfwrLGR5JNNfsrS7RTp/BB+lDeSYv X-Proofpoint-GUID: c9j26PDLY6NQ_LPWq9Q_Pv4sbHd9Vuu0 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfXwzXJlAEvBCPu qUTSN0RjbYcK12DAF4O410ORs8FblodO7TDEA3FIOyjYCYvzpWVGmzDsqEz1xJlr4K1Xrm6aDfn F4U8Bl1Q61S97bUJRWCWVq0MkrdUb/P6stsdqo5R7NH6aNAcIJ/nkzRqyGiLYdrblT1s5nxoCzK gvv7J/9JpBxsX7Dt+G8DDPwBCnkVJtGWtCw23IAdpk8VcAhQ+QMx6WqfF0gsmgqs0qbGfN65J3J 4PPtrpUFiea/p9b/IUSU1ZwIoAN4WMN8dN02q6OidLMxSFK6BFAbZrXE9D8ObfY7aDeAWQC04zz Zqnn7/H+SE5cvmwo4MHciwuOWmDkHqsergybe6Ejxbm6Tb88nJcKmKDjAh2qvL04uUwP8lZt3By MkxCFGcLB/S4Rqo6O276BdrSWx3l6ies5WaqptcN4GKz1N9Gz+tinChGcMZg+vshl97ryhqA7dL m8rS8gxQ/IIyRG9Swcw== X-Proofpoint-ORIG-GUID: c9j26PDLY6NQ_LPWq9Q_Pv4sbHd9Vuu0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 bulkscore=0 adultscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-purgate-ID: tlsNG-ebf023/1794426688-532CCB50-7FE3C9B1/0/0 X-purgate-type: clean X-purgate-size: 349 X-ZohoMail-DKIM: pass (identity @ford.com) X-ZM-MESSAGEID: 1794426711907158500 Content-Type: text/plain; charset="utf-8" From: Denis Mukhin Signed-off-by: Denis Mukhin --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index dcacdf3b2d6c..b16635db3409 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,5 @@ /GRTAGS /GTAGS Makefile.local +tags .vimrc --=20 2.56.0 From nobody Mon Nov 23 22:28:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass(p=reject dis=none) header.from=ford.com ARC-Seal: i=2; a=rsa-sha256; t=1794426700; cv=pass; d=zohomail.com; s=zohoarc; b=BWYkqalzMq2b5L0lhdhJ+tLW6FiyNgoRTvuqe/bciYIIfcjoP2KNpCQJ7KLg9VSDcsDdAax9Yt5ESzrouH+Jml7ae/w8Fxy1kVoLbXR4c+AZtDoxc2DALCY2A0DDmwSOXYxq2aOBRb52yubEyk7ToUMvXaqdx+Kn61YcJXgxG98= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794426700; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=HypWmXGSVJwaNtFzb83l9/dq/EobfE2tMNYmNPwO1yg=; b=MLPlOX2urH/XVzi+DUxaSk2YpEIU0uiBzhSDcBTPByy0NIpTasiH9k6YNfjkpypeHqTP0YHl0+uQ6Bk+u89sARv6LUxPcZX6WgJyZThyeD37p7ryqkoqQQvglD/QSNeoobQYV9ybX15jE7a9HiNG4j4Y8bTUTyu4omn7OaCxlwc= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 179442670042494.31318476145634; Wed, 11 Nov 2026 11:51:40 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1484930.1688284 (Exim 4.92) (envelope-from ) id 1xRELy-000490-PB; Wed, 11 Nov 2026 19:51:30 +0000 Received: by outflank-mailman (output) from mailman id 1484930.1688284; Wed, 11 Nov 2026 19:51:30 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xRELy-00048X-Lb; Wed, 11 Nov 2026 19:51:30 +0000 Received: by outflank-mailman (input) for mailman id 1484930; Wed, 11 Nov 2026 19:51:30 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xRELy-00045k-4G for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 19:51:30 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xRELx-001WVa-H8 for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 20:51:29 +0100 Received: from [10.42.69.6] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6af4c73a-2eae-0a2a0a5409dd-0a2a45068760-6 for ; Wed, 11 Nov 2026 20:51:29 +0100 Received: from [148.163.146.23] (helo=mx0a-00498f03.pphosted.com) by tlsNG-16d1c6.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6af4c73f-195a-0a2a45060019-94a39217dfd8-3 for ; Wed, 11 Nov 2026 20:51:29 +0100 Received: from pps.filterd (m0367124.ppops.net [127.0.0.1]) by mx0a-00498f03.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIYk562829567 for ; Wed, 11 Nov 2026 19:51:27 GMT Received: from bn8pr05cu002.outbound.protection.outlook.com (mail-eastus2azon11011056.outbound.protection.outlook.com [52.101.57.56]) by mx0a-00498f03.pphosted.com (PPS) with ESMTPS id 4hvuxm9qgx-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 11 Nov 2026 19:51:27 +0000 (GMT) Received: from CH2PR11CA0021.namprd11.prod.outlook.com (2603:10b6:610:54::31) by DS6PR16MB566951.namprd16.prod.outlook.com (2603:10b6:8:4a5::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.9; Wed, 11 Nov 2026 19:51:23 +0000 Received: from CH2PEPF00000148.namprd02.prod.outlook.com (2603:10b6:610:54:cafe::44) by CH2PR11CA0021.outlook.office365.com (2603:10b6:610:54::31) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.8 via Frontend Transport; Wed, 11 Nov 2026 19:51:23 +0000 Received: from mx0b-00498f04.pphosted.com (148.163.138.245) by CH2PEPF00000148.mail.protection.outlook.com (10.167.244.105) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 11 Nov 2026 19:51:23 +0000 Received: from pps.filterd (m0426316.ppops.net [127.0.0.1]) by mx0b-00498f04.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIXMak075518 for ; Wed, 11 Nov 2026 14:51:22 -0500 Received: from smtp-us.ser.proofpoint.com (pmta-usw.ser.proofpoint.com [50.112.124.217]) by mx0b-00498f04.pphosted.com (PPS) with ESMTPS id 4htkwgn2jh-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Nov 2026 14:51:22 -0500 (EST) Received: from localhost ([19.12.92.221]) by cmsmtp with ESMTPSA id RELnxf8EAQVyyRELnxGApd; Wed, 11 Nov 2026 19:51:21 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=ppford; bh=Hyp WmXGSVJwaNtFzb83l9/dq/EobfE2tMNYmNPwO1yg=; b=m5Qcni7gaUXaMY9bXDu o+y3DkPflEwsqLZNfNCWxpvvjWoHiJYJPDKtyAfqfk9yxcruI5PIXXsaZk0cGteK NlrCdPKKQbb2yRtdjAoR8wDpSMJt186fvFDfiJrHFD6DdguHJegCLvGSSKile28W N5ZuVstS82MUR3ZfAEAiaopgQKw1DfYA8WsTF7Vo3tnmchW64ysR7h3bLwNPpC7O q6vrwabg5Z3Syp9rcmCZ4+impVdy7VbhbvUBuVXe7sC+Rq+NehpN5P7iW/fmVDKc 8qQNfG3dMxgFbO8IjhXspcJif9YK5GT9OVABvhVqbIfl8PjTYmbUsX2YqQheqd5U osA== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ATmapbIywWhfHyMuScmYXms/V9DuKbGZDw6f9QCgZubO5JwymICq7cQ8KoWDItbU3qbFqB/q+36UcltTuXw8VRWRNq7SX+WT5+pRfDUoc3Q8DkR8fEDBGVvkA0fc7Bhzt2ZYwkdOTK84x0gUT8fY2q21wr9SoymLdOp3B4j0ZGuqzIArsy2wMbYrsjC3m1Gh+VVuDiY6q9D0KEndukjct71XN9LcHJSXvuX5aJ/FuBKoQZ768RNxnQ8/n0hwBX5XanFxrAt5fyHng1RpWhKbQv/lSxa9VVON4wh17gTQ/w8Lx7qoVOf9tpSfmx+dWPJYFsBEx+Yt9lbafQSTwXes9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=HypWmXGSVJwaNtFzb83l9/dq/EobfE2tMNYmNPwO1yg=; b=UzCZqX3X66eBDASKhLpKHW8fwIOPlF1yl6DZQ+lEHni69FX5UiQseA60d1dEfCpL6TgrNFyHmzVmt99qYtKCwkUN+J3Sg4PAir8FiDlSoj8N+PhMJp984ezMazoonpo5zuQV2yh9J7F7TKFCeeMo6cu/kdOE5cPOCKL8gTHOc+IbGGDM1jJMVLXxMoGGF3W0Y6HhUo5MgoZciWGyfBPG5eQU5/pJiQ5+k5pAutX8Y1afR5ariqB/65B70r4BPuUmV5y9t7tSXo9qtUwOyPqro2KqnMC9C9fPjMffKvxXFfiOT7tK297WNaiLtvumox2ZOFP3sU4uL8SjcPzd/osMBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 148.163.138.245) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azureford.onmicrosoft.com; s=selector2-azureford-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HypWmXGSVJwaNtFzb83l9/dq/EobfE2tMNYmNPwO1yg=; b=McCtXJTJ80dFCj6Paqta6R08diybjC25aX/HTKBiXj2Taweytub4soGF9x/chDbdvyc97aZsVA3QXpGRf580izjzV5iV2V9muoFFrF77sqTmCmnphUHEdVkxIenSCNcOWHv0YiLLF5rxrZgGmnDPkeSdouVf+EtLSwhjHzGEI7k= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 148.163.138.245) smtp.mailfrom=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com;dkim=pass (signature was verified) header.d=ford.com;dmarc=pass action=none header.from=ford.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of ford.com designates 148.163.138.245 as permitted sender) receiver=protection.outlook.com; client-ip=148.163.138.245; helo=mx0b-00498f04.pphosted.com; pr=C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= saarlouis.ford.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= ppserprodsaar; bh=HypWmXGSVJwaNtFzb83l9/dq/EobfE2tMNYmNPwO1yg=; b= Zu1DBPvtrgC89dfMsgwaHUQpI55+EZI+xr0C86qIwlzN+psq95MIXwqmEiGsErGi 4rMpkkXIpPVvV+FUGUNQV3QlsOXCAcVD0AzVAcNfkPh7sT//D/iZR7z5STlh1AFJ dKJmM4ExgTub3pgF/9y15UpnuVJzijm0D+fiiHARv+Yaod5ou2un63t73pGJ8yKI WhapQJq0URNF2opTw7CAufao6L+VPakglAmeWMPT2HVRBJJAkT+1CynPmUz4mEAR eOMh/ppf1GXAEOOg05kw5y1l1PGreBrwaphbgy9AtbRxhgQ9zVgPPBnBRCbLkTly sXCca1jMEUTXHhXvkUFHRg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=ppfserpocford; bh=HypWmXG SVJwaNtFzb83l9/dq/EobfE2tMNYmNPwO1yg=; b=D1zFb+DFesAr9d1DwZse5Dt 0b98FMiMoh201SEGgCJI656pxLadLMkm1ntqndqUc8u6TzFEMQXMCpo/fowlI2gc mEtuAvpB1VGPjduHaWPIPAqUnoLjBLgDi6u3xckbbAgpaADQNX6jQZ0nDpESYbng vdygkVWbhTar8j+ez+W7FDz2rL7TDLpygciq9S4Jl36Z1UL8HSKXbEDqLBJwQZ2H kc8eLd/iBHKQsIKVa7M5LE3ntng8hzAEzEnyBqOn3ZZ7ADFmHEfZb9Zs3HaPMUeR haNm9+FYuvlck1CdaZ2FbxIKIJJ6qm4OOOtr/R3WBrXctHW6mBNZAfCBoZ8GFKw= = X-Mailer: SER-76bead168636dc6ed1c9e51ce4dea80dbdd4163750742b614a4d871e565792b7 X-Cloudmark-MID: RELnxf8EAQVyyRELnxGApd X-Proofpoint-CID: eb09f7eb-2dc2-34ab-a188-7b293c1db1fe From: dmukhin@ford.com To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger@xenproject.org, sstabellini@kernel.org, dmukhin@xen.org, Denis Mukhin Subject: [XTF PATCH v1 2/6] x86: introduce cpu_relax() Date: Wed, 11 Nov 2026 11:51:05 -0800 Message-ID: <20261111195109.1070169-3-dmukhin@ford.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261111195109.1070169-1-dmukhin@ford.com> References: <20261111195109.1070169-1-dmukhin@ford.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable PSER-M365-App: SER-APP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 adultscore=0 bulkscore=0 phishscore=0 spamscore=0 suspectscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PEPF00000148:EE_|DS6PR16MB566951:EE_ X-MS-Office365-Filtering-Correlation-Id: b9c8e0fa-c029-4975-2610-08df402d2a1f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|36860700016|82310400026|23010399003|10067099003|11063799006|56012099006|261021121427099003|261026140227099003|261022105027099003|261028144727099003|261102123227099003|261009223027099003|18002099003|22082099003; X-Microsoft-Antispam-Message-Info: XwUCtzYPX8T0Ot0+y31hKe/saStWn28S+M04M+RAJvm5YcpP+2X8w73AN1ywZa2wg4/GB1pJzgb3p8giSC2qiKCU/Mth93TgAtG6I7qTvLG+5ZeCRJ8I6ZTBHOf2083vZsOmPc5jqVaVZvSbgZqJzHyHk5omd2pM3wD5qvttOhmI+ciD1dMGD9Mduhufs3Z+P0f2JSnUJ97NCj1bsIo7yRkQyk3WaiRZiqY4dh6IjAnbCLZPLmD+scIxzq9OP1xOm6SwoXCN/gBhGVwSv1GnLSGuEJc51foUqZ30XpPtelcEyM9Sg9fvHoWMu+iMwZRKzo8icAxGYBdfR8XBjJaZ7VOiczbIt7Pwxd2d11+JZbuuokboVdNvRFsqzlFPjosnu7l2NwagueBfVcq9uuhFJdgho/2+TBIT5nxSo+FTDXmEp/7AH7VvN692uzU8RYrIOb9JsXqOetk/Z3JrdYzE87zsA7BZZBlHyhFrBjgLk6GdRtr2QoHxY4aCulL8OAURMg5AVbnCdhHWA8vP2T39Y9zQLZjLY90by7tedhJLtlZoMb7Wo5/L3bmzgQR3aMjmIt0FoEc4OE8hwqsb5FI7heQOL+pgKY9hmLj58rg3J+CmYwwtutTarLLnfE5EctVpdDJec0pJvtRSy770oU71EAui0NxnjXQ5PmquVp1hDm1kevYXcguLda0tf2oOwqyA0GKF4xkIRJEWpMgXWKzxmA== X-Forefront-Antispam-Report: CIP:148.163.138.245;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mx0b-00498f04.pphosted.com;PTR:mx0b-00498f04.pphosted.com;CAT:NONE;SFS:(13230040)(376014)(1800799024)(36860700016)(82310400026)(23010399003)(10067099003)(11063799006)(56012099006)(261021121427099003)(261026140227099003)(261022105027099003)(261028144727099003)(261102123227099003)(261009223027099003)(18002099003)(22082099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: AGeU9BLV2yHCnI+T57EqXbNwoHHdo8bqeqm/JOx4CU5mUGKyYn9kWSkdg6/KvuKyZHhBfAM8jYFG6OmjK0b+g8kL0VM/HTBjJHsEGmM4SsVHJk4IHIOrShf3N5S2j2yQcFtPOkjQfltmRSghD9GUAiCkBwclAgtShhhRRoZXZTKf5P4GjAurUj2aWBOJK4ZLkgohvIS4k33sgyAHD0FVtNwb6moaw9jN7H5I0UGwWXzXJdaA4v/tp4BHEI0yhIixiVA4ybRG5A72lNF8V9b5wVDs0WYkg9dsspmHd3aA203ZBAVxpjYr5kBdG80NOdm7Q4Dqmd1IRrz30oP89Ga5+wvnnZ4WqJ8M599gWJxiIUCbZx+XhbIBMF7kgelE+UAksfC4rwfJMaIXRQ4I3sDIeC0LuWmPCF2e4YN2nfhnLT+ya4eeLALHWx+NkymDBHa+ X-Exchange-RoutingPolicyChecked: uPZRxKM2sJ0y/j8UFrRz7KGhHeNklF0Nr8exrWKpIyojuvtfC49NNFLkRnRjg742QsjT8ye9uEU8umHwH32UnyspjN4FO7hgikFX+P0ENelbcNhf+azW04qT0MMjaDgKbYmXMQg77xlCl8H4hi4SW/uu4IwaessxAtOsBdaYirUDrTcUExr/1wom39LL3682qN+gHupKv83GP7QcXXgjTyfzRxerBngghDlc+/ZoGyTfX182rexCkCTzBsgdlWCTb1J1ZCrQCsetxcqQYs6bo8aPUGnDSKmZFWoFPE35SE+Qey9ijrnE0UyGfSkXzoK7/a0TVWhwSpkLVb9awjFWUQ== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 064oIqzBjqpmmb/qd3DEjbrLvyhPuGFtMDloTk8K9tTfIhqgydS1ld9tzUca1ZUn+mbnvwCQfoD5Cry6D86TuzCDiQj5nZGeylhqaWWsY4rXf3qj121FTx6w4GQc3dii9VuZLTouYK2nE5PcvptnK+PLR0WDzumAMCjrOYwOMX1SdohQRtZxnJ++aMjMP6r+wl+IWBmzwZzgy+X4cxJHV88w2bF5oRuW2XCyiY+3t/T1y0l44YxSlZsfOUnV3qyXKuyzu4RoccrMEU8uQQIW6viu325ArXAKegmvT8DHus5xvtfvVrJsg9jTtW7Es54+XLF31o45fanj/afOkiWyaal8Qg/XPPTf4r7HBY49SPkDrPIQwN6fqFCMONkLzoJla70E/j2frG/DKcQpeAZf1Et1ioSvatIAxQtQ1pqGylVuA/mx4+XESWzxyr0E9/S+4Zeg41J+M03FFQa8U/P0oULVEST3saWEuVtJQ5hwgNNUYsNVB7sGMZxEpyT4RvStRANnlks08SfnPYpxltEY3mQTEo3538pKhOyj5zXLsEX00e1Ou0LRpjYYpEPF19Fq1QXysjTZyMbrZpat1qyb6HOXYujidrwsDiZBhCY3JzO9NhSrwTJWoo5Cz5VZTglfXhMEY0JljMlSgtmF7+VOAQ== X-OriginatorOrg: ford.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2026 19:51:23.2416 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b9c8e0fa-c029-4975-2610-08df402d2a1f X-MS-Exchange-CrossTenant-Id: c990bb7a-51f4-439b-bd36-9c07fb1041c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c990bb7a-51f4-439b-bd36-9c07fb1041c0;Ip=[148.163.138.245];Helo=[mx0b-00498f04.pphosted.com] X-MS-Exchange-CrossTenant-AuthSource: CH2PEPF00000148.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS6PR16MB566951 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfX/Aib7Mh9hKyN olFXL5AgmQ/3jCZDlG71nEIU6e0fqtLPNO6aU0XKi4O2pf/qwxSwNSn5yLzJzyoa1EU40SLbvzB dkWhyhIp8KpqdrjGDdyAlPqx2BEF4FzULfALuJsueScqoRtqJRu0 X-Proofpoint-GUID: 7_FrrMSwE-79-wlH6wfbRTgbjj364VBX X-Authority-Analysis: v=2.4 cv=ZKBCCn7b c=1 sm=1 tr=0 ts=6af4c73f cx=c_pps a=P8hJoqhRnqo/cwUvmyxmUw==:117 a=b7IhknPlfT0FN1EembXvig==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=zJRp6_cAMcgA:10 a=3PXLN80vpJUA:10 a=6NUGLSImWEsA:10 a=w9pew1qAHqMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=P_n1zlmtWsCQbjROFjcg:22 a=YJXg7OVxOWrJwj3yZo-i:22 a=cbNQJ9GKAAAA:8 a=oX6sQOh5f4QriJ02HC0A:9 a=DqJYxgmhk6moR-_7_KoZ:22 a=WmVTiCyuxqgg3mnwYu6p:22 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfXzTTMhSeK+aly hUpo7dfwv0fjZxR0oefWqE6uTllLm9dTIKIbTvQ1GKDKp5P4ZT7GpEyBjYZWlATVYwrxYRqvEzc 6J67JyD/QL2zL1A0RjAv7njPbdKt+6ZjN9bQ3J8Fd+OxIzNudYJ8AII3zfo1XJjMJlYgFnKOyPz 3Z1o4CuYN3SkT46vh5xHsQNJKIsmxNnWh9VBlKe75xZW7xiMxp8mfZyKTgv/Cr+61cbeO7YTkmp DmlbaAOjtR17AifT/Bqa0aA7E35gc5XJVx/zz3KM437Rrw46oBAOpCYJwPaElrhf09xC0HdXukY o2f1wcdi+D5V0+yboqDWVk3cmMbwWdnmpPfJcxUVPni2+viRxOsc+lIiq5xHvyjFVh7UruxL0pn wYkLER9zoLkrMFpicwinh3uXwuYKx7sfS0f3LR7f7fAbtgI81ig8rQ8BxfvnMVxQAcCdXzTrhu3 irwsy/qy1pZH+kIVGcQ== X-Proofpoint-ORIG-GUID: 7_FrrMSwE-79-wlH6wfbRTgbjj364VBX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 impostorscore=0 malwarescore=0 lowpriorityscore=0 spamscore=0 suspectscore=0 bulkscore=0 adultscore=0 phishscore=0 priorityscore=1501 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-purgate-ID: tlsNG-16d1c6/1794426689-F6C7777B-7F78FBE4/0/0 X-purgate-type: clean X-purgate-size: 636 X-ZohoMail-DKIM: pass (identity @ford.com) X-ZM-MESSAGEID: 1794426701988158500 Content-Type: text/plain; charset="utf-8" From: Denis Mukhin Signed-off-by: Denis Mukhin --- arch/x86/include/arch/processor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/include/arch/processor.h b/arch/x86/include/arch/proc= essor.h index 9cf2fe08669f..9db352f18c7c 100644 --- a/arch/x86/include/arch/processor.h +++ b/arch/x86/include/arch/processor.h @@ -190,6 +190,9 @@ #define X86_SEL_GDT 0 #define X86_SEL_LDT X86_SEL_TI =20 +/* Pause for busy-wait loops. */ +#define cpu_relax() asm volatile ( "pause" ::: "memory" ) + #endif /* XTF_X86_PROCESSOR_H */ =20 /* --=20 2.56.0 From nobody Mon Nov 23 22:28:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass(p=reject dis=none) header.from=ford.com ARC-Seal: i=2; a=rsa-sha256; t=1794426717; cv=pass; d=zohomail.com; s=zohoarc; b=FjGm7K256vTVMZnGwIEiQJe2DH4HiYH20ZXtuFFWajSLotiiuYLOkuNhKJIou2+xGXF5aHNW4efwRe9Fb/Fx/BwMx76/BTHIMkxYH4PFzUfaJFvQC4XWigH03h4hNsg+xQmeRXas2gx1drQDub05JDHFVbTV4ImIxcLED1e0CbY= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794426717; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=Wp4pgvmicn5rS7W+LOf218M2zwWa7DzUvgtz3aMSVfk=; b=eghautQ6dHR8BprqS7ARh6/rDMIFDHZqriffDcrxX5ULvl+7pw03nOI0p4ucN0rb1exH4994WxXec0Du9nAK2Y5+zLSYTS3H/yzlStU2rKK4zUH6lZNJlEcziGXyMhtXWuHyGqXV51sJpf5Ynnzn3c19La0kIx/GnRBztGEBAVc= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1794426717051245.9647904331655; Wed, 11 Nov 2026 11:51:57 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1484934.1688307 (Exim 4.92) (envelope-from ) id 1xREM8-0004yh-De; Wed, 11 Nov 2026 19:51:40 +0000 Received: by outflank-mailman (output) from mailman id 1484934.1688307; Wed, 11 Nov 2026 19:51:40 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xREM8-0004yX-89; Wed, 11 Nov 2026 19:51:40 +0000 Received: by outflank-mailman (input) for mailman id 1484934; Wed, 11 Nov 2026 19:51:38 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xREM6-0004gg-A0 for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 19:51:38 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xREM5-00AWH1-Ml for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 20:51:37 +0100 Received: from [10.42.69.8] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6af4c746-8faa-0a2a0a5109dd-0a2a4508b67a-14 for ; Wed, 11 Nov 2026 20:51:37 +0100 Received: from [148.163.146.23] (helo=mx0a-00498f03.pphosted.com) by tlsNG-c1860d.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6af4c747-f659-0a2a45080019-94a39217457c-3 for ; Wed, 11 Nov 2026 20:51:37 +0100 Received: from pps.filterd (m0384718.ppops.net [127.0.0.1]) by mx0a-00498f03.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIYerD2313378 for ; Wed, 11 Nov 2026 19:51:35 GMT Received: from sn4pr2101cu001.outbound.protection.outlook.com (mail-southcentralusazon11012023.outbound.protection.outlook.com [40.93.195.23]) by mx0a-00498f03.pphosted.com (PPS) with ESMTPS id 4hvuucsrry-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 11 Nov 2026 19:51:35 +0000 (GMT) Received: from BY5PR03CA0007.namprd03.prod.outlook.com (2603:10b6:a03:1e0::17) by PH0PR16MB4830.namprd16.prod.outlook.com (2603:10b6:510:148::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.8; Wed, 11 Nov 2026 19:51:28 +0000 Received: from CO1PEPF00018864.namprd03.prod.outlook.com (2603:10b6:a03:1e0:cafe::19) by BY5PR03CA0007.outlook.office365.com (2603:10b6:a03:1e0::17) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.8 via Frontend Transport; Wed, 11 Nov 2026 19:51:26 +0000 Received: from mx0a-00498f04.pphosted.com (205.220.161.53) by CO1PEPF00018864.mail.protection.outlook.com (10.167.249.152) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 11 Nov 2026 19:51:26 +0000 Received: from pps.filterd (m0426317.ppops.net [127.0.0.1]) by mx0a-00498f04.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIZIVu196224 for ; Wed, 11 Nov 2026 14:51:25 -0500 Received: from smtp-us.ser.proofpoint.com (pmta-usw.ser.proofpoint.com [34.209.42.160]) by mx0a-00498f04.pphosted.com (PPS) with ESMTPS id 4htkxw564x-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Nov 2026 14:51:25 -0500 (EST) Received: from localhost ([19.12.92.221]) by cmsmtp with ESMTPSA id RELqxf7ijF9Y3RELrxzAzh; Wed, 11 Nov 2026 19:51:25 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=ppford; bh=Wp4 pgvmicn5rS7W+LOf218M2zwWa7DzUvgtz3aMSVfk=; b=t727ZOW/Bqn1pfNLc7T xoDFYgkD/g0dn269wvRu9N4sxIcpjwhi7EVfJ9pSNjudWTLtH6dvN9EkluPcNGsG 31KNZs6+HbffPkWm+rsDm7xISb8akxVfV5y7jU+oNY8zf70xLioqIxf+yTlYAfmk 0nsnOh07VWdQ+3e1Yi/dYcqNB50CAVWxsyrJGUhLf10Je4WoIWxorerkzSud/XGv LV28fdx30RonhjC+6UL2uWtH3upiX5dPvi/6QJTLjKhio/4O7wqIRiESe2s9Ou/C QJDc/WI1jJhCyr47t1ysVAzqcCaApLz9jjCqHb8vzttZQBkGUXRS7dUZCTIV/YC6 DxA== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=CIUhJIFdQ47WMONhCGCuZMxMvoZOKhwS6OSai/35uCgIQC3rJvjAlrSsddrL574Ak2iKt+XzU7DW6EAhPVkhC93mlZO8O2YmAl0kkk/v5QFbWWPVaEWsvKFTe41WB9mHPm0FycSSlo7pecEEBIvVm583r9OwmaVMjYNSKuSvRMrxmIjNKmgtCludImyZ/F6ASb4JfH++H/TUx7hnfk1CLczPJLmGnNaCdtfolWnD8O0ynAQucvg5wNEjdqT0crCiPU3V8ZSpLG7Btiaqe3CEFcE5MdRS7bWD4Y6zLq+g7wFe9ZWmI0B74LcaPDfPIlDOvSx+p5RODYyoT0Sf22fFGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=Wp4pgvmicn5rS7W+LOf218M2zwWa7DzUvgtz3aMSVfk=; b=BwpH5Kf6qz1oAeQffhrO+XTsHQdBxZ0d6jDoJO4MsF6yrS2o9CkD18npnVX9EBpy+i4RAeaikUi7jZjIcXFLO0JlcXqHy2qjQhRWJXqpaLuVn1ZqnGkApiPLqCMdfMcVVWIZkMtJV6JrHeA3brldoLACfG6tETrl0QA/fcbtW6/2pAelQ+BfJ91RZm9uEVePpgROi75cH1bpB3p2DPlaoTdjTXxUtaRRon50EVBKY6DkGCO05qEbqvZDm41+VtsU1rw9wjHg2eSMrd0nEMPyticxr4uLe6skm+dVs/JnO7BNLLeIdW1lrLWfZBM+xQMb4ZctItf5TECil/MnxPtx0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 205.220.161.53) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azureford.onmicrosoft.com; s=selector2-azureford-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Wp4pgvmicn5rS7W+LOf218M2zwWa7DzUvgtz3aMSVfk=; b=PZQEuGXWDGlS2336ad91O6mCdkI3Nc1rcnsViL5VO6XuTuZZ+rIY9HBwZ7F5PC4GAJazJIqYzUNIRJlxoaDEJpx5HvLfmeeYdjUZOOUkgqEZw1xOD522NjvY8qqRIkfk5TmSYCPUMovOqT1XZTHP3Kr1vhayWZAQtG4JY7i757k= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 205.220.161.53) smtp.mailfrom=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com;dkim=pass (signature was verified) header.d=ford.com;dmarc=pass action=none header.from=ford.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of ford.com designates 205.220.161.53 as permitted sender) receiver=protection.outlook.com; client-ip=205.220.161.53; helo=mx0a-00498f04.pphosted.com; pr=C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= saarlouis.ford.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= ppserprodsaar; bh=Wp4pgvmicn5rS7W+LOf218M2zwWa7DzUvgtz3aMSVfk=; b= Nyp+wNHVWzSJwgm5NdlolByROU082PwkD4YeQV1G7W9MakgbjvZKrg/LgIP9l7Vh omnPkcPepV6ITzSX2OcCgYJCkGn1fYf+f0Sw5BI+T/UBZ6yCYT9OfsV1p2btdndv AngnwXDyImbqCoSs3vOAgN8g+HrgP/jADJIG24ve5wY1/Zk5b3McsVtyvxGXvQu1 SfV/IrH4lhG97/mBBffX0X6nvELluNkOj57In+GKaHoBcY90wtqmXuukzP6KdHJF lrPzACo8B6q0zh4Na3a9vm0jccNxcnr3QltbjsMZp06ai6g0vKynk9/uxLoFEiDG 3SlhyjBSVIFgU8U/nulcBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=ppfserpocford; bh=Wp4pgvm icn5rS7W+LOf218M2zwWa7DzUvgtz3aMSVfk=; b=aj+mxfCiCgvu4QHx6UhUrsX czFnxacFQozToDrah2gpGMJSKtRsdmjPWETv6313+iitPUzUCAKcp6Cj1FJrGmhW Ro6JYSAFqNaumsXunhs1qp+sWNRDK19GyMTkK+ktmENEzIZBf2HudWS1bzvGFy02 EUiEEazSGfM14aLOTecfwUfcxcF1s9+pH0sGYF24s9qcnNcsEGHLSYxc1jMLCUfR 6W/G9oGHUVsm9OOuQL6/UhnJtcWQEv4i45UckWFF5JcZ3JRXAuhUgJ1KCjvlSVpF DMrR3YZk+TpKmJdKnVDghMrblUoGhknNVgzBo15WAAAG7TB7bdAK0laYArY4fJA= = X-Mailer: SER-76bead168636dc6ed1c9e51ce4dea80dbdd4163750742b614a4d871e565792b7 X-Cloudmark-MID: RELqxf7ijF9Y3RELrxzAzh X-Proofpoint-CID: eb09f7eb-2dc2-34ab-a188-7b293c1db1fe From: dmukhin@ford.com To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger@xenproject.org, sstabellini@kernel.org, dmukhin@xen.org, Denis Mukhin Subject: [XTF PATCH v1 3/6] x86: isolate FEP in setup_fep() Date: Wed, 11 Nov 2026 11:51:06 -0800 Message-ID: <20261111195109.1070169-4-dmukhin@ford.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261111195109.1070169-1-dmukhin@ford.com> References: <20261111195109.1070169-1-dmukhin@ford.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable PSER-M365-App: SER-APP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 bulkscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 phishscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF00018864:EE_|PH0PR16MB4830:EE_ X-MS-Office365-Filtering-Correlation-Id: ed3cf724-19cd-44b1-17ef-08df402d2bff X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700016|82310400026|23010399003|376014|22082099003|18002099003|6133799003|261009223027099003|3023799007|11063799006|56012099006|261028144727099003|261102123227099003|261026140227099003|261026121527099003|261021121427099003|261022105027099003|261022075727099003|261021123027099003|10067099003; X-Microsoft-Antispam-Message-Info: uc/haAcnVjyvOh2nPtSHsmE1KAMiXGBXiL2pmtb+wVmaryIzBwyehK/ver4s4s6cSrIslM7Pi2vuGnBYJRWHXv5O/MKbDkhvUUpuBGO7kC1JqbGgVR493PsxYjcBcbY7szJmdFBcs8LJtW3ySBwu4UdFrtbHdUv9VYPntfNfcYZvYpgOR1u4o4093F+SBCo/WypQefvjE/wWxANBRUp2u5D4Z/xYYUPuTYlwV7udrEnoTyMrjqxNzpJ8oUJAPnELuFPL7qlZ6l1G0rUiAbO2C6I3P6yey8cxPOg689uYUVQfNvI8RBGdEqQA4Q+oCBS4mWtUa2w3a3DCWLqT+zjU/ToNT1ZUPGhjtGSckw+qg7TTduMHrUZypOxyo2gJ4o/LB5tMOhX6Ummpj30V6OY3GXPEYkmblz8YNjrqdq+0sxACroL3wFpM9q6gTwW9eevvrNpLOCnUvR7l0Db4uiGc8R+wK/uipcbem54S7w+rDdr0a6FrE4yLvrUsejciuqTDP6Hzd38SCiBVqxrYVI3ee/H/smFKd0fATHiuuFcROARFw0jPy1xthw/iJpq/xaR3UyNxiP/agBW7Ax9ZvnkyhZzXnxwsEzrmCohmEQ+ukf/cgn9AQSfrKtMHY9Gr0IvBvnBrNB1uskLWdQewyfj0/xJo7P3xpx91U1y7t8S5HZK0TfDzpghZpF3E4jccEwm3S27aa4Z8RtywCPRbUyK7jw== X-Forefront-Antispam-Report: CIP:205.220.161.53;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mx0a-00498f04.pphosted.com;PTR:mx0a-00498f04.pphosted.com;CAT:NONE;SFS:(13230040)(1800799024)(36860700016)(82310400026)(23010399003)(376014)(22082099003)(18002099003)(6133799003)(261009223027099003)(3023799007)(11063799006)(56012099006)(261028144727099003)(261102123227099003)(261026140227099003)(261026121527099003)(261021121427099003)(261022105027099003)(261022075727099003)(261021123027099003)(10067099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 3n5kUCZU/BQedGAx6jqC/372cGgUR+0kU/UD2A+dsfKJQhTtPJMWKuAUhQ6ZoSifLMBumqLMG1bJYT6L8frZ6dApB62I1QT9ihwKapI9YLYVuMPowHQD9z/NCe+ElCmk+XyK3K2IZOh+mz42olVrBaEiRBYJjJu6Uz2sYePxdpEgCW7yydu4voihOGc901T6qNctk7OVUMY4F2UaKh0idir29Nr0rgbUb25mqq89ycLX/OtHn98tmtuwV5w0fQU/Wu2UH6xVQs0CCf1lNRweeH0hH/1CxrlxNAL24+i2Y4J8vTQiprSmkrJONelOFhLWv2kGpklb8J5OO7ba56Swtd20W8lyKXByqNDR8vpiE3rwMtnLPw+bHONNYjoryLf+B6PLEVGOVV8YEWpTUbbLA4Hmhsdm+tVajrCTwRQMv+09oK1baSpeYCy+7Tp+5AO8 X-Exchange-RoutingPolicyChecked: 0fDXwJKii5X6VIhZKVjkb8C0Sku59U+xsUIvxHedX8bzAVlPoL7SSIIGTpSkW6UVGUZ+UtIFvn5N5qJrZblQu7PF2svNfnjKe4d7rts6CsCAj6PDFa0rYI1L0VexpQJzvgsJUNZVKI/Kn4x/ZZOUsGWFMXjeZQSps5fS+aKG69mZT2IHgZonA6smofue7hb2Xf27wQGXyXnjuhL+QC+MsLqtVBO08wD6ij9bXO1SIPpTiIzDPLTdjAuitZQ8rA38F17gNPxJBfADAgCdcKlpuSLC7jAEyfWWTy7l9HHHkY7oEB3pptH5peC54sU0d6IK+DBhvZGDblAoKXVp0o669Q== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: al4LSxZw0gpV51/ZYGKCOU3N5KAcwImLqH8k+gZ89mLN4So+DP7Znbw9lk+1qMkkcG609Cn0kDaFo5vRaQ3O13b+fNja/BcpWP3OlEj9QrIlneDC/1VaoI7Nay5ghCANOoQsRZu2cQEjaIEamWIoTCQvOO/0l30uyTlG/XBcHjf+cGh4iTXSLnOUEsuSgWVPooCoGhWya1vLIvev2cHDEHed0HvrB0uTBTrdjyT6SLV2U9nGTGg7yl/SRgqliqabEAnOfUMm2ClvXRTua9DnwI/YV7UR686HxPuw6oWQWR8U7ySg99G0zUORmySPBjvXXbmObw1OnzherxSgw2v9ZNYjv3Pv/OpK6nMJqOZTiCgp4PZIWyPJ3p+OjlKx6Gm5vcgSTJWJIYpIpoyTRNmoxxAtB+jW2e/1MVZVb1PjBPSyv5z+I0F5xv0NFguypgt1olxwSzMJBfVuKJUXQO7FNujeTgjmJV8YjW/XHdC6zAViHyw5bJioTcU2taTNZM7gw8r4BHaYuNdb+7+HsYs+qCavU6uHt6gkHBcrOwVdEAVj/MnSSDTkWgorx194A40NDNcY70QK8jEpcYzSsBCDQNUZkJmuRFpf1OIaXZYMNHrNDQq6JyM3Ln+YexD79USpF/WjsIdbRvd4d77n3l3sUw== X-OriginatorOrg: ford.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2026 19:51:26.4397 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ed3cf724-19cd-44b1-17ef-08df402d2bff X-MS-Exchange-CrossTenant-Id: c990bb7a-51f4-439b-bd36-9c07fb1041c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c990bb7a-51f4-439b-bd36-9c07fb1041c0;Ip=[205.220.161.53];Helo=[mx0a-00498f04.pphosted.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF00018864.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR16MB4830 X-Authority-Analysis: v=2.4 cv=YO0KWhGx c=1 sm=1 tr=0 ts=6af4c747 cx=c_pps a=CfFGriBY15yWSKnMtEY+og==:117 a=lOEMawUel/sSvQipkIvNbg==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=zJRp6_cAMcgA:10 a=3PXLN80vpJUA:10 a=6NUGLSImWEsA:10 a=w9pew1qAHqMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=P_n1zlmtWsCQbjROFjcg:22 a=ARvDHhclS48edyKYUbLB:22 a=cbNQJ9GKAAAA:8 a=ObMOV3ej4XRLPq6fSaIA:9 a=P0bj-C3X3jJDpopQwM1U:22 a=WmVTiCyuxqgg3mnwYu6p:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfX0J06yXKb3/5K M7ne1p3gzoVKUzTX6hy+bNhq0o2c0Cy8+Iv37LgamtNE4mvnFq20pCZjY6GQq4z5riD7HXnO3eK yXjPkJJmcOuLDZ888xUGUoOg2zj5IsuLQ38XGot3b9j/plv8hz4G X-Proofpoint-GUID: coT4F-k8wFOu6luFw4_ljv9olPMi0IuN X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfX2gvGIF2vNT/K gu2kKM+l/XeFbjWBPEUnIt3jhx+Z/YOQwGdpr7+K0xUz9aaDahUznHouMgQfCB22+vDnaya60/k Y/eG81JjKUp3NYYJO/8ARKn7vf43RYK1lnN140tnG9p/NaMD4tGZn01zES7UDRsYpWv/dh8oAEn mAzfiOJoFDs6xfhwIye1Sm8SYQKJE7Hi3hbGGjZ9siUvLZXESZDapMxXms0uKr62+yVcAg0HCNF DE7bmnEEfuJtIZlJDKT0n5RlWrAeNHBb+abr2qXs6MJ0hmtjSYRYhE6koLN7/UdbAxVu17lXVkC ZH4BAKBLyvbJmMRBGVyYEnwmYMwLIF2KtihwpdSlJUZSYW7N5VHsS3w+s3+LxMA/B9VzdoLQ+sa zO3O85yZl9bV4c6saTDrdyMlojLO45Aa3bC843+JtSA5My4S3w3WjxtBE20x7q+U3FrPDTKGtho pcbK03FzeNfsgOD2CfA== X-Proofpoint-ORIG-GUID: coT4F-k8wFOu6luFw4_ljv9olPMi0IuN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 lowpriorityscore=0 clxscore=1015 malwarescore=0 bulkscore=0 adultscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 spamscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-purgate-ID: tlsNG-c1860d/1794426697-DFAD487B-579875C1/0/0 X-purgate-type: clean X-purgate-size: 3345 X-ZohoMail-DKIM: pass (identity @ford.com) X-ZM-MESSAGEID: 1794426718113158500 Content-Type: text/plain; charset="utf-8" From: Denis Mukhin Keep weak symbol test_setup() for per-test definition. Isolate FEP into a new setup_fep() call which is executed on a common x86 path. Signed-off-by: Denis Mukhin --- arch/x86/setup.c | 80 +++++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 39 deletions(-) diff --git a/arch/x86/setup.c b/arch/x86/setup.c index ba6f9c320843..8fea6495de1c 100644 --- a/arch/x86/setup.c +++ b/arch/x86/setup.c @@ -253,6 +253,45 @@ static void xen_console_write(const char *buf, size_t = len) hypercall_console_write(buf, len); } =20 +/* + * Common test setup: + * + * xtf_has_* indicates the availabiliy of options which require runtime + * detection. + */ +bool xtf_has_fep =3D false; + +/* + * Default weak settings. + * + * test_wants_* indicates default settings for the framework, which may be + * overridden by individual tests by providing non-weak variables. + * + * test_needs_* indicates options required by the test, without which the = test + * isn't worth running. + */ +bool __weak test_needs_fep =3D false; + +static void setup_fep(void) +{ + /* + * Attempt to use the forced emulation prefix to set the value of + * xtf_has_fep to the value of 1. Use the exception table to compensa= te + * for the #UD exception if FEP is not available. + */ + asm volatile ("1:" _ASM_XEN_FEP "mov $1, %[fep];" + "2:" + _ASM_EXTABLE(1b, 2b) + : [fep] "=3Dq" (xtf_has_fep) + : "0" (false)); + + if ( test_needs_fep && !xtf_has_fep ) + { + printk("FEP unavailable, but needed by test. (Is Xen support\n"); + return xtf_skip("compiled in, and booted with 'hvm_fep'?)\n"); + } +} + void arch_setup(void) { if ( IS_DEFINED(CONFIG_HVM) && !pvh_start_info ) @@ -275,6 +314,8 @@ void arch_setup(void) } =20 map_shared_info(); + + setup_fep(); } =20 int arch_get_domid(void) @@ -293,45 +334,6 @@ int arch_get_domid(void) return -1; } =20 -/* - * Common test setup: - * - * xtf_has_* indicates the availabiliy of options which require runtime - * detection. - */ -bool xtf_has_fep =3D false; - -/* - * Default weak settings. - * - * test_wants_* indicates default settings for the framework, which may be - * overridden by individual tests by providing non-weak variables. - * - * test_needs_* indicates options required by the test, without which the = test - * isn't worth running. - */ -bool __weak test_needs_fep =3D false; - -void test_setup(void) -{ - /* - * Attempt to use the forced emulation prefix to set the value of - * xtf_has_fep to the value of 1. Use the exception table to compensa= te - * for the #UD exception if FEP is not available. - */ - asm volatile ("1:" _ASM_XEN_FEP "mov $1, %[fep];" - "2:" - _ASM_EXTABLE(1b, 2b) - : [fep] "=3Dq" (xtf_has_fep) - : "0" (false)); - - if ( test_needs_fep && !xtf_has_fep ) - { - printk("FEP unavailable, but needed by test. (Is Xen support\n"); - return xtf_skip("compiled in, and booted with 'hvm_fep'?)\n"); - } -} - /* * Local variables: * mode: C --=20 2.56.0 From nobody Mon Nov 23 22:28:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass(p=reject dis=none) header.from=ford.com ARC-Seal: i=2; a=rsa-sha256; t=1794426717; cv=pass; d=zohomail.com; s=zohoarc; b=TavZ5cKWUqlF5IVPVuHsawzSmc/niMk1cAy17dbbBURiG6ofcHF9jqnNk21R1psKFniM3P6zufR4lH+XQJVf0FybP/Q6+OFCa/mw7L9YbFCBmyf4OsHO89+YgG1skV/6cMFbw9iUclZs8Q/sFXhm9caNaMg3wlikw/YDVcJWJ9s= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794426717; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=iolFKRKhXaBACatoryQ7JhP2ESvytQ9xsNhX+W0kYeY=; b=TmK2H2hXNQzLWY0JuT9np6DZaT719WUGmBlz6eygCvVGfGXvEj1qKsfJx0PuQ+Vp/V0KjKS0H07/nsp88i2Sdm4C1W6AkMpt9TpdBvRrPu7lCIy2XwQKM3XPlTTqgxqgY7yT4jNupZ0ZNs7ghMjYm/SbY+6+KSkZQ9FGy/QEFYA= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1794426717829156.07341174812336; Wed, 11 Nov 2026 11:51:57 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1484932.1688298 (Exim 4.92) (envelope-from ) id 1xREM6-0004gY-4G; Wed, 11 Nov 2026 19:51:38 +0000 Received: by outflank-mailman (output) from mailman id 1484932.1688298; Wed, 11 Nov 2026 19:51:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xREM6-0004gO-1F; Wed, 11 Nov 2026 19:51:38 +0000 Received: by outflank-mailman (input) for mailman id 1484932; Wed, 11 Nov 2026 19:51:36 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xREM4-0004eM-Is for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 19:51:36 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xREM3-001WVa-VM for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 20:51:35 +0100 Received: from [10.42.69.6] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6af4c73a-2eae-0a2a0a5409dd-0a2a45068760-14 for ; Wed, 11 Nov 2026 20:51:35 +0100 Received: from [148.163.143.241] (helo=mx0b-00498f03.pphosted.com) by tlsNG-16d1c6.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6af4c746-195a-0a2a45060019-94a38ff19fc6-3 for ; Wed, 11 Nov 2026 20:51:35 +0100 Received: from pps.filterd (m0367129.ppops.net [127.0.0.1]) by mx0b-00498f03.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIYWit2293537 for ; Wed, 11 Nov 2026 19:51:34 GMT Received: from bn1pr04cu002.outbound.protection.outlook.com (mail-eastus2azon11010046.outbound.protection.outlook.com [52.101.56.46]) by mx0b-00498f03.pphosted.com (PPS) with ESMTPS id 4hvuayj4cn-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 11 Nov 2026 19:51:34 +0000 (GMT) Received: from BYAPR21CA0008.namprd21.prod.outlook.com (2603:10b6:a03:114::18) by LV0PR16MB7138.namprd16.prod.outlook.com (2603:10b6:408:32b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.9; Wed, 11 Nov 2026 19:51:30 +0000 Received: from CO1PEPF00018863.namprd03.prod.outlook.com (2603:10b6:a03:114:cafe::1a) by BYAPR21CA0008.outlook.office365.com (2603:10b6:a03:114::18) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.639.0 via Frontend Transport; Wed, 11 Nov 2026 19:51:30 +0000 Received: from mx0a-00498f04.pphosted.com (205.220.161.53) by CO1PEPF00018863.mail.protection.outlook.com (10.167.249.148) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 11 Nov 2026 19:51:29 +0000 Received: from pps.filterd (m0373460.ppops.net [127.0.0.1]) by mx0a-00498f04.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIZYJW3211161 for ; Wed, 11 Nov 2026 14:51:29 -0500 Received: from smtp-us.ser.proofpoint.com (pmta-usw.ser.proofpoint.com [50.112.124.217]) by mx0a-00498f04.pphosted.com (PPS) with ESMTPS id 4htnr353aj-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Nov 2026 14:51:29 -0500 (EST) Received: from localhost ([19.12.92.222]) by cmsmtp with ESMTPSA id RELtxFcRtVfAbRELuxwVBC; Wed, 11 Nov 2026 19:51:28 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=ppford; bh=iol FKRKhXaBACatoryQ7JhP2ESvytQ9xsNhX+W0kYeY=; b=mZZEBEXJpioIPFw11r9 /rszRl7AQIbMPZYDHTvmsgbMTaV+Sxv9pKEUg4Y7PcCDBHNrN+I6dIbnrIGYv1MS q/QvhSUjbleLMmMNJvoPtAaorGNVvuM8MvwXZXTB7GC1ow1ysZ/VbJq3TWFcmHj7 XV7S/SuL8ln/u0kAegTEcPT0zTxDjSfM7CD4vYHGTt/B14APnFTgbxR3z5Bjzedj V7HKrXcaP6wKTBCGMG8XK7uJ0oOCOtE7tpGq8xiLszx/pv7efN4uSuLoDPP2ATNa 5g3ZvRWrbPS5XvonmWkfbXgd9VSZN+wcynqFKVOyhbgkcCQtC0cynlprkVpCfaDV A1Q== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ScgIUwK3rVHKYZVF5Gs7ayLEjv9OtqT4dCf79vh7c4aj+Rj+PgLOl7ojR1Atscaaihas/kgPcMcDKxnJWt2vkxOyqAEHc7JRioOxcK3pXf08bAi1gEYkY1lgzPQo6VEnkTKq5Zr9qzQjOyaZslijn8FAcTJVgrr2ISKdOnNZ9Kxq4he4Qq08ua8CD3NVCoNfwUgDfGav4OTU8rHPfoxEHfJxfcNXz8mohW0Ksh1L36/8r/eaDg6nRcmX1rEOyqAJVTxjhpwa5ColKG/Mr6DTL5k9IvwUpRYCUPvbfhlkTbYfaSkKcfIO4pa/qpYeFRt3cYrQ9TI5CziJsPPK2+ipsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=iolFKRKhXaBACatoryQ7JhP2ESvytQ9xsNhX+W0kYeY=; b=Ovh2UAZn3Q593bvHO5kdn/e6ymtbVC4HIgNZK0J8z+r3K4RfDJUGx5tvbMpgV1oMSCDc9I2x8l85zaXwt6EA6n0ohL2CTLhZsJtx9Ul94w5J3QF34dE2dpas2P9nIDrWPw+h4iJrY4Q/8/50xMZBewYYf/K5/82NGItu/fUZf5Uv7W2f9pw5hDgcHTM3byiUk+6aE22fMIf8cljol4FM/Drm8MfMdLaFnkPvXG7YNHjUzQVszyAbBkn+iZwXCBnYHa5i0JEpsNKM4KRprjH2d8xRisS8OgsiObVbp8cn21gWCd6+wTsdfvhkt/TYJspqw1J+9fZhcSWadNQjsp489A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 205.220.161.53) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azureford.onmicrosoft.com; s=selector2-azureford-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=iolFKRKhXaBACatoryQ7JhP2ESvytQ9xsNhX+W0kYeY=; b=AXA9IqvzjTRdr5zUckYJ6OXcXIoeUlwP/sIhlJ/Jciw6F5KvYNlmM3MsWxu9eiWW8au+BJqt31/ce+0ot4O634GfIVVbqgz1UDbflFKZ73OyrbMS9vTWRs/m3PCW5+f9mIBrYuHHKRLZNu3ECg41DAK6327pwYTsZ8NBF6IGDcc= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 205.220.161.53) smtp.mailfrom=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com;dkim=pass (signature was verified) header.d=ford.com;dmarc=pass action=none header.from=ford.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of ford.com designates 205.220.161.53 as permitted sender) receiver=protection.outlook.com; client-ip=205.220.161.53; helo=mx0a-00498f04.pphosted.com; pr=C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= saarlouis.ford.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= ppserprodsaar; bh=iolFKRKhXaBACatoryQ7JhP2ESvytQ9xsNhX+W0kYeY=; b= ny2/Ae/5p+BBOPLShqZxQLrCBb0v4eialuSL2+0zDaOJCP04LXa/RpaT45DT+U4P Z9aWv0OKLUF1nq4iLudmxqHicEingB4XLFYfj51+h0OylRb095gfSieGZ+IJbcos iwO4KfLIXfzK1/tgElzzic1TH1bN7g8MhmoRuZ4iMR8Hcxj6iVTyPW/ksZh88IkF oBhiP4bKQbexxVlT8FIJQtAjVHuRXf19Wj5zg9zhDxIw3u2k8zv73QcNWAe/btIT Q3bt/Lqf5J5mvvP+lrtKdkLOouSOpOY0SyDz9wRt/ywURUYyF7XuZk9gb67brcug +oIQzaT8ekEstyw//kHdzQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=ppfserpocford; bh=iolFKRK hXaBACatoryQ7JhP2ESvytQ9xsNhX+W0kYeY=; b=PSn9ANwt25cFJQYSVAzRmSd vnDkFs8kNXibeUDfHowo3ya/adwBWOjsfCI+SubqODKdG1kBCQiy0YirATsu9KzT mwzoH+qJt4ali7uRvmA7vSILRxggS3eDkvR/FDdAo6q4sfIr/L4/yxJfEyp6Z5Ss C9bjSjo7qolXH0dq/XQbxPaHAj8rtW/ENHbDBF3lfWuTbp/J/0CPWisefLa1j4ca tQr+X7dW71IxitUIszJ4B3tEeL794G9KF/MUthhxckJF9WvLyj2vE7NbFlal6EDu FDTNwU2ukYaL/rTNbF3tKerptsala1Mvqs5S3NNkWyL3+tV6gSq28Y1v8B8C1bA= = X-Mailer: SER-76bead168636dc6ed1c9e51ce4dea80dbdd4163750742b614a4d871e565792b7 X-Cloudmark-MID: RELtxFcRtVfAbRELuxwVBC X-Proofpoint-CID: eb09f7eb-2dc2-34ab-a188-7b293c1db1fe From: dmukhin@ford.com To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger@xenproject.org, sstabellini@kernel.org, dmukhin@xen.org, Denis Mukhin Subject: [XTF PATCH v1 4/6] x86: skip registering unavailable Xen console Date: Wed, 11 Nov 2026 11:51:07 -0800 Message-ID: <20261111195109.1070169-5-dmukhin@ford.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261111195109.1070169-1-dmukhin@ford.com> References: <20261111195109.1070169-1-dmukhin@ford.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable PSER-M365-App: SER-APP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 phishscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF00018863:EE_|LV0PR16MB7138:EE_ X-MS-Office365-Filtering-Correlation-Id: 1726b89f-dca4-4dcb-1f0b-08df402d2e09 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|36860700016|82310400026|23010399003|376014|261102123227099003|261028144727099003|10067099003|261009223027099003|261026121527099003|261026140227099003|11063799006|261021121427099003|261022105027099003|261021123027099003|18002099003|22082099003|56012099006; X-Microsoft-Antispam-Message-Info: oy5gDNizea4ybbQF75aOU3WZBEMF/h7wnB+6M770XjU/HtGsHC1duGdUfMkL/5vlNjEqUxd8vaNPK/z7V7cEJwUQdFabV4xV67HLSAiK1rQUQzI6Jt0q0RV6Y8W/4O9kufj6WY6aq0bLUVfcOWEwHreDTy2XS1nF6N8qwR+4TxYvbda1OteSFOsWQgs4pPu8u4zZFV8q2w9BJ8bxNADbyq3M9gGfCKQ0880azX/lALXOa7BoOEtrJCvhOH/XKessiYJyIKbyCog2iWJUozp4m8bpl9vRvzdG3LnJt9AICBp7rlDHhb0mdr2LteRjE+zhOboZwv7t61jHPsCIGY4jmk4AE2jnhPnmEbEx6r59o5bFeYgcHJgXbqTRSxJWPPBp/C2U5ckSAt9CAgJCVtZv8ZQHB9ordw+12jg549hCghW4K6OJanUOQva5MRt/C7al7xnKjn2b9K5f5r6wywXmwjo1jPcQ2NouctfGRKcjuyRjneCpc7PQhROtKFtNOeZu/WlXGaBhiadNQZY/UakMYtLo/MqLHizHtVfTSw13mCWyanFamNLJ2JZrwdTE4xG51abKUnJoij3oITn1x2ISjc3259PrEKBzStXj7/rFtJqwENrSeXw450fztFAZOSc9Ra+ltOuh3QxBX564j00Vewin2bgFbdO06swRZu2pgdiPO7RdQHlK0nccz2ef+HiPQ8QBl0kS42qlbsaK0WTZkg== X-Forefront-Antispam-Report: CIP:205.220.161.53;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mx0a-00498f04.pphosted.com;PTR:mx0a-00498f04.pphosted.com;CAT:NONE;SFS:(13230040)(1800799024)(36860700016)(82310400026)(23010399003)(376014)(261102123227099003)(261028144727099003)(10067099003)(261009223027099003)(261026121527099003)(261026140227099003)(11063799006)(261021121427099003)(261022105027099003)(261021123027099003)(18002099003)(22082099003)(56012099006);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /WCR685ZELVvp7qyFAFM+yYSH7wJPhFqniTgM1jFTQh2BM4WIxKo7rHA1Ki4bNmnl7UMwFGT2joRByP15R2MqlZtCFR8YxlexEoXmNrCcA2lWvKRHehsR+feoeRU99vZuHFeAVyG0kWRTWMplvpgSDsQiUzI+T0Qu7Qy6qiRHCLoC5m9j4x50uhI/yLdn8XW7PEAHeGm291caeXU0cyEZqSBCa/tju2bCnC2h5JGRwoFRGcnaZr4JL7jH79jFF0nzq9c6ZDHVZFTKKPx4iCOy3+Bz/aBRdQnsG35PZJj4aIsPH9/Z/xH8jbE7xaXL+HSg9UgTBHuYtOIURalVl/r2Fju8X4/lNkPBBI3PY1eyMXSXdsEr0NAfJhFIC852D2wPOKweA8kcBV7iH+y2EBq8w48LIHn5AGn5niTM76qzN/M7UiHTMva/BcEI1JjDKon X-Exchange-RoutingPolicyChecked: oBfhaLjHw8CfghzF+OJyiQ7XU2ngEI4sbdjHvQYTrAneC79ragIGUnowLDAVB9GAkc30r2EsT9gChp1EU1cunBqn2wFnynjKBRySzlPEnjak0kHP5K3UwvcpxeB3RH2/uBlgBByv6zh9StFUU3PW/yYMr7TPyT4laPpA9Pbszn3kacHyHGFuBIxHrsdE5BtrCF68KB9WMANkGfSEptgePc75SOKi1m2L3hFiL8S2gKhcRTghYgOpNeC+lzrfb0RMz6ehiayQXIltf71Zyxu4IRrXnOh5cuUorVL7uJWWK6RHzdnD4yn22zEByxJofDPNO+Wcbpb5E7iZYlPobttSRA== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: TFVdQzA/YqA2LV+jlz69BBmU4dRTtohQ126F1q4fsBLe+r8jFvUxsRY+OVFMoyrdLL2XT6cav3TrgjVH8mRVG6qBfxPGTAVjB3A6vgUfxktffXxV/NDWA69/siehUg2fd+eI/InhKIlHOGTZRP2irUGcmj2gWQnx3lGfCVGcMezpe9HdZWxS2nvkd2GZuMHribtWOGIslBziIt9V9d731TRMiZawH7vEm+i+4d3lQO274WAJsOoipBLJvSelFKOHhzuus7vYiX3F+0fND9husGnlppcgvZ2EiG3EcUivcEpoxBRSBs/+TeYiasqWSf1FAQSxlhF5Umbg39vAM0eVWnEPGpExRVvJlzg92SorbVHYcysfIoSUeBeBXrZzmZ5tFWAmb7WZzNRcTNsYeLasmoG41wZajEqylEPmUOfLQ7H74IlT0IeIYHhABndFFd9K7ZLgYk/CCKGxAHyx34deS5Al/AumqKMzCDICheN2PgOf0EBmg2L8ZewakbgrjOrbbBri5dS7ZjFOzPB2JnbSUbpJR+QVG4LRajLWbn3ADG7OxJPn9USB/E69r0pga5wwVyXmUsPwFxzNotxw3bTq78glWsS5j0EmKbDUYR8Z83pvSRcDldKaFoeIjmhmOvhSmbdUqgHPtwu2OEF/rVTcJQ== X-OriginatorOrg: ford.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2026 19:51:29.8623 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 1726b89f-dca4-4dcb-1f0b-08df402d2e09 X-MS-Exchange-CrossTenant-Id: c990bb7a-51f4-439b-bd36-9c07fb1041c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c990bb7a-51f4-439b-bd36-9c07fb1041c0;Ip=[205.220.161.53];Helo=[mx0a-00498f04.pphosted.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF00018863.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV0PR16MB7138 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfX4s9by/OYDEi5 mwZ9GPjKpHnDVu70Db5GZ3iUwFqXPPqjWumyUzQq+6/cCb2m1zOVYqIg6duW37FW5ws21A4ktNs Dl7JaPbEzuodPh+ClA0I2U/z+3KwYOvnJohd8+qFroiecWX/3E6v X-Authority-Analysis: v=2.4 cv=DPEacCNb c=1 sm=1 tr=0 ts=6af4c746 cx=c_pps a=miuBlqXM8bFb40OTON37XA==:117 a=lOEMawUel/sSvQipkIvNbg==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=zJRp6_cAMcgA:10 a=3PXLN80vpJUA:10 a=6NUGLSImWEsA:10 a=w9pew1qAHqMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=P_n1zlmtWsCQbjROFjcg:22 a=X3KReqg2EL6A36SYCKpz:22 a=cbNQJ9GKAAAA:8 a=B9uSqQtBgkG1tBy4WOUA:9 a=DqJYxgmhk6moR-_7_KoZ:22 a=WmVTiCyuxqgg3mnwYu6p:22 X-Proofpoint-ORIG-GUID: bmlDPGM9cU9aWHRPwh5dtBlFQXb2Lg1U X-Proofpoint-GUID: bmlDPGM9cU9aWHRPwh5dtBlFQXb2Lg1U X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfXwwy8BgQVnvap B2tJGA4gMH5enUPmdp8sgjmcUotzZuVU+UC6K9kwPrYggKhPXb3tTkqTlaDasH4PuHlIU97Gd8a +ind5uqx7B/koOf4dT1a529D6kQdTNXDtvIA5YxO+j0wmyHgKmeA6BlxrcV0GRscbYBGJDMnTKu T1QuQZevV8LYAWBdZL8AYDVaDnLvmgWS4xu9KJV6iZPdV8d/hmz4gjcUkbCybpl+IZJl9glx4Kh YktcyQe/Onfuduy+7UeyFwz6/Z5OD71n4xS4ePJB8QmB+iQomHnflWYeDxpbSSLLVjHdGrTQTRa 9dDuvtOFkg6BL5kStjndSs4JX8C2FQdLRbi63xkr44RMAT/3UQ9TQU0xUAz30flFH+9GqsZqu0x sVRGC8lN3u5PaxaWqBCZtK3Ekp/UgLUD1L/K7YOIkGyeflTjp6aMcdGPelmbGwOaHfnV8c3/+Ni dcLnSvaX2xu6lYCdtxA== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 lowpriorityscore=0 impostorscore=0 suspectscore=0 clxscore=1015 phishscore=0 bulkscore=0 adultscore=0 priorityscore=1501 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-purgate-ID: tlsNG-16d1c6/1794426695-FE27077B-4E0F9E16/0/0 X-purgate-type: clean X-purgate-size: 1828 X-ZohoMail-DKIM: pass (identity @ford.com) X-ZM-MESSAGEID: 1794426718079158500 Content-Type: text/plain; charset="utf-8" From: Denis Mukhin Do not register Xen console for the test in case HYPERCALL_console_io is not available. Signed-off-by: Denis Mukhin --- arch/x86/setup.c | 5 +++-- include/xtf/hypercall.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/x86/setup.c b/arch/x86/setup.c index 8fea6495de1c..725abe289a05 100644 --- a/arch/x86/setup.c +++ b/arch/x86/setup.c @@ -250,7 +250,7 @@ static void qemu_console_write(const char *buf, size_t = len) =20 static void xen_console_write(const char *buf, size_t len) { - hypercall_console_write(buf, len); + (void)hypercall_console_write(buf, len); } =20 /* @@ -297,7 +297,8 @@ void arch_setup(void) if ( IS_DEFINED(CONFIG_HVM) && !pvh_start_info ) register_console_callback(qemu_console_write); =20 - register_console_callback(xen_console_write); + if ( !hypercall_console_write("\0", 1) ) + register_console_callback(xen_console_write); =20 collect_cpuid(IS_DEFINED(CONFIG_PV) ? pv_cpuid_count : cpuid_count); =20 diff --git a/include/xtf/hypercall.h b/include/xtf/hypercall.h index 68b3da111d85..475eb771d472 100644 --- a/include/xtf/hypercall.h +++ b/include/xtf/hypercall.h @@ -194,9 +194,9 @@ static inline long hypercall_argo_op(unsigned int cmd, = void *arg1, void *arg2, /* * Higher level hypercall helpers */ -static inline void hypercall_console_write(const char *buf, unsigned long = count) +static inline long hypercall_console_write(const char *buf, unsigned long = count) { - (void)HYPERCALL3(long, __HYPERVISOR_console_io, CONSOLEIO_write, count= , buf); + return HYPERCALL3(long, __HYPERVISOR_console_io, CONSOLEIO_write, coun= t, buf); } =20 static inline long hypercall_shutdown(unsigned int reason) --=20 2.56.0 From nobody Mon Nov 23 22:28:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass(p=reject dis=none) header.from=ford.com ARC-Seal: i=2; a=rsa-sha256; t=1794426727; cv=pass; d=zohomail.com; s=zohoarc; b=HLfeElZKIIBqCv6d1uWxAj72i8fAra1VxR4cz30gYkT+IBSlxKCKxvtZ31Ns18kU11w+jNIoN/jU3jgVLZS+NmAq+Ns1/eoJkX4N+M8RC9qirWOTFNLe8hXHU+/qbtRwUJF3Yp37I/lV4dNSnhJtpx5ZnLMSTX2pgHPWD6LsXv8= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794426727; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=kPB8feFs0W+8NaBr9o27RH94qglQiHpoq+WeRob3TK4=; b=eULKnYgRar04iN4l0aMHUFzYmm/HOkeBs7xVsaV8obbDL+rBRbES5Un01uh8OyD5N3b/tRS8ndDhPGP8P0VvubzY4J9/0/aKisHVPbG0Qf21iHiBhDMpti4DIMeP2il5Ji9cPLzS6gMg7l/IbE2sZ5YpvPrGUI2i1RBomQ6WB8A= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1794426727839289.4620104852071; Wed, 11 Nov 2026 11:52:07 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1484940.1688316 (Exim 4.92) (envelope-from ) id 1xREMF-0005S3-Ue; Wed, 11 Nov 2026 19:51:47 +0000 Received: by outflank-mailman (output) from mailman id 1484940.1688316; Wed, 11 Nov 2026 19:51:47 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xREMF-0005Ru-QV; Wed, 11 Nov 2026 19:51:47 +0000 Received: by outflank-mailman (input) for mailman id 1484940; Wed, 11 Nov 2026 19:51:47 +0000 Received: from mx.expurgate.net ([195.190.135.20]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xREME-0005Pp-Q6 for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 19:51:47 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xREME-004llA-6Q for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 20:51:46 +0100 Received: from [10.42.69.5] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6af4c74b-bab6-0a2a0a5309dd-0a2a4505bcb6-4 for ; Wed, 11 Nov 2026 20:51:46 +0100 Received: from [148.163.143.241] (helo=mx0b-00498f03.pphosted.com) by tlsNG-c201ff.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6af4c750-4cb1-0a2a45050019-94a38ff10f0c-3 for ; Wed, 11 Nov 2026 20:51:45 +0100 Received: from pps.filterd (m0367127.ppops.net [127.0.0.1]) by mx0b-00498f03.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIYTVc1667195 for ; Wed, 11 Nov 2026 19:51:44 GMT Received: from bn1pr04cu002.outbound.protection.outlook.com (mail-eastus2azon11010048.outbound.protection.outlook.com [52.101.56.48]) by mx0b-00498f03.pphosted.com (PPS) with ESMTPS id 4hvuej2442-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 11 Nov 2026 19:51:44 +0000 (GMT) Received: from DM6PR04CA0003.namprd04.prod.outlook.com (2603:10b6:5:334::8) by LV8PR16MB6176.namprd16.prod.outlook.com (2603:10b6:408:1f5::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.8; Wed, 11 Nov 2026 19:51:33 +0000 Received: from DM3PEPF000265C2.namprd03.prod.outlook.com (2603:10b6:5:334:cafe::a) by DM6PR04CA0003.outlook.office365.com (2603:10b6:5:334::8) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.8 via Frontend Transport; Wed, 11 Nov 2026 19:51:33 +0000 Received: from mx0b-00498f04.pphosted.com (148.163.138.245) by DM3PEPF000265C2.mail.protection.outlook.com (10.167.23.183) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 11 Nov 2026 19:51:33 +0000 Received: from pps.filterd (m0373461.ppops.net [127.0.0.1]) by mx0b-00498f04.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIXSBO1790779 for ; Wed, 11 Nov 2026 14:51:32 -0500 Received: from smtp-us.ser.proofpoint.com (pmta-usw.ser.proofpoint.com [34.209.42.160]) by mx0b-00498f04.pphosted.com (PPS) with ESMTPS id 4htkgbn3w0-2 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Nov 2026 14:51:32 -0500 (EST) Received: from localhost ([19.12.92.221]) by cmsmtp with ESMTPSA id RELxxLT6yjpGfRELyxkJR5; Wed, 11 Nov 2026 19:51:32 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=ppford; bh=kPB 8feFs0W+8NaBr9o27RH94qglQiHpoq+WeRob3TK4=; b=ku/VB0qDKWmeHEAz9eS J2EFe7Abtwhlq+kDm3uCJUdbr/xYmmvdHuvrvOQ5v8iqLRaeWktudBCO8NMC/kLt iIKCSj3KA6pvcEz1BvJ1+i1+ZcEugUGd8Xq62eSdZwfObooPCdRiEaIL4vzn3iTy FXRKLbP2ghidDHZplCoChkV+7qVNT4zZCTY+mAFxkyFkkt5Dcwzcmiu/QftCIU/+ uUoYmnU/ZdACfanEre3ffuF1/Rqs4aVKK4fZy5rO4WFgfl2VWf06Ig9li8ASwvn1 jiVv1Ft83t6m4XLU0qHd2bArg1stfEGZms235kmNleyaPy/z7fOlH7EoH0pA/ZmU NIg== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=v4C8fkqPTNcVbQSdZnpLAoBZanHnNS9iAUg4JWkezzbqd4UIDMdx2S6Nsnx7or89oWlq444UtgOt2BWeRExsgRh2nduXZaLi47LxN0jOIPetbOUySz0r9APYbjyZQ/ZGsHpQJy/Z4zoseWwmW6sB30iAiG486IpktQQRVGAUFodv2MXwiMBWWXKWg8dNRAiK1WtJEgNCVrpQDaF9myrLWKdzyWWseDs5VFbi5p7c5/mN5zXB6fCarEyQWgpXomBsq/IwpF7Bni3zW88KzKzlUaV8qUJs3lmKYFoWcPya70HK+h0dgea4Zq9IRKd/IhlWhmtA55yI5lns3UaLJRTHPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=kPB8feFs0W+8NaBr9o27RH94qglQiHpoq+WeRob3TK4=; b=UlfMzC1ZvyZwjAhzOPNDvVsUONlVcGQQJtoS3qia4jK/00sg2Id0jkihqU9pYLxpmV8kV7E+/glzYvmNLu01w7HZG5fiJWVL93v+4VbC54NwtRQRkpnzUWQHe1p943YMmsB4K9gxklUxZQKB/DvDMrlrAbUnNmwze2WgVRz+nVnVIGXpaXxsaxp9d4d6lek4fHG1H/CIbucR07VmU2+mVLSZUwviOQOTxBmUc8USq1Uk7FKDMFwdxpQysL1iZ/09d6D1Ay2h5njTLBaZWRGcW3cY/TfuTMbjfAeCGUxITz/ilf2RrmkABB/0yI3MV4I8EXlFBguFyRs2Z63BF613iQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 148.163.138.245) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azureford.onmicrosoft.com; s=selector2-azureford-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=kPB8feFs0W+8NaBr9o27RH94qglQiHpoq+WeRob3TK4=; b=RaI3iDgcowVZMNCkHRRm3iBumBBbnIRybFO5EXXbjmjsF8ngWKN5AeXpUlhtQo4hHY5deCGyPFjAisyi5eOu68UjduV0RzM1u7sYUgLw5+Yhb3Jm3ufS5IF16TuFeXtQ3/UuG3BP3hbywp7YFXvhyLpAEJFoNNJNI+MVfbpdINU= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 148.163.138.245) smtp.mailfrom=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com;dkim=pass (signature was verified) header.d=ford.com;dmarc=pass action=none header.from=ford.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of ford.com designates 148.163.138.245 as permitted sender) receiver=protection.outlook.com; client-ip=148.163.138.245; helo=mx0b-00498f04.pphosted.com; pr=C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= saarlouis.ford.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= ppserprodsaar; bh=kPB8feFs0W+8NaBr9o27RH94qglQiHpoq+WeRob3TK4=; b= nUlkfJXFMhnpg5lFloCOcJocLVErKgcAUHjYPhV4mytsaTQbkcYqNY29lC5Lw88P q5a1VSljqWC6rBk1c0+RSYQq44tH7wshWqEmc3/LKbT0QUdaL/LsR7JTlpKR+loo BqfL8RTYxRgNoviNjZPExId5LdlnY3RHByo/ZsmSsKDA0EXnT6LjHCVCMUxlRoFY U3ILkDJUD+kaPRePHSHhF8iKAKmiO3CTz5EA6G4fkfZq73ZIUszmxG4T+WzxLFn+ PHEhsdsEH1LG3k06e9hfewHZ2DdPCanG362eIiyMvo3w8i3xtFiXQg+eXOWAmIvw NJ1XZlaP7ymBoHNa3uKSlw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=ppfserpocford; bh=kPB8feF s0W+8NaBr9o27RH94qglQiHpoq+WeRob3TK4=; b=ZENamGa7ieYY3U6wextGp5z dF8IBC+d3V8WNuLFiU0qIAOXwtNHGVvzWTE/VcpzKq0V7AkC2J4mVJtpLCrQe4u7 jLg9eawO3KD2f5oQk16SF7G4hCg99AvUHic/xciuTx1Q1tCAUNMu77CfLNdPceyh 4RoLgwrf4RITbRPhVUuYESWXmr79NCDp6ghN34PRLwp0y0CY33lWMsQOdG7+ILEw B5Xa3N/pJQG5GIAoLenN8sxqr+10oeZVMLZFWo3fuP5iiAb8tNFoHM7tLpE3cpBV ceXAg9OShEsAA9ciF0LNfg7JzQZ5/Xf8Ocuhli8k0e4xniFEBy7mR+BB4/41rVw= = X-Mailer: SER-76bead168636dc6ed1c9e51ce4dea80dbdd4163750742b614a4d871e565792b7 X-Cloudmark-MID: RELxxLT6yjpGfRELyxkJR5 X-Proofpoint-CID: eb09f7eb-2dc2-34ab-a188-7b293c1db1fe From: dmukhin@ford.com To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger@xenproject.org, sstabellini@kernel.org, dmukhin@xen.org, Denis Mukhin Subject: [XTF PATCH v1 5/6] common: add simplistic NS16550-compatible UART driver Date: Wed, 11 Nov 2026 11:51:08 -0800 Message-ID: <20261111195109.1070169-6-dmukhin@ford.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261111195109.1070169-1-dmukhin@ford.com> References: <20261111195109.1070169-1-dmukhin@ford.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable PSER-M365-App: SER-APP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0 phishscore=0 suspectscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM3PEPF000265C2:EE_|LV8PR16MB6176:EE_ X-MS-Office365-Filtering-Correlation-Id: a1c580ac-1017-44c4-fa31-08df402d302b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|376014|23010399003|36860700016|1800799024|18002099003|22082099003|3023799007|11063799006|261026121527099003|261022105027099003|261026140227099003|261022113327099003|261022075727099003|261028144727099003|261021123027099003|56012099006|261021121427099003|261009223327099003|261009221227099003|261102123227099003|261009220027099003|261009221727099003|261009223027099003|10067099003; X-Microsoft-Antispam-Message-Info: XP4ibkLVefctwKtCw84rwgh3k/uLL36z/fGfCO/fP4MeK6q8nRNpjTc3mOFobHo43yfZU4hzCFsoe3iptRbhfpHlGbDMne4HIJls4yHKbCaFHReDDJUJiukX+eIJLMIwjCGOzVGf/jpjyWU8I+IPerzfRmiIRkBlGafYrE2ugq7RIPtYovH6/UXRCt65L3N46CWZfEjHcbd5Cp6LY8WqrcDgfC5nsUBBXrk9IkvXUZzh/+j+hxEyvSKWhbaYf4yxhYZIGleTs1c5Sfa8NwxYbNZ9rBYL5b6ORMGn8zP7+KAIAkYT72bit99P/or77YNo+P0TNJZ6TGyc7/y7W0f9ZJfgminB1q2NnpsfIWo7huparg1XhkR1zC88+TxSJwe/BFI9rKroqA95rGd0mA0KSq5gw995DhNYPhvUaIA5zsQgB6osiLrJh5K6dCfb1LauW+0yoF/5gAF+llZTBQVa1e1AWpg+FZ/pQo+uRjUZiSrFJ/+YA7Mi5N29GWhWLdGABBE7J+f7qMTw9gm+xc1sDlRWjsFQFHKZARk0Aw/si8xL+P7ZuGDaHPHvjhRWuzt1XqJ7Z4Tf7wk/OuDD9Op474K4JEfKVFUqhPKRZPyzoDGckqqWpjS7P7ZCwnjAMNOtzT7y7+JkqSpPbjdUTwThqD3OMuqL1pkeAJAXLIa03/BKd/0PJx7NDunmUfBjvdnLkIZv6TXK9EAOl18luaCRag== X-Forefront-Antispam-Report: CIP:148.163.138.245;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mx0b-00498f04.pphosted.com;PTR:mx0b-00498f04.pphosted.com;CAT:NONE;SFS:(13230040)(82310400026)(376014)(23010399003)(36860700016)(1800799024)(18002099003)(22082099003)(3023799007)(11063799006)(261026121527099003)(261022105027099003)(261026140227099003)(261022113327099003)(261022075727099003)(261028144727099003)(261021123027099003)(56012099006)(261021121427099003)(261009223327099003)(261009221227099003)(261102123227099003)(261009220027099003)(261009221727099003)(261009223027099003)(10067099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: K3j58rC7Dk9ws/tJ0jx+cOdsVVm0xiTrOBko/rW35zlFMyxkIF3FASqBIjoaxJQIG/Pr7FEgUxxUtVFvezY6jzJwiNLRC9aZLLZTZwdvxfesVrMVnxSMOuSpym5CSt9QNhVQjSS2qZ5PbooCjrUxl6t2G/1SMHdk7oavs74t/Z9UCkSQ+dLyONILu12PSZRcDcyix6R2K1ncI0iIZuCxT9UHHM8dY/X7PMObnRsQeQ+jDBNb1h2bpYIVn2a9Ts4t6VYwosAPw1U/l2nJZBAQ2aCZr7E3X7Gq9pcg+1orkhRx3NFAf1rBEQRizB8KIdT/UCjy08chepKl5lyk8fR664em5Egbq0ERp3OdkivQMXhxrm9pwNb9D/FureTiPUTa1Dlma0lp2HsHRjLzEItw9x6iY/gPgtBZ+E0Lbk91n+LYOmNbamROGMZFd2QRVLGk X-Exchange-RoutingPolicyChecked: pIbTIpycga+xOVwXnG/kXYeUns1RsTSspaQQCI1ZEIwzhg5CtSbbr5cI9XJ7qBgO9d/rC2ttH8Xh8EPyqLtnuvZwRyKf5A2VA8592x7tNNUcmwA6MKB8+dEyb75TFvmrD4fY5ppobGMLLhKjjiJLiLyay2CFoXExbuSeIitTVoVr0BQ4QQQIT1wIJ6yFD9IwO+oxyakWzpSufUDx6gG1VmjiUGtpxfTdPISDqeWNaW+9siHXLh49eB+1OtBmV1/I1KBghwRT2EZ9SyWbPy5uBUWB584ft7IkEXrMUBvPONfbBHl4z5vDlWwiEi4+o6j55qhvAzH5mG8VSFNWA6UdNg== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: GWmSr2eNI8XKfM5igoPCDVvSy42IizY8eEeSE9ga8fRkKTLWmL+Zklpqrh25VC+zVduXwD5xoNTZd+BRpGuC4KBvWN7vKLiEJ92M3BGnlKox/PjLsVUXbvdQS2AcxvhNtywdWR63gH2+EHya2qQ0jRvkQDAQPvt/hzLpBlFRRZELSPENPtlpPhivq3YoChrhIkDTQI37tDL1zMrr2oWrVxFTIaLB/7n7kPPXYo5Q+8+O6Jcg0TEVwLAUvtQKz93W7QZkvIf7QoA72P3NrbMf6g/lEj2LTWophBQfDNAop68n7rU9rtudoQoLfyMjfm6D95HcGW5TgL0zdyt6xrxnkVeK8m0cpaEmyX7qGRqsjjg8/nAI1Ff2ZOGy7DP0wy/zTuy+U+lX7zwL/wRitTtPlTdVgPhF0UOe4jtIK84fqc2ECjb4QWlzIVM/DKoF1ddNZlMXQhb+bhuIwThB0+2qtjct4/pPfyAZwRM9KAMmDuM4xRnnXueoBGCF4Eq1hiWUAHm29pR0T5iyJ+PNe737X7VxFXhB0PU1ub+OQNSf+tyJZXAzoXBxULxI+n4ce7wMzamtq5hZ8z1kUe8rLy82TPL1+KIlU6Mi7cR1IIXGeturuxjrO2N00Kh4SI8EcRushBrtNsmAVgX1BEEdSkRt6Q== X-OriginatorOrg: ford.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2026 19:51:33.3989 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a1c580ac-1017-44c4-fa31-08df402d302b X-MS-Exchange-CrossTenant-Id: c990bb7a-51f4-439b-bd36-9c07fb1041c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c990bb7a-51f4-439b-bd36-9c07fb1041c0;Ip=[148.163.138.245];Helo=[mx0b-00498f04.pphosted.com] X-MS-Exchange-CrossTenant-AuthSource: DM3PEPF000265C2.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR16MB6176 X-Proofpoint-GUID: cZLQqZUPWqhIVISiYEo8uZ5eCeu2mSvI X-Proofpoint-ORIG-GUID: cZLQqZUPWqhIVISiYEo8uZ5eCeu2mSvI X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfX8u4MMDjSjfsr eQi+ofP0VaKTbjU7JGNowubeGIZqeYZVrb8qapTMiaCfr4MASAzulPZeXfgO0eH8WEESBS+uSf9 mmwIIFNOM3r9l5SrTYGdCwqGedNwLnvxWw90rXOxHh7PYYiORWJhCi+TBtPcCI2Z2P2QobrJeIr W7qFYRGeMSZ0ypgE5XPY99XCTvOY431naHuPNOmks7OKC/In32YS7rJRbYAk/+lQM+47q0/ZmLf xkxyub1EFfkY6xOF5F/v44zpFSinJ8asIHZcVrgU+I69epQjZF5VeOW3NskOP3iYWT0iOPXuAen MZCx4f3dXGlsJfMmrvJh+MRjv5arg3TSxJpsEPQVlnvcBLjUiBed239lNnU63+tM6YGW+7Sf9eT bDKi0nA+IslUJzkD+Cs2LMIxMoNTZHWrZrN7TSbSEVUUh9YqWs+9+lctHa044sKHXZyEsEULwQE Dx+54SVn6unVYtbPE7g== X-Authority-Analysis: v=2.4 cv=XspvqlF9 c=1 sm=1 tr=0 ts=6af4c750 cx=c_pps a=TQumU+mCWarTt0EIZfG+ng==:117 a=b7IhknPlfT0FN1EembXvig==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=zJRp6_cAMcgA:10 a=3PXLN80vpJUA:10 a=6NUGLSImWEsA:10 a=w9pew1qAHqMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=P_n1zlmtWsCQbjROFjcg:22 a=dw5MciS7gY-znkhJuOLE:22 a=cbNQJ9GKAAAA:8 a=DItcFVcSLPF-65BW0aUA:9 a=P0bj-C3X3jJDpopQwM1U:22 a=WmVTiCyuxqgg3mnwYu6p:22 X-Proofpoint-Spam-Info: AW1haW4tMjYxMTExMDA3OCBTYWx0ZWRfX5UMoysxiDxh4 MIZUFd1Ig3tiNKgYNoHp0Vlbmw1k7nrtREeKQwEuJmTpuxwGtDGukwI9r5AvQVH6q49KlqT/GOl VbLVPn036VqBHyVHFoc0XDE/WNbxGBZr93OGvfJ9pz2jplX4+PXc X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 phishscore=0 spamscore=0 adultscore=0 lowpriorityscore=0 suspectscore=0 priorityscore=1501 impostorscore=0 bulkscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-purgate-ID: tlsNG-c201ff/1794426706-F4CA02A1-96AA82D8/0/0 X-purgate-type: clean X-purgate-size: 10593 X-ZohoMail-DKIM: pass (identity @ford.com) X-ZM-MESSAGEID: 1794426730090158500 Content-Type: text/plain; charset="utf-8" From: Denis Mukhin Add a miniature NS16550-compatible driver for hypervisor validation. Implement polling mode and putchar only. Place the code in a common place since NS16550 hardware is not limited to x86 systems (although the current driver uses few x86-ishms like I/O ports). Signed-off-by: Denis Mukhin --- build/files.mk | 1 + common/console.c | 3 +- common/ns16550.c | 153 ++++++++++++++++++++++++++++++++++++++++++ include/xtf/console.h | 15 +++-- include/xtf/ns16550.h | 117 ++++++++++++++++++++++++++++++++ 5 files changed, 284 insertions(+), 5 deletions(-) create mode 100644 common/ns16550.c create mode 100644 include/xtf/ns16550.h diff --git a/build/files.mk b/build/files.mk index 11624a89a21c..841ea9ebc70a 100644 --- a/build/files.mk +++ b/build/files.mk @@ -34,6 +34,7 @@ obj-hvm +=3D $(ROOT)/arch/x86/hvm/head.o obj-hvm +=3D $(ROOT)/arch/x86/hvm/pagetables.o obj-hvm +=3D $(ROOT)/arch/x86/hvm/traps.o obj-hvm +=3D $(ROOT)/arch/x86/io-apic.o +obj-hvm +=3D $(ROOT)/common/ns16550.o =20 # Arguably common objects, but PV guests will have no interest in them. obj-hvm +=3D $(ROOT)/arch/x86/vmx.o diff --git a/common/console.c b/common/console.c index b3e89473a7b4..02ff90c5428d 100644 --- a/common/console.c +++ b/common/console.c @@ -13,8 +13,9 @@ * - Xen hypervisor console * - PV console * - Qemu debug console + * - NS16550-compatible emulator */ -static cons_output_cb output_fns[3]; +static cons_output_cb output_fns[4]; static unsigned int nr_cons_cb; =20 /* Guest PV console details. */ diff --git a/common/ns16550.c b/common/ns16550.c new file mode 100644 index 000000000000..fa2bae5ebf98 --- /dev/null +++ b/common/ns16550.c @@ -0,0 +1,153 @@ +// SPDX-License-Identifier: BSD-2-Clause +/** + * Simple NS16550-compatible device driver. + */ + +#include +#include + +#include +#include +#include + +static const struct ns16550 *ns16550; + +static inline unsigned long +ns16550_reg(const struct ns16550 *uart, unsigned int reg) +{ + return uart->base + (reg << uart->reg_shift); +} + +uint8_t ns16550_inb(const struct ns16550 *uart, unsigned int reg) +{ + unsigned long addr =3D ns16550_reg(uart, reg); + + return inb(addr); +} + +void ns16550_outb(const struct ns16550 *uart, unsigned int reg, + unsigned char val) +{ + unsigned long addr =3D ns16550_reg(uart, reg); + + outb(val, addr); +} + +void ns16550_wait_tx(const struct ns16550 *uart) +{ + while ( !(ns16550_inb(uart, UART_LSR) & UART_LSR_THRE) ) + cpu_relax(); +} + +void ns16550_drain_rx(const struct ns16550 *uart) +{ + unsigned int i; + + for ( i =3D 0; i < 128 && (ns16550_inb(uart, UART_LSR) & UART_LSR_DR);= i++ ) + (void)ns16550_inb(uart, UART_RBR); +} + +void ns16550_putc(const struct ns16550 *uart, char c) +{ + ns16550_wait_tx(uart); + + /* Inject carriage return. */ + if ( c =3D=3D '\n' ) + { + ns16550_outb(uart, UART_THR, '\r'); + ns16550_wait_tx(uart); + } + + ns16550_outb(uart, UART_THR, c); +} + +static void ns16550_write(const struct ns16550 *uart, const char *buf, + size_t len) +{ + size_t i; + + for ( i =3D 0; i < len; i++ ) + ns16550_putc(uart, buf[i]); +} + +void ns16550_puts(const struct ns16550 *uart, const char *buf) +{ + ns16550_write(uart, buf, strlen(buf)); +} + +int ns16550_init(const struct ns16550 *uart) +{ + unsigned int divisor =3D uart->clk_freq / (16 * uart->baud); + + if ( !divisor ) + divisor =3D 1; + + /* Disable interrupts. */ + ns16550_outb(uart, UART_IER, 0x00); + + /* Set baud rate. */ + ns16550_outb(uart, UART_LCR, UART_LCR_DLAB); + ns16550_outb(uart, UART_DLL, divisor & 0xff); + ns16550_outb(uart, UART_DLM, (divisor >> 8) & 0xff); + + /* Support only 8 data bits, no parity, 1 stop bit. */ + ns16550_outb(uart, UART_LCR, UART_LCR_8N1); /* DLAB=3D0 */ + + /* Reset FIFOs. */ + ns16550_outb(uart, UART_FCR, + UART_FCR_ENABLE | UART_FCR_CLRX | + UART_FCR_CLTX | UART_FCR_TRG14); + + /* Assert modem control lines. */ + ns16550_outb(uart, UART_MCR, + UART_MCR_DTR | UART_MCR_RTS | UART_MCR_OUT2); + + /* Drain any pending status/data to avoid stale state. */ + (void)ns16550_inb(uart, UART_LSR); + (void)ns16550_inb(uart, UART_RBR); + (void)ns16550_inb(uart, UART_IIR); + (void)ns16550_inb(uart, UART_MSR); + + return 0; +} + +/* + * Console driver. + */ + +static void ns16550_console_write(const char *buf, size_t len) +{ + if (ns16550) + ns16550_write(ns16550, buf, len); +} + +void ns16550_console_puts(const char *buf) +{ + ns16550_console_write(buf, strlen(buf)); +} + +int ns16550_console_register(const struct ns16550 *uart) +{ + if ( ns16550_init(uart) ) + return -1; + + register_console_callback(ns16550_console_write); + ns16550 =3D uart; + + return 0; +} + +void ns16550_console_unregister(void) +{ + ns16550 =3D NULL; +} + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * tab-width: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/include/xtf/console.h b/include/xtf/console.h index 16a6a23e3f56..4830e511b080 100644 --- a/include/xtf/console.h +++ b/include/xtf/console.h @@ -3,6 +3,7 @@ =20 #include #include +#include =20 #include #include @@ -16,17 +17,23 @@ typedef void (*cons_output_cb)(const char *buf, size_t = len); */ void register_console_callback(cons_output_cb cb); =20 +void vprintk(const char *fmt, va_list args) __printf(1, 0); +void printk(const char *fmt, ...) __printf(1, 2); + /* * Initialise the PV console. Will register a callback. */ void init_pv_console(xencons_interface_t *ring, evtchn_port_t port); - -void vprintk(const char *fmt, va_list args) __printf(1, 0); -void printk(const char *fmt, ...) __printf(1, 2); - size_t pv_console_read_some(char *buf, size_t len); =20 +/* + * NS16550-backed console. + */ +int ns16550_console_register(const struct ns16550 *uart); +void ns16550_console_unregister(void); +void ns16550_console_puts(const char *buf); + #endif /* XTF_CONSOLE_H */ =20 /* diff --git a/include/xtf/ns16550.h b/include/xtf/ns16550.h new file mode 100644 index 000000000000..5db515b7fb91 --- /dev/null +++ b/include/xtf/ns16550.h @@ -0,0 +1,117 @@ +// SPDX-License-Identifier: BSD-2-Clause +/** + * Simple console driver for NS16550-compatible UART. + */ + +#ifndef XTF_NS16550_H +#define XTF_NS16550_H + +#define UART_RBR 0x00 +#define UART_THR 0x00 +#define UART_DLL 0x00 +#define UART_IER 0x01 +#define UART_IER_ERDAI 0x01 +#define UART_IER_ETHREI 0x02 +#define UART_IER_ELSI 0x04 +#define UART_IER_EMSI 0x08 +#define UART_IER_MASK 0x0f +#define UART_IER_RSRVD 0xf0 +#define UART_DLM 0x01 +#define UART_IIR 0x02 +#define UART_IIR_NOINT 0x01 +#define UART_IIR_IMA 0x06 +#define UART_IIR_LSI 0x06 +#define UART_IIR_RDA 0x04 +#define UART_IIR_THR 0x02 +#define UART_IIR_MSI 0x00 +#define UART_IIR_BSY 0x07 +#define UART_IIR_FE 0xc0 +#define UART_IIR_MASK 0x0f +#define UART_FCR 0x02 +#define UART_FCR_ENABLE 0x01 +#define UART_FCR_CLRX 0x02 +#define UART_FCR_CLTX 0x04 +#define UART_FCR_DMA 0x08 +#define UART_FCR_TRG1 0x00 +#define UART_FCR_TRG4 0x40 +#define UART_FCR_TRG8 0x80 +#define UART_FCR_TRG14 0xc0 +#define UART_LCR 0x03 +#define UART_LCR_WLEN5 0x00 +#define UART_LCR_WLEN6 0x01 +#define UART_LCR_WLEN7 0x02 +#define UART_LCR_WLEN8 0x03 +#define UART_LCR_STB 0x04 +#define UART_LCR_PE 0x08 +#define UART_LCR_EP 0x10 +#define UART_LCR_SP 0x20 +#define UART_LCR_SB 0x40 +#define UART_LCR_DLAB 0x80 +#define UART_LCR_7N2 (UART_LCR_WLEN7 | UART_LCR_STB) +#define UART_LCR_8N1 (UART_LCR_WLEN8) +#define UART_LSR_ERRORS (UART_LSR_OE | UART_LSR_PE | \ + UART_LSR_FE | UART_LSR_BI) +#define UART_MCR 0x04 +#define UART_MCR_DTR 0x01 +#define UART_MCR_RTS 0x02 +#define UART_MCR_OUT1 0x04 +#define UART_MCR_OUT2 0x08 +#define UART_MCR_LOOP 0x10 +#define UART_MCR_RSRVD0 0x20 +#define UART_MCR_TCRTLR 0x40 +#define UART_MCR_RSRVD1 0x80 +#define UART_MCR_MASK (UART_MCR_DTR | UART_MCR_RTS | \ + UART_MCR_OUT1 | UART_MCR_OUT2 | \ + UART_MCR_LOOP) +#define UART_LSR 0x05 +#define UART_LSR_DR 0x01 +#define UART_LSR_OE 0x02 +#define UART_LSR_PE 0x04 +#define UART_LSR_FE 0x08 +#define UART_LSR_BI 0x10 +#define UART_LSR_THRE 0x20 +#define UART_LSR_TEMT 0x40 +#define UART_LSR_ERR 0x80 +#define UART_MSR 0x06 +#define UART_MSR_DCTS 0x01 +#define UART_MSR_DDSR 0x02 +#define UART_MSR_TERI 0x04 +#define UART_MSR_DDCD 0x08 +#define UART_MSR_CTS 0x10 +#define UART_MSR_DSR 0x20 +#define UART_MSR_RI 0x40 +#define UART_MSR_DCD 0x80 +#define UART_SCR 0x07 + +struct ns16550 { + const char *name; + unsigned long base; + unsigned int reg_shift; + unsigned int reg_width; + unsigned int clk_freq; + unsigned int baud; +}; + +uint8_t ns16550_inb(const struct ns16550 *uart, unsigned int reg); +void ns16550_outb(const struct ns16550 *uart, unsigned int reg, + unsigned char val); + +void ns16550_wait_tx(const struct ns16550 *uart); +void ns16550_drain_rx(const struct ns16550 *uart); + +void ns16550_putc(const struct ns16550 *uart, char c); +void ns16550_puts(const struct ns16550 *uart, const char *buf); + +int ns16550_init(const struct ns16550 *uart); + +#endif /* XTF_NS16550_H */ + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * tab-width: 4 + * indent-tabs-mode: nil + * End: + */ --=20 2.56.0 From nobody Mon Nov 23 22:28:42 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass(p=reject dis=none) header.from=ford.com ARC-Seal: i=2; a=rsa-sha256; t=1794426729; cv=pass; d=zohomail.com; s=zohoarc; b=DrzYkNmIHTr7/bKZbwANCJdQMKAtzxGD98NpbCKKcTTQpo7JeDN5AMnvFKfLL3P3HZc1SsM8y4wcXpryv5SCg6vQfkGJ0j6RnDYocfBUQrNh1bXLJC6L+Kyvjs8glbED49ua802sPpPMzsfsyeW98Rqs14MiU8kl0hUR2bj+Ifk= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1794426729; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=RupmFEZXLXA0Lt5h6ULLMTC0jzaklR3AE+Zv1tOgKrQ=; b=U73i56vWaSvJn06zJ++HPjLPTHDdmdeikKqa3LLBMDTA6T9PCEeWO/SKck1Iy8xBnOaE88n7G3hNOb2jeDV2QaNwzGMu30yEGVfv3FR3rL7/n9G1Dth448Grdc07b5vI0mGerB//QmoqZ/yr0jcfOoEszimNZkQs7gIRbHhED9I= ARC-Authentication-Results: i=2; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; arc=pass (i=1 dmarc=pass fromdomain=ford.com); dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1794426729700710.0824229962672; Wed, 11 Nov 2026 11:52:09 -0800 (PST) Received: from list by lists.xenproject.org with outflank-mailman.1484945.1688324 (Exim 4.92) (envelope-from ) id 1xREMK-0005q4-5i; Wed, 11 Nov 2026 19:51:52 +0000 Received: by outflank-mailman (output) from mailman id 1484945.1688324; Wed, 11 Nov 2026 19:51:52 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xREMK-0005ps-2A; Wed, 11 Nov 2026 19:51:52 +0000 Received: by outflank-mailman (input) for mailman id 1484945; Wed, 11 Nov 2026 19:51:50 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1xREMI-0005nG-JD for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 19:51:50 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1xREMH-00Bkzc-WE for xen-devel@lists.xenproject.org; Wed, 11 Nov 2026 20:51:50 +0100 Received: from [10.42.69.1] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6af4c748-2eae-0a2a0a5409dd-0a2a4501eb54-32 for ; Wed, 11 Nov 2026 20:51:49 +0100 Received: from [148.163.143.241] (helo=mx0b-00498f03.pphosted.com) by tlsNG-d62444.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6af4c754-5984-0a2a45010019-94a38ff137d6-3 for ; Wed, 11 Nov 2026 20:51:49 +0100 Received: from pps.filterd (m0367128.ppops.net [127.0.0.1]) by mx0b-00498f03.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIYbLB3992212 for ; Wed, 11 Nov 2026 19:51:48 GMT Received: from co1pr03cu002.outbound.protection.outlook.com (mail-westus2azon11010029.outbound.protection.outlook.com [52.101.46.29]) by mx0b-00498f03.pphosted.com (PPS) with ESMTPS id 4hvrf7v318-1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 11 Nov 2026 19:51:48 +0000 (GMT) Received: from CY5PR15CA0089.namprd15.prod.outlook.com (2603:10b6:930:18::35) by MW6PR16MB5524.namprd16.prod.outlook.com (2603:10b6:303:242::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.592.13; Wed, 11 Nov 2026 19:51:39 +0000 Received: from CY8PEPF00000054.namprd05.prod.outlook.com (2603:10b6:930:18:cafe::ac) by CY5PR15CA0089.outlook.office365.com (2603:10b6:930:18::35) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.9 via Frontend Transport; Wed, 11 Nov 2026 19:51:37 +0000 Received: from mx0b-00498f04.pphosted.com (148.163.138.245) by CY8PEPF00000054.mail.protection.outlook.com (10.167.247.58) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.615.4 via Frontend Transport; Wed, 11 Nov 2026 19:51:37 +0000 Received: from pps.filterd (m0426316.ppops.net [127.0.0.1]) by mx0b-00498f04.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6ABIXTWi075700 for ; Wed, 11 Nov 2026 14:51:36 -0500 Received: from smtp-us.ser.proofpoint.com (pmta-usw.ser.proofpoint.com [50.112.124.217]) by mx0b-00498f04.pphosted.com (PPS) with ESMTPS id 4htkwgn2js-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 11 Nov 2026 14:51:36 -0500 (EST) Received: from localhost ([19.12.76.222]) by cmsmtp with ESMTPSA id REM0xf8UFQVyyREM1xGB9y; Wed, 11 Nov 2026 19:51:35 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=ppford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Content-Type:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=selector2-azureford-onmicrosoft-com header.d=azureford.onmicrosoft.com header.i="@azureford.onmicrosoft.com" header.h="From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck"; dkim=pass header.s=ppserprodsaar header.d=saarlouis.ford.com header.i="@saarlouis.ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To"; dkim=pass header.s=ppfserpocford header.d=ford.com header.i="@ford.com" header.h="Cc:Content-Transfer-Encoding:Date:From:In-Reply-To:Message-ID:MIME-Version:References:Subject:To" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=ppford; bh=Rup mFEZXLXA0Lt5h6ULLMTC0jzaklR3AE+Zv1tOgKrQ=; b=MooLMXc81R/WxeNxftP RqQzR9c/gRcmKdZFfHquuFQ1C94h88upj0lzyMuE+DRH4HNaPhqHq9K1FAqVLMuS GnIyvHDGaVNK2an11oUIlqDhmnQS48aOJaAy1dKv/OrUFrBZtVtXKUOTRRhMPn2/ 22hy3qP0IIW+r2tuhamHVulpJ9fbEYnY6Yd+jlGBq8XTlY4m9Ai6cpVhYC7jGXN7 2maZtwkZ1OqOu56fzcWvcv26fJ5DNIi/R9GxUw2HgpQQpI8VYgV/iYrLYJj+FKts 9wiyfmPUWSCq3bUrCb8n7f8xfKRygs01HcodgoCr0J3AiyAZhkfeqQgrhtbCq2LC 40w== ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eJfNkKVmThIigQLsdl3FLZIPq8g+SL0hPk5fid2CjHWOLTMW1jXqtOSVdX32YZ/bqVkm5RqMHoZRKp7st1jBAYKhRnYNW1H/iDuWuzBkCYw4Xua7CFqiVfepL3IlGrPM8Vjjo+ceHOz/yaoY1nng946JoLpT8X9gJj2eZvgvjMspztIvx6uh6mJSvhEtbGufR3hAvEJ00sejAWArxPbFXFgjkykW6Yd5xOj3uQX1vSROuxh3c8YH3MNHNJXPoNAUKdcSfJRNyZXbFi2mryyWDjDkDO4T4gblbyyPoFaIyfAxsE+aLy7q7r4OJOrPPxZ0Li/ewU2rfb9a8fsAAUJ/sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=RupmFEZXLXA0Lt5h6ULLMTC0jzaklR3AE+Zv1tOgKrQ=; b=A719e2/PADNdHg6ohJn0IoQKHNbo8UU9CHWFhvKzElAxC9MTg8i8gV3Mf6fkAYiJc4vI0axr+UxNm8cRyfGoTB+Kd1NvQKsBwuFExMsXtpO8ps7yXkTb0b/K9/40WJ8/EzIArzZa9f5tFEX9Fp0WHR5O7Bhcp8J8MSWSS6/EqzHar6BSpXosyCw+HZLWezlirALBEJi0mga+bN+7TteU3+58ZdnnY1+L2C5h3hkNM6lyoYbyEEMASQwKFLX46T0Zo0NX+a6f7HDa09gKoHZP1WKtJC40zZtxfp5zvIO9eA/gZxQ+kqbxm/S1ZA/dFUfSEpP4ix/7EqpptmuR2gbRFw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 148.163.138.245) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=ford.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com; dkim=pass (signature was verified) header.d=ford.com; arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=azureford.onmicrosoft.com; s=selector2-azureford-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RupmFEZXLXA0Lt5h6ULLMTC0jzaklR3AE+Zv1tOgKrQ=; b=E2Hy1pfdQZtwi9cf99Aq8+PIchk8PlXWqFmNeyLTxDz2T1ddSc2ssbkJK/GQKdUImYqqQLMZ/zh/4jx+9npRU7QoupqLhNRFrQ5XtSFEzbtQqG4JZMbCCVy1RBubAmdc4z2uSKD8c9bpErKnXOQXZ9tyhkJYYCtrqDoHT9g8d3I= X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=pass (sender IP is 148.163.138.245) smtp.mailfrom=ford.com; dkim=pass (signature was verified) header.d=saarlouis.ford.com;dkim=pass (signature was verified) header.d=ford.com;dmarc=pass action=none header.from=ford.com; Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Received-SPF: Pass (protection.outlook.com: domain of ford.com designates 148.163.138.245 as permitted sender) receiver=protection.outlook.com; client-ip=148.163.138.245; helo=mx0b-00498f04.pphosted.com; pr=C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= saarlouis.ford.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to; s= ppserprodsaar; bh=RupmFEZXLXA0Lt5h6ULLMTC0jzaklR3AE+Zv1tOgKrQ=; b= Sz0U1KYNK64JYa79mIdUOzVPdciCtkxwLQRqHWFYFHsJlBxkew6vQgCIs7M9xo1i fZhXjHMlQmHANpUOlpkD4xsN/p4g1s+13PaCAgIUxDgrGn3gKx2NL0VtkOVyLaYg FWMnrW7eXfD1i1zq4zCOD2rsASAu2y9FXQWmagiGP5WHpNmx/yd2afYdqrF/PWBj AkQ1I3T+409i0LaY8h28BqOUfjlx+d0hwFbD6u8h9JSoLG03U4wr8rgG5mTVCVrD 8Th4VzX0T5id441YOkCqiPOxGHdz/a+Hf99mAQi5RhlHOoOoDz2HTN+bfh4T2kS/ g7dwPAwZyV7DyhWG+ORvoA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ford.com; h=cc :content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=ppfserpocford; bh=RupmFEZ XLXA0Lt5h6ULLMTC0jzaklR3AE+Zv1tOgKrQ=; b=vCuhcBe4N20MiG1wBjv04/o AeOUl7Du9DV7wbT6edaH2sLQ1qjuWEN7Sji91AMAP+zna9g4teNoMkO1E6H9A7Ad lJCmxZvlHOdOqpn/oVA0TqgI+FXImXdyta06/qHT/snHkKKyzZOS3KpUd3+hWfx7 hjsyrByrF/mN+4j9uFsqITjX3Il/HjC9YoFPkSsAY1g0ZqpUnaYfbFeTm2rR8dkc 4L6NMsKedzwK0NJsBT3IdwCJql3c6sHzzUBvOCVFVK77gLH3Wma7d8ML2afQEXAk TqwTizR/cd3J0apZL0m0RQYIbQcFYOPyNct8jExguVQb9NhjCkroILlOontENPg= = X-Mailer: SER-76bead168636dc6ed1c9e51ce4dea80dbdd4163750742b614a4d871e565792b7 X-Cloudmark-MID: REM0xf8UFQVyyREM1xGB9y X-Proofpoint-CID: eb09f7eb-2dc2-34ab-a188-7b293c1db1fe From: dmukhin@ford.com To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@vates.tech, jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com, roger@xenproject.org, sstabellini@kernel.org, dmukhin@xen.org, Denis Mukhin Subject: [XTF PATCH v1 6/6] x86: add NS16550-compatible emulator test Date: Wed, 11 Nov 2026 11:51:09 -0800 Message-ID: <20261111195109.1070169-7-dmukhin@ford.com> X-Mailer: git-send-email 2.56.0 In-Reply-To: <20261111195109.1070169-1-dmukhin@ford.com> References: <20261111195109.1070169-1-dmukhin@ford.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable PSER-M365-App: SER-APP X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 adultscore=0 bulkscore=0 phishscore=0 spamscore=0 suspectscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110078 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY8PEPF00000054:EE_|MW6PR16MB5524:EE_ X-MS-Office365-Filtering-Correlation-Id: 063b645c-31e0-4b4e-4243-08df402d326a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|82310400026|36860700016|23010399003|376014|18002099003|22082099003|6133799003|3023799007|10067099003|5023799004|11063799006|261028144727099003|261026121527099003|261021121427099003|261021123027099003|261009223027099003|56012099006|261022105027099003|261026140227099003|261102123227099003; X-Microsoft-Antispam-Message-Info: ZcppHzkettiPEytNiD1k1MMDwySMTv8qkAl+uXaUzYM6HAAyZY6q7n7tqN2vewmNk49AHjsCLqjWFEqTmJsLXee7WTp1DwEzK3uLkPtrkUE0qTLukeo6JO2zTCqkavAT3fCAGu0N/m9Yl3ve7VNES/8qF3fFKTKQNZdxLM1P5VifZ2OwgXwrp14W3YJJqEtfP316zy0xF6pp6anBVUnYaCkMpXD4xabmoMIVkkqzcrr7i5ED8HZL/necx0Ne3pfAcicLLc1HoTpw44FtmkIR9c3b1gyc8adhd9AlFUgdNOz9i+ojZVZZVsSTbIDw8tWbiRqFRG3MDfsh/LqkE093Ufi6HrhIILkDnN2pG1wKFqvFRX2cD91EHwyYPsp7vXgXSlSao1oBw3MOq/5SQ49iGYsIA56o7+QG3IR0eS1JRMPE+qJOfIzpdixdW4ObbWZq8dIh+PlQeCuxcOw9+uPNIGW1o2DhqHt8ursRqn1Lz0h4Zq90ioy9doxv8Ry49nXS3dTkh2r3KeX0yoTa05I0jMLiQk3CtCNnH0r2IzdIXhMws9UoJPdkaTS2LQ4aAUPKfHsPTlLlmM5lNpPSEIRPItsMzyk9Vc0D8jI/+4HYRc4Ow1mmwD/9oXjxLU5i/oswfptEeIcxCN1pN+jPZapE/EeBBQPm8hcFIiZQo20Q21PaJkNwn/4tiZDQMa8z1LzBdU86zPXu2Un/c+Yecduj+Q== X-Forefront-Antispam-Report: CIP:148.163.138.245;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mx0b-00498f04.pphosted.com;PTR:mx0b-00498f04.pphosted.com;CAT:NONE;SFS:(13230040)(1800799024)(82310400026)(36860700016)(23010399003)(376014)(18002099003)(22082099003)(6133799003)(3023799007)(10067099003)(5023799004)(11063799006)(261028144727099003)(261026121527099003)(261021121427099003)(261021123027099003)(261009223027099003)(56012099006)(261022105027099003)(261026140227099003)(261102123227099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 8DVtHoHlx/G2gtRHr+SuP0dirLsAvuHG2XQDxdVohvrRoazVfCVMrV5PjTPD0wQlgZs7z00bcpChxsKaplGRyiyhxJmeHfezDqua7viy/PN7w88OmbIVEWVCCOSYn+extT3flzaoEB9xwFkPBtOu7ut4sMLM30ky2SsYlvyhXsC1f5bG8CRPWCIrbYEwZLqITnSPY8bNEwuUDCCjr/D8SL+jSyAnqen1T+hiJYaZ6jMzWAofVw4sRGDfTg+/xwG56OllXIkWAnp6YC2EFl0BJhkppZ48GsBZki1Sq7aBezOy2C5DW5Yzny2hYRn+/7rAVaL/Tb+0Y06MoGBJhygaKcf9ys2t3YfVME435iAyJ6F4TAwQI4rdH9CUZSxBmm87aVM81qJQgFp/cL/OkAlea8gIpRBnMDIdnIx9C9Qa/KL8/IABLql3S4ktXk5IURWJ X-Exchange-RoutingPolicyChecked: 4E/ySXuZ1+XqJVMAh7MiNuRsbSoemWNBGiHjW1NSDwrmbs0h12v4yEKSrJ39espFzKMgtxCbpIIgLOtVQw2yvlJ4I6fZzYqKZVDG6wkgBu7TOAImGjQTNpVql6paofDOU5dhZRF4drluzwTj/cx/RQsU7gixYnQzmF2AOqAJuN7TrhrZAVJbof0cnTNFj8Cy37szoavsvdiQBiLdhTMKcqhI1zeF3jwtYKp4SF2p6B2ZKYPN5Pmv/ULaMzZe+42mQMhk1rU744Xg03Nqs6mq2pPthJGPA0qsAJqVb2/GrpNPPwotSjpdvNUVv2+CVQ4Wow4i9DHAdRLqs/mQy2kKyg== X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: bnBHJUpaxJnxV7xXrnBoVKShuSEmPfiICkvVqFRenVZZ2UL1/p1rfkZ1QbWKYaogGM8ifo+h+uaweYuvpRNcxOiwiEYKPL4b+j3oWJkxrHFBi4GncP7Yh8OWlqLIiRH3EjR/+PuYxVYmbjcWQzcZ9rwByLAhIQgBPy/nLI84YWZW00qMj9OsGVQuW9l7/Tfk0w/wTsnrZhS5JOv5SrzMNWccGa23ObR3Ma/39NRUqtopd/Xrr4JFrCBaPaAYmg937sO/mhOeiz2LEItMTgT/E32pq7hqmKguz0NzOPnMYcK+bwvNn3l5oAOb1lceT+tvVBnKJZ67CksTFnlmr5Is+o6Y1OQZSAoqoEAzMOrfHDKDhDEnHI+KkzQYcod5Hqt2+WID36Zj4eGf0qekCbbRsuRxhdM4EvDfMlinMFvAP3mFJ/SlZKRhBHOBj+b/F8szUnpiKR/QN9wYt/DJxNMCu+OS38p+q6yl1AiGkMeRSnPff1/Y2smZC7nEI/xZ+ZrnUFQ78lMz1y1hKLEnxyevHCXE+WwOfQE2tQ7hnfp8soFA3XeTf9dacTOj0zkOgh2lSQKiYfmsMcxJUx4IowXM1dl7R2iduqYYP+Ye2QmHU2KSuDM/SeSSFdIDYZZXYM0zJkmqXAeABbFnd6+DswDVAg== X-OriginatorOrg: ford.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Nov 2026 19:51:37.1494 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 063b645c-31e0-4b4e-4243-08df402d326a X-MS-Exchange-CrossTenant-Id: c990bb7a-51f4-439b-bd36-9c07fb1041c0 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=c990bb7a-51f4-439b-bd36-9c07fb1041c0;Ip=[148.163.138.245];Helo=[mx0b-00498f04.pphosted.com] X-MS-Exchange-CrossTenant-AuthSource: CY8PEPF00000054.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW6PR16MB5524 X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMTExMDA3OSBTYWx0ZWRfXw214bUuRx40I IJ5tAkIfrPNYmE3GY9OX9eDfRcBUttiBoT+YH0gs/D2NaOc7IMXGhbv6wf8/5KmY1IOX9s/jBeF wxmlY92A7f0bUApsP6+97SItN2AcHwpe+94k9iP+xku/NMG5pM9fmUk4llAI6GA/JP9D8F/4hoV okYv6Biq+qBmDVh01NJlwATkQOQdNgVPzTO3+CL/v2q+AozbWopkJMr0rMUW2j9xc5xosqPnyzg jlxnynzsV5XruZm1MQ1HKowDgOh0kskuLkZLYf8V4BYgQ9c8WGfCfphqn32mxV/xCvHFxMbM5mB jPtAmn0aJpIZ9g1AjgEEpjrdnOjvIbGHDwxgbChZx3Qa59T6xoLK4qd3igY6VZVjQrMqBPL7FMR Wnp7T1Q8s8SpptjcZ9hHxX1Q1jEwYKyPTkPirNI0Ht28o8iMSVeZZKmw8EyxMnWBrAIC/QEYxAy diorXp6x0YrWszpR+ig== X-Proofpoint-GUID: w6jW-0iDb_Ty0aISb0KgWNSefQ_P6RBY X-Proofpoint-ORIG-GUID: w6jW-0iDb_Ty0aISb0KgWNSefQ_P6RBY X-Proofpoint-Spam-Info: AW1haW4tMjYxMTExMDA3OSBTYWx0ZWRfXwOyzFhUuUrQs g4iNSHXV77+tFBJdlfGQjjb2Ap+y1NBMC7mMlDcOS1k9wt+YT5HDoe07qJ1Xx3k5MOivdJbcsbf tdrfo1yEhqqcmzTRTiM2aYpI892F2e7nVGHMYpN57U2m3I8rN2S4 X-Authority-Analysis: v=2.4 cv=Ed9d0/mC c=1 sm=1 tr=0 ts=6af4c754 cx=c_pps a=V3ntuBz9Vw3KuD7vyzUphg==:117 a=b7IhknPlfT0FN1EembXvig==:17 a=6eWqkTHjU83fiwn7nKZWdM+Sl24=:19 a=zJRp6_cAMcgA:10 a=3PXLN80vpJUA:10 a=6NUGLSImWEsA:10 a=w9pew1qAHqMA:10 a=VkNPw1HP01LnGYTKEx00:22 a=P_n1zlmtWsCQbjROFjcg:22 a=WER9OelvoqQQjwJToBYG:22 a=cbNQJ9GKAAAA:8 a=eLOO8zXXNe-oGWP2IY8A:9 a=DqJYxgmhk6moR-_7_KoZ:22 a=WmVTiCyuxqgg3mnwYu6p:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-11-11_05,2026-11-11_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 impostorscore=0 adultscore=0 priorityscore=1501 phishscore=0 clxscore=1015 malwarescore=0 lowpriorityscore=0 suspectscore=0 spamscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2611110079 X-purgate-ID: tlsNG-d62444/1794426709-BE07B757-3358AF15/0/0 X-purgate-type: clean X-purgate-size: 26785 X-ZohoMail-DKIM: pass (identity @ford.com) X-ZM-MESSAGEID: 1794426730097158500 Content-Type: text/plain; charset="utf-8" From: Denis Mukhin Add initial test suite for NS16550-compatible emulator. Signed-off-by: Denis Mukhin --- tests/emul-ns16x50/.gitignore | 3 + tests/emul-ns16x50/Makefile | 9 + tests/emul-ns16x50/main.c | 644 ++++++++++++++++++++++++++++++++++ tests/emul-ns16x50/patterns.c | 65 ++++ 4 files changed, 721 insertions(+) create mode 100644 tests/emul-ns16x50/.gitignore create mode 100644 tests/emul-ns16x50/Makefile create mode 100644 tests/emul-ns16x50/main.c create mode 100644 tests/emul-ns16x50/patterns.c diff --git a/tests/emul-ns16x50/.gitignore b/tests/emul-ns16x50/.gitignore new file mode 100644 index 000000000000..28fbd61de7b5 --- /dev/null +++ b/tests/emul-ns16x50/.gitignore @@ -0,0 +1,3 @@ +*.swo +*.swp + diff --git a/tests/emul-ns16x50/Makefile b/tests/emul-ns16x50/Makefile new file mode 100644 index 000000000000..11ddfc82fb74 --- /dev/null +++ b/tests/emul-ns16x50/Makefile @@ -0,0 +1,9 @@ +include $(ROOT)/build/common.mk + +NAME :=3D emul-ns16x50 +CATEGORY :=3D functional +TEST-ENVS :=3D hvm64 + +obj-perenv +=3D main.o patterns.o + +include $(ROOT)/build/gen.mk diff --git a/tests/emul-ns16x50/main.c b/tests/emul-ns16x50/main.c new file mode 100644 index 000000000000..39a566d2b1d5 --- /dev/null +++ b/tests/emul-ns16x50/main.c @@ -0,0 +1,644 @@ +/** + * Tests for NS16550-compatible emulator. + */ + +#include +#include + +const char test_title[] =3D "NS16550-compatible emulator tests"; + +extern const char *pattern_4096; + +#define COM_PORT(n,b) \ +{ \ + .name =3D n, \ + .base =3D b, \ + .reg_shift =3D 0, \ + .reg_width =3D 1, \ + .clk_freq =3D 1843200U, \ + .baud =3D 115200U, \ +} + +/* + * PC COM ports. + */ +static const struct ns16550 com_ports[] =3D { + COM_PORT("com1", 0x3f8U), + COM_PORT("com2", 0x2f8U), + COM_PORT("com3", 0x3e8U), + COM_PORT("com4", 0x2e8U), +}; + +static const struct ns16550 *uart; + +static int ns16550_parse_cmdline(const char *s) +{ + const char *console =3D "console=3D"; + size_t console_len =3D strlen(console); + unsigned int idx; + + if (!s) + return -1; + + /* console=3Dcom2 */ + while ( *s && *s =3D=3D ' ' ) + s++; + + if ( strncmp(s, console, console_len) ) + return -1; + + s +=3D console_len; + + for ( idx =3D 0; idx < ARRAY_SIZE(com_ports); idx++ ) + if ( !strncmp(s, com_ports[idx].name, strlen(com_ports[idx].name))= ) + break; + + if ( idx =3D=3D ARRAY_SIZE(com_ports) ) + return -1; + + return idx; +} + +void test_setup(void) +{ + const char *cmdline; + int idx; + + if ( !IS_DEFINED(CONFIG_HVM) ) + return xtf_skip("N/A\n"); + + cmdline =3D (const char *)(uintptr_t)pvh_start_info->cmdline_paddr; + idx =3D ns16550_parse_cmdline(cmdline); + if ( idx < 0 ) + return xtf_failure("not configured\n"); + + uart =3D &com_ports[idx]; + printk("Testing with %s (0x%lx)...\n", uart->name, uart->base); + + if ( ns16550_init(uart) ) + return xtf_failure("failed to initialize\n"); +} + +static void test_thr(const char *banner) +{ + uint8_t iir; + + ns16550_outb(uart, UART_IER, UART_IER_ETHREI); + + ns16550_puts(uart, pattern_4096); + + iir =3D ns16550_inb(uart, UART_IIR); + if ( (iir & (UART_IIR_NOINT | UART_IIR_THR)) =3D=3D UART_IIR_NOINT ) + return xtf_failure("%s: expect UART_IIR_THR\n", banner); + + ns16550_outb(uart, UART_IER, 0); +} + +static void test_scr(const char *banner) +{ + unsigned int in, out; + + /* Enable all interrupt reasons */ + ns16550_outb(uart, UART_IER, + UART_IER_ERDAI | UART_IER_ETHREI | + UART_IER_ELSI | UART_IER_EMSI); + + for ( in =3D 0; in < 256; in++ ) + { + ns16550_outb(uart, UART_SCR, in); + out =3D ns16550_inb(uart, UART_SCR); + if ( in !=3D out ) + return xtf_failure("%s: wrote 0x%02x, read 0x%02x\n", + banner, in, out); + } + + ns16550_outb(uart, UART_IER, 0); +} + +static void test_lcr(const char *banner) +{ + static const uint8_t patterns[] =3D { + 0, + UART_LCR_WLEN8, + UART_LCR_WLEN8 | UART_LCR_STB, + UART_LCR_WLEN7 | UART_LCR_PE | UART_LCR_EP, + UART_LCR_WLEN8 | UART_LCR_SB, + UART_LCR_WLEN8 | UART_LCR_DLAB, + 0xff, + }; + unsigned int i; + + for ( i =3D 0; i < ARRAY_SIZE(patterns); i++ ) + { + uint8_t r; + + ns16550_outb(uart, UART_LCR, patterns[i]); + r =3D ns16550_inb(uart, UART_LCR); + if ( r !=3D patterns[i] ) + xtf_failure("%s: wrote %#x, read %#x\n", + banner, patterns[i], r); + } + + ns16550_outb(uart, UART_LCR, UART_LCR_8N1); +} + +static void test_ier(const char *banner) +{ + uint8_t in, out; + + /* Test valid permutations. */ + for ( out =3D 0; out <=3D UART_IER_MASK; out++ ) + { + ns16550_outb(uart, UART_IER, out); + in =3D ns16550_inb(uart, UART_IER); + if ( in !=3D out ) + xtf_failure("%s: wrote %#x, read %#x\n", + banner, out, in); + } + + /* Ensure reserved bits are not touched. */ + out =3D 0xff; + ns16550_outb(uart, UART_IER, out); + in =3D ns16550_inb(uart, UART_IER); + if ( in !=3D UART_IER_MASK ) + xtf_failure("%s: wrote %x, read %#x (expected %x)\n", + banner, out, in, UART_IER_MASK); +} + +static void test_divisor_latch(const char *banner) +{ + /* + * divisor =3D 115200 / baud + * divisor 0 is invalid + * + * DLL =3D divisor & 0xff + * DLM =3D divisor >> 8 + */ + static const struct { + uint8_t dll; + uint8_t dlm; + } baud_rates[] =3D { + { 0x00, 0x00 }, /* unsupported */ + { 0xff, 0xff }, /* unsupported */ + { 0x00, 0x09 }, /* 50 baud */ + { 0x00, 0x06 }, /* 75 baud */ + { 0x17, 0x04 }, /* 110 baud (approx) */ + { 0x59, 0x03 }, /* 134.5 baud (approx) */ + { 0x00, 0x03 }, /* 150 baud */ + { 0x80, 0x01 }, /* 300 baud */ + { 0xc0, 0x00 }, /* 600 baud */ + { 0x60, 0x00 }, /* 1200 baud */ + { 0x40, 0x00 }, /* 1800 baud */ + { 0x3a, 0x00 }, /* 2000 baud (approx) */ + { 0x30, 0x00 }, /* 2400 baud */ + { 0x20, 0x00 }, /* 3600 baud */ + { 0x18, 0x00 }, /* 4800 baud */ + { 0x10, 0x00 }, /* 7200 baud */ + { 0x0c, 0x00 }, /* 9600 baud */ + { 0x08, 0x00 }, /* 14400 baud */ + { 0x06, 0x00 }, /* 19200 baud */ + { 0x04, 0x00 }, /* 28800 baud */ + { 0x03, 0x00 }, /* 38400 baud */ + { 0x02, 0x00 }, /* 57600 baud */ + { 0x01, 0x00 }, /* 115200 baud */ + }; + unsigned i, n; + + /* DLAB=3D0 */ + ns16550_outb(uart, UART_LCR, UART_LCR_8N1); + /* Plant IER - that will be asserted later */ + ns16550_outb(uart, UART_IER, UART_IER_MASK); + + for ( i =3D 0; i < ARRAY_SIZE(baud_rates); i++ ) + { + uint8_t dll, dlm, r; + + /* DLAB=3D1 */ + ns16550_outb(uart, UART_LCR, UART_LCR_DLAB); + + /* Pre-poison to catch any cross-write. */ + ns16550_outb(uart, UART_DLL, ~baud_rates[i].dll); + ns16550_outb(uart, UART_DLM, ~baud_rates[i].dlm); + + ns16550_outb(uart, UART_DLL, baud_rates[i].dll); + ns16550_outb(uart, UART_DLM, baud_rates[i].dlm); + + dll =3D ns16550_inb(uart, UART_DLL); + dlm =3D ns16550_inb(uart, UART_DLM); + + if ( dll !=3D baud_rates[i].dll || dlm !=3D baud_rates[i].dlm ) + xtf_failure("%s: 1st attempt failed: wrote {%#x,%#x}, read {%#= x,%#x}\n", + banner, + baud_rates[i].dll, baud_rates[i].dlm, + dll, dlm); + + /* Flip DLAB, plant THR, assert on planted IER */ + for ( n =3D 0; n < 8; n++ ) + { + ns16550_outb(uart, UART_LCR, UART_LCR_8N1); + + /* THR offset is the same as DLL */ + ns16550_outb(uart, UART_THR, '\0'); + + /* IER offset is the same as DLM */ + r =3D ns16550_inb(uart, UART_IER); + if ( r !=3D UART_IER_MASK ) + xtf_failure("%s: IER not survided DLAB flip %d: read %#x e= xpect %#x\n", + banner, n, r, UART_IER_MASK); + + ns16550_outb(uart, UART_LCR, UART_LCR_DLAB); + } + + /* Check divisor latch survives */ + dll =3D ns16550_inb(uart, UART_DLL); + dlm =3D ns16550_inb(uart, UART_DLM); + + if ( dll !=3D baud_rates[i].dll || dlm !=3D baud_rates[i].dlm ) + xtf_failure("%s: 2nd attempt failed: wrote {%#x,%#x}, read {%#= x,%#x}\n", + banner, + baud_rates[i].dll, baud_rates[i].dlm, + dll, dlm); + + /* DLAB=3D0 */ + ns16550_outb(uart, UART_LCR, UART_LCR_8N1); + } +} + +static void test_mcr(const char *banner) +{ + uint8_t in, out; + + /* + * Test combinations of DTR/RTS/OUT1/OUT2 except LOOP, which + * is exercised by a separate test. + */ + for ( out =3D 0; out <=3D (UART_MCR_DTR | UART_MCR_RTS | + UART_MCR_OUT1 | UART_MCR_OUT2); out++ ) + { + ns16550_outb(uart, UART_MCR, out); + in =3D ns16550_inb(uart, UART_MCR); + if ( in !=3D out ) + xtf_failure("%s: wrote %#x, read %#x\n", banner, in, out); + } + + /* + * Reserved bits must read as zero. + */ + ns16550_outb(uart, UART_MCR, 0xff); + in =3D ns16550_inb(uart, UART_MCR); + if ( in & ~UART_MCR_MASK ) + xtf_failure("%s: reserved bits readable: %#x\n", banner, in); + + ns16550_outb(uart, UART_MCR, 0); +} + +static void test_fcr_toggle(const char *banner) +{ + uint8_t iir; + + ns16550_outb(uart, UART_FCR, 0); + iir =3D ns16550_inb(uart, UART_IIR); + if ( iir & UART_IIR_FE ) + xtf_failure("%s: IIR FIFO bits set with UART_FCR_ENABLE clear: %#x= \n", + banner, iir); + + ns16550_outb(uart, UART_FCR, UART_FCR_ENABLE); + iir =3D ns16550_inb(uart, UART_IIR); + if ( (iir & UART_IIR_FE) !=3D UART_IIR_FE ) + xtf_failure("%s: IIR FIFO bits not 0b11 with UART_FCR_ENABLE set: = %#x\n", + banner, iir); + + ns16550_outb(uart, UART_FCR, 0); + iir =3D ns16550_inb(uart, UART_IIR); + if ( iir & UART_IIR_FE ) + xtf_failure("%s: IIR FIFO bits stuck after UART_FCR_ENABLE clear: = %#x\n", + banner, iir); +} + +static void test_fcr_trigger(const char *banner) +{ + static const uint8_t levels[] =3D { + UART_FCR_TRG1, + UART_FCR_TRG4, + UART_FCR_TRG8, + UART_FCR_TRG14, + }; + unsigned int i; + + for ( i =3D 0; i < ARRAY_SIZE(levels); i++ ) + { + uint8_t iir; + + ns16550_outb(uart, UART_FCR, UART_FCR_ENABLE | levels[i]); + iir =3D ns16550_inb(uart, UART_IIR); + +#ifdef STRICT + if ( !(iir & UART_IIR_NOINT) ) + xtf_failure("%s: FCR trigger %#x raised an interrupt (IIR %#x)= \n", + banner, levels[i], iir); +#endif + if ( (iir & UART_IIR_FE) !=3D UART_IIR_FE ) + xtf_failure("%s: FIFO indication lost at trigger %#x (IIR %#x)= \n", + banner, levels[i], iir); + } +} + +static void test_fcr_clear(const char *banner) +{ + unsigned int i; + uint8_t lsr; + + ns16550_outb(uart, UART_IER, UART_IER_MASK); + + for ( i =3D 0; i < 16; i++ ) + { + ns16550_outb(uart, UART_FCR, + UART_FCR_ENABLE | UART_FCR_CLRX | UART_FCR_CLTX); + } + + /* Plant a byte via loopback. */ + ns16550_outb(uart, UART_MCR, UART_MCR_LOOP); + ns16550_outb(uart, UART_THR, 'A'); + + lsr =3D ns16550_inb(uart, UART_LSR); + if ( lsr & UART_LSR_DR ) + { + ns16550_outb(uart, UART_FCR, UART_FCR_ENABLE | UART_FCR_CLRX); + lsr =3D ns16550_inb(uart, UART_LSR); + if ( lsr & UART_LSR_DR ) + xtf_failure("%s: DR still set after UART_FCR_CLRX (LSR %#x)\n", + banner, lsr); + + ns16550_outb(uart, UART_MCR, 0); + ns16550_outb(uart, UART_FCR, 0); + } + else + { + return xtf_failure("%s: loopback byte not delivered (LSR %#x)\n", + banner, lsr); + } +} + +/* + * MCR.LOOP. Data path first, then the modem path (in loopback the + * four MCR outputs route to the four MSR inputs: DTR->DSR, RTS->CTS, + * OUT1->RI, OUT2->DCD). + */ +static void test_loopback_data_path(const char *banner) +{ + unsigned int v; + + ns16550_outb(uart, UART_LCR, UART_LCR_8N1); + ns16550_outb(uart, UART_IER, 0); + ns16550_outb(uart, UART_FCR, UART_FCR_CLRX | UART_FCR_CLTX); + + /* Discard any stale delta state. */ + ns16550_inb(uart, UART_MSR); + + ns16550_outb(uart, UART_MCR, UART_MCR_LOOP); + if ( !(ns16550_inb(uart, UART_MCR) & UART_MCR_LOOP) ) + return xtf_failure("%s: UART_MCR_LOOP did not stick\n", + banner); + + for ( v =3D 0; v < 256; v++ ) + { + uint8_t lsr, r; + + lsr =3D ns16550_inb(uart, UART_LSR); + if ( !(lsr & UART_LSR_THRE) ) + return xtf_failure("%s: THRE clear before THR read %#x (LSR %#= x)\n", + banner, v, lsr); + + ns16550_outb(uart, UART_THR, v); + + lsr =3D ns16550_inb(uart, UART_LSR); + if ( !(lsr & UART_LSR_DR) ) + return xtf_failure("%s: DR clear after THT read %#x (LSR %#x)\= n", + banner, v, lsr); + if ( lsr & UART_LSR_ERRORS ) + return xtf_failure("%s: error status after THR read %#x (LSR %= #x)\n", + banner, v, lsr); + + r =3D ns16550_inb(uart, UART_RBR); + if ( r !=3D v ) + return xtf_failure("%s: loopback corrupted byte: sent %#x, got= %#x\n", + banner, v, r); + + lsr =3D ns16550_inb(uart, UART_LSR); + if ( lsr & UART_LSR_DR ) + return xtf_failure("%s: DR still set after draining RBR (LSR %= #x)\n", + banner, lsr); + } +} + +static void test_loopback_modem_path(const char *banner) +{ + uint8_t msr, mask; + + ns16550_outb(uart, UART_LCR, UART_LCR_8N1); + ns16550_outb(uart, UART_IER, 0); + ns16550_outb(uart, UART_FCR, UART_FCR_CLRX | UART_FCR_CLTX); + + /* Discard any stale delta state. */ + ns16550_inb(uart, UART_MSR); + ns16550_outb(uart, UART_MCR, UART_MCR_LOOP | UART_MCR_DTR | + UART_MCR_RTS | UART_MCR_OUT1 | + UART_MCR_OUT2); + + if ( !(ns16550_inb(uart, UART_MCR) & UART_MCR_LOOP) ) + return xtf_failure("%s: UART_MCR_LOOP did not stick\n", + banner); + + msr =3D ns16550_inb(uart, UART_MSR); + mask =3D UART_MSR_CTS | UART_MSR_DSR | UART_MSR_RI | UART_MSR_DCD | + UART_MSR_DCTS | UART_MSR_DDSR | UART_MSR_TERI | UART_MSR_DDCD; + if ( msr !=3D mask ) + xtf_failure("%s: MSR after raising all outputs: %#x (expected %#x)= \n", + banner, msr, mask); + + /* The read above consumed the deltas; lines persist. */ + msr =3D ns16550_inb(uart, UART_MSR); + mask =3D UART_MSR_CTS | UART_MSR_DSR | UART_MSR_RI | UART_MSR_DCD; + if ( msr !=3D mask ) + xtf_failure("%s: MSR deltas not cleared by read: %#x (expected %#x= )\n", + banner, msr, mask); + + /* + * Drop all outputs. Lines fall, DCTS/DDSR/DDCD latch again, and + * this time no TERI. + */ + ns16550_outb(uart, UART_MCR, UART_MCR_LOOP); + + msr =3D ns16550_inb(uart, UART_MSR); + mask =3D UART_MSR_DCTS | UART_MSR_DDSR | UART_MSR_DDCD; + if ( msr !=3D mask ) + xtf_failure("%s: MSR after dropping all outputs: %#x (expected %#x= )\n", + banner, msr, mask); + + msr =3D ns16550_inb(uart, UART_MSR); + if ( msr ) + xtf_failure("%s: MSR not clear after delta consumption: %#x\n", + banner, msr); +} + +static void test_iir_noint(const char *banner) +{ + uint8_t iir; + + ns16550_outb(uart, UART_FCR, UART_FCR_CLRX | UART_FCR_CLTX); + ns16550_outb(uart, UART_MCR, UART_MCR_LOOP); + ns16550_outb(uart, UART_IER, 0); + ns16550_outb(uart, UART_THR, '\0'); + + iir =3D ns16550_inb(uart, UART_IIR); + if ( !(iir & UART_IIR_NOINT) ) + xtf_failure("%s: interrupt reported with IER =3D=3D 0: IIR %#x\n", + banner, iir); +} + +static void test_iir_thr_source(const char *banner) +{ + uint8_t iir; + + ns16550_outb(uart, UART_FCR, UART_FCR_CLRX | UART_FCR_CLTX); + ns16550_outb(uart, UART_MCR, UART_MCR_LOOP); + + /* + * THR is already empty, so enabling ETHREI must immediately + * assert the THR-empty source. + */ + ns16550_outb(uart, UART_IER, UART_IER_ETHREI); + + iir =3D ns16550_inb(uart, UART_IIR); + if ( (iir & UART_IIR_MASK) !=3D UART_IIR_THR ) + xtf_failure("%s: THR source not asserted on ETHREI enable: IIR %#x= \n", + banner, iir); + + ns16550_outb(uart, UART_THR, '\0'); + ns16550_drain_rx(uart); + + iir =3D ns16550_inb(uart, UART_IIR); + if ( (iir & UART_IIR_MASK) !=3D UART_IIR_THR ) + xtf_failure("%s: THR source not regenerated by THR write: IIR %#x\= n", + banner, iir); + + /* Disabling ETHREI must retract the indication. */ + ns16550_outb(uart, UART_IER, 0); + iir =3D ns16550_inb(uart, UART_IIR); + if ( !(iir & UART_IIR_NOINT) ) + xtf_failure("%s: THR source survives ETHREI disable: IIR %#x\n", + banner, iir); +} + +static void test_iir_rda_source(const char *banner) +{ + uint8_t iir; + + ns16550_outb(uart, UART_FCR, UART_FCR_CLRX | UART_FCR_CLTX); + ns16550_outb(uart, UART_MCR, UART_MCR_LOOP); + ns16550_outb(uart, UART_IER, UART_IER_ERDAI); + + /* Nothing pending yet. */ + iir =3D ns16550_inb(uart, UART_IIR); + if ( !(iir & UART_IIR_NOINT) ) + xtf_failure("%s: RDA asserted with no Rx data: IIR %#x\n", + banner, iir); + + /* Plant a byte; RDA must assert. */ + ns16550_outb(uart, UART_THR, '\0'); + iir =3D ns16550_inb(uart, UART_IIR); + if ( (iir & UART_IIR_MASK) !=3D UART_IIR_RDA ) + xtf_failure("%s: RDA not asserted with Rx data pending: IIR %#x\n", + banner, iir); + + iir =3D ns16550_inb(uart, UART_IIR); + if ( (iir & UART_IIR_MASK) !=3D UART_IIR_RDA ) + xtf_failure("%s: RDA cleared by IIR read: IIR %#x\n", + banner, iir); + + ns16550_inb(uart, UART_RBR); + iir =3D ns16550_inb(uart, UART_IIR); + if ( !(iir & UART_IIR_NOINT) ) + xtf_failure("%s: RDA not cleared by draining RBR: IIR %#x\n", + banner, iir); +} + +static void test_iir_priority(const char *banner) +{ + uint8_t iir; + + ns16550_outb(uart, UART_IER, UART_IER_ERDAI | UART_IER_ETHREI); + ns16550_outb(uart, UART_THR, '\0'); + + /* + * Priority order is LSI > RDA > timeout > THR > MSI + */ + iir =3D ns16550_inb(uart, UART_IIR); + if ( (iir & UART_IIR_MASK) !=3D UART_IIR_RDA ) + xtf_failure("%s: RDA does not outrank THR: IIR %#x\n", + banner, iir); + + /* + * Drain Rx; THR-empty is still outstanding (the THR write above + * re-armed it, and no IIR read has identified it as the source + * while it was the highest priority), so IIR falls back to THR. + */ + ns16550_inb(uart, UART_RBR); + iir =3D ns16550_inb(uart, UART_IIR); + if ( (iir & UART_IIR_MASK) !=3D UART_IIR_THR ) + xtf_failure("%s: THR not reported after RDA drained: IIR %#x\n", + banner, iir); +} + +struct test_case { + const char *banner; + void (*run)(const char *banner); +}; + +#define TEST_CASE(b, r) { .banner =3D (b), .run =3D (r) } + +static const struct test_case test_suite[] =3D { + TEST_CASE("THR", test_thr), + TEST_CASE("SCR", test_scr), + TEST_CASE("LCR", test_lcr), + TEST_CASE("IER", test_ier), + TEST_CASE("DLL/DLM", test_divisor_latch), + TEST_CASE("MCR", test_mcr), + TEST_CASE("FCR-togggle", test_fcr_toggle), + TEST_CASE("FCR-trigger", test_fcr_trigger), + TEST_CASE("FCR-clear", test_fcr_clear), + TEST_CASE("LOOPBACK-data", test_loopback_data_path), + TEST_CASE("LOOPBACK-modem", test_loopback_modem_path), + TEST_CASE("IIR-noint", test_iir_noint), + TEST_CASE("IIR-thr", test_iir_thr_source), + TEST_CASE("IIR-rda", test_iir_rda_source), + TEST_CASE("IIR-prio", test_iir_priority), +}; + +void test_main(void) +{ + unsigned i; + + for ( i =3D 0; i < ARRAY_SIZE(test_suite); i++ ) + { + const struct test_case *t =3D &test_suite[i]; + + printk(" Test: %s\n", t->banner); + t->run(t->banner); + } + + if ( !xtf_status_reported() ) + xtf_success(NULL); + + xtf_report_status(); +} + +/* + * Local variables: + * mode: C + * c-file-style: "BSD" + * c-basic-offset: 4 + * tab-width: 4 + * indent-tabs-mode: nil + * End: + */ diff --git a/tests/emul-ns16x50/patterns.c b/tests/emul-ns16x50/patterns.c new file mode 100644 index 000000000000..b47cb6345364 --- /dev/null +++ b/tests/emul-ns16x50/patterns.c @@ -0,0 +1,65 @@ +const char *pattern_4096 =3D + "The quick brown fox jumps over the lazy dog. The quick brown fox" + " jumps over the lazy dog. The quick brown fox jumps over the laz" + "y dog. The quick brown fox jumps over the lazy dog. The quick br" + "own fox jumps over the lazy dog. The quick brown fox jumps over " + "the lazy dog. The quick brown fox jumps over the lazy dog. The q" + "uick brown fox jumps over the lazy dog. The quick brown fox jump" + "s over the lazy dog. The quick brown fox jumps over the lazy dog" + ". The quick brown fox jumps over the lazy dog. The quick brown f" + "ox jumps over the lazy dog. The quick brown fox jumps over the l" + "azy dog. The quick brown fox jumps over the lazy dog. The quick " + "brown fox jumps over the lazy dog. The quick brown fox jumps ove" + "r the lazy dog. The quick brown fox jumps over the lazy dog. The" + " quick brown fox jumps over the lazy dog. The quick brown fox ju" + "mps over the lazy dog. The quick brown fox jumps over the lazy d" + "og. The quick brown fox jumps over the lazy dog. The quick brown" + " fox jumps over the lazy dog. The quick brown fox jumps over the" + " lazy dog. The quick brown fox jumps over the lazy dog. The quic" + "k brown fox jumps over the lazy dog. The quick brown fox jumps o" + "ver the lazy dog. The quick brown fox jumps over the lazy dog. T" + "he quick brown fox jumps over the lazy dog. The quick brown fox " + "jumps over the lazy dog. The quick brown fox jumps over the lazy" + " dog. The quick brown fox jumps over the lazy dog. The quick bro" + "wn fox jumps over the lazy dog. The quick brown fox jumps over t" + "he lazy dog. The quick brown fox jumps over the lazy dog. The qu" + "ick brown fox jumps over the lazy dog. The quick brown fox jumps" + " over the lazy dog. The quick brown fox jumps over the lazy dog." + " The quick brown fox jumps over the lazy dog. The quick brown fo" + "x jumps over the lazy dog. The quick brown fox jumps over the la" + "zy dog. The quick brown fox jumps over the lazy dog. The quick b" + "rown fox jumps over the lazy dog. The quick brown fox jumps over" + " the lazy dog. The quick brown fox jumps over the lazy dog. The " + "quick brown fox jumps over the lazy dog. The quick brown fox jum" + "ps over the lazy dog. The quick brown fox jumps over the lazy do" + "g. The quick brown fox jumps over the lazy dog. The quick brown " + "fox jumps over the lazy dog. The quick brown fox jumps over the " + "lazy dog. The quick brown fox jumps over the lazy dog. The quick" + " brown fox jumps over the lazy dog. The quick brown fox jumps ov" + "er the lazy dog. The quick brown fox jumps over the lazy dog. Th" + "e quick brown fox jumps over the lazy dog. The quick brown fox j" + "umps over the lazy dog. The quick brown fox jumps over the lazy " + "dog. The quick brown fox jumps over the lazy dog. The quick brow" + "n fox jumps over the lazy dog. The quick brown fox jumps over th" + "e lazy dog. The quick brown fox jumps over the lazy dog. The qui" + "ck brown fox jumps over the lazy dog. The quick brown fox jumps " + "over the lazy dog. The quick brown fox jumps over the lazy dog. " + "The quick brown fox jumps over the lazy dog. The quick brown fox" + " jumps over the lazy dog. The quick brown fox jumps over the laz" + "y dog. The quick brown fox jumps over the lazy dog. The quick br" + "own fox jumps over the lazy dog. The quick brown fox jumps over " + "the lazy dog. The quick brown fox jumps over the lazy dog. The q" + "uick brown fox jumps over the lazy dog. The quick brown fox jump" + "s over the lazy dog. The quick brown fox jumps over the lazy dog" + ". The quick brown fox jumps over the lazy dog. The quick brown f" + "ox jumps over the lazy dog. The quick brown fox jumps over the l" + "azy dog. The quick brown fox jumps over the lazy dog. The quick " + "brown fox jumps over the lazy dog. The quick brown fox jumps ove" + "r the lazy dog. The quick brown fox jumps over the lazy dog. The" + " quick brown fox jumps over the lazy dog. The quick brown fox ju" + "mps over the lazy dog. The quick brown fox jumps over the lazy d" + "og. The quick brown fox jumps over the lazy dog. The quick brown" + " fox jumps over the lazy dog. The quick brown fox jumps over the" + " lazy dog. The quick brown fox jumps over the lazy dog. The quic" + "k brown fox jumps over the lazy dog. The quick brown fox jumps o" + "ver the lazy dog. The quick brown fox jumps over the lazy dog.\n"; --=20 2.56.0