Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2527050rwp; Fri, 14 Jul 2023 07:29:15 -0700 (PDT) X-Google-Smtp-Source: APBJJlFMbDaHLzCF1Ydcw/9/9BtBUbWpXKkB1KPiLAV2RKHjK+7u33r/o8G9E8ZzLnFSPdV+Y5tm X-Received: by 2002:a05:6a20:8f0c:b0:132:f5ca:12f6 with SMTP id b12-20020a056a208f0c00b00132f5ca12f6mr4274965pzk.49.1689344954997; Fri, 14 Jul 2023 07:29:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689344954; cv=none; d=google.com; s=arc-20160816; b=XSPL1W4MxqRxui9u0Llh/yRm6OzRX5qlEuLbVAQffa3bmLUxnwTil1Z9iOfNLyiyPG o0L73Z3jli/ggxR33v0Lci8+Gp9Hiw97xo4NFsjY6Azl48CUAfH3Y1vYbhoSsdCg78c+ i2BJe8OgnppnX+Z3+Opmb1NBXS5kxchgfaBka8NY6+b6YZs7XzwOWduFHTmvXyA77lmr u0u1nm0CX7zMziq/2mhRfT1nmcZ5ImRHSdTYsuH28ODuHCU9BRloBcIzVGAb0hIm+bq+ 3I1ofVLaWMKe/QM4cTzu5BGf3Ncy+MH44UtezgZrkk6DcBLb7wh6CKsmNM+8AxF+gIPc Qfiw== 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:dkim-signature; bh=5Gir0pXlYLldcjks5cU9yoFLHUfUqdt83qAs+l44utM=; fh=1I5AIb7mpBeFdT9CPfGvnHqn3NazW+0P49FGLxCYaes=; b=SO2chTwZZOafcG5PGHARfxnJTwCK5+nI7KSDHKgPRuWEWACsOOuIakZb7x1PPpGB3o WQXZvDbwoEDlglslx8UFmWmJphK0aHkbI206G4EEWjR31OVloVBGe2V7882NpxXeBAI0 bxfM3uJONmZhimqQ80jmwY5rgvHzPQdB//zz7rXPBu9hWnCDEb7uDjI6OiaQe75fUwAh nA81/XGakOQbespNKiZxyxfL8+aM7JIOpxf5pVP8G7HuE+owBRJbq7flR7RZrlPeTVqJ F470av+V4sgEyrDpbGa7LVS+JmFNJT+/+x5EFvWB8R6xbQ+g2r3NhjLg3em7u6PSPAqr VUSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=PiIRHazy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c6-20020a6566c6000000b0055798b90375si7195775pgw.709.2023.07.14.07.29.02; Fri, 14 Jul 2023 07:29:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=PiIRHazy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235544AbjGNOJZ (ORCPT + 99 others); Fri, 14 Jul 2023 10:09:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234555AbjGNOJX (ORCPT ); Fri, 14 Jul 2023 10:09:23 -0400 Received: from mail.8bytes.org (mail.8bytes.org [IPv6:2a01:238:42d9:3f00:e505:6202:4f0c:f051]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3DB9AA2 for ; Fri, 14 Jul 2023 07:09:22 -0700 (PDT) Received: from 8bytes.org (p200300f6af03f600fd690381fa83412b.dip0.t-ipconnect.de [IPv6:2003:f6:af03:f600:fd69:381:fa83:412b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id A363D28012A; Fri, 14 Jul 2023 16:09:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1689343760; bh=M0SoCIDigrh34C8zCDczRKfN4d2BWxv9UemPawpMyzs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PiIRHazyMSRJ5zVVXJ3d6lwTAB9US7oCcdFwtoq0o/7dWHXrd/FmscTbP5T3StLSn 29q9QXhsW4g/LTXkIUSjUO6NOMBEfN8Iu2gcrxI0wP01YgV3y/HDjaUMcn1rHOU8Yq UuMq4VkiuYRmcPQ7dkL7PbveQ/LyfXyyot1pDQ8rGT+91xtBqicpxtNnDdWIOSaKqN 3vOye471ooKK7U1U1Ot3EM4Rg2NgiSH5S1pRjmeELQuKUCor8pxVnqnF3eFcJokDkT iJy/B5TGib0yV7wLejswTpkXV2ZjPFSh4LxNqpqxO3hx1D6fbzvNKDu4psEUqiurUl +8tN/uOYBPG0g== Date: Fri, 14 Jul 2023 16:09:19 +0200 From: Joerg Roedel To: Robin Murphy Cc: will@kernel.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Linus Torvalds , Jakub Kicinski , John Garry Subject: Re: [PATCH v4] iommu: Optimise PCI SAC address trick Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 13, 2023 at 02:40:25PM +0100, Robin Murphy wrote: > To that end, implement a flag to refine the SAC business into a > per-device policy that can automatically get itself out of the way if > and when it stops being useful. It is summer time and it may be the heat, but I am in a brave mood and decided to give this a shoot. I applied it to the core branch and will push it to linux-next for testing. Regards, Joerg