login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
March
»
17
Re: [PATCH] pciehp dont enable slot unless forced
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Kristen Carlson Accardi <kristen.c.accardi@...>
To: Mark Lord <lkml@...>
Cc: <linux-kernel@...>, Andrew Morton <akpm@...>, Alex Chiang <achiang@...>, Linus Torvalds <torvalds@...>, Greg KH <gregkh@...>
Subject:
Re: [PATCH] pciehp dont enable slot unless forced
Date: Monday, March 17, 2008 - 5:13 pm
On Mon, 17 Mar 2008 16:04:23 -0400 Mark Lord <lkml@rtr.ca> wrote:
quoted text
> This fixes a 2.6.25 regression reported by Alex Chiang. > > Invoke pciehp_enable_slot() at startup only when pciehp_force=1. > Some HP equipment apparently cannot cope with it otherwise. > > This restores the (previously working) 2.6.24 behaviour here, > while allowing machines that need a kick to use pciehp_force=1. > > This was the original design back in October 2007, > but Kristen suggested we try without it first: > > Kristen Carlson Accardi wrote: > >I think it would be ok to try allowing the slot to be enabled > >when not using pciehp_force mode. We can wrap it later if it > >proves to break things > > This ended up breaking one of Alex's setups, > so it's time to put the wrapper back in now. > > Signed-off-by: Mark Lord <mlord@pobox.com> > Acked-by: Alex Chiang <achiang@hp.com> > --- > > --- old/drivers/pci/hotplug/pciehp_core.c 2008-03-12 > 13:21:46.000000000 -0400 +++ > linux/drivers/pci/hotplug/pciehp_core.c 2008-03-12 > 13:23:54.000000000 -0400 @@ -467,7 +467,7 @@ t_slot = > pciehp_find_slot(ctrl, ctrl->slot_device_offset); > t_slot->hpc_ops->get_adapter_status(t_slot, &value); /* > Check if slot is occupied */ > - if (value) { > + if (value && pciehp_force) { > rc = pciehp_enable_slot(t_slot); > if (rc) /* -ENODEV: shouldn't happen, but > deal with it */ value = 0; >
Acked-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[regression] pciehp hang on hp ia64 rx6600
, Alex Chiang
, (Wed Mar 12, 2:47 am)
Re: [regression] pciehp hang on hp ia64 rx6600
, Mark Lord
, (Wed Mar 12, 1:34 pm)
Re: [regression] pciehp hang on hp ia64 rx6600
, Alex Chiang
, (Mon Mar 17, 3:53 pm)
[PATCH] pciehp dont enable slot unless forced
, Mark Lord
, (Mon Mar 17, 4:04 pm)
Re: [PATCH] pciehp dont enable slot unless forced
, Kristen Carlson Accardi
, (Mon Mar 17, 5:13 pm)
Re: [regression] pciehp hang on hp ia64 rx6600
, Mark Lord
, (Wed Mar 12, 1:12 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
David Miller
Re: Slow DOWN, please!!!
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
git
:
linux-netdev
:
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jan Engelhardt
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
1 user
and
1035 guests
online.
Online users
hamidmushtaq
Syndicate