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

Re: [PATCH 1/5] x86/ler: use feature flag to check if option is enabled


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 30 May 2022 17:00:34 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aFZnTIPSQmrjSCAVP9r3zLYtol5eD79EffaNGwY4bp4=; b=hjLJ8J1y103P83PI9N2Joizyo8cFEougGtWoqDs+w+l5r4oISHrFX+7pdAOo2J+7M734bX45rHpW5clPgFYnHo8S9mE7pPHkB3nzbGYD8aMA0S35ES+fPsFaHogoxBI6yTcaTlX7ePn9ZHiLhKL5LSfeyMqxQYK9enAfYVdA0IMhvd7oI0cbMOdS0x602D0qwhmg3lpd+Xz6OgVs79FC4g9PCE9JpUTm+K0RlguPhVYrdmJZxy81dv8t6851FTvzYKdhDjGL0cWUYfZtP3rKXM9TrtmJcYNIkcvlR/DlocShapprx4VGYbvcJ9CzeKUzP18monKVBG9DK/t2xd0cWg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mcpCnT1E0/yQqr2ozRJ4kbzszNjb75JUZCia/c70rFHO5DBJgzbQUbjwkWt6eUBd3+ggDZQKlcgugfz0sDxZtCn0h42ypB4HX6GyZgIK/hiNXEKPRTqq0wyjqttpfFijScS2yHmoZTOuE0X5JJNm89E0CfHwcFD0eCCyvGiMh2HDchhw8L3OKS+IkQUJ4uC6APBI2S2XywF2WtbKDw3W/x+R+APWt8H3l3Iy54HTeUkuq2gfYKlMsGQqUUlaat07qcdnT5ZesBKU3rTKRjBEbEIq50ItGALAYfLczzyAwE2sVdNy5HRLQJmHonvktKa/g1BRMWXjeafJMJqsxFJGXg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 30 May 2022 15:00:57 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 20.05.2022 15:37, Roger Pau Monne wrote:
> It's more consistent with the rest of the usages of cpu_has_xen_lbr.
> 
> No functional change intended.
> 
> Signed-off-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

I wonder though whether the use as a conditional in percpu_traps_init()
wouldn't then better also be replaced, for being consistent.

Jan




 


Rackspace

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