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

Re: [PATCH v5 03/11] xen/arm: Add cmdline boot option "pci-passthrough = <boolean>"


  • To: Rahul Singh <rahul.singh@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Thu, 7 Oct 2021 10:27:19 +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=nHQtsnoxVcPL8S1M5A3650zhCe4HCafrDqal0UWMqJo=; b=XPjzW3hQXEYmLCdjeKP1HT6QA+OF0UE1sAPJ7VR4KjXX8Cbh2aWLl2Wk1ev0qrvTaZup1yylU5VdBtpoKpCpq87epWganszDxDZXCXh9EKqk5Y2zGlVaNyFvSVTRsW8p0oK4HnvCHm8U+SlZs7scgfPHBn0kQKR5lSrrIUFI4yHNCtYoEMmOF6QDex7urx2e9UHEN2VIHNaEWm+SpZ10WxE2aAs2vtWKJR2QlrFSRXa0TtU1SCe9LD1ekTksU0AVo87rYmWGs23f2A/fsGGzzBr92dC2hAGPZZJh5hRX/GSCCUlzx1Fk4AQJiUG1Rz68gZGcl1Z6oWtY64IYdGq0Hg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H+LCAXKds6UVit3xZV9vLRAMzasOkjNG+MLUu38OX7YjV7r8+BnUKVcAuDmiIFcAm2n8q5xDcz4JTC+9XwhN0FjvX0/LmE61rc6SY901bzytXf4iVMoGt1FP5xoEXtEeOm3gxzHADHdZz50IRzy570GLzhgpqOd43nYEKAVQMjW5uQtcpGI2zChdCh9RFn4M8BLRv0LfkHYqpRlzdjoKXtAucI91dXT1toK1U7ap5h/5I4QdzkgZ2cscaFNU5mivojj35ptEJrLb+sRPTz50zZS9x1Tuvt/kQMPkxP9qIj1evF0GTjkiUZxFVEPN+yOd3kRHQYKBU7ULqcW+p4ACgw==
  • Authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=suse.com;
  • Cc: bertrand.marquis@xxxxxxx, Andre.Przywara@xxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 07 Oct 2021 08:27:33 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 06.10.2021 19:40, Rahul Singh wrote:
> @@ -62,8 +63,19 @@ static int __init acpi_pci_init(void)
>  }
>  #endif
>  
> +/* By default pci passthrough is disabled. */
> +bool __read_mostly pci_passthrough_enabled;

You properly use "bool " here. Why ...

> --- a/xen/include/asm-arm/pci.h
> +++ b/xen/include/asm-arm/pci.h
> @@ -19,14 +19,25 @@
>  
>  #define pci_to_dev(pcidev) (&(pcidev)->arch.dev)
>  
> +extern bool_t pci_passthrough_enabled;

... the being phased out "bool_t" here?

Jan




 


Rackspace

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