Message ID | ZU3U759SwIC4Vv-F@infradead.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b129:0:b0:403:3b70:6f57 with SMTP id q9csp1377515vqs; Fri, 10 Nov 2023 12:52:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBv+C7oorQ5wGnhpcTr9f8R1A69T0W0/W1cfd5W3gWkn0aL5dwrUv/XOUtfjznpmrDbOA9 X-Received: by 2002:a05:6a20:4321:b0:17b:129b:1817 with SMTP id h33-20020a056a20432100b0017b129b1817mr267381pzk.45.1699649546448; Fri, 10 Nov 2023 12:52:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699649546; cv=none; d=google.com; s=arc-20160816; b=MO8wo4peGYqSXkhQbN/Skjh5p7QnJyw8pCzelBYEWbz1xUpy3KwiEu5tkwfO5PhwGw Dm2ewYy0SpXOtKmy4S6CQvBZj4pMZIISZmy59cFTYWObwDcOeXJ6YGg9G92qkr74PLLk spv0rPIPWjc3pos9+C14gMphDz8uhgzmx2qMGbymtB5PZnRYUBPs9L8bMbf3wLJavV4S nDlM3/xZ93z7ZeX18ycSZuUvcowXWQfmZiOpXnC8HXMiXedPbz909OQLRrQ9QhGPHWHr w0ut1PgAM1lw71heCNmtGCog6IDzlwv+IgJJuUlUYQXTKZqs4FrU34EzWz9L39dkRR0K Vvpw== 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=rTDDJ39p2/9RhU5/XQUbQQVJgSZq+xnn1qxqWoHI9x4=; fh=yjxUoE4h8Stf5mgBdYCFAlTCCF31CsqX8z/FigLrzXQ=; b=Hao/5e2slVAocHRMDPXeV1LXvp/Wq0gk+7zskE+UVLFDpny5LSlk05Ld8IkJCrF+NV ot9PMd3S/9KDcFkEy/6zIGO1b3O5+SN3yiXY/3CiXpWPRwBc0/h+r00befcyAr9qYeKG aSegwJkS1VWqvoDzxMUBotI6PeEPeQLN7kJGnfHi31aDZZeuZG0WuIetkCGLx6yFXqWz yyI18HK/BMT9jy9+/EFL/ZyLs9fX/LMjp20Nk546Ql/nEworDjK9YCauTNQfldszcTct mVjNluZNOaxvsxj17+74dLJO9Thyxfn/UBeCuAoWJk8gPNUUt36QUBkofthTfRxvqcIq 9ecw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MnxFlr7v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id ju22-20020a170903429600b001cc13895130si110515plb.632.2023.11.10.12.52.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Nov 2023 12:52:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=MnxFlr7v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CC35D82F4B5B; Fri, 10 Nov 2023 12:52:21 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346507AbjKJUwI (ORCPT <rfc822;heyuhang3455@gmail.com> + 29 others); Fri, 10 Nov 2023 15:52:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230163AbjKJUvq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 10 Nov 2023 15:51:46 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DD536824C for <linux-kernel@vger.kernel.org>; Thu, 9 Nov 2023 23:00:02 -0800 (PST) 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=rTDDJ39p2/9RhU5/XQUbQQVJgSZq+xnn1qxqWoHI9x4=; b=MnxFlr7vhkts8x9CK+vrb8uBHw yV3IBAU12521sMrM32umdbb2MX6cGbxP2MIRHt9JLRX803Yw07vA8QGC/BJn2/JhlZO7Tq6+jc0Uq 17XPnN+a9KdNoDCMS8B2oq8COdhJbztc3YWslWvOk6baoEM6YUfjm49w5Kc2ZsuwhwS0vRYr11qR+ KrGifuYDI+1nOEVbjumZfFxRdyqlzmsAsASoFmYi10CIqQvpSOwCEERwSyM6Kj1rNGnhLpX2rKUXE ISbmpp/piVpIkLlhibI8fVWpHAwlVsM/MAj3ranSOjoreBdWR04KXUceZYjzOflt9GvAzTmcVNQB1 zakXh0vQ==; 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 1r1LUn-007zwi-1a; Fri, 10 Nov 2023 07:00:01 +0000 Date: Fri, 10 Nov 2023 07:59:59 +0100 From: Christoph Hellwig <hch@infradead.org> To: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: [GIT PULL] dma-mapping fixes for Linux 6.7 Message-ID: <ZU3U759SwIC4Vv-F@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-SRS-Rewrite: SMTP reverse-path rewritten from <hch@infradead.org> by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 10 Nov 2023 12:52:21 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782206635875479483 X-GMAIL-MSGID: 1782211722865452369 |
Series |
[GIT,PULL] dma-mapping fixes for Linux 6.7
|
|
Pull-request
git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.7-2023-11-10Message
Christoph Hellwig
Nov. 10, 2023, 6:59 a.m. UTC
The following changes since commit 8f6f76a6a29f36d2f3e4510d0bde5046672f6924: Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm (2023-11-02 20:53:31 -1000) are available in the Git repository at: git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.7-2023-11-10 for you to fetch changes up to 53c87e846e335e3c18044c397cc35178163d7827: swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC (2023-11-08 16:27:05 +0100) ---------------------------------------------------------------- ma-mapping fixes for Linux 6.7 - don't leave pages decrypted for DMA in encrypted memory setups linger around on failure (Petr Tesarik) - fix an out of bounds access in the new dynamic swiotlb code (Petr Tesarik) - fix dma_addressing_limited for systems with weird physical memory layouts (Jia He) ---------------------------------------------------------------- Jia He (2): dma-mapping: move dma_addressing_limited() out of line dma-mapping: fix dma_addressing_limited() if dma_range_map can't cover all system RAM Petr Tesarik (2): swiotlb: do not free decrypted pages if dynamic swiotlb: fix out-of-bounds TLB allocations with CONFIG_SWIOTLB_DYNAMIC include/linux/dma-mapping.h | 19 +++++-------------- kernel/dma/direct.c | 40 ++++++++++++++++++++++++++++++++++++++++ kernel/dma/direct.h | 1 + kernel/dma/mapping.c | 22 ++++++++++++++++++++++ kernel/dma/swiotlb.c | 28 ++++++++++++++++++---------- 5 files changed, 86 insertions(+), 24 deletions(-)