Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp858160imm; Sun, 2 Sep 2018 01:16:07 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZwG3KHLj5i13LJ2Sye1sq6KX1D/BEvHj4KoNum7B+kUhXci/dfQipE85vdaqcXalTs4rL1 X-Received: by 2002:a62:3001:: with SMTP id w1-v6mr23703211pfw.19.1535876167485; Sun, 02 Sep 2018 01:16:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535876167; cv=none; d=google.com; s=arc-20160816; b=PKPpJbIwTYAf8w2QXRaEFCj/YMy59IijNBXRnWNXeOY+oXYkU1Wiaf6H6OorwMcyk2 DbN28yUaA0Pw7W83A4347U9dhvQXCeaCBxGV2glLARQOzZyjX1yRWOFi13h3jADLDoqc yc616sd7Ag0TROjUbaCLUtWaj976Mh5nMWMriB1BJSCut9P82YwLeF9jEilUrgekH8WL MdB8jA3uZVphuLuXiWXlA/H8PF7YQEZyfZRf6WwXp37+7iHHePCeLzzEzq7YLlOKkBur g6v3DhhVFQP+oWNMrUll8VktP9av3+Z6gzUwFX/BDVNg7jTtipMN9VxZvTHYzRDra4uX Y3MQ== 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:arc-authentication-results; bh=5+csTKAKjmiIxzUnNNHFUVZGkU9DR1FPAuAj3U58Z4I=; b=ziZ31IAVsYIOzOCZAWr5B4VEhzK9FjumkodAnbYOKpGVXrVXDVexN9GaT1g2NVPuYy 6czWaE+pI8gJg6vAeGVkRrizIvjVzSbVsk6UX5dtOfwWLea6LmltyThvdp54ou1A7KBl stkhBy8Zb6uxI6yn72S4Cr1XQUrX5MQUrXkCEqOpy/vvHEhs81xPZZH5QswQRBkrJiDd HHfMH2ocXRHBA9K4JYG6MUcOjBhJ+IvLoyrhQVHAYXyNZO1pmaVtP3VxlwKHRLXvRnIk B1k63HxRp6qxxbC8xtiwTxPfQ91sjs5sTg0sJXj7ZXdgwP8vBbbYm/cvkWklx0feTFe+ k+bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QIdxXKIf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d130-v6si14434611pgc.189.2018.09.02.01.15.41; Sun, 02 Sep 2018 01:16:07 -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=@gmail.com header.s=20161025 header.b=QIdxXKIf; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726193AbeIBM2t (ORCPT + 99 others); Sun, 2 Sep 2018 08:28:49 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:42240 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbeIBM2t (ORCPT ); Sun, 2 Sep 2018 08:28:49 -0400 Received: by mail-pf1-f196.google.com with SMTP id l9-v6so7341991pff.9; Sun, 02 Sep 2018 01:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=5+csTKAKjmiIxzUnNNHFUVZGkU9DR1FPAuAj3U58Z4I=; b=QIdxXKIfyLsQO4AzG/vN1whEyRsukrE00zuvvbKssn4hVHZLLr8Y9EM7J5qYyAFH9r Nm59XyueMqAb7zPi5lTTpV438TXu5o+Ia4jxfPYgQMVOICRHwGmg4EgoupLnd+u1XoDI TrYnw0T1XrigSibllg/kCMSt/RWvsvVw1K8CWR7NVvRzn1OkdlPyTKqVu3BxKE/Tqphy itUnx+p83FNNRfJRyr/Bd8X06D02zZycZlcoPUqBHr6Pb8kFNP2EqX6ps39lMWnmTL7d It6sfWe60X4bDX4brEY4b1wGJeg5KD4PvnkUEmeB8SR0laqomoU2ojyWFwwy9RgvQA65 OH9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=5+csTKAKjmiIxzUnNNHFUVZGkU9DR1FPAuAj3U58Z4I=; b=kXt2praGc/8SjH4JcgDgzHqn1E7ZgeeA4Jebly24qblbDHX/N9tgZlCFsaKGRYVbSX +eG6YD5cwsvADIiL6n8E+Lb3X8rs6rb+jzko2y/nqFf88W7dP1KoBkoMam1WAltDXFja ixyvVMXmfwJZevYe8CRvnh/YTYb0ZdN/1L2BtEB85wxe6W0wr/Bf9/B7vlwbAvknxCTu N2Hyheymrr8E08H31Zn+z7IllBVbMOs6EnM6SWa2eWv9gOxBBjzZIvoUrjhWvmHCMMqw vBjNVI9QTCTP+E3P3u69mOy9VFVnctebeZIKguqtRhZwaoUW9hL7NUZ3tepcDgYRFJW6 oinQ== X-Gm-Message-State: APzg51AOdn6DW/4C271qGfF5Fb2DprVmaqdqqTm0/PNjrFUGAt44igZG hXQ8V4MrZCU+HNm4t5MREDk= X-Received: by 2002:a63:b812:: with SMTP id p18-v6mr21286065pge.156.1535876034023; Sun, 02 Sep 2018 01:13:54 -0700 (PDT) Received: from localhost (14-202-194-140.static.tpgi.com.au. [14.202.194.140]) by smtp.gmail.com with ESMTPSA id a16-v6sm16455953pgv.29.2018.09.02.01.13.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 02 Sep 2018 01:13:53 -0700 (PDT) Date: Sun, 2 Sep 2018 18:13:50 +1000 From: Balbir Singh To: Yu-cheng Yu Cc: x86@kernel.org, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-api@vger.kernel.org, Arnd Bergmann , Andy Lutomirski , Cyrill Gorcunov , Dave Hansen , Florian Weimer , "H.J. Lu" , Jann Horn , Jonathan Corbet , Kees Cook , Mike Kravetz , Nadav Amit , Oleg Nesterov , Pavel Machek , Peter Zijlstra , "Ravi V. Shankar" , Vedvyas Shanbhogue Subject: Re: [RFC PATCH v3 00/24] Control Flow Enforcement: Shadow Stack Message-ID: <20180902081350.GF28695@350D> References: <20180830143904.3168-1-yu-cheng.yu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180830143904.3168-1-yu-cheng.yu@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 30, 2018 at 07:38:40AM -0700, Yu-cheng Yu wrote: > The previous version of CET patches can be found in the following > link. > > https://lkml.org/lkml/2018/7/10/1031 > > Summary of changes from v2: > > Move Shadow Stack page fault handling logic to arch/x86. > Update can_follow_write_pte/pmd; move logic to arch/x86. > Fix problems in WRUSS in-line assembly. > Fix issues in ELF parser. > Split out IBT/PTRACE patches to a second set. > Other small fixes. > Quick question -- is there a simulator or some other way you've been testing this? Just curious, if it's possible to run these patches or just a review and internal hardware/simulator where they are run and posted Balbir Singh.