Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2341954imm; Wed, 3 Oct 2018 02:16:00 -0700 (PDT) X-Google-Smtp-Source: ACcGV61u5IIf6a6gy82mTHmULF1yYCBHuDFVJwTFygGHhYbZxZNnaZuRm4RPhMXtcdFeFL8TxrYJ X-Received: by 2002:a62:1a92:: with SMTP id a140-v6mr593517pfa.219.1538558160203; Wed, 03 Oct 2018 02:16:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538558160; cv=none; d=google.com; s=arc-20160816; b=mJFzUgPXfUNrYY2GVoDAbyGKwGTHoqdetXpUFVSqGMq4CkxYLfg7SbwjIBIPAwcYpQ fTqgooVrpmCCt7JC+A3/yVDjiQyWSZGY+IaTFbHIMTdyN6/8r+k5G1vF8azFplzj8mOn xgTwWefypPw160z6CvDHDzdzZJx59H6g5Q6pba5tCWA0OFKNLpEQzGqezMAShcq3jMW8 S4rxm2YfVA/lKD5XIK0IOeyAe1uNL+FcXRcpGIQb0Qa/Rt3zxaSWBpmGH+8/V3KaA0tg 1HCapDahgYfK6vQozVNCFMXEIpcLYqNwxMkeqdoOzukIGBmubrON/BDbmVbnyoBV+qjL 5eCQ== 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:dkim-signature:dkim-filter; bh=OJGtlu4YJA72QRgbkRsDEf+Z5Ejz9Z/B9haxFMQHxqI=; b=PJ7Snhwo8d3zmDa57OtxFXeD8fyNsuLggSV65c38vO+VottHr3TiFazRBNjZPT31ih 2pT8DHbbsqGNlNEGR8IKtYL/Z8fzYejKPz0Enb7ph+tgFhnIgYJ/k683cJfemoVHopWo el2aErdNOXuCj3kI97CgiBfOJSM0+jnxkimIWt75Q0gFynF/0iQCQLli8z/b5aFO2Pra 33CkTER9A3bJeN2Avi5eGWixtAPF1SZBezfvNCkOV5SR2zWJtPdNLRR16DuGJmBUpAox w9CmIw3ok9aMfxrrZWav+PuNGU/EvQuCcspzFo29+CsDyv2JcztDvz3fT7LDVRJ8mtuA GCfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxbox.cz header.s=default header.b=O1kS7ZnZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e2-v6si1189017pfh.64.2018.10.03.02.15.44; Wed, 03 Oct 2018 02:16:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxbox.cz header.s=default header.b=O1kS7ZnZ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727546AbeJCQDJ (ORCPT + 99 others); Wed, 3 Oct 2018 12:03:09 -0400 Received: from gwu.lbox.cz ([62.245.111.132]:35488 "EHLO gwu.lbox.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727188AbeJCQDJ (ORCPT ); Wed, 3 Oct 2018 12:03:09 -0400 Received: from linuxbox.linuxbox.cz (linuxbox.linuxbox.cz [10.76.66.10]) by gwu.lbox.cz (Sendmail) with ESMTPS id w939Emwi025806 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 Oct 2018 11:14:48 +0200 DKIM-Filter: OpenDKIM Filter v2.11.0 gwu.lbox.cz w939Emwi025806 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxbox.cz; s=default; t=1538558090; bh=OJGtlu4YJA72QRgbkRsDEf+Z5Ejz9Z/B9haxFMQHxqI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O1kS7ZnZbK1aDoaI3CR9vVgKEbWZ0ACVqDhiia/ijWS/0wfgun3dO6mEZ49NtdHGF 4R/DYdxHuTv1LU1456fNvrreicYQe88RH22dmHdDqNTgdixjlCmsmBt9EHbENVfT/n R3vYlud+rrl6PwXpQS/NThWEC6vYcMX2Kyh7wTIE= Received: from pcnci.linuxbox.cz (pcnci.linuxbox.cz [10.76.3.14]) by linuxbox.linuxbox.cz (Sendmail) with ESMTPS id w939EmMg017051 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 3 Oct 2018 11:14:48 +0200 Received: from pcnci.linuxbox.cz (localhost [127.0.0.1]) by pcnci.linuxbox.cz (8.15.2/8.15.2) with SMTP id w939EkPP008799; Wed, 3 Oct 2018 11:14:46 +0200 Date: Wed, 3 Oct 2018 11:14:46 +0200 From: Nikola Ciprich To: Andy Lutomirski Cc: Greg KH , LKML , stable , Thomas Gleixner , Matt Rickard , Borislav Petkov , jason.vas.dias@gmail.com, David Woodhouse , Peter Zijlstra , Andi Kleen , Nikola Ciprich Subject: Re: [PATCH 4.14 114/165] x86/vdso: Fix vDSO build if a retpoline is emitted Message-ID: <20181003091446.GD31855@pcnci.linuxbox.cz> References: <20180903165655.003605184@linuxfoundation.org> <20180903165701.245301231@linuxfoundation.org> <20181002080655.GV31855@pcnci.linuxbox.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Antivirus: on proxybox by F-Secure antivirus, database version 2018-10-03_04 X-Scanned-By: MIMEDefang v2.74/SpamAssassin v3.004001 on proxybox (nik) X-Spam-Score: N/A (imported whitelist) X-Milter-Copy-Status: O Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andy, yes, it indeed does fix the problem. Thanks! nik On Tue, Oct 02, 2018 at 09:27:21PM -0700, Andy Lutomirski wrote: > On Tue, Oct 2, 2018 at 1:21 AM Nikola Ciprich > wrote: > > > > Hi Greg and others, > > > > sorry for reporting this so late, but still... > > > > this breaks build on older compilers, since it requires > > -mindirect-branch=thunk-inline -mindirect-branch-register even though > > retpoline support is disabled in kernel config.. is this expected? > > > > Nope, my patch was buggy. Can you test the fix I just sent? > -- ------------------------------------- Ing. Nikola CIPRICH LinuxBox.cz, s.r.o. 28.rijna 168, 709 00 Ostrava tel.: +420 591 166 214 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@linuxbox.cz -------------------------------------