From nobody Sun Dec 22 16:03:33 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1728465969; cv=none; d=zohomail.com; s=zohoarc; b=X0EUhA/KYQxWdC4xTW6uUd2vO8x6Zo8sKtm0WYhRNO8EM1y0/0RnEJpGruvDDt/1hysMJlT1bx0Utya22ZV+ek4QRcRpKCBEsqqrn8tDIwxOlsE0SiKbr1O+MKTkNpvJsCobF3WLwS42thR8gyfWOtTEnN8TBRQ3cdzD3cIRHQk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1728465969; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=lSt1UFZef/+6tCfhe9oUpk8XmMT2KJhBEjzS3rL8n6k=; b=NauZQgJuvi1va4r1gksL/Ax0rRUj16CBB9EERLWN+DYgPVP2cjDzSGUXm2u5iEdZDeLuvBOmVaPRLAB8hQmXvlumFX9iEigSFR7Mj943JklRQX5um47q+YV9oWsYWBERykK55WyRzVGc+Upfc1WJ7r8gzergKYz1NbJNkVkozBY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1728465969381776.3098758863787; Wed, 9 Oct 2024 02:26:09 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.814060.1227155 (Exim 4.92) (envelope-from ) id 1sySx4-0007VU-IK; Wed, 09 Oct 2024 09:25:50 +0000 Received: by outflank-mailman (output) from mailman id 814060.1227155; Wed, 09 Oct 2024 09:25:50 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sySx4-0007VN-FC; Wed, 09 Oct 2024 09:25:50 +0000 Received: by outflank-mailman (input) for mailman id 814060; Wed, 09 Oct 2024 09:25:49 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1sySx3-0006qE-A4 for xen-devel@lists.xenproject.org; Wed, 09 Oct 2024 09:25:49 +0000 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [2a00:1450:4864:20::533]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 77a3e6c0-8620-11ef-99a2-01e77a169b0f; Wed, 09 Oct 2024 11:25:47 +0200 (CEST) Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-5c8784e3bc8so9009733a12.1 for ; Wed, 09 Oct 2024 02:25:47 -0700 (PDT) Received: from [10.156.60.236] (ip-037-024-206-209.um08.pools.vodafone-ip.de. [37.24.206.209]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c920366ffbsm479657a12.73.2024.10.09.02.25.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Oct 2024 02:25:47 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 77a3e6c0-8620-11ef-99a2-01e77a169b0f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1728465947; x=1729070747; darn=lists.xenproject.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=lSt1UFZef/+6tCfhe9oUpk8XmMT2KJhBEjzS3rL8n6k=; b=MWHWkfcPM2BMRiB1lPl02FA36i12yKDwwKP84aHPb5XGW1rLfN3Wzax7h7ENy/6Wwv JPQSAEY9uDmI+r0JadMHT1tkQvbgQu6QyI2sepnzWQ3t8ob/fjyOEssMokVbATDmynPb U5jhicG2JhtYedvIPRuv4vrjN0/+VWuSy6H9ABDmbwPNehnIl+eAJeQNGWudPk/GXdRf 1acxB3fcEYLopEYC1vfn1DWq+vmyvL8F8slWOaig07TGNHCYmT71uwe27FPmJYXPeJAz CPoEvIPOXcaI0MC5M2m9T3mTdRcV0+AUC/B7A/Kptca9AiDdw1rkuxE6XIGyBCYTcpN7 S/Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728465947; x=1729070747; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lSt1UFZef/+6tCfhe9oUpk8XmMT2KJhBEjzS3rL8n6k=; b=EMB5IRMrteywyxtyGkO7SOuPX+iSU85cYDn0ZDOZ7x1LXLnsm4FFTjEEabTOpP3Rsg +NtUcThLr2EMDVSF3eurjkMlYAxIwSxvAAyzhI/lJ6Txa8VckEtabyKbra9nHa4Xyqy8 6xoT2DXmNUKg5QarTHZ2UMtU9KBeco5eADpGDjbKCTqhWF6He64qgMPCgFOp1fwOCVMc JoOqMQqKsGOeKvPoeJYLGEywL7Z0NWuD05Gz8csLgckmp0wORQiE5hgwjJQLUNnpXA7v 8gbdJvOVmPdOtPvKcdSd6xtItOvS88p5+9eWmAQhHeD/gV6keLXfkFQXfXoPBHRiNvCE lWtg== X-Gm-Message-State: AOJu0Yw5s+q2T8RODjgnAD2kbHMel6oqbdn7gTf+/STNjpYDILHVwaOF 25YlMvtA/DVLmlMgLPa8SfzNVYLLY0iPVM+T+beB9Jw39ss3DDYSBguzxrVjmtvJNrugMy76pns = X-Google-Smtp-Source: AGHT+IE9Ma2LvpqfTXUPLh4dG1TSxzztnL8Nx/XBTB6RGQ/Xdj3Z+eujl5DhjMFHvY1u/YRGrVrcDQ== X-Received: by 2002:a05:6402:278d:b0:5c8:9406:535b with SMTP id 4fb4d7f45d1cf-5c91d5c97b8mr1405593a12.18.1728465947227; Wed, 09 Oct 2024 02:25:47 -0700 (PDT) Message-ID: Date: Wed, 9 Oct 2024 11:25:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: [PATCH 7/7] types: replace remaining use of __u64 From: Jan Beulich To: "xen-devel@lists.xenproject.org" Cc: Andrew Cooper , Julien Grall , Stefano Stabellini , =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= References: <17b6b894-9b41-4e8c-a3a9-ce837797eac3@suse.com> Content-Language: en-US Autocrypt: addr=jbeulich@suse.com; keydata= xsDiBFk3nEQRBADAEaSw6zC/EJkiwGPXbWtPxl2xCdSoeepS07jW8UgcHNurfHvUzogEq5xk hu507c3BarVjyWCJOylMNR98Yd8VqD9UfmX0Hb8/BrA+Hl6/DB/eqGptrf4BSRwcZQM32aZK 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl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pE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL In-Reply-To: <17b6b894-9b41-4e8c-a3a9-ce837797eac3@suse.com> Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @suse.com) X-ZM-MESSAGEID: 1728465969986116600 Content-Type: text/plain; charset="utf-8" ... and move the type itself to linux-compat.h. Signed-off-by: Jan Beulich --- a/xen/arch/x86/include/asm/msr.h +++ b/xen/arch/x86/include/asm/msr.h @@ -31,7 +31,7 @@ : /* no outputs */ \ : "c" (msr), "a" (val1), "d" (val2)) =20 -static inline void wrmsrl(unsigned int msr, __u64 val) +static inline void wrmsrl(unsigned int msr, uint64_t val) { uint32_t lo =3D val, hi =3D val >> 32; =20 --- a/xen/include/xen/linux-compat.h +++ b/xen/include/xen/linux-compat.h @@ -18,6 +18,7 @@ typedef uint16_t __u16; typedef int32_t s32, __s32; typedef uint32_t __u32; typedef int64_t s64, __s64; +typedef uint64_t __u64; =20 typedef paddr_t phys_addr_t; =20 --- a/xen/include/xen/types.h +++ b/xen/include/xen/types.h @@ -8,7 +8,7 @@ typedef uint8_t u8; typedef uint16_t u16; typedef uint32_t u32; -typedef uint64_t u64, __u64; +typedef uint64_t u64; =20 #include =20 @@ -55,8 +55,8 @@ typedef uint16_t __le16; typedef uint16_t __be16; typedef uint32_t __le32; typedef uint32_t __be32; -typedef __u64 __le64; -typedef __u64 __be64; +typedef uint64_t __le64; +typedef uint64_t __be64; =20 typedef unsigned int __attribute__((__mode__(__pointer__))) uintptr_t;