[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 0/2] x86/xen: simplify irq pvops
- To: Juergen Gross <jgross@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, x86@xxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx
- From: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>
- Date: Fri, 29 Oct 2021 08:21:41 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
- 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=74H8xL+AFXbdcctO+eR2OVdHELwj+SaH8xrr2PwQCVU=; b=MaAfH87KQuNdHECpVUHKUMNs6euCaefaxmKUc8nFMwPIxPO3YYOZ4qg11SDry0HWoj5HB4j61mrWnh4Z0mZZxOoBM1/LhAfvoqnbXxjPUNdWuDeWAhCSxOTi0nSCQLQb1k1qcrjdR5yi5T3UozR07tb1dTjJMFKpZio4fPTDPlsIhXoVWZBnLmzrpr3gYortWmm/wJgXz5Tha/3fNEN6XVhNlb04utbS+++5ZuOYuS1VQkGPTJv1bpSSqMv+hnQ8ATLX5yyQekl7SXrBQybJ924zmUlcsZ0cZaL0FbGT6ZqaJHiAK3BLC6I2tH4TxfOsrVbc3F+e0XDMJsgiiHjDcQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=P+cvEHky0rfxUAp9FfKOCbQvp7lu5wTFzSYudoIGcPZp0LGYkTbHFjPcD1+IPOLvPNoDAOnQIDcmWlI+pnVltX8sAGphbene7rYwpUdNElZH9/uLMHB76ecnyn3L13CFukmLo0Wqfj4DTLtcmXB3T3u2Tv6kWm9HuWoxcCFIi6xx3ybux4dIWiwpByn7+U7Ly7IZhXRClMOfgw2zzfywTywYNnNplBLzzwHx8mWt7RVSXMr3DWrnXnOYva+ivJKI2Vbk66FYGNZSY6W58ugNfwpf9/b8IbxSE8QHGlFRUx1zbwpcs9TbyI0GS12QcMhNGomZdPPYcfmJgY7HHPjQkQ==
- Authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=oracle.com;
- Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Borislav Petkov <bp@xxxxxxxxx>, Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>, "H. Peter Anvin" <hpa@xxxxxxxxx>, Deep Shah <sdeep@xxxxxxxxxx>, "VMware, Inc." <pv-drivers@xxxxxxxxxx>
- Delivery-date: Fri, 29 Oct 2021 12:22:35 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 10/28/21 3:27 AM, Juergen Gross wrote:
The pvops function for Xen PV guests handling the interrupt flag are
much more complex than needed.
With the supported Xen hypervisor versions they can be simplified a
lot, especially by removing the need for disabling preemption.
Juergen Gross (2):
x86/xen: remove xen_have_vcpu_info_placement flag
x86/xen: switch initial pvops IRQ functions to dummy ones
arch/x86/include/asm/paravirt_types.h | 2 +
arch/x86/kernel/paravirt.c | 13 ++-
arch/x86/xen/enlighten.c | 116 ++++++--------------------
arch/x86/xen/enlighten_hvm.c | 6 +-
arch/x86/xen/enlighten_pv.c | 28 ++-----
arch/x86/xen/irq.c | 61 +-------------
arch/x86/xen/smp.c | 24 ------
arch/x86/xen/xen-ops.h | 4 +-
8 files changed, 53 insertions(+), 201 deletions(-)
Applied to for-linus-5.16
-boris
|