Re: [PATCH] x86/pci: try to detect host_bridge pci_cfg_space

From: Yinghai Lu
Date: Fri Mar 06 2009 - 20:05:02 EST


H. Peter Anvin wrote:
> Yinghai Lu wrote:
>> Impact: get correct pci_cfg_size for host_bridge
>>
>> more host bridges support 4k cfg, so check them directly
>> instead of quirks.
>>
>> Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
>
> I'm utterly confused by this. This is basically saying we should try to
> probe for an extended device space for every host bridge. Logically
> speaking, this is valid: if there is a valid path by which we can probe
> for byte 256 then it should succeed.
>
> HOWEVER, the same argument applies for *every single device*. So if
> this does indeed work, why should we limit it to host bridges?

currently only found amd and intel host bridge (on cpu or io hub) need this trick.
other device we could still use quirks.

YH
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/