All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Duffy <tduffy@sun.com>
To: linux-hotplug@vger.kernel.org
Subject: RE: pci-e hotplug on Intel SE7520HPAF2 board
Date: Tue, 08 Mar 2005 21:45:54 +0000	[thread overview]
Message-ID: <1110318354.20262.39.camel@duffman> (raw)
In-Reply-To: <1110243507.30761.8.camel@duffman>

[-- Attachment #1: Type: text/plain, Size: 3368 bytes --]

On Tue, 2005-03-08 at 12:44 -0800, Sy, Dely L wrote:
> When using acpiphp driver for hot-plug, one has to use attention button
> to initiate power-up of the slot for there is no defined ACPI method
> that 
> the acpiphp driver can call to power-up slot.  The driver call _PS0 when
> 
> the user uses CLI (by echo 1 > /sys/pci/bus/slots/X).  However, this 
> method is not defined to do the powering-up sequence for PCI hot-plug.
> Maybe a standard method should be defined for such purpose so one can
> use
> CLI to power-up slot.

Would this be implemented in the Linux driver?  Or would this need to be
defined in the ACPI hotplug spec?

> Can you check cat /proc/interrupts to see if interrupts occurred when
> you
> do hot-plug using pciehp?

[root@intlhotp-1 ~]# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
  0:   20167864   20177040   20177525   20239359    IO-APIC-edge  timer
  1:         26          2          0          8    IO-APIC-edge  i8042
  4:       2903        827         59       4992    IO-APIC-edge  serial
  8:          0          0          0          1    IO-APIC-edge  rtc
  9:          1          4          3          1   IO-APIC-level  acpi
 12:          0         28        960         82    IO-APIC-edge  i8042
 14:          1     362803     362757         35    IO-APIC-edge  ide0
169:          0          0          0          0   IO-APIC-level  uhci_hcd
177:      14278       2334         91      19521   IO-APIC-level  ioc0
185:          0          0          0         30   IO-APIC-level  ioc1
193:     198396          0          0       1289   IO-APIC-level  eth0
209:          0          0          0          0   IO-APIC-level  ehci_hcd
217:        779          1          2          2   IO-APIC-level  uhci_hcd, pciehp, pciehp
225:          0          0          0          0   IO-APIC-level  uhci_hcd
NMI:          0          0          0          0
LOC:   80766982   80766981   80766980   80766979
ERR:          0
MIS:          0
[root@intlhotp-1 ~]# echo 1 > /sys/bus/pci/slots/4/power
[root@intlhotp-1 ~]# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3
  0:   20187870   20197047   20191221   20255956    IO-APIC-edge  timer
  1:         26          2          0          8    IO-APIC-edge  i8042
  4:       2903        827         59       4992    IO-APIC-edge  serial
  8:          0          0          0          1    IO-APIC-edge  rtc
  9:          1          5          5          1   IO-APIC-level  acpi
 12:          0         28        960         82    IO-APIC-edge  i8042
 14:          1     363073     363117         35    IO-APIC-edge  ide0
169:          0          0          0          0   IO-APIC-level  uhci_hcd
177:      14310       2354         91      19524   IO-APIC-level  ioc0
185:          0          0          0         30   IO-APIC-level  ioc1
193:     198724          0          0       1289   IO-APIC-level  eth0
209:          0          0          0          0   IO-APIC-level  ehci_hcd
217:        779          4          2          2   IO-APIC-level  uhci_hcd, pciehp, pciehp
225:          0          0          0          0   IO-APIC-level  uhci_hcd
NMI:          0          0          0          0
LOC:   80837292   80837291   80837290   80837289
ERR:          0
MIS:          0


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      parent reply	other threads:[~2005-03-08 21:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-08  0:58 pci-e hotplug on Intel SE7520HPAF2 board Tom Duffy
2005-03-08  6:55 ` Greg KH
2005-03-08 17:09 ` Tom Duffy
2005-03-08 17:33 ` Greg KH
2005-03-08 18:02 ` Tom Duffy
2005-03-08 19:58 ` Rajesh Shah
2005-03-08 20:44 ` Sy, Dely L
2005-03-08 21:45 ` Tom Duffy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1110318354.20262.39.camel@duffman \
    --to=tduffy@sun.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.