Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751384AbdGQRrJ (ORCPT ); Mon, 17 Jul 2017 13:47:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:60023 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751311AbdGQRrI (ORCPT ); Mon, 17 Jul 2017 13:47:08 -0400 From: Juergen Gross To: linux-kernel@vger.kernel.org, xen-devel@lists.xenproject.org, x86@kernel.org Cc: boris.ostrovsky@oracle.com, hpa@zytor.com, tglx@linutronix.de, mingo@redhat.com, Juergen Gross Subject: [PATCH 0/2] irq,xen: fix event channel masking on suspend/resume Date: Mon, 17 Jul 2017 19:47:01 +0200 Message-Id: <20170717174703.4603-1-jgross@suse.com> X-Mailer: git-send-email 2.12.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 750 Lines: 20 Commit bf22ff45bed664aefb5c4e43029057a199b7070c ("genirq: Avoid unnecessary low level irq function calls") broke Xen suspend/resume handling as Xen fiddled with masking/unmasking of event channels (or irqs) without letting the irq subsystem know about it. Fix this by setting the correct states in irq and remove the masking from Xen. Juergen Gross (2): irq: adjust state of irq in resume_irq() when IRQF_FORCE_RESUME set xen: dont fiddle with event channel masking in suspend/resume drivers/xen/events/events_base.c | 13 +++---------- kernel/irq/chip.c | 10 ---------- kernel/irq/internals.h | 10 ++++++++++ kernel/irq/pm.c | 2 ++ 4 files changed, 15 insertions(+), 20 deletions(-) -- 2.12.3