[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 1/4] xen/ppc: Implement bitops.h
- To: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
- From: Jan Beulich <jbeulich@xxxxxxxx>
- Date: Mon, 18 Sep 2023 15:01:13 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GDRTXhyEnove3BzMv0AvHNet2hJFeUKZNxbpuSsxB0k=; b=FhbFa6pmlgGsJnNvJ9izAw8dEB9yRNtYR5c9CGCwCvpJXGyLUoXWLaUQJOs2QPDm+8PmAzqM+WnkLmHNspaSIzq8YGyTSAdHtN0FjtrY4RZlUwdLfrPSt6Zhu6TMGQ+E05EmDYAMSgTmeTnyD3gTR3WpGRyEKRhPOS0XkXZ19HnVVof6CY4buMJWW1KXkgCbkIPM6yc40/wv85ME/Bd5jy25a1jtQHQ5Q0KNe10a6ZqldyyGBeyQXiNszbk1cQ7zBL6EqHsHyzvy+buZrpIU8Mbd65HFaC80p0WEBBS1qWjytZg7yAEjFtDwdcp+ff/mUjTvuUxWa3PIaOk4Zi08Vw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dXoCB4Z8ZJ5xv4vo/lcyaQfWAjb/Vkw8nBVLBFJIPgx8FEVDl39QOMYweCed8TFHt4y9eg5ew5BnzeKh9tQXJGqulBTnQDEH1TR0dQpzNLfFPDYcoo8dAA8mnaAj2mAVRtrC+zF13y6EdAOAHdn+As0P07TMphm3uFOW2szFL+YB6UourfYxqbOtYL9gpFGCW/8dJ8lVn4n7PLzDrz/lWj1jNv4RLOV3dqJGv+ngwNxXTIw9/O3XT3H8lD8sIkU2PDSLHfWrXs9SNW5xWBbYJ9anGu096poAVLrf8VI3Wy8V0HuxnZGQzPUpptThAH/ytoOiV7h2WCM1uEDXAnjUHQ==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
- Cc: Timothy Pearson <tpearson@xxxxxxxxxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Mon, 18 Sep 2023 13:01:30 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 14.09.2023 21:03, Shawn Anastasio wrote:
> Implement bitops.h, based on Linux's implementation as of commit
> 5321d1b1afb9a17302c6cec79f0cbf823eb0d3fc. Though it is based off of
> Linux's implementation, this code diverges significantly in a number of
> ways:
> - Bitmap entries changed to 32-bit words to match X86 and Arm on Xen
> - PPC32-specific code paths dropped
> - Formatting completely re-done to more closely line up with Xen.
> Including 4 space indentation.
> - Use GCC's __builtin_popcount* for hweight* implementation
>
> Signed-off-by: Shawn Anastasio <sanastasio@xxxxxxxxxxxxxxxxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
|