Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758277Ab1FJXGD (ORCPT ); Fri, 10 Jun 2011 19:06:03 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:44988 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758237Ab1FJXGA (ORCPT ); Fri, 10 Jun 2011 19:06:00 -0400 Date: Fri, 10 Jun 2011 16:05:41 -0700 From: Randy Dunlap To: Toralf =?UTF-8?B?RsO2cnN0ZXI=?= Cc: linux-kernel@vger.kernel.org, Thomas Gleixner Subject: Re: non-printable characters in /proc/interrupts Message-Id: <20110610160541.21688a35.randy.dunlap@oracle.com> In-Reply-To: <201106110038.43139.toralf.foerster@gmx.de> References: <201106101040.20282.toralf.foerster@gmx.de> <20110610091132.90531e0e.randy.dunlap@oracle.com> <201106110038.43139.toralf.foerster@gmx.de> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4DF2A34E.00B6:SCFMA922111,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4252 Lines: 97 On Sat, 11 Jun 2011 00:38:42 +0200 Toralf Förster wrote: [adding Thomas] > Randy Dunlap wrote at 18:11:32 > > On Fri, 10 Jun 2011 10:40:19 +0200 Toralf Förster wrote: > > > I've wondering about this entry at my ThinkPad T400 (kernel 2.6.39.1): > > > > > > n22 ~ # grep 47: /proc/interrupts > > > > > > 47: 44041 69740 PCI-MSI-edge l▒��@�E� > > > > > > I attached the output of > > > $>grep 47: /proc/interrupts > /tmp/int47 > > > onto this email, the complete table looks like this : > > > > > > n22 ~ # cat /proc/interrupts > > > > > > CPU0 CPU1 > > > > > > 0: 605293 71393 IO-APIC-edge timer > > > 1: 13432 4 IO-APIC-edge i8042 > > > 8: 55 64 IO-APIC-edge rtc0 > > > 9: 6248 509 IO-APIC-fasteoi acpi > > > > > > 12: 1389 72 IO-APIC-edge i8042 > > > 16: 0 0 IO-APIC-fasteoi uhci_hcd:usb6 > > > 17: 0 0 IO-APIC-fasteoi uhci_hcd:usb7 > > > 18: 0 0 IO-APIC-fasteoi uhci_hcd:usb8 > > > 19: 0 0 IO-APIC-fasteoi ehci_hcd:usb2 > > > 20: 52881 0 IO-APIC-fasteoi uhci_hcd:usb3 > > > 21: 329 37 IO-APIC-fasteoi uhci_hcd:usb4 > > > 22: 0 0 IO-APIC-fasteoi uhci_hcd:usb5 > > > 23: 30046 8743 IO-APIC-fasteoi ehci_hcd:usb1 > > > 40: 0 0 PCI-MSI-edge PCIe PME > > > 41: 0 0 PCI-MSI-edge PCIe PME > > > 42: 0 0 PCI-MSI-edge PCIe PME > > > 43: 0 0 PCI-MSI-edge PCIe PME > > > 44: 484163 55698 PCI-MSI-edge ahci > > > 45: 750 1809 PCI-MSI-edge eth0 > > > 46: 94 213 PCI-MSI-edge hda_intel > > > 47: 44399 70713 PCI-MSI-edge l▒��@�E� > > > 48: 71969 102457 PCI-MSI-edge iwlagn > > > > > > NMI: 0 0 Non-maskable interrupts > > > LOC: 10167789 10321319 Local timer interrupts > > > SPU: 0 0 Spurious interrupts > > > PMI: 0 0 Performance monitoring interrupts > > > IWI: 213 200 IRQ work interrupts > > > RES: 289390 333102 Rescheduling interrupts > > > CAL: 4677 4542 Function call interrupts > > > TLB: 22261 16007 TLB shootdowns > > > TRM: 0 0 Thermal event interrupts > > > THR: 0 0 Threshold APIC interrupts > > > MCE: 0 0 Machine check exceptions > > > MCP: 41 41 Machine check polls > > > ERR: 0 > > > MIS: 0 > > > > Is there any other info (like dmesg or boot log) that tells what > > device/driver uses interrupt 47 ? > > 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio > Controller (rev 03) > Subsystem: Lenovo Device 20f2 > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- > Stepping- SERR+ FastB2B- DisINTx+ > Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- > SERR- Latency: 0, Cache Line Size: 64 bytes > Interrupt: pin B routed to IRQ 47 > Region 0: Memory at fc020000 (64-bit, non-prefetchable) [size=16K] > Capabilities: > Kernel driver in use: HDA Intel > Kernel modules: snd-hda-intel > > I attached the dmesg output > > -- So for you lspci, IRQ 47 is HD Audio, but in the dmesg.txt file, we can see: iwlagn 0000:03:00.0: irq 46 for MSI/MSI-X // iwlagn uses irq 48 above HDA Intel 0000:00:1b.0: irq 47 for MSI/MSI-X // HDA Intel uses irq 46 above i915 0000:00:02.0: irq 48 for MSI/MSI-X // i915 uses what irq above? maybe 47? Hopefully Thomas can see something here. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/