Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp870220lqd; Wed, 24 Apr 2024 21:52:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWQDyyln4cZ5LCsAVpwQ+KAC3RJ5Z0LW99Mm+TmrsaKUlWSE/3FTNtClpwZYRE8vEhq/Civw0H4fdg9PuJfJGj75Y7cXvfxzf4uVhXHEQ== X-Google-Smtp-Source: AGHT+IHByudPTY1ClnSJItsobByARmiBhnOshY1x0BSEG+dlzAAomHWdmmFZ5lIOUkq3YkAEmSMp X-Received: by 2002:a05:620a:1446:b0:78e:f0d6:3ac0 with SMTP id i6-20020a05620a144600b0078ef0d63ac0mr2396809qkl.31.1714020733009; Wed, 24 Apr 2024 21:52:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714020732; cv=pass; d=google.com; s=arc-20160816; b=Lsr2dFV9GZSscsa5CnLN5JgNHo0xbTHm75rwCLQ2DRwE5B+zgVkf6mVFjTvXtn7hFY uKvoyazTZN0djl/nAru88IXDPnjeJgR6VxXVP0yUYEI4+r4ujydRZj8vdwNZ5xLGH77U SRR1zOKpUWS328Z/fkgGXgCUU1Ykaae8qID65GAYb23Bnz0Y3ru+wRLe68OUao5+Srhi frf3tejb/SaDfNKdovMQqZq6/4QhP3DpVq2Vs4RbSFtlRWOBwz51qa3Z3yVkPeI9r1a9 jPh2ZKgqOCkesUlZP4fL7Gzz0E2dePQXW+zp5IGWpWm1ar2x8Ds4mG+8TEKjRSvaHDul /hnw== 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=p7hjWUgR2R06dl3ei0tERDhkngFe7TKEuv52mjeiL5k=; fh=O/HDNTaprEU6+2NekXFHdrqtcw+UHBBY93oZGoG+mUs=; b=Z9hlnAyMuKPUqH8RQC4GYUkSbrWGOsB7lOYQ0qpv/THU8vwDDwXUtOLtpOPs6tVHDI RvUICLeRrF0wFUC5ZLRakjJoqbFWycl39morOG87Fd+mu1MAiRfsEQG9awQj4LLG1wLZ XHFyLpgrAUw4FDQl1sakzgZqRpah7qT3yfW7gJdaLkhJE0HodB+W/dA4DmqQPrVVc5Y1 OM+UB9XK8fP7cHdeyHxV+VQyH+U+XltDuevu5i/jEyHqcW0JbRtb9SXs/ufWgasV+qI2 elyFyGyUzbNQ9rP7gMcekrM5GwwIUkWfDvKSVW+Tf/nqu08KQ92XP45H6Fiy8QcYg7HO oZ+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KiaxAdkq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158007-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158007-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 h21-20020a05620a245500b0078ecd226f48si18574918qkn.209.2024.04.24.21.52.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 21:52:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-158007-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=KiaxAdkq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-158007-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-158007-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 B7A461C21898 for ; Thu, 25 Apr 2024 04:52:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0528039FE5; Thu, 25 Apr 2024 04:52:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="KiaxAdkq" 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 255D718E02; Thu, 25 Apr 2024 04:52:02 +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=1714020723; cv=none; b=Fm6jIMncQO86JNsr1IpJaGEauh3HGgtts5V3+hR3MJivkUqgZaIrdBll1S65dEDRYwfKrnqdxy0mOMdi+dqfR/IsFuCVbA8hz4n3PWZq5BXiOoyJ6idTl3tGkTvXpCWuSY0qUI9SN4rRfWrrhLyad6UxOfPedz9b5RiceDFHCEw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714020723; c=relaxed/simple; bh=p7hjWUgR2R06dl3ei0tERDhkngFe7TKEuv52mjeiL5k=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=YPyInGZu3qzDUzSgbsuyKcKTd3WOmXlTCo0DHQ2TJoATXpwN0BgPQxQqclq+0knqqOsHSPY4nzqinuvrm3o6zIPRwHbJ56XxkIUqUADAVbqrcsq0QkjQPAaPekxS6D375iQaA0+Jbz/s4zE1RfQ51ZnzYHQQfU0xlVfciuQ7r3Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=KiaxAdkq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 30FEEC113CC; Thu, 25 Apr 2024 04:51:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714020722; bh=p7hjWUgR2R06dl3ei0tERDhkngFe7TKEuv52mjeiL5k=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=KiaxAdkqqt8DPt6Nx4tssIeQoaNyqm4bSg1T6g8X3IVz3zUBEtkmlWuLfozSxqh4I F2ToYlUTcWMLnVGmHmqBFOxA+K+/9Bv+gzvLDRcAt9Jj6pABjdGp6AsLqpYZ3Hw3dc t8VjDL6yYzo/6vmbZtbGx2HCxOHkYtwMxiMR7S07OIk0Z6/p/9vbLYq6ec+S4rA4Dc vK8+PPe1Hv6CGTBAekkqBJH1kR2PonEWVoNwFdgHH+glGj9cn4xN7B/SL0TzrfflZF s1w0WYN1lhEguuFjXWHSTFhOFl1KSgesFYSt0jAyE3UtZ9oGSrgVYYcqeLd8AdpbqX PZW+8UIIOt+Wg== 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: Thu, 25 Apr 2024 07:51:56 +0300 Message-Id: Cc: , , , , , , , Subject: Re: [PATCH v12 14/14] selftests/sgx: Add scripts for EPC cgroup testing From: "Jarkko Sakkinen" To: "Haitao Huang" , , , , , , , , , , , , , , X-Mailer: aerc 0.17.0 References: <20240416032011.58578-1-haitao.huang@linux.intel.com> <20240416032011.58578-15-haitao.huang@linux.intel.com> In-Reply-To: On Wed Apr 24, 2024 at 10:42 PM EEST, Haitao Huang wrote: > Hi Jarkko > On Tue, 16 Apr 2024 11:08:11 -0500, Jarkko Sakkinen = =20 > wrote: > > > On Tue Apr 16, 2024 at 5:54 PM EEST, Haitao Huang wrote: > >> I did declare the configs in the config file but I missed it in my pat= ch > >> as stated earlier. IIUC, that would not cause this error though. > >> > >> Maybe I should exit with the skip code if no CGROUP_MISC (no more > >> CGROUP_SGX_EPC) is configured? > > OK, so I wanted to do a distro kernel test here, and used the default > > OpenSUSE kernel config. I need to check if it has CGROUP_MISC set. > > I couldn't figure out why this failure you have encountered. I think =20 > OpenSUSE kernel most likely config CGROUP_MISC. > > Also if CGROUP_MISC not set, then there should be error happen earlier on= =20 > echoing "+misc" to cgroup.subtree_control at line 20. But your log =20 > indicates only error on echoing "sgx_epc ..." to =20 > /sys/fs/cgroup/...//misc.max. > > I can only speculate that can could happen (if sgx epc cgroup was compile= d =20 > in) when the cgroup-fs subdirectories in question already have populated = =20 > config that is conflicting with the scripts. > > Could you double check or start from a clean environment? > Thanks > Haitao I can re-check next week once I'm back from Estonia. I'm travelling now to https://lu.ma/uncloud. BR, Jarkko