[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081104155722.GA23314@srcf.ucam.org>
Date: Tue, 4 Nov 2008 15:57:22 +0000
From: Matthew Garrett <mjg59@...f.ucam.org>
To: Alan Jenkins <alan-jenkins@...fmail.co.uk>
Cc: linux-kernel@...r.kernel.org
Subject: Re: Add option to passively listen for PCIE hotplug events
On Tue, Nov 04, 2008 at 03:44:23PM +0000, Alan Jenkins wrote:
> I instrumented all the delays I could find. hpc_check_lnk_status() was
> the only one that came up. 1000ms delay per call, and I get 6 such delays.
Ok, which is getting called from pciehp_enable_slot(). I'm not quite
clear on why this is being called 6 times - any chance you can put a
dump_stack() in there? Some are probably directly from the resume code.
This confuses me a little, since there's a check for whether there's a
card in the slot first. If that fails, pciehp_enable_slot() isn't
called. If it succeeds, pciehp_enable_slot checks whether the slot is
already powered up. If it is, it bails before doing the link setup. So
something funny is going on here, since on the Eee I'd expect those
slots to either be empty or already powered up.
--
Matthew Garrett | mjg59@...f.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists