[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h


  • To: Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 19 Oct 2023 11:55:18 +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=3IohAPnF4SWv4d3fg3ogEwxvxRU3rFs8TFodVbaqGoE=; b=eJ1ws1FTucTDWMN/caT7iBD4m/QcHiPmk3sce76CGwugc2cDkQTkqkAf+1Xp6oyE6ySsMJr2ui4U9MBKxwb/aku86ukqezBlN5AjlfUoJr816Ba5LU4Aj9HW0qIwtazNOwIVspfoSj3m339kXZUnppCl2fc9u4z8HekijLkYtagHE81hHAjphHYG8PF2le4ModhMrB1DInncxoFcmvME+uQfB4C+/RdPmrsLdfkPQL0X966XxBage5qZxF4sghY7eWoRSKJDgwdxsDTNxufI3kUL9476pTOEI6RExtDlBc7Vrg27g8FvMlpz+jlZ2xJIywSzS7Q9dQBjm+ldgnuNUg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q5u0jKeNZ3FMWKKwBdMh6kcexjhw1v5gm+dKPa496wQ0dtLx1mKKgoq1SYneDRAuBYs6XAP8nN5vGl//cn4Mz0QYDP5/AJO8UwRXbVoatwfrV9PGsey+TdMKQMHbqVws2K7iZ7VzoSXQYODzkJs6zrP5xvHLS3nxaNE6w5D6C/2B87tkPBKdUlgEgafD1RhV8Vbu4pKjkZ1P8RFJiJl3i92dYT0qXpJU8K1RnA+dYnG8aeiIa/CXillrW4tS8X5mfU/DC2Dq7q97zcA9Hp6MHjlhUXfOUqpU9WBb4UFT+Zzl9BLAiFxfIUpJNBp59w4OH2xbN4sDM9f6yLX6/6tx5Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 19 Oct 2023 09:55:28 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 14.09.2023 16:56, Oleksii Kurochko wrote:
> --- /dev/null
> +++ b/xen/include/asm-generic/pci.h
> @@ -0,0 +1,18 @@
> +/* SPDX-License-Identifier: GPL-2.0-only */
> +#ifndef __ASM_GENERIC_PCI_H__
> +#define __ASM_GENERIC_PCI_H__
> +
> +struct arch_pci_dev {
> +};
> +
> +#endif /* __ASM_GENERIC_PCI_H__ */

While more involved, I still wonder whether xen/pci.h could also avoid
including asm/pci.h when !HAS_PCI. Of course there's more than just the
#include which then would need #ifdef-ing out.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.