From nobody Tue Dec 2 01:27:31 2025 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 793C23546E0 for ; Fri, 21 Nov 2025 18:14:50 +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=1763748894; cv=none; b=NwuNI1NFPvSEIT9T788kr3hHhW2y8D4626a+yuuiwXA8KLNe2iHVousAtjF89afbIrl1N1uXsikV9M6CYMUoXdWFCZrEOEsXWIvN52PWECQBf0kyolc7zEeREfTZjRTLQ6Co6VB0rNWA2nD+Inx1VG1JjbHq5NsCA6bd/+i+cTU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763748894; c=relaxed/simple; bh=sVQ426YvnoY5iDxUNhuIYEZEVmIjttH0GnYN/e26wNE=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=gc3gFtlSMg+K4hNqO/rE59ev/7E+xSfCl5AlAfRFzHUFocEXoFBlmfBYNRvDoiKdS4tqftpLmNfoihFvybsV80qdOCTqGMgKGE7DVkM3EygtGjKkCPwWVJ3o6SXd5gQm7ApTJLwnIGFHYihRXufIujWEAI+VZ82+rzbub38Q2e0= 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=bR+LWki1; 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="bR+LWki1" Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-7aa9f595688so4407625b3a.2 for ; Fri, 21 Nov 2025 10:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1763748890; x=1764353690; 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=N3IoouEAfOFQFuW4LZTJBHs1EfAd8fQ12WV4kcywblU=; b=bR+LWki1xCvlVWPn4/9fmPoia/QLUJ5wSSAnBEdogtDrglq7sJ1Fivs6+CVlGzMfKu F3a5X94z+/ZVVMw9DJ8prwrJXWiF0oNGnpmwFcOPtttnAT4PvnQTgr064uSOZpPlb4AC uU+SRa1ndd8ZGX+yJpZmDus7WuQKPJOzkslOBRlxSdwuroPGAhLEz3cC2zkzQBl6aPZI L2VpGB5pUcLD6GMUBk+lx9zCFKbhHw7Fkb0HG0zFG13V89fSwcnvsDm09j17Z/ZwrzbR gjw+zlNGoO+yJnhR0UmzhjJ2WqbVq90nBNDBuxKTnbw4S2rT1eJCZ8NtoMo+bduXlX8S 8cnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763748890; x=1764353690; 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=N3IoouEAfOFQFuW4LZTJBHs1EfAd8fQ12WV4kcywblU=; b=G4s/Tgj8MBYh/rrGBCMm077uumVHDNOKy4SXIquinjX4LKDkSEsE8M3w4A4eB89hTC 2oqbVXz5R0/erCMITK93CCSB1XnLEsM6h9FcaKJGuMJ3un9x1kerc6WnaTgQLJul7T32 ktba1PkTfXLuVtw0HrmxzN5s+TXjZGNT0dxbGmTzSZXtX3GGy74RoQVHuzCiyMqTnR2J oAlxl7iA0uhwWVsz2Si0bJ0r59wpV2RanjdRgqGemvoVZbPIv5bWcSK3bTdR9+XLHQ9v K6+9E+uV9/TCE4hwn3aMzf279RTsZ65mBs2bdT2naR2CVNE4xKjlkrI88NplD/QSaP6y zWlQ== X-Forwarded-Encrypted: i=1; AJvYcCWDimO5Hv+FcoLcJhLGg9ZVCHzCdlxRWMs1AePF6eJ53cE/iVPjLBnwRkaEXGtI7HG1orBC7Kl8AMrqsI0=@vger.kernel.org X-Gm-Message-State: AOJu0Yz1qMhChOzjOPmBdFqXO0EoZQiGvXL/dlxv+dovP3SJF6GQOGp8 fJyfeZwbWbG5R8J2PmX9kBzJpFmg1INc/zQSgQ3wAhBlhPI4MND7BSStTyyuCmRKZlPr2NotsP+ ileZsCuSFNXWhTQ== X-Google-Smtp-Source: AGHT+IE1NvJoMtgdX995mQE53G6pC/BzIkZeaThQXnuZo4WTCvgAe0hcSsMC2aMiqLO8tnbxslTiVRPshpSVCw== X-Received: from pfbjc15.prod.google.com ([2002:a05:6a00:6c8f:b0:7a9:968d:6b38]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:1482:b0:7b6:1c9b:28c with SMTP id d2e1a72fcca58-7c58c2ab14fmr3419317b3a.5.1763748889705; Fri, 21 Nov 2025 10:14:49 -0800 (PST) Date: Fri, 21 Nov 2025 18:14:18 +0000 In-Reply-To: <20251121181429.1421717-1-dmatlack@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251121181429.1421717-1-dmatlack@google.com> X-Mailer: git-send-email 2.52.0.rc2.455.g230fcf2819-goog Message-ID: <20251121181429.1421717-8-dmatlack@google.com> Subject: [PATCH v3 07/18] vfio: selftests: Eliminate overly chatty logging From: David Matlack To: Alex Williamson Cc: Alex Mastro , 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-Transfer-Encoding: quoted-printable 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). Reviewed-by: Alex Mastro Tested-by: Alex Mastro 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/tes= ting/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 =20 @@ -29,7 +27,6 @@ void vfio_pci_driver_probe(struct vfio_pci_device *device) if (ops->probe(device)) continue; =20 - printf("Driver found: %s\n", ops->name); device->driver.ops =3D ops; } } @@ -58,17 +55,6 @@ void vfio_pci_driver_init(struct vfio_pci_device *device) driver->ops->init(device); =20 driver->initialized =3D 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); } =20 void vfio_pci_driver_remove(struct vfio_pci_device *device) --=20 2.52.0.rc2.455.g230fcf2819-goog