Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* How to fix Linux CMA on x86 with internal graphic card i915/hda_intel ioremap error?
@ 2024-03-28  6:29 Suesens, Sebastian
  2024-04-17  9:08 ` Jani Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Suesens, Sebastian @ 2024-03-28  6:29 UTC (permalink / raw)
  To: intel-gfx@lists.freedesktop.org

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to fix Linux CMA on x86 with internal graphic card i915/hda_intel ioremap error?
  2024-03-28  6:29 How to fix Linux CMA on x86 with internal graphic card i915/hda_intel ioremap error? Suesens, Sebastian
@ 2024-04-17  9:08 ` Jani Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jani Nikula @ 2024-04-17  9:08 UTC (permalink / raw)
  To: Suesens, Sebastian, intel-gfx@lists.freedesktop.org

On Thu, 28 Mar 2024, "Suesens, Sebastian" <sebastian.suesens@zeiss.com> wrote:
> 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? 

If you can reproduce this with recent kernels, please file a bug as
described at [1].

BR,
Jani.

[1] https://drm.pages.freedesktop.org/intel-docs/how-to-file-i915-bugs.html

-- 
Jani Nikula, Intel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-04-17  9:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-28  6:29 How to fix Linux CMA on x86 with internal graphic card i915/hda_intel ioremap error? Suesens, Sebastian
2024-04-17  9:08 ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox