From patchwork Sun Jul 9 17:02:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 117522 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f45:0:b0:3ea:f831:8777 with SMTP id v5csp4549961vqx; Sun, 9 Jul 2023 10:26:48 -0700 (PDT) X-Google-Smtp-Source: APBJJlGAYs0itnOwoaJF2hlfHEGD0tE9sFKi2Jo4LMnh3i9wOhbz+EKe/qZDqs1bJppkXl3L1/AI X-Received: by 2002:a05:6a20:8413:b0:130:46ea:29cb with SMTP id c19-20020a056a20841300b0013046ea29cbmr10465265pzd.25.1688923608509; Sun, 09 Jul 2023 10:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688923608; cv=none; d=google.com; s=arc-20160816; b=VBs0b11ybhDp8xTUCv2u19QQUKiD5fBTyDK3bXs1cvIOSl4Cy8Pv72ahF+m8E3C6ri cfgZMpJVn9t1I+eErnGASBOC2eUEDHEn2aXKPaGooUFg+0mDVVXmI/MXRYKKYS9whd0h /q2a+ARukhAmo2sfdV2fMoJWCVOHNzzlsiT9B+RHpiFvUk+QyQbFj8pxr9iFVfqDjg2S pZMxlDB6CU17icYDaW299BtRH9b+pCECrsjra2hL6Bvn4sYzfqsHFrcopENIja9lW0sv 6tqNasfwiK3bTuFtLILMxg95iCOYFEbjQm/HhT8WOvVZ3LkQ8TAsbFOS0uQ6G78cNE9l YCng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=MYL8Dzx8oc+g3T8tMzOM72r7kEsw5MHr2MLIzYudHnE=; fh=liyLSWR9S1kxrJS6OIGc6tJshYfJdOaWkxX1mjSy5Ns=; b=S99HngtMOOdn+9Nq18gpGOLaUnMW6noP0rFQimvyeg87wIITLcEJnk/am901sj6NSe DP5hS+v2OgIE3KwwKRfBngEXS/V0DqbM5MLWt6jO6qcNWmDKr2Xh247aFzsG7Rp8Z1/x 5on3W+W2XvBB68REZ0l5xla+vNSuNemy6WJ8FYnGazLZUNm1yY1tibxdHt62VrwZb1Cp XAEVGqScEtPkPhh7ceBlZZR35dVF7wYV5nES+I2TvLLcekZwOH0yo7LueaaVW3aemT1I wYev6Ev2NV1rRNP0s/IRHIfMGz82l5fp/EPRLabjfk4/haX55VnDlnpMeTf9D05V3v/h Wf8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AtwdZ49v; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w6-20020a634746000000b005575a066780si7410833pgk.291.2023.07.09.10.26.35; Sun, 09 Jul 2023 10:26:48 -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=@infradead.org header.s=bombadil.20210309 header.b=AtwdZ49v; 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 S230091AbjGIRCR (ORCPT + 99 others); Sun, 9 Jul 2023 13:02:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229534AbjGIRCQ (ORCPT ); Sun, 9 Jul 2023 13:02:16 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 96ED2DD for ; Sun, 9 Jul 2023 10:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:In-Reply-To:References; bh=MYL8Dzx8oc+g3T8tMzOM72r7kEsw5MHr2MLIzYudHnE=; b=AtwdZ49v2FkuNE7VHd1FBKFuUl OZOrKcsFHzMjFhVfZVcjYYcGq5GcDMHSyjlcpEY3Axk6LLrTYtncMwr+2NcXgc7eskb2/B3aupPfV wUpbc89g2LamyJRvTLk+Bc8CxRWre6ftDap+IcChXEIsIIp0nY0pG72aHMytjChtL8H2HBMGnGwDu 1QN9rkK/nHgvgSfXxBpvC+pFn9Rk67EfTdBxh9mj946vw+VEUU26+UOCT4vL+TNNFfsdOQj+M6ewd W5DOuf2xvm1BRb+esndsSxsdDlvwmGoxGC1YBpQpmhS4mBynjZX+Jhib8f7NVi0fP1zHJHKimnj8+ qg+4Mvww==; Received: from 2a02-8389-2341-5b80-39d3-4735-9a3c-88d8.cable.dynamic.v6.surfer.at ([2a02:8389:2341:5b80:39d3:4735:9a3c:88d8] helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qIXnZ-009T7k-1p; Sun, 09 Jul 2023 17:02:14 +0000 Date: Sun, 9 Jul 2023 19:02:08 +0200 From: Christoph Hellwig To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: [GIT PULL] dma-mapping fixes for Linux 6.5 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html 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_NONE,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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1770964761256592346 X-GMAIL-MSGID: 1770964761256592346 The following changes since commit 0a2f6372a43ff5e948b8b10be34d4473f6c2ef6c: drm/nouveau: stop using is_swiotlb_active (2023-06-07 15:11:26 +0200) are available in the Git repository at: git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.5-2023-07-09 for you to fetch changes up to 8ac04063354a01a484d2e55d20ed1958aa0d3392: swiotlb: reduce the number of areas to match actual memory pool size (2023-06-29 07:10:28 +0200) ---------------------------------------------------------------- dma-mapping fixes for Linux 6.5 - swiotlb area sizing fixes (Petr Tesarik) ---------------------------------------------------------------- Petr Tesarik (2): swiotlb: always set the number of areas before allocating the pool swiotlb: reduce the number of areas to match actual memory pool size kernel/dma/swiotlb.c | 46 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 11 deletions(-)