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

[Xen-devel] [PATCH v4 00/13] x86: IRQ management adjustments


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jan Beulich <JBeulich@xxxxxxxx>
  • Date: Tue, 16 Jul 2019 07:24:35 +0000
  • Accept-language: en-US
  • 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-SenderADCheck; bh=IGIexkpZcTHATMNHKMzCdr5T2lZyVpmHH8qG9BLEM1s=; b=mNgEZtYF7UNcOrsYxSY0/aTzxfe3ydvZOunRydjxRIIGmBOvLUBEhoLxKznsC52ODuyNzfpHLWEtv5fuScSylxYxWV5dx6xuRlrUBVl8bRRkJ6lzutpSRY6aVgan0zI3HsIvle21/67eErGe0yjCrHL4yV9nYDkvqng8c1BTC4vRajUfdGs+oYbb0v10YHUPzqecFMMxmvFoQ+8agjwsOP49CpMmted0ng77WiGVg/9kup0e/XkpKZRFt3hx8Oc6paEbIcCmmZEYrv59F2kzG4geni4cO9TOXHr+2oSXwvYjfGWquDBnQTeWMeW9OZ4aw5y759Pt/8MZOinopHO7rQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=I97FzXit+ywnJjegCug7C48ih1qFwW1ho0ZqTCv0TJESktDIvdOuyWkf6s6hBjEbX3XylriGQEUJVMBvs6+PWYeLtWzU5iht/nVdkzcAA2U6i10nAUk3wrdFL16t/BSz7LylLrbDCMu/IGAe1Y8W1ciQJD1eHFZF20rpjVu26lp1PQj1lcUDQLF/+MxzUfFBFyT/7nvVKk13zyrTdNoEALkePHKJiAs90hdF/sf265qeRBcc2h0EIwBMXEi2+oPYSr9eXGkMwwHZkt8dFvgSjxLrvncCKgEVg3OQWBCPq+657+MsdgBdtptxDh5evqONSx1V41E0QVAcJCGQ+C9hKA==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=JBeulich@xxxxxxxx;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Tue, 16 Jul 2019 07:27:41 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHVO6eElQXdQCGj2E20gbuQ7Ha7Mw==
  • Thread-topic: [PATCH v4 00/13] x86: IRQ management adjustments

First and foremost this series is trying to deal with CPU offlining
issues, which have become more prominent with the recently
added SMT enable/disable operation in xen-hptool. Later patches
in the series then carry out more or less unrelated changes
(hopefully improvements) noticed while looking at various pieces
of involved code.

01: deal with move-in-progress state in fixup_irqs()
02: deal with move cleanup count state in fixup_irqs()
03: desc->affinity should strictly represent the requested value
04: consolidate use of ->arch.cpu_mask
05: fix locking around vector management
06: x86/IOMMU: don't restrict IRQ affinities to online CPUs
07: target online CPUs when binding guest IRQ
08: correct/tighten vector check in _clear_irq_vector()
09: make fixup_irqs() skip unconnected internally used interrupts
10: drop redundant cpumask_empty() from move_masked_irq()
11: tighten vector checks
12: eliminate some on-stack cpumask_t instances
13: move {,_}clear_irq_vector()

In principle patches 1-7 and maybe 9 are backporting candidates.
Their intrusive nature makes wanting to do so questionable, though.

For v4 specific information please see the individual patches.

Full set of patches attached here due to still unresolved email
issues over here.

Jan

Attachment: x86-fixup-IRQs-move-in-progress.patch
Description: x86-fixup-IRQs-move-in-progress.patch

Attachment: x86-fixup-IRQs-move-cleanup.patch
Description: x86-fixup-IRQs-move-cleanup.patch

Attachment: x86-IRQs-stable-affinity.patch
Description: x86-IRQs-stable-affinity.patch

Attachment: x86-IRQs-cpu_mask-offline.patch
Description: x86-IRQs-cpu_mask-offline.patch

Attachment: x86-IRQs-locking.patch
Description: x86-IRQs-locking.patch

Attachment: x86-IOMMU-irq-affinity.patch
Description: x86-IOMMU-irq-affinity.patch

Attachment: x86-IRQs-guest-bind-affinity.patch
Description: x86-IRQs-guest-bind-affinity.patch

Attachment: x86-IRQs-clear-vector-check.patch
Description: x86-IRQs-clear-vector-check.patch

Attachment: x86-IRQs-no-type.patch
Description: x86-IRQs-no-type.patch

Attachment: x86-move_masked_irq-simplify.patch
Description: x86-move_masked_irq-simplify.patch

Attachment: x86-IRQs-use-valid_irq_vector.patch
Description: x86-IRQs-use-valid_irq_vector.patch

Attachment: x86-IRQs-use-scratch_cpumask.patch
Description: x86-IRQs-use-scratch_cpumask.patch

Attachment: x86-IRQs-clear_irq_vector-move.patch
Description: x86-IRQs-clear_irq_vector-move.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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