From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.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 9CB2338759F for ; Mon, 20 Apr 2026 20:43:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776717810; cv=none; b=rls3E/Mil1j0oPkny6hQBBEAT48g7qe0lHSgeUdT/A389RybT4fd8z9yRiTOTF/XuRvoxgYl/B4jsRg6GdknEw3vgMUZIY0k5Oyd16PSRhDVU0Y7EkOVzASChW939QmIolbgIJc0bbis9oT8UMNsLUQPr4jO1GqqG6F1jSPsoec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776717810; c=relaxed/simple; bh=2TQCEiF5Y/KXRZuugVpD0ZOKr6LVSShqt3Fx7ra9V9g=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=rSoZ5OsYzekM2qtFmV45j9+1OXMMbBHs1139tbEeHhuNzqpRuw7tHXtMfqPKeRhVjXfs4LUFr4eOkeKEEXXDopaSMnskeRh27VMtrs+AHkeSf4OrkNRsQkP9kaSNuj8Ub8szMRi9k/vkBUs4EFZnT+eT8ufHmEuLf+po76NBEds= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=dyDxvdCY; arc=none smtp.client-ip=209.85.214.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--seanjc.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="dyDxvdCY" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-2adef9d486bso31665925ad.2 for ; Mon, 20 Apr 2026 13:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1776717808; x=1777322608; 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=Bw/xOa4cMDz+3Y150IRREEsvI8FeQ6LscRd2k8rTaIk=; b=dyDxvdCY2dethMRJST9NbaSjEguo0wX4dE6pDuUvhCZKtlJnOaAIL3UeXLkfcM7qPk vFW8mR9doxNFiiXoAz+S5PC8+7whNdaAkv8Kx9Hd/Y6uevnICQyA5BrMjSMYWGLmbMyn kVbiAxukpMjgj5KbBgRa/qv/TMm565c+PjGf7jPaeTwVCt6rE+UiNKBtCrvy3zuSrKWq rLItIBhTJ51XiVZAGoAMQbcCTcLnE+gtwcwiUPx1P3bwOnZtsa3Epvayp07zeT2vj1ye suJ9hJjgd0APjq7ouQPZRddbhnZpn0mY/b6ZcS6iVnUnbIXgGMQJIFiIjdx5ButclYps sdRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776717808; x=1777322608; 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=Bw/xOa4cMDz+3Y150IRREEsvI8FeQ6LscRd2k8rTaIk=; b=iHq8GuTheS9Hwn5hLKy6qydtue71lrhXEV2iJGasKf8nZ+k5YTDRerxFDF53sT97Yk P/UZEer4XMUujai4GspysWFB4iSlhZ1wJE/bv2A45osgXws5cAb6luApw7V4Ix4cvYUB v7cxQBxhNygwEFgPz8VkV8Bt/bGuHqzXqdArqiXFkswz7s7f4+GIxwlBOIyy83kgjhYA ZMmIUkfMTd9kGtgNxPjEBmz8sVRVdaQb+yPJ660KtNjPLiHId84HEglPJV59ZzDPx440 x6f/HUQW7+EtSKfOAQu6vJICQSDPGAN+aGVlGEuxogPeqhZ/PRaGt+gLW2XE3rfcftVM wNNw== X-Forwarded-Encrypted: i=1; AFNElJ91LGEBGaaSJZgehykhf7Si4fIlabuNJWmk4Yu+vzpFJ3pavK4HnzR3AN2mpvwwL2CUR7CdL3NrNezpvF8=@vger.kernel.org X-Gm-Message-State: AOJu0YziR67KnuUBM9dExHfy8AeBQveqpnirO6y0GKxMbQlv1vqUeLkg SJsSd7JDkQtzVqj/J73HhI947rp8RxYuu+eWElzJrdaQyegTi1Q66ViKdO4Vm4Oe+siB1QbxSKI ovaEBDQ== X-Received: from plai2.prod.google.com ([2002:a17:902:c942:b0:2b3:2649:c9c1]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:902:d30b:b0:2b0:673a:7c90 with SMTP id d9443c01a7336-2b5f9f50051mr108270095ad.28.1776717807739; Mon, 20 Apr 2026 13:43:27 -0700 (PDT) Date: Mon, 20 Apr 2026 13:43:26 -0700 In-Reply-To: <20260220004223.4168331-5-dmatlack@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260220004223.4168331-1-dmatlack@google.com> <20260220004223.4168331-5-dmatlack@google.com> Message-ID: Subject: Re: [PATCH v2 04/10] KVM: selftests: Use u64 instead of uint64_t From: Sean Christopherson To: David Matlack Cc: Paolo Bonzini , Ackerley Tng , Albert Ou , Alexandre Ghiti , Andrew Jones , Anup Patel , Atish Patra , Bibo Mao , Christian Borntraeger , Claudio Imbrenda , Colin Ian King , David Hildenbrand , Fuad Tabba , Huacai Chen , James Houghton , Janosch Frank , Joey Gouly , kvmarm@lists.linux.dev, kvm-riscv@lists.infradead.org, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-riscv@lists.infradead.org, Lisa Wang , loongarch@lists.linux.dev, Marc Zyngier , Maxim Levitsky , Nutty Liu , Oliver Upton , Palmer Dabbelt , Paul Walmsley , "Pratik R. Sampat" , Rahul Kumar , Shuah Khan , Suzuki K Poulose , Tianrui Zhao , Wu Fei , Yosry Ahmed , Zenghui Yu Content-Type: text/plain; charset="us-ascii" On Fri, Feb 20, 2026, David Matlack wrote: > Use u64 instead of uint64_t to make the KVM selftests code more concise > and more similar to the kernel (since selftests are primarily developed > by kernel developers). > > This commit was generated with the following command: > > git ls-files tools/testing/selftests/kvm | xargs sed -i 's/uint64_t/u64/g' > > Then by manually adjusting whitespace to make checkpatch.pl happy. > > Also include in include/test_util.h and > include/x86/pmu.h to avoid compilation failure. kvm_util_types.h also needs to include types.h, as it blatantly uses u64 without any includes. It obviously works thanks to ordering, but it's a lurking trap for others.