All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Xu (Hello71)" <alex_y_xu@yahoo.ca>
To: Christoph Hellwig <hch@infradead.org>, regressions@lists.linux.dev
Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org
Subject: "dma-mapping: remove CONFIG_DMA_REMAP" causes AMD SME boot fail
Date: Wed, 30 Mar 2022 13:51:07 -0400	[thread overview]
Message-ID: <1648659326.eabkokyuym.none@localhost> (raw)
In-Reply-To: 1648659326.eabkokyuym.none.ref@localhost

Hi,

After a recent kernel update, booting one of my machines causes it to 
hang on a black screen. Pressing Lock keys on the USB keyboard does not 
turn on the indicators, and the machine does not appear on the Ethernet 
network. I don't have a serial port on this machine. I didn't try 
netconsole, but I suspect it won't work.

Setting mem_encrypt=0 seems to resolve the issue. Reverting f5ff79fddf0e 
("dma-mapping: remove CONFIG_DMA_REMAP") also appears to resolve the 
issue.

The machine in question has an AMD Ryzen 5 1600 and ASRock B450 Pro4.

Cheers,
Alex.

WARNING: multiple messages have this Message-ID (diff)
From: "Alex Xu \(Hello71\) via iommu" <iommu@lists.linux-foundation.org>
To: Christoph Hellwig <hch@infradead.org>, regressions@lists.linux.dev
Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org
Subject: "dma-mapping: remove CONFIG_DMA_REMAP" causes AMD SME boot fail
Date: Wed, 30 Mar 2022 13:51:07 -0400	[thread overview]
Message-ID: <1648659326.eabkokyuym.none@localhost> (raw)
In-Reply-To: 1648659326.eabkokyuym.none.ref@localhost

Hi,

After a recent kernel update, booting one of my machines causes it to 
hang on a black screen. Pressing Lock keys on the USB keyboard does not 
turn on the indicators, and the machine does not appear on the Ethernet 
network. I don't have a serial port on this machine. I didn't try 
netconsole, but I suspect it won't work.

Setting mem_encrypt=0 seems to resolve the issue. Reverting f5ff79fddf0e 
("dma-mapping: remove CONFIG_DMA_REMAP") also appears to resolve the 
issue.

The machine in question has an AMD Ryzen 5 1600 and ASRock B450 Pro4.

Cheers,
Alex.
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

       reply	other threads:[~2022-03-30 17:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1648659326.eabkokyuym.none.ref@localhost>
2022-03-30 17:51 ` Alex Xu (Hello71) [this message]
2022-03-30 17:51   ` "dma-mapping: remove CONFIG_DMA_REMAP" causes AMD SME boot fail Alex Xu (Hello71) via iommu
2022-03-30 17:55   ` Christoph Hellwig
2022-03-30 17:55     ` Christoph Hellwig
2022-03-30 18:01   ` Christoph Hellwig
2022-03-30 18:01     ` Christoph Hellwig
2022-03-30 19:17     ` Alex Xu (Hello71)
2022-03-30 19:17       ` Alex Xu (Hello71) via iommu
2022-03-31  4:08       ` Christoph Hellwig
2022-03-31  4:08         ` Christoph Hellwig
2022-03-31  6:51   ` Thorsten Leemhuis
2022-03-31  6:51     ` Thorsten Leemhuis
2022-04-15 17:58     ` "dma-mapping: remove CONFIG_DMA_REMAP" causes AMD SME boot fail #forregzbot Thorsten Leemhuis
2022-04-15 17:58       ` Thorsten Leemhuis

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=1648659326.eabkokyuym.none@localhost \
    --to=alex_y_xu@yahoo.ca \
    --cc=hch@infradead.org \
    --cc=iommu@lists.linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=regressions@lists.linux.dev \
    /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.