[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YkxNFyXqC12nXyfM@hirez.programming.kicks-ass.net>
Date: Tue, 5 Apr 2022 16:07:19 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Wyes Karny <wyes.karny@....com>
Cc: linux-kernel@...r.kernel.org, Lewis.Carroll@....com,
Mario.Limonciello@....com, gautham.shenoy@....com,
Ananth.Narayan@....com, bharata@....com, len.brown@...el.com,
x86@...nel.org, tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, hpa@...or.com,
chang.seok.bae@...el.com, keescook@...omium.org, metze@...ba.org,
zhengqi.arch@...edance.com, mark.rutland@....com
Subject: Re: [PATCH] x86: Prefer MWAIT over HALT on AMD processors
On Tue, Apr 05, 2022 at 06:30:21PM +0530, Wyes Karny wrote:
> +static inline bool early_mwait_supported(const struct cpuinfo_x86 *c)
> +{
> + if (c->x86_vendor == X86_VENDOR_INTEL)
> + return true;
> +
> + if (c->x86_vendor == X86_VENDOR_AMD && cpu_has(c, X86_FEATURE_ZEN))
What about Hygon? For some reason you guys don't co-ordinate and we end
up getting endless 'make-same' patches, sometimes separated by years :/
> + return true;
> +
> + return false;
> +}
Powered by blists - more mailing lists