From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2664436CE19 for ; Tue, 18 Aug 2026 15:03:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787065396; cv=none; b=rB6AuyEJlVmRtiyrDdPnHfkUYIm5w8e8t/ljd71SYletpdsvABOFUOeMIb+1CKpFuL7qqjlDMhkxAH/yHBtVe1f+6yHK7+wTFOmb/AY7Cwo02r9TWa4lPPYFBevY/l/9PQPHnD/NUj68D/2Cf6VuTWpU7v3DFQuIkO/Y16Z90sY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787065396; c=relaxed/simple; bh=KFXrq0G7Ouwg3eIAYcXBgjZoI/S6M1OPTKW9VCSPNAw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=UPSZbneo6nbioiAb1HH1eDneI0zjl6S3mZxC7arEhI7ShSVGfizLeqP5OzmEZLydyZNba3C3Ci2hlbq7uqiMs+KCbIukZilQVXSHHH8OLdp0UWUZXPHN7k0lDb5sEyHLyy1/WL77AgtlIJ00AjPTW7EO/H3bOY7yU+LxuckhZds= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=PyX5vurP; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="PyX5vurP" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1787065394; x=1818601394; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=KFXrq0G7Ouwg3eIAYcXBgjZoI/S6M1OPTKW9VCSPNAw=; b=PyX5vurPcrNPBF4/k/TIRWIS1KpNmspdT/Qm4AaRO+VRfKySAv5qF5At C5IQz9CgaNIZIjhaDnDo68tDwErOh5cfj/WN2TBXOrWlRvnDM036pHQM0 fh5QJxdHqSYqPpbfMR1b7S9uWsTTa07fzHTod4cLlId7lo4w2B8YLSA1c ZIB9JJjRHfJpSID/3MGKT6HJosa1m/aB7RIOHlJdEaNo0h0oAWq1YU0P6 CjM1VBKeVOEAiuBP4efSzBzvSx3RvGsC/wV/X8J5OBJ+jtAqivXoGpXfk 9L3CcgjNToTC/IwFy2nI0gq4oqshCC71uDICpM3FIzQbXdqyL6UaHVi9G A==; X-CSE-ConnectionGUID: vOl/7zrlTCCQh3jrLt+64g== X-CSE-MsgGUID: 8CWHy7ZAQmu4u8E9OTQJvw== X-IronPort-AV: E=McAfee;i="6800,10657,11878"; a="87415686" X-IronPort-AV: E=Sophos;i="6.25,230,1779174000"; d="scan'208";a="87415686" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2026 08:03:13 -0700 X-CSE-ConnectionGUID: 18rUwLygT/GL6Zt4oXCwEg== X-CSE-MsgGUID: HOgwthaCSHyU7oMlFdNqjA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.25,230,1779174000"; d="scan'208";a="261972626" Received: from smtp.ostc.intel.com ([10.54.29.231]) by fmviesa007-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Aug 2026 08:03:13 -0700 Received: from ray2.sr71.net (unknown [10.125.111.192]) by smtp.ostc.intel.com (Postfix) with ESMTP id D170A5E90; Tue, 18 Aug 2026 08:03:12 -0700 (PDT) From: Dave Hansen To: torvalds@linux-foundation.org Cc: x86@kernel.org, linux-kernel@vger.kernel.org, Dave Hansen Subject: [GIT PULL] x86/tdx for 7.3-rc1 Date: Tue, 18 Aug 2026 08:06:13 -0700 Message-ID: <20260818150613.2809384-1-dave.hansen@linux.intel.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Linus, Please pull some x86/tdx changes for 7.3-rc1. TDX guests cause #VE exceptions whenever they do port I/O. The guest then does some instruction decoding and makes a call up to the host for help. That decoding had a couple of bugs. Fix those bugs. Use an existing and now shared KVM helper for one of them. -- The following changes since commit a13c140cc289c0b7b3770bce5b3ad42ab35074aa: Linux 7.2-rc3 (2026-07-12 14:16:39 -0700) are available in the Git repository at: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_tdx_for_7.3-rc1 for you to fetch changes up to 941370fc93cc3474e26811f4d3b062903eefe2cf: x86/tdx: Fix zero-extension for 32-bit port I/O (2026-07-13 14:45:07 -0700) ---------------------------------------------------------------- * Fix TDX port I/O bugs ---------------------------------------------------------------- Kiryl Shutsemau (Meta) (3): x86/tdx: Fix off-by-one in port I/O handling x86/insn-eval: Move assign_register() out of KVM as insn_assign_reg() x86/tdx: Fix zero-extension for 32-bit port I/O arch/x86/coco/tdx/tdx.c | 10 ++++------ arch/x86/include/asm/insn-eval.h | 36 ++++++++++++++++++++++++++++++++++++ arch/x86/kvm/emulate.c | 26 ++++---------------------- 3 files changed, 44 insertions(+), 28 deletions(-)