From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751795AbeA2LTq (ORCPT ); Mon, 29 Jan 2018 06:19:46 -0500 Received: from mondschein.lichtvoll.de ([194.150.191.11]:56001 "EHLO mail.lichtvoll.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297AbeA2LTp (ORCPT ); Mon, 29 Jan 2018 06:19:45 -0500 From: Martin Steigerwald To: Martin Steigerwald Cc: David Woodhouse , Linus Torvalds , Linux Kernel Mailing List Subject: Re: Requirements for retpoline in Linux 4.15 (was: Re: Linux 4.15) Date: Mon, 29 Jan 2018 12:19:44 +0100 Message-ID: <5520835.tArHHOCcxE@merkaba> In-Reply-To: <5326624.8I3Ve3uUFt@merkaba> References: <1517219630.6624.120.camel@infradead.org> <5326624.8I3Ve3uUFt@merkaba> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Martin Steigerwald - 29.01.18, 11:42: > > Try removing .cache.mk which has 'remembered' that your GCC doesn't > > support retpoline. > > I bet there have been "*.cache.mk" files around from previous pre gcc-7.3 > compiles. > > Trying again after > > % find -name ".cache.mk" -delete > > on kernel source tree. > > Will report back. The whole thing works: % grep . /sys/devices/system/cpu/vulnerabilities/* /sys/devices/system/cpu/vulnerabilities/meltdown:Mitigation: PTI /sys/devices/system/cpu/vulnerabilities/spectre_v1:Vulnerable /sys/devices/system/cpu/vulnerabilities/spectre_v2:Mitigation: Full generic retpoline I bet the virtualbox modules compiled by virtualbox-dkms will taint the support, but I bet sooner or later they will support retpoline as well. (Another reason to switch to KVM one day.) Thank you. -- Martin