Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 92384D1AD38 for ; Wed, 16 Oct 2024 09:37:44 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.819853.1233316 (Exim 4.92) (envelope-from ) id 1t10T7-0001FF-L1; Wed, 16 Oct 2024 09:37:25 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 819853.1233316; Wed, 16 Oct 2024 09:37:25 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t10T7-0001F5-HH; Wed, 16 Oct 2024 09:37:25 +0000 Received: by outflank-mailman (input) for mailman id 819853; Wed, 16 Oct 2024 09:37:23 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t10T5-0000ua-L9 for xen-devel@lists.xenproject.org; Wed, 16 Oct 2024 09:37:23 +0000 Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [2a00:1450:4864:20::333]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 3ee26b2c-8ba2-11ef-a0be-8be0dac302b0; Wed, 16 Oct 2024 11:37:22 +0200 (CEST) Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4314f38d274so9005335e9.1 for ; Wed, 16 Oct 2024 02:37:23 -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 5b1f17b1804b1-4313f569a06sm43202255e9.16.2024.10.16.02.37.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Oct 2024 02:37:21 -0700 (PDT) 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: 3ee26b2c-8ba2-11ef-a0be-8be0dac302b0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1729071442; x=1729676242; 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=Nu1ll/Q7Ytyj2ygj7KHssanwlyEVJOTUsRXUr7xGdr0=; b=AyoFjq1clVics7s5Hwnc10Icgc86bteFe+wggnQBJaxUb1MXz16djm9JN1mjoDcfhz G9p0DUDD3+iHfQr6zBGyWmlke0MmxJ7d/mYpjb8/ctJ+Ljq8v9TZzOcCEN1jC3OChzWA jUfo5i1/jQuoH1u38/8qAJnbdl/9PtCpZ4rLn1Mqt738RU9IbZ2NrKvOB8FmFlzXdEos 6jhhmofWXRMPO2iTSL3n2+DAZkOOfJmEn9zI9TaSPAJpEMZ2hdt4GMJ+XGvGwzw8Wyp0 dQF6UkLG5lwm6rCIm/iAlwT6I50+kugpMkxjW9QwQRlrIqTF5MpUJWRBv0F6wshfFPeq awhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729071442; x=1729676242; 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=Nu1ll/Q7Ytyj2ygj7KHssanwlyEVJOTUsRXUr7xGdr0=; b=T39vc+ECwPXesfuI74U3yJwVO+jPX2UcxC1HxIOvAe4dNB7ytJaMHti8ifIs2/laQ8 5Grh25ftpqNShrg5a6TnkglSr3oyvlKrm6u4lPOsWxizXti3AsAL3wQD1s7awAbM3IWv IfD8RPHdKfcvGMN0uEEEwe+KXCQkIoljnzrSatNFExVoYygX5NKD0Y1VxGQnrQhPZgsL 7vu4Y1g5H71P020kvBpsgp82E+y6yKnwLB9OA7mT5zHJBPOiLSdu4w7AhBqT4lzaI/xT +o/jyzI+vgpxw07HlUH6nTiStark6AqcxerP9003dyXkA1GxanXsEOhzpB436F1TADtD dRuQ== X-Forwarded-Encrypted: i=1; AJvYcCVf6Cr2ZdzR/38RTf1cStx64MSdxCUeFxYZ7iUDA3gHD5JHtaWJth93OFv5jQz1vNH0vWh0c2WyK5o=@lists.xenproject.org X-Gm-Message-State: AOJu0Yx0EdHFmKnYKSC6NdeQyfsNJxrnERchUq1isUHmQtvWxWZcWMtm wqb+hznb3Da+fk3CgH45LPT9KXFcoRsQS7AOLA+oJssy2RXtCoTi5ZvXvTKoUw== X-Google-Smtp-Source: AGHT+IFr62U+fZr9ILF3BKO2IoHBpL/4xypsCXXce08JQoE9zUlf92isD4kicN5Fy6fKIRe6D4BRTA== X-Received: by 2002:a05:600c:5108:b0:430:9fde:3b92 with SMTP id 5b1f17b1804b1-431255e033bmr171123925e9.14.1729071442240; Wed, 16 Oct 2024 02:37:22 -0700 (PDT) Message-ID: Date: Wed, 16 Oct 2024 11:37:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/7] byteorder: replace __u16 From: Jan Beulich To: Andrew Cooper Cc: Julien Grall , Stefano Stabellini , "xen-devel@lists.xenproject.org" 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 7Pj2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9 mpwIGFhlbM3gfDMs7MPMu8YQRFVdUvtSpaAs8OFfGQ0ia3LGZcjA6Ik2+xcqscEJzNH+qh8V m5jjp28yZgaqTaRbg3M/+MTbMpicpZuqF4rnB0AQD12/3BNWDR6bmh+EkYSMcEIpQmBM51qM EKYTQGybRCjpnKHGOxG0rfFY1085mBDZCH5Kx0cl0HVJuQKC+dV2ZY5AqjcKwAxpE75MLFkr wkkEGBECAAkFAlk3nEQCGwwACgkQoDSui/t3IH7nnwCfcJWUDUFKdCsBH/E5d+0ZnMQi+G0A nAuWpQkjM1ASeQwSHEeAWPgskBQL In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit On 09.10.2024 15:34, Jan Beulich wrote: > On 09.10.2024 15:20, Andrew Cooper wrote: >> On 09/10/2024 10:21 am, Jan Beulich wrote: >>> In {big,little}_endian.h the changes are entirely mechanical, except for >>> dealing with casting away of const from pointers-to-const on lines >>> touched anyway. >>> >>> In swab.h the casting of constants is done away with as well - I simply >>> don't see what the respective comment is concerned about in our >>> environment (sizeof(int) >= 4, sizeof(long) >= {4,8} depending on >>> architecture, sizeof(long long) >= 8). The comment is certainly relevant >>> in more general cases. Excess parentheses are dropped as well, >>> ___swab16()'s local variable is renamed, and __arch__swab16()'s is >>> dropped as being redundant with ___swab16()'s. >>> >>> With that no uses of the type remain, so it moves to linux-compat.h. >>> >>> Signed-off-by: Jan Beulich >>> --- >>> I'm unconvinced of the need of the separate ___constant_swab16(). I'm >>> also unconvinced of the need for said constants (that even had casts on >>> them). >> >> There is a still-good series deleting the whole of byteorder/ and >> replacing it with a few-hundred line single header. >> >> It is the second thing stalled on a governance change (prohibited >> reasons to object to a change) which clearly no-one gives a damn about >> fixing.  In fact double spite because it denied a good engineer his >> first changes in Xen. >> >> >> I don't particularly feel like trying to polish byteorder.  I'm inclined >> to rebase+repost Lin's patches, at which point the majority of this >> series simply disappears. > > I wouldn't mind you doing so, as long as that other series then progresses. > What I don't want to get into is the other series being stuck rendering this > one stuck, too. Then it would imo be better to take this one first, rebase > the other on top, and work towards it becoming unstuck (whatever that takes; > I have no recollection of what the issue was back at the time, all I recall > is that, yes, there was such work at some point). Just to have a clear picture: Was your reply an objection, with you indeed meaning me to hold back this tidying work? If so, can you please indicate when, at least roughly, you mean to re-post what you think wants re-posting? If not, can you please indicate so, for me to commit stuff that's otherwise ready to go in (and which that other work should be easy to re-base over)? Jan