Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1599323rwd; Tue, 13 Jun 2023 11:16:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7ql9QcfoVpQn3HmNLeO/MAQhXX8teCqBldF/i/2bc7oSseEQJDugEiNrhlOyLB9HjCuUIN X-Received: by 2002:a9d:6317:0:b0:6b1:c171:3ff6 with SMTP id q23-20020a9d6317000000b006b1c1713ff6mr10641063otk.27.1686680161699; Tue, 13 Jun 2023 11:16:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686680161; cv=none; d=google.com; s=arc-20160816; b=MwwjBQwCTSZUdAKQ6twGlPwB7zfH5RZVqnvur2pmOylizv39/mJRfqNvHrf3OK0rpv 8uu9wdMGrhJNeg+Ve7y+cXhRFImGOStFTRpH6ybSgI7lksiNMRfw0Dz566CXsC8gJZSX FMt3B06IrHEmiGaS2kBMFHttFEJnHu+svqjPzKzRW7FraYgo2sjCanTry78+XZX0Hbxm gzUL8VZyiKRpu1St2nEUzWqn+NtkJOiOGpwvUeuylKMT1OQBejYSTWwjFD+n0bI9qCns XT4RPYXO2idV1Bf4hJ4kPKrrvYrHuzuv9tRotxJgdC3PWpBnDns5UV6/t+aThbzqNQ7h s4BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=SN1c/tgjkGIHNQlQuVRRt3ENTwVyc5rr1jQndTSnNPA=; b=DlOKMaTgisXEsq5ZyLM84DOdpf3aHH0K5UOzlTnf7cK+pJgAjt0oo6360G4LbS3P8r QwyP9dfRnTDJJVoAb1I7dhzO7DDmiH+52GQGhBhv5gkTiJpYBiXBjPu7KvEerkAc4hNR pVn9up+NpjJg6ctkrbQDcZeDNIiwDdReJgaGeb8OJjTn5RhetMJgF9u7JwpK4SJ9ybFl D+OXlZPMgrMxVx6bva5Pmt6zAqPprZ54PmZiJ7v6Pmz34HTdzhrPxfSvGVxebUrKhIVx jj0djrNqG5V5Bi7jL3ZKCtzrJOngTXqu0k8Qh5fjwgZNalh2f4IC+BstP0aSTmwRk++P Extw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=gjuTLOWK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m29-20020a638c1d000000b00543d2b835dbsi5557249pgd.462.2023.06.13.11.15.48; Tue, 13 Jun 2023 11:16:01 -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=@kernel.org header.s=k20201202 header.b=gjuTLOWK; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239374AbjFMR6z (ORCPT + 99 others); Tue, 13 Jun 2023 13:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234319AbjFMR6x (ORCPT ); Tue, 13 Jun 2023 13:58:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBD3113E for ; Tue, 13 Jun 2023 10:58:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5F8A461077 for ; Tue, 13 Jun 2023 17:58:52 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F9AFC433D9; Tue, 13 Jun 2023 17:58:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686679131; bh=SN1c/tgjkGIHNQlQuVRRt3ENTwVyc5rr1jQndTSnNPA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gjuTLOWKQ0f0t1t+eXxvOqKAE5a5XSnWt8lZ4MGD6TnCVey0N+LZpf1M5cZnHssGN mtqJRyQbqJgW6Fe6DPq8FOSMsBsbUs2U8CKPisiFoMgmD57rOMe49ITPZZjX/VoF1U pshQi6kO0CAppFvNb3UACJHmYCpH2k9qTZHAKqD0rB7A3tUeAFYEsf76VX3Aoo5070 nw2qnguYZVT6C7LIyDt0KAnHJmzdmNqeCu6Vmevg49PU8+1Sv5U7F/gjI+ZW2LF6BZ lNXO95czJ0577EXYUbAX8a+nkHLCL/b1JUN+LgZhVm1OoXwMDFzDRYptW3Ld+en6zU lUbesI7QbpKag== Date: Tue, 13 Jun 2023 10:58:50 -0700 From: Jakub Kicinski To: Joerg Roedel Cc: Robin Murphy , will@kernel.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Linus Torvalds , John Garry Subject: Re: [PATCH v4] iommu: Optimise PCI SAC address trick Message-ID: <20230613105850.30172085@kernel.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Fri, 14 Apr 2023 13:45:34 +0200 Joerg Roedel wrote: > Thanks for working on this, I think this is good to go. But given the > issues we had with last attempt I'd like to have this in linux-next for > a few weeks before sending it upstream. Therefore I will defer this > patch and merge it early in the next cycle. Is this patch queued up? I don't see it in linux-next and we keep hitting this issue in production. After a few NIC reconfigurations IOMMU starts consuming 90+% of CPU time.