Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 47D31C43458 for ; Fri, 3 Jul 2026 07:58:30 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1352940.1609201 (Exim 4.92) (envelope-from ) id 1wfYmn-0001Cn-PI; Fri, 03 Jul 2026 07:58:09 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1352940.1609201; Fri, 03 Jul 2026 07:58:09 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1wfYmn-0001Cg-ML; Fri, 03 Jul 2026 07:58:09 +0000 Received: by outflank-mailman (input) for mailman id 1352940; Fri, 03 Jul 2026 07:58:08 +0000 Received: from mx.expurgate.net ([195.190.135.10]) by lists.xenproject.org with esmtp (Exim 4.92) id 1wfYmm-0001Ca-Bv for xen-devel@lists.xenproject.org; Fri, 03 Jul 2026 07:58:08 +0000 Received: from mx.expurgate.net (helo=localhost) by mx.expurgate.net with esmtp id 1wfYml-00AaF8-Os for xen-devel@lists.xenproject.org; Fri, 03 Jul 2026 09:58:07 +0200 Received: from [10.42.69.7] (helo=localhost) by localhost with ESMTP (eXpurgate MTA 0.9.1) (envelope-from ) id 6a476b8f-2eae-0a2a0a5409dd-0a2a4507e994-0 for ; Fri, 03 Jul 2026 09:58:07 +0200 Received: from [209.85.208.178] (helo=mail-lj1-f178.google.com) by tlsNG-ef75cf.mxtls.expurgate.net with ESMTPS (eXpurgate 4.57.1) (envelope-from ) id 6a476b8e-9c8e-0a2a45070019-d155d0b2cc3c-3 for ; Fri, 03 Jul 2026 09:58:06 +0200 Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-39afb0d9f7eso3011291fa.0 for ; Fri, 03 Jul 2026 00:58:06 -0700 (PDT) Received: from [192.168.1.6] (user-109-243-148-111.play-internet.pl. [109.243.148.111]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5aed13c4acdsm283255e87.76.2026.07.03.00.58.05 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 Jul 2026 00:58:05 -0700 (PDT) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" Authentication-Results: eu.smtp.expurgate.cloud; dkim=pass header.s=20251104 header.d=gmail.com header.i="@gmail.com" header.h="Content-Transfer-Encoding:In-Reply-To:From:Content-Language:References:Cc:To:Subject:User-Agent:MIME-Version:Date:Message-ID" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783065486; x=1783670286; darn=lists.xenproject.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=WLuTWbOCGUpepJm0WQVVJLBtO432gPwRh4dR2sQxfh4=; b=CENsmDGGll90igdUxHbTvLyphvTVYxVgFspOwRlVaaUcB/A21kuWj5JebxfJPfpUYh dxQ9Mj6mv19bN0/g0pQ8osWT6bxtmESsYqNrMa2Ud7xg1Eoq4t3vK/wOjIho36k936kt Hc1+/Me8S3vEp+iAYN655chCA5xR024R3P5ZV02ERXt0H7g+a5faDLKG+EWLGgAnpaW9 jq1ixsokN57dZvrTG28Vqsm10BEQNfBH1XA3DVS4uA6NVFhWTqR2AUnU3S8iqxOEN7tA zq5TMBmTVJS9Fu1IocYcy5NpkmT/GA4KBwgGsukRfLWVbbVvJB0I9jRS7k2yvvYxcUjP nhZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783065486; x=1783670286; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WLuTWbOCGUpepJm0WQVVJLBtO432gPwRh4dR2sQxfh4=; b=hPC7sq+WMcdeUeMdp11qBbnIJ5qZyK1NTaBXNinCpJ00wnkdqjr9PGBI4WI/8h4Lbv 0y5xLFfcg/tsDAopXEVSRhVPR0uXJCO0Lu6yA4a+tywez8uQe5eBRfaEp0rXIEfALvQ/ IzvyA7K5bRo3acwAvCqXqHP7Zn7zefey1rNDL4gKEZo3GDMLdSjDWEc4EPhz78d15Akz u0/71m0h0gewluDBUM8geRzr6dSR8g8SSNuOXrcu4yh5mtAKwScJXty/JjBU06cLMonb hX1nX8HhvwUb0VqjQqcKsndNrJwgc1o6nZzPQqDYfgOgoyigBSMWsG1eUWzq7RbWDPdn nAww== X-Forwarded-Encrypted: i=1; AHgh+RpOWPc8IVVJUUIHeyIBF6FMSD1x0r8kDJtHe46rXdVJvH43DUy97ZKkvh538XtavjpBmT+VIk26IY8=@lists.xenproject.org X-Gm-Message-State: AOJu0Yw8JpgUWn8Iweo1G4cdQg95HfWnmYHXuwi1/CcJHKs/naDRUT8y IhrdKmNRgYjK292m7YvE78lnxzcO/60Ii60l9HgghWKQRlK+/KlH4MDu X-Gm-Gg: AfdE7cnY/tIJrSUpajVbuhxsbcpSTU0DDXpmYjPEe27NK4o18SFVM6NZsg+af2GOFcj LsCd4SJXhlxNmIhP3hDsS4em4WqVF1znNVEoN2PAy9Dqtxv7iBEVhkEZQqxDmNpBxXeFVnD3ikq H0cwL+V3i8RZ4lmUFgRY3wbQf49rCQQGVDJrb1GX8t+yiaAFja/NNs5MnpNTQT/n7aqs1b9FBJd jXsfkUH01QeqhWgL70tIBA1gYzQ8aa+T/T/vBpueYEFd50yna2yrzj9haw5ElmSRwY06HsjhIdV Y7JEG8+rXwbXyTewCE0YGLk22RDV6qa/xTRKo8pjWz2atwfc2LSi+B0YQoX9D8Y4kZeVUrzXPNQ EDlWvqDVbXzSxRGhcSp07q51S9R/x3C7CVml6qDuPvhzHVfqVCAECw54sIa1SNv6RxVa6b0yaam kqtIqih+jSPNtDdFNZP0HWYlbna8Pzb+V++g766oUAvKFzjKxEtGzjnixWj8uM4VA9W5E= X-Received: by 2002:a05:6512:138e:b0:5ae:bcf6:b07c with SMTP id 2adb3069b0e04-5aec6795a7fmr2066254e87.4.1783065485964; Fri, 03 Jul 2026 00:58:05 -0700 (PDT) Message-ID: <5a4024d7-370a-4519-9191-42c64c614847@gmail.com> Date: Fri, 3 Jul 2026 09:58:04 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 for-4.22] x86/cpu-policy: set up host policy earlier To: Jan Beulich , "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , Marek Marczykowski , Teddy Astie References: Content-Language: en-US From: Oleksii Kurochko In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-purgate-ID: tlsNG-ef75cf/1783065486-7F53025E-1AEC714D/10/73395122804 X-purgate-type: spam X-purgate-size: 694 On 7/3/26 8:26 AM, Jan Beulich wrote: > In order to use cpu_has_* expanding to host_cpu_policy.*, the host policy > needs setting up alongside boot_cpu_data.x86_capability[]. Arrange for > that towards the end of identify_cpu(). Then make sure .x86_capability[] > and host policy remain in sync when setup_{force,clear}_cpu_cap() are > used. > > Rename the function now it's no longer static. > > Fixes: 894bd7617924 ("x86/Intel: use host CPU policy for ARAT checking") > Reported-by: Marek Marczykowski-Górecki > Signed-off-by: Jan Beulich Release-Acked-by: Oleksii Kurochko ~ Oleksii