From nobody Mon Dec 1 22:34:46 2025 Received: from mail-pf1-f201.google.com (mail-pf1-f201.google.com [209.85.210.201]) (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 7DC2C345CA3 for ; Wed, 26 Nov 2025 23:17:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764199076; cv=none; b=oGpeNDjTlmSvwARw2cKsTQOWVLTSPVBQUqPc3PkIFs+uoQ5MAYmRKMcG4ptXzf9dYXIxGdMqEKO/B+GuSwbSgr/A4pMmosA60d9CLQ6uJONCn0QVhx217CMbm3t4AaWKDOkOxxLxh6CR7/eW/GHpBmsxOkoUHYgiGMRyiktPIPw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764199076; c=relaxed/simple; bh=JHnO3koR6MtcgW1mrjyeErLO/KQbfdQegGSHdKrkPgM=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=SSP7vHDD7Wl1s9nGKSAIIKtc3PLqlzWs6MGiCHo+4ioF7hR5BmWqcMSVFtE2XiBRY4PQjQ18v0ln6Kuz4guzvxaYFDomq87rkmx6JD1tiuVhPEjFLSVQGUfL1VzYS5wdQVU8vLoz1WRXvAu3pqWqUIVSzu+j4ewxVqRPIu+VEcI= 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=MGDLe4fU; arc=none smtp.client-ip=209.85.210.201 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="MGDLe4fU" Received: by mail-pf1-f201.google.com with SMTP id d2e1a72fcca58-7ba9c366057so603600b3a.1 for ; Wed, 26 Nov 2025 15:17:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1764199073; x=1764803873; 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=EwUBc9dRFUqPZdHB+UIvPAI/agdY5EOkuuJxwmzSkeA=; b=MGDLe4fU3pVUUEhuxBKHp7DCs2zdVkOt2mUGTgxJGEuI+K1Dxz2pA7UVmtyC4ZG+03 YgvdLQZY7I6+7kiOmBrHBPyKPFqwtwDBOXMllHrTojy+w7BapfXLA6Hl9DEfPUbr1QOc W6EtXcbc/ScOP5R4yqFlrKZn5kFJuB1rCZuISihoJh7jQv9KqByK62PL9KLUUCGWTGh1 VX56rtsL27MVglgx974TDbXXIypn5QfUjEeOC8mn1lAw5hFtsR94KeOhiw5Q6+yl8wXm VAVRQFZEtVZaTr+MxOAKw0vJ8wT26vcsTKB5yEE0oBk/z8M/UTuhZ9RJBhtH+1j6HtbZ i0iQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764199073; x=1764803873; 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=EwUBc9dRFUqPZdHB+UIvPAI/agdY5EOkuuJxwmzSkeA=; b=pZFqYaWQsVZbF07RZru+HF9yJC6AtSziMxQz3rX2HhGPflF9TabOlSWJpybqjPXPAn fEG7kuizaPXOq2Pr4uVbG0ZB4Ja1T4pPwADI9snBr3BkSua2dSJ9olWc1VnowBVblRge p9Fkt74BO9hRdZwF+e/EDVBLucy2gxsXlSf9eq1nmM7Mb1ZKhJeOyaqWshB2jrE3l7++ MThTWd07/jDEOsjQpeEc9uf4CWeKqNcj5Eq2fXz03k/PHKelv6MuEsqdpbVveN8kzePv Xs58p/5lNyt+NoXR5y53FpVZTOXunifvUW43CglXT0JwD40GUBEBHpuB6gbNBBFV3NTe 5rkQ== X-Forwarded-Encrypted: i=1; AJvYcCVSCsD5mVWvLqdH1zxOaPSS2MwoRpU6ofqiW5hO5/GPqbrFuI0EuqxoEg0ogD30qHOqJ6kZqIFEH5ol0lc=@vger.kernel.org X-Gm-Message-State: AOJu0Yzpd/9gv4NuHe+ylp+0inU7q7M59WsBWRqiS/rwAQQTQbeZPABH T8a3ch97X3rVFoK6+S2U4PaWtOoi4buJjle6u7O7U2yvkUNUsT54WnH/c21VPSFMH8KuoDoOeXT z5onYTLyr7l7F2A== X-Google-Smtp-Source: AGHT+IFm4sH1ZXQuEmtE0xbNl954CjkawYuUdXUg10ZoaftL/Uqduh+oNqyjicfbmxei5yPTlHJJwCBMW+B2Yg== X-Received: from pfie24.prod.google.com ([2002:a62:ee18:0:b0:77f:61e8:fabd]) (user=dmatlack job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:914a:b0:35d:8881:e6bb with SMTP id adf61e73a8af0-3637db7a71dmr9590225637.22.1764199072920; Wed, 26 Nov 2025 15:17:52 -0800 (PST) Date: Wed, 26 Nov 2025 23:17:22 +0000 In-Reply-To: <20251126231733.3302983-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: <20251126231733.3302983-1-dmatlack@google.com> X-Mailer: git-send-email 2.52.0.487.g5c8c507ade-goog Message-ID: <20251126231733.3302983-8-dmatlack@google.com> Subject: [PATCH v4 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 Reviewed-by: Raghavendra Rao Ananta 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.487.g5c8c507ade-goog