Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp940003pxb; Sun, 21 Feb 2021 05:50:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJxiXUPO4FMFV9ZZ2OsgE84xs8ZjfpURld9ihMtu5YSXV7wts4gjrF4TvxnBneJ1mXzT6vGe X-Received: by 2002:a17:906:7f14:: with SMTP id d20mr16762302ejr.322.1613915438572; Sun, 21 Feb 2021 05:50:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613915438; cv=none; d=google.com; s=arc-20160816; b=AwF4DRpF375RqVqwyKm7vtjmYIpXHWI+B4d9P8RMi0Z5arM8f1cIT9m0CPs/loCUzF hTuRROGnq9cG+D1bXuh65VlDKf/qI7cH7RbP5Tt6S5EYAQs+RddBKKl5kg+bUXvHU0kk dequ0pVTl/gb0RO05wX1RxVq396qyXIjuKwuBrAMCJKxzl926yX+DV2n9vyp/Sg7xEfX zOfdQW2TrBl9zcR72W6sRwEdrJQaXFgN0tVq0n8eCwqxNX85CYHAxIvZ2efOZouJ4tMP rNqD6VCARicqnT3WdM70fMnZORFRcJniEBUmm5Huac37uWFITYlJl+/PXKCm1Qd1AoPZ dMhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=1GXrfREmJryke4PnhAkerZEupK0L393g3dBGseiL5po=; b=AU7y1O19q12gJwp3N1zlNrPKu5jKIHtcXBrOkzodKSMfwgMNdeAtNbvo3Jcz6T1J7V E1wsXFwW+ScIPnnKz8NNtJr9tjue9ekio1jVgLeaxsqklflNh4UFic9x8Lwg+PQmGMlF 7emT+CyP3/i9V6Wc1ex54Ds0xH7Kq5uFhHvzx58PrOBp3+f3CqO3HetnZUCkZkDRTzio CJX63vqginFR3VsdiuibnMt/0vwx0DVa6dZ0Cj2Ib3YhRWM6bRiXgZPoS493uRH10CBJ cLx9mXGA8rBGu1FozrioKA34F3iDY1H1g2tiWXigK9cB09Fd+j+xDflI02vtZnSDtNyl IjHw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si5599221ejn.497.2021.02.21.05.50.15; Sun, 21 Feb 2021 05:50:38 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbhBUNtp (ORCPT + 99 others); Sun, 21 Feb 2021 08:49:45 -0500 Received: from mx3.molgen.mpg.de ([141.14.17.11]:34767 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229663AbhBUNtp (ORCPT ); Sun, 21 Feb 2021 08:49:45 -0500 Received: from [192.168.1.176] (dynamic-078-055-128-098.78.55.pool.telefonica.de [78.55.128.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 507A22064792E; Sun, 21 Feb 2021 14:49:03 +0100 (CET) Subject: Re: [PATCH] iommu/amd: Fix event counter availability check To: Suravee Suthikulpanit Cc: linux-kernel@vger.kernel.org, iommu@lists.linux-foundation.org, Alexander Monakov , Joerg Roedel References: <20200529200738.1923-1-amonakov@ispras.ru> <56761139-f794-39b1-4dfa-dfc05fbe5f60@amd.com> From: Paul Menzel Message-ID: <23d42e73-91ac-8f47-af64-40edff8bc027@molgen.mpg.de> Date: Sun, 21 Feb 2021 14:49:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Suravee, Am 17.09.20 um 19:55 schrieb Alexander Monakov: > 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? […] >> 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? I am wondering the same. It’d be great to have this fixed in the upstream Linux kernel. Kind regards, Paul