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.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 77691C2BA19 for ; Thu, 23 Apr 2020 09:29:01 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4A1E52076C for ; Thu, 23 Apr 2020 09:29:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726477AbgDWJ3A (ORCPT ); Thu, 23 Apr 2020 05:29:00 -0400 Received: from foss.arm.com ([217.140.110.172]:35766 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726346AbgDWJ3A (ORCPT ); Thu, 23 Apr 2020 05:29:00 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 011BA31B; Thu, 23 Apr 2020 02:29:00 -0700 (PDT) Received: from [10.57.33.170] (unknown [10.57.33.170]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B9E633F73D; Thu, 23 Apr 2020 02:28:58 -0700 (PDT) Subject: Re: [PATCH] iommu/arm-smmu: Demote error messages to debug in shutdown callback To: Sai Prakash Ranjan , Doug Anderson , Will Deacon Cc: linux-arm-msm , linux-arm-msm-owner@vger.kernel.org, Joerg Roedel , LKML , iommu@lists.linux-foundation.org References: <20200327132852.10352-1-saiprakash.ranjan@codeaurora.org> <0023bc68-45fb-4e80-00c8-01fd0369243f@arm.com> <37db9a4d524aa4d7529ae47a8065c9e0@codeaurora.org> <5858bdac-b7f9-ac26-0c0d-c9653cef841d@arm.com> <890456524e2df548ba5d44752513a62c@codeaurora.org> <20200331074400.GB25612@willie-the-truck> <1bf04938249bcd5b2111c1921facfd25@codeaurora.org> <6c82e688f335b9c07b0f52987244664b@codeaurora.org> From: Robin Murphy Message-ID: <006edb3b-8834-41fe-d9d1-fe873edfca99@arm.com> Date: Thu, 23 Apr 2020 10:28:58 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <6c82e688f335b9c07b0f52987244664b@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org On 2020-04-23 9:17 am, Sai Prakash Ranjan wrote: [...] >> Any update on the status here?  If I'm reading the conversation above, >> Robin said: "we'll *always* see the warning because there's no way to >> tear down the default DMA domains, and even if all devices *have* been >> nicely quiesced there's no way to tell".  Did I understand that >> properly?  If so, it seems like it's fully expected to see this >> message on every reboot and it doesn't necessarily signify anything >> bad. >> > > Understanding is the same, waiting for Will and Robin to check if its OK > to make the message more friendly. The way I see it, we essentially just want *something* visible that will correlate with any misbehaviour that *might* result from turning off a possibly-live context. How about simply "disabling translation", at dev_warn or dev_info level? Robin.