From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72D57F5A8C5 for ; Mon, 20 Apr 2026 20:43:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=g4ScG2zH/ODIBsUvMLnbh0Kl0k/OmrdLFgCf81USDlI=; b=q/TZ7CYj1YgMP8oRRGP9bReNmr YgRiT8xrww8+b7IRgHxZLdO+NUk9EpLnSv5GRZgLwDi8nmNT/SKfMe54m5vodXRf70HN6P4Fbmli2 b450s8BxD6wp6UllVEUD7JFz9Ux7ranT77lwAhab42sDkPcLAVE8lFLi4P394QjDTlpUl8w5ljM9A xN+McrO9w9AB0+Wu2W/L3ktKx2Fqzk1YthSANfGD/ejyyPZueFHuGdnEbN1V30VahBjlQCrPIev7Q 103cH8q1BknUr9x/vnZ8oiCRiIrnoaaCj3ndTBSyx6JAbn6slAzeodsWLRlKRo0r+W2PaRVIrZcoC Te3zxTkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEvSt-00000007dbn-00Q0; Mon, 20 Apr 2026 20:43:31 +0000 Received: from mail-pl1-x64a.google.com ([2607:f8b0:4864:20::64a]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEvSr-00000007daq-0ouz for kvm-riscv@lists.infradead.org; Mon, 20 Apr 2026 20:43:30 +0000 Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-2b242b9359aso33970645ad.0 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=lists.infradead.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=HGu8nbHdwEH1ht1VIiu5NeqGRskHHXBu4YE2oH1pg0ZyAuKaPKL6y1ZUY6gJ8/58L+ B2U9vOWiFPiYDNBB8FUcWHb0TuuPUBQLBgmgctj69Sf836fT5WpYm9FP8wwvfyj1Btde DsNj8+j2FNKMzfe4ubkCKGvNOC4JowrN5wJugMjQJN/SBIPKuFuiDjpZd4LwGUfkaevW yJ+eEqTuWsC5R14hhFHyPefVtaEnSasShodQJVSn7nqTbL52Z3mlBajXavwIEjUjs3WJ nl/CdJ0PA0KkDeTY2J5dFX3B1Bqr+aAumg/ID8mrL6QcbJ74ZoCGiI09/1FzyaOyMXQb jXfQ== 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=B1Op+iSXaf3GpYZulktaZDjgch3kyJlTAm9NEIdtXp655Pv+j68CAbnyH/ja14KXFI yPjz2hQTzvPhlSdNkbabcWHJ9ji6+bmv/+N/WykCIHWx8fx1q7Fiv/qEkXj6ebr3REJv +fzy3NOuuujYV77CDgmfimDEOia8EHEpOrtUb10yGelM8xqurG9faVuA5AOdYSz0etSn 0YotxuIwbAgOYtAPYKD3dVnyHN0TKd3oRx9WKlAcKW3ZWmq0rwxUzrHnDKC/xMOBXmNO 6hPoIiOgGZgB1lLsCzjwV44Erb+i5faKEiLk3sXEGF86+7ZYZTXfb/sozZW4/1/nviKi GAKA== X-Forwarded-Encrypted: i=1; AFNElJ+4JlAGFVEM01z5zXDy1EHXU8AGekjt6yHgx4+Bh77kM+T87YS0ZFrxJpat+/7uUeCfXcSMglbOB1I=@lists.infradead.org X-Gm-Message-State: AOJu0Ywiq5P8BxmSQGE70dfnT5LfWxr8FVu2URMm1QAnmxRZ5qcRY3+u 4Cqi/C80QrMWVZh2n3gxL12/v1rHIu1MS6JHWSVEPZQZWu1F2pEIOWnf8we8JLQGGNTCcbpsxfi SNOnlLQ== 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> 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260420_134329_268096_C78323E2 X-CRM114-Status: GOOD ( 10.77 ) X-BeenThere: kvm-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kvm-riscv" Errors-To: kvm-riscv-bounces+kvm-riscv=archiver.kernel.org@lists.infradead.org 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. -- kvm-riscv mailing list kvm-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kvm-riscv From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.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 9849E387596 for ; Mon, 20 Apr 2026 20:43:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776717810; cv=none; b=pQDLqsx/si6ddDMkg436t0uEIb84CD3jA1iHFTQB3l/9jG5BZChHIXJyeKFCp3M+8kenjUheCA8eqdN2Zb3Em+RJmMUnsa0jMCAu1bdxoBgUo6pH4XF8i7AORQuG1I5Jy8ID3pG5kDAYJyvu2SKvskbb3h5B++hvDbhYCd1mDwQ= 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.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--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-f202.google.com with SMTP id d9443c01a7336-2b242b9359aso33970615ad.0 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=V1S20FoRSjUGtyp6NP0LQncCaVLOCBjEm+lhtoidScl3Zr1q/+7WO2J+k4g1jNXXYW 9lMUCq2wgP28su9A/aY1wvofj8PEFSpP0L1l23LEkTYFz42u3xYOF9C7yvBPWfe/qqz8 kibPmG8/EtAg1DF1bqOo2NuB3J7ZLsi9OJwSurT2HpmiTaYJBRvi1mV/m7R7phKfGBMF /3tqoGeFgpVHhTACsb0GvKMnvhVkAGiFJqMLeQ0lKglNbI17S5SpZlJ3q+HSPvFZ3aTa F5PrfsrlCvDzD7r5Cg4Cnlv2mFR3pgCM+f9dFPR9xJiwB4lW4ho9dE3QaksqhbF7ULCC c+Hw== X-Forwarded-Encrypted: i=1; AFNElJ/BVXGCWupIv+p/s9FKgrUlYpheLZWieeIyy6RIN25odF8Pl8i1bKVtAYlF6+tVieNSLgA=@vger.kernel.org X-Gm-Message-State: AOJu0Yz0ZnCYQO6x6sh9meEzxVc7t4G1RQFVsBeTxQaS5+qzbyqj9Eon cvkpIj4JPskcX4vtnhuSYs/OrL61yzBDQKpLUYfoBUJ4q8jOIe75KTSXOMNSVvVIGapQqZW6+py 14t10kg== 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: kvm@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. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 734ECF5A8C5 for ; Mon, 20 Apr 2026 20:43:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:From:Subject:Message-ID: References:Mime-Version:In-Reply-To:Date:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ufRIPyxoA7vG22p7zmqNuGEY9QwkCJptmoh4OfTdvts=; b=hshAnxW8iB4wZu70idXgrbxvl+ DHSIE9eFB/20y3eb8nsmiK1q29RyxKH2RoyvDtH8O1QMdvHO+/w48LH73tKsDrWxscFcR6h1s7Xge VzcgvsHjGm/1oCJyLMAcQCminpIiwMJTslyuGvfxL8B6SSVRgASQUjj30jRD0GaGC7Sj9dcCnm6Yy +h0iBDp7R10AttBADsO44IdAcgc1avdKUXHq/VNGxEeIGgmDPxcLhpmhW/X/Xs3drc58dB2mQGkXZ iLgwNBeq+yvLKeXJEJzlanA2FmzsSLkqKnmBgMdSNrvwcyR5oxMK7igh9HrYxIUm9fFtkxedYdTj9 fpuETu2w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEvSu-00000007dcD-2MJM; Mon, 20 Apr 2026 20:43:32 +0000 Received: from mail-pl1-x64a.google.com ([2607:f8b0:4864:20::64a]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wEvSr-00000007dap-3H9p for linux-riscv@lists.infradead.org; Mon, 20 Apr 2026 20:43:31 +0000 Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-2b242b9359aso33970605ad.0 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=lists.infradead.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=HGu8nbHdwEH1ht1VIiu5NeqGRskHHXBu4YE2oH1pg0ZyAuKaPKL6y1ZUY6gJ8/58L+ B2U9vOWiFPiYDNBB8FUcWHb0TuuPUBQLBgmgctj69Sf836fT5WpYm9FP8wwvfyj1Btde DsNj8+j2FNKMzfe4ubkCKGvNOC4JowrN5wJugMjQJN/SBIPKuFuiDjpZd4LwGUfkaevW yJ+eEqTuWsC5R14hhFHyPefVtaEnSasShodQJVSn7nqTbL52Z3mlBajXavwIEjUjs3WJ nl/CdJ0PA0KkDeTY2J5dFX3B1Bqr+aAumg/ID8mrL6QcbJ74ZoCGiI09/1FzyaOyMXQb jXfQ== 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=lGMQ9Y/uyKUnJtgTi/VidDq4Cuwn0GEPmVsqN87WWg937jry/c2jxFMfG4T5gNnP0B 3dINvt+X3v/hU1Irv60XcW8+gEAkqtA/sj67wMsOfKAt3EpEJi0DYWIu4o3WLn3BIVeF +MNHqLh+FNprg6WG+DRFitsaHWyAjJ0y5PnilG4cDSgSXQPDGzeKZER7z9gaT+RHAwie bFwlXKmLnlVOAYmdwv4KYexQ37rbfH64u4AQby3BscvlmMbkEpZ2Xz9IJTHybcdEIzuj 81FfFO0C5FFJxj27cZaH8rebYdCLkqnRd94wxWnXtuTxHuBiySgt5JlfjFnynSLNKUPs 5J7A== X-Forwarded-Encrypted: i=1; AFNElJ80qQAA1HhAbEakLaW89gmY4URQ3lG7STzB7YiUOuFLR6uaj9hCUqvwVIubYPU/fcEQlelR25SiDAjKug==@lists.infradead.org X-Gm-Message-State: AOJu0YyIRr87k+8NYEApBNdaCkYS+fhZ+nL0xTftT6EbowtE/dMS8RaO Q7nOLquFjbJliRZI9z1wHGrA0c+vqt2dnrrxEjqag7ol2GeWssBT5xqGYynpaSaLKZid9X5LXjD OMIc3MA== 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> 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260420_134329_813146_D3B35656 X-CRM114-Status: GOOD ( 10.82 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org 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. _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv