[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH for-4.22] x86/fred: Enable FRED by default on AMD systems


  • To: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Wed, 3 Jun 2026 11:43:52 +0200
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=google header.d=suse.com header.i="@suse.com" header.h="Content-Transfer-Encoding:In-Reply-To:Autocrypt:From:Content-Language:References:Cc:To:Subject:User-Agent:MIME-Version:Date:Message-ID"
  • Autocrypt: addr=jbeulich@xxxxxxxx; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl MDY4HxoSRu3i1cqqSDtVlt+AOVBJBACrZcnHAUSuCXBPy0jOlBhxPqRWv6ND4c9PH1xjQ3NP nxJuMBS8rnNg22uyfAgmBKNLpLgAGVRMZGaGoJObGf72s6TeIqKJo/LtggAS9qAUiuKVnygo 3wjfkS9A3DRO+SpU7JqWdsveeIQyeyEJ/8PTowmSQLakF+3fote9ybzd880fSmFuIEJldWxp Y2ggPGpiZXVsaWNoQHN1c2UuY29tPsJgBBMRAgAgBQJZN5xEAhsDBgsJCAcDAgQVAggDBBYC AwECHgECF4AACgkQoDSui/t3IH4J+wCfQ5jHdEjCRHj23O/5ttg9r9OIruwAn3103WUITZee e7Sbg12UgcQ5lv7SzsFNBFk3nEQQCACCuTjCjFOUdi5Nm244F+78kLghRcin/awv+IrTcIWF hUpSs1Y91iQQ7KItirz5uwCPlwejSJDQJLIS+QtJHaXDXeV6NI0Uef1hP20+y8qydDiVkv6l IreXjTb7DvksRgJNvCkWtYnlS3mYvQ9NzS9PhyALWbXnH6sIJd2O9lKS1Mrfq+y0IXCP10eS FFGg+Av3IQeFatkJAyju0PPthyTqxSI4lZYuJVPknzgaeuJv/2NccrPvmeDg6Coe7ZIeQ8Yj t0ARxu2xytAkkLCel1Lz1WLmwLstV30g80nkgZf/wr+/BXJW/oIvRlonUkxv+IbBM3dX2OV8 AmRv1ySWPTP7AAMFB/9PQK/VtlNUJvg8GXj9ootzrteGfVZVVT4XBJkfwBcpC/XcPzldjv+3 HYudvpdNK3lLujXeA5fLOH+Z/G9WBc5pFVSMocI71I8bT8lIAzreg0WvkWg5V2WZsUMlnDL9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL
  • Cc: Roger Pau Monné <roger.pau@xxxxxxxxxx>, Teddy Astie <teddy.astie@xxxxxxxxxx>, Oleksii Kurochko <oleksii.kurochko@xxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 03 Jun 2026 09:44:04 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 03.06.2026 11:36, Andrew Cooper wrote:
> On 03/06/2026 7:27 am, Jan Beulich wrote:
>> On 02.06.2026 18:45, Andrew Cooper wrote:
>>> FRED is now believed to be complete for AMD systems, and has had its tyres
>>> kicked by both XenServer and AMD.  Enable FRED by default on capable AMD
>>> systems (Zen6 and later).
>>>
>>> Support on Intel is still not yet complete.  Leave it as tech preview and 
>>> not
>>> security supported.
>>>
>>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
>> Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
>> with one remark:
>>
>>> --- a/docs/misc/xen-command-line.pandoc
>>> +++ b/docs/misc/xen-command-line.pandoc
>>> @@ -1259,12 +1259,12 @@ does not provide `VM_ENTRY_LOAD_GUEST_PAT`.
>>>  ### fred (x86)
>>>  > `= <bool>`
>>>  
>>> -> Default: `false`
>>> +> Default: `true` on AMD, `false` otherwise
>>>  
>>>  Flexible Return and Event Delivery is an overhaul of interrupt, exception 
>>> and
>>>  system call handling, fixing many corner cases in the x86 architecture, and
>>> -expected in hardware from 2025.  Support in Xen is a work in progress and
>>> -disabled by default.
>>> +expected in hardware from 2026.  FRED is fully supported on AMD hardware.
> 
> Along with the year, I suppose I should name the CPUs specifically now
> that they're public.
> 
>>> +Intel hardware is still tech preview and not security supported.
>> Is having "security" here really appropriate? There's a functional issue to 
>> be
>> sorted. That's expressed by "tech preview", yes, but it still feels somewhat
>> odd. If you want to keep the word, may I suggest to insert "in particular"?
> 
> I was just trying to make things clearer.  One of the common audience
> groups for this file is not liable to know Xen's precise definitions of
> experimental/tech-preview/supported.
> 
>> May I further suggest "On Intel hardware it is ..."?
> 
> How does this look?
> 
> diff --git a/docs/misc/xen-command-line.pandoc 
> b/docs/misc/xen-command-line.pandoc
> index ef3c7371895b..ff6d08affb63 100644
> --- a/docs/misc/xen-command-line.pandoc
> +++ b/docs/misc/xen-command-line.pandoc
> @@ -1259,12 +1259,13 @@ does not provide `VM_ENTRY_LOAD_GUEST_PAT`.
>  ### fred (x86)
>  > `= <bool>`
>  
> -> Default: `false`
> +> Default: `true` on AMD, `false` otherwise
>  
>  Flexible Return and Event Delivery is an overhaul of interrupt, exception and
> -system call handling, fixing many corner cases in the x86 architecture, and
> -expected in hardware from 2025.  Support in Xen is a work in progress and
> -disabled by default.
> +system call handling, fixing many corner cases in the x86 architecture, and 
> is
> +available on Intel Panther Lake and Diamond Rapids CPUs, and AMD Zen6 CPUs.
> +FRED is fully supported on AMD hardware.  On Intel hardware it is still tech
> +preview, and in particular not security supported.
>  
>  ### gnttab
>  > `= List of [ max-ver:<integer>, transitive=<bool>, transfer=<bool> ]`
> 
> 
> ?

Looks good, thanks.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.