From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752772AbdLMLge (ORCPT ); Wed, 13 Dec 2017 06:36:34 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:35485 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752565AbdLMLgc (ORCPT ); Wed, 13 Dec 2017 06:36:32 -0500 Date: Wed, 13 Dec 2017 12:35:54 +0100 (CET) From: Thomas Gleixner To: "Anand, Jerome" cc: =?ISO-8859-15?Q?Ville_Syrj=E4l=E4?= , "Chen, Augustine" , "intel-gfx@lists.freedesktop.org" , "alsa-devel@alsa-project.org" , "Bossart, Pierre-louis" , "tiwai@suse.de" , Ingo Molnar , "H. Peter Anvin" , Jiang Liu , Juergen Gross , Dou Liyang , "linux-kernel@vger.kernel.org" Subject: RE: [Intel-gfx] [PATCH] drm/i915: Remove unused IRQ chip data of HDMI LPE audio In-Reply-To: Message-ID: References: <20171208093323.2212-1-augustine.chen@intel.com> <20171208114404.GN10981@intel.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323329-2098387782-1513164957=:1885" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-2098387782-1513164957=:1885 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT On Wed, 13 Dec 2017, Anand, Jerome wrote: > > -----Original Message----- > > From: Thomas Gleixner [mailto:tglx@linutronix.de] > > Sent: Tuesday, December 12, 2017 10:37 PM > > To: Anand, Jerome > > Cc: Ville Syrjälä ; Chen, Augustine > > ; intel-gfx@lists.freedesktop.org; alsa-devel@alsa- > > project.org; Bossart, Pierre-louis ; > > tiwai@suse.de; Ingo Molnar ; H. Peter Anvin > > ; Jiang Liu ; Juergen Gross > > ; Dou Liyang ; linux- > > kernel@vger.kernel.org > > Subject: RE: [Intel-gfx] [PATCH] drm/i915: Remove unused IRQ chip data of > > HDMI LPE audio Can you please fix your mail client NOT to replicate the full mail header. That's just annoying. > > On Mon, 11 Dec 2017, Anand, Jerome wrote: > > > > On Fri, 8 Dec 2017, Ville Syrjälä wrote: > > > > > > > > > On Fri, Dec 08, 2017 at 05:33:23PM +0800, Augustine.Chen wrote: > > > > > > The chip data of HDMI LPE audio is set to drm_i915_private which > > > > > > is not consistent with the expectation by x86 APIC driver. > > > > > > > > > > Hmm. Why is the apic code looking at data for an irq chip it > > > > > hasn't created? > > > > > > > > > > > apic code expects an irq domain to be place as generic approach. > > > > APIC code does not even see that interrupt at all. It's completely disconnected. > > > > That's the problem - APIC just converts the chip data to its internal > format and fails. How does APIC code end up to touch that interrupt at all? Call stack please. And please enable CONFIG_GENERIC_IRQ_DEBUGFS and provide the output of cat /sys/kernel/debug/irq/irqs/$N where N is the interrupt number of that thing. Thanks, tglx --8323329-2098387782-1513164957=:1885--