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

Re: [PATCH v8 02/13] vpci: use per-domain PCI lock to protect vpci structure


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 27 Jul 2023 16:43:11 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=0IiuM0dR1My260jeFeN7cOOSGXywFDlqK5B+PnGiS+k=; b=D1BBv9O1eRw9GKYdpKSr1NWeQmjsn4QqQi9zqgzXsy6c9E/PxSkcqC1GTXx3MgW4zf3v3bPrLuNRRBMpAgPAfCnVWwoYWHeFaoheNTNKCGw/yTDN7O6JKlLxjZ/bucw1lCeFl083uh6BAl3dD5hTBaohsjIZhkB6OoRevxdOXy2tNIOZ9VnUmgBWlejzciX9uIs2c7ZIrQ8L0xIAE/8RMGkdJIlDf6UsVP/tPSNZIlcpVBJpb74Z5C0wUOqAWKsN9aUvm6PWcckxsOpfsRoFsEFu0KxLespIlvXtgKUioClnOGSs+CDm49lkyYfrqrZYKo8DY1X3vEzzgZeF2uVH9Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KjPsNQ4z8eUPQmt0Vy+hzaoWZh+aZPyjXYR5sj5T0T28L/YhsbLrVAwDCHUKriMHy6TnksrzxBIw5lJyxpp60Lz+95gcHz7lErJ6eGoOCWlSN7FhUkqe5KIoB0/SuWAGmjTSZSwmp2quQ/MVOM1kenoB3KPPYG6pMNRgPlkDYuB+SnAgqc1N5kRKl5jjLIvMBTL/QX4XrdaCoRTrPdbMc5tgncAy+VmZ9myLVK5d8LQjRJ6+P1LLq4AEyDKbeEk2IZQvzIgKSf884mxxk9rbSBL6D3GKjWsXtaz7Bp/oLPuz4Aibex4m7miP/IJ9jxobHX8VDaRFJZXKG48yVpuerg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Oleksandr Andrushchenko <Oleksandr_Andrushchenko@xxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Thu, 27 Jul 2023 14:43:28 +0000
  • Ironport-data: A9a23:PF4IfaPtaDTLJd/vrR11lsFynXyQoLVcMsEvi/4bfWQNrUon32FUy jBLWmiGaamKYDHye9tzaYqwoENQ7cSGxtM3Tgto+SlhQUwRpJueD7x1DKtS0wC6dZSfER09v 63yTvGacajYm1eF/k/F3oDJ9CU6jufQAOKnUoYoAwgpLSd8UiAtlBl/rOAwh49skLCRDhiE/ Nj/uKUzAnf8s9JPGjxSs/vrRC9H5qyo42tH5ANmP5ingXeF/5UrJMNHTU2OByOQrrl8RoaSW +vFxbelyWLVlz9F5gSNy+uTnuUiG9Y+DCDW4pZkc/HKbitq/0Te5p0TJvsEAXq7vh3S9zxHJ HehgrTrIeshFvWkdO3wyHC0GQkmVUFN0OevzXRSLaV/ZqAJGpfh66wGMa04AWEX0uIvKEFez tMmETYiRTaFutqQmL3qE8A506zPLOGzVG8ekldJ6GiASNwAEdXESaiM4sJE1jAtgMwIBezZe 8cSdTtoalLHfgFLPVAUTpk5mY9EhFGmK2Ee9A3T+PpxujaDpOBy+OGF3N79YNuFSN8Thk+Fj mnH4374ElcRM9n3JT+tqyvz2LCUx3OhMG4UPKeI7uRVuVKM/1JNJQQ0dmvmkNil0HfrDrqzL GRRoELCt5Ma9kamU938VB2Qu2Ofs1gXXN84O/037kSBx7TZ5y6dB3MYVXhRZdo+rsg0SDc2k FiTkLvBIjhis6acT36HwZ6SoSmvIigeLWIEZigsQBMM5p/op4RbpizIStFvAauklOrfEDv7w y2JhCUmjrBVhskOv5hX5njCijOo45LPHgg841yOWnr/t10pIom4e4av9F7Xq+5aK5qURUWAu 35CnNWC6OcJDteGkynlrPgxIYxFLs2taFX06WOD1bF4n9hx0xZPpbxt3Qw=
  • Ironport-hdrordr: A9a23:rtL8xq4zMDyW61fk/wPXwOTXdLJyesId70hD6qkXc3Fom62j+/ xG+c5w6faaslcssR0b6Le90cq7IU80l6Qa3WB5B97LYOCBghrQEGgI1/qB/9SPIULDH75mvp uIC5IObuEZMTJB/KXHCDbTKadF/PCXtKqhgf7Xz3lrCQFmApsQijtENg==
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, Jul 27, 2023 at 02:56:18PM +0200, Jan Beulich wrote:
> On 27.07.2023 14:42, Roger Pau Monné wrote:
> > There are also existing callers of iommu_update_ire_from_msi() that
> > call the functions without the pcidevs locked.  See
> > hpet_msi_set_affinity() for example.
> 
> Ftaod first and foremost because there's no pdev in that case.

Likewise for (mostly?) the rest of the callers, as callers of the
.set_affinity hw_irq_controller hook don't have a PCI device at
hand.

Thanks, Roger.



 


Rackspace

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