From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E3163C5517A for ; Fri, 6 Nov 2020 17:09:41 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 138EB2151B for ; Fri, 6 Nov 2020 17:09:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alien8.de header.i=@alien8.de header.b="Jr00Am4j" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 138EB2151B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=alien8.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 5BE766B0070; Fri, 6 Nov 2020 12:09:40 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 56F216B0072; Fri, 6 Nov 2020 12:09:40 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3E89C6B0073; Fri, 6 Nov 2020 12:09:40 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0072.hostedemail.com [216.40.44.72]) by kanga.kvack.org (Postfix) with ESMTP id 126CE6B0070 for ; Fri, 6 Nov 2020 12:09:40 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 41C408249980 for ; Fri, 6 Nov 2020 17:09:39 +0000 (UTC) X-FDA: 77454630078.24.coat90_280a702272d4 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin24.hostedemail.com (Postfix) with ESMTP id 368251A4A0 for ; Fri, 6 Nov 2020 17:09:38 +0000 (UTC) X-HE-Tag: coat90_280a702272d4 X-Filterd-Recvd-Size: 4256 Received: from mail.skyhub.de (mail.skyhub.de [5.9.137.197]) by imf41.hostedemail.com (Postfix) with ESMTP for ; Fri, 6 Nov 2020 17:09:36 +0000 (UTC) Received: from zn.tnic (p200300ec2f0d1f00ad832f6a7d59b60b.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:1f00:ad83:2f6a:7d59:b60b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 7D23F1EC026E; Fri, 6 Nov 2020 18:09:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1604682574; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=FzGOHxgdFFeHelsaYOqNWJeYXANMgxE7EbJYo4EdMas=; b=Jr00Am4jjEYCfvPjeuttXSa9t8ii+WUvKkBarHZ3oGbFn484LXogzBd/RIK7s+dCsZ6dij 8LE1ZMvj/dCTH170wk/IuYwOTuKvltfls4p7vPrrePSLzqzzfO4QwmrZs3aKMrhD0Qrf9z pq1/XNFGhI3+ry7Z2mxKsi+4zaXKn1I= Date: Fri, 6 Nov 2020 18:09:20 +0100 From: Borislav Petkov To: Jarkko Sakkinen Cc: Jarkko Sakkinen , x86@kernel.org, linux-sgx@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , Matthew Wilcox , Jethro Beekman , Haitao Huang , Chunyang Hui , Jordan Hand , Nathaniel McCallum , Seth Moore , Darren Kenny , Sean Christopherson , Suresh Siddha , 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, kai.huang@intel.com, kai.svahn@intel.com, kmoy@google.com, ludloff@google.com, luto@kernel.org, nhorman@redhat.com, puiterwijk@redhat.com, rientjes@google.com, tglx@linutronix.de, yaozhangx@google.com, mikko.ylinen@intel.com Subject: Re: [PATCH v40 11/24] x86/sgx: Add SGX misc driver interface Message-ID: <20201106170920.GF14914@zn.tnic> References: <20201104145430.300542-1-jarkko.sakkinen@linux.intel.com> <20201104145430.300542-12-jarkko.sakkinen@linux.intel.com> <20201105011043.GA700495@kernel.org> <20201105011615.GA701257@kernel.org> <20201105160559.GD25636@zn.tnic> <20201105175745.GA15463@kernel.org> <20201105181047.GH25636@zn.tnic> <20201106160742.GA46523@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20201106160742.GA46523@kernel.org> X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, Nov 06, 2020 at 06:07:42PM +0200, Jarkko Sakkinen wrote: > On Thu, Nov 05, 2020 at 07:10:47PM +0100, Borislav Petkov wrote: > > On Thu, Nov 05, 2020 at 07:57:45PM +0200, Jarkko Sakkinen wrote: > > > I'll rather send a full patch set if required. > > > > Why if the changes all belong to this patch and why should I take a > > patch which clearly needs improving? > > > > Just send the fixed version of this and I can take it now. > > > > Thx. > > Here's an update patch. I kept the name as sgx_encl_find() so and output > argument instead of return value, so that the change is localized. I > think this is good enough, i.e. the semantically obsolete stuff has been > wiped off. Thanks. > Tested-by: Jethro Beekman > Tested-by: Haitao Huang > Tested-by: Chunyang Hui > Tested-by: Jordan Hand > Tested-by: Nathaniel McCallum > Tested-by: Seth Moore > Tested-by: Darren Kenny Btw, you do know that when you change the patch, those tested-by's don't hold true anymore, right? The Reviewed-by's too, actually. I'll zap them. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette