Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp237449pxv; Thu, 8 Jul 2021 01:09:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyYMmZS13WXF8yl71jAOlBEkYYQuIZ01bpF+BjOmNkoMK4VHnXf7dDQydoj4CHTFBpCZ+Ms X-Received: by 2002:a6b:b5ce:: with SMTP id e197mr7803020iof.123.1625731790997; Thu, 08 Jul 2021 01:09:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625731790; cv=none; d=google.com; s=arc-20160816; b=Sbe6uTSmCJ0Cnl5kbDbtGIFdbeHLWHrYloGwpF0uOfb0JwQsSBX+xnHWaj4wQWZKsY sdcOIAMlRq2E1lbk5nWoE73o5GErzXNXOkbu5AMNEglymAwY702fQImrrTpsrWlJ+XAz GcWeTr8TRrVrzu5Y35Az0U7YxLE/dwxNCoAczFhDKxu7M3r/6GtcDz/S89MvHqRqMM1o fXSU6DG3GmtayOxhBTnaFYmyEiPmfV6WTYqvZHdMMw9+Guy5SvsMOknoC3cN+TRRYRge rTf7X5vT6LXmPDsIvjoeeDEU603sbwWq3RkwN2rllR2/u5LiQw+byP5OSxhwS5oNzL1m hXog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=NYE+u2EWmJTobd6hE3N9JLUY5XGKHkTtOk4/hOfDJTU=; b=jxae64sV++pyjNz5P0GN9WNlq/JumZa9hqLPFsjhSrJIeCRX26r9NI5Q+pk4D+ONcT CH9xC697sRxu7xlE76qd6EDo2n+fVEttdNYn/KQbB9j0AkBcA5RWe77X7ZBqI9uXoOXY pKMZc007vQkPcyrsp7IQJX9xGXcP1hEPxp3TIr0iX3++Z9sbElPgmjQSLOQqNuw7VVf9 +biNLb6uTFCfHG1Tk0+u0L1Eyp+ncaYRk4YiefsVf0bVC881dg8Utaqc60Sa+PEXSfjw ql4cU+XSP/bVO1It+5UKpsryNHunbOkVMyAp+fcOOKQGjuS0SNyqAA2gGBXpihusX/EY kjLA== 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=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e24si1431585ios.25.2021.07.08.01.09.37; Thu, 08 Jul 2021 01:09:50 -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=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231236AbhGHILn (ORCPT + 99 others); Thu, 8 Jul 2021 04:11:43 -0400 Received: from 8bytes.org ([81.169.241.247]:33194 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231195AbhGHILm (ORCPT ); Thu, 8 Jul 2021 04:11:42 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id B94FA312; Thu, 8 Jul 2021 10:08:58 +0200 (CEST) Date: Thu, 8 Jul 2021 10:08:56 +0200 From: Joerg Roedel To: Doug Anderson Cc: Will Deacon , Robin Murphy , Bjorn Andersson , Ulf Hansson , Adrian Hunter , Bjorn Helgaas , John Garry , Rob Clark , quic_c_gdjako@quicinc.com, Saravana Kannan , Rajat Jain , Sai Prakash Ranjan , Veerabhadrarao Badiganti , Linux MMC List , linux-arm-msm , linux-pci@vger.kernel.org, "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , Sonny Rao , Joel Fernandes , Andrew Morton , Jonathan Corbet , Jordan Crouse , Konrad Dybcio , Krishna Reddy , "Maciej W. Rozycki" , Nicolin Chen , "Paul E. McKenney" , Peter Zijlstra , Randy Dunlap , Thierry Reding , Viresh Kumar , Vlastimil Babka , Linux ARM , Linux Doc Mailing List , LKML Subject: Re: [PATCH v2 0/3] iommu: Enable non-strict DMA on QCom SD/MMC Message-ID: References: <20210624171759.4125094-1-dianders@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 07, 2021 at 01:00:13PM -0700, Doug Anderson wrote: > a) Nothing is inherently broken with my current approach. > > b) My current approach doesn't make anybody terribly upset even if > nobody is totally in love with it. Well, no, sorry :) I don't think it is a good idea to allow drivers to opt-out of the strict-setting. This is a platform or user decision, and the driver should accept whatever it gets. So the real question is still why strict is the default setting and how to change that. Or document for the users that want performance how to change the setting, so that they can decide. Regards, Joerg