From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f201.google.com (mail-pg1-f201.google.com [209.85.215.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 3F0F5377ED1 for ; Tue, 3 Mar 2026 19:03:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772564624; cv=none; b=gY/NFXJDrxoBoCTlNfMu0foKoBKV60D0CmAZqTZ54xvAYUEzIVmOvJPs9KeBtzPkVIMLzbKVZ7JrdRxgBaxyqslYmYhpH6GIthNklj4M/gtSuf7T5qQi3iBKE1AGq1o/cd5SmcH273ftijaMYunZ/qD9OqRy2Jvs1B0yhLCK2yk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772564624; c=relaxed/simple; bh=ZJW7QnHENow9IC8VkrX5QT5f5RGEfFM4CSOmDGCyhGo=; h=Date:Mime-Version:Message-ID:Subject:From:To:Cc:Content-Type; b=tFDfOResU6C7XYccAUU/MRB7jlkuclJoqT1OdgDl/SG9kOD3xBR94ST1QDkFpra/14Zlj/FaC1aABJnljK8iWoffCYdH6bb/WG3ehYs4AwFMvKAD/ZUhJWXCmGH+DVDUVrTwtdWMQuD/ZbrJiMzTDL3+eGTlSS5NcpNd5Wc9cvk= 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=b/8X3CMt; arc=none smtp.client-ip=209.85.215.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="b/8X3CMt" Received: by mail-pg1-f201.google.com with SMTP id 41be03b00d2f7-c70efa3b730so3346237a12.2 for ; Tue, 03 Mar 2026 11:03:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1772564623; x=1773169423; darn=vger.kernel.org; h=cc:to:from:subject:message-id:mime-version:date:reply-to:from:to:cc :subject:date:message-id:reply-to; bh=7HYEqbzPxihlsLjR6JkXJkRv7dD7WWhUy1nb4kzntSw=; b=b/8X3CMtSmSDFrs+WvvbtP5sBtX1CYaq4HSiVjiTckHqj3lK96wbAQbxNNT87YHvCn lAUCo9xjtChFTyskBi1QMxxEoyLZG6ZDZn7Oh5xBj7AG0NqigkdUPV8J1XvkztFr2Qyl 8v0Vy+uXEquNTyc0Zg2jZnkqclu+ni2pxdPBylFIuiJ1pl39lnL2aizIcBpetb9PWjWf zwLRB5yhdcPuNoILdFMPk9aa7qBuz0xXYFIx4emEQnfLrAKEhOqgQK2z7WYMV2SAd6CE SkfpJyKwvT230N7ftQDsJIKtQDgUafVJyjHLgJweCFYKMK1GZxDEo5E2NhfQfjhnNOXm 8gwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772564623; x=1773169423; h=cc:to:from:subject:message-id:mime-version:date:reply-to :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=7HYEqbzPxihlsLjR6JkXJkRv7dD7WWhUy1nb4kzntSw=; b=L6lKY8GdQwahJvBlKoN49brKr4zAjhxLPZabt65U7ewYXVNI53FGUbCEgygqUKwLd2 UUnCHpM6ytAqPlylP3hWbBfbvlNU/QYmjdWc08tS6ZB7Livwk2NV9cFYSgoUzF/AKDz+ iT5BxtE2pCXrCnOBXRVci5iLYpBaOBMAtL8oA89+Wswy+yMszaulKPJvZqqhgznHRCUJ b9gHCQuVmyqNe7no5ZCCfu9eqRCpyZtzgaWr3E+wytP4W0lynciBODRFnRQQx/f+FzXB tY+btP4d3duRhPN6Fc6j+rPHC58SeOcGSd9jhkk0OHirLWq+KeJKas/rSQVcsZ2FPxhX J/WA== X-Forwarded-Encrypted: i=1; AJvYcCV9r6+VSEtt8ugyJPksM2ziOXjHWpwnvxd4F2Kcqwm546sSuERDU9N73aOYAhDcsvQ08Xezl5qp1DdtCe0=@vger.kernel.org X-Gm-Message-State: AOJu0Yy4bwTo6AjvLCR4Q7Aa+MgtMJZx+7rKeDAvvVLAMZ7XXeuNw74+ TOSsi/Ff4DyWRO979IHdnp6ROtb80f1F20SyCIbgIGFnGX+wnZ4P+I7HY407EB3lRqKel4qiP/q vumDVlg== X-Received: from pgvt6.prod.google.com ([2002:a65:64c6:0:b0:c6e:698a:f5c0]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a21:44c8:b0:38e:54b8:60a1 with SMTP id adf61e73a8af0-395c39de56amr15737423637.4.1772564622253; Tue, 03 Mar 2026 11:03:42 -0800 (PST) Reply-To: Sean Christopherson Date: Tue, 3 Mar 2026 11:03:37 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 X-Mailer: git-send-email 2.53.0.473.g4a7958ca14-goog Message-ID: <20260303190339.974325-1-seanjc@google.com> Subject: [PATCH 0/2] KVM: PPC: e500: Fix build error due to crappy KVM code From: Sean Christopherson To: Madhavan Srinivasan Cc: linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Kees Cook , Sean Christopherson Content-Type: text/plain; charset="UTF-8" Fix an e500 build error that was introduced by the recent kmalloc_obj() conversion, but in reality is due to crappy KVM code that has existed for ~13 years. I'm taking this through kvm-x86 fixes, because it's breaking my testing setup, and obviously no one cares about KVM e500 since PPC_WERROR is default 'y' and needs to be explicitly disabled via PPC_DISABLE_WERROR. Sean Christopherson (2): KVM: PPC: e500: Fix build error due to using kmalloc_obj() with wrong type KVM: PPC: e500: Rip out "struct tlbe_ref" arch/powerpc/kvm/e500.h | 6 +-- arch/powerpc/kvm/e500_mmu.c | 4 +- arch/powerpc/kvm/e500_mmu_host.c | 91 +++++++++++++++----------------- 3 files changed, 47 insertions(+), 54 deletions(-) base-commit: 11439c4635edd669ae435eec308f4ab8a0804808 -- 2.53.0.473.g4a7958ca14-goog