From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.202]) (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 9345C34888E for ; Wed, 12 Nov 2025 19:22:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762975377; cv=none; b=PxoUe6qDlGgrcUOhzVnGtIodQKGdirlpMd5l2dfd3p7L8yjaNbHZTwhjEQdWKbc9FAsMcp64FbzgDvJM/j0oVBHqJ4klHRL7CXuzZ5nUKo8ltRU+qvb4UzsnwCVPkOmDNITOf1AYA2qhytwktAZog8b4GUVXabPbB3E5jE7BI/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762975377; c=relaxed/simple; bh=j/qVMd3MvTUa/awqSQUVlSj2s5CofTYFxaDMQ6ETcQE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=t/KrJfP8EY1YbnmF9eQTTClk2W0gfZFX283KoA/eDNBQiCna8RTvbXKrgOISjZ6lWjr3wOggmJ9wfqk77RV9Vup4v6/sLnnSspzCmjf+/0/Ho/N4ecil9Rfx/FIb1HBc/KwKzLHY7b+zhhCfan9tEs3wq+KXK00J32MDq3wx2lk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=xJ/3Kpcq; arc=none smtp.client-ip=209.85.210.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--dmatlack.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="xJ/3Kpcq" Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-7900f597d08so1257624b3a.1 for ; Wed, 12 Nov 2025 11:22:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1762975375; x=1763580175; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=uiy8tigNPCCZiWR1z0pXaHh2gPneQJv15HEUGvJLWqk=; b=xJ/3KpcqBs0X4k3M+3ipJtsI+tnSa/yk9cTZZQ5MLT3/ZI1hmbi/xeet3jeUznt6mj sEaMowcGVU2vs49ZPiy0aHPcTCpjNYfYhiq9Uq/TPcCRR0WRv7nlctWe20CNeyrozuIP YqX5CSqQpk7Ue1ccdbRV1FBCG2NSnW4ndiffv6ezIwUt1AetyZj3xiN7gDtUPQL1kCxw ks2qyO0lewLw4d85dTUX90/Xybyy28A2vrdd2wZ9D7/jb6DtNv0cTz+PhULKYIk2Tg5m nEZJbY7PGYqfxtOep/ZIHXJ29SQhu4dKdRzT76w5MnX8AQmu2dxTyY/S2/me7YVQm2cq v+Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1762975375; x=1763580175; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=uiy8tigNPCCZiWR1z0pXaHh2gPneQJv15HEUGvJLWqk=; b=h2Az2a9RhJa3sJ3/Yb3zyRF2EuIwCezFxhfZGZ2uhHk34+9p5rFXkESnixaW8Jdf6X 2P2Z2p0Ib5jsWu4Ya/Y/GvPp+c6267oiEeCA5+yH1L2GXxzTrLBO6Wb0PTSS4p1wwr3E YFBtBjmOJ/FhVlYFWfry5T/FsNHSlxSDrwWXsT7bZymwNFSYwJKj3UaBp39189YobW4o UjZxuRZW8X2riaCTuseLLv+jDKa3FplZgioyq5l4pe7iE8Y0prRpV+Nick0pxXfC8BN/ YNwgftFaFuDmAlQ3KKHZPHpyUV7UsoD57J0cqz+OnyN2aXnYMPyDaH1FrDJ+Gmew7Wnk nc9A== X-Forwarded-Encrypted: i=1; AJvYcCX1hFwcdtbHI5mo2rHU0P8Ibp86hU0cAy2pwwynQE687gDjDz846GeD3Gr5TDX1EBz6sHv5V+gqlu+vSR4hbp8=@vger.kernel.org X-Gm-Message-State: AOJu0YytTnvsE2HobTgzzTWkjAfK0IUrQt20R4mRoTjyGmVwPXYvEEVq l5uhXZvfuHHZMJqnIVNf6neJc/50O2n/N2ykawFtHfsXOVbGX6eCd3rY1rjs+axn6dh4jzH1HJU 4PlOMlRyVMFTZnw== X-Google-Smtp-Source: AGHT+IHTkEQKZW/Nui6RQdGyae0bAnsLjVZr/UbRZUUfe/uM6cYPChsHxARiYwiuw2YD0ipNO5ncGADz8WSHZw== X-Received: from pfbei24.prod.google.com ([2002:a05:6a00:80d8:b0:7b8:2d09:cf]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a21:e083:b0:350:b8e:f99b with SMTP id adf61e73a8af0-3590b51dd7dmr5088842637.45.1762975374835; Wed, 12 Nov 2025 11:22:54 -0800 (PST) Date: Wed, 12 Nov 2025 19:22:21 +0000 In-Reply-To: <20251112192232.442761-1-dmatlack@google.com> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251112192232.442761-1-dmatlack@google.com> X-Mailer: git-send-email 2.52.0.rc1.455.g30608eb744-goog Message-ID: <20251112192232.442761-8-dmatlack@google.com> Subject: [PATCH v2 07/18] vfio: selftests: Eliminate overly chatty logging From: David Matlack To: Alex Williamson Cc: Alex Mastro , Alex Williamson , David Matlack , Jason Gunthorpe , Josh Hilke , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Raghavendra Rao Ananta , Vipin Sharma Content-Type: text/plain; charset="UTF-8" Eliminate overly chatty logs that are printed during almost every test. These logs are adding more noise than value. If a test cares about this information it can log it itself. This is especially true as the VFIO selftests gains support for multiple devices in a single test (which multiplies all these logs). Signed-off-by: David Matlack --- tools/testing/selftests/vfio/lib/vfio_pci_driver.c | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tools/testing/selftests/vfio/lib/vfio_pci_driver.c b/tools/testing/selftests/vfio/lib/vfio_pci_driver.c index e5e8723ecb41..abb7a62a03ea 100644 --- a/tools/testing/selftests/vfio/lib/vfio_pci_driver.c +++ b/tools/testing/selftests/vfio/lib/vfio_pci_driver.c @@ -1,6 +1,4 @@ // SPDX-License-Identifier: GPL-2.0-only -#include - #include "../../../kselftest.h" #include @@ -29,7 +27,6 @@ void vfio_pci_driver_probe(struct vfio_pci_device *device) if (ops->probe(device)) continue; - printf("Driver found: %s\n", ops->name); device->driver.ops = ops; } } @@ -58,17 +55,6 @@ void vfio_pci_driver_init(struct vfio_pci_device *device) driver->ops->init(device); driver->initialized = true; - - printf("%s: region: vaddr %p, iova 0x%lx, size 0x%lx\n", - driver->ops->name, - driver->region.vaddr, - driver->region.iova, - driver->region.size); - - printf("%s: max_memcpy_size 0x%lx, max_memcpy_count 0x%lx\n", - driver->ops->name, - driver->max_memcpy_size, - driver->max_memcpy_count); } void vfio_pci_driver_remove(struct vfio_pci_device *device) -- 2.52.0.rc1.455.g30608eb744-goog