[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH V3 1/2] xen: Update dm_op.h from Xen public header
- To: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Tue, 25 Jul 2023 09:04:07 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=BAxtSNP1R6UV016cQgJQZU9N9jTZaAHsC3RGUVAJ1qg=; b=U1Ov/yw6kI9F9WVxhGUfyMCRekEm99+2FFXikG9leiY0TvDQAonMg5Hglgvp73SXT5F9Lu21y1Zg/fRfMghXhpupU5nMZ79Der8qlu8isaJR/BS2EDJERPa4hPtOSEnOHhI140IMYdYm0Dm3UBhDJDNP8GbSNbXcewoN3cm4g0clLCqQzxrJSGpo/ScpmOUx8YKVHouUBlUMAa2dnIrLI9rIFUZqAfD/oMAbToDERSZvQwdR/kDtk8otgY0Evi0aKyg4EzzMtpj4jWBrJNYRX2bzbmJk/8BCRD2dfrVVx30QDgly2P1thchQ6d3g/5sn6KGnH3/wdTy1FsVg9wRatw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q/CmX2G4OEPS45YmW8WtusspuoqliVMaApR6OEAoiYE4TMOxLbm5AUL7pvtNFY6C0UdrVfX0LRqCFoWvSuG12x9ojurYU3g6ygwOzihqwG1VpqSNif0eX8BB9yPZNyW7k9buxNtUNPcEuZ6cB1GNZ+A6/6s/SZovPvC1SlikCARlA9pRn4XgUntoQ4I/M98Pu6obrpz/qaXQHUHJSOhdxmGCaqWHtcrl0gKxdDTD0wBgSBRX2t+wcfb9eXVVhv64/9fwwlHjDt3Z9zDhvEmkG7UMXSnMy1dicW5Uv6vfhGB3MgbpWBO/c2xGdBNHxRtiB7LmFffChltcf2C0LwhNNQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Vincent Guittot <vincent.guittot@xxxxxxxxxx>, Alex Bennée <alex.bennee@xxxxxxxxxx>, stratos-dev@xxxxxxxxxxxxxxxxxxx, Erik Schilling <erik.schilling@xxxxxxxxxx>, Manos Pitsidianakis <manos.pitsidianakis@xxxxxxxxxx>, Mathieu Poirier <mathieu.poirier@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, Juergen Gross <jgross@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Oleksandr Tyshchenko <oleksandr_tyshchenko@xxxxxxxx>
- Delivery-date: Tue, 25 Jul 2023 07:04:17 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 25.07.2023 08:47, Viresh Kumar wrote:
> +struct xen_dm_op {
> + uint32_t op;
> + uint32_t pad;
> + union {
> + struct xen_dm_op_create_ioreq_server create_ioreq_server;
> + struct xen_dm_op_get_ioreq_server_info get_ioreq_server_info;
> + struct xen_dm_op_ioreq_server_range map_io_range_to_ioreq_server;
> + struct xen_dm_op_ioreq_server_range unmap_io_range_from_ioreq_server;
> + struct xen_dm_op_set_ioreq_server_state set_ioreq_server_state;
> + struct xen_dm_op_destroy_ioreq_server destroy_ioreq_server;
> + struct xen_dm_op_track_dirty_vram track_dirty_vram;
> + struct xen_dm_op_set_pci_intx_level set_pci_intx_level;
> + struct xen_dm_op_set_isa_irq_level set_isa_irq_level;
> + struct xen_dm_op_set_irq_level set_irq_level;
> + struct xen_dm_op_set_pci_link_route set_pci_link_route;
> + struct xen_dm_op_modified_memory modified_memory;
> + struct xen_dm_op_set_mem_type set_mem_type;
> + struct xen_dm_op_inject_event inject_event;
> + struct xen_dm_op_inject_msi inject_msi;
> + struct xen_dm_op_map_mem_type_to_ioreq_server
> map_mem_type_to_ioreq_server;
> + struct xen_dm_op_remote_shutdown remote_shutdown;
> + struct xen_dm_op_relocate_memory relocate_memory;
> + struct xen_dm_op_pin_memory_cacheattr pin_memory_cacheattr;
> + struct xen_dm_op_nr_vcpus nr_vcpus;
> + } u;
> +};
Is sync-ing for the sake of sync-ing really useful? For example, are any
of the ioreq server elements halfway likely to ever be used in the kernel?
Jan
|