All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Hoeg <peter@hoeg.com>
To: Hans-Frieder Vogt <hfvogt@gmx.net>
Cc: linux-dvb@linuxtv.org
Subject: Re: [linux-dvb] HVR-1200, cx23885 driver and Message Signaled Interrupts
Date: Sun, 04 Jan 2009 14:27:00 +0800	[thread overview]
Message-ID: <496056B4.4050603@hoeg.com> (raw)
In-Reply-To: <200901031727.26569.hfvogt@gmx.net>

[-- Attachment #1: Type: text/plain, Size: 710 bytes --]

Hans-Frieder,

> Hi Peter, hi List,
> 
> attached is a patch that enables MSI on the cx23885. I tested this patch for a 
> while now on a Dvico FusionHDTV Dual Express and have not found any side 
> effects. It works on versions 2.6.27.x and 2.6.28. 2.6.28-gitx not tried yet.

I applied your patch against trunk v4l-dvb tree on stock Ubuntu kernel
2.6.27-9.

While the module loads properly when passed enable_msi=1 and
/proc/interrupts as well as lspci tell me that everything should be set
up fine, I am not getting any interrupts delivered as per attached
output of:
  cat /proc/interrupts

For troubleshooting purposes I have also attached the output of:
  dmesg | egrep -i "tv|dvb|haupp|cx|tda"

/peter


[-- Attachment #2: ints.txt --]
[-- Type: text/plain, Size: 1816 bytes --]

           CPU0       CPU1       CPU2       CPU3       
  0:         97          0          0          0   IO-APIC-edge      timer
  1:          2          0          0          0   IO-APIC-edge      i8042
  7:          1          0          0          0   IO-APIC-edge    
  8:          1          0          0          0   IO-APIC-edge      rtc0
  9:          0          0          0          0   IO-APIC-fasteoi   acpi
 14:          0          0          0          0   IO-APIC-edge      pata_amd
 15:          0          0          0          0   IO-APIC-edge      pata_amd
 19:          3          0          0          0   IO-APIC-fasteoi   ohci1394
 22:          0          0          0          0   IO-APIC-fasteoi   ohci_hcd:usb2
 23:      36617          0          0          0   IO-APIC-fasteoi   ehci_hcd:usb1
2296:      80049          0          0          0   PCI-MSI-edge      eth0
2297:      28609          0          0          0   PCI-MSI-edge      nvidia
2298:          0          0          0          0   PCI-MSI-edge      cx23885[0]
2299:      93157          0          0          0   PCI-MSI-edge      HDA Intel
2300:      40654          0          0          0   PCI-MSI-edge      ahci
NMI:          0          0          0          0   Non-maskable interrupts
LOC:      71788      53748      36915      41838   Local timer interrupts
RES:       1833       1221       2251       1362   Rescheduling interrupts
CAL:       8509      14113      12544      12361   function call interrupts
TLB:        904       2409       1062       2674   TLB shootdowns
TRM:          0          0          0          0   Thermal event interrupts
THR:          0          0          0          0   Threshold APIC interrupts
SPU:          0          0          0          0   Spurious interrupts
ERR:          1

[-- Attachment #3: dmesg.txt --]
[-- Type: text/plain, Size: 1814 bytes --]

[   10.300582] cx23885 driver version 0.0.1 loaded
[   10.301146] cx23885 0000:04:00.0: PCI INT A -> Link[APC8] -> GSI 16 (level, low) -> IRQ 16
[   10.301284] CORE cx23885[0]: subsystem: 0070:71d3, board: Hauppauge WinTV-HVR1200 [card=7,autodetected]
[   10.467050] tveeprom 0-0050: Hauppauge model 71949, rev H2E9, serial# 3390611
[   10.467120] tveeprom 0-0050: MAC address is 00-0D-FE-33-BC-93
[   10.467185] tveeprom 0-0050: tuner model is Philips 18271_8295 (idx 149, type 54)
[   10.467259] tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xf4)
[   10.467337] tveeprom 0-0050: audio processor is CX23885 (idx 39)
[   10.467402] tveeprom 0-0050: decoder processor is CX23885 (idx 33)
[   10.467468] tveeprom 0-0050: has no radio
[   10.467531] cx23885[0]: hauppauge eeprom: model=71949
[   10.467597] cx23885_dvb_register() allocating 1 frontend(s)
[   10.467687] cx23885[0]: cx23885 based dvb card
[   10.926369] tda829x 1-0042: type set to tda8295
[   11.068189] tda18271 1-0060: creating new instance
[   11.104359] TDA18271HD/C1 detected @ 1-0060
[   12.165988] DVB: registering new adapter (cx23885[0])
[   12.166056] DVB: registering adapter 0 frontend 0 (NXP TDA10048HN DVB-T)...
[   12.166548] cx23885_dev_checkrevision() Hardware revision = 0xb0
[   12.166617] cx23885[0]/0: found at 0000:04:00.0, rev: 2, irq: 16, latency: 0, mmio: 0xef800000
[   12.166697] cx23885 0000:04:00.0: setting latency timer to 64
[  373.247511] tda10048_firmware_upload: waiting for firmware upload (dvb-fe-tda10048-1.0.fw)...
[  373.247518] firmware: requesting dvb-fe-tda10048-1.0.fw
[  373.262265] tda10048_firmware_upload: firmware read 24878 bytes.
[  373.262270] tda10048_firmware_upload: firmware uploading
[  375.822028] tda10048_firmware_upload: firmware uploaded

[-- Attachment #4: lspci.txt --]
[-- Type: text/plain, Size: 633 bytes --]

04:00.0 Multimedia video controller: Conexant Systems, Inc. CX23885 PCI Video and Audio Decoder (rev 02)
	Subsystem: Hauppauge computer works Inc. Device 71d3
	Flags: bus master, fast devsel, latency 0, IRQ 2298
	Memory at ef800000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: [40] Express Endpoint, MSI 00
	Capabilities: [80] Power Management version 2
	Capabilities: [90] Vital Product Data <?>
	Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
	Capabilities: [100] Advanced Error Reporting <?>
	Capabilities: [200] Virtual Channel <?>
	Kernel driver in use: cx23885
	Kernel modules: cx23885


[-- Attachment #5: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

  reply	other threads:[~2009-01-04  6:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-03  4:38 [linux-dvb] HVR-1200, cx23885 driver and Message Signaled Interrupts Peter Hoeg
2009-01-03 16:27 ` Hans-Frieder Vogt
2009-01-04  6:27   ` Peter Hoeg [this message]
2009-01-04 22:33     ` Hans-Frieder Vogt
2009-01-05  3:04       ` Peter Hoeg
2009-01-06  3:19         ` Peter Hoeg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496056B4.4050603@hoeg.com \
    --to=peter@hoeg.com \
    --cc=hfvogt@gmx.net \
    --cc=linux-dvb@linuxtv.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.