Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1343747rwe; Thu, 1 Sep 2022 17:19:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR6JqDD5mdeXCxHjzsgsLwzo+GPgChllhKt9UHtxQptHY7NU9yppjPCcwH1eK1SiRyk16oGW X-Received: by 2002:a05:6a00:cc5:b0:537:1c47:8b0 with SMTP id b5-20020a056a000cc500b005371c4708b0mr33394102pfv.25.1662077939827; Thu, 01 Sep 2022 17:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662077939; cv=none; d=google.com; s=arc-20160816; b=hW5n6AoFAFNSz5e/CuMnpJv9f9Kyqw3uJ4005WvyDMAhHwd5NbYb7+l7vvhnP6i2ff uxu1vpFeKPJ2kyIPCJ+p6pUq7rwXIH2Q9VdeAB37wlcZvSEhjt6mjpxnCHFfViM8uIud Q+yL3u7WHtz0CZ++5ZiR5nN3+2Yz6VRT69Fjkp8AoHsBWwYWNiCOPxAwst4ZGWmM6H5h qHxIqwDo75YES3PDQjI2oyQY79ZSDoev+a8grZQonIx8SRFx8eoYvncdI2mTrnmrWbQr Vt2iWPpbNSgWzsUrQftNKHhrlH46DgUX47lBceSVBzPhVg1Re1PAMIg+SYnZlPUrXH+D ErBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=D+Pb5TMv6oyD9kb9VaNrbeo7Gzu34gK210gxvjKNsCU=; b=Di/yR+WHI57CYSB6Ktv0Aw8T1ZLHP8KY2W0AqWgLr0tZbMxN+W8ko/LNOX/r0zHz+U i2op7Pxgo4StgiTKzJG2Yl0WGSjRWKfPlfzjftRjsGuJJR3LLvahXo0P7zQzPll0PbLV vw0hcib/ufGYpcNrJ6NfC0CE9UG2Ox0CUXxuv3Q6UrZ66z/o4x7sxb2oeKioc5LG6Nos favHtS7x9eT2Q6jZvrHgX3USXr1M4g/SUjRhPcGiEcuwt+m6Ni29yyHXdYTM2dUKCnLO ja061iDIXxvfWD3R+YL8E8kc9BpU7JviI47WXGiRGLHpaP+aE8q9zmbgzZRpTDjW0uyx pHWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V6CRMRAy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id me17-20020a17090b17d100b001fe30c193dbsi6186182pjb.133.2022.09.01.17.18.49; Thu, 01 Sep 2022 17:18:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=V6CRMRAy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234585AbiIBAAn (ORCPT + 99 others); Thu, 1 Sep 2022 20:00:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230151AbiIBAAj (ORCPT ); Thu, 1 Sep 2022 20:00:39 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21E1F3F1E2; Thu, 1 Sep 2022 17:00:39 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BC21662079; Fri, 2 Sep 2022 00:00:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9BB79C433D6; Fri, 2 Sep 2022 00:00:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1662076838; bh=QVuI6VbDm8mXD5ShzIumQFmyw/sWUX3u3OTJH3VBfl0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=V6CRMRAytUoMPRGIeY5TalnqtaV4IM6c6gOYpbOTFeieQUq5Uwt1fXmfBzYvILeRR fKXrap5lqPlGRoZ5ubd5O9iTRO6yP7fC1RWgS6eKHrkT9D9vJHlEf2R6MB4FthqwwU vX+o7YK/mN05IRzvsPC6Pv3Ljft3Q+RDxRbx+xq+BRP9q+5gm4IwYooLiJYXAAQtiL NGAv/Y/Ov7ZKVwRv6yD40QfKxAELPArWDEKxGopnIA/FNKVYNAaWYzGvW16FdVJiEB 41vKdvEX3TGyxk3ixxf5D1dLGgZ0vTbn2KkgtkxJQJMESZjXtxHSG+wOLm5uUeHv6l r7b8t0qoAQ4xA== Date: Fri, 2 Sep 2022 03:00:33 +0300 From: Jarkko Sakkinen To: Reinette Chatre Cc: linux-sgx@vger.kernel.org, Haitao Huang , Vijay Dhanraj , Dave Hansen , Shuah Khan , "open list:KERNEL SELFTEST FRAMEWORK" , open list Subject: Re: [PATCH 4/6] selftests/sgx: Add SGX selftest augment_via_eaccept_long Message-ID: References: <20220830031206.13449-1-jarkko@kernel.org> <20220830031206.13449-5-jarkko@kernel.org> <7c85f675-db1a-eb5c-2575-759d662a0ecd@intel.com> <793bd158-1e1b-2dad-5841-081d840d45d8@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <793bd158-1e1b-2dad-5841-081d840d45d8@intel.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 01, 2022 at 04:11:34PM -0700, Reinette Chatre wrote: > Hi Jarkko, > > On 9/1/2022 3:16 PM, Jarkko Sakkinen wrote: > > On Wed, Aug 31, 2022 at 11:09:02AM -0700, Reinette Chatre wrote: > >> On 8/30/2022 7:28 PM, Jarkko Sakkinen wrote: > >>> On Tue, Aug 30, 2022 at 03:55:47PM -0700, Reinette Chatre wrote: > >>>> On 8/29/2022 8:12 PM, Jarkko Sakkinen wrote: > > >>>> There seems to be at least three patches merged into one here: > >>>> 1) Update SGX selftests to create enclaves with provided size dedicated > >>>> to EDMM (this change causes a lot of noise and distracts from the test > >>>> addition). > >>>> 2) The mrenclave_ecreate() fix (which is still incomplete). > >>>> 3) The actual test addition. > >>> > >>> I would agree on this on a kernel patch but not for kselftest patch. It > >>> does not really give useful value here. This adds a test and that is a > >>> good enough granularity in my opinion, unless some major architecture > >>> work is required as precursory. It is not the case here. > >> > >> I must say that for many good reasons this goes against one of the > >> fundamental rules of kernel patches: separate logical changes into > >> separate patches. This is your domain though so of course the work > >> within it follows your guidance and I will not pursue it further. > > > > I don't consider kselftest patch exactly same as kernel patch > > You are not alone. > > > but I can split this. What would be good enough? > > I identified three candidate patches in my original response that > is quoted above, but as I mentioned I understand the sentiment > and this is your domain so I will not insist on it. OK, fair enough, I'll rework on this. It's my domain but at least my own aim is always only satisfy on consensus :-) BR, Jarkko