Re: [PATCH] PCI: Mark INTx masking support of Chelsio T310 10GbENIC as broken

From: Jan Kiszka
Date: Mon May 28 2012 - 08:51:25 EST


On 2012-05-28 14:39, Michael S. Tsirkin wrote:
> On Fri, May 25, 2012 at 11:02:13AM -0300, Jan Kiszka wrote:
>> According to Alexey, the T310 does not properly support INTx masking as
>> it fails to keep the PCI_STATUS_INTERRUPT bit updated once the interrupt
>> is masked. Mark this adapter as broken so that pci_intx_mask_supported
>> won't report it as compatible.
>>
>> Reported-by: Alexey Kardashevskiy <aik@xxxxxxxxx>
>> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxx>
>
>
> Just a thought: would be nice to have a way to discover
> the quirk was activated. Add an attribute so that
> userspace can detect and report this properly to users?
> Or just log a warning message ...

pr_notice_once? A flag for userspace would be significantly more
complicated (and not PCI layer hands).

Jan

Attachment: signature.asc
Description: OpenPGP digital signature