search for: printk_ratelimit

Displaying 20 results from an estimated 91 matches for "printk_ratelimit".

2011 Jun 16
1
[PATCH 00/11] Replace printk_rateilimit() with printk_ratelimited()
Hi, since the printk_ratelimit() function shouldn't be used anymore, I replaced it in a few files with printk_ratelimited(). If you wish some more patches I can send more in. Greets, Manu Manuel Zerpies (11): drivers/ide: use printk_ratelimited() instead of printk_ratelimit() drivers/tty: use printk_ratelimited() inst...
2011 Jun 16
1
[PATCH 00/11] Replace printk_rateilimit() with printk_ratelimited()
Hi, since the printk_ratelimit() function shouldn't be used anymore, I replaced it in a few files with printk_ratelimited(). If you wish some more patches I can send more in. Greets, Manu Manuel Zerpies (11): drivers/ide: use printk_ratelimited() instead of printk_ratelimit() drivers/tty: use printk_ratelimited() inst...
2011 Jun 16
1
[PATCH 00/11] Replace printk_rateilimit() with printk_ratelimited()
Hi, since the printk_ratelimit() function shouldn't be used anymore, I replaced it in a few files with printk_ratelimited(). If you wish some more patches I can send more in. Greets, Manu Manuel Zerpies (11): drivers/ide: use printk_ratelimited() instead of printk_ratelimit() drivers/tty: use printk_ratelimited() inst...
2018 May 10
4
kernel spew from nouveau/ swiotlb
...omer:/novell/ssh # dmesg|grep 'swiotlb buffer is full'|wc -l 2052 homer:/novell/ssh # dmesg|grep 'callbacks suppressed'|wc -l 171 lib/swiotlb.c: 573 not_found: 574         spin_unlock_irqrestore(&io_tlb_lock, flags); 575         if (!(attrs & DMA_ATTR_NO_WARN) && printk_ratelimit()) 576                 dev_warn(hwdev, "swiotlb buffer is full (sz: %zd bytes)\n", size); Does nouveau perhaps want one of those DMA_ATTR_NO_WARN thingies? -Mike
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: Convert dev_printk(KERN_<LEVEL> to
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: Convert dev_printk(KERN_<LEVEL> to
2008 Apr 04
1
kernel BUG at drivers/virtio/virtio_ring.c:218!
...led. To validate my understanding, I commented out the BUG_ON and everything worked perfectly well. I also get a lot of "Unlikely: restart svq race" on my console. Under high load conditions, a race could occur very often and I'm not sure if that signals a buggy situation. We could printk_ratelimit if at all we need to retain it. If you agree, I'll send a patch to this. -- thanks and regards, Balaji Rao Dept. of Mechanical Engineering, National Institute of Technology Karnataka, India
2008 Apr 04
1
kernel BUG at drivers/virtio/virtio_ring.c:218!
...led. To validate my understanding, I commented out the BUG_ON and everything worked perfectly well. I also get a lot of "Unlikely: restart svq race" on my console. Under high load conditions, a race could occur very often and I'm not sure if that signals a buggy situation. We could printk_ratelimit if at all we need to retain it. If you agree, I'll send a patch to this. -- thanks and regards, Balaji Rao Dept. of Mechanical Engineering, National Institute of Technology Karnataka, India
2013 Jan 17
0
[PATCH] drm/nouveau/mc: complain loudly if we can't call a interrupt handler
...truct nouveau_subdev *subdev) while (stat && map->stat) { if (stat & map->stat) { unit = nouveau_subdev(subdev, map->unit); - if (unit && unit->intr) - unit->intr(unit); + if (unit) { + if (unit->intr) + unit->intr(unit); + else if (printk_ratelimit()) + nv_error(pmc, + "%s has no interrupt handler, ignoring interrupt %x\n", + unit->name, intr & map->stat); + } else if (printk_ratelimit()) + nv_error(pmc, "subdev %u does not exist for interrupt %x\n", + map->unit, intr & map->st...
2008 Jan 24
2
[PATCH] Fix compile warnings in virtio_balloon
..., unsigned int num) +static 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...
2008 Jan 24
2
[PATCH] Fix compile warnings in virtio_balloon
..., unsigned int num) +static 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...
2017 Nov 21
2
[PATCH v2] drm: don't continue with anything after the GPU couldn't be woken up
On Tue, Nov 21, 2017 at 6:46 PM, Thierry Reding <thierry.reding at gmail.com> wrote: > On Tue, Nov 21, 2017 at 04:01:16PM +0100, Karol Herbst wrote: >> This should make systems more stable where resuming the GPU fails. This >> can happen due to bad firmware or due to a bug within the kernel. The >> last thing which should happen in either case is an unusable system.
2018 May 10
0
kernel spew from nouveau/ swiotlb
...lb buffer is full'|wc -l > 2052 > homer:/novell/ssh # dmesg|grep 'callbacks suppressed'|wc -l > 171 > > lib/swiotlb.c: > 573 not_found: > 574         spin_unlock_irqrestore(&io_tlb_lock, flags); > 575         if (!(attrs & DMA_ATTR_NO_WARN) && printk_ratelimit()) > 576                 dev_warn(hwdev, "swiotlb buffer is full (sz: %zd > bytes)\n", size); > > Does nouveau perhaps want one of those DMA_ATTR_NO_WARN thingies? > Could you bisect ? I would love to point finger upstream to the DMA folk who made changes to that API w...
2018 May 10
0
kernel spew from nouveau/ swiotlb
...lb buffer is full'|wc -l > 2052 > homer:/novell/ssh # dmesg|grep 'callbacks suppressed'|wc -l > 171 > > lib/swiotlb.c: > 573 not_found: > 574         spin_unlock_irqrestore(&io_tlb_lock, flags); > 575         if (!(attrs & DMA_ATTR_NO_WARN) && printk_ratelimit()) > 576                 dev_warn(hwdev, "swiotlb buffer is full (sz: %zd bytes)\n", size); > > Does nouveau perhaps want one of those DMA_ATTR_NO_WARN thingies? Or should ttm perhaps always use the one on hand? (seems to work) --- drivers/gpu/drm/ttm/ttm_page_alloc_dma.c |...
2011 Aug 08
0
[PATCH] Btrfs: ratelimit the generation printk for the free space cache
...ddr; if (*gen != BTRFS_I(inode)->generation) { - printk(KERN_ERR "btrfs: space cache generation" - " (%llu) does not match inode (%llu)\n", - (unsigned long long)*gen, - (unsigned long long) - BTRFS_I(inode)->generation); + printk_ratelimited(KERN_ERR "btrfs: space cache" + " generation (%llu) does not match " + "inode (%llu)\n", + (unsigned long long)*gen, + (unsigned long long) + BTRFS_I(inode)->generation); kunmap(page); unlock_page(page); page_cache_release(page);...
2017 Nov 22
0
[PATCH v2] drm: don't continue with anything after the GPU couldn't be woken up
.... pci_raw_set_power_state(), called by pci_set_power_state(), contains this, which looks to me like it would be the only case where the problem you're describing could be coming from: dev->current_state = (pmcsr & PCI_PM_CTRL_STATE_MASK); if (dev->current_state != state && printk_ratelimit()) dev_info(&dev->dev, "Refused to change power state, currently in D%d\n", dev->current_state); Do you happen to see this in the kernel logs? Perhaps this should be considered an error rather than just an KERN_INFO level message? Adding Bjorn and linux-pci for visibilit...
2018 May 11
2
kernel spew from nouveau/ swiotlb
...052 > > homer:/novell/ssh # dmesg|grep 'callbacks suppressed'|wc -l > > 171 > > > > lib/swiotlb.c: > > 573 not_found: > > 574         spin_unlock_irqrestore(&io_tlb_lock, flags); > > 575         if (!(attrs & DMA_ATTR_NO_WARN) && printk_ratelimit()) > > 576                 dev_warn(hwdev, "swiotlb buffer is full (sz: %zd bytes)\n", size); > > > > Does nouveau perhaps want one of those DMA_ATTR_NO_WARN thingies? > > Or should ttm perhaps always use the one on hand? (seems to work) No it didn't, I ju...
2011 Dec 09
10
[PATCH 0/3] Btrfs: add IO error device stats
The goal is to detect when drives start to get an increased error rate, when drives should be replaced soon. Therefore statistic counters are added that count IO errors (read, write and flush). Additionally, the software detected errors like checksum errors and corrupted blocks are counted. An ioctl interface is added to get the device statistic counters. A second ioctl is added to atomically get
2013 Aug 16
7
[PATCH v2] xen/console: buffer and show origin of guest PV writes
..._unlock(&cd->pbuf_lock); } - spin_unlock_irq(&console_lock); - guest_handle_add_offset(buffer, kcount); count -= kcount; } @@ -504,12 +547,12 @@ static int printk_prefix_check(char *p, char **pp) ((loglvl < upper_thresh) && printk_ratelimit())); } -static void printk_start_of_line(void) +static void printk_start_of_line(const char *prefix) { struct tm tm; char tstr[32]; - __putstr("(XEN) "); + __putstr(prefix); if ( !opt_console_timestamps ) return; @@ -524,12 +567,11 @@ static void pri...
2011 Jul 21
10
[PATCH v5 0/8] Btrfs scrub: print path to corrupted files and trigger nodatasum fixup
While testing raid-auto-repair patches I''m going to send out later, I just found the very last bug in my current scrub patch series: Changelog v4->v5: - fixed a deadlock when fixup is taking longer while scrub is about to end Original message follows: ------------------------ This patch set introduces two new features for scrub. They share the backref iteration code which is the