public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* native vs acpi support
@ 2005-09-12  7:16 vidyut karan
       [not found] ` <20050912071649.22726.qmail-R/RehLzVjnOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
  2005-09-12 18:00 ` [ACPI] " Rajesh Shah
  0 siblings, 2 replies; 8+ messages in thread
From: vidyut karan @ 2005-09-12  7:16 UTC (permalink / raw)
  To: linux-hotplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: greg-U8xfFu+wG4EAvxtiuMwx3w

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

Hi all,
 
I am a newbie to this hotplug support in linux (specially for pci-express). At present i am trying to understand the basics.
While reading the hot-plug support for pci-express, I couldn't understand the following:
What is the difference betwwen an
OS with an "native hot plug support" 
and controlling the hot-plug by using ACPI.
Does linux support both these mechanism.
 
If my query sounds idiotic, give me some pointers so that i can move on the right track.
Regards,
Karan

		
---------------------------------
 Yahoo! India Matrimony: Find your partner now.

[-- Attachment #2: Type: text/html, Size: 747 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: native vs acpi support
       [not found] ` <20050912071649.22726.qmail-R/RehLzVjnOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
@ 2005-09-12 16:12   ` Greg KH
       [not found]     ` <20050912161258.GA25541-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Greg KH @ 2005-09-12 16:12 UTC (permalink / raw)
  To: vidyut karan
  Cc: linux-hotplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, Sep 12, 2005 at 08:16:49AM +0100, vidyut karan wrote:
> Hi all,
>  
> I am a newbie to this hotplug support in linux (specially for
> pci-express). At present i am trying to understand the basics.  While
> reading the hot-plug support for pci-express, I couldn't understand
> the following:
> What is the difference betwwen an
> OS with an "native hot plug support" 
> and controlling the hot-plug by using ACPI.
> Does linux support both these mechanism.

Yes.

My question to you is, what are you trying to do?

Also the pci hotplug mailing list might be the best place for questions
like this.

thanks,

greg k-h


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ACPI] native vs acpi support
  2005-09-12  7:16 native vs acpi support vidyut karan
       [not found] ` <20050912071649.22726.qmail-R/RehLzVjnOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
@ 2005-09-12 18:00 ` Rajesh Shah
       [not found]   ` <20050912110025.A15668-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
  1 sibling, 1 reply; 8+ messages in thread
From: Rajesh Shah @ 2005-09-12 18:00 UTC (permalink / raw)
  To: vidyut karan; +Cc: linux-hotplug-devel, acpi-devel, greg

On Mon, Sep 12, 2005 at 08:16:49AM +0100, vidyut karan wrote:
> 
>    What is the difference betwwen an
> 
>    OS with an "native hot plug support"
> 
An OS that has hotplug support as described in the PCI Express
specification. This is supported by the pciehp driver.

>    and controlling the hot-plug by using ACPI.
> 
An OS that has hotplug support as described in the ACPI
specification. This is supported by the acpiphp driver.

Native pcie hotplug is newer and better, since it describes a
usage model (e.g. attention buttons, indicators etc.) and
standardizes the programming interface to the hotplug
hardware. 

> 
>    If  my  query sounds idiotic, give me some pointers so that i can move
>    on the right track.
> 
See the PCI hotplug specification and PCI Express specification
from the PCI SIG, and the ACPI specification from 
http://www.acpi.info/.

Rajesh


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: native vs acpi support
       [not found]     ` <20050912161258.GA25541-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
@ 2005-09-15 11:47       ` vidyut karan
  0 siblings, 0 replies; 8+ messages in thread
From: vidyut karan @ 2005-09-15 11:47 UTC (permalink / raw)
  To: Greg KH
  Cc: linux-hotplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

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

Hi,


Greg KH <greg-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org> wrote:

On Mon, Sep 12, 2005 at 08:16:49AM +0100, vidyut karan wrote:
> Hi all,
> 
> I am a newbie to this hotplug support in linux (specially for
> pci-express). At present i am trying to understand the basics. While
> reading the hot-plug support for pci-express, I couldn't understand
> the following:
> What is the difference betwwen an
> OS with an "native hot plug support" 
> and controlling the hot-plug by using ACPI.
> Does linux support both these mechanism.

Yes.

My question to you is, what are you trying to do?


karan> Actually I am facing problem in inserting pciehp.ko module. On exploring a bit, i find there is support for pciexpress hotplugging using 2 ways, but i coulnd' differentiate between the two. I

Thanks,

karan

 


 

Send instant messages to your online friends http://in.messenger.yahoo.com 

[-- Attachment #2: Type: text/html, Size: 1187 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: native vs acpi support
       [not found]   ` <20050912110025.A15668-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
@ 2005-09-24  2:10     ` vidyut karan
  2005-09-26 17:03       ` [ACPI] " Rajesh Shah
  0 siblings, 1 reply; 8+ messages in thread
From: vidyut karan @ 2005-09-24  2:10 UTC (permalink / raw)
  To: Rajesh Shah
  Cc: linux-hotplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	greg-U8xfFu+wG4EAvxtiuMwx3w

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

Hi,
 
Section [6.7.8] of pci express specs related to OSHP says that

"Some systems that include Hot-Plug capable Root Ports and Switches that are released before ACPI-compliant operating systems with native Hot-Plug support are available, can use ACPI firmware for propagating Hot-Plug events. Firmware control of the Hot-Plug registers must be disabled if an operating system with native support is used. Platforms that provide ACPI firmware to propagate Hot-Plug events must also provide a control method to transfer control to the operating system."

 

I could not understand the above properly.Please help me understand this. If a OS is not ACPI compliant will it still be able to use the OSHP method provided by ACPI. Or does it mean that ACPI will disable the firmware taking control of Hot plug so that OS can take care of that.

 

Also in the native hotpluggin on PCI-Express how the control flows for ACPI and non-ACPI case. For e.g. in linux 2.6. 

 

Regards,

Karan

 


Rajesh Shah <rajesh.shah-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> wrote:
On Mon, Sep 12, 2005 at 08:16:49AM +0100, vidyut karan wrote:
> 
> What is the difference betwwen an
> 
> OS with an "native hot plug support"
> 
An OS that has hotplug support as described in the PCI Express
specification. This is supported by the pciehp driver.

> and controlling the hot-plug by using ACPI.
> 
An OS that has hotplug support as described in the ACPI
specification. This is supported by the acpiphp driver.

Native pcie hotplug is newer and better, since it describes a
usage model (e.g. attention buttons, indicators etc.) and
standardizes the programming interface to the hotplug
hardware. 

> 
> If my query sounds idiotic, give me some pointers so that i can move
> on the right track.
> 
See the PCI hotplug specification and PCI Express specification
from the PCI SIG, and the ACPI specification from 
http://www.acpi.info/.

Rajesh

Send instant messages to your online friends http://in.messenger.yahoo.com 

[-- Attachment #2: Type: text/html, Size: 2800 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [ACPI] native vs acpi support
  2005-09-24  2:10     ` vidyut karan
@ 2005-09-26 17:03       ` Rajesh Shah
       [not found]         ` <20050926100312.B3471-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Rajesh Shah @ 2005-09-26 17:03 UTC (permalink / raw)
  To: vidyut karan; +Cc: Rajesh Shah, linux-hotplug-devel, acpi-devel, greg

On Sat, Sep 24, 2005 at 03:10:44AM +0100, vidyut karan wrote:
> 
>    Section [6.7.8] of pci express specs related to OSHP says that
> 
>    "Some  systems  that  include Hot-Plug capable Root Ports and Switches
>    that  are released before ACPI-compliant operating systems with native
>    Hot-Plug support are available, can use ACPI 
>    firmware  for  propagating  Hot-Plug  events.  Firmware control of the
>    Hot-Plug registers must be disabled if an operating system with native
>    support  is  used.  Platforms  that provide ACPI firmware to propagate
>    Hot-Plug events must also provide a control method to transfer control
>    to the operating system."
> 
The _OSC/OSHP mechanism is there to allow a system to support
hotplug on a variety of OS's, some with and some without native
pcie hotplug capabilities. Firmware could boot with the assumption
that it will control hotplug hardware and the OS will only support
the older acpiphp way of doing hot-plug. Of course, this still
requires acpiphp support in the OS. If the system ends up booting
a version of OS that supports native pcie hotplug, it will run the
OSHP method to tell the BIOS that the OS will now control hotplug
hardware directly. After OSHP is run, the BIOS must not attempt to
control hotplug hardware, and must not generate an ACPI interrupt
when hotplug occurs.

>    
>    I  could  not  understand the above properly.Please help me understand
>    this.  If  a OS is not ACPI compliant will it still be able to use the
>    OSHP  method  provided by ACPI. 

No.

> Or does it mean that ACPI will disable
>    the  firmware  taking  control of Hot plug so that OS can take care of
>    that.
> 
Yes.

> 
>    Also in the native hotpluggin on PCI-Express how the control flows for
>    ACPI and non-ACPI case. For e.g. in linux 2.6.
> 
acpi interrupts are not generated any more for hotplug once native
pcie hotplug is enabled. 

Rajesh


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php

^ permalink raw reply	[flat|nested] 8+ messages in thread

* problem in allocating resources for
       [not found]         ` <20050926100312.B3471-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
@ 2005-09-28 14:08           ` vidyut karan
  2005-09-30 18:42             ` Rajesh Shah
  0 siblings, 1 reply; 8+ messages in thread
From: vidyut karan @ 2005-09-28 14:08 UTC (permalink / raw)
  To: linux-hotplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: Rajesh Shah

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

Hi all,
While inserting pciehp.ko module(for native hot plug PCI Express support, ACPI enabled), the following messages appear:
"pciehp: pciehp: controller initialization failed".
Can somebody give me some pointers where the problem possibly lies.
Also on looking at the debug messages, 
acpi_parse_crs function (add_host_bridge --> acpi_get_crs --> acpi_parse_crs) prints only the following msg:

"pciehp: End_tag -------- Resource" is printed.

 

kindly give me some pointers to identify the cause of problem

 

thanks,

karan


		
---------------------------------
 Yahoo! India Matrimony: Find your partner now.

[-- Attachment #2: Type: text/html, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: problem in allocating resources for
  2005-09-28 14:08           ` problem in allocating resources for vidyut karan
@ 2005-09-30 18:42             ` Rajesh Shah
  0 siblings, 0 replies; 8+ messages in thread
From: Rajesh Shah @ 2005-09-30 18:42 UTC (permalink / raw)
  To: vidyut karan; +Cc: linux-hotplug-devel, acpi-devel

On Wed, Sep 28, 2005 at 03:08:14PM +0100, vidyut karan wrote:
> 
>    While  inserting  pciehp.ko  module(for  native  hot  plug PCI Express
>    support, ACPI enabled), the following messages appear:
> 
>    "pciehp: pciehp: controller initialization failed".
> 
>    Can somebody give me some pointers where the problem possibly lies.
> 
Please provide the full dmesg output, preferably with pciehp_debug
set to 1. Most of the time I've seen the error happen on systems
that don't support native pci express hotplug.

Rajesh


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-09-30 18:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-12  7:16 native vs acpi support vidyut karan
     [not found] ` <20050912071649.22726.qmail-R/RehLzVjnOvuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org>
2005-09-12 16:12   ` Greg KH
     [not found]     ` <20050912161258.GA25541-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2005-09-15 11:47       ` vidyut karan
2005-09-12 18:00 ` [ACPI] " Rajesh Shah
     [not found]   ` <20050912110025.A15668-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
2005-09-24  2:10     ` vidyut karan
2005-09-26 17:03       ` [ACPI] " Rajesh Shah
     [not found]         ` <20050926100312.B3471-39QZ/XbsZ5/mO6KZMuUCQVaTQe2KTcn/@public.gmane.org>
2005-09-28 14:08           ` problem in allocating resources for vidyut karan
2005-09-30 18:42             ` Rajesh Shah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox