* [PATCH] iommu/rockchip: silence attaching and detaching of devices
@ 2015-05-21 7:57 Heiko Stuebner
2015-05-29 8:30 ` Joerg Roedel
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Stuebner @ 2015-05-21 7:57 UTC (permalink / raw)
To: linux-arm-kernel
Currently the driver emits a log line every time a device attaches or
detaches - which happens at every unblank/blank of the drm for example.
The message itself also has no real value to the average user and is
merely useful when debugging a problem, so make it a dev_dbg instead.
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
drivers/iommu/rockchip-iommu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/iommu/rockchip-iommu.c b/drivers/iommu/rockchip-iommu.c
index 140a7bb..ebf0adb 100644
--- a/drivers/iommu/rockchip-iommu.c
+++ b/drivers/iommu/rockchip-iommu.c
@@ -785,7 +785,7 @@ static int rk_iommu_attach_device(struct iommu_domain *domain,
list_add_tail(&iommu->node, &rk_domain->iommus);
spin_unlock_irqrestore(&rk_domain->iommus_lock, flags);
- dev_info(dev, "Attached to iommu domain\n");
+ dev_dbg(dev, "Attached to iommu domain\n");
rk_iommu_disable_stall(iommu);
@@ -819,7 +819,7 @@ static void rk_iommu_detach_device(struct iommu_domain *domain,
iommu->domain = NULL;
- dev_info(dev, "Detached from iommu domain\n");
+ dev_dbg(dev, "Detached from iommu domain\n");
}
static struct iommu_domain *rk_iommu_domain_alloc(unsigned type)
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] iommu/rockchip: silence attaching and detaching of devices
2015-05-21 7:57 [PATCH] iommu/rockchip: silence attaching and detaching of devices Heiko Stuebner
@ 2015-05-29 8:30 ` Joerg Roedel
0 siblings, 0 replies; 2+ messages in thread
From: Joerg Roedel @ 2015-05-29 8:30 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, May 21, 2015 at 09:57:29AM +0200, Heiko Stuebner wrote:
> Currently the driver emits a log line every time a device attaches or
> detaches - which happens at every unblank/blank of the drm for example.
> The message itself also has no real value to the average user and is
> merely useful when debugging a problem, so make it a dev_dbg instead.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---
> drivers/iommu/rockchip-iommu.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-29 8:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-21 7:57 [PATCH] iommu/rockchip: silence attaching and detaching of devices Heiko Stuebner
2015-05-29 8:30 ` Joerg Roedel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).