Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp129897ybg; Mon, 27 Jul 2020 17:56:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpaJYzUgoFhgfCPnyQxVwA0DUSFdFWIAt3u3gcMq/6z50AW8PuzRnLG8kScKyqSjDLAxsv X-Received: by 2002:aa7:c991:: with SMTP id c17mr24036593edt.278.1595897791578; Mon, 27 Jul 2020 17:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595897791; cv=none; d=google.com; s=arc-20160816; b=ibK6+ZdY1BH5M7gTsK8XGP0u6BWO5nq19ziVBqDUaui9n5YAnIXOQyhNa202L5yzeL AurHeQHOloBS68w6BeT4iR3dsShtIHPppYk1BjWHAQNjIlILOyggpYSG1BpJAipOk1cH +qAdzY8yW6Eb4mNsZJzrUwMn681LFZXxQp6aVTriIm1jpNJu7ogD+0NLvw0QGIDmuvju PaSQM1ksFZczSjSTtm4a6gJ2y0tNvjnR36LCuMuF/yF7OQjQSQjqQxyVmNDVjLz3NpbA NZYuCh/aSOrSDaczW7wj1mM4ppuwDD6Sy3rFoi3nbQM+OsR15c4JRWQz/i6wFmlQdqUW jdrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=ICTZVV9iRw9U8WNL9kG7XSB2HGibGwI7ZUyN/kfUH9I=; b=V8BqKW863idNLqrR92BHfgK+ADhRWcum1UpMMagTuhPX6Vez/6/oJpUgecQsECtWFI WMBhr5JaVMPVwRDFTmQssGD+OOfjXCTT3rM6mt+88laktd5UOpJzoODNS5BjhVBkU9HL l5UHFzB9TA6WwyCt/DrLWzBsRFi2SpncJkZqiX3sWH9lnzTA563eDugiKkvDfF2Gk9hy 2xbXCc1gTOhCORxpKnQhO0u0XB0NhOQjJ2y5wdglSv3JOmJZvnKV9i6WzEaZpRokqAJ3 tMzVozcobQDp7ozL/ItGqRgLCrwub5P1MM0UcK0vEQSno9l4r/Y8g7XMOJ7PGTqa4gEq tzOQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d11si5174476edr.595.2020.07.27.17.56.08; Mon, 27 Jul 2020 17:56:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726268AbgG1Azz (ORCPT + 99 others); Mon, 27 Jul 2020 20:55:55 -0400 Received: from mga03.intel.com ([134.134.136.65]:9773 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726139AbgG1Azy (ORCPT ); Mon, 27 Jul 2020 20:55:54 -0400 IronPort-SDR: h5p0olUpGF9ooLhzNfQfIDrrrgTNdKsHyz7GB6QZJRvM30z2WzCLdHZJPh3YA7QqY7p7GPLcm1 i2z3Ztf14Lmg== X-IronPort-AV: E=McAfee;i="6000,8403,9695"; a="151116580" X-IronPort-AV: E=Sophos;i="5.75,404,1589266800"; d="scan'208";a="151116580" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2020 17:55:53 -0700 IronPort-SDR: kffFnXfuJa226G3x+5zKZm7o0hRAail1hqbvUI0+Kzhm5u/CfXd0H4FgT0FvUsj/Of0ROKJhVP wVLS52a/mL6A== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,404,1589266800"; d="scan'208";a="272157472" Received: from ranerica-svr.sc.intel.com ([172.25.110.23]) by fmsmga007.fm.intel.com with ESMTP; 27 Jul 2020 17:55:52 -0700 Date: Mon, 27 Jul 2020 17:55:32 -0700 From: Ricardo Neri To: hpa@zytor.com Cc: peterz@infradead.org, Thomas Gleixner , Ingo Molnar , Borislav Petkov , Andy Lutomirski , x86@kernel.org, Dave Hansen , Tony Luck , Cathy Zhang , Fenghua Yu , Kyung Min Park , "Ravi V. Shankar" , Sean Christopherson , linux-kernel@vger.kernel.org, Ricardo Neri , Dave Hansen , linux-edac@vger.kernel.org Subject: Re: [PATCH 4/4] x86/cpu: Use SERIALIZE in sync_core() when available Message-ID: <20200728005532.GC23421@ranerica-svr.sc.intel.com> References: <20200727043132.15082-1-ricardo.neri-calderon@linux.intel.com> <20200727043132.15082-5-ricardo.neri-calderon@linux.intel.com> <20200727082003.GD119549@hirez.programming.kicks-ass.net> <2A0D15F3-BAF2-47CE-AF5F-DB681793D07D@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2A0D15F3-BAF2-47CE-AF5F-DB681793D07D@zytor.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 27, 2020 at 05:47:32AM -0700, hpa@zytor.com wrote: > On July 27, 2020 1:20:03 AM PDT, peterz@infradead.org wrote: > >On Sun, Jul 26, 2020 at 09:31:32PM -0700, Ricardo Neri wrote: > >> +static inline void serialize(void) > >> +{ > >> + asm volatile(".byte 0xf, 0x1, 0xe8"); > >> +} > > > >Can we pretty please have a comment with the binutils version that has > >the mnomic? Such that when we increase the required binutils version we > >can grep for this. > > It also needs : : : "memory" to be a barrier. Sure Peter, I will make this change. Thanks and BR, Ricardo