From nobody Thu Mar 20 19:59:40 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZJbyh6RVGz5rJFF for ; Thu, 20 Mar 2025 19:59:56 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZJbyf6VFGz3Sw0 for ; Thu, 20 Mar 2025 19:59:54 +0000 (UTC) (envelope-from jrtc27@jrtc27.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-3913d45a148so1002065f8f.3 for ; Thu, 20 Mar 2025 12:59:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742500793; x=1743105593; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Gxq90aT+g8xLUHIV0sY4u/KM+aEqxh8XLc0rYmJmgss=; b=oMl8YnUaqLyvIjmf/6T4oJVy933ZZx3Uozh5d7I4QY1DZ7C+YN1I1+D6XCX6UHGwAs W9QWNWFboTiL3jlyHgEvuh8VXKX4eunPwVQIshO9Z1rYyBAOW4M3kVW64uq+qa2crx7u 1sG2W693bT2c0Gs60i1PQMh6epLyXu3mnyvLwJiudeWWAfLdPK2q7HY1UA4o8nh2zbiy Q6qLxp3FM+rQ8kziWcm3MjppLeaFi5VyBOEufggXSDobRdN1vIFqfnwR2bi2m+GBSOoh AfUJkT+2559KOOn8JdraMM43f35HTpnr0ooBYsXIyt4FBGwDa7r+ZRWZU1YLGBVmJZUf DkIA== X-Forwarded-Encrypted: i=1; AJvYcCVBt/ozbgnSpg45Vag3hwqPX1UFaRuZZGiczMZJWUVCahVGAFOE6LOQq556MbofNMrE+UamjwMvhGtetJ9f7fEFG+Q7ow==@freebsd.org X-Gm-Message-State: AOJu0YzOzffTpgKNUvT0XN4sPKQIYKk5LGqOKNqJ9uuC7+qF1sX83OMR zbZ68215XSGYwzWrgQZN+oHJZjiKz4/IWPPnyhE7FebtTtOQNb8gtLjPe3iVoGo= X-Gm-Gg: ASbGnctkV5NXMm2pQsskV/RNwwzw5CLN7r8wLImpoS9cZWFDyxJl+I2Iqo/5dNjWDze SoGUrwyn+Xr7+rM7i/fwoFj7ahYFYClIXqokoHXMlEu1CLm1Fnb6SqwWYZfuhydq1ALd22D3uHC InYlpfF4P/d2tfhS8kDR11pMdxrGPLFsJiFEYVejlsgL0ITUk5hVin7Os2PfT4i8WJFqkP6xgYm cAB5LknDzTlFV1ilWXw3J6BQN4SsAv1Ppkz7jeXWbNNIHXAisJTrxT+nBlRhODhtpmL2CMJQRp8 3g24sOAIMCQ2k1QDcTwUcw4/XqA5km7wfYBCl1Xs50L5vqZ5PoXJWfZ06Vw= X-Google-Smtp-Source: AGHT+IE3tdKLdnr9F4v1FQ0wmLd7M8fu7VV3nHkV8sHfJi9MB2CJbxHHNhrbielE8rfqxmbjo42ILA== X-Received: by 2002:a05:6000:1a8a:b0:390:f6aa:4e7c with SMTP id ffacd0b85a97d-3997f911525mr922490f8f.28.1742500791770; Thu, 20 Mar 2025 12:59:51 -0700 (PDT) Received: from smtpclient.apple ([131.111.5.201]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43d4fdb06b9sm6417425e9.36.2025.03.20.12.59.50 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Mar 2025 12:59:50 -0700 (PDT) Content-Type: text/plain; charset=utf-8 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.300.87.4.3\)) Subject: Re: git: cd8c2e012761 - main - linuxkpi: Add From: Jessica Clarke In-Reply-To: <202503201953.52KJrxf8064080@gitrepo.freebsd.org> Date: Thu, 20 Mar 2025 19:59:40 +0000 Cc: "src-committers@freebsd.org" , "dev-commits-src-all@freebsd.org" , "dev-commits-src-main@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <8BF17BC0-0D89-4136-A1E8-81D584415DA2@freebsd.org> References: <202503201953.52KJrxf8064080@gitrepo.freebsd.org> To: =?utf-8?Q?Jean-S=C3=A9bastienP=C3=A9dron?= X-Mailer: Apple Mail (2.3826.300.87.4.3) X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] X-Rspamd-Queue-Id: 4ZJbyf6VFGz3Sw0 X-Spamd-Bar: ---- On 20 Mar 2025, at 19:53, Jean-S=C3=A9bastienP=C3=A9dron = wrote: >=20 > The branch main has been updated by dumbbell: >=20 > URL: = https://cgit.FreeBSD.org/src/commit/?id=3Dcd8c2e012761bf672074798be64d5ce1= 6af7aff8 >=20 > commit cd8c2e012761bf672074798be64d5ce16af7aff8 > Author: Jean-S=C3=A9bastien P=C3=A9dron > AuthorDate: 2025-03-03 19:32:20 +0000 > Commit: Jean-S=C3=A9bastien P=C3=A9dron > CommitDate: 2025-03-20 19:43:44 +0000 >=20 > linuxkpi: Add >=20 > Reviewed by: emaste > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D49385 > --- > .../linuxkpi/common/include/linux/cpufeature.h | 37 = ++++++++++++++++++++++ > 1 file changed, 37 insertions(+) >=20 > diff --git a/sys/compat/linuxkpi/common/include/linux/cpufeature.h = b/sys/compat/linuxkpi/common/include/linux/cpufeature.h > new file mode 100644 > index 000000000000..046fab53d521 > --- /dev/null > +++ b/sys/compat/linuxkpi/common/include/linux/cpufeature.h > @@ -0,0 +1,37 @@ > +/*- > + * Copyright (c) 2025 The FreeBSD Foundation > + * Copyright (c) 2025 Jean-S=C3=A9bastien P=C3=A9dron > + * > + * This software was developed by Jean-S=C3=A9bastien P=C3=A9dron = under sponsorship > + * from the FreeBSD Foundation. > + * > + * Redistribution and use in source and binary forms, with or without > + * modification, are permitted provided that the following conditions > + * are met: > + * 1. Redistributions of source code must retain the above copyright > + * notice, this list of conditions and the following disclaimer. > + * 2. Redistributions in binary form must reproduce the above = copyright > + * notice, this list of conditions and the following disclaimer in = the > + * documentation and/or other materials provided with the = distribution. > + * > + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' = AND > + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, = THE > + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR = PURPOSE > + * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE = LIABLE > + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR = CONSEQUENTIAL > + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE = GOODS > + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS = INTERRUPTION) > + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN = CONTRACT, STRICT > + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN = ANY WAY > + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE = POSSIBILITY OF > + * SUCH DAMAGE. > + */ > + > +#ifndef _LINUXKPI_LINUX_CPUFEATURE_H_ > +#define _LINUXKPI_LINUX_CPUFEATURE_H_ > + > +// #include What=E2=80=99s up with this? Is this a header that should be included = but can=E2=80=99t yet be (if so, why?), one that should be included and was left commented locally for some reason, or one that shouldn=E2=80=99t be = included but was left over from something? If it needs to stay, please document why it=E2=80=99s not uncommented, and also conform to style(9) as this = is a C++-style comment. Jess > +#include > +#include > + > +#endif /* _LINUXKPI_LINUX_CPUFEATURE_H_ */