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 07034FDEE3F for ; Thu, 23 Apr 2026 18:34:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type:Cc:To:From: Subject:Message-ID:References:Mime-Version:In-Reply-To:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NxrUD6qTbjo1W4xW1U0cuK75GKmXClrYS1Ro/7xiFY0=; b=IciL7rFlDpukaZaS5cgvj0UdTh TJtruLMmvdOsiVD3DinnS8mqIfl3b9RDHri8HzP7ldWv2yTT3+2zkryrPnC+OnKboBjUmUIgO1BnV YplVajC2idmtVnyBuepKqylDMBVvm61K3/w0kqaEplnRH01VNm6NVKROhmDH7rG/guEveRyiJ36JH 0pWtN7dHlgxI8Nny3STZhFW3BvwSrlgD8ns7EcKGNRddbyBlKAAZ/kFRz/m1UqNnIzWJA0nFEjN2X ANSoudA1sNnG3t/3R12Le+R3LPgO5i81X6BFDW7uPE26oPK1JGBAT6rK1AdkkKN3+Zo1JEDxIdAO5 FYVTUN5Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1wFysy-0000000C7fo-2jVH; Thu, 23 Apr 2026 18:34:48 +0000 Received: from mail-pf1-x449.google.com ([2607:f8b0:4864:20::449]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1wFysu-0000000C7eR-3Tog for linux-arm-kernel@lists.infradead.org; Thu, 23 Apr 2026 18:34:48 +0000 Received: by mail-pf1-x449.google.com with SMTP id d2e1a72fcca58-82f6b0a7164so9588950b3a.0 for ; Thu, 23 Apr 2026 11:34:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1776969283; x=1777574083; 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=NxrUD6qTbjo1W4xW1U0cuK75GKmXClrYS1Ro/7xiFY0=; b=M5CbFyisQtaXnqjjhOvDiLLekEt1SBdqIplGDMj/4mvYQecIUMJmQS7dSSrEUgz5C5 Jh4Bp2XKntTIxrtbDbjLN3FebLKHn3SAKx/Dnk76+B6neAfEPNWKyra02XwCm0zIRgqb HeS0szzZr+ia8ZM4QesmMMKqQQq7K+FNLjDnbiilCcmu8LyvzkzbG4LeMIyNeIZiCZja HXsRc0BP20vXRdqY56VAsG+0lRpwK+FA5NhbJicKjahqVjZgdLS5ne5RfpbWd5QbLFX1 Kd12gUMUxAlp5h8YiyUm3DLV3fmYVEKoZOmXnHCOps3LnTBkajDh9tI7NvDu3xoFghoM c5ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776969283; x=1777574083; 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=NxrUD6qTbjo1W4xW1U0cuK75GKmXClrYS1Ro/7xiFY0=; b=nkxuElV8pDRVO0J4zMjOXAAxW/crteRxy+Pgrt7r7UYCmf8wc9UmPzTIlBCuRF7M4M eX01vunZZa+EIg7Nr5G5Tc+wabrHORf+uW0oPUGGIKjSkZGo19yxVhw7Cv1F5BG5pAnY ytv4qaj++KylrBJJHYKaIzsd15hkmPg8Mv9nY9Px3lOQNVQ8H69vomogXgXvt/6rNx9e o+eT1HlLcC8iLaK1IQX3YhfjCdhG2f0xzfakV5CBNjsfzKHtQbk7o8Nc+Uupl//OuUd5 yPOyjpFCBaGeBfI8hrvrX5PgoVeHPSzVrWy6cJGYURfCAvYhF0wi3tddbHs55HAcU8sg CN0g== X-Forwarded-Encrypted: i=1; AFNElJ+nM44TbzkH8eJxkNpnh8iPYN7O+ekKhN+nE3QsYLvzN/88KayR9B7yA0AovYZdU8bbWnjZVvxu68ahAGkrlV96@lists.infradead.org X-Gm-Message-State: AOJu0YwnmDTUDmGvcRbYlc0Ki5gH5ur+8m4OcuVnaQGY+fo2uilzPrJB 0wtWsgX9Tqg++mHbErg0xtQT6/C0hvHaQnCp7kYM5IKSkZLeuVudLgHyM6PEU3nWXm4r1v8bFUD tnu4Oxw== X-Received: from pfbif1.prod.google.com ([2002:a05:6a00:8b01:b0:82f:a396:2229]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a00:3d16:b0:82a:79b8:2049 with SMTP id d2e1a72fcca58-82f8c8c2a97mr30979563b3a.25.1776969282975; Thu, 23 Apr 2026 11:34:42 -0700 (PDT) Date: Thu, 23 Apr 2026 11:34:39 -0700 In-Reply-To: <20260420212004.3938325-1-seanjc@google.com> Mime-Version: 1.0 References: <20260420212004.3938325-1-seanjc@google.com> X-Mailer: git-send-email 2.54.0.rc2.544.gc7ae2d5bb8-goog Message-ID: <177696924512.540717.6991894985950292004.b4-ty@google.com> Subject: Re: [PATCH v3 00/19] KVM: selftests: Use kernel-style integer and g[vp]a_t types From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini , Marc Zyngier , Oliver Upton , Tianrui Zhao , Bibo Mao , Huacai Chen , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Claudio Imbrenda Cc: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, loongarch@lists.linux.dev, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, David Matlack Content-Type: text/plain; charset="utf-8" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260423_113444_862161_6863B870 X-CRM114-Status: GOOD ( 14.57 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 20 Apr 2026 14:19:45 -0700, Sean Christopherson wrote: > David's series to renames types across all KVM selftests. I'm going to apply > this ~now in order to get it into -next ASAP. Unless someone screams in the > next few days, I'm going to send a pull request on Thursday, with the goal of > getting this into -rc1 so that all architectures (and developers) can use the > new types straightaway. > > Fully tested on x86, and I verified a handful of tests generate identical > code. I tried to do the same for other architectures, but gcc at least doesn't > seem to provide reproducible builds for other architectures. E.g. on arm64 and > LoongArch, a completely benign vaddr_t => gva_t rename would sometimes result > in different offsets in the generated code. But based on manual diffs from > objdump, I'm fairly confident in the result. > > [...] Applied to kvm-x86 selftests_kernel_types (a few days ago, spaced on sending "thanks"). [01/19] KVM: selftests: Use gva_t instead of vm_vaddr_t https://github.com/kvm-x86/linux/commit/5567fc9dcd7e [02/19] KVM: selftests: Use gpa_t instead of vm_paddr_t https://github.com/kvm-x86/linux/commit/97dcda3fdce5 [03/19] KVM: selftests: Use gpa_t for GPAs in Hyper-V selftests https://github.com/kvm-x86/linux/commit/6d3494255ac0 [04/19] KVM: selftests: Use u64 instead of uint64_t https://github.com/kvm-x86/linux/commit/26f8453288d4 [05/19] KVM: selftests: Use s64 instead of int64_t https://github.com/kvm-x86/linux/commit/286e8903aed1 [06/19] KVM: selftests: Use u32 instead of uint32_t https://github.com/kvm-x86/linux/commit/0c3a8774692a [07/19] KVM: selftests: Use s32 instead of int32_t https://github.com/kvm-x86/linux/commit/7b609187684d [08/19] KVM: selftests: Use u16 instead of uint16_t https://github.com/kvm-x86/linux/commit/19d091492004 [09/19] KVM: selftests: Use s16 instead of int16_t https://github.com/kvm-x86/linux/commit/2540ebd60349 [10/19] KVM: selftests: Use u8 instead of uint8_t https://github.com/kvm-x86/linux/commit/6ec982b5a2c7 [11/19] KVM: selftests: Drop "vaddr_" from APIs that allocate memory for a given VM https://github.com/kvm-x86/linux/commit/85819fa0e3b9 [12/19] KVM: selftests: Rename vm_vaddr_unused_gap() => vm_unused_gva_gap() https://github.com/kvm-x86/linux/commit/48321f609a73 [13/19] KVM: selftests: Rename vm_vaddr_populate_bitmap() => vm_populate_gva_bitmap() https://github.com/kvm-x86/linux/commit/3fd995905b71 [14/19] KVM: selftests: Rename translate_to_host_paddr() => translate_hva_to_hpa() https://github.com/kvm-x86/linux/commit/4babae4ca10a [15/19] KVM: selftests: Clarify that arm64's inject_uer() takes a host PA, not a guest PA https://github.com/kvm-x86/linux/commit/a662c4e03853 [16/19] KVM: selftests: Replace "vaddr" with "gva" throughout https://github.com/kvm-x86/linux/commit/014dfb7b9bf3 [17/19] KVM: selftests: Replace "u64 gpa" with "gpa_t" throughout https://github.com/kvm-x86/linux/commit/df079910f981 [18/19] KVM: selftests: Replace "u64 nested_paddr" with "gpa_t l2_gpa" https://github.com/kvm-x86/linux/commit/abc374191dc2 [19/19] KVM: selftests: Replace "paddr" with "gpa" throughout https://github.com/kvm-x86/linux/commit/dfd2a8b07c6c -- https://github.com/kvm-x86/linux/tree/next