Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2917576pxv; Sun, 25 Jul 2021 09:52:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy56A2jJNo/YFDEE4e2G7CgSQ00l25Yp9xVyP31gNPh78n0NhlMelzCSLbjyUbX6dIPiksV X-Received: by 2002:a05:6e02:d41:: with SMTP id h1mr9719197ilj.191.1627231965798; Sun, 25 Jul 2021 09:52:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627231965; cv=none; d=google.com; s=arc-20160816; b=uopGBBhR5SBRHJgnsSN80AHL27oSR/T4g/pXGanMz5Z6kvvmeCJEg5APbLXa+eVnTN xe7KHffXN5eH3A4J/PdqAokzu/NFkeEpiipXdDRcPYcSgvX9JzQryNaNrsIM3D+0Kstd VBPV593Fg/f4XMKbQZfX9m+J+tIwGGgXHh6PeaqmGDz2OKSiSX2Q3RAHIzzp8GHkslym jUBT/vs9B99IVBcbRhBN1mEDcwhmnv40KaOgC5WBOn1pextCsCBU7Xl+ANuCCxWZUFBO NbDL26F+jJEVGdU6t2CglC9ukA7jWnK5sRCgGFUKI5S9N1UApTF8TQ2mXY6FHuW1cQGz kDTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=fP46kBmK7l501R1YlgJJGYbTTZbaO0NIkZ1qjp4LZ60=; b=EzZdUli3+XZ5VUz9J9ZzmCTi5939QzQcfhh+Wkqchc8lTqJ64UhBhCXbr/PKYxUZ17 yQdual/A4FRvpg1lHpS7qRPU+e5Psm5WYNFhZnVaBcKrTYwVYRogUj9jTak0k2KnTtBV ckWL7mM+k7REb6K7qHv5bDOItUWXm0ULVt4cLN06nPmyGKM8TzG6KNFAWgXIZ6Au68qm v0657DXZhv6wJ602YQoiPILZDmMkmg2at0oS5aEKU06WmMF4p6ZtHNVjRTWTDwVMZBHj jqUyfb++udVAzfsYyqhxqtRUih2rwRzgbDfsZgqHM/ohbPH/jTkYcAcv8jg9Qxc5Uzvz 2ymg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SiPYq8Bs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g5si35856737ilb.152.2021.07.25.09.52.34; Sun, 25 Jul 2021 09:52:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=SiPYq8Bs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230393AbhGYQKS (ORCPT + 99 others); Sun, 25 Jul 2021 12:10:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbhGYQKS (ORCPT ); Sun, 25 Jul 2021 12:10:18 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 075F7C061757 for ; Sun, 25 Jul 2021 09:50:48 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id y34so10949043lfa.8 for ; Sun, 25 Jul 2021 09:50:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fP46kBmK7l501R1YlgJJGYbTTZbaO0NIkZ1qjp4LZ60=; b=SiPYq8BshaNp69OC9ySKBMA2IxqQDhtF/RXGRJeUBiB8DO+97ZjH9oULVf8h+kDJ6h oaGed8aMkjAmd/1pTV6PwGJCgRW9UXlaM0hnG7LTstlJtHaNNt3V0jnUtuVJ06mA7Ymg o803uHXDNoUWnPu1b+ZyfKPugux0T5/RT5H48= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fP46kBmK7l501R1YlgJJGYbTTZbaO0NIkZ1qjp4LZ60=; b=ckP44QKNFNDTTclp/zeZPsRs8LiegJb5+uxWNfIAmdnSXxkg8gqgyAd1zOmn6bmDkR Df0aOkSh8hR+JD7qT9OTKjKsOmvptOq32fkD9KfRB0oB3vasuG3l0xaPToVFLJckNTie 52qZp06hf7p0cMdO/VAKl3fxbFcZ61yt0Lks/0MJaSBEi+Nj3FX9G3rdTp2Zn1OYe+eG hk7L3CrJnp0ik6JK3gHjk/Duq51blUteYZ3PLtMk5c/w5qD5BJp7HLNxUBIy3jC/vEWL P8c6BNlatj3xf/O5zDZRmd/y62AvlolrD8uXx4i1l2xVG3dPLV8Mh5gl/4+Db9/m1fbi dXtA== X-Gm-Message-State: AOAM532CWlbw3Zfh42ptTBBl4aC87ZiorFQNswtEEXhKFaSKO+A2vAio rtv2N6t0SFKN5onN1WinLbhJKt0jDPOIzzxc X-Received: by 2002:a05:6512:54e:: with SMTP id h14mr10112641lfl.511.1627231846307; Sun, 25 Jul 2021 09:50:46 -0700 (PDT) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com. [209.85.208.177]) by smtp.gmail.com with ESMTPSA id z28sm3042032lfu.230.2021.07.25.09.50.45 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 25 Jul 2021 09:50:46 -0700 (PDT) Received: by mail-lj1-f177.google.com with SMTP id r23so5083187lji.3 for ; Sun, 25 Jul 2021 09:50:45 -0700 (PDT) X-Received: by 2002:a2e:9c58:: with SMTP id t24mr9389230ljj.411.1627231845716; Sun, 25 Jul 2021 09:50:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Linus Torvalds Date: Sun, 25 Jul 2021 09:50:29 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] dma-mapping fix for Linux 5.14 To: Christoph Hellwig Cc: Linux Kernel Mailing List , iommu Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 24, 2021 at 11:03 PM Christoph Hellwig wrote: > > dma-mapping fix for Lonux 5.14 We're calling it "Lonux" now? > - handle vmalloc addresses in dma_common_{mmap,get_sgtable} > (Roman Skakun) I've pulled this, but my reaction is that we've tried to avoid this in the past. Why is Xen using vmalloc'ed addresses and passing those in to the dma mapping routines? It *smells* to me like a Xen-swiotlb bug, and it would have been better to try to fix it there. Was that just too painful? Lonus