From patchwork Thu Mar 30 22:43:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christoph Hellwig X-Patchwork-Id: 77432 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp178984vqo; Thu, 30 Mar 2023 15:46:03 -0700 (PDT) X-Google-Smtp-Source: AKy350YVXtOfQVzyXOhx1nqg9EkiJWYcZgDp5MuNGfH56M9fpMBLNFSRcOdDJT4Zlvd3gVwXEzO+ X-Received: by 2002:a62:7b10:0:b0:625:c048:2f81 with SMTP id w16-20020a627b10000000b00625c0482f81mr23714031pfc.32.1680216363433; Thu, 30 Mar 2023 15:46:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680216363; cv=none; d=google.com; s=arc-20160816; b=hsaDTcHC/2R0xQiuMdJ0JEJsn6yQGKmhrUz28Jxku/KmAfcrngV3dc22IH2cCyWJ0/ /X21dcVEg3jsRg36i8MDRW9KvVOpT/oqwpf70vfgMmuNXAWuFRF3V0snrSGUuH4lmBIj DQ0/qoNSMeoGDnQiMr/59ypgtzmn5Is/BZKSbXW4F7nHYBCaGcgGXLaIyT/9s6GVbJSu TsNOnBSZiQ2gypDV8PUmPE+p20UAPtUB1mjljLf2vRvntg0Iju5zpLxAa0xS9Ra2Dctx 8covHcEqsTSm1CVTGcupOzg577LqLzxdxWUYRKr5keN4cwK+zPVC3ejwv7qmQiNutqVr vaTg== 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=lTLIbbxbky13nUCsW3l6ilyAtIxc9wDeo61C7fhVk+A=; b=cyo7Rv8BlIbyeg6eV4qT0ggdCmDve8K0zl1353znH+cFRbsqe2HpmJpF8kwqoA+1Yc 3zxmSKViuEOHrTkGs4fjqB/dnZv94I6ztIgcqHtJPkkACTbxigR7Ivx9ZpeBekrSL9/l oiA6wdFTj/8k6haY6jFkAQQI6jI604lTqaY40j3GRMo22FkXQNAZISepuiaIsm/hV6TL J4QzHGY3lF1Wa7AG/kD/kyk7uiuxiM+FD2WddmqkRcjJuTKh3sIqPlUSs/cJdAw5QQRR yyYoBxqgj9//Gv3aYEe0ukbb7hP5QGBnDgf2DzYronuQbOdaSPcxSN/V5fvT/XQ2Xcxx 9Jvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NPbs4KCr; 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 k7-20020a634b47000000b005139e210d10si715758pgl.587.2023.03.30.15.45.50; Thu, 30 Mar 2023 15:46:03 -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=NPbs4KCr; 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 S230489AbjC3WoZ (ORCPT + 99 others); Thu, 30 Mar 2023 18:44:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230467AbjC3WoS (ORCPT ); Thu, 30 Mar 2023 18:44:18 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 179C110AB8 for ; Thu, 30 Mar 2023 15:43:57 -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=lTLIbbxbky13nUCsW3l6ilyAtIxc9wDeo61C7fhVk+A=; b=NPbs4KCrjzxCRI1mU8uJBqxU5t wHRIFNCmP2ceMR9KpAs3LuIEn1sQlQuq0hJYKr3oLqsu6Z7XzWQuKIgfpPUMdgBU0B8xcwGUYaErL v2+ixOgr1+LcU22js9hZrIxTHvheRObZmMF/ciEog4jAlb5pJw9ai5Wej9+CaneIjy5D57YoWo1ug aUBAoeV1tEyJIq7a/m7pyqvC00o+JHMB/vjxv1IpuR9D8PNkEJFY4lM9KdzA+POWFV1lkonUgoHlr WKN4ISETU9UY4LOW87dm5yyNY66hcts60X/BifWruf+c8ETAFQqiUt8TBrpHjVS7K/l3+xuF4nwTI 4xwN4M9A==; Received: from [182.171.77.115] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pi0zr-005FV0-32; Thu, 30 Mar 2023 22:43:56 +0000 Date: Fri, 31 Mar 2023 07:43:52 +0900 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.3 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.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1761834553539513281?= X-GMAIL-MSGID: =?utf-8?q?1761834553539513281?= The following changes since commit eeac8ede17557680855031c6f305ece2378af326: Linux 6.3-rc2 (2023-03-12 16:36:44 -0700) are available in the Git repository at: git://git.infradead.org/users/hch/dma-mapping.git tags/dma-mapping-6.3-2023-03-31 for you to fetch changes up to 0eee5ae1025699ea93d44fdb6ef2365505082103: swiotlb: fix slot alignment checks (2023-03-22 09:03:17 +0100) ---------------------------------------------------------------- dma-mapping fixes for Linux 6.3 - fix for swiotlb deadlock due to wrong alignment checks (GuoRui.Yu, Petr Tesarik) ---------------------------------------------------------------- GuoRui.Yu (1): swiotlb: fix the deadlock in swiotlb_do_find_slots Petr Tesarik (2): swiotlb: use wrap_area_index() instead of open-coding it swiotlb: fix slot alignment checks kernel/dma/swiotlb.c | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-)