Return-Path: Received: from mail.linutronix.de (193.142.43.55:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 08 Apr 2020 20:33:26 -0000 Received: from mga07.intel.com ([134.134.136.100]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1jMHO0-0004Bz-EH for speck@linutronix.de; Wed, 08 Apr 2020 22:33:25 +0200 Received: from localhost (mtg-dev.jf.intel.com [10.54.74.10]) by smtp.ostc.intel.com (Postfix) with ESMTP id F10DB6363 for ; Wed, 8 Apr 2020 20:33:19 +0000 (UTC) Date: Wed, 8 Apr 2020 13:33:20 -0700 From: mark gross Subject: [MODERATED] Re: [PATCH 2/3] V5 more sampling fun 2 Message-ID: <20200408203320.GB136636@mtg-dev.jf.intel.com> Reply-To: mgross@linux.intel.com References: <87imibjpev.fsf@nanos.tec.linutronix.de> MIME-Version: 1.0 In-Reply-To: <87imibjpev.fsf@nanos.tec.linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Tue, Apr 07, 2020 at 05:17:44PM +0200, speck for Thomas Gleixner wrote: > Mark, > > speck for mark gross writes: > > + > > +static bool __init cpu_matches(unsigned long which, const struct x86_cpu_id *table) > > { > > - const struct x86_cpu_id *m = x86_match_cpu(cpu_vuln_whitelist); > > + const struct x86_cpu_id *m = x86_match_cpu(table); > > Can this and the fixup of the caller please be in a separate patch? Sure but, as a stand alown patch (outside the context of the srbds changes) making the x86_cpu_id pased by pointer instead of a hard coded global is a bit un-motivated. Is it ok of I keep it as part of the SRBDS patchset and not post it separately to lkml? --mark