From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gw2-out.broadcom.com ([216.31.210.63]:18467 "EHLO mail-gw2-out.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751488AbaLSTJz (ORCPT ); Fri, 19 Dec 2014 14:09:55 -0500 Subject: Re: [bisected] tg3 broken in 3.18.0? From: Prashant Sreedharan To: CC: Marcelo Ricardo Leitner , Bjorn Helgaas , Nils Holland , Michael Chan , David Miller , netdev , "linux-pci@vger.kernel.org" , Rafael Wysocki In-Reply-To: References: <20141213210251.GA12812@teela.fritz.box> <548EF90A.5070607@gmail.com> <1418750141.4248.3.camel@LTIRV-MCHAN1.corp.ad.broadcom.com> <54907300.9050902@gmail.com> <1418759684.4248.12.camel@LTIRV-MCHAN1.corp.ad.broadcom.com> <1418930889.3433.8.camel@prashant> <20141218202637.GA2930@teela.fritz.box> <1418955047.3433.27.camel@prashant> <54945D79.2070008@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 19 Dec 2014 10:53:48 -0800 Message-ID: <1419015228.27773.3.camel@prashant> MIME-Version: 1.0 Sender: linux-pci-owner@vger.kernel.org List-ID: On Fri, 2014-12-19 at 10:24 -0800, Rajat Jain wrote: > One of the reasons to replace the condition (*l == 0xffff0001) with > (*l & 0xffff) == 0x0001) was that some devices apparently returned > 0001 for device id to indicate CRS, but returned actual vendor id in > the vendor ID field (hence the need to ignore vendor field). > > Are we saying that the tg3 device returns 0x0001 for the device ID and > yet expects it to be treated as a good value (not CRS)? > No it should not be treated as a good value, this commit has surfaced/exposed a problem in 5722 chipset which was previously masked.