DragonFly BSD
DragonFly users List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ACPI based interrupt routing and new ACPI code ready for testing


From: Sepherosa Ziehau <sepherosa@xxxxxxxxx>
Date: Tue, 5 Apr 2011 17:13:06 +0800

On Mon, Apr 4, 2011 at 6:02 PM, Max Herrgard <herrgard@gmail.com> wrote:
> Sepherosa Ziehau wrote:
>>
>> On Fri, Mar 25, 2011 at 7:32 PM, Max Herrgard<herrgard@gmail.com>  wrote:
>>>
>>> On Fri, Mar 25, 2011 at 2:21 AM, Sepherosa Ziehau<sepherosa@gmail.com>
>>>  wrote:
>>>>
>>>> This interrupt sharing may caused by interrupt routing in ACPI code.
>>>> What's the vmstat -iv on both w/ and w/o ACPI interrupt routing?
>>>
>>> Yes they are a bit different.
>>
>> OK, please test following commit on master:
>> 40ad81aa20e2ba47db1f04204a60ffd06b513150
>
> Nope. Still the same, but they are now on different irqs. I noticed however
> that my drm0 doesn't get set up with acpi interrupt routing turned on.

Hmm, looks like its irq setting up is hosed somewhere else.  drm
device itself is attached.

As far as I understand the drm code, bus_setup_intr is triggered by
user space program like Xorg, but there are some precondition check
before bus_setup_intr is called.  Please set hw.dri.debug=1 (sysctl)
and give me the output of vmstat -iv and dmesg, after you started
Xorg.

Best Regards,
sephe

>
> With acpi interrupt routing:
> interrupt                                               total   rate
> irq0: clk                                               31844   248
> irq4: sio0                                              0       0
> irq7: ppc0                                              1       0
> irq9: acpi0                                             0       0
> irq10: ral0/rl0/vge0/ehci0                              7536    58
> irq11: fwohci0/pcm0/rl1/atapci0/uhci0/uhci1/uhci2/uhci3 9982    77
> irq14: ata0                                             37      0
> irq15: ata1                                             0       0
> irq19                                                   46      0
> irq21                                                   6525    50
> irq192: swi_siopoll                                     0       0
> irq195: swi_cambio                                      0       0
> irq196: swi_vm                                          0       0
> irq197: swi_taskq/swi_mp_taskq                          0       0
> Total                                                   55971   437
>
> Without:
> interrupt                                          total       rate
> irq0: clk                                         331584        331
> irq4: sio0                                             0          0
> irq5: vge0/uhci0/uhci1/drm0                        55565         55
> irq7: ppc0                                             0          0
> irq9: acpi0                                            0          0
> irq10: ral0/rl0/ehci0                              20317         20
> irq11: fwohci0/pcm0/rl1/atapci0/uhci2/uhci3         3386          3
> irq14: ata0                                           37          0
> irq15: ata1                                            0          0
> irq19                                                 46          0
> irq21                                               3472          3
> irq192: swi_siopoll                                    0          0
> irq195: swi_cambio                                     0          0
> irq196: swi_vm                                         0          0
> irq197: swi_taskq/swi_mp_taskq                         0          0
> Total                                             414407        413
>
>
> Max
>



-- 
Tomorrow Will Never Die




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]