From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f73.google.com (mail-pj1-f73.google.com [209.85.216.73]) (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 B8A313B994F for ; Mon, 1 Jun 2026 14:15:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.73 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780323341; cv=none; b=IoP5Zp1+MrvgRnxLk9mDZCGjveQsKGRv2OmJ9iEouOJ16Cr5NUY6xei20QjL7t1D8yAqv/wx8xSGUa7eRrdNvwKuMXBfFjTnNjW9WpLDwIG0ayJV68pV5XuoGxszYgTqWQTwvLZqPLJ54kEkxDpH3KYpYwd1j2SzXW9GFqaBQwk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780323341; c=relaxed/simple; bh=nJXF4s+DEVXbVOZZobK1ukBBtQjnHXLnjVrmFG8C7s0=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=t6xHOLQirBeU+3Dd/shKvY7qmRFF2Bvz/b/nYBJW046TSAvZaKbYq+Rwg0/ngCyqPKNltptb4wnWakAyzbn/Rdh1XFVaAGtqFYNv1AgP4rMnBqKyo4/nm4fXR09fNTdAfMMhH+WV27fYLgrFqKD6+PHKvo3kLGGu6lyS6VC/pmQ= 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=t+qPPsZ5; arc=none smtp.client-ip=209.85.216.73 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="t+qPPsZ5" Received: by mail-pj1-f73.google.com with SMTP id 98e67ed59e1d1-36bc02d28b6so2577314a91.3 for ; Mon, 01 Jun 2026 07:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1780323340; x=1780928140; 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=n50JlJPE/55hRNplF1JVi4aw/bueramiP42nDwOCCMI=; b=t+qPPsZ57owWfuBKUIEx62HXq6s97tZi8CBiiSz7Po9W+LzH92YdJgcXdIYNpxE8is 2CQ8msiZJK5s396zUf1YVkYg3taW2jWDuXE84Vwf9o29Dr7ujeEnwDaw+F8U67D1Tsap cfOWitaomR2s/5d7tKsqh60izCH9A3p5YBjW7BQP7g3ml/dfwaTN0QlbE3aDNOEucV+X ldavjETJVdtRdLN4qmgqhrfaWGpauae5SnnYoU5KzTmYWSosKqDnZrKb+29fS7IBBOFo 350WyZvnAlyc+nNTkTjdGAkRy4Gtial6ixnwGQtpS49wUoMSmtMztPH+620cgqIIzi8b XCIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780323340; x=1780928140; 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=n50JlJPE/55hRNplF1JVi4aw/bueramiP42nDwOCCMI=; b=VgeoubeHEO3rSvxrFdb6dl4Ri0jB2o8ACJr+ZU/Fylah5X0S2m+qhKqXLAePFjUiTu Eh6PEKipCa/mjY3VKChGLBbAS2nCeDKW93UdZcJta5jFhtTQDu9emhoR4NRKzPH4+/3O Oqxs/R3jyOJNpDJV3Nnpl0GAxThx8kRc6nfrw9wmQOUhR2Ifzuz+8hizrGXySIKWwykE 8cvY5CCR2YQVewauH0VrabOrsMyHqIiiYLSkK6tFhiy5GRg4X3lD7PCwOlegW4Pdp6wv ISMGbMDvGaUcJ4NT+H4jg8XNfw1CQ3oTrV2Rk9rybQBG/YmcuPy1JQaze6WorIa2+SxE nSTQ== X-Forwarded-Encrypted: i=1; AFNElJ8t2l4VkMXWpxWAq0JwJsoy6KW76ZU6czTR3hGaP5mxamRLINF9+/hYhTvmi12HSw6aWtHPCes0BZ+CoZ4=@vger.kernel.org X-Gm-Message-State: AOJu0YwOG5cKZ7BJULFhafQk31i4Kgjo9CnLGe3csr0x8AIbVoY+8ibi o35hF0AlX4r9RJlh4tLkAr59Jfy+PsNo3cs4bHjU5E1c8nWjFgYTyslliSDZiKtM2P55oGMe7wM RbfVLzA== X-Received: from pgab135.prod.google.com ([2002:a63:348d:0:b0:c85:9c9a:ab50]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:57c7:b0:367:b8ad:f0e9 with SMTP id 98e67ed59e1d1-36c501c723fmr9889546a91.16.1780323339681; Mon, 01 Jun 2026 07:15:39 -0700 (PDT) Date: Mon, 1 Jun 2026 07:15:37 -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: <20260529222223.870923-1-seanjc@google.com> <20260529222223.870923-16-seanjc@google.com> Message-ID: Subject: Re: [PATCH v3 15/40] KVM: x86: Move the bulk of register specific code from x86.c to regs.c From: Sean Christopherson To: Yosry Ahmed Cc: Paolo Bonzini , Vitaly Kuznetsov , David Woodhouse , Paul Durrant , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Binbin Wu , David Woodhouse , Kai Huang Content-Type: text/plain; charset="us-ascii" On Sat, May 30, 2026, Yosry Ahmed wrote: > On Fri, May 29, 2026 at 03:21:58PM -0700, Sean Christopherson wrote: > > Introduce regs.c, and move the vast majority of register specific code out > > of x86.c and into regs.c. Deliberately leave behind MSR code (except for > > EFER, which can hardly be called an MSR), as KVM's MSR support is complex > > enough to warrant its own compilation unit, and doesn't have much in common > > with the other register code. > > > > No functional change intended. > > > > Signed-off-by: Sean Christopherson > > This is not just code movement. You're also renaming and introducing new > helpers in the process, making the patch not so easy to review. > > A wise mine once told me not to do this: > https://lore.kernel.org/kvm/aYU87QeMg8_kTM-G@google.com/ > > I have been waiting a few months for this, so here goes: > > Stop. Bundling. Things. Together. Gooood. Use your aggressive feelings, boy. Let the hate flow through you!