Re: Regression: 2.6.34 boot fails on E5405 system, bisected: de08e2c26

From: Ben Greear
Date: Wed Jul 14 2010 - 14:22:53 EST


On 07/14/2010 11:19 AM, Pan, Jacob jun wrote:
-----Original Message-----
From: Ben Greear [mailto:greearb@xxxxxxxxxxxxxxx]
Sent: Wednesday, July 14, 2010 10:07 AM
To: Pan, Jacob jun
Cc: Robert Hancock; linux-kernel; jbarnes@xxxxxxxxxxxxxxxx
Subject: Re: Regression: 2.6.34 boot fails on E5405 system, bisected:
de08e2c26

On 07/14/2010 08:36 AM, Pan, Jacob jun wrote:
what is the config size of 10.1?
ls -l /sys/bus/pci/devices/0000:00:10.1/config

if that is 256, it might be related to this patch.

That patch is already in 2.6.34.y (with slight white-space
change it seems: space before<).

I just posted a patch to lkml that fixes the problem for me,
based on a suggestion by Robert Hancock.

I think this or something similar should to go 2.6.34.y stable
as well.



I have not seen the patch yet, but there is no guarantee that
capabilities are always laid out in ascending address. So I think
we cannot bail out when
pcie_cap>> 20<= pos

If that is some bug in the config space, can we fix it with some quirks?

No idea, but if it's on this one motherboard/device, I imagine it's somewhere
else as well.

Is there at least a maximum number of capabilities that can exist so that
you can limit the loop by that?

Thanks,
Ben


Thanks,

Jacob

--
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/


--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc http://www.candelatech.com

--
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/