Intel-GFX Archive mirror
 help / color / mirror / Atom feed
From: "Suesens, Sebastian" <sebastian.suesens@zeiss.com>
To: "intel-gfx@lists.freedesktop.org" <intel-gfx@lists.freedesktop.org>
Subject: How to fix Linux CMA on x86 with internal graphic card i915/hda_intel ioremap error?
Date: Thu, 28 Mar 2024 06:29:46 +0000	[thread overview]
Message-ID: <AS1P190MB1822E12B130B87D1A768637AF13B2@AS1P190MB1822.EURP190.PROD.OUTLOOK.COM> (raw)

Hello,

I enabled the CMA (CONFIG_CMA=y) for an x86 machine on Linux kernel v5.10 and v5.15 When I boot the system the CMA reserved memory, but when the graphic card driver i915 or hda_intel is loaded the system crashed. 
I see that ioremap on RAM at 0x0000000000000000 - 0x00000000d0000000 get fail. When I blacklist the i915 and hda_intel module the system boots fine with cma memory reserved.

I think this has something to do with the shared memory which this driver use.
 
Does anyone know if a kernel config or something else prevents this crash? 

Please answer me in CC.

Regards Sebastian


             reply	other threads:[~2024-03-31  8:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28  6:29 Suesens, Sebastian [this message]
2024-04-17  9:08 ` How to fix Linux CMA on x86 with internal graphic card i915/hda_intel ioremap error? Jani Nikula

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=AS1P190MB1822E12B130B87D1A768637AF13B2@AS1P190MB1822.EURP190.PROD.OUTLOOK.COM \
    --to=sebastian.suesens@zeiss.com \
    --cc=intel-gfx@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).