Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp6513632pxv; Thu, 29 Jul 2021 17:08:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwja4v4EJgz0Wu1vH/teuQdLGos7HhmQQkBV2+9z33wWCRzfq9Qt5OV4C6sbIH0iRLAUFJu X-Received: by 2002:a17:907:161e:: with SMTP id hb30mr7120089ejc.208.1627603739327; Thu, 29 Jul 2021 17:08:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627603739; cv=none; d=google.com; s=arc-20160816; b=Oap/GwskLsUvIgJodV+DLaASkVQVhEqfdSGTJq4i9BY9xAcA4AYo8XutVNBSrIxi+Y C+bxAvo60BCEMBVJePdhn5nA41WCAC5t2da0OKLiRR6x6QfnoazORwPIsWL2moHUQ2qr LT49781TO9rQ6y6XVYXaTUBLNsc0ebt6A8t4jW3EKb5MuZaEJGDwOjrB2g28DHCTh6dx +qtGDyGroC5YVCDnFvidW/easnCV07iihSJeWyVI+I5a3u8IG3MLWJFoVes61OVwfY7i EtfZSxqF6IvXATO4NVPWFJL6wf04AJzRDrOdCQhqDkCgTgF3Vwo1Q44biE96AhZORRQ2 qo+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=k+xYEU7GGmWpZRCP0v/62bsuQOHLx/NQBjwr1YpFdkM=; b=cd5AJ8mSSlhwW/rM6F1ReQW5UjZZKrCBDfUwF0ZCXi66XdoeruK4Q79uymBG43BUbn p78lBLobkJdK9bIrfRnh2vvw+xFomlBN6ohylwLeS+kw5AVIxlu8MEv6T5c1rqBagv2z yPF0qb276BQHbRvJu/ahA5ejdx1Q0KReIyqoDF5V4ydcP8ZTgRFaq3kvGWFZHfrLSOBK Y+4V9yBvKj5vepnmqN1LuUkSCGJ6g7s7wybNwDentE/FU7eBTx6zIpchDJuRJZ2rGjJI 5gjpffrgxNQHIL1VeT2DFsJK0nsHTGDKtNlFGrNYb5G+Q3EKt/VfLSAUNjhMwGx4Ctxy pwjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=drIAYW+z; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w5si4350477edd.90.2021.07.29.17.08.35; Thu, 29 Jul 2021 17:08:59 -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; dkim=pass header.i=@chromium.org header.s=google header.b=drIAYW+z; 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=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235245AbhG3AHS (ORCPT + 99 others); Thu, 29 Jul 2021 20:07:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235124AbhG3AHR (ORCPT ); Thu, 29 Jul 2021 20:07:17 -0400 Received: from mail-vs1-xe2e.google.com (mail-vs1-xe2e.google.com [IPv6:2607:f8b0:4864:20::e2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BFE52C061765 for ; Thu, 29 Jul 2021 17:07:12 -0700 (PDT) Received: by mail-vs1-xe2e.google.com with SMTP id o12so4509362vst.3 for ; Thu, 29 Jul 2021 17:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=k+xYEU7GGmWpZRCP0v/62bsuQOHLx/NQBjwr1YpFdkM=; b=drIAYW+zXFJ+cbbCXFBGz0LWySE6GoP8M/FmnV8wYBubfbEXrQBU7SR9pmjYeGISrf xPoprO6u0MS59ubngZDL0/Go9vBy7rLhQZrt6OmuYLMp7olW7fW2yXKZDJMXu1uIfFFm R6sQ0cnJhb7jXY2xOm6yGgd1FCPYRh04qE60c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=k+xYEU7GGmWpZRCP0v/62bsuQOHLx/NQBjwr1YpFdkM=; b=BvjL8JLecdWdoVTAxkM5rhtxwdq3w/5oNqi/Qsn+oM5RnsvFvlBOzb3amcisOY76/B 3WAEDT3/w+6xCS94b+zR4fxoZE3OzIgHgV61NGkZVDrctJQuR14TEl1SbvrP/rq4/VGi UzHTbUKi+fnToKuCuhxLPWdqKa8x7C57nee3TZaTeVcH/mYh3yAMu8UcbQmHAZ/JInvT uCo4naJ6pm2yUJhglQqiEdpVy+AAwlmcBXED4p22YOa+ZGnjsz37fjUw+crEKd+5rUjL BHBAN3ruymUXgxzPivCm+Qq0Id/wf5hz4qmehcaT5XEHWa5/WnPwc9lppKLfaf9+FIb5 AO9A== X-Gm-Message-State: AOAM532ZT2O9iDkWkp5uczG6oAVfmIBDlwsitgAiV0fn4tlNNuKdram8 zMuZpVsldFZzYYh5qJ6A983lwh7GRI36Gg== X-Received: by 2002:a05:6102:38d2:: with SMTP id k18mr3825679vst.39.1627603631665; Thu, 29 Jul 2021 17:07:11 -0700 (PDT) Received: from mail-ua1-f49.google.com (mail-ua1-f49.google.com. [209.85.222.49]) by smtp.gmail.com with ESMTPSA id g70sm751vkf.24.2021.07.29.17.07.10 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 29 Jul 2021 17:07:11 -0700 (PDT) Received: by mail-ua1-f49.google.com with SMTP id w11so3261141uar.4 for ; Thu, 29 Jul 2021 17:07:10 -0700 (PDT) X-Received: by 2002:a9f:238b:: with SMTP id 11mr7438420uao.91.1627603630500; Thu, 29 Jul 2021 17:07:10 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Doug Anderson Date: Thu, 29 Jul 2021 17:06:59 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 00/24] iommu: Refactor DMA domain strictness To: Robin Murphy Cc: Joerg Roedel , Will Deacon , "list@263.net:IOMMU DRIVERS , Joerg Roedel ," , Linux ARM , LKML , suravee.suthikulpanit@amd.com, Lu Baolu , John Garry , Marek Szyprowski , Yoshihiro Shimoda , Geert Uytterhoeven , Yong Wu , Heiko Stuebner , Chunyan Zhang , Maxime Ripard , Jean-Philippe Brucker Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Thu, Jul 29, 2021 at 3:33 PM Doug Anderson wrote: > > I was definitely getting some inconsistencies in my tests where the > eMMC speeds were getting into a bad state, but I don't believe it's > related to your patch series. I think this was just me being an idiot. I forgot that I'd been running with KASAN, so that explains why my speeds were so much slower than usual and probably also explains how it could get in a bad state (I guess it also explains why sugov was eating up 30% of my CPU time since that went away too!). No mystery here aside from why it took me this long to realize it. I'm now getting ~213 MB/s without forcing it to lazy and ~261 MB/s with forcing it to lazy through sysfs (and without any other cpufreq hacks). -Doug