search for: pm_op

Displaying 12 results from an estimated 12 matches for "pm_op".

2012 Nov 22
3
blkfront failure on migrate
...0x30 [6673983.756161] [<c0232dd7>] kmalloc_order_trace+0x27/0xa0 [6673983.756165] [<c04998b1>] blkif_recover+0x71/0x550 [6673983.756168] [<c0499de5>] blkfront_resume+0x55/0x60 [6673983.756172] [<c044502a>] xenbus_dev_resume+0x4a/0x100 [6673983.756176] [<c048a2ad>] pm_op+0x17d/0x1a0 ... [6673983.756737] xenbus: resume vbd-51712 failed: -12 [6673983.756743] pm_op(): xenbus_dev_resume+0x0/0x100 returns -12 [6673983.756759] PM: Device vbd-51712 failed to restore: error -12 [6673983.867532] PM: restore of devices complete after 182.808 msecs Looking at the code in blk...
2008 Sep 19
0
[PATCH] linux: fix processor handling in presence of external control
...el/acpi/processor_extcntl_xen.c 2008-09-19 12:55:29.000000000 +0200 @@ -215,6 +215,8 @@ void arch_acpi_processor_init_extcntl(co { unsigned int pmbits = (xen_start_info->flags & SIF_PM_MASK) >> 8; + if (!pmbits) + return; if (pmbits & XEN_PROCESSOR_PM_CX) xen_extcntl_ops.pm_ops[PM_TYPE_IDLE] = xen_cx_notifier; if (pmbits & XEN_PROCESSOR_PM_PX) Index: head-2008-09-15/drivers/acpi/processor_core.c =================================================================== --- head-2008-09-15.orig/drivers/acpi/processor_core.c 2008-09-19 12:55:04.000000000 +0200 +++ head-2008...
2009 Apr 10
0
[PATCH][XSM] missing entries to xsm_fixup_ops
This patch adds the missing presence checks for the pm_op and get_pmstat hooks in xsm_fixup_ops. Signed-off-by: George S. Coker, II <gscoker@alpha.ncsc.mil> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2013 Jun 07
0
xen 4.1.2/4.1.3 failed to save centos6.2 hvm guest
Dear ALL: XEN 4.1.2/4.1.3 failed to save centos6.2 HVM guest(with PV drivers) After save finished, the guest is halt with following errors: ---------------------------------------------------------------- Pm_op(): platform_pm_thaw+0x0/0x50 returns -19 PM: Device i8042 failed to thaw: error -19 ------------------------------------------------------------------ In my test, this happends when the guest os is centos 6.2 & centos 6.4, maybe for all the centos 6 series OS HVM guest with PV drivers....
2013 Feb 13
4
[PATCH 0/3] FLASK policy build rework
These patches update the example FLASK policy shipped with Xen and enable its build if the required tools are present. The third patch requires rerunning autoconf to update tools/configure. [PATCH 1/3] flask/policy: sort dom0 accesses [PATCH 2/3] flask/policy: rework policy build system [PATCH 3/3] tools/flask: add FLASK policy to build
2011 Feb 16
4
[PATCH] xen: use freeze/restore/thaw PM events for suspend/resume/chkpt
...us_probe_frontend.c b/drivers/xen/xenbus/xenbus_probe_frontend.c index 9ad8868..d6e5f0d 100644 --- a/drivers/xen/xenbus/xenbus_probe_frontend.c +++ b/drivers/xen/xenbus/xenbus_probe_frontend.c @@ -86,9 +86,11 @@ static struct device_attribute xenbus_frontend_dev_attrs[] = { }; static struct dev_pm_ops xenbus_pm_ops = { - .suspend = xenbus_dev_suspend, - .resume = xenbus_dev_resume, - .thaw = xenbus_dev_cancel, + .suspend = xenbus_dev_suspend, + .resume = xenbus_dev_resume, + .freeze = xenbus_dev_suspend, + .thaw = xenbus_dev_cancel, + .restore = xenbus_dev_resume, }; static struct xen_...
2011 Feb 07
26
[PATCH 0/2] Fix hangup after creating checkpoint on Xen.
...oint on Xen. The Linux Xen guest can be saved the state to restore later, and also created snapshot like checkpoint via the hypervisor. But, when the snapshot is created for the PV guest, it will hangup. We added ''PMSG_CANCEL'' message and ''cancel'' handler in dev_pm_ops struct in the pm-linux part. In creating checkpoint mode, the resume handler of xenbus should not be called. In this case, it is recognized that the suspend was canceled in drivers/xen/manage.c and call dpm_resume_end() with PMSG_CANCEL. If the ''cancel'' handler is defined, it is...
2011 Nov 30
36
[RFC PATCH] Exporting ACPI Pxx/Cxx states to other kernel subsystems (v1).
Hello, The following patches are a solution to a problem we have encountered when using the Xen hypervisor: - Need Pxx/Cxx states to save on power consumption when using Xen (we do want those datacenters to consume less power!), - Also need to figure out the Turbo mode so that the scheduler can properly boost a core for CPU bound guests. In essence the Xen hypervisor requires that
2020 Oct 17
1
[Cocci] [RFC] treewide: cleanup unreachable breaks
...r line 8 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24xx_eint_get_trigger line 11 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24xx_eint_get_trigger line 14 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24xx_eint_get_trigger line 17 drivers/base/power/main.c: function pm_op line 18 kernel/bpf/syscall.c: function attach_type_to_prog_type line 7 drivers/pci/hotplug/ibmphp_pci.c: function ibmphp_configure_card line 234 drivers/pci/hotplug/ibmphp_pci.c: function unconfigure_boot_card line 96 drivers/scsi/fcoe/fcoe.c: function fcoe_device_notification line 54 drivers/scsi/...
2020 Oct 17
1
[Cocci] [RFC] treewide: cleanup unreachable breaks
...r line 8 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24xx_eint_get_trigger line 11 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24xx_eint_get_trigger line 14 drivers/pinctrl/samsung/pinctrl-s3c24xx.c: function s3c24xx_eint_get_trigger line 17 drivers/base/power/main.c: function pm_op line 18 kernel/bpf/syscall.c: function attach_type_to_prog_type line 7 drivers/pci/hotplug/ibmphp_pci.c: function ibmphp_configure_card line 234 drivers/pci/hotplug/ibmphp_pci.c: function unconfigure_boot_card line 96 drivers/scsi/fcoe/fcoe.c: function fcoe_device_notification line 54 drivers/scsi/...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...... */ return AE_SUPPORT; - break; } } /* * Validate output buffer. diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index 205a06752ca9..c7ac49042cee 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c @@ -361,11 +361,10 @@ static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) case PM_EVENT_HIBERNATE: return ops->poweroff; case PM_EVENT_THAW: case PM_EVENT_RECOVER: return ops->thaw; - break; case PM_EVENT_RESTORE: return ops->restore; #endif /* CONFIG_HIBERNATE_CALLBACKS */ } diff --git a/d...
2020 Oct 17
10
[RFC] treewide: cleanup unreachable breaks
...... */ return AE_SUPPORT; - break; } } /* * Validate output buffer. diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c index 205a06752ca9..c7ac49042cee 100644 --- a/drivers/base/power/main.c +++ b/drivers/base/power/main.c @@ -361,11 +361,10 @@ static pm_callback_t pm_op(const struct dev_pm_ops *ops, pm_message_t state) case PM_EVENT_HIBERNATE: return ops->poweroff; case PM_EVENT_THAW: case PM_EVENT_RECOVER: return ops->thaw; - break; case PM_EVENT_RESTORE: return ops->restore; #endif /* CONFIG_HIBERNATE_CALLBACKS */ } diff --git a/d...