[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI
From: |
Michael S. Tsirkin |
Subject: |
Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables |
Date: |
Thu, 10 May 2012 20:03:47 +0300 |
On Fri, May 11, 2012 at 12:50:37AM +0800, Jiang Liu wrote:
> On 05/09/2012 09:47 PM, Alex Williamson wrote:
> >> ---
> >> src/ssdt-pcihp.dsl | 17
> >> src/ssdt-pcihp.hex | 8869
> >> +++++++++++++++++++++++++++++++++++++++++++++++++++-
> >> 2 files changed, 8781 insertions(+), 105 deletions(-)
> >>
> >> diff --git a/src/ssdt-pcihp.dsl b/src/ssdt-pcihp.dsl
> >> index 4b435b8..2a3c326 100644
> >> --- a/src/ssdt-pcihp.dsl
> >> +++ b/src/ssdt-pcihp.dsl
> >> @@ -17,14 +17,23 @@ DefinitionBlock ("ssdt-pcihp.aml", "SSDT", 0x01,
> >> "BXPC", "BXSSDTPCIHP", 0x1)
> >> // at runtime, if the slot is detected to not support hotplug.
> >> // Extract the offset of the address dword and the
> >> // _EJ0 name to allow this patching.
> >> -#define hotplug_slot(slot) \
> >> - Device (S##slot) { \
> >> +#define hotplug_func(slot, fn) \
> >> + Device (S##slot##fn) { \
> >> ACPI_EXTRACT_NAME_DWORD_CONST aml_adr_dword \
> >> - Name (_ADR, 0x##slot##0000) \
> >
> > I would have guessed it to be sufficient to change _ADR to
> > 0x##slot##ffff, does that not work? Thanks,
> >
> > Alex
> Currently Linux acpiphp driver doesn't support that yet.
>
> --gerry
If memory serves neither does windows.
- [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Amos Kong, 2012/05/09
- Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Amos Kong, 2012/05/09
- Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Michael S. Tsirkin, 2012/05/09
- Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Alex Williamson, 2012/05/09
- Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Jiang Liu, 2012/05/10
- Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Michael S. Tsirkin, 2012/05/10
- Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Jiang Liu, 2012/05/10
- Re: [Qemu-devel] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Amos Kong, 2012/05/10
- Re: [Qemu-devel] [SeaBIOS] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Gleb Natapov, 2012/05/11
- Re: [Qemu-devel] [SeaBIOS] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Jiang Liu, 2012/05/11
- Re: [Qemu-devel] [SeaBIOS] [RESEND PATCH v3] hotplug: add device per func in ACPI DSDT tables, Gleb Natapov, 2012/05/11