All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <1809684@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1809684] Re: amdgpu passthrough on POWER9 (ppc64el) not working
Date: Tue, 20 Apr 2021 08:02:21 -0000	[thread overview]
Message-ID: <161890574172.10441.5759869930863391216.malone@chaenomeles.canonical.com> (raw)
In-Reply-To: 154569397586.26258.18132613460124027534.malonedeb@chaenomeles.canonical.com

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1809684

Title:
  amdgpu passthrough on POWER9 (ppc64el) not working

Status in QEMU:
  Incomplete

Bug description:
  When attempting to pass a Vega 56 GPU to a virtualized guest using
  QEMU 3.1 on ppc64el (POWER9), the guest is unable to initialize the
  GPU.  Further digging reveals the driver attempting to allocate a
  large BAR, which then fails:

  [    6.058544] [drm] PCI I/O BAR is not found.
  <snip uninteresting bits>
  [    6.679193] amdgpu 0000:00:03.0: BAR 2: releasing [mem 0x210400000000-0x2104001fffff pref]
  [    6.679306] amdgpu 0000:00:03.0: BAR 0: releasing [mem 0x210200000000-0x2103ffffffff pref]
  [    6.679361] amdgpu 0000:00:03.0: BAR 0: no space for [mem size 0x200000000 pref]
  [    6.679403] amdgpu 0000:00:03.0: BAR 0: failed to assign [mem size 0x200000000 pref]
  [    6.679444] amdgpu 0000:00:03.0: BAR 2: assigned [mem 0x200080200000-0x2000803fffff pref]
  [    6.681420] amdgpu 0000:00:03.0: VRAM: 8176M 0x000000F400000000 - 0x000000F5FEFFFFFF (8176M used)
  [    6.681507] amdgpu 0000:00:03.0: GART: 512M 0x0000000000000000 - 0x000000001FFFFFFF
  [    6.681594] amdgpu 0000:00:03.0: AGP: 267419648M 0x000000F800000000 - 0x0000FFFFFFFFFFFF
  [    6.681653] [drm] Detected VRAM RAM=8176M, BAR=0M
  [    6.681688] [drm] RAM width 2048bits HBM
  [    6.681885] [TTM] Zone  kernel: Available graphics memory: 4176288 kiB
  [    6.681978] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
  [    6.682043] [TTM] Initializing pool allocator
  [    6.682159] [drm] amdgpu: 8176M of VRAM memory ready
  [    6.682249] [drm] amdgpu: 6117M of GTT memory ready.
  [    6.682387] [drm] GART: num cpu pages 8192, num gpu pages 131072
  [    6.682466] amdgpu 0000:00:03.0: (-22) kernel bo map failed
  [    6.682539] [drm:amdgpu_device_init [amdgpu]] *ERROR* amdgpu_vram_scratch_init failed -22
  [    6.682592] amdgpu 0000:00:03.0: amdgpu_device_ip_init failed
  [    6.682636] amdgpu 0000:00:03.0: Fatal error during GPU init

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1809684/+subscriptions


  reply	other threads:[~2021-04-20  8:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-24 23:26 [Qemu-devel] [Bug 1809684] [NEW] amdgpu passthrough on POWER9 (ppc64el) not working Timothy Pearson
2021-04-20  8:02 ` Thomas Huth [this message]
2021-06-20  4:17 ` [Bug 1809684] " Launchpad Bug Tracker

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=161890574172.10441.5759869930863391216.malone@chaenomeles.canonical.com \
    --to=1809684@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.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.