Re: [PATCH v1 3/3] btrfs: replace kmalloc() and memcpy() with kmemdup()

2024-12-18 Thread Mirsad Todorovac
Hi, Yes, I see you have the prior work and I have duplicated your work. Apology for the inconvenience. Best regards, Mirsad Todorovac On 12/18/24 11:32, Mark Harmstone wrote: > There's a fix for this already in the for-next branch: > https://github.com/btrfs/l

[PATCH v1 3/3] btrfs: replace kmalloc() and memcpy() with kmemdup()

2024-12-17 Thread Mirsad Todorovac
proposed improvement. Link: https://lwn.net/Articles/198928/ Fixes: 34310c442e175 ("btrfs: add io_uring command for encoded reads (ENCODED_READ ioctl)") Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: linux-bt...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Mirsad

[PATCH v1 2/3] xfs/libxfs: replace kmalloc() and memcpy() with kmemdup()

2024-12-17 Thread Mirsad Todorovac
sion") Cc: Carlos Maiolino Cc: "Darrick J. Wong" Cc: Chandan Babu R Cc: Dave Chinner Cc: linux-...@vger.kernel.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Mirsad Todorovac --- v1: initial version. fs/xfs/libxfs/xfs_dir2.c | 3 +-- 1 file changed, 1 insertion(+)

[PATCH v1 1/3] drm/admgpu: replace kmalloc() and memcpy() with kmemdup()

2024-12-17 Thread Mirsad Todorovac
..@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Mirsad Todorovac --- v1: initial version. drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amd

[PATCH v1 1/1] drm/xe: fix the ERR_PTR() returned on failure to allocate tiny pt

2024-11-21 Thread Mirsad Todorovac
Vetter Cc: Simona Vetter Cc: Mauro Carvalho Chehab Cc: Thomas Zimmermann Cc: Akshata Jahagirdar Cc: David Kershner Cc: intel...@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Cc: linux-ker...@vger.kernel.org Signed-off-by: Mirsad Todorovac --- v1: There is also t

Re: [BUG] 6.10-rc3 [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off [DUPLICATE]

2024-06-18 Thread Mirsad Todorovac
On 6/12/24 21:15, Mirsad Todorovac wrote: > Hi, all! > > Running the vanilla torvalds tree kernel 6.10-rc3, there occurred an error in > boot with > amdgpu. > > Here is the complete output: > > kernel: [8.704024] WARNING: CPU: 24 PID: 689 at > drivers/gpu/

[BUG] 6.10-rc3 [drm:amdgpu_fill_buffer [amdgpu]] *ERROR* Trying to clear memory with ring turned off

2024-06-13 Thread Mirsad Todorovac
00 R15: 594fe0e005f0 kernel: [8.706461] kernel: [8.706462] ---[ end trace ]--- Hope this helps. Best regards, Mirsad Todorovac

Re: BUG [RESEND][NEW BUG]: kernel NULL pointer dereference, address: 0000000000000008

2024-01-25 Thread Mirsad Todorovac
Hi Ma Jun, Greetings again. So, I just tested the recommended patch and the issue with the graphical login screen was successfully resolved. Thank you very much for your prompt reviews and recommended patches. God bless. Best regards, Mirsad Todorovac On 1/25/24 10:29, Mirsad Todorovac

Re: BUG [RESEND][NEW BUG]: kernel NULL pointer dereference, address: 0000000000000008

2024-01-25 Thread Mirsad Todorovac
instead). But of course, it is not profitable to remove your patch and have the NULL ptr dereference, but a proper fix is required. Thanks again. Best regards, Mirsad Todorovac On 1/25/2024 8:38 AM, Ma, Jun wrote: Hi Mirsad, On 1/25/2024 1:48 AM, Mirsad Todorovac wrote: Hi, Ma Jun, Normally

Re: BUG [RESEND][NEW BUG]: kernel NULL pointer dereference, address: 0000000000000008

2024-01-24 Thread Mirsad Todorovac
-09721-g61da593f4458 x86_64 marvin@defiant:~/linux/kernel/linux_torvalds$ So, there seems to be a problem with the way the patch affects XWayland. Checked multiple times the exact commit with and without the diff. Hope this helps, because I am not familiar with the amdgpu driver. Best regards

Re: BUG [RESEND]: kernel NULL pointer dereference, address: 0000000000000008

2024-01-22 Thread Mirsad Todorovac
og. However, there is another hang in XWayland password entry dialog, but I do not think that I figured out what is wrong. Best regards, Mirsad > Regards, > Ma Jun > > On 1/21/2024 3:54 AM, Mirsad Todorovac wrote: >> Hi, >> >> The last email did not pass to th

Re: [BUG][BISECTED] Freeze at loading init ramdisk

2024-01-22 Thread Mirsad Todorovac
On 1/22/24 11:20, Uwe Kleine-König wrote: On Thu, Jan 18, 2024 at 09:04:05PM +0100, Mirsad Todorovac wrote: On 1/18/24 08:45, Uwe Kleine-König wrote: Hello Mirsad, On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote: On 1/16/24 01:32, Mirsad Todorovac wrote: On the Ubuntu

BUG [RESEND]: kernel NULL pointer dereference, address: 0000000000000008

2024-01-20 Thread Mirsad Todorovac
4414] CS: 0010 DS: ES: CR0: 80050033 kernel: [5.914416] CR2: 0008 CR3: 0001222d CR4: 00750ef0 kernel: [5.914419] PKRU: 5554 Best regards, Mirsad On 1/18/24 18:23, Mirsad Todorovac wrote: Hi, Unfortunately, I was not able to reboot in this kern

Re: [BUG][BISECTED] Freeze at loading init ramdisk

2024-01-20 Thread Mirsad Todorovac
On 1/20/24 12:25, Bagas Sanjaya wrote: On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote: On 1/16/24 01:32, Mirsad Todorovac wrote: Hi, On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot freezes upon first two lines and before any

Re: REGRESSION: no console on current -git

2024-01-20 Thread Mirsad Todorovac
On 1/20/24 01:32, Jens Axboe wrote: On 1/19/24 5:27 PM, Helge Deller wrote: On 1/19/24 22:22, Jens Axboe wrote: On 1/19/24 2:14 PM, Helge Deller wrote: On 1/19/24 22:01, Jens Axboe wrote: On 1/19/24 1:55 PM, Helge Deller wrote: Adding Mirsad Todorovac (who reported a similar issue). On 1

Re: [BUG][BISECTED] Freeze at loading init ramdisk

2024-01-18 Thread Mirsad Todorovac
On 1/18/24 22:14, Uwe Kleine-König wrote: On Thu, Jan 18, 2024 at 09:04:05PM +0100, Mirsad Todorovac wrote: On 1/18/24 08:45, Uwe Kleine-König wrote: Hello Mirsad, On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote: On 1/16/24 01:32, Mirsad Todorovac wrote: On the Ubuntu

Re: [BUG][BISECTED] Freeze at loading init ramdisk

2024-01-18 Thread Mirsad Todorovac
On 1/18/24 08:45, Uwe Kleine-König wrote: Hello Mirsad, On Wed, Jan 17, 2024 at 07:47:49PM +0100, Mirsad Todorovac wrote: On 1/16/24 01:32, Mirsad Todorovac wrote: On the Ubuntu 22.04 LTS Jammy platform, on a mainline vanilla torvalds tree kernel, the boot freezes upon first two lines and

Re: [BUG] KCSAN: data-race in drm_sched_entity_is_ready [gpu_sched] / drm_sched_entity_push_job [gpu_sched]

2023-08-25 Thread Mirsad Todorovac
ry barrier. On the other hand we probably have cases where this is not correctly implemented. So double checking those would most like be good idea. Regards, Christian. Am 21.08.23 um 16:28 schrieb Mirsad Todorovac: Hi Christian, Thank you for the update. Should I continue reporting what

Re: [BUG] KCSAN: data-race in drm_sched_entity_is_ready [gpu_sched] / drm_sched_entity_push_job [gpu_sched]

2023-08-21 Thread Mirsad Todorovac
() doesn't see the data written by drm_sched_entity_push_job() is part of the logic here. Regards, Christian. Am 18.08.23 um 15:44 schrieb Mirsad Todorovac: On 8/17/23 21:54, Mirsad Todorovac wrote: Hi, This is your friendly bug reporter. The environment is vanilla torvalds tree kernel on U

[BUG]: amdgpu: soft lockup - CPU#1 stuck for 26s! [systemd-udevd:635]

2023-08-20 Thread Mirsad Todorovac
2] [ 69.462372] == Best regards, Mirsad Todorovac

[BUG]: amdgpu: soft lockup - CPU#1 stuck for 26s! [systemd-udevd:635]

2023-08-20 Thread Mirsad Todorovac
: 5561184ba330 [ 69.235072] [ 69.462372] == Best regards, Mirsad Todorovac config-6.5.0-rc7-kcsan-g706a74159504.xz Description: application/xz lshw.txt.xz Description: application/xz

Re: [BUG] KCSAN: data-race in drm_sched_entity_is_ready [gpu_sched] / drm_sched_entity_push_job [gpu_sched]

2023-08-18 Thread Mirsad Todorovac
On 8/17/23 21:54, Mirsad Todorovac wrote: Hi, This is your friendly bug reporter. The environment is vanilla torvalds tree kernel on Ubuntu 22.04 LTS and a Ryzen 7950X box. Please find attached the complete dmesg output from the ring buffer and lshw output. NOTE: The kernel reports tainted

[BUG] KCSAN: data-race in drm_sched_entity_is_ready [gpu_sched] / drm_sched_entity_push_job [gpu_sched]

2023-08-17 Thread Mirsad Todorovac
PG Lightning, BIOS 1.21 04/26/2023 [ 8791.874002] == Best regards, Mirsad Todorovac dmesg-3.log.xz Description: application/xz lshw.txt.xz Description: application/xz

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Fix a memory leak with reused mmap_offset

2023-01-18 Thread Mirsad Todorovac
Hi, On 1/18/23 11:39, Das, Nirmoy wrote: On 1/18/2023 11:26 AM, Mirsad Todorovac wrote: Hi, On 1/18/23 10:19, Tvrtko Ursulin wrote: Thanks for working on this, it looks good to me and it aligns with how i915 uses the facility. Copying Mirsad who reported the issue in case he is still

Re: [PATCH 2/2] drm/i915: Fix a memory leak with reused mmap_offset

2023-01-18 Thread Mirsad Todorovac
sulin Cc: Andi Shyti Fixes: 786555987207 ("drm/i915/gem: Store mmap_offsets in an rbtree rather than a plain list") Reported-by: Chuansheng Liu Reported-by: Mirsad Todorovac Cc: # v5.7+ Reviewed-by: Tvrtko Ursulin Regards, Tvrtko Signed-off-by: Nirmoy Das ---   drive