Skip to contentSkip to conversation

x86/tdx for 6.4

GIT PULL Merged Dave Hansen 3 participants 3 messages Apr 27, 2023 – Apr 28, 2023

lore
Share & tools
lore
#0 lore raw

Hi Linus,

Please pull a single x86/tdx change for 6.4.

The original assembly here took two flags in %RSI to tweak its behavior at runtime. PeterZ recently axed one flag. Kill the other and tweak the 'output' mode with an assembly macro instead. This results in elimination of one push/pop pair and overall easier to read assembly.

--

The following changes since commit e8d018dd0257f744ca50a729e3d042cf2ec9da65:

Linux 6.3-rc3 (2023-03-19 13:27:55 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git tags/test.1682619270.x86_tdx_for_6.4

for you to fetch changes up to 7a3a401874bea02f568aa416ac29170d8cde0dc2:

x86/tdx: Drop flags from __tdx_hypercall() (2023-03-22 11:36:05 -0700)

----------------------------------------------------------------
* Do conditional __tdx_hypercall() 'output' processing via an assembly macro argument rather than a runtime register.

----------------------------------------------------------------
Kirill A. Shutemov (1):
x86/tdx: Drop flags from __tdx_hypercall()

 arch/x86/boot/compressed/tdx.c    |  4 +--
 arch/x86/coco/tdx/tdcall.S        | 66 ++++++++++++++++++++++-----------------
 arch/x86/coco/tdx/tdx.c           | 18 +++++------
 arch/x86/include/asm/shared/tdx.h |  5 ++-
 4 files changed, 51 insertions(+), 42 deletions(-)
#1 lore raw

On 4/27/23 11:15, Dave Hansen wrote:
...

Quoted 7 lines

The following changes since commit e8d018dd0257f744ca50a729e3d042cf2ec9da65:

Linux 6.3-rc3 (2023-03-19 13:27:55 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git tags/test.1682619270.x86_tdx_for_6.4

Please ignore this one. I manged to send my test email instead of the proper one referring to the tip repo with a proper signed tag. I'll resend with the proper repo and signed tag.

merge bot Merged
#2 lore raw
In reply to Dave Hansen
The pull request you sent on Thu, 27 Apr 2023 11:15:48 -0700:

The pull request you sent on Thu, 27 Apr 2023 11:15:48 -0700:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/daveh/devel.git tags/test.1682619270.x86_tdx_for_6.4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7b664cc38ea7bdd5e3ce018bba98583741921bd4

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html