From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A380387566 for ; Mon, 20 Apr 2026 22:56:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776725782; cv=none; b=dFwPqRPKVZsaKNMUg0brmxUiwXsi4/LWFE3D7nS+tqp2RdI4IL0Szrwpd5HW/Z08cDdB1M+iMGnCcm2URZK14kDDeJpDL640KlqmreUxOXvcz6r7hbqw7EqAZL8OFtLzwO7RRbnSv6vJ30x5qI7ChpiJbKGS5iRygM+EKSuikcw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776725782; c=relaxed/simple; bh=HxETj+r6/c62h5v/ZQo9q8wwwtXio08jZSnj3FSr8os=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Z9+iEyngu2ovbIqP1uno4ZgP+qLks5Yrqe0eUGejBYjhWb6WV0Ink4GatQims5BlKXxh9CRyHu5XtWxhgIj9QLdHX/Z4XS/w0uisZYEVL7R9blJFpmT4z7NxnCceTVEIn0gzl7/LznCeiD/JffrklbdlIZh+JUncyhK5UzHM8S4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca; spf=pass smtp.mailfrom=ziepe.ca; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b=m6OruEcU; arc=none smtp.client-ip=209.85.167.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ziepe.ca Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="m6OruEcU" Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-45f053b7b90so2085034b6e.0 for ; Mon, 20 Apr 2026 15:56:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1776725780; x=1777330580; darn=vger.kernel.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=HxETj+r6/c62h5v/ZQo9q8wwwtXio08jZSnj3FSr8os=; b=m6OruEcUV+RxxHF5bmojsdSMXPifizCGbcAMnOS2vyEEt7WMtoiS56hMGC+2tTq5hI cWMSBHKYq9h6Wdcm3WdUvQRzfdpKFE642w0IgAOy6u1YQcc/VCFDcuDcxnPFeBTXAzKj atlGe+MmH87ibnTn3g2loYlYCq7dpEUxdFDMq3Vebt2uWaS5hLtTP3X9bQqFXSaEq2pf RRbZhC7fK9J+KaWi6z7LblGXj1DPAfKnp4dbRahnfSRuuNHggTmdhLd5X5+5HOBQ9J8T DRlo/GSJGKfqA8c1mRC0RfbUXTmRGsOD0YZjstgKZ3Mk915kiDhKi/QIo7sE4l8jZaUj y5+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776725780; x=1777330580; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HxETj+r6/c62h5v/ZQo9q8wwwtXio08jZSnj3FSr8os=; b=CBgT956BnRyan1pWPqkzeHFmHD8lxtFmM0QrTYybFH1aKYoDzrnZaTVOyja/A44BvH 0LsmQDEc0MGngwX8eS7RUy/rQgtNmg87aBW69tIrflfF1sgkfT+4wzEHzl0PeMCRDbuU 26OHI+s/LJwl64DBiInYV0icWkHjGJ7orhg2oZyQDivkDYJfDqCA8Df+4cBMfSHhuCt3 VzXw+JHfusCJ7RaldXMzyrgaRiduX6a8NPoN4zc2VgCsj/tqMoca+s5KLKr598iXAxct KEDS/cebBIA7ZE4GeRFXpjytb1y84lrPMdTuD0/5miiiunlFktMYCz+iFa/eI6vA0X/o 3sFw== X-Forwarded-Encrypted: i=1; AFNElJ8vMCbHMSyh9DROCMB9OYUFJbxtbL04T2uLxFuiyUlPVLrFwNas7M5hQjDIdWex5tlAJP6ZrCocy74zuWc=@vger.kernel.org X-Gm-Message-State: AOJu0YztVoY6f2mQMZ7RrXp7xhAMBk+VggGSBzTdsih8W1jl8LCFO1eF Z94OY0rtdPztsjG4/+5WaXtCfirRpzsA9rH0OKr0jJnrXSI0NfEm+xRlwFfnkHhkAkg= X-Gm-Gg: AeBDieu7AA/B68w7FBauf0Le8C0U+h4EZix2dRz5Ox4N7g9UlqST43NuhTMetKWn692 FxK+vIOkb2QACiE2dMyp6kQzghccJ8OM4lwKzS3vdKCRRdESE0SYU9271I+4aMYPtb241+9Mx/D RMPKMhtfFuQCfCvDzD34xl2EpAB1oFwBFCkQQ0G5eKOVndOBoVhTE2cqwE+QHaB9cFtr+lE6UBa Z4Zw0JvZ2/PHINJd7C8nV8QWcZ+/6kH6IsxK9cNTM6EfSt9vOmI8dWZpv1baYd8bVWFzhp0MCn8 duShAXAP9zHYZ5MCUQg0kDECLF6KGnx+USrZpAjGW2M7+CeLKFJP0EwmcjKi0mBhi5K5Mcbmrjg yc67Ub1WWxqff07v3zT0/rwfVfzRXwzJzyaA+Qtm4dhUNZ1u8OxknK3TTnf82aWCvn3+4i2C5lU 5ezqhMn0to X-Received: by 2002:a05:6808:448a:b0:479:d2d3:a399 with SMTP id 5614622812f47-479d2d3bdb0mr3331712b6e.15.1776725780355; Mon, 20 Apr 2026 15:56:20 -0700 (PDT) Received: from ziepe.ca ([130.41.10.202]) by smtp.gmail.com with ESMTPSA id 5614622812f47-4799fc19273sm7702863b6e.0.2026.04.20.15.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Apr 2026 15:56:19 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.97) (envelope-from ) id 1wExXO-0000000F7qQ-3pLG; Mon, 20 Apr 2026 19:56:18 -0300 Date: Mon, 20 Apr 2026 19:56:18 -0300 From: Jason Gunthorpe To: Vishnu Reddy Cc: Greg Kroah-Hartman , ekansh.gupta@oss.qualcomm.com, "Rafael J. Wysocki" , Danilo Krummrich , Thierry Reding , Mikko Perttunen , David Airlie , Simona Vetter , Joerg Roedel , Will Deacon , Robin Murphy , Arnd Bergmann , Srinivas Kandagatla , Dmitry Baryshkov , Bharath Kumar , Chenna Kesava Raju , linux-kernel@vger.kernel.org, driver-core@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, iommu@lists.linux.dev, linux-arm-msm@vger.kernel.org, Vikash Garodia Subject: Re: [PATCH 1/3] drivers: base: Add generic context device bus Message-ID: <20260420225618.GP2577880@ziepe.ca> References: <20260414-computebus-v1-0-4d904d40926a@oss.qualcomm.com> <20260414-computebus-v1-1-4d904d40926a@oss.qualcomm.com> <2026041418-volley-composer-6363@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Apr 15, 2026 at 11:04:26PM +0530, Vishnu Reddy wrote: > Looks like the device have specific iommu configuration (via > of_dma_configure()), then using the auxbus or faux bus types does not have > the bus notifier calls to iommu_release_device(). Please correct me if I > misunderstood? I think the general feeling is the open coding of_dma_configure() calls in host1x are not desirable, it should only ever be called from bus code. If you need to create struct device instances bound to the iommu somehow this needs to be much robustly designed than wrappering the host1x stuff in a new bus. Jason