From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f171.google.com (mail-pl1-f171.google.com [209.85.214.171]) (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 A47C4194138 for ; Tue, 29 Oct 2024 17:07:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730221679; cv=none; b=a2J9ijjplETZiY+h6iSOR247W9o45CjVhm8ZoZnv8RkTqsHHSIMM6bA2+3W80E5+Ep0JXQ659sR5O3vwiRC3/tdd6R7XIP8uBQ3UHw9Q3sl/vQgMO4TSvYNARpboSEegqTJVTEyyYRYGWi149qkJAiexgUVb+d0swAkjC+NxYZU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730221679; c=relaxed/simple; bh=vMlcxqhH9M0oMBn2t50QyORix8uNGB6ufNOx9xzdqRM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=ARscnN/Sp7FFyuyCVda9EmvQR+AZkPX1wBJgqFoPZvbjsUrKBMxEggn2+wddMwdc0C2eKXEh1v7XxjZQK6a63cRS9dFUmls1Yy1uQB1VVVj+2pY4KVXWTKOYrrfgRSUgSINRHXiC4mgZCoBJn3PRNyB5XnWFxi4+mwT++XerPJA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=baylibre.com; arc=none smtp.client-ip=209.85.214.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-pl1-f171.google.com with SMTP id d9443c01a7336-20c693b68f5so61901905ad.1 for ; Tue, 29 Oct 2024 10:07:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730221677; x=1730826477; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=PMUpO4GHw4JTvBKu5JvINhynu0MBcZcJA0tvXvTxH3I=; b=T4Nx+JLl7apqF5bhAaRJMo8EhIKw6LcZypDulheXqz4kX6zZ6AZw+cuUllVK1MlAwx H6IDagtHFN/NBVcEjGk42XWkd/IYLGR6k69F3RI3loKI2uZLXvrDe8Sy6CBXNGlWeC/O 3DUtOMbfrhr1plN4miWZzER+zzihirTAFEVioj85xJig5DxHckzErvlhwoc0YkegV9a+ 3FxPu6ImowrvdcaiR1X9dHCk5ILHpr+GujfayKnxKeRlztWAKRrJDBge1/UNke+N9oHL EVjVqABHpbQTpwA/yY5HO8B8JpOCJqyYfLufJY0UX5nSj5J2ZakLzMtvOLnkjDxMgKXC WmOA== X-Forwarded-Encrypted: i=1; AJvYcCUTZkpO8SyNa+CC9vVH9A4sx6RCtpA+xLsLH2WjfdsRY8AQUWJsL+dtnkHApQsldHeqUI6DodYWdElbOg==@vger.kernel.org X-Gm-Message-State: AOJu0YwfFtdh+kf/MSP2v60elng3b9OB9Acjfm6SkexeEVjc6WMsVmKG /Wlor1mU7XUIT1I7X+1O8l56B5tYG1smihXikfhtjT7s5GEU/7Q63ob6pRPmP/I= X-Google-Smtp-Source: AGHT+IHQ6hqt2GFIDvzxzB6z/d1rlXeJz0yqkXbJH8u2AzK+uLr+X4awDkW0ZAHg6kt+Bt1a+fJPTw== X-Received: by 2002:a17:903:22c5:b0:20c:ce1f:13bd with SMTP id d9443c01a7336-210c68ab683mr167590195ad.18.1730221677056; Tue, 29 Oct 2024 10:07:57 -0700 (PDT) Received: from localhost ([97.126.177.194]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-210bbf46cd4sm68256225ad.41.2024.10.29.10.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2024 10:07:56 -0700 (PDT) From: Kevin Hilman To: Robin Murphy , joro@8bytes.org, will@kernel.org, laurent.pinchart@ideasonboard.com, mchehab@kernel.org, andersson@kernel.org, mathieu.poirier@linaro.org Cc: hns@goldelico.com, b-padhi@ti.com, andreas@kemnade.info, iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-media@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: Re: [PATCH 0/4] Fix omap-iommu bitrot In-Reply-To: References: Date: Tue, 29 Oct 2024 10:07:56 -0700 Message-ID: <7hiktasuqb.fsf@baylibre.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Robin Murphy writes: > It seems omap-iommu hasn't had enough mainline users to avoid bitrotting > through the more recent evolution of the IOMMU API internals. These > patches attempt to bring it and its consumers sufficiently up-to-date > to work again, in a manner that's hopefully backportable. This is > largely all written by inspection, but I have managed to lightly boot > test patch #3 on an OMAP4 Pandaboard to confirm iommu_probe_device() > working again. > > This supersedes my previous patch[1]. Patches #1 and #2 are functionally > independent, and can be applied directly to their respective trees if > preferred. Reviewed-by: Kevin Hilman Tested-by: Kevin Hilman I tested this on am57xx-beagle-x15 where before this series, I was seeing various remoteproc drivers fail with remoteproc remoteproc0: can't enable iommu: -12 and now with this the remoteproc drivers are successfully loading again. Thanks Robin for working on bringing this back into modern times! Kevin