Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1539289

Re: ATH9 driver issues on ARM64

From Marc Zyngier <marc.zyngier@arm.com>
Newsgroups linux.kernel
Subject Re: ATH9 driver issues on ARM64
Date 2016-12-09 12:30 +0100
Message-ID <sMrxf-2D4-3@gated-at.bofh.it> (permalink)
References (4 earlier) <sMceS-1um-55@gated-at.bofh.it> <sMceS-1um-53@gated-at.bofh.it> <sMr4j-2ek-21@gated-at.bofh.it> <sMr4j-2ek-19@gated-at.bofh.it> <sMrxf-2D4-5@gated-at.bofh.it>
Organization ARM Ltd

Show all headers | View raw


On 09/12/16 11:04, Bharat Kumar Gogada wrote:
>> On 09/12/16 02:07, Bharat Kumar Gogada wrote:
>>>> On 08/12/16 18:33, Bharat Kumar Gogada wrote:
>>>>>> On 08/12/16 15:29, Bharat Kumar Gogada wrote:
>>>>>>> 218:         61          0          0          0     GICv2  81 Level     mmc0
>>>>>>> 219:          0          0          0          0     GICv2 187 Level     arm-smmu global
>> fault
>>>>>>> 220:        471          0          0          0     GICv2  53 Level     xuartps
>>>>>>> 223:          0          0          0          0     GICv2 154 Level     fd4c0000.dma
>>>>>>> 224:          3          0          0          0     dummy   1 Edge      ath9k
>>>>>>
>>>>>> What is this "dummy" controller? And if that's supposed to be a
>>>>>> legacy interrupt from the PCI device, it has the wrong trigger.
>>>>>
>>>>> Yes it is for legacy interrupt, wrong trigger means ?
>>>>
>>>> Aren't legacy interrupts supposed to be *level* triggered, and not edge?
>>>>
>>> Yes agreed.
>>> For legacy interrupts im using irq_set_chained_handler_and_data so the
>>> irq line between bridge and GIC Will not be shown here. The above how
>>> is virq for legacy, which is given by kernel, not sure why its state is set to edge.
>>
>> Well, you should try and find out. Edge triggering for legacy interrupts is a real
>> bug, and I don't think it has anything to do with arm64 (despite what the subject
>> says).
>>
> Thanks Marc. Here is the ARM32 bit log for cat /proc/interrupts, 
> Here also it shows edge but still scan works successfully.

Because it works doesn't mean it is right.

Thanks,

	M.
-- 
Jazz is not dead. It just smells funny...

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: ATH9 driver issues on ARM64 Bjorn Helgaas <helgaas@kernel.org> - 2016-12-08 16:00 +0100
  Re: ATH9 driver issues on ARM64 Kalle Valo <kvalo@codeaurora.org> - 2016-12-08 18:40 +0100
    Re: ATH9 driver issues on ARM64 Tobias Klausmann <tobias.johannes.klausmann@mni.thm.de> - 2016-12-09 15:30 +0100
  Re: ATH9 driver issues on ARM64 Marc Zyngier <marc.zyngier@arm.com> - 2016-12-08 19:10 +0100
    Re: ATH9 driver issues on ARM64 Marc Zyngier <marc.zyngier@arm.com> - 2016-12-08 20:10 +0100
      Re: ATH9 driver issues on ARM64 Marc Zyngier <marc.zyngier@arm.com> - 2016-12-09 12:00 +0100
        Re: ATH9 driver issues on ARM64 Marc Zyngier <marc.zyngier@arm.com> - 2016-12-09 12:30 +0100

csiph-web