~ubuntu-mainline/ubuntu-mainline/+git/linux-ubuntu:noble/linux-intel

Last commit made on 2024-04-04
Get this branch:
git clone -b noble/linux-intel https://git.launchpad.net/~ubuntu-mainline/ubuntu-mainline/+git/linux-ubuntu
Members of Ubuntu Mainline can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
noble/linux-intel
Repository:
lp:~ubuntu-mainline/ubuntu-mainline/+git/linux-ubuntu

Recent commits

7c3b358... by Thibf

UBUNTU: Ubuntu-intel-6.8.0-1001.2

Signed-off-by: Thibault Ferrante <email address hidden>

b9f5ed6... by Thibf

UBUNTU: link-to-tracker: update tracking bug

BugLink: https://bugs.launchpad.net/bugs/2060210
Properties: no-test-build
Signed-off-by: Thibault Ferrante <email address hidden>

61feb91... by Thibf

UBUNTU: Start new release

Ignore: yes
Signed-off-by: Thibault Ferrante <email address hidden>

d3e1931... by Alexey Makhalov <email address hidden>

UBUNTU: SAUCE: x86/vmware: Add TDX hypercall support

BugLink: https://bugs.launchpad.net/bugs/2046010

VMware hypercalls use I/O port, VMCALL or VMMCALL instructions.
Add __tdx_hypercall path to support TDX guests.

No change in high bandwidth hypercalls, as only low bandwidth
ones are supported for TDX guests.

Co-developed-by: Tim Merrifield <email address hidden>
Signed-off-by: Tim Merrifield <email address hidden>
Signed-off-by: Alexey Makhalov <email address hidden>
Reviewed-by: Nadav Amit <email address hidden>
(cherry-picked from: https://<email address hidden>)
Signed-off-by: Thibault Ferrante <email address hidden>

fbfa8b2... by Alexey Makhalov <email address hidden>

UBUNTU: SAUCE: drm/vmwgfx: Use vmware_hypercall API

BugLink: https://bugs.launchpad.net/bugs/2046010

Switch from VMWARE_HYPERCALL macro to vmware_hypercall API.
Eliminate arch specific code.

drivers/gpu/drm/vmwgfx/vmwgfx_msg_arm64.h: implement arm64 variant
of vmware_hypercall here for now. The move of these functions to
arch/arm64/include/asm/vmware.h as well as removal of
drivers/gpu/drm/vmwgfx/vmwgfx_msg_{x86,arm64}.h header files will
be performed in the follow up patchset.

Signed-off-by: Alexey Makhalov <email address hidden>
Reviewed-by: Nadav Amit <email address hidden>
Reviewed-by: Zack Rusin <email address hidden>
(cherry-picked from: https://<email address hidden>)
Signed-off-by: Thibault Ferrante <email address hidden>

bcae2d0... by Alexey Makhalov <email address hidden>

UBUNTU: SAUCE: input/vmmouse: Use vmware_hypercall API

BugLink: https://bugs.launchpad.net/bugs/2046010

Switch from VMWARE_HYPERCALL macro to vmware_hypercall API.
Eliminate arch specific code. No functional changes intended.

Signed-off-by: Alexey Makhalov <email address hidden>
Reviewed-by: Nadav Amit <email address hidden>
Reviewed-by: Zack Rusin <email address hidden>
Acked-by: Dmitry Torokhov <email address hidden>
(cherry-picked from: https://<email address hidden>)
Signed-off-by: Thibault Ferrante <email address hidden>

b7438e5... by Alexey Makhalov <email address hidden>

UBUNTU: SAUCE: ptp/vmware: Use vmware_hypercall API

BugLink: https://bugs.launchpad.net/bugs/2046010

Switch from VMWARE_HYPERCALL macro to vmware_hypercall API.
Eliminate arch specific code. No functional changes intended.

Signed-off-by: Alexey Makhalov <email address hidden>
Reviewed-by: Nadav Amit <email address hidden>
Reviewed-by: Jeff Sipek <email address hidden>
(cherry-picked from: https://<email address hidden>)
Signed-off-by: Thibault Ferrante <email address hidden>

d52780b... by Alexey Makhalov <email address hidden>

UBUNTU: SAUCE: x86/vmware: Introduce vmware_hypercall API

BugLink: https://bugs.launchpad.net/bugs/2046010

Introducing vmware_hypercall family of functions as a common
implementation to be used by the VMware guest code and virtual
device drivers in architecture independent manner.

By analogy with KVM hypercall API, vmware_hypercallX and
vmware_hypercall_hb_{out,in} set of functions was added to
achieve that. Architecture specific implementation should be
hidden inside.

It will simplify future enhancements in VMware hypercalls such
as SEV-ES and TDX related changes without needs to modify a
caller in device drivers code.

Current implementation extends an idea from commit bac7b4e84323
("x86/vmware: Update platform detection code for VMCALL/VMMCALL
hypercalls") to have a slow, but safe path in VMWARE_HYPERCALL
earlier during the boot when alternatives are not yet applied.
This logic was inherited from VMWARE_CMD from the commit mentioned
above. Default alternative code was optimized by size to reduce
excessive nop alignment once alternatives are applied. Total
default code size is 26 bytes, in worse case (3 bytes alternative)
remaining 23 bytes will be aligned by only 3 long NOP instructions.

Signed-off-by: Alexey Makhalov <email address hidden>
Reviewed-by: Nadav Amit <email address hidden>
Reviewed-by: Jeff Sipek <email address hidden>
(cherry-picked from: https://<email address hidden>)
Signed-off-by: Thibault Ferrante <email address hidden>

a32481c... by Alexey Makhalov <email address hidden>

UBUNTU: SAUCE: x86/vmware: Move common macros to vmware.h

BugLink: https://bugs.launchpad.net/bugs/2046010

Move VMware hypercall macros to vmware.h as a preparation step
for the next commit. No functional changes besides exporting
vmware_hypercall_mode symbol.

Signed-off-by: Alexey Makhalov <email address hidden>
Reviewed-by: Nadav Amit <email address hidden>
(cherry-picked from: https://<email address hidden>)
Signed-off-by: Thibault Ferrante <email address hidden>

0dcab65... by Thibf

UBUNTU: Ubuntu-intel-6.8.0-1001.1

Signed-off-by: Thibault Ferrante <email address hidden>