Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp457485pxk; Wed, 23 Sep 2020 07:31:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxTT01zFiGtlEWEu2UlJYDalHHXwoB/wNxWHsyQAaxVKj6EpeWKoPqp0xOFCDxnIHCIh4g X-Received: by 2002:a05:6402:1544:: with SMTP id p4mr9860649edx.346.1600871468959; Wed, 23 Sep 2020 07:31:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600871468; cv=pass; d=google.com; s=arc-20160816; b=NYZHgymRqNJ0S+v83Jccpdg9UHNEmVe1x1/Mno0fVJJFq+BxQ5s8rUFgOhIbIAoM6t /sg158TijG/3wpFRlTPZi2kBPRk70PB07fArfJIrNXek9uG3l4duL7nlRk44/ykHTP60 MULIJs8C0tsaM92ifB9v8h3UBcrmOEcuIxUE6bEu0ARMaaDiY+iG6NAATV03IqJ40ih3 JxwResef4KGDOJeYhiy3dF3rO/dTV4INv6LCp7AzgrYytJ1MlWpYGnARBlO022vDp17O sitqjSYCe0MKF4uIqIBF/mUSK09a+Rj0OdwjNu2+oh7pE/vhJjK1T00odxP8KKiIYe9H tYuQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=1Vaq6LBW7o4JIMHVWJ6ujhddt9YoyIJS+47y/Jxy7uY=; b=mlBJN7A073mrnUlUXLgU9usuoKYSzkXlx6dqDVAn9b7IZGsY4s5gti7zIo15lfRmDa TU+GogIBYb6fhOfdCmLWNQjE0UvgmSpTpUGonvZJWwJvUzWpBsr7phgg/YST5UKeYtJt w1oLeoVDlphwzkjZCz1rleWrXTzzEQCiTAI038yj5TIOgGUIprk7yI1FzgysT9/ZB3L9 pllhqJLWEmICQhLUM3tBtCMa7ZJ4KcWPxKfKpN+KlbY2un4tVwcvx7b01nHdhlbDjGQ4 fU6aui1Hh67XqbVFXAA4FYFsl9Of4dkLXiEkTdTUB7GBEub6juTnocpcwezIISurMX4E 24FA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@LenovoBeijing.onmicrosoft.com header.s=selector2-LenovoBeijing-onmicrosoft-com header.b=a4+cTo98; arc=pass (i=1 spf=pass spfdomain=lenovo.com dkim=pass dkdomain=lenovo.com dmarc=pass fromdomain=lenovo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=lenovo.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g10si15289429edv.314.2020.09.23.07.30.42; Wed, 23 Sep 2020 07:31:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@LenovoBeijing.onmicrosoft.com header.s=selector2-LenovoBeijing-onmicrosoft-com header.b=a4+cTo98; arc=pass (i=1 spf=pass spfdomain=lenovo.com dkim=pass dkdomain=lenovo.com dmarc=pass fromdomain=lenovo.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=lenovo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726623AbgIWO3X (ORCPT + 99 others); Wed, 23 Sep 2020 10:29:23 -0400 Received: from mail1.bemta24.messagelabs.com ([67.219.250.3]:34812 "EHLO mail1.bemta24.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726130AbgIWO3X (ORCPT ); Wed, 23 Sep 2020 10:29:23 -0400 Received: from [100.112.129.197] (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256 bits)) by server-3.bemta.az-a.us-west-2.aws.symcld.net id 1D/04-20041-FBB5B6F5; Wed, 23 Sep 2020 14:29:19 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1WSa0xTZxjHeXtODwekcCwVXjrLki4Y060NhS2 0uiUmXSa7RWP2YaKxnkLhNLSl6SUtJFtAhovtjGhjIhdHbVaLKILMbGMwHEg0FAGtlzVTRzuK 4baV0ESkQl3bU9327fc8//9zSx4cYXswLq60GJV6LanmY+koNRfYJLx2oFpe6HmMSab8EUziu LZTcqytN1Uy425DJHd/bsd2MUuDw98ySu0+NygNDd3HSsN9+XvRMqZKq6ixHGZSc/fvpuqub7 IM3mtB68FYmhWk42yingEf+qzACtJiwQKAfY4sWmhgwO7jv6XSwXMAfd0nsbgLEC4Ejq+r4wI gbqBw6OjXgA56AbRFwokAJQYQWD9wikk37mDAB85aulcAwFBwISbgOEYI4EQfGfdwiPfh7dlu RpwR4kcAf/DK4pxNmGHT9C2E9ljg9IqTSXMRdA+vpcYZJQrg7J8TifVYxGF452pj8qAyOBTsT uTTiLdhV9Mokz4hB656LiVn5cLfgx0JhgQBvxucQmjeAudnokn/NwA+b8fo/E7oWz8CaOZBb4 ctyZ/CF1FXslYApyJdKM3V8MyTP5L5bXDw6Wgynw+7jgfQZlDU+p81aH4LOgZWMJrfhOfPLSK tidM2w7GWIOoAaBcoUehVVZRRQ6rUQnFhoVAsLhKKi8VCqVhE1glJkckgNCsNRmGRiDQbRIZa Tbm6QqRVGvtA7KEqdI0HfgKji8uiEZCHM/hbWOOfVcvZmYqailqKNFByvUmtNIyArTjOh6ym/ TFts15ZpbRUqtSxt3wpQzyDz2HllcVklkFHagyqKlrygGK8ef6sE8G/P+tyImxUW6NVcnNZq/ FORNxKmbSvGr18cS/gcbNZICUlhZ2hU+o1KuP/9QWQiwN+NmtvfGCGSmt8NS/2t7ErOKx3wlR 8FSP5r8StZ+y/mtsj7XyW5VvNM6F73ms5tCTTyLycS0bf6507OLc0y3X3GHZyz4lwwLR7vvgD 20ez1vHykejl6fbOyKS2IHQ9M/yLrrXq9pXQmfKTX3xesb61J1p3U6AIif/ut/svTx672PZIb hP0u3Oo0xHmYm16qGHbxRxLs3ntAuXgNbkrd3ikvBm7TfiuPXvuK0X+0gRj2Nrf+9ruQb+fG+ Ud4pUEqkuWD7qO7Br7q+PKE8vkxj73nUdrlXJkYZgxNKL80PNiA7khfXb6EyE30/vxqZv7lvI fyAoaXP6Dj098OXVuOyZvlL0xIVgXVUKnTCrY4GUVPuw5usIs2/70V3O5no8aKFIsQPQG8h+B JtSZXQQAAA== X-Env-Sender: ahuang12@lenovo.com X-Msg-Ref: server-29.tower-326.messagelabs.com!1600871357!6136!1 X-Originating-IP: [104.232.225.11] X-SYMC-ESS-Client-Auth: outbound-route-from=pass X-StarScan-Received: X-StarScan-Version: 9.60.3; banners=-,-,- X-VirusChecked: Checked Received: (qmail 24009 invoked from network); 23 Sep 2020 14:29:18 -0000 Received: from unknown (HELO lenovo.com) (104.232.225.11) by server-29.tower-326.messagelabs.com with ECDHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 23 Sep 2020 14:29:18 -0000 Received: from HKGWPEMAIL02.lenovo.com (unknown [10.128.3.70]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by Forcepoint Email with ESMTPS id 2989397888831422E7CD; Wed, 23 Sep 2020 10:29:15 -0400 (EDT) Received: from HKGWPEMAIL03.lenovo.com (10.128.3.71) by HKGWPEMAIL02.lenovo.com (10.128.3.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2044.4; Wed, 23 Sep 2020 22:29:17 +0800 Received: from HKGWPEXCH02.lenovo.com (10.128.62.31) by HKGWPEMAIL03.lenovo.com (10.128.3.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2044.4 via Frontend Transport; Wed, 23 Sep 2020 22:29:17 +0800 Received: from APC01-SG2-obe.outbound.protection.outlook.com (104.47.125.56) by mail.lenovo.com (10.128.62.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2044.4; Wed, 23 Sep 2020 22:29:17 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i71ytEpB/CXbrrmOum1CP0KVk3dPRbedWYXzW9/tXaZoyagfIPEVB/2h+Jh+vQCh7edc6MBXdB/hw27hZM/F3Hb9tuqGR9b6YKNSJzaYSa8xxPk3uZ6rFc911WM/wP2Qt3LQw8Aw9ZzBd14wekWthQXg36+BBXNgVrgp2BReLFenbeG5l9sg2URJi9WaKl1S2mPnD15AbCQVm6mTx0ITgjdccSBpmApiTw5fLGmy3vDzLgN186rngmSLcAsdU9KKO3PaegsnBMcd05044ivSeAM7WWKzRsfllEeUA63TwsJ/mC5Q6TVfIq/oBQ/FpsYrG+6Nz/WNm53Ak+Y5ZoRyoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Vaq6LBW7o4JIMHVWJ6ujhddt9YoyIJS+47y/Jxy7uY=; b=QGqAJubXMUZMflprTCL1QS+Imta1AH/GO+zS3PyoQ9om/rKv5kGLSLjGy/FI7C9xzAlD34icZi7unKsMCCr+Me5XCvsd/nN0avWArM0xGOE0VjwJdxR1K3cFllNeQXdHh4csViqNSbMcYKFBARtLm6uGpvrexWbfUDgNhE6BwJpsA9DVKz7Uds2I5++NHmTTKYXXTuwg9BNAZrk0OvRFzB7TH7g4zwy7SDzDg9ZWLJOCdm7wuZo+ITo17vf7XgGLz5oC+f6GHE5+7wJMt5zjYXEgyFZVnoNZ5i7ALMsahoeFR40lGzJGHnNPjXnWevkHN+ig1/vnKA6jYcu+BD4Niw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=lenovo.com; dmarc=pass action=none header.from=lenovo.com; dkim=pass header.d=lenovo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=LenovoBeijing.onmicrosoft.com; s=selector2-LenovoBeijing-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1Vaq6LBW7o4JIMHVWJ6ujhddt9YoyIJS+47y/Jxy7uY=; b=a4+cTo98P/pTdDWBiyRz+dN5MXyPmFOu67mvjGG2nIIefidDUCN6imCpzji3piud35d6HB4VpazdY4t/cK+CCPy2elOvxqHLJ37KAT29yIu3D88sfO0erzrdona0Occws9/Z3SWQhqyNOgjxY+M704AfpKMuXhFzdk01rr2nI9E= Received: from HK2PR0302MB2594.apcprd03.prod.outlook.com (2603:1096:202:c::8) by HK0PR03MB4067.apcprd03.prod.outlook.com (2603:1096:203:9b::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.13; Wed, 23 Sep 2020 14:29:13 +0000 Received: from HK2PR0302MB2594.apcprd03.prod.outlook.com ([fe80::cf3:6e67:e2c8:4cb0]) by HK2PR0302MB2594.apcprd03.prod.outlook.com ([fe80::cf3:6e67:e2c8:4cb0%6]) with mapi id 15.20.3412.020; Wed, 23 Sep 2020 14:29:13 +0000 From: Adrian Huang12 To: Baoquan He , "joro@8bytes.org" CC: "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "jsnitsel@redhat.com" Subject: RE: [External] Re: [PATCH] Revert "iommu/amd: Treat per-device exclusion ranges as r/w unity-mapped regions" Thread-Topic: [External] Re: [PATCH] Revert "iommu/amd: Treat per-device exclusion ranges as r/w unity-mapped regions" Thread-Index: AQHWkVHq0K7SmrxgEESssWwoSA9vZql2Ra7g Date: Wed, 23 Sep 2020 14:29:13 +0000 Message-ID: References: <20200923022655.750-1-bhe@redhat.com> <20200923023244.GK25604@MiWiFi-R3L-srv> In-Reply-To: <20200923023244.GK25604@MiWiFi-R3L-srv> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:b011:e002:1525:8075:eff5:54cb:a51c] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 56c16a34-9586-4f38-f59e-08d85fcd0b2e x-ms-traffictypediagnostic: HK0PR03MB4067: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qYaYt2fPoV+IhvHcfq+gw6x4B/+QQGOwBWwFBtquUHYnw+RAuWDJ7lQ0u5JtgPqv9nv/nNlgvKfvaXUPGM9Ae9E+D+vJhJ4BOb1LiFoEVVhVF44wH6c1rpYgZu84d+DqpMy1b9NnssUmj/ZSs90nW3r+YMcex8l0SqhPqGvv9RBMdX9OTJfc2m/YV8xt++Ax5OpB2sFp3YhZyZkZsMOOJzmN0IiCaF+dSFm8juPEtUWMjj4JSKM6XcoXA16kRnrTi1OIetIsnLIoDGyWvIMwne3/rtmD2vatdCDjzu5PwoTsYJ6R68Px3QUvTCMc3tPV6xg+xufg5PRFcw8eXYp7L8dRnANo06zg0GfOQKTvm/kMWsYm6V2HC1LEqw2gxeso x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:HK2PR0302MB2594.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(136003)(39860400002)(376002)(346002)(396003)(66476007)(4326008)(66446008)(66946007)(64756008)(71200400001)(5660300002)(54906003)(52536014)(76116006)(86362001)(478600001)(66556008)(7696005)(55016002)(83380400001)(53546011)(110136005)(2906002)(316002)(8676002)(186003)(9686003)(8936002)(33656002)(6506007);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: zyP+WQmqlEzkMgTxk281/lwzyvCxdpFq6jB+ZZyCYvFyUsDvS0OrvyCktyY0r69KrEmCqu1nx3lzabTEu0Vood15VnfsmdrXEHd8Pz0qbA9kuwC5YUqWfFDvRFaF5DKoPVaDVVV+5QE7jwbJZn1WFLVIrux+fDlL3DO12p5+7grLttYEK6M1nh2MnqwMqDQAzf+CxKXqFhvCZCEBw3nq1uRDn6JfGPw0T1joOqLO8+CtsqRqsaQP6S4wuAE3mdHKhSKeBs7x/PjwMoiTYEkWJioQgpccG6uhG1vl6ZpvDqePOoHf79MNcGhFL1U0YlRnJcngoZMn4GuBVHvhfK4HuCz1y48EfFmOvwOweFAP7Tx3g6aJxDL8X+Al/hPtOkVfmWR4Ec9tNgfX5Pj2kQJN2cvoaa0Ek9RfoxeCEJhGnH94j5uT1a5FSUTwAsT851zykTy7SmPk0T6cMc6Zm7gypiL1tLWO127rzRk/RV+tcc1ZcjDzRwx2bC+hff2ImcAj+MsxJmYTzuQGTFu6dsA9sTkY/WSd/65+Vip4YY5HjyiQBYwuVamFRhP5iAMGO+lbUiH15GW6iS+S5ffKPZdUhFcbKOyY8wtvKH1jAm0aJW0D80NKs0PcKiuoVDQ9DpvD3cDLvN9sc/VSdjjXd4jCl2wXZfFC8rTsUpiUO8tbih5y7VjXhGMjhBvSvt/FxU4vT06ECO8XV7EeKhJ1a4Xr7Q== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: HK2PR0302MB2594.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 56c16a34-9586-4f38-f59e-08d85fcd0b2e X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Sep 2020 14:29:13.2896 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 5c7d0b28-bdf8-410c-aa93-4df372b16203 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: fTERKvaNx0st40RA1LoXcjM2dXkgpx/f3GZbTdhsOD9+xto/WR22/xrj8F9oQpihg5kBme5uTPkDAZbDPPv0zg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK0PR03MB4067 X-OriginatorOrg: lenovo.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Baoquan, > -----Original Message----- > From: Baoquan He > Sent: Wednesday, September 23, 2020 10:33 AM > To: joro@8bytes.org; Adrian Huang12 > Cc: iommu@lists.linux-foundation.org; linux-kernel@vger.kernel.org; > jsnitsel@redhat.com > Subject: [External] Re: [PATCH] Revert "iommu/amd: Treat per-device exclu= sion > ranges as r/w unity-mapped regions" >=20 > Forgot CC-ing Jerry, add him. >=20 > On 09/23/20 at 10:26am, Baoquan He wrote: > > A regression failure of kdump kernel boot was reported on a HPE system. > > Bisect points at commit 387caf0b759ac43 ("iommu/amd: Treat per-device > > exclusion ranges as r/w unity-mapped regions") as criminal. Reverting > > it fix the failure. > > > > With the commit, kdump kernel will always print below error message, > > then naturally AMD iommu can't function normally during kdump kernel > bootup. > > > > ~~~~~~~~~ > > AMD-Vi: [Firmware Bug]: IVRS invalid checksum > > > > Why commit 387caf0b759ac43 causing it haven't been made clear. >=20 > Hi Joerg, Adrian >=20 > We only have one machine which can reproduce the issue, it's a gen10-01 o= f > HPE. If any log or info are needed, please let me know, I can attach here= . Could you please provide the following info? 1. The booting log for both system kernel and kdump kernel by appending the= kernel parameter 'amd_iommu_dump' 2. ACPI table (# acpidump > acpi-table) -> Send out the file 'acpi-table'.= =20 -- Adrian =20