Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-14 Thread Toshi Kani
On Thu, 2012-09-13 at 20:50 -0700, Yinghai Lu wrote: > On Thu, Sep 13, 2012 at 5:22 PM, Toshi Kani wrote: > >> > >> + > >> > >> + /* > >> > >> + * Check for internal object and make sure there is a handler > >> > >> + * registered for this object > >> > >> + */ > >> > >> + o

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-13 Thread Yinghai Lu
On Thu, Sep 13, 2012 at 5:22 PM, Toshi Kani wrote: >> > >> + >> > >> + /* >> > >> + * Check for internal object and make sure there is a handler >> > >> + * registered for this object >> > >> + */ >> > >> + obj_desc = acpi_ns_get_attached_object(node); >> > >> + if (obj_

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-13 Thread Toshi Kani
> > >> + > > >> + /* > > >> + * Check for internal object and make sure there is a handler > > >> + * registered for this object > > >> + */ > > >> + obj_desc = acpi_ns_get_attached_object(node); > > >> + if (obj_desc) { > > >> + if (obj_desc->common_notify.no

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-04 Thread Toshi Kani
On Tue, 2012-09-04 at 14:46 -0700, Yinghai Lu wrote: > On Tue, Sep 4, 2012 at 2:34 PM, Toshi Kani wrote: > > On Tue, 2012-09-04 at 12:17 -0700, Yinghai Lu wrote: > > - If a full path is specified in acpi_name, it ignores the arg hsb > > ("\_SB"). > > - If a relative path is specified in acpi_nam

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-04 Thread Yinghai Lu
On Tue, Sep 4, 2012 at 2:34 PM, Toshi Kani wrote: > On Tue, 2012-09-04 at 12:17 -0700, Yinghai Lu wrote: > - If a full path is specified in acpi_name, it ignores the arg hsb > ("\_SB"). > - If a relative path is specified in acpi_name, it appends the arg hsb. > > So, the code looks good to me; a

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-04 Thread Toshi Kani
On Tue, 2012-09-04 at 12:17 -0700, Yinghai Lu wrote: > On Tue, Sep 4, 2012 at 9:27 AM, Toshi Kani wrote: > > On Mon, 2012-09-03 at 14:27 -0700, Yinghai Lu wrote: > >> From: Ashok Raj > >> > >> Emulate an ACPI SCI interrupt to emulate a hot-plug event. Useful > >> for testing ACPI based hot-plug o

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-04 Thread Yinghai Lu
On Tue, Sep 4, 2012 at 9:27 AM, Toshi Kani wrote: > On Mon, 2012-09-03 at 14:27 -0700, Yinghai Lu wrote: >> From: Ashok Raj >> >> Emulate an ACPI SCI interrupt to emulate a hot-plug event. Useful >> for testing ACPI based hot-plug on systems that don't have the >> necessary firmware support. >> >

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-04 Thread Toshi Kani
On Mon, 2012-09-03 at 14:27 -0700, Yinghai Lu wrote: > From: Ashok Raj > > Emulate an ACPI SCI interrupt to emulate a hot-plug event. Useful > for testing ACPI based hot-plug on systems that don't have the > necessary firmware support. > > Enable CONFIG_ACPI_SCI_EMULATE on kernel compile. > > N