search for: reset_device

Displaying 5 results from an estimated 5 matches for "reset_device".

2011 Feb 04
5
[PATCH] kdump: introduce "reset_devices" command line option
upstream commit 7e96287ddc4f42081e18248b6167041c0908004c Author: Vivek Goyal <vgoyal@in.ibm.com> [PATCH] kdump: introduce "reset_devices" command line option Resetting the devices during driver initialization can be a costly operation in terms of time (especially scsi devices). This option can be used by drivers to know that user forcibly wants the devices to be reset during initialization. This...
2008 Aug 11
0
[patch] kexec and kdump documentation for xen
...RGS" KEXEC_ARGS + + where: + CRASH_KERNEL_IMAGE: the crash kernel image + CRASH_KERNEL_ARGS: command line arguments to the crash kernel + init 1 is strongly recommended + irqpoll is strongly recommended + maxcpus=1 is required if the crash kernel is SMP + reset_devices is strongly recommended + KEXEC_ARGS: additional kexec-tools command line arguments + On x86 --args-linux should be supplied if an uncompressed + vmlinux image is used as the crash kernel + + e.g. kexec -p /boot/crash-vmlinuz \ + --append "init 1 irqpoll maxcpus=1 r...
2014 Nov 14
0
Wine release 1.7.31
...rrent display settings match the registry settings. ddraw/tests: Fix some COM macro versions in test_coop_level_mode_set. d3d9/tests: Fix some wndproc comparison error messages. d3d8/tests: Fix some wndproc comparison error messages. d3d9/tests: Allow passing a resolution to reset_device. ddraw/tests: Rename modes and rectangles in test_coop_level_mode_set. ddraw/tests: Ddraw restores the mode settings from the registry. d3d/tests: Test fog interpolation. d3d9/tests: Allow passing a resolution to reset_device in d3d9ex. d3d8/tests: Allow passing a reso...
2009 Jun 19
2
[PATCH/RFC] virtio_test: A module for testing virtio via userspace
...*devno) +{ + struct device *dev; + char dev_name[DEV_NAME_MAX]; + + snprintf(dev_name, DEV_NAME_MAX, "%s%u", "viotest", MINOR(*devno)); + dev = device_create(viotest_class, NULL, *devno, NULL, dev_name); + if (IS_ERR(dev)) + return PTR_ERR(dev); + + return 0; +} + +static void reset_device(struct viotest_dev *vtest) +{ + struct viotest_vq *vtvq; + + BUG_ON(!(vtest->flags & CLEANUP_PENDING)); + + list_for_each_entry(vtvq, &vtest->vq_list, list) { + /*set exit condition (diff = -1) */ + spin_lock(&vtvq->vq_lock); + vtvq->callback.received = 1; + vtvq->cal...
2009 Jun 19
2
[PATCH/RFC] virtio_test: A module for testing virtio via userspace
...*devno) +{ + struct device *dev; + char dev_name[DEV_NAME_MAX]; + + snprintf(dev_name, DEV_NAME_MAX, "%s%u", "viotest", MINOR(*devno)); + dev = device_create(viotest_class, NULL, *devno, NULL, dev_name); + if (IS_ERR(dev)) + return PTR_ERR(dev); + + return 0; +} + +static void reset_device(struct viotest_dev *vtest) +{ + struct viotest_vq *vtvq; + + BUG_ON(!(vtest->flags & CLEANUP_PENDING)); + + list_for_each_entry(vtvq, &vtest->vq_list, list) { + /*set exit condition (diff = -1) */ + spin_lock(&vtvq->vq_lock); + vtvq->callback.received = 1; + vtvq->cal...