search for: dev_printk

Displaying 20 results from an estimated 52 matches for "dev_printk".

2012 Oct 28
3
[PATCH 00/16] treewide: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
dev_<level> create smaller objects than dev_printk(KERN_<LEVEL>. Convert non-debug calls to this form. Joe Perches (16): tile: Convert dev_printk(KERN_<LEVEL> to dev_<level>( ata: Convert dev_printk(KERN_<LEVEL> to dev_<level>( drivers: base: Convert dev_printk(KERN_<LEVEL> to dev_<level>( block: C...
2012 Oct 28
3
[PATCH 00/16] treewide: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
dev_<level> create smaller objects than dev_printk(KERN_<LEVEL>. Convert non-debug calls to this form. Joe Perches (16): tile: Convert dev_printk(KERN_<LEVEL> to dev_<level>( ata: Convert dev_printk(KERN_<LEVEL> to dev_<level>( drivers: base: Convert dev_printk(KERN_<LEVEL> to dev_<level>( block: C...
2008 Jan 14
6
[PATCH] KVM virtio balloon driver
...driver should be merged through the virtio tree, so here it goes. It depends on the config_changed patch posted earlier. ----- Following patch adds the KVM balloon driver. Changes from last version: - Get rid of global variables/structure - Use page->lru to link ballooned pages - Use dev_dbg/dev_printk - Proper kthread_should_stop handling - Move shared definitions to separate header - Use ->config_changed method for notification This depends on Rusty's config_changed patch. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Index: linux-2.6-nv/drivers/virtio/Kconfig ==========...
2008 Jan 14
6
[PATCH] KVM virtio balloon driver
...driver should be merged through the virtio tree, so here it goes. It depends on the config_changed patch posted earlier. ----- Following patch adds the KVM balloon driver. Changes from last version: - Get rid of global variables/structure - Use page->lru to link ballooned pages - Use dev_dbg/dev_printk - Proper kthread_should_stop handling - Move shared definitions to separate header - Use ->config_changed method for notification This depends on Rusty's config_changed patch. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Index: linux-2.6-nv/drivers/virtio/Kconfig ==========...
2008 Jan 24
2
[PATCH] Fix compile warnings in virtio_balloon
...ic void fill_balloon(struct virtio_balloon *vb, unsigned long num) { /* We can only do one array worth at a time. */ num = min(num, ARRAY_SIZE(vb->pfns)); @@ -92,7 +92,7 @@ static void fill_balloon(struct virtio_balloon *vb, unsigned int num) if (!page) { if (printk_ratelimit()) dev_printk(KERN_INFO, &vb->vdev->dev, - "Out of puff! Can't get %u pages\n", + "Out of puff! Can't get %lu pages\n", num); /* Sleep for at least 1/5 of a second before retry. */ msleep(200); @@ -121,7 +121,7 @@ static void release_pages_by_p...
2008 Jan 24
2
[PATCH] Fix compile warnings in virtio_balloon
...ic void fill_balloon(struct virtio_balloon *vb, unsigned long num) { /* We can only do one array worth at a time. */ num = min(num, ARRAY_SIZE(vb->pfns)); @@ -92,7 +92,7 @@ static void fill_balloon(struct virtio_balloon *vb, unsigned int num) if (!page) { if (printk_ratelimit()) dev_printk(KERN_INFO, &vb->vdev->dev, - "Out of puff! Can't get %u pages\n", + "Out of puff! Can't get %lu pages\n", num); /* Sleep for at least 1/5 of a second before retry. */ msleep(200); @@ -121,7 +121,7 @@ static void release_pages_by_p...
2015 Oct 06
2
Chipset & Family
4.1.8-200.fc22.x86_64 dmesg: [ 11.809467] nouveau [ DEVICE][0000:02:00.0] BOOT0 : 0x098200a2 [ 11.809493] nouveau [ DEVICE][0000:02:00.0] Chipset: G98 (NV98) [ 11.809508] nouveau [ DEVICE][0000:02:00.0] Family : NV50 4.3.0-0.rc4.git0.1.fc24.x86_64 dmesg: [ 2.483843] nouveau 0000:02:00.0: NVIDIA G98 (098200a2) Where vanished these Chipset & Family super cool lines?
2015 Oct 06
2
Chipset & Family
...t; > http://cgit.freedesktop.org/~darktama/nouveau/commit/drm/nouveau/nvkm/engine/device/base.c?id=6cc9e47 > > commit 6cc9e47f7f574cb3df6b14caebf15b35408b106d > Author: Ben Skeggs <bskeggs at redhat.com> > Date: Thu Aug 20 14:54:13 2015 +1000 > > device: switch to dev_printk macros > > Signed-off-by: Ben Skeggs <bskeggs at redhat.com> > > drm/nouveau/nvkm/engine/device/base.c | 11 +++-------- > ... > > > - nv_info(device, "BOOT0 : 0x%08x\n", boot0); > - nv_info(device, "Chipset: %s (NV%02X)\n",...
2012 Jun 25
5
[PATCH 0/4] make balloon pages movable by compaction
This patchset follows the main idea discussed at 2012 LSFMMS section: "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ to introduce the required changes to the virtio_balloon driver, as well as changes to the core compaction & migration bits, in order to allow memory balloon pages become movable within a guest. Rafael Aquini (4): mm: introduce compaction
2012 Jun 25
5
[PATCH 0/4] make balloon pages movable by compaction
This patchset follows the main idea discussed at 2012 LSFMMS section: "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ to introduce the required changes to the virtio_balloon driver, as well as changes to the core compaction & migration bits, in order to allow memory balloon pages become movable within a guest. Rafael Aquini (4): mm: introduce compaction
2012 Jul 03
4
[PATCH v3 0/4] make balloon pages movable by compaction
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This patchset follows the main idea discussed at 2012 LSFMMS section: "Ballooning for transparent huge
2012 Jul 03
4
[PATCH v3 0/4] make balloon pages movable by compaction
Memory fragmentation introduced by ballooning might reduce significantly the number of 2MB contiguous memory blocks that can be used within a guest, thus imposing performance penalties associated with the reduced number of transparent huge pages that could be used by the guest workload. This patchset follows the main idea discussed at 2012 LSFMMS section: "Ballooning for transparent huge
2012 Jun 28
6
[PATCH v2 0/4] make balloon pages movable by compaction
This patchset follows the main idea discussed at 2012 LSFMMS section: "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ to introduce the required changes to the virtio_balloon driver, as well as changes to the core compaction & migration bits, in order to allow memory balloon pages become movable within a guest. Rafael Aquini (4): mm: introduce compaction
2012 Jun 28
6
[PATCH v2 0/4] make balloon pages movable by compaction
This patchset follows the main idea discussed at 2012 LSFMMS section: "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ to introduce the required changes to the virtio_balloon driver, as well as changes to the core compaction & migration bits, in order to allow memory balloon pages become movable within a guest. Rafael Aquini (4): mm: introduce compaction
2014 Jun 12
2
Re: libguestfs supermin error
On Thu, Jun 12, 2014 at 05:08:37PM +0530, abhishek jain wrote: > Hi Rich > > I have all the virtio modules available in the kernel but I'm getting the > same result . It doesn't appear to be using any kernel modules. I would have expected to see output such as this: supermin: internal insmod virtio.ko It seems as if you might not be setting SUPERMIN_MODULES; or maybe you
2020 Jul 16
0
[PATCH vhost next 09/10] vdpa/mlx5: Add shared memory registration code
...from include/linux/rcupdate.h:27, from include/linux/rculist.h:11, from include/linux/pid.h:5, from include/linux/sched.h:14, from include/linux/ratelimit.h:6, from include/linux/dev_printk.h:16, from include/linux/device.h:15, from include/linux/vdpa.h:6, from drivers/vdpa/mlx5/core/mr.c:4: drivers/vdpa/mlx5/core/mr.c: In function 'map_direct_mr': >> drivers/vdpa/mlx5/core/mr.c:254:21: error: implicit declar...
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...m_pfns++) { + struct page *page; + unsigned long inode_pfn = find_available_inode_page(vb); + /* Should always be able to find a page. */ + BUG_ON(!inode_pfn); + page = read_mapping_page(the_inode.inode.i_mapping, inode_pfn, + NULL); + if (IS_ERR(page)) { + if (printk_ratelimit()) + dev_printk(KERN_INFO, &vb->vdev->dev, + "Out of puff! Can't get %zu pages\n", + num); + break; + } + + /* Set the page to be dirty */ + set_page_dirty(page); + + vb->pfns[vb->num_pfns] = page_to_pfn(page); + } + + /* Didn't get any? Oh well. */ + if (vb-&...
2012 Jun 26
6
[PATCH] Add a page cache-backed balloon device driver.
...m_pfns++) { + struct page *page; + unsigned long inode_pfn = find_available_inode_page(vb); + /* Should always be able to find a page. */ + BUG_ON(!inode_pfn); + page = read_mapping_page(the_inode.inode.i_mapping, inode_pfn, + NULL); + if (IS_ERR(page)) { + if (printk_ratelimit()) + dev_printk(KERN_INFO, &vb->vdev->dev, + "Out of puff! Can't get %zu pages\n", + num); + break; + } + + /* Set the page to be dirty */ + set_page_dirty(page); + + vb->pfns[vb->num_pfns] = page_to_pfn(page); + } + + /* Didn't get any? Oh well. */ + if (vb-&...
2008 Dec 14
5
[PATCH] AF_VMCHANNEL address family for guest<->host communication.
...hannel_probe(struct virtio_device *vdev) +{ + int r, i; + __le32 count; + unsigned offset; + + vdev->priv = &vmc_dev; + vmc_dev.vdev = vdev; + + vdev->config->get(vdev, 0, &count, sizeof(count)); + + vmc_dev.channel_count = le32_to_cpu(count); + if (vmc_dev.channel_count == 0) { + dev_printk(KERN_ERR, &vdev->dev, "No channels present\n"); + return -ENODEV; + } + + pr_debug("vmchannel: %d channel detected\n", vmc_dev.channel_count); + + vmc_dev.channels = + kzalloc(vmc_dev.channel_count * sizeof(struct vmchannel_info), + GFP_KERNEL); + if (!vmc_dev.channe...
2008 Dec 14
5
[PATCH] AF_VMCHANNEL address family for guest<->host communication.
...hannel_probe(struct virtio_device *vdev) +{ + int r, i; + __le32 count; + unsigned offset; + + vdev->priv = &vmc_dev; + vmc_dev.vdev = vdev; + + vdev->config->get(vdev, 0, &count, sizeof(count)); + + vmc_dev.channel_count = le32_to_cpu(count); + if (vmc_dev.channel_count == 0) { + dev_printk(KERN_ERR, &vdev->dev, "No channels present\n"); + return -ENODEV; + } + + pr_debug("vmchannel: %d channel detected\n", vmc_dev.channel_count); + + vmc_dev.channels = + kzalloc(vmc_dev.channel_count * sizeof(struct vmchannel_info), + GFP_KERNEL); + if (!vmc_dev.channe...