Received: by 10.223.148.5 with SMTP id 5csp7568980wrq; Thu, 18 Jan 2018 06:59:10 -0800 (PST) X-Google-Smtp-Source: ACJfBotkJLA8guyejq+JArpuht2cvsObYWeTJjG2hBkA7QuKKdlI6zbU+qMeej7SFcUEZ9qU7ERI X-Received: by 10.99.110.138 with SMTP id j132mr10213975pgc.313.1516287549886; Thu, 18 Jan 2018 06:59:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516287549; cv=none; d=google.com; s=arc-20160816; b=Mat6ADrVVjiZwDyQ9LjFjrYUudRt4BFC65HvwPjrOLT/1QIsdXAG0uCA6qPzAt/4Ge Oiqpt6rpOgN3Lo0aAQmVzOonq05QPNzXZrc0Lg/MDAHLouenG1Xg7ITK+wX8n1XI3pN4 aUemWcZN4nm/U6Ue5/AEbQYAqdL9fTd+DeAQcshbrO/6aAMOjZFF5tBgTA9+wYgQtuUZ ZImFPa2V/y4HNOtTNfnAvbKXuaKecjXVhRRjUJBHO/kPHCOIMNvljwcP5bdlsnMulI/s hPfqSdppxCCqVmdB9YXq1LEqE2OipgpVwnaLvP85bdndrIy4OeCi5fVznY1RRxJ+o7u4 USsg== 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:arc-authentication-results; bh=etJA7L6hko+wKhWSfbVQtcwHu04DP6APAHnKEfiAcm4=; b=msen2WXkzJSjn0aNq6dkbHj43KMn8B/Tuk323vT+vK25Aq/+Ibq9TgSoxN/4d10Cij WTQdadTAwiHMtwA5brRj2WeNuOd/o9j60Oa976pmsaHnxU1Dhddhc9JAc/a8kIMRrA/4 7HQov9LAVSKMmYT/jGvzAkVxjFflN7WhEMpd2qy9QngSEK8JlS5uxbW/ZdlDDjgNBQUo o3unFcLFrSKlEN2p/3gG4uBpV+Y8GAF5bZRMlJ1ZnBwyb6T3t+MS6P/QAlpodJOt2Lg3 yXCrvAjVozThvznir0PoqRQ2nlXQ78oQDF3y0cs2xfExkF5c66wNnohD20SndamedVQS d6og== ARC-Authentication-Results: i=1; mx.google.com; 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 z75si7006825pfd.119.2018.01.18.06.58.56; Thu, 18 Jan 2018 06:59:09 -0800 (PST) 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; 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 S1755901AbeARNCJ (ORCPT + 99 others); Thu, 18 Jan 2018 08:02:09 -0500 Received: from mga01.intel.com ([192.55.52.88]:60684 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755155AbeARNCI (ORCPT ); Thu, 18 Jan 2018 08:02:08 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jan 2018 05:02:06 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,377,1511856000"; d="scan'208";a="20760349" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.35]) by FMSMGA003.fm.intel.com with ESMTP; 18 Jan 2018 05:02:06 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 993B9300352; Thu, 18 Jan 2018 05:01:57 -0800 (PST) Date: Thu, 18 Jan 2018 05:01:57 -0800 From: Andi Kleen To: Masami Hiramatsu Cc: Ingo Molnar , David Woodhouse , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Arjan van de Ven , Peter Zijlstra , Ananth N Mavinakayanahalli , Thomas Gleixner , "H . Peter Anvin" Subject: Re: [PATCH v1 tip/master 0/3] kprobes/x86: retpoline: Fix kprobes for retpoline Message-ID: <20180118130157.GE7844@tassilo.jf.intel.com> References: <151627684798.24682.2979775081582774869.stgit@devbox> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151627684798.24682.2979775081582774869.stgit@devbox> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Side effect: [1/3] will move __x86_indirect_thunk_* functions > in kernel text area. Of course those functions were in the > .text area, but placed in right after _etext. This just moves > it right before the _etext. I assume you tested that with page table isolation on? The thunks need to be accessible from the trampoline. -Andi