Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2220376pxb; Wed, 30 Mar 2022 19:45:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkQDddIECoizC4eko8odYcd79nUU5DlSbOrxS+jeNoFzmLxnXFMadlVDUhsLwrTOpmMTWi X-Received: by 2002:a05:6a00:982:b0:4fb:806f:4833 with SMTP id u2-20020a056a00098200b004fb806f4833mr12799064pfg.30.1648694728093; Wed, 30 Mar 2022 19:45:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648694728; cv=none; d=google.com; s=arc-20160816; b=VlzmvTlraOIej561in93UJCMOrbPn13B5crTCefowtbGS/hDFG5UAeuGFK2Fwatmpx I9VzSlfDKfXaEn7SgDCA81VHEtRgozrnM//mXK9ZZXX3VHVO5HJo4/dlrqLBDkS7bU1O Zr2lDtdSGtIn2zQ/hKcl4cO+PWuTOBi6MJTeohSdQDpu6juQ6hbXR7tacXZqh4tj0EnF eZr4doGaUIzWRo5DPAxne38mTAMJj8mdLsIfgU8G8rEyyG+D/hpoT2F4xNQ9njycvknn GMVPxtDnVpRPdI4aSm4PeWbyM/QSN/Q6anrTVinZyLv3AKRvymHal9irfuLxwAC84Mrm ktZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:content-transfer-encoding:message-id :mime-version:cc:to:subject:from:date:dkim-signature; bh=S9N6/sBVLY/JAPayLt7qbZOjEkabiJDDqpnxGv3U+bs=; b=z0yOAIymu+uRT0AdimfZEJP4HgCIyW/Xj+XGfuaKaHbaOTOCRCITBQLvuNPLQtzaTs 9LDumD/m/D5qyhLz2g3dwYyHxt6kPQhY48sXO7A+4ImEOkDCEsvaSwVm4gu1M3Wk0XH0 xI8xminsD8xjdwER5iFjMmqIZ5O6CgdgJVQlwzUgSx/LjFnBLb4NLNiP0EKRydw35x2/ 1adBKzJWGHan+pSJDNxdjKWlrlXlhkdoYwZbETVRc4cJzJdrSpkOELtBU7hIsUDikyJ0 TQyyx4kat+iCS57hWSyawx9fDfGV+qA2b97/s3vU7FIww2DlEbHzyJTJIf2eSZ7nZIJm NwZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=eWvDDKEW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id m12-20020a170902768c00b00153b2d16542si22182765pll.330.2022.03.30.19.45.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 19:45:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@yahoo.ca header.s=s2048 header.b=eWvDDKEW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=yahoo.ca Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D317FAF1E0; Wed, 30 Mar 2022 19:35:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237874AbiC3RxG (ORCPT + 99 others); Wed, 30 Mar 2022 13:53:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbiC3RxF (ORCPT ); Wed, 30 Mar 2022 13:53:05 -0400 Received: from sonic315-54.consmr.mail.gq1.yahoo.com (sonic315-54.consmr.mail.gq1.yahoo.com [98.137.65.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D514B9A for ; Wed, 30 Mar 2022 10:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s2048; t=1648662675; bh=S9N6/sBVLY/JAPayLt7qbZOjEkabiJDDqpnxGv3U+bs=; h=Date:From:Subject:To:Cc:References:From:Subject:Reply-To; b=eWvDDKEWZriOR5XA9kBYjzxjWWcDA8lF+CQFy6UxdmKIlho8U6b9MWc5d50GrC3+NVGjD2AhLaDAWDPbkmXlkH83RejEzjlAiJQfhLjwQFWdCXxsm069AslT3p/Y2yJ8egjEd9jUoOYSFGxDKIA96gvBqJO1U857oE7zv5AY+4x+UIkrnaq1tg95toEMtQKtDROmpolx3Q9BksLMDbubDFau4LfTTOqnS6G5ViEN9rrl1uyfNBYLNaX35cfKLgfIa98gQkhOSdmWrZYIysXwc2BHMcRPBGQtrnZnNtKAsk65Yf9lqde0/vH25iCUB85iBYu9B2eOTvEjQV+Sdp3o/g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648662675; bh=Ki+92tcD5zPlGTaNGnifnzB4BNx7gbEuvhCD2uTaf8x=; h=X-Sonic-MF:Date:From:Subject:To:From:Subject; b=LS2EpQszzDA6Gk/Au11Ncn6Hd9O8El+TKy2fPzvVvp6pMbm7Aj1lCDOGpDe9VwfRFQIZ3KPzLAoA0+cT8MiMRQq4OR4rdgg5NuqUqPI9GNE7xOCX1TWFrvh7Zu08UAJQYJmuu5vXcYwGLBmrIxXVNLkNFOpCanWvjfL8INNSy87ymQt3WSvbRqyf3S66KIZ4KAzRbgQYTT05fPRb/DJyCJ4ssjZP+jOb/L2uWaK5Pm5PKVJ5dIN+PA1WeVbTeDjyGOlP5rCUc8lAk2FrE4p6Q9CuF8MY4gOQEpeBjkGkfvn75BHCcBy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.Xnj6yP xi8RU83Y4MTsWzimXW72t52odekMjyCm30rVXxOEoNByIplg8G.ny8yn4zuGbjs.lsQpi1uC2cFA gbIo3Ch96c0wlVQiZkSiNCA6PsfJDmgQYGPpf7DtKfYF85RFy380ImOi_Zf3JnsH4ptu6xjM7.DU ddVd_FyN5UjokBJp33gzM_v.DFAl1cG3TMprPlLhgGwYsRzK.DZp7MIi2iDJAiZJBT6h0EDguULV eXvmyEq7JxDBY5Q-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.gq1.yahoo.com with HTTP; Wed, 30 Mar 2022 17:51:15 +0000 Received: by kubenode520.mail-prod1.omega.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 3767e03bf643ceaa3a5f31bec6822e45; Wed, 30 Mar 2022 17:51:11 +0000 (UTC) Date: Wed, 30 Mar 2022 13:51:07 -0400 From: "Alex Xu (Hello71)" Subject: "dma-mapping: remove CONFIG_DMA_REMAP" causes AMD SME boot fail To: Christoph Hellwig , regressions@lists.linux.dev Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org MIME-Version: 1.0 Message-Id: <1648659326.eabkokyuym.none@localhost> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable References: <1648659326.eabkokyuym.none.ref@localhost> X-Mailer: WebService/1.1.20001 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, After a recent kernel update, booting one of my machines causes it to=20 hang on a black screen. Pressing Lock keys on the USB keyboard does not=20 turn on the indicators, and the machine does not appear on the Ethernet=20 network. I don't have a serial port on this machine. I didn't try=20 netconsole, but I suspect it won't work. Setting mem_encrypt=3D0 seems to resolve the issue. Reverting f5ff79fddf0e=20 ("dma-mapping: remove CONFIG_DMA_REMAP") also appears to resolve the=20 issue. The machine in question has an AMD Ryzen 5 1600 and ASRock B450 Pro4. Cheers, Alex.