From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <s.ivanov@proxmox.com>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 4454BC0DA
 for <pve-devel@lists.proxmox.com>; Fri, 11 Aug 2023 18:05:02 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 15392F2C0
 for <pve-devel@lists.proxmox.com>; Fri, 11 Aug 2023 18:04:32 +0200 (CEST)
Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com
 [94.136.29.106])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS
 for <pve-devel@lists.proxmox.com>; Fri, 11 Aug 2023 18:04:31 +0200 (CEST)
Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1])
 by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 5736E45FA0
 for <pve-devel@lists.proxmox.com>; Fri, 11 Aug 2023 18:04:31 +0200 (CEST)
Date: Fri, 11 Aug 2023 18:04:30 +0200
From: Stoiko Ivanov <s.ivanov@proxmox.com>
To: pve-devel@lists.proxmox.com
Message-ID: <20230811180430.62a7a43b@rosa.proxmox.com>
In-Reply-To: <20230811160105.379662-1-s.ivanov@proxmox.com>
References: <20230811160105.379662-1-s.ivanov@proxmox.com>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL 0.090 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DMARC_MISSING             0.1 Missing DMARC policy
 KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 SPF_PASS               -0.001 SPF: sender matches SPF record
Subject: Re: [pve-devel] [PATCH pve-kernel 0/2] cherry-picks and
 config-options for downfall
X-BeenThere: pve-devel@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE development discussion <pve-devel.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-devel/>
List-Post: <mailto:pve-devel@lists.proxmox.com>
List-Help: <mailto:pve-devel-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel>, 
 <mailto:pve-devel-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Fri, 11 Aug 2023 16:05:02 -0000

On Fri, 11 Aug 2023 18:01:02 +0200
Stoiko Ivanov <s.ivanov@proxmox.com> wrote:

please ignore this - I accidentally sent a patch too many (which got
removed in the moderation queue)

the actual series is the next thread on the list

> Changes taken from ubuntu's repository (at launchpad)
> sending as individual cherry-picks, as we're currently based on our
> own tag.
> 
> Split into 2 patches as applying the patches happens after we copy the
> source (and remove debian/ubuntu specific folders)
> 
> The resulting build should in all cases be tested on an affected machine too!
> 
> Stoiko Ivanov (2):
>   add fixes for downfall
>   d/rules: enable mitigation config-options
> 
>  debian/rules                                  |   4 +-
>  ...-init-Provide-arch_cpu_finalize_init.patch |  85 +++
>  ...cpu-Switch-to-arch_cpu_finalize_init.patch | 235 +++++++
>  ...cpu-Switch-to-arch_cpu_finalize_init.patch |  82 +++
>  ...cpu-Switch-to-arch_cpu_finalize_init.patch |  80 +++
>  ...cpu-Switch-to-arch_cpu_finalize_init.patch |  89 +++
>  ...cpu-Switch-to-arch_cpu_finalize_init.patch | 108 ++++
>  ...cpu-Switch-to-arch_cpu_finalize_init.patch | 217 +++++++
>  ...cpu-Switch-to-arch_cpu_finalize_init.patch |  80 +++
>  ...cpu-Switch-to-arch_cpu_finalize_init.patch |  75 +++
>  ...022-init-Remove-check_bugs-leftovers.patch | 172 +++++
>  ...nvoke-arch_cpu_finalize_init-earlier.patch |  64 ++
>  ...m_encrypt_init-into-arch_cpu_finaliz.patch | 121 ++++
>  ...it-Initialize-signal-frame-size-late.patch |  81 +++
>  ...cpuinfo-argument-from-init-functions.patch |  76 +++
>  ...7-x86-fpu-Mark-init-functions-__init.patch |  44 ++
>  ...-initialization-into-arch_cpu_finali.patch |  80 +++
>  ...-Unbreak-the-AMD_MEM_ENCRYPT-n-build.patch |  69 ++
>  ...ondary-processors-FPU-initialization.patch |  42 ++
>  ...-Add-Gather-Data-Sampling-mitigation.patch | 595 ++++++++++++++++++
>  ...n-Add-force-option-to-GDS-mitigation.patch | 172 +++++
>  ...eculation-Add-Kconfig-option-for-GDS.patch |  75 +++
>  .../0034-KVM-Add-GDS_NO-support-to-KVM.patch  |  85 +++
>  ...6-Fix-backwards-on-off-logic-about-Y.patch |  38 ++
>  24 files changed, 2768 insertions(+), 1 deletion(-)
>  create mode 100644 patches/kernel/0013-init-Provide-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0014-x86-cpu-Switch-to-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0015-ARM-cpu-Switch-to-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0016-ia64-cpu-Switch-to-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0017-m68k-cpu-Switch-to-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0018-mips-cpu-Switch-to-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0019-sh-cpu-Switch-to-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0020-sparc-cpu-Switch-to-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0021-um-cpu-Switch-to-arch_cpu_finalize_init.patch
>  create mode 100644 patches/kernel/0022-init-Remove-check_bugs-leftovers.patch
>  create mode 100644 patches/kernel/0023-init-Invoke-arch_cpu_finalize_init-earlier.patch
>  create mode 100644 patches/kernel/0024-init-x86-Move-mem_encrypt_init-into-arch_cpu_finaliz.patch
>  create mode 100644 patches/kernel/0025-x86-init-Initialize-signal-frame-size-late.patch
>  create mode 100644 patches/kernel/0026-x86-fpu-Remove-cpuinfo-argument-from-init-functions.patch
>  create mode 100644 patches/kernel/0027-x86-fpu-Mark-init-functions-__init.patch
>  create mode 100644 patches/kernel/0028-x86-fpu-Move-FPU-initialization-into-arch_cpu_finali.patch
>  create mode 100644 patches/kernel/0029-x86-mem_encrypt-Unbreak-the-AMD_MEM_ENCRYPT-n-build.patch
>  create mode 100644 patches/kernel/0030-x86-xen-Fix-secondary-processors-FPU-initialization.patch
>  create mode 100644 patches/kernel/0031-x86-speculation-Add-Gather-Data-Sampling-mitigation.patch
>  create mode 100644 patches/kernel/0032-x86-speculation-Add-force-option-to-GDS-mitigation.patch
>  create mode 100644 patches/kernel/0033-x86-speculation-Add-Kconfig-option-for-GDS.patch
>  create mode 100644 patches/kernel/0034-KVM-Add-GDS_NO-support-to-KVM.patch
>  create mode 100644 patches/kernel/0035-Documentation-x86-Fix-backwards-on-off-logic-about-Y.patch
>