From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f197.google.com (mail-pg1-f197.google.com [209.85.215.197]) (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 751C13E2AD8 for ; Fri, 2 Oct 2026 22:12:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.197 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790979151; cv=none; b=M2aM3qtl3AkcUAAESXJjwvan5ZaHit4qDL7ByJcCI7KAKwxzpnEV0Xf8xWBPaK2JQTNWgLGBiN1fhYXhKVxbKJPY4fpt/DehycdAF5WLDRYrnrxzcJ9YBDRhlObiuuAtzDFv5oPWhpPIJ+eAKbnUscIYjtm2TtAfgj1EHQo/5gg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1790979151; c=relaxed/simple; bh=kkiqdAS4BmeIKPvSPLaJlWr8VEOz3hct2LQ4xfgY4+4=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=TrSXHMS9fyVK0PcgNsCK4obEMfqWmWgUZXvuTaaLDSlFVNLtFvvxHhn83QoRtTPvTzpSjYktwsuPYVLVXFOjo/guslSbMxnOEYKnrcKTSGo/57sFgMvBk0gF0A840w1FWM7BnsJQi09Byvl9eGuWfW1cACxjPNkHw5tktx2SxI8= 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=p8ci6vrr; arc=none smtp.client-ip=209.85.215.197 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="p8ci6vrr" Received: by mail-pg1-f197.google.com with SMTP id 41be03b00d2f7-ccacc75a997so29396a12.0 for ; Fri, 02 Oct 2026 15:12:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1790979150; x=1791583950; darn=vger.kernel.org; h=content-type:cc:to:from:subject:message-id:references:mime-version :in-reply-to:date:from:to:cc:subject:date:message-id:reply-to :content-type; bh=m+BE8hAAq8CojA7/qWTm+y4+V1+d1I0cqoqJfhKPjfM=; b=p8ci6vrrR2Wq5Tjb4E4iRa6yZb8P8D0NwUhLezvcLAbUbKCw97wZ0vyoyUXuTNmYIP GyBvAX3p5ooaFjoYb2D88R7jLA2svp2WfrqfxkBl2heIP+Pl9qJKD5De2RlU+iG+CeLR UuMAxU0Fq97Uh7VLmi/s4fuOb3dxFrdL+vY5tZJm7LtxPrbHIpjBoMpJ1OuqQ7VwO/yQ BaYtnf3jfKrqMMy4EOwtuwWih+is1PkiGT1IQ4ohlZaxvIbBiUEyaOBdOb7EX+/9KwoR taRUOdLSLjQAQv3vmdcXhXWrQdvONshhjuMjziEH7A7yhQUxkkX7MA4HspKLx1KXChzh fhzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790979150; x=1791583950; h=content-type: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:content-type; bh=m+BE8hAAq8CojA7/qWTm+y4+V1+d1I0cqoqJfhKPjfM=; b=Fg6PP6/mnncF9odwlzNZKatgNAjIpLbl4nI0hcUl5GxDwOo8EGI58n1PxENXPcJ8Tq 1tpDNe5XHP/XGfVY96n/RYRmF7JZxJDHTOwHVFd1ozBlZ1MVjcXMz8+/A66kz26guMxt uV5v6SKqXlUkigU3/MhGzOe55ngE2e52FTI/GAUfG1S2nZho+A/4fWN9aQ89pyfjq9dU UTN/PogCvkXcPaOdUsxPXmKjn0ZyGvDPwTrAkuu+ECF1ggWEazptNttqANIHu5mhDXRf ViC9bfRaN+siEKETTWoEZxi8isdZ34Y3o2FwyUeMBtfC7tdu1a3+AkYVa+yxtXBuVhNl Zn+w== X-Forwarded-Encrypted: i=1; AKwUvBwhpBr3amXu9SgoMjnFlWS/E0bp1GMWtY0Bpm3WEOlbyKu57LGQ35BaIfSFK1pV54nTqXr9zV9G6QpPv3A=@vger.kernel.org X-Gm-Message-State: AFuF++msDJssJDw+A/66b4o9YQX4BcEqjLy8AqhDLsxGADlNeG38dTeF U+3sH+tKOKn0xaCiHThgnbk1ZZrCI+1CZsU3/RcL2jZzjOAOBLRNyGn86rVRRGFR/Ypdh/A2aC4 sBII+Sw== X-Received: from pgaa6-n2.prod.google.com ([2002:a05:6a02:6486:20b0:cca:bb35:aa9c]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a21:748a:b0:3e0:b937:8829 with SMTP id adf61e73a8af0-3e0d6ce0ea7mr619313637.51.1790979149504; Fri, 02 Oct 2026 15:12:29 -0700 (PDT) Date: Fri, 2 Oct 2026 15:12:28 -0700 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: Message-ID: Subject: Re: [PATCH v5 1/9] KVM: PPC: selftests: add support for powerpc From: Sean Christopherson To: "Ritesh Harjani (IBM)" Cc: kvm@vger.kernel.org, Paolo Bonzini , linuxppc-dev@lists.ozlabs.org, Michael Ellerman , Christophe Leroy , Anushree Mathur , Venkat Rao Bagalkote , Harsh Prateek Bora , Madhavan Srinivasan , Shrikanth Hegde , linux-kernel@vger.kernel.org, Nicholas Piggin Content-Type: text/plain; charset="us-ascii" On Tue, Sep 22, 2026, Ritesh Harjani (IBM) wrote: > --- > MAINTAINERS | 2 + > tools/testing/selftests/kvm/Makefile | 2 +- > tools/testing/selftests/kvm/Makefile.kvm | 10 + > .../testing/selftests/kvm/include/kvm_util.h | 9 + > .../selftests/kvm/include/powerpc/hcall.h | 17 + > .../kvm/include/powerpc/kvm_util_arch.h | 22 + > .../selftests/kvm/include/powerpc/ppc_asm.h | 32 ++ > .../selftests/kvm/include/powerpc/processor.h | 39 ++ > .../selftests/kvm/include/powerpc/ucall.h | 21 + > tools/testing/selftests/kvm/lib/guest_modes.c | 20 +- > tools/testing/selftests/kvm/lib/kvm_util.c | 8 + > .../selftests/kvm/lib/powerpc/handlers.S | 93 ++++ > .../testing/selftests/kvm/lib/powerpc/hcall.c | 45 ++ > .../selftests/kvm/lib/powerpc/processor.c | 512 ++++++++++++++++++ > .../testing/selftests/kvm/lib/powerpc/ucall.c | 22 + > 15 files changed, 851 insertions(+), 3 deletions(-) > create mode 100644 tools/testing/selftests/kvm/include/powerpc/hcall.h > create mode 100644 tools/testing/selftests/kvm/include/powerpc/kvm_util_arch.h > create mode 100644 tools/testing/selftests/kvm/include/powerpc/ppc_asm.h > create mode 100644 tools/testing/selftests/kvm/include/powerpc/processor.h > create mode 100644 tools/testing/selftests/kvm/include/powerpc/ucall.h > create mode 100644 tools/testing/selftests/kvm/lib/powerpc/handlers.S > create mode 100644 tools/testing/selftests/kvm/lib/powerpc/hcall.c > create mode 100644 tools/testing/selftests/kvm/lib/powerpc/processor.c > create mode 100644 tools/testing/selftests/kvm/lib/powerpc/ucall.c > > diff --git a/MAINTAINERS b/MAINTAINERS > index fc320b373656..35df0c39e991 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -14349,6 +14349,8 @@ F: arch/powerpc/include/asm/kvm* > F: arch/powerpc/include/uapi/asm/kvm* > F: arch/powerpc/kernel/kvm* > F: arch/powerpc/kvm/ > +F: tools/testing/selftests/kvm/*/powerpc/ > +F: tools/testing/selftests/kvm/powerpc/ I don't think sending KVM PPC selftests changes through the PPC tree will work. It's "fine" for KVM PPC changes because the volume of KVM PPC changes is low and rarely modifies anything outside of arch/powerpc. KVM selftests tend to have a lot more cross-arch and/or common code modifications, i.e. I think we'll be setting ourselves up for pain if we don't route all KVM selftests changes through Paolo's tree. Does it maybe make sense to have all of KVM PPC route through Paolo? Punting to PPC made sense when KVM PPC was on life support, but it looks like resuscitation was successful for at least some flavors of KVM PPC?