From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0CA6BC35FE4 for ; Sun, 15 Sep 2024 14:08:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 7CD5610E107; Sun, 15 Sep 2024 14:08:09 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; secure) header.d=ziepe.ca header.i=@ziepe.ca header.b="PfmD8Jhn"; dkim-atps=neutral Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) by gabe.freedesktop.org (Postfix) with ESMTPS id 84BAA10E122 for ; Sun, 15 Sep 2024 14:08:08 +0000 (UTC) Received: by mail-qv1-f47.google.com with SMTP id 6a1803df08f44-6c56eec7fccso18395946d6.3 for ; Sun, 15 Sep 2024 07:08:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1726409287; x=1727014087; darn=lists.freedesktop.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=qETOmqLs3VcWBE6fq/NLpP/VdMfGfLvWYa4naTceEbU=; b=PfmD8JhnNrHD7XBTZFgwo5/pPmTXuJaw6sqI9oFaHlWshzi/YnRH9InOwDRnhMWQOR UbV7ERUkt/9UMfgsfReO8TDm1r91CgTgpdFaFcsTGcrmBI/eJBn4/L4NV+WvmGFNhsn0 9AA/Ns1V+czgwg4oXrIveLJqH0wX8hQK5lBhN914gyVB2Z6WF5JU08ReSlYOYSgzF0yX Oz/8SIGzUWYVnEaAWv3B8QOB5QnKRIibeKNGRTbn4mLiFv/xMTyK3AMm7aNnwzoLMguX ygo3FyBjdpiAf4EQakNBbcQRs8rsT4U9o2R27BzNS2qjuyjcilIK8xxOivAHSzDoKAPN 5Jlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726409287; x=1727014087; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qETOmqLs3VcWBE6fq/NLpP/VdMfGfLvWYa4naTceEbU=; b=ZD125vJAuTTQghk8OqjUshhCibQZ41VpWYi7DimUlBIgiFgbdBOnkXk94n9aZRWFL0 N/Iy2TBGbAJlD7hFp5Ag1/ftNdYXhwyHj04AHd31/HBZ9QzLLDmaOx8H0N8p5syethZL XCxTQRCFM2yzwwenFHspQGEH2LXMz37t47o0mfE2eIwfTTnKGToynExH7lo0HBbHzOaF +L8umHM5u8GksbZEn1wv/SDrcES/WqSYbx7dxnZB//4J9VzemT0wnAqXGS1gw9X0YD5U KPrLnZsT33Pv26KqWOXRmcHSWCMgKS7Fq5Xmd9G4hm0FrTi7pYqEiqhwkgWXnFGeASE5 +ZVw== X-Forwarded-Encrypted: i=1; AJvYcCVXKH1u9OwGeIA/YlcyyQ7npzqJpnMnIGIbKimebBt8b0yDxL7Q3YVeQbxoUOW26rtrmd7LcF9mxtA=@lists.freedesktop.org X-Gm-Message-State: AOJu0YyJHP3p6t4aYjms2rUIwkeb4xm9O/sJhQXCXyinScHureaiN3Zj OuRUtrRrYuO+TZ3uh9/bTb7INAPuBfhJ7j+VT5+Hl4ZwA2NZ5WwIVmuH3bQsWiE= X-Google-Smtp-Source: AGHT+IEGScRXWkjCa1MsukJtaEHzEo9sxiP6ZOXcwDMa/t01rqjqte/GHdDfO4BuPAC0Ip8flPeYYw== X-Received: by 2002:a05:6214:5a07:b0:6c5:5326:18a5 with SMTP id 6a1803df08f44-6c57dfb94a0mr155649476d6.28.1726409287152; Sun, 15 Sep 2024 07:08:07 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-68-80-239.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.80.239]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6c58c632f7bsm16033696d6.37.2024.09.15.07.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Sep 2024 07:08:06 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1sppv4-007h2G-0a; Sun, 15 Sep 2024 11:08:06 -0300 Date: Sun, 15 Sep 2024 11:08:06 -0300 From: Jason Gunthorpe To: Lyude Paul Cc: David Airlie , Daniel Vetter , Lu Baolu , Karol Herbst , Danilo Krummrich , Thierry Reding , Jonathan Hunter , Sandy Huang , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Mikko Perttunen , Joerg Roedel , Will Deacon , Robin Murphy , Kevin Tian , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-media@vger.kernel.org, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] drm/nouveau/tegra: Use iommu_paging_domain_alloc() Message-ID: <20240915140806.GE869260@ziepe.ca> References: <20240902014700.66095-1-baolu.lu@linux.intel.com> <20240902014700.66095-2-baolu.lu@linux.intel.com> <20240905132459.GG1909087@ziepe.ca> <243808ad949823a0d64cd785ed05a375ccdba096.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <243808ad949823a0d64cd785ed05a375ccdba096.camel@redhat.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Thu, Sep 05, 2024 at 12:26:31PM -0400, Lyude Paul wrote: > I did take the one patch - but I'm happy to push the others to drm-misc > (provided they all get reviewed. 2/3 seems to be reviewed already but not 3/3) Did it get lost? $ git reset --hard next-20240913 $ git grep 'iommu_domain_alloc(' drivers/gpu/ drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c: tdev->iommu.domain = iommu_domain_alloc(&platform_bus_type); ?? drivers/gpu/drm/nouveau/nvkm/engine/device/tegra.c | 4 ++-- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 10 +++++++--- drivers/gpu/drm/tegra/drm.c | 5 +++-- Now we have the other two but not nouveau? Jason