Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751365AbeAGB2C (ORCPT + 1 other); Sat, 6 Jan 2018 20:28:02 -0500 Received: from mail-it0-f68.google.com ([209.85.214.68]:46174 "EHLO mail-it0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750739AbeAGB2B (ORCPT ); Sat, 6 Jan 2018 20:28:01 -0500 X-Google-Smtp-Source: ACJfBouYRAk/lDZ4v8hmkAy+1pXWdTNZnNYjRjVKB7BkdewO7jDh5GmxzPTScsh75ju6JhzGa4hmzlJ3NY7++Q+G0F8= MIME-Version: 1.0 In-Reply-To: References: <1515239374-23361-1-git-send-email-dwmw@amazon.co.uk> <1515239374-23361-6-git-send-email-dwmw@amazon.co.uk> From: Linus Torvalds Date: Sat, 6 Jan 2018 17:27:59 -0800 X-Google-Sender-Auth: zOqsmBchJoxVMfVZvnuxYS6VERY Message-ID: Subject: Re: [PATCH v5 05/12] x86/retpoline/ftrace: Convert ftrace assembler indirect jumps To: Thomas Gleixner Cc: David Woodhouse , Andi Kleen , Paul Turner , LKML , Greg Kroah-Hartman , Tim Chen , Dave Hansen , Kees Cook , Rik van Riel , Peter Zijlstra , Andy Lutomirski , Jiri Kosina , One Thousand Gnomes Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Sat, Jan 6, 2018 at 11:53 AM, Thomas Gleixner wrote: > On Sat, 6 Jan 2018, Linus Torvalds wrote: > >> >> [ Goes off and looks ] >> >> Oh. The AMD lfence version wants a register. Oh well. > > The register load could be put into the macro itself, though we need to > supply a scratch register Yeah, not worth it I suspect. I guess we can live with the register version. Linus