Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp1474025lqz; Mon, 1 Apr 2024 07:30:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVx6QfTJ7dC0IFzhUQ4Svgfv6SpONU5VttRr7SHQpmqHUIgOtAV9H1ExjeA79BU7QXH6kiy72zeJbGI/F1tP0UhzUQT3UZeDQD1Jdo4KA== X-Google-Smtp-Source: AGHT+IEFk8b/enVSVbPiFWxWWpcP/3HW1dpwv48/rO+XboCQv1pXHVkBuVdn/JoXO5Ms1BXwxFvT X-Received: by 2002:a17:902:ba8b:b0:1e2:44c7:b2af with SMTP id k11-20020a170902ba8b00b001e244c7b2afmr6113950pls.61.1711981823476; Mon, 01 Apr 2024 07:30:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711981823; cv=pass; d=google.com; s=arc-20160816; b=VFIswTgc7Uwnm0iBMA54vysKU4G/Fo3Q81DPGsOYumPAFVmMxAAauosUnTxgG8lBMV LyE0/P1UXZZappYq5d4y2nxliIddg5Mx7L7TC31NCcJQYaMMlRMa9o2UHXiOxI+cDRs8 3WkztEJaZNuX/FM+OdaZwi1/Cic42r+zxOftZgL77J+S7fvBvwDpRt1ObHC3mXdYJqYI xTp5cVGSbFWA6OTQA+ZF53ModiQgHTwhLrPt9IWhHA/R8hVN9SYYLRCIZA85zYVzAZnt K9eDlnUDZ5QQwHEYJntx2Ck8aEATv1cbtTy0z5oKMIIWaAhL6FykNVVjMgrs3R0yO3xp a4iw== 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=BKER9UUfT8FjhMABAs9FfEv0gXNM6F2IuUUe7ZkwVpE=; fh=gXh288eNdbwVAr7l7R14BYmqF9ZmD34vPbw3heJR2Xk=; b=VV6NLWH2Igf/kE3X8nmCV3Ro7tUGRKvvqfRLemQC75Ws46z+sH96JKohvc0TCxVoA8 LatfE+Q79PEK/4lBf5ROMA8vcrrccqW0rd/TNAqXqxulK2j8fhoE3B1YBWryHs5p9XY9 2M3BED5ZTlFRkKRcy9oRj2sF21QShqY1szJaHfuXGQqE+pKU8+B2zOH8LjgLjUOh3D96 hspZSRNfp7JhM9puF+SseWxIRkXSHpIQtx96StfYfv8piUey1MX792gUrB6iu0iGWtP/ gQqNXCMgc6ySiAu//vArj7l/425efoDkxGktgvhWcQ722C7DtcL0UnImLvtj2nPjgHvz YnhA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nSAsAvvr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126744-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126744-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 e5-20020a170903240500b001e25aefc2e5si1364646plo.150.2024.04.01.07.30.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Apr 2024 07:30:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-126744-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=nSAsAvvr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-126744-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-126744-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 28E4F282534 for ; Mon, 1 Apr 2024 14:30:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 539EC43ADD; Mon, 1 Apr 2024 14:30:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nSAsAvvr" 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 71B6310A03; Mon, 1 Apr 2024 14:30:14 +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=1711981814; cv=none; b=qXFf1lIrlRdV3CEKGYLAJPdsfGKmXOn/TarOfsoFrVpDzHGStA2nN2oItES/q5VYDiAmUBH+KlZJ2MFBkQILbjWR8zaqqGF43CxlmgaADES2jVlMK/ZBc87WZWee3cb1I+jaRrbw61zyJs8HM2yBYw6hnAYHutWBE4X+rlSYvkY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711981814; c=relaxed/simple; bh=rUtbKhJd42W49mcH+PWZ7Hn3kLbojDapBlOE3UUUjqg=; h=Mime-Version:Content-Type:Date:Message-Id:Cc:Subject:From:To: References:In-Reply-To; b=c8FdvD4aOm0EPTNCAJyef2CRqoZHkWcBnojy8ey1ZPwXd3hn7aNEUCpTVwHke4rdYWK8SAWMBNhNjMmiBg4D2tKbUvfT1qO4zYnL7kD6vSoSxaLFsnyWt3Ec3qEOSzkxjhZ2pky+k6UTsrgo37Ct8bKaFPsDOg6x7BnGFZoT9D8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nSAsAvvr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68741C433F1; Mon, 1 Apr 2024 14:30:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711981814; bh=rUtbKhJd42W49mcH+PWZ7Hn3kLbojDapBlOE3UUUjqg=; h=Date:Cc:Subject:From:To:References:In-Reply-To:From; b=nSAsAvvrPavW1PfN4Fkbep2/goAmTke8164aFwdRKMyR3xw6D6s3Gwq390kOGo+PP EHhifHhLUn7xfjwnbBUEtxQl/gEd7nELO+z/xZyFcQh9KgNwQdWkML3quMpEEP7Qju 46QgINKC8vwrM1ZYL/uJ7AeykQ2qn2KjdBC9r7RF9NCKIvdkb1r9l4ly8l1u2JvlIC MzgaNHG2FjN8zxZj5lZcZW88Gb5qGCbpbKwJQrSvFE5EowVoROxCgr7429wmjaWkyy HDTBo/ZnG/5PtJz7sqfKO7fBNvABvuXIFcn4mPph/KQfkVCVJyxjGjc8+Kdc0zP6UA 4rN7b0QvM50WA== 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, 01 Apr 2024 17:30:07 +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 v10 05/14] x86/sgx: Implement basic EPC misc cgroup functionality From: "Jarkko Sakkinen" To: "Huang, Kai" , "mingo@redhat.com" , "x86@kernel.org" , "dave.hansen@linux.intel.com" , "linux-sgx@vger.kernel.org" , "hpa@zytor.com" , "tim.c.chen@linux.intel.com" , "linux-kernel@vger.kernel.org" , "mkoutny@suse.com" , "haitao.huang@linux.intel.com" , "cgroups@vger.kernel.org" , "tj@kernel.org" , "Mehta, Sohil" , "tglx@linutronix.de" , "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> <5a5dee86713a2852fc2c1ebef28ae08927d2c95f.camel@intel.com> In-Reply-To: <5a5dee86713a2852fc2c1ebef28ae08927d2c95f.camel@intel.com> On Mon Apr 1, 2024 at 12:29 PM EEST, Huang, Kai wrote: > On Sat, 2024-03-30 at 13:17 +0200, Jarkko Sakkinen wrote: > > On Thu Mar 28, 2024 at 2:53 PM EET, Huang, Kai wrote: > > >=20 > > > > --- /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. > > >=20 > > > It's 2024 now. > > >=20 > > > And looks you need to use C style comment for /* Copyright ... */, af= ter looking > > > at some other C files. > >=20 > > To be fair, this happens *all the time* to everyone :-) > >=20 > > 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. > >=20 > > Sure fine to me either way. Thanks for pointing out. > > I have some vague memory that we should update the year but I guess I was= wrong. I think updating year makes sense! I'd be fine not having copyright platter at all since the commit is from Intel domain anyway but if it is kept then the year needs to be corrected. I mean Git commit stores all the data, including exact date. BR, Jarkko