RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 667359 - forward port xen pvops changes for evtchn
Summary: forward port xen pvops changes for evtchn
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: rc
: ---
Assignee: Andrew Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 523117
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-05 12:37 UTC by Paolo Bonzini
Modified: 2011-08-30 07:26 UTC (History)
5 users (show)

Fixed In Version: kernel-2.6.32-112.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-23 20:33:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:0542 0 normal SHIPPED_LIVE Important: Red Hat Enterprise Linux 6.1 kernel security, bug fix and enhancement update 2011-05-19 11:58:07 UTC

Description Paolo Bonzini 2011-01-05 12:37:04 UTC
The following commits will fix various bugs in event channels.  They could also fix problems in migration since many of them affect the suspend/resume path.

06b0362 (xen: Fix find_unbound_irq in presence of ioapic irqs., 2010-05-14)
9fa90aa (xen: use dynamic_irq_init_keep_chip_data, 2010-08-19)
aaca496 (xen: use percpu interrupts for IPIs and VIRQs, 2010-08-20)
dffe2e1 (xen: handle events as edge-triggered, 2010-08-20)
e041956 (xen/events: use locked set|clear_bit() for cpu_evtchn_mask, 2010-11-16)
1c6969e (xen/evtchn: clear secondary CPUs' cpu_evtchn_mask[] after restore, 2010-11-16)
6903591 (xen: events: do not unmask event channels on resume, 2010-11-01)
a52521f (xen: set up IRQ before binding virq to evtchn, 2010-09-22)
b0097ad (xen: ensure that all event channels start off bound to VCPU 0, 2010-10-08)
3b32f57 (xen: statically initialize cpu_evtchn_mask_p, 2009-08-13)
77dff1c (x86: xen: Sanitise sparse_irq handling, 2010-09-29)

Comment 2 RHEL Program Management 2011-01-06 18:10:31 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 3 Andrew Jones 2011-01-10 15:04:59 UTC
Backporting these patches unfortunately don't fix the migration issues, in fact they got worse. On two systems where I could migrate one direction, but not the other before the backports, with them I wasn't able to migrate at all. I have found that using 2.6.37-2.fc15.x86_64 I'm able to migrate in both directions. So it looks like there are some other patches necessary that need to be found.

Comment 4 Andrew Jones 2011-01-13 17:43:12 UTC
This bug can be considered synching specifically drivers/xen/events.c

Already have:
aaca496 (xen: use percpu interrupts for IPIs and VIRQs, 2010-08-20)
dffe2e1 (xen: handle events as edge-triggered, 2010-08-20)
06b0362 (xen: Fix find_unbound_irq in presence of ioapic irqs., 2010-05-14)

Skipped:
77dff1c (x86: xen: Sanitise sparse_irq handling, 2010-09-29)
        * would require general kernel backports outside of xen files
6903591 (xen: events: do not unmask event channels on resume, 2010-11-01)
        * only first 2 hunks would be applicable, but those are for performance, so they're not worth the risk

cherry-picked the remaining cleanly:
3b32f57 (xen: statically initialize cpu_evtchn_mask_p, 2009-08-13)
9fa90aa (xen: use dynamic_irq_init_keep_chip_data, 2010-08-19)
a52521f (xen: set up IRQ before binding virq to evtchn, 2010-09-22)
b0097ad (xen: ensure that all event channels start off bound to VCPU 0, 2010-10-08)
e041956 (xen/events: use locked set|clear_bit() for cpu_evtchn_mask, 2010-11-16)
1c6969e (xen/evtchn: clear secondary CPUs' cpu_evtchn_mask[] after restore, 2010-11-16)

Also cherry-picked these, which weren't originally listed
b21ddbf5 (xen: dynamically allocate irq & event structures, 2010-06-07)
cb52e6d9 (xen: improvements to VIRQ_DEBUG output, 2010-10-15)

So far only compile tested.

Comment 5 Andrew Jones 2011-01-14 09:59:02 UTC
Also added cherry-pick
3588fe2e (xen/events: change to using fasteoi, 2010-08-27)

and synched-up with missing pieces of
38e20b07 (x86/xen: event channels delivery on HVM, 2010-05-14)

Comment 8 Aristeu Rozanski 2011-02-03 16:00:42 UTC
Patch(es) available on kernel-2.6.32-112.el6

Comment 10 Aristeu Rozanski 2011-02-03 16:19:34 UTC
Patch(es) available on kernel-2.6.32-112.el6

Comment 14 errata-xmlrpc 2011-05-23 20:33:08 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0542.html


Note You need to log in before you can comment on or make changes to this bug.