From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH] pci: fix unavailable irq number 255 reported by BIOS Date: Thu, 21 Jan 2016 23:58:26 +0100 Message-ID: References: <1453167913-16248-1-git-send-email-chen.fan.fnst@cn.fujitsu.com> <6239489.QX2A2kAHWp@vostro.rjw.lan> <20160120002431.GA7973@localhost> <56A0EE00.80709@cn.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: In-Reply-To: <56A0EE00.80709@cn.fujitsu.com> Sender: linux-pci-owner@vger.kernel.org To: Cao jin Cc: Bjorn Helgaas , "Rafael J. Wysocki" , Chen Fan , ACPI Devel Maling List , Linux Kernel Mailing List , Len Brown , izumi.taku@jp.fujitsu.com, wency@cn.fujitsu.com, Bjorn Helgaas , Linux PCI , Jiang Liu List-Id: linux-acpi@vger.kernel.org On Thu, Jan 21, 2016 at 3:41 PM, Cao jin wrote: > Hi, > > IMHO, I think maybe modification on i801_smbus driver is easier. > > Because when i801_smbus request_irq using pci_dev->irq, this > pci_dev->irq seems still holds the value read from register( > pci_setup_device->pci_read_irq), if the value is 255, it is invalid in > register, Right. Which is why the PCI core should not leak it into the driver's ->probe callback. Thanks, Rafael