Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp607051pxk; Thu, 17 Sep 2020 11:10:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJykJq8U43gn1LEzI83gE5Sa3YOsLkt9x4lPd7LYbqj9JKZFXoaDEd6TCO9ezltiRNDfBKvS X-Received: by 2002:a17:906:4c89:: with SMTP id q9mr33389706eju.290.1600366216457; Thu, 17 Sep 2020 11:10:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600366216; cv=none; d=google.com; s=arc-20160816; b=qTwoO457I9zIQjWVecQHKFIMCw4VnW+0aN9JndNwtFpRjOXB2GLlvLnvluLf9ip6S/ SVVnctefqSl4BpMbyELS4bL6bF3L7VKYqwAQt/DXmJo64x3clXF/z6BCLj5LCdONIs27 8Cn+8FyyM3cWGzpU8OuMgShpcNvA64TDnb9qqFP0KvRWV+RHwzLpxZb1k42t+1M26yG7 4UsN/BSd6ucYC+antteeL7Zq9XwN6vsXhovmAYcH0GJi5oEWnAqnBNFdaMUj7y6Fla+k 7Zp0aoP9NYgK7gyuJAn6YzIxF04+RsllxLDd5kwD4e+9euRT7ALZwO9Hu7L6k+FFRpYb ZhBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=oxmJEumcl4zRnaiKiNgkEq0HcAIeLO79Bjxr/SLaBy0=; b=XVGrLdMO76xxzXOskLTnrooNiyuFwsTAMttkrCeT550vcZ5xkEj8T+X07taXH8OVIm DdpRY/cdegcSAA1OvtlILJjwYp/Mfv0hY3bfTtbiMAPA2CUYbEwtirAvT04eD4Jq2+rS y7r0we1qm1nZFDYwpGWvxPk/ODgWS9T9y+3j4IMZXx5t2vCce0K5Sy8BsLc0JTSw8rIk pEqfMJ/vQtJvN1GxmE93r3+aeAXcq24yJCCVOr3tRbFRgdO5jHTOH8lvpBXoFFOxqe+O S7lUesioX3wV8b8QpjUKsPOUGNHr5nQes8MFHG0xHae2tO2CDvTOXWh0tr/Db2az2Y1Q 0U9A== ARC-Authentication-Results: i=1; mx.google.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=ispras.ru Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si306293edl.504.2020.09.17.11.09.52; Thu, 17 Sep 2020 11:10:16 -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; 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=ispras.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726596AbgIQSGL (ORCPT + 99 others); Thu, 17 Sep 2020 14:06:11 -0400 Received: from mail.ispras.ru ([83.149.199.84]:47882 "EHLO mail.ispras.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726358AbgIQSFq (ORCPT ); Thu, 17 Sep 2020 14:05:46 -0400 X-Greylist: delayed 594 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Sep 2020 14:05:45 EDT Received: from monopod.intra.ispras.ru (unknown [10.10.3.121]) by mail.ispras.ru (Postfix) with ESMTPS id 1BB264089F1B; Thu, 17 Sep 2020 17:55:32 +0000 (UTC) Date: Thu, 17 Sep 2020 20:55:32 +0300 (MSK) From: Alexander Monakov To: Suravee Suthikulpanit cc: linux-kernel@vger.kernel.org, Joerg Roedel , iommu@lists.linux-foundation.org Subject: Re: [PATCH] iommu/amd: Fix event counter availability check In-Reply-To: Message-ID: References: <20200529200738.1923-1-amonakov@ispras.ru> <56761139-f794-39b1-4dfa-dfc05fbe5f60@amd.com> User-Agent: Alpine 2.20.13 (LNX 116 2015-12-14) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 16 Jun 2020, Suravee Suthikulpanit wrote: > > > Instead of blindly moving the code around to a spot that would just work, > > > I am trying to understand what might be required here. In this case, > > > the init_device_table_dma()should not be needed. I suspect it's the IOMMU > > > invalidate all command that's also needed here. > > > > > > I'm also checking with the HW and BIOS team. Meanwhile, could you please > > > give > > > the following change a try: > > Hello. Can you give any update please? > > > > Alexander > > > > Sorry for late reply. I have a reproducer and working with the HW team to > understand the issue. > I should be able to provide update with solution by the end of this week. Hello, hope you are doing well. Has this investigation found anything? Thanks. Alexander