Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp457621lqz; Sat, 30 Mar 2024 04:17:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUxEaTGEesDoDQ2UAt+YanyqTWsSiE9W9qECU/+RnmvWV/eA3V0Ela48VGkD/OWVZ2wgJ5pCWPpPpzGSfOQWvL0FOfYTZpO+gSBKzOpig== X-Google-Smtp-Source: AGHT+IFeAnBa6elB5B3kPLmgesOrgTJMcnbPRYIuF5OlwGCNa29qDayQdX20YjGN4v5/Mg3owVQL X-Received: by 2002:a05:6a20:9f4e:b0:1a5:6da4:1f16 with SMTP id ml14-20020a056a209f4e00b001a56da41f16mr5518491pzb.22.1711797453720; Sat, 30 Mar 2024 04:17:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711797453; cv=pass; d=google.com; s=arc-20160816; b=KnDeD4TjdGm3gakOo/c6gkgnY4B7xRBNA1uun2R19dsvzfjs2R1LnqTbP+PTyPlo2F uazkUJAtU2H9NWOtJRc82rU+uuSkOunYw0r7feih/wUGu8v3xYQ3UXNTm1CunAYXQyQz LgUhJ7v1U5AHs4ZsI6SdlCakpK/oySW+tcapeZvUoBklQasJyr8660xrIC/YmrhnI/kC rElOf6doemdQE1KhYGFbL5IOOgCC9/CTP4hjSG9+kzr5IdbZq9xFUMVhQFFnLTAHtJ2k 2WETPHFhL2YjP/KZVBJV8ntpX1m2GsFK8vqZbYkowSND9NWEGbYmKOTuDzso93SqBbk/ 93Aw== 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=v25wJ1abwo8Rn1NPDoiQOpEQWDXtAWSeVOs+cquO+/8=; fh=ueNinutLVW8vi3Ip4/k/JHLgvamOuGJSwFbygcsGlNM=; b=kneJpj2BbUW4LZc0QrLXwBmTciAG57aeZKpJm+fGTQ4Ndvil/RPxlrkH2KwUhkC6il mn8ln79hiUNXCsqmmZ1GawEzfctANxDBBqCowoPwHOIajRG3A/khRdEfQVGH0ep84DyR 7/2odvd9pbAi3l4PcXSf6dzTNls/6qcD2dDscGJJh/HbXXCnKu4QPVXKPuZl09NkgG0d 7YgySbvl3l80uat+D1qeyx2zKuJLkSkR214MbJ/p3/t7mYZn2jk1Uu/KFrOOaTDCNDsT JrRy1DgREJ2eDf7RcIQrUrxLC3PyzzjqOruK41FrxGlhcQXXck2ra+GjQkPaO3Y9lEt9 bP+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=apaAHR1y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125689-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125689-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h12-20020a170902f54c00b001dffbdeaae3si5525135plf.262.2024.03.30.04.17.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Mar 2024 04:17:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125689-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=apaAHR1y; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125689-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125689-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 60117283332 for ; Sat, 30 Mar 2024 11:17:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 46F892C69C; Sat, 30 Mar 2024 11:17:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="apaAHR1y" 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 50DCCBE6F; Sat, 30 Mar 2024 11:17:25 +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=1711797445; cv=none; b=fct72kDm4ronWCziIe8hvaSAdoRSsbQtJZKxk5oVcGNsl5jRm+psyuabMvQiN7yBYQX2U+2E+iOgfpQvjwML6zbsE7xWYP/E9XERhUd4l0vJ0TeADCWybTWYfJhrNDKsLTFqqE/5Nc9KNHg8tIDDQWY8Zl9qq9cpNSjtDqEq93o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711797445; c=relaxed/simple; bh=v25wJ1abwo8Rn1NPDoiQOpEQWDXtAWSeVOs+cquO+/8=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=HRGuwl8IwckJuDCFqT/x6uxsq0kRnm/7AOKThL37tdqc5dg3yED5riP8YaYbQhZnNAcntKGaOuoJvltYIVoJ0t+aCZsGcoDyar2PTcz7YW8NK4IHMzyPuPitW6Yz9rzmqOsjZ2l6KaDgxQBE9EcIaMPNCOAfsfOShS0R3T2gVcY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=apaAHR1y; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D8E3C433F1; Sat, 30 Mar 2024 11:17:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711797444; bh=v25wJ1abwo8Rn1NPDoiQOpEQWDXtAWSeVOs+cquO+/8=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=apaAHR1yF8Stl9mdkYSTboDVvu4RQKIvMDDjL58QOBzk+yy63F0fOn0RlZw9RexhQ PcfTYB1tO5BN6sUlfQG7pRyhuxfGh0B4DbBTlzplq736SzQRqXe1d3PpDvCDNJMoUo q4cpzPWSqPdm2/FVnlBWp+lv6bHgk6nrRn0w6Ui+eJi+hDuLdfynt1sCMOM1RmbDGh zfXhqpsyXIV/RC0WnyCPsd3VRpI3XVMzXcvXiOZIJFxkWIdJApqLKX52JnX3aYTo1V IliQ3XHa2aTY6+SrttcM8VFvKKa0E522nm0zxurKHxm8E8mnElswz829yEYmnBJ8E4 +d2PQlfo5rrlg== 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: Sat, 30 Mar 2024 13:17:18 +0200 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 v10 05/14] x86/sgx: Implement basic EPC misc cgroup functionality From: "Jarkko Sakkinen" To: "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" , "haitao.huang@linux.intel.com" , "Mehta, Sohil" , "tj@kernel.org" , "mingo@redhat.com" , "bp@alien8.de" X-Mailer: aerc 0.17.0 References: <20240328002229.30264-1-haitao.huang@linux.intel.com> <20240328002229.30264-6-haitao.huang@linux.intel.com> <89b4e053db21c31859cf2572428fd9d4ab4475ab.camel@intel.com> In-Reply-To: <89b4e053db21c31859cf2572428fd9d4ab4475ab.camel@intel.com> On Thu Mar 28, 2024 at 2:53 PM EET, Huang, Kai wrote: > > > --- /dev/null > > +++ b/arch/x86/kernel/cpu/sgx/epc_cgroup.c > > @@ -0,0 +1,74 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +// Copyright(c) 2022 Intel Corporation. > > It's 2024 now. > > And looks you need to use C style comment for /* Copyright ... */, after = looking > at some other C files. To be fair, this happens *all the time* to everyone :-) I've proposed this few times in SGX context and going to say it now. Given the nature of Git copyrights would anyway need to be sorted by the Git log not possibly incorrect copyright platters in the header and source files. BR, Jarkko