[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a8313b8a-0f77-49de-b079-35c372f27c85@intel.com>
Date: Thu, 22 Aug 2024 09:26:09 -0700
From: Reinette Chatre <reinette.chatre@...el.com>
To: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>, "Muhammad
Usama Anjum" <usama.anjum@...labora.com>, Shuah Khan <shuah@...nel.org>,
<linux-kselftest@...r.kernel.org>
CC: <linux-kernel@...r.kernel.org>, Shaopeng Tan
<tan.shaopeng@...fujitsu.com>, Fenghua Yu <fenghua.yu@...el.com>
Subject: Re: [PATCH v2 1/3] selftests/resctrl: Generalize non-contiguous CAT
check
Hi Ilpo,
On 8/22/24 1:11 AM, Ilpo Järvinen wrote:
> arch_supports_noncont_cat() checks if vendor is ARCH_AMD and if that is
> not true, ARCH_INTEL is assumed which might not be true either because
> get_vendor() can also return zero if neither AMD nor Intel is detected.
>
> Generalize the vendor check using switch/case logic and return false
> for unknown vendors.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
> Reviewed-by: Muhammad Usama Anjum <usama.anjum@...labora.com>
> ---
Acked-by: Reinette Chatre <reinette.chatre@...el.com>
Reinette
Powered by blists - more mailing lists