Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755002AbeAMNK0 (ORCPT + 1 other); Sat, 13 Jan 2018 08:10:26 -0500 Received: from merlin.infradead.org ([205.233.59.134]:59694 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751724AbeAMNKY (ORCPT ); Sat, 13 Jan 2018 08:10:24 -0500 Date: Sat, 13 Jan 2018 14:10:10 +0100 From: Peter Zijlstra To: David Woodhouse Cc: Andy Lutomirski , Thomas Gleixner , Borislav Petkov , Laura Abbott , X86 ML , Linux Kernel Mailing List , stable Subject: Re: Yet another KPTI regression with 4.14.x series in a VM Message-ID: <20180113131010.GJ3397@worktop> References: <9eb15489-da09-7a4c-0700-7b6eb99e6f7b@redhat.com> <20180113120847.GI3397@worktop> <1515846611.22302.567.camel@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1515846611.22302.567.camel@infradead.org> User-Agent: Mutt/1.5.22.1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sat, Jan 13, 2018 at 12:30:11PM +0000, David Woodhouse wrote: > On Sat, 2018-01-13 at 13:08 +0100, Peter Zijlstra wrote: > > > > ????????ALTERNATIVE "orq $(PTI_SWITCH_PGTABLE_MASK), \scratch_reg", > > ??????????????????? "orq $(PTI_SWITCH_MASK), \scratch_reg", X86_FEATURE_PCID > > > > Is not wanting to compile though; probably that whole alternative vs > > macro thing again :/ > > Welcome to my world. Try > > ?ALTERNATIVE __stringify(orq $(PTI_SWITCH_PGTABLE_MASK), \scratch_reg), \ > __stringify(orq $(PTI_SWITCH_MASK), \scratch_reg), \ > X86_FEATURE_PCID Doesn't seem to work, gets literal __stringy() crud in the .s file.