Displaying 13 results from an estimated 13 matches for "find_held_lock".
2018 Aug 03
0
[net-next, v6, 6/7] net-sysfs: Add interface for Rx queue(s) map per Tx queue
...int_address_description+0x6a/0x270
> [ 7.275648] kasan_report+0x258/0x380
> [ 7.275653] ? virtnet_poll+0xaa1/0xd00
> [ 7.275661] virtnet_poll+0xaa1/0xd00
> [ 7.275680] ? receive_buf+0x5920/0x5920
> [ 7.275689] ? do_raw_spin_unlock+0x54/0x220
> [ 7.275699] ? find_held_lock+0x32/0x1c0
> [ 7.275710] ? rcu_process_callbacks+0xa60/0xd20
> [ 7.275736] net_rx_action+0x2ee/0xad0
> [ 7.275748] ? rcu_note_context_switch+0x320/0x320
> [ 7.275754] ? napi_complete_done+0x300/0x300
> [ 7.275763] ? native_apic_msr_write+0x27/0x30
> [ 7.2757...
2019 Jun 14
0
[PATCH v2] drm/nouveau/dmem: missing mutex_lock in error path
...nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1294.962213] print_unlock_imbalance_bug.cold.52+0xca/0xcf
[ 1294.967641] lock_release+0x306/0x380
[ 1294.971383] ? nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1294.978089] ? lock_downgrade+0x2d0/0x2d0
[ 1294.982121] ? find_held_lock+0xac/0xd0
[ 1294.985979] __mutex_unlock_slowpath+0x8f/0x3f0
[ 1294.990540] ? wait_for_completion+0x230/0x230
[ 1294.995002] ? rwlock_bug.part.2+0x60/0x60
[ 1294.999197] nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1295.005751] ? page_mapping+0x98/0x110
[ 1295.009511] migrate_vm...
2019 Jul 26
0
[PATCH AUTOSEL 5.2 85/85] drm/nouveau/dmem: missing mutex_lock in error path
...nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1294.962213] print_unlock_imbalance_bug.cold.52+0xca/0xcf
[ 1294.967641] lock_release+0x306/0x380
[ 1294.971383] ? nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1294.978089] ? lock_downgrade+0x2d0/0x2d0
[ 1294.982121] ? find_held_lock+0xac/0xd0
[ 1294.985979] __mutex_unlock_slowpath+0x8f/0x3f0
[ 1294.990540] ? wait_for_completion+0x230/0x230
[ 1294.995002] ? rwlock_bug.part.2+0x60/0x60
[ 1294.999197] nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1295.005751] ? page_mapping+0x98/0x110
[ 1295.009511] migrate_vm...
2019 Jun 14
1
[PATCH] drm/nouveau/dmem: missing mutex_lock in error path
...nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1294.962213] print_unlock_imbalance_bug.cold.52+0xca/0xcf
[ 1294.967641] lock_release+0x306/0x380
[ 1294.971383] ? nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1294.978089] ? lock_downgrade+0x2d0/0x2d0
[ 1294.982121] ? find_held_lock+0xac/0xd0
[ 1294.985979] __mutex_unlock_slowpath+0x8f/0x3f0
[ 1294.990540] ? wait_for_completion+0x230/0x230
[ 1294.995002] ? rwlock_bug.part.2+0x60/0x60
[ 1294.999197] nouveau_dmem_migrate_alloc_and_copy+0x79f/0xbf0 [nouveau]
[ 1295.005751] ? page_mapping+0x98/0x110
[ 1295.009511] migrate_vm...
2019 Jun 14
3
[PATCH] drm/nouveau/dmem: missing mutex_lock in error path
In nouveau_dmem_pages_alloc(), the drm->dmem->mutex is unlocked before
calling nouveau_dmem_chunk_alloc().
Reacquire the lock before continuing to the next page.
Signed-off-by: Ralph Campbell <rcampbell at nvidia.com>
---
I found this while testing Jason Gunthorpe's hmm tree but this is
independant of those changes. I guess it could go through
David Airlie's tree for nouveau
2017 Aug 10
2
[PATCH 1/2] virtio: Reduce BUG if total_sg > virtqueue size to WARN.
On Thu, Aug 10, 2017 at 05:40:34PM +0100, Richard W.M. Jones wrote:
> If using indirect descriptors, you can make the total_sg as large as
> you want.
That would be a spec violation though, even if it happens to
work on current QEMU.
The spec says:
A driver MUST NOT create a descriptor chain longer than the Queue Size of the device.
What prompted this patch? Do we ever encounter this
2017 Aug 10
2
[PATCH 1/2] virtio: Reduce BUG if total_sg > virtqueue size to WARN.
On Thu, Aug 10, 2017 at 05:40:34PM +0100, Richard W.M. Jones wrote:
> If using indirect descriptors, you can make the total_sg as large as
> you want.
That would be a spec violation though, even if it happens to
work on current QEMU.
The spec says:
A driver MUST NOT create a descriptor chain longer than the Queue Size of the device.
What prompted this patch? Do we ever encounter this
2017 Aug 10
0
[PATCH 1/2] virtio: Reduce BUG if total_sg > virtqueue size to WARN.
...0
[ 4.055095] blk_mq_flush_plug_list+0x19d/0x410
[ 4.055661] blk_flush_plug_list+0xf9/0x2b0
[ 4.056182] blk_finish_plug+0x2c/0x40
[ 4.056655] __do_page_cache_readahead+0x32e/0x400
[ 4.057261] filemap_fault+0x2fb/0x890
[ 4.057731] ? filemap_fault+0x2fb/0x890
[ 4.058220] ? find_held_lock+0x3c/0xb0
[ 4.058714] ext4_filemap_fault+0x34/0x50
[ 4.059212] __do_fault+0x1e/0x110
[ 4.059644] __handle_mm_fault+0x6b2/0x1080
[ 4.060167] handle_mm_fault+0x178/0x350
[ 4.060662] __do_page_fault+0x26e/0x510
[ 4.061152] trace_do_page_fault+0x9d/0x290
[ 4.061677] do_async...
2018 May 02
0
[PATCH] drm/nouveau: Fix deadlock in nv50_mstm_register_connector()
...? drm_dp_check_mstb_guid+0xd6/0x120 [drm_kms_helper]
? trace_hardirqs_on_caller+0xed/0x180
? drm_dp_check_mstb_guid+0xd6/0x120 [drm_kms_helper]
drm_dp_send_link_address+0x155/0x1e0 [drm_kms_helper]
drm_dp_add_port+0x33f/0x420 [drm_kms_helper]
? nouveau_connector_aux_xfer+0x7c/0xb0 [nouveau]
? find_held_lock+0x2d/0x90
? drm_dp_dpcd_access+0xd9/0xf0 [drm_kms_helper]
? __mutex_unlock_slowpath+0x3b/0x280
? drm_dp_dpcd_access+0xd9/0xf0 [drm_kms_helper]
drm_dp_send_link_address+0x155/0x1e0 [drm_kms_helper]
drm_dp_check_and_send_link_address+0x87/0xd0 [drm_kms_helper]
drm_dp_mst_link_probe_work+0x4d/0x...
2017 Aug 10
2
[PATCH 1/2] virtio: Reduce BUG if total_sg > virtqueue size to WARN.
..._plug_list+0x19d/0x410
> [ 4.055661] blk_flush_plug_list+0xf9/0x2b0
> [ 4.056182] blk_finish_plug+0x2c/0x40
> [ 4.056655] __do_page_cache_readahead+0x32e/0x400
> [ 4.057261] filemap_fault+0x2fb/0x890
> [ 4.057731] ? filemap_fault+0x2fb/0x890
> [ 4.058220] ? find_held_lock+0x3c/0xb0
> [ 4.058714] ext4_filemap_fault+0x34/0x50
> [ 4.059212] __do_fault+0x1e/0x110
> [ 4.059644] __handle_mm_fault+0x6b2/0x1080
> [ 4.060167] handle_mm_fault+0x178/0x350
> [ 4.060662] __do_page_fault+0x26e/0x510
> [ 4.061152] trace_do_page_fault+0x9d/...
2017 Aug 10
2
[PATCH 1/2] virtio: Reduce BUG if total_sg > virtqueue size to WARN.
..._plug_list+0x19d/0x410
> [ 4.055661] blk_flush_plug_list+0xf9/0x2b0
> [ 4.056182] blk_finish_plug+0x2c/0x40
> [ 4.056655] __do_page_cache_readahead+0x32e/0x400
> [ 4.057261] filemap_fault+0x2fb/0x890
> [ 4.057731] ? filemap_fault+0x2fb/0x890
> [ 4.058220] ? find_held_lock+0x3c/0xb0
> [ 4.058714] ext4_filemap_fault+0x34/0x50
> [ 4.059212] __do_fault+0x1e/0x110
> [ 4.059644] __handle_mm_fault+0x6b2/0x1080
> [ 4.060167] handle_mm_fault+0x178/0x350
> [ 4.060662] __do_page_fault+0x26e/0x510
> [ 4.061152] trace_do_page_fault+0x9d/...
2019 Jul 28
1
[Bug 111242] New: Device driver tries to sync DMA memory it has not allocated
...0000000000606e0
jul 28 17:16:25 localhost.localdomain kernel: Call Trace:
jul 28 17:16:25 localhost.localdomain kernel: ?
_raw_spin_unlock_irqrestore+0x4b/0x60
jul 28 17:16:25 localhost.localdomain kernel:
debug_dma_sync_single_for_device+0x7b/0x90
jul 28 17:16:25 localhost.localdomain kernel: ? find_held_lock+0x32/0x90
jul 28 17:16:25 localhost.localdomain kernel: ? sched_clock+0x5/0x10
jul 28 17:16:25 localhost.localdomain kernel: ? sched_clock_cpu+0xc/0xc0
jul 28 17:16:25 localhost.localdomain kernel:
nouveau_bo_sync_for_device+0x80/0xc0 [nouveau]
jul 28 17:16:25 localhost.localdomain kernel: nouv...
2018 Mar 19
0
get_user_pages returning 0 (was Re: kernel BUG at drivers/vhost/vhost.c:LINE!)
...xee0/0x1920
[ 36.085397] ? vhost_net_stop_vq+0xf0/0xf0
[ 36.089603] ? avc_ss_reset+0x110/0x110
[ 36.093547] ? __handle_mm_fault+0x5ba/0x38c0
[ 36.098012] ? __pmd_alloc+0x4e0/0x4e0
[ 36.101869] ? trace_hardirqs_off+0x10/0x10
[ 36.106161] ? __fd_install+0x25f/0x740
[ 36.110106] ? find_held_lock+0x35/0x1d0
[ 36.114145] ? check_same_owner+0x320/0x320
[ 36.118438] ? rcu_note_context_switch+0x710/0x710
[ 36.123334] ? __do_page_fault+0x5f7/0xc90
[ 36.127540] ? vhost_net_stop_vq+0xf0/0xf0
[ 36.131742] do_vfs_ioctl+0x1b1/0x1520
[ 36.135601] ? ioctl_preallocate+0x2b0/0x2b0
[ 3...