search for: _ej0

Displaying 7 results from an estimated 7 matches for "_ej0".

Did you mean: _ej
2011 Feb 28
12
[RFC PATCH] set current_state to D0 in register_slot
Hi all, if a device doesn''t support power management (pm_cap == 0) but it is acpi_pci_power_manageable() because there is a _PS0 method declared for it and _EJ0 is also declared for the slot then nobody is going to set current_state = PCI_D0 for this device. This is what I think it is happening: pci_enable_device | __pci_enable_device_flags /* here we do not set current_state because !pm_cap */ | do_pci_enable_device | pci_set_power_state...
2011 Dec 02
6
[PATCH] tools/firmware: remove "_PS0/3" Method
...<haitao.shan@intel.com> diff -r df7cec2c6c03 tools/firmware/hvmloader/acpi/mk_dsdt.c --- a/tools/firmware/hvmloader/acpi/mk_dsdt.c Tue Nov 29 13:30:39 2011 -0500 +++ b/tools/firmware/hvmloader/acpi/mk_dsdt.c Wed Nov 30 15:08:20 2011 +0800 @@ -323,8 +323,6 @@ * the ACPI event: * _EJ0: eject a device * _STA: return a device''s status, e.g. enabled or removed - * Other methods are optional: - * _PS0/3: put them here for debug purpose * * Eject button would generate a general-purpose event, then the * control method for this event uses N...
2013 Oct 28
0
Re: [Qemu-devel] Hvmloader: Modify ACPI to only supply _EJ0 methods for PCIslots that support hotplug by runtime patching
...mf_acpi_build_tables(void) > > > .dsdt_anycpu = dsdt_anycpu, > > > .dsdt_anycpu_len = dsdt_anycpu_len, > > > .dsdt_15cpu = NULL, > > > - .dsdt_15cpu_len = 0 > > > + .dsdt_15cpu_len = 0, > > > + .aml_ej0_name = NULL, > > > + .aml_adr_dword = NULL, > > > + .aml_ej0_name_len = 0, > > > + .aml_adr_dword_len = 0, > > > > I don''t see why you''re adding these. > > > Insurance purposes is that just initialize the struct....
2012 Mar 01
1
Preventing hotplug devices in HVM guests
Hi there, Is there a way to prevent Windows HVM guests from seeing passed through devices like graphics cards as being ejectable? i.e. you pass through a graphics adapter to an HVM guest which happens to be Windows. Windows sees this as a device with hotplug capability. Therefore it shows up in "safely remove hardware" option in the windows system tray. VMWare provides an option to
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...ACPI_SYSTEM_NOTIFY, handle_hotplug_event_bridge); if (ACPI_FAILURE(status)) - err("failed to remove notify handler\n"); + pr_err("failed to remove notify handler\n"); if ((bridge->type != BRIDGE_TYPE_HOST) && ((bridge->flags & BRIDGE_HAS_EJ0) && bridge->func)) { @@ -519,7 +521,7 @@ static void cleanup_bridge(struct acpiphp_bridge *bridge) handle_hotplug_event_func, bridge->func); if (ACPI_FAILURE(status)) - err("failed to install interrupt notify handler\n"); + pr_err("failed to install...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...ACPI_SYSTEM_NOTIFY, handle_hotplug_event_bridge); if (ACPI_FAILURE(status)) - err("failed to remove notify handler\n"); + pr_err("failed to remove notify handler\n"); if ((bridge->type != BRIDGE_TYPE_HOST) && ((bridge->flags & BRIDGE_HAS_EJ0) && bridge->func)) { @@ -519,7 +521,7 @@ static void cleanup_bridge(struct acpiphp_bridge *bridge) handle_hotplug_event_func, bridge->func); if (ACPI_FAILURE(status)) - err("failed to install interrupt notify handler\n"); + pr_err("failed to install...
2011 Jun 02
0
[PATCH] pci: Use pr_<level> and pr_fmt
...ACPI_SYSTEM_NOTIFY, handle_hotplug_event_bridge); if (ACPI_FAILURE(status)) - err("failed to remove notify handler\n"); + pr_err("failed to remove notify handler\n"); if ((bridge->type != BRIDGE_TYPE_HOST) && ((bridge->flags & BRIDGE_HAS_EJ0) && bridge->func)) { @@ -519,7 +521,7 @@ static void cleanup_bridge(struct acpiphp_bridge *bridge) handle_hotplug_event_func, bridge->func); if (ACPI_FAILURE(status)) - err("failed to install interrupt notify handler\n"); + pr_err("failed to install...