From nobody Mon Feb 9 00:53:30 2026 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 73C7035028E 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-7b895b520a2so501513b3a.0 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=ADgz9XnWl02GD8NMUTTF6q4K+oj3YqkN11v0RlVsZRm/QWPxeUYHKr2nH7eH4g/qdV DneY5bf8qqAHe2EXB9dlMW8NcwK4R60nxYTiIB1qpT1fYtYjBVyN5Jet69dOgOh8axIU jyefmku7wgLzWixC0KX16g6zNTExfbWmaY0P9ZvRUPWOusMoaEc1S6X18uYTt6mdSL2O H1g8FBdmfCCyLoJtpg/i2+clc+KWaOLCUfWsxTlpktNEHye3acJbhe8Imc50BOul4DbS 96YHQJOBdKLNQPhaMdz2T6Xru/Yj+6OEUqFxG3aaukfrLm7QSnsIj0z5PzhHRion8b8U VCmw== X-Forwarded-Encrypted: i=1; AJvYcCVeaHRY/IBmPrPm4xq41zW2Nkcpst05I16X+HGryQ4b5S+r4NoD1ztw4t/GUE+1lcPOUI64hPnKhB2UGl8=@vger.kernel.org X-Gm-Message-State: AOJu0Yy7p1+VdVAIzem7Ziet3OgKCFlG60aQtVH60PSTBCY19zaNM8ws CKz4fSMbmiCvEVmYPoHbg0k+PlmtC6b9UKH4ytvqqrts5xlnZa+p7SSE2T+ZdRn+vdfRzvSuqhf eZ0O8FKicT4HiQQ== 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-kernel@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-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). 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.rc1.455.g30608eb744-goog