From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 816B3C4332B for ; Tue, 24 Mar 2020 11:55:33 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4AA812070A for ; Tue, 24 Mar 2020 11:55:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4AA812070A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 304E7203E5; Tue, 24 Mar 2020 11:55:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QV2UkXDKVMVA; Tue, 24 Mar 2020 11:55:30 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id D15791FE32; Tue, 24 Mar 2020 11:55:30 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id A5DF2C089F; Tue, 24 Mar 2020 11:55:30 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 82841C0177 for ; Tue, 24 Mar 2020 11:55:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 70A4587DB7 for ; Tue, 24 Mar 2020 11:55:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZH2iVXurX0h1 for ; Tue, 24 Mar 2020 11:55:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from huawei.com (lhrrgout.huawei.com [185.176.76.210]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4407F87DB4 for ; Tue, 24 Mar 2020 11:55:26 +0000 (UTC) Received: from lhreml707-cah.china.huawei.com (unknown [172.18.7.106]) by Forcepoint Email with ESMTP id CFDA23565599535A61F2; Tue, 24 Mar 2020 11:55:23 +0000 (GMT) Received: from lhreml724-chm.china.huawei.com (10.201.108.75) by lhreml707-cah.china.huawei.com (10.201.108.48) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 24 Mar 2020 11:55:23 +0000 Received: from [127.0.0.1] (10.210.165.24) by lhreml724-chm.china.huawei.com (10.201.108.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Tue, 24 Mar 2020 11:55:22 +0000 Subject: Re: arm-smmu-v3 high cpu usage for NVMe To: Marc Zyngier References: <20190821151749.23743-1-will@kernel.org> <20200318205313.GB8094@willie-the-truck> <20200319184349.GA1697676@myrica> <20200320111842.GD1702630@myrica> <5198fcffc8ad6233e0274ebff9e9aa5f@kernel.org> <0e00de15-596a-d342-f3cb-e19c389294e6@huawei.com> <20200324104307.57d2cde0@why> From: John Garry Message-ID: <4c5e2482-1493-6bb7-d592-58cd027d39f9@huawei.com> Date: Tue, 24 Mar 2020 11:55:11 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20200324104307.57d2cde0@why> Content-Language: en-US X-Originating-IP: [10.210.165.24] X-ClientProxiedBy: lhreml732-chm.china.huawei.com (10.201.108.83) To lhreml724-chm.china.huawei.com (10.201.108.75) X-CFilter-Loop: Reflected Cc: Mark Rutland , Jean-Philippe Brucker , Robin Murphy , Ming Lei , iommu@lists.linux-foundation.org, Will Deacon , Julien Thierry X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" Archived-At: List-Archive: On 24/03/2020 10:43, Marc Zyngier wrote: > On Tue, 24 Mar 2020 09:18:10 +0000 > John Garry wrote: > >> On 23/03/2020 09:16, Marc Zyngier wrote: >> >> + Julien, Mark >> >> Hi Marc, >> >>>>> Time to enable pseudo-NMIs in the PMUv3 driver... >>>>> >>>> Do you know if there is any plan for this? >>> There was. Julien Thierry has a bunch of patches for that [1], but they > needs >>> reviving. >>> >> So those patches still apply cleanly (apart from the kvm patch, which >> I can skip, I suppose) and build, so I can try this I figure. Is >> there anything else which I should ensure or know about? Apart from >> enable CONFIG_ARM64_PSUEDO_NMI. > You need to make sure that your firmware sets SCR_EL3.FIQ to 1. My D05 > has it set to 0, preventing me from being able to use the feature > (hint, nudge...;-). Yeah, apparently it's set on our D06CS board, but I just need to double check the FW version with our FW guy. As for D05, there has not been a FW update there in quite a long time and no plans for it. Sorry. Cheers, John _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu