Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1486025lqa; Mon, 29 Apr 2024 09:43:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUza49rpZO+snSE67J9tZbEuC17DUYXgQy0euVIHoppNSFOsCSGZWjYSFFBLR+z8CaWQ2wqucblpC0qJ3NW1myEBvotwiTTaV0M8Nic6g== X-Google-Smtp-Source: AGHT+IHwvr3LmwO3rhKVkC5W7zN9rAWX7xm8kFVq+QLIy/wU/GFpEL0nJhSR0QUnw8K8IXOBIc9K X-Received: by 2002:a05:6214:118b:b0:6a0:9607:a441 with SMTP id t11-20020a056214118b00b006a09607a441mr316251qvv.28.1714409001773; Mon, 29 Apr 2024 09:43:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714409001; cv=pass; d=google.com; s=arc-20160816; b=UilZLZVij8YRibY5sjEcOJ1MsgnqCINlBE6iZY1oDVBSKH7yTiGDUTiXHL2UyeKy7d c1ONh7QKBZ4r7SyqGQp1AX3q32veRiB675Yb7A+io/3vJhSfa6ZWbu1c+bF2uVeB+Av0 uvYEpxQaJ1Bw721+TasdouEeaOQbEZwaautTaoIsXHRA0R2V2d/T29kaLOomw7ByhnHA RgHmP3Wi33YYbYu4SpnyCZH9F9hFhO/64NFHzLc8FbbnpXotI4faGxQ3gXcPJwXs6NGW XIa71Jn+ihMa+uPxKALXG8UuGAxuZ9u4X5IG+QYwiLj1xbStwdsrXyoYk6gjFSoyqx7v 30EQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=GGpJNwUvB43S3h9Kn/S8xSF6S/TmpUGGDvIYeg3ztdA=; fh=WOlu8QJkhYW4GRzBKKAEev+7tIMydF8isBaruuj0yvk=; b=TPq1ODF89Fb1DFpWUB1lOaY1fcjj3Pn41kVIyPPtp2+W2KhLbOA/mYpbzNQJOZmvWl w0J9HKki2miooNhUJmYXY5e3nxlFMYJEOV2czrUFlC5QqqMn8ZOTcK7J1h6PnBHoCbpk vriFYGXrTi1GBsj2CjxZ2UxnR7ezHOmMbCYyQBPL/anHakwPtAG9E6I4980JcVvVgf4G X+GcaaobQ+f/u7OiMfwUUojtB6b8r2KOJhGlk0vVJojsgH3cs9bw9znWR/TI5XxcFBS8 e6zBCHhFcVTxwqnO7+sU+UcxVudKZlegkuM09Scoxg9Afc6KW5SEwHSXx45UORau/Aqo trFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eCohTSKX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-162704-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u8-20020ad45aa8000000b006a048f27d9asi28282980qvg.506.2024.04.29.09.43.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 09:43:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162704-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=eCohTSKX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-162704-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 70A4D1C218B2 for ; Mon, 29 Apr 2024 16:43:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 237978612E; Mon, 29 Apr 2024 16:43:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eCohTSKX" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 49D2184FDB; Mon, 29 Apr 2024 16:43:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714408992; cv=none; b=l+K+NJnoAu2I5GInODWG5aqPm+xGN3XycZqY1TeZ79O55IQ6x1QggL2+PDQjPD8FjnyyN06Y0PIj04KqcwwvkfOOkXABTnmrXHCSp/ss6H1sApzL09FzSckbHEafksSHWrsvumRpreh39kkgAzseD+S4Te4fHbSLiyVPVIfsqTc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714408992; c=relaxed/simple; bh=q/1QRQoyEhR6GEBHvBAQqcf2WKQozplDb6iCZ4SM6zc=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=me+cZR1rpBejycER8CDgw/7qglnW7GlVniaONkxG7yIhmFhpxWtnZtuLd6Zj06AEnTYkdP8l5nm2Rsss9izqXJ4+Zkmlm8LkFvaCfBt9fhswvcEQSXYb2qV0kUcTIvID1wzIXJv/hPk0/BK0tCuCXmbJzehxQbsjUGu5VKclJ00= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eCohTSKX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7106AC113CD; Mon, 29 Apr 2024 16:43:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714408992; bh=q/1QRQoyEhR6GEBHvBAQqcf2WKQozplDb6iCZ4SM6zc=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=eCohTSKXbTUQ1mr84Gs3u02SxVL1vp05+WpEDbIzrb6Tc9htO0Sf0c/uOvAdCRAuQ fpm8DSmSBZbOiL6RcUJ47YqcEiYJ+KMCF2AcA8fHYR4Y1eCE5kbkix0LuBG55IbGjc 1ttsijw+Cv6IO5mKYKXTwfiE64aqNTluyDSgzy6oxYXm+qn3Glj117MuiRPx49PmMN abyPNf2nJQnq+viVYE06vdu839vsgqyt1Zv9nHuur9cULQZwVLPo1NUXt8HBGGBs43 iU7nIIFrIFJolbLJsL77ZesTFA8l5tJlnbIMehYQ3mYJpj7q4+LPdkffszhegXf6GT QjiDEqKU+z+Gg== Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 29 Apr 2024 19:43:05 +0300 Message-Id: Cc: "mikko.ylinen@linux.intel.com" , "seanjc@google.com" , "anakrish@microsoft.com" , "Zhang, Bo" , "kristen@linux.intel.com" , "yangjie@microsoft.com" , "Li, Zhiquan1" , "chrisyan@microsoft.com" Subject: Re: [PATCH v12 14/14] selftests/sgx: Add scripts for EPC cgroup testing From: "Jarkko Sakkinen" To: "Haitao Huang" , "Dave Hansen" , "Huang, Kai" , "hpa@zytor.com" , "tim.c.chen@linux.intel.com" , "linux-sgx@vger.kernel.org" , "x86@kernel.org" , "dave.hansen@linux.intel.com" , "cgroups@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "mkoutny@suse.com" , "tglx@linutronix.de" , "Mehta, Sohil" , "tj@kernel.org" , "mingo@redhat.com" , "bp@alien8.de" X-Mailer: aerc 0.17.0 References: <20240416032011.58578-1-haitao.huang@linux.intel.com> <20240416032011.58578-15-haitao.huang@linux.intel.com> <6b056faa6de2ba3a15c2e5dd576e96e3f85375ba.camel@intel.com> In-Reply-To: On Mon Apr 29, 2024 at 7:18 PM EEST, Haitao Huang wrote: > Hi Jarkko > > On Sun, 28 Apr 2024 17:03:17 -0500, Jarkko Sakkinen = =20 > wrote: > > > On Fri Apr 26, 2024 at 5:28 PM EEST, Dave Hansen wrote: > >> On 4/16/24 07:15, Jarkko Sakkinen wrote: > >> > On Tue Apr 16, 2024 at 8:42 AM EEST, Huang, Kai wrote: > >> > Yes, exactly. I'd take one week break and cycle the kselftest part > >> > internally a bit as I said my previous response. I'm sure that there > >> > is experise inside Intel how to implement it properly. I.e. take som= e > >> > time to find the right person, and wait as long as that person has a > >> > bit of bandwidth to go through the test and suggest modifications. > >> > >> Folks, I worry that this series is getting bogged down in the selftest= s. > >> Yes, selftests are important. But getting _some_ tests in the kernel > >> is substantially more important than getting perfect tests. > >> > >> I don't think Haitao needs to "cycle" this back inside Intel. > > > > The problem with the tests was that they are hard to run anything else > > than Ubuntu (and perhaps Debian). It is hopefully now taken care of. > > Selftests do not have to be perfect but at minimum they need to be > > runnable. > > > > I need ret-test the latest series because it is possible that I did not > > have right flags (I was travelling few days thus have not done it yet). > > > > BR, Jarkko > > > > Let me know if you want me to send v13 before testing or you can just use= =20 > the sgx_cg_upstream_v12_plus branch in my repo. > > Also thanks for the "Reviewed-by" tags for other patches. But I've not go= t =20 > "Reviewed-by" from you for patches #8-12 (not sure I missed). Could you g= o =20 > through those alsoe when you get chance? So, I compiled v12 branch. Was the only difference in selftests? I can just copy them to the device. BR, Jarkko