From patchwork Mon Jul 1 16:20:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Clark X-Patchwork-Id: 13718368 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 891A9C3065A for ; Mon, 1 Jul 2024 16:21:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=OWZgmKDZRrdhr1uUXK85/zqvq+/aZOrwP+oxnXRYvAE=; b=MPmwKIiX9hSzGTHnISA82z7IT8 apj833a+MX8Hv6UIbbaqKp6bQjlRvkfD3n5vQAwRGg+K95FOoQgVRwRUj44UijYv1adAyUI07vUuy 5OL/8yoy5jJ9kSBOxyp58qdrq7VTjnx2zjfQjyg4m5jMWIsPsF0OrcNTQuhFoDdcIzTIv8DNiMoai ljS9JIQhb3/mTquFjbQnEAh7rDjOfP2/eb7rFvtybnclYRlb/tUFpKQgJ+ixMtapMR+6r8Zw6Y62R u0MGppUx9wEYWUaULmKMRv+BVyI7vo0yzHMNzDKNQLZqHc8lhv/Yvnisw53pFgcNZ5egUxcOINCBu ji934Xdw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOJmE-000000045eY-122J; Mon, 01 Jul 2024 16:21:14 +0000 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOJln-000000045Qx-1hkW for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 16:20:49 +0000 Received: by mail-il1-x12f.google.com with SMTP id e9e14a558f8ab-3762eadd807so11338985ab.1 for ; Mon, 01 Jul 2024 09:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719850846; x=1720455646; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=OWZgmKDZRrdhr1uUXK85/zqvq+/aZOrwP+oxnXRYvAE=; b=MKqwzG6pM8tyVTpos6pCLUsdgXeXVxyOl8swDcJyxNTmqZO0eKESquhDlCpxEPjBtu AON753e8SywygSmB1phCN6ZG8k+mokEkuDZfLm1JvzfAQHax2dPEFlf81SPNj3XFdf/Z IT6VbM+zdXtRZ7WZuaULVHzZ3WEaHxci2OTCmk2MQMWrN2P56W38/aNa28FBBrASIKd7 lfvIYLDRKRt61tdYsngUqvCTbLHNuVM/a6Em2LDpLiACkTXVCc8vghOJAFfWMH9XgkNO 5uxaQnbrgRCDDvbFQs+BKPh144uL7Nt7yEbGIyab1+D4k6ydXdrxuM77GiEpOvIwCQox jSKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719850846; x=1720455646; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OWZgmKDZRrdhr1uUXK85/zqvq+/aZOrwP+oxnXRYvAE=; b=ssLMbzO5fYIZMEasalJbKkMMpxhUnU3NWc4Kg8KV5LabSy02Bq2SXehW83cskdYP2K hd3Ooqx3TDT76gU7m7VJ6K3IWAjt1rAQJUkpl4EFwnpQjy0SRFRf2j+gvSxD91yhh1dV ZDDBxkKLR8FR0p21QVU29Q95LciHZGCSvoNHS/++9KwysVYYocYSYCvn2ljjdjPq7wvZ JbXMxMBFHLqsqPYcDwSkYw6obsTi3Z1x3RGcVZ4YO0J266NqBqKAwuIO8yfr89pP/lEd Ly1OdMPw1E9UH5TtDw2LU6hQ/E0XziVFpYOVegQGFsf2VUE83fhdUa7+VHd8K+TVC8va A1cA== X-Forwarded-Encrypted: i=1; AJvYcCUzpaLFd2BwQgqZgR0aFa8q5VUeR5bWDoSfBEWdp/BMltrJO/Y9ye1+4/p5WzP6nw/K0d9Towj1ogFWI/CXxvfw4Wkhg8DamFL7WrRx0v6Z7aqbJkE= X-Gm-Message-State: AOJu0YwfxFSVSFwEwUNAQM4rstDAEheLS8GmhYcuTrR4yRrOPJbixdp4 WprFpfpn0j5jpah3X26N0ZfjzK6XrBVyNf4ZT1BRDwqQTWxEoHtx X-Google-Smtp-Source: AGHT+IF4Q6jy5QIuCLxDiDWQRsnx6iHXwtvUgTE2lXBFYwEqB80Yt/8yPSYVyA6IBWuuR1iGqEUB/Q== X-Received: by 2002:a05:6e02:1645:b0:373:7f70:bb8f with SMTP id e9e14a558f8ab-37cd2bedbf5mr95954605ab.22.1719850846207; Mon, 01 Jul 2024 09:20:46 -0700 (PDT) Received: from localhost ([2a00:79e1:2e00:1301:e1c5:6354:b45d:8ffc]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-72c6c8ec501sm5246854a12.68.2024.07.01.09.20.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Jul 2024 09:20:45 -0700 (PDT) From: Rob Clark To: iommu@lists.linux.dev Cc: linux-arm-msm@vger.kernel.org, Stephen Boyd , Robin Murphy , Pranjal Shrivastava , Rob Clark , Rob Clark , Will Deacon , Joerg Roedel , linux-arm-kernel@lists.infradead.org (moderated list:ARM SMMU DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3 2/3] iommu/arm-smmu-qcom-debug: Do not print for handled faults Date: Mon, 1 Jul 2024 09:20:11 -0700 Message-ID: <20240701162025.375134-3-robdclark@gmail.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240701162025.375134-1-robdclark@gmail.com> References: <20240701162025.375134-1-robdclark@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_092047_467113_11616120 X-CRM114-Status: GOOD ( 10.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Rob Clark Handled faults can be "normal", don't spam dmesg about them. Signed-off-by: Rob Clark Reviewed-by: Pranjal Shrivastava --- drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c index e4ee78fb6a66..681fbdfc325d 100644 --- a/drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c +++ b/drivers/iommu/arm/arm-smmu/arm-smmu-qcom-debug.c @@ -419,10 +419,6 @@ irqreturn_t qcom_smmu_context_fault(int irq, void *dev) tmp = report_iommu_fault(&smmu_domain->domain, NULL, iova, fsynr & ARM_SMMU_CB_FSYNR0_WNR ? IOMMU_FAULT_WRITE : IOMMU_FAULT_READ); if (!tmp || tmp == -EBUSY) { - dev_dbg(smmu->dev, - "Context fault handled by client: iova=0x%08lx, fsr=0x%x, fsynr=0x%x, cb=%d\n", - iova, fsr, fsynr, idx); - dev_dbg(smmu->dev, "soft iova-to-phys=%pa\n", &phys_soft); ret = IRQ_HANDLED; resume = ARM_SMMU_RESUME_TERMINATE; } else {