All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 214901] amdgpu freezes HP laptop at start up
Date: Mon, 01 Nov 2021 09:33:56 +0000	[thread overview]
Message-ID: <bug-214901-2300-Rh6hSJ0TDh@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-214901-2300@https.bugzilla.kernel.org/>

https://bugzilla.kernel.org/show_bug.cgi?id=214901

--- Comment #3 from spasswolf@web.de ---
Actually the above message is not complete:
Nov  1 00:22:49 bart kernel: [    2.136382] kfd kfd: amdgpu: Allocated 3969056
bytes on gart
Nov  1 00:22:49 bart kernel: [    2.136462] kfd kfd: amdgpu: error getting
iommu info. is the iommu enabled?
Nov  1 00:22:49 bart kernel: [    2.136470] kfd kfd: amdgpu: Error initializing
iommuv2
Nov  1 00:22:49 bart kernel: [    2.137386] kfd kfd: amdgpu: device 1002:9874
NOT added due to errors
Nov  1 00:22:49 bart kernel: [    2.137393] kfd kfd: amdgpu: Failed to resume
IOMMU for device 1002:9874
Nov  1 00:22:49 bart kernel: [    2.137397] amdgpu 0000:00:01.0: amdgpu:
amdgpu_device_ip_init failed
Nov  1 00:22:49 bart kernel: [    2.137402] amdgpu 0000:00:01.0: amdgpu: Fatal
error during GPU init
Nov  1 00:22:49 bart kernel: [    2.137406] amdgpu 0000:00:01.0: amdgpu:
amdgpu: finishing device.
Nov  1 00:22:49 bart kernel: [    2.139639] BUG: kernel NULL pointer
dereference, address: 00000000000001db
The messages from kfd have been there with older kernels, too, but were not
fatal. They are caused by the HP Laptop 15-bw0xx/8332, not having a iommu or
its BIOS not properly initializing it.
But linux-5.15 has added the following lines to the amdgpu_device_ip_init: 
        r = amdgpu_amdkfd_resume_iommu(adev);
        if (r)
                goto init_failed;
which make causes the amdgpu_device_ip_init function to fail when kfd init
fails. As a workaround one could remove these.
A BIOS update could perhaps also solve the problem but seems to require a
Windows running on the Laptop (which was actually sold without Windows)

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

  parent reply	other threads:[~2021-11-01  9:33 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-01  0:02 [Bug 214901] New: amdgpu freezes HP laptop at start up bugzilla-daemon
2021-11-01  0:07 ` [Bug 214901] " bugzilla-daemon
2021-11-01  9:10 ` bugzilla-daemon
2021-11-01  9:33 ` bugzilla-daemon [this message]
2021-11-01 11:01 ` bugzilla-daemon
2021-11-02 10:08 ` bugzilla-daemon
2021-11-02 11:40 ` bugzilla-daemon
2021-11-02 19:06 ` bugzilla-daemon
2021-11-17 16:38 ` bugzilla-daemon

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=bug-214901-2300-Rh6hSJ0TDh@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=dri-devel@lists.freedesktop.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.