From patchwork Wed Mar 20 08:39:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Roth X-Patchwork-Id: 13597607 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2044.outbound.protection.outlook.com [40.107.237.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B09B511720 for ; Wed, 20 Mar 2024 08:57:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.237.44 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710925041; cv=fail; b=m+1ROm6MqEuT3Gj0zH6pcxlGvJOkndN+KStYy7q2zd0wyYshHeErLzHWhP4vD6DWykOPW0dly9CnDqhZIWBo2w/CeizSzJBKv1fwFm3PS+t1mrWQP9I/NwgZwXSzdem+KuIxSXuohqcm/2hVdSTasEIKYwBIbQ2tAW2nWiEUdzM= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710925041; c=relaxed/simple; bh=rGbxOApkKNRkqDN1dLGcMuX1OiUE1nlpQR+8QaSU+9o=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=E0lkmgJKjbiGLNHMGT5NC2TPVo186IxjD7CzqZQmGC1DdLRkB06KhbVikId/rP7ckOKkeIcBx6wJh15WNwFPlnFophhw5T+MAJFb0kuGuMZxMuU+lWqLFl+gTAPtCHxuiMszHAQ9V95tYpoU2DW7DzcF9/w8MsbqKLJEoc+54Ug= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=H0b1MM2i; arc=fail smtp.client-ip=40.107.237.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b="H0b1MM2i" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KFF+D6N4Fa+YL52gzdMGOM1rlPKEVNCqT3gVufsKrMpsGyE4B7TwJ2OIIZ8Ew+/X40m23WDAn1Ne5RAxrM4zBZNP78wPJHnHBMXDa2Y0K4y28id2Ff7GKmAKFrpVSQo9hcLRHjj6t0Rq7XVsVfP+aH2DcXReC9ZWvbKNVahOwV9QDZgdbUCsWVvSqJFGnB4oFDMv1BlFmbxuXMgHhQbHrbNg1Mc55jJ8+25IxdqNnio4E0JyfpmhsQhFDf3qRnAug6KFoDILIUS03da0ubFGA0jE2J/YWtO34WFPBmcXD3rzXZTKoxcdlMA7+BG8lBwJltfkrB9Dk19mwv1XbF3PFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xeQHQNX4ESsynKfd1VItjvo9w0VkudnViDwXsXm7N64=; b=NNbc+oBPenTWLphVC29e45uN0wqyLNWJIrHWDTJaeVhA/BFtTvPy5FtX3ydyQcBa5IRUmgLe4934YXa6zd3pVsP/YXJuzE4JEL/guroMev9DESZNVnA6vCKURa9boJA2ch3myxG+ME61v7Y9R7ID2GihjhjiHyrlDAxqM5bE/1ZngymBPLWLh4D9q8ZWfV/ZfkjtDWzPYDhmCtut6eysv2cVE93o4PCTa+q3GlXzoM+nPuZQOKXXewvQbACYJi1v0QQZR2PJdme7ojwmeWuJTbz5k/iUWtozroYhByd1+DDvFKlvQhbXx/uk2uxDcnzpFRfiQLFItggiBYRBv4wwjA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=nongnu.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xeQHQNX4ESsynKfd1VItjvo9w0VkudnViDwXsXm7N64=; b=H0b1MM2i1h/uGWcManH/GHan7jL1CbgJesaS4TEClhAnYrbO/lXERNDtd9xd+XtjWAiPaq7sph2yXAFjir+CcqZKXzznEAvDi8yCy2qJ2HSPL5jdVKiSo7y/Am42DZSPkogRp6+hfLVbw8pj8u0EiFGqyiu51Q3YVah+htWe2XM= Received: from BYAPR07CA0040.namprd07.prod.outlook.com (2603:10b6:a03:60::17) by SJ2PR12MB8978.namprd12.prod.outlook.com (2603:10b6:a03:545::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.34; Wed, 20 Mar 2024 08:57:17 +0000 Received: from CO1PEPF000044F3.namprd05.prod.outlook.com (2603:10b6:a03:60:cafe::1c) by BYAPR07CA0040.outlook.office365.com (2603:10b6:a03:60::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.27 via Frontend Transport; Wed, 20 Mar 2024 08:57:17 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CO1PEPF000044F3.mail.protection.outlook.com (10.167.241.73) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7409.10 via Frontend Transport; Wed, 20 Mar 2024 08:57:16 +0000 Received: from localhost (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Wed, 20 Mar 2024 03:57:12 -0500 From: Michael Roth To: CC: , Tom Lendacky , "Paolo Bonzini" , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , Markus Armbruster , Pankaj Gupta , Xiaoyao Li , Isaku Yamahata Subject: [PATCH v3 05/49] [TEMP] hw/i386: Remove redeclaration of struct setup_data Date: Wed, 20 Mar 2024 03:39:01 -0500 Message-ID: <20240320083945.991426-6-michael.roth@amd.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240320083945.991426-1-michael.roth@amd.com> References: <20240320083945.991426-1-michael.roth@amd.com> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000044F3:EE_|SJ2PR12MB8978:EE_ X-MS-Office365-Filtering-Correlation-Id: e919ae73-7d6b-459a-bcf5-08dc48bbbe67 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Aw9n/6Y14j5OohTFLUV52M5k9bpA5dPsi7mAQPC8NNU+WOCUKjjM7G+7gaDxRhpZX+PHDXstsPN7J1SkAZOuxT+Vq3Kty4Wy+x6+5R/9aevvG9RfcqWd2nCMKy+WZyjp8sokYwS7JC/kM3SOlYsRRqX2OUpROp0yGLfdIiLWGe63e+xHiucIeTtvm98Xenj1NqUo3pBF2cFy//6K1xJSOjXIFHzos9mvn1EEms/p6Y7hRPEDvn6Ji44LDfzthUZ4h6+S+Uwoaf1zA0JvQvKoFbqIdEy6xsEWwykZEB/7rE85/pUfjc7oH5B9xvSDyFDHvOJ+IMBj0MjI1eUkjPjfB6EZy1DCo5HBVjrIeaflpQcsi9j4TSwZwVZYB6QFrgM+hqVEWmh/+RidB3Y1/LkS3APnt5YSuhFieKmfpmMkyFx59+LcFKICp+PBmzuvjk8PMn5X4LhLzPa60syvBg5boidqXMwQpRHCkqkCpkOv60bJbtjXH5fL3ajnzrlo6HmDqGCPjo5Knmlwzzga7wqxQPB0vRghPT4vnhslbZr95SCHMRZgvd/DsWi/EwV+cYJzoRO0Q+I0F5rkpH1/9KIzY0nFR2dyOq/WZFrMBEnkxrGfoNSEkgS4lXB/XkIkVZ1G5FgiZdD9hwosGVtuIvmjAi7phFf2h8zNwZeT/RXRJtzPjWsdSU7jBp4Ogdr2zaUAduZZ6/lgb0kjjuDEMbMHcV/JQw6A26goFAgY0oNj6d8NVJnIW8yzzb0DMmonSxxF X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(1800799015)(376005)(82310400014)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2024 08:57:16.8759 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e919ae73-7d6b-459a-bcf5-08dc48bbbe67 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000044F3.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8978 TODO: this needs to be done as part of header update to avoid temporary build bisect breakage. Keeping it separate for reference. It is now provided by kernel headers. Signed-off-by: Michael Roth --- hw/i386/x86.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/hw/i386/x86.c b/hw/i386/x86.c index 2d4b148cd2..825dc4c735 100644 --- a/hw/i386/x86.c +++ b/hw/i386/x86.c @@ -679,14 +679,6 @@ DeviceState *ioapic_init_secondary(GSIState *gsi_state) return dev; } -struct setup_data { - uint64_t next; - uint32_t type; - uint32_t len; - uint8_t data[]; -} __attribute__((packed)); - - /* * The entry point into the kernel for PVH boot is different from * the native entry point. The PVH entry is defined by the x86/HVM