Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp1013196ybg; Mon, 27 Jul 2020 05:49:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCc8S4GUPhEEoSbyOQIcDI5OYRQJSBFEWR1Mdfu0lMqUsTfIIpsNGKKcYinDuiNrk4lOXH X-Received: by 2002:aa7:c251:: with SMTP id y17mr12520126edo.13.1595854168466; Mon, 27 Jul 2020 05:49:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595854168; cv=none; d=google.com; s=arc-20160816; b=vHtFDJdTczZFPerihC28zCdV6xFp4tZWQtM5F2GPxs2hd8Twl4ks6ig0tLW4bXxGav YlHcdpcZu/9oBJp/YMuXytmXvAskpGLi6n6bWUDMdCTavwJcdzOz0Ctfg7A77F3hFW9R o8lnaVK+s3HbAF9MvubiQbrAoBAL6Vn+Icx3NARIsaei26b2y7p/1cx8g4kD37ntdcdy PLro5s7tbFT0SStFa/SIUJgLOETGIuI72F4bB+BnMlFX2WvkkooBqaa6rtIfCl4f5cRY lHsIPFlJ3qzi9Uu1BXZimC6ve0eQNQMWV8Jndv9gpAX8T9JqLXkw6yOdCY6Zyy+Qu6Ea 5JDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date:dkim-signature:dkim-filter; bh=b/MbukGZ+eI0XVt9S5a/NGcdwRTF+jS52qb9kmCntAI=; b=x+yRNjHcMJ0xrc0bG4dV5Zz6OSZ2zKGdl1f/mX4uoS7EClCjujfpfF9mH0nur0MS4f 7z82uu11+WWXz5PsVdj+huf2fp11dcIbz7fFGFUoj5AQguySYsmhsEki9vZbL2hZcNJI 8+gwlok+WxbOgDQX0BT/iqtOo/lwbB1fb1I+q3yYJWWF2Zg2pl/Tuv/Ga2TQIc0okOfT mt4khfQi6BxDCUxTPONJJW5+6c/JC2ikMJylknTV8RODbVY2ctkp1Na/uKDzmyK1BdIs 5NF5gV99I7OPjIMSjLt9zepAQy6k5bQal4Y8m3QkvIrgBGDddB6NrKyljcNeY9ZAoswY EdWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@zytor.com header.s=2020072401 header.b=EYw1AKGL; 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=zytor.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r5si5287576edo.130.2020.07.27.05.49.06; Mon, 27 Jul 2020 05:49:28 -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; dkim=fail header.i=@zytor.com header.s=2020072401 header.b=EYw1AKGL; 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=zytor.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728570AbgG0Mr5 (ORCPT + 99 others); Mon, 27 Jul 2020 08:47:57 -0400 Received: from terminus.zytor.com ([198.137.202.136]:37343 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728383AbgG0Mr5 (ORCPT ); Mon, 27 Jul 2020 08:47:57 -0400 Received: from [IPv6:2601:646:8600:3281:d01e:b6c6:1a24:9007] ([IPv6:2601:646:8600:3281:d01e:b6c6:1a24:9007]) (authenticated bits=0) by mail.zytor.com (8.15.2/8.15.2) with ESMTPSA id 06RCld9F2000589 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Mon, 27 Jul 2020 05:47:40 -0700 DKIM-Filter: OpenDKIM Filter v2.11.0 mail.zytor.com 06RCld9F2000589 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zytor.com; s=2020072401; t=1595854060; bh=b/MbukGZ+eI0XVt9S5a/NGcdwRTF+jS52qb9kmCntAI=; h=Date:In-Reply-To:References:Subject:To:CC:From:From; b=EYw1AKGLNbVEbStA6TEh9RjsHv6gSZ0zkozm804UOkcjLpklp7JL3KIh0122M+YXT FkuAutJ8P1r/87ZdWQQPikfsMhu2aF1gbRmshwLSQ6K+uONYWnPiUCA5WXioQQS7ML RDxhpt3D5opU4My56wXdaWqQheqIDWahpyyXxc450ojeyWFtru7FlMhCaC95UVOnqz ZV+J3A4zoNLLeqvgCSLdixRoVGrbnuYuyAVubCWxyUSZE5OKZHbzUjHb7LMTgS6nHP 1UaP7/cXmVWin5WoFdbgFdb2DuZV/9uGKhar9EfwE02iOsmcjuI6H4pAGlZcvg6NJV /fGYjgHiHZQ3w== Date: Mon, 27 Jul 2020 05:47:32 -0700 User-Agent: K-9 Mail for Android In-Reply-To: <20200727082003.GD119549@hirez.programming.kicks-ass.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH 4/4] x86/cpu: Use SERIALIZE in sync_core() when available To: peterz@infradead.org, Ricardo Neri CC: 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 From: hpa@zytor.com Message-ID: <2A0D15F3-BAF2-47CE-AF5F-DB681793D07D@zytor.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On July 27, 2020 1:20:03 AM PDT, peterz@infradead=2Eorg wrote: >On Sun, Jul 26, 2020 at 09:31:32PM -0700, Ricardo Neri wrote: >> +static inline void serialize(void) >> +{ >> + asm volatile("=2Ebyte 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=2E It also needs : : : "memory" to be a barrier=2E --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E