mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Paneer Selvam, Arunpravin" <arunpravin.paneerselvam@amd.com>
To: Alex Deucher <alexdeucher@gmail.com>,
	Linus Torvalds <torvalds@linux-foundation.org>
Cc: Dave Airlie <airlied@gmail.com>,
	Daniel Vetter <daniel.vetter@ffwll.ch>,
	"Deucher, Alexander" <Alexander.Deucher@amd.com>,
	dri-devel <dri-devel@lists.freedesktop.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [git pull] drm urgent for 6.10-rc1
Date: Fri, 17 May 2024 03:27:51 +0530	[thread overview]
Message-ID: <6225ecf4-f4ca-4ed7-a316-69c86f4ade7f@amd.com> (raw)
In-Reply-To: <CADnq5_NmC9bYkPFUD35gBtxsk_9jYhOTugni-q4WGXggf6=rLA@mail.gmail.com>



On 5/17/2024 12:01 AM, Alex Deucher wrote:
> On Thu, May 16, 2024 at 2:02 PM Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
>> On Wed, 15 May 2024 at 19:54, Dave Airlie <airlied@gmail.com> wrote:
>>> Here is the buddy allocator fix I picked up from the list, please apply.
>> So I removed my reverts, and am running a kernel that includes the
>> merge 972a2543e3dd ("Merge tag 'drm-next-2024-05-16' of
>> https://gitlab.freedesktop.org/drm/kernel") but I still see a lot of
>> warnings as per below.
>>
>> I was going to say that the difference is that now they trigger
>> through the page fault path (amdgpu_gem_fault) while previously they
>> triggered through the system call path and amdgpu_drm_ioctl. But it
>> turns out it's both in both cases, and it just happened to be one or
>> the other in the particular warnings that I cut-and-pasted.
>>
>> As before, there are tens of thousands of them after being up for less
>> than an hour, so this is not some kind of rare thing.
>>
>> The machine hasn't _crashed_ yet, though. But I'm going to be out and
>> about and working on my laptop the rest of the day, so I won't be able
>> to test.
>>
>> (And that kernel version of "6.9.0-08295-gfd39ab3b5289" that is quoted
>> in the WARN isn't some official kernel, I have about ten private
>> patches that I keep testing in my tree, so if you wondered what the
>> heck that git version is, it's not going to match anything you see,
>> but the ~ten patches also aren't relevant to this).
>>
>> Nothing unusual in the config, although this is clang-built. Shouldn't
>> matter, never has before.
> Arun is investigating and trying to repro it.  You still have a
> polaris based GPU right?
We haven't been able to reproduce it across variety of GPU's. Would it 
please be possible
to send your dmesg logs and kernel config, I will check this on the same 
GPU you are using.

Thanks,
Arun.
>
> Thanks,
>
> Alex
>
>>              Linus
>>
>> ---
>> CPU: 28 PID: 3326 Comm: mutter-x11-fram Tainted: G        W
>> 6.9.0-08295-gfd39ab3b5289 #64
>> Hardware name: Gigabyte Technology Co., Ltd. TRX40 AORUS MASTER/TRX40
>> AORUS MASTER, BIOS F7 09/07/2022
>> RIP: 0010:__force_merge+0x14f/0x180 [drm_buddy]
>> Code: 74 0d 49 8b 44 24 18 48 d3 e0 49 29 44 24 30 4c 89 e7 ba 01 00
>> 00 00 e8 9f 00 00 00 44 39 e8 73 1f 49 8b 04 24 e9 25 ff ff ff <0f> 0b
>> 4c 39 c3 75 a3 eb 99 b8 f4 ff ff ff c3 b8 f4 ff ff ff eb 02
>> RSP: 0000:ffff9e350314baa0 EFLAGS: 00010246
>> RAX: ffff974a227a4a00 RBX: ffff974a2d024b88 RCX: 000000000b8eb800
>> RDX: ffff974a2d024bf8 RSI: ffff974a2d024bd0 RDI: ffff974a2d024bb0
>> RBP: 0000000000000000 R08: ffff974a2d024b88 R09: 0000000000001000
>> R10: 0000000000000800 R11: 0000000000000000 R12: ffff974a2198fa18
>> R13: 0000000000000009 R14: 0000000010000000 R15: 0000000000000000
>> FS:  00007f56a78b6540(0000) GS:ffff97591e700000(0000) knlGS:0000000000000000
>> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
>> CR2: 00007f5688040000 CR3: 0000000198cc9000 CR4: 0000000000350ef0
>> Call Trace:
>>   <TASK>
>>   ? __warn+0xc1/0x190
>>   ? __force_merge+0x14f/0x180 [drm_buddy]
>>   ? report_bug+0x129/0x1a0
>>   ? handle_bug+0x3d/0x70
>>   ? exc_invalid_op+0x16/0x40
>>   ? asm_exc_invalid_op+0x16/0x20
>>   ? __force_merge+0x14f/0x180 [drm_buddy]
>>   drm_buddy_alloc_blocks+0x249/0x400 [drm_buddy]
>>   ? __cond_resched+0x16/0x40
>>   amdgpu_vram_mgr_new+0x204/0x3f0 [amdgpu]
>>   ttm_resource_alloc+0x31/0x120 [ttm]
>>   ttm_bo_alloc_resource+0xbc/0x260 [ttm]
>>   ? memcg_account_kmem+0x4a/0xe0
>>   ? ttm_resource_compatible+0xbb/0xe0 [ttm]
>>   ttm_bo_validate+0x9f/0x210 [ttm]
>>   ? __alloc_pages+0x129/0x210
>>   amdgpu_bo_fault_reserve_notify+0x98/0x110 [amdgpu]
>>   amdgpu_gem_fault+0x53/0xd0 [amdgpu]
>>   __do_fault+0x41/0x140
>>   do_pte_missing+0x453/0xfd0
>>   handle_mm_fault+0x73c/0x1090
>>   do_user_addr_fault+0x2e2/0x6f0
>>   exc_page_fault+0x56/0x110
>>   asm_exc_page_fault+0x22/0x30


  reply	other threads:[~2024-05-16 21:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-16  2:53 Dave Airlie
2024-05-16 15:53 ` pr-tracker-bot
2024-05-16 17:25 ` Linus Torvalds
2024-05-16 18:31   ` Alex Deucher
2024-05-16 21:57     ` Paneer Selvam, Arunpravin [this message]
2024-05-17  1:08       ` Dave Airlie
2024-05-17 19:22         ` Linus Torvalds
2024-05-17 13:55   ` Alex Deucher
2024-05-17 19:27     ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6225ecf4-f4ca-4ed7-a316-69c86f4ade7f@amd.com \
    --to=arunpravin.paneerselvam@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=airlied@gmail.com \
    --cc=alexdeucher@gmail.com \
    --cc=daniel.vetter@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®