ACK: [SRU][jammy/linux-azure-5.19, kinetic/linux-azure, lunar/linux-azure][PATCH] Revert "UBUNTU: SAUCE: TDX: Work around the segfault issue in glibc 2.35 in Ubuntu 22.04."
Marcelo Henrique Cerri
marcelo.cerri at canonical.com
Wed Sep 13 13:00:58 UTC 2023
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
It's reverting it to the state we had before and in upstream. LGTM.
On Tue, Mar 21 2023, Ioanna Alifieraki wrote:
> BugLink: https://bugs.launchpad.net/bugs/2011421
>
> This reverts commit 5e304319d26d7003e648bd7a68322537dddbdaed.
>
> Commit 5e304319d26d ("UBUNTU: SAUCE: TDX: Work around the segfault issue
> in glibc 2.35 in Ubuntu 22.04.") was added to work around a bug in
> glibc. Glibc is getting fixed in LP#2011421 and we can drop this.
>
> Signed-off-by: Ioanna Alifieraki <ioanna-maria.alifieraki at canonical.com>
> ---
> arch/x86/coco/tdx/tdx.c | 12 ------------
> 1 file changed, 12 deletions(-)
>
> diff --git a/arch/x86/coco/tdx/tdx.c b/arch/x86/coco/tdx/tdx.c
> index 3c853e18320e..b7af93ca319e 100644
> --- a/arch/x86/coco/tdx/tdx.c
> +++ b/arch/x86/coco/tdx/tdx.c
> @@ -318,18 +318,6 @@ static int handle_cpuid(struct pt_regs *regs, struct ve_info *ve)
> .r13 = regs->cx,
> };
>
> - /*
> - * Work around the segfault issue in glibc 2.35 in Ubuntu 22.04.
> - * See https://sourceware.org/bugzilla/show_bug.cgi?id=28784
> - * Ubuntu 22.04/22.10/23.04's glibc should pick up this glibc fix:
> - * https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=c242fcce06e3102ca663b2f992611d0bda4f2668
> - */
> - if (regs->ax == 2) {
> - regs->ax = 0xf1ff01;
> - regs->bx = regs->cx = regs->dx = 0;
> - return ve_instr_len(ve);
> - }
> -
> /*
> * Only allow VMM to control range reserved for hypervisor
> * communication.
> --
> 2.34.1
Acked-by: Marcelo Henrique Cerri <marcelo.cerri at canonical.com>
- --
Regards,
Marcelo
-----BEGIN PGP SIGNATURE-----
iQHQBAEBCgA6FiEExJjLjAfVL0XbfEr56e82LoessAkFAmUBsrAcHG1hcmNlbG8u
Y2VycmlAY2Fub25pY2FsLmNvbQAKCRDp7zYuh6ywCXrhDACejSHvTaY7gEvOIAZr
aHtMuxruU1bwckTRChsh+kXx7SILxLzp4EUGV0kypVKb/yrrPzzd4JA8MZB4s+6J
XDvNmL4GW4CmaPMyqrkMd+FTFLzkvrljg1+ngQGlq2aq3A4+kxQqHWltLZs1LT63
z8Axn91nfXDqSZAyPsxYL7gbueCcubR7UZIv+urcDLa3Qzu0iAnV4AutWTTbk+yr
0cmjtDJ+JwmZm6TtzOhwVqCD+7ER9weJ1dzz/JYbPlY6+lniR8mn0KFiCl18Y+1p
e9YYiCBa0Zf0i+ZFbNqtamBmu5Vbt78DFLQKMvx6O30nmOlB8A25YWaPMamlK4Vg
Jw9NDEOqBgvvmrIYw1qSj73VcFgNWJWO2fGIEolbIXOxxbYLtpnLzqGxhWs0q3qp
6TsEjtD3kCnAuCkSmudu5YKj9eVrsor1kK2/XU8Eebctz4I6TKUbpxUNTFBx62oO
u39IC7ul01Ff3iYwXwccklop9ZPN8K3pDRk5ohGKUU6FV2c=
=0m2e
-----END PGP SIGNATURE-----
More information about the kernel-team
mailing list