Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1013592pxk; Fri, 25 Sep 2020 04:04:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFpa4xErbOcIhaslTtOSocrE6LWAiQHK2NKvQ0WWp7Wf9Oya3onEP5tymmUAL+Kl/6qJUC X-Received: by 2002:a05:6402:1d0f:: with SMTP id dg15mr701865edb.342.1601031877925; Fri, 25 Sep 2020 04:04:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601031877; cv=none; d=google.com; s=arc-20160816; b=PSbj5EoVbCG7hUqDEXdfzCsf0YpbNah3neZi92ypyz9tEDMhpTY2vjaiaCq+qYu3/j XXcIFSM/fdspVmGa2bI0mkhIwm1tOIysyAJP41ZWHf9HL5IWrafQ31kkcUgU+7WOzpA6 t3LQfgqmYpV+39edPY5IZI28FSKt/TekzcTXpPpAjkB1bRpjdZAyqAZQzVJMXcK6rSBY Gh31vDN0H/tGSDOrEYlFoMMhUODa+lW7eyXm50JcsJFAoTY+NqILy9xOeUhjTW78YiQi CVV6sYbMmDc4Od++UtiywFYy1v5f8OpQDmpKkzVy+HdWxcjhpcVhmC5Ip1VyvCyw2R0R CJbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=fNdHw9Ov0pl87mL7gKiH9xcP1yvTy2FhXS2tnIfIVeU=; b=SMU7fRNkTizCw6XDR/s0uUIdzECL6R4myFl+arPoW9SSSW5MI+yGNMHXl756DLo7rS gtoNIIgyaDILY4GzE5Byc4Gks3TnCb5oCO3AnW7UG9YsKiXzpheEiVPptSLdDnVNv3mN ej+uwJkHP/rfyjUTj2gXeA28HxTm9uZohpXYjYFuF+Z/DHUhZk6WBH5zmEpXdE7sxLBf oztPTbP4nKnxHQ7nzjaRo9xFt/eyIP7OlURrD7TbKwNIV9/oJmlmKq+QDfKot3U67Chl 67okZY+hnM+z/mxSyrQup9VCc17ulqljceM57kV/3wnbD+gdqQaEO2iOtKJiewIsSQse C4mg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r24si1655027edc.149.2020.09.25.04.04.14; Fri, 25 Sep 2020 04:04:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728043AbgIYLAi (ORCPT + 99 others); Fri, 25 Sep 2020 07:00:38 -0400 Received: from mga11.intel.com ([192.55.52.93]:55003 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727402AbgIYLAh (ORCPT ); Fri, 25 Sep 2020 07:00:37 -0400 IronPort-SDR: c99qNP3mrz4w6DYAcKWMSg1N1X8UM8/Ujb4yqXO4onauyGCy9JDg/oI8ZSqVBmjYAwya7Xqcou iK3E4t5b9U/A== X-IronPort-AV: E=McAfee;i="6000,8403,9754"; a="158846068" X-IronPort-AV: E=Sophos;i="5.77,301,1596524400"; d="scan'208";a="158846068" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2020 04:00:37 -0700 IronPort-SDR: 6/QwGSb55DvHkqbLuAcYtfDExzrdROMhipGG+B2MoEoLS7mAdi0X2dPRglSdtJbwj1MwqXw1T1 31wcogW6ioiw== X-IronPort-AV: E=Sophos;i="5.77,301,1596524400"; d="scan'208";a="455785078" Received: from tjhenson-mobl.amr.corp.intel.com (HELO localhost) ([10.252.48.117]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2020 04:00:30 -0700 Date: Fri, 25 Sep 2020 14:00:28 +0300 From: Jarkko Sakkinen To: Borislav Petkov Cc: x86@kernel.org, linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org, Jethro Beekman , akpm@linux-foundation.org, andriy.shevchenko@linux.intel.com, asapek@google.com, cedric.xing@intel.com, chenalexchen@google.com, conradparker@google.com, cyhanish@google.com, dave.hansen@intel.com, haitao.huang@intel.com, josh@joshtriplett.org, kai.huang@intel.com, kai.svahn@intel.com, kmoy@google.com, ludloff@google.com, luto@kernel.org, nhorman@redhat.com, npmccallum@redhat.com, puiterwijk@redhat.com, rientjes@google.com, sean.j.christopherson@intel.com, tglx@linutronix.de, yaozhangx@google.com Subject: Re: [PATCH v38 17/24] x86/sgx: ptrace() support for the SGX driver' Message-ID: <20200925110028.GC180915@linux.intel.com> References: <20200915112842.897265-1-jarkko.sakkinen@linux.intel.com> <20200915112842.897265-18-jarkko.sakkinen@linux.intel.com> <20200922154424.GL22660@zn.tnic> <20200923132037.GA5160@linux.intel.com> <20200923161733.GP28545@zn.tnic> <20200924115119.GD56811@linux.intel.com> <20200924155751.GJ5030@zn.tnic> <20200924203859.GD108958@linux.intel.com> <20200924204022.GE108958@linux.intel.com> <20200925075301.GE16872@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200925075301.GE16872@zn.tnic> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 25, 2020 at 09:53:01AM +0200, Borislav Petkov wrote: > On Thu, Sep 24, 2020 at 11:40:22PM +0300, Jarkko Sakkinen wrote: > > I'm not sure if I said it already but I also added cc to linux-mm (same > > CC's in the patch as with mprotect callback commit). This should also > > have mm ack I think. > > Why? This is adding ptrace functionality to enclaves which is purely > arch/x86/. You are right. No changes to vm_operations_struct itself. > -- > Regards/Gruss, > Boris. > > https://people.kernel.org/tglx/notes-about-netiquette /Jarkko