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 A7F33E68975 for ; Thu, 31 Oct 2024 11:23:50 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.828618.1243559 (Exim 4.92) (envelope-from ) id 1t6TH8-0003KX-2H; Thu, 31 Oct 2024 11:23:38 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 828618.1243559; Thu, 31 Oct 2024 11:23:38 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1t6TH7-0003KQ-V6; Thu, 31 Oct 2024 11:23:37 +0000 Received: by outflank-mailman (input) for mailman id 828618; Thu, 31 Oct 2024 11:23:37 +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 1t6TH7-0003KK-82 for xen-devel@lists.xenproject.org; Thu, 31 Oct 2024 11:23:37 +0000 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [2a00:1450:4864:20::12f]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 90b398bb-977a-11ef-a0c3-8be0dac302b0; Thu, 31 Oct 2024 12:23:34 +0100 (CET) Received: by mail-lf1-x12f.google.com with SMTP id 2adb3069b0e04-53a097aa3daso762136e87.1 for ; Thu, 31 Oct 2024 04:23:34 -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 ffacd0b85a97d-381c10e7387sm1825245f8f.51.2024.10.31.04.23.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 31 Oct 2024 04:23:33 -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: 90b398bb-977a-11ef-a0c3-8be0dac302b0 X-Custom-Connection: eyJyZW1vdGVpcCI6IjJhMDA6MTQ1MDo0ODY0OjIwOjoxMmYiLCJoZWxvIjoibWFpbC1sZjEteDEyZi5nb29nbGUuY29tIn0= X-Custom-Transaction: eyJpZCI6IjkwYjM5OGJiLTk3N2EtMTFlZi1hMGMzLThiZTBkYWMzMDJiMCIsInRzIjoxNzMwMzczODE0LjI2MjkwMiwic2VuZGVyIjoiamJldWxpY2hAc3VzZS5jb20iLCJyZWNpcGllbnQiOiJ4ZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcifQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1730373814; x=1730978614; 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=gEOEfNpnkuvrVo2CgWf3xid2FWrodfagnMjFyDGiISQ=; b=FQv9AX9OHuxWT6y3WU84/3DhgHW4Y80C7WACfON+10ufdHPkgK6vFoQv9/ZpZ3c2TQ k1iqFtxSHKYgz7D8KkwgXG/yQOtOBd+hgLMJ+SK7c7/5XsL1KOoan4bgYDHHw1yj8aSO e34W6FiJefppUYPGRhRRA04FwZUZEVRE4lHS0lpZQWi1SkoR5JpLHq7HzeMczUjsiqWT 9k5Uvu0yx68fLc1+fBLJe4BRCqAKAWGRt7e7v4UhGbkT2VklDjLoJh4+70Ft7K7ubAT0 MM8niGUsRAym5YYP1nlN4di259+L7qzHWV3ymgsOiobXmKmZGxi33swQ2vTqUE1JexdK iPLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730373814; x=1730978614; 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=gEOEfNpnkuvrVo2CgWf3xid2FWrodfagnMjFyDGiISQ=; b=PbAbIV3Vl4KE18g1uIlwJJUAyKFw2wk8gZ/oVQS0Du5FpjZ8aQ6PMl95HqPTnTEa2k 259FHYOYCO5qeR2hePJSZ4bmfwyp/f4lSAvrH+L4X/9RCYpjF0huKgrwJqrwqRd/Frr8 ac4Mr71pWiFhFQu8ef1XLYkDlkjGvm5rtdEhsqgsqJymReYOS+JUwr13VlPec7vMxzBc GMYtVuleCDAWMlGgSNHBRgrAM8ekqcGJDsJQAyKspTvqndsfljzBTTdwRdftWlrxjFQA F3JfdpNACUG5Sc7jgnI9KhpO/a65Mim8b5rHANX6L/813mCIDEugnr+0J4JeLXcUablU E46Q== X-Forwarded-Encrypted: i=1; AJvYcCUJjZA+HKtDD2Su0kg1pVJnzRuuv+T81VhUasYIou+gFMpCLOrsy6cJM/4ToQ+RSHev4oEXrQ6xzNo=@lists.xenproject.org X-Gm-Message-State: AOJu0YyUPc+ha4pVnUaONaKn3LjK+2jFzxeORTByIw1aA0vjThoHwJVp qNYsD6cIP6JnXui0P5v97epTZgmrnvo5hjDH5tivqpKaFOqgaiNLz85sOq7CkeLmpEg4mpfdRd0 = X-Google-Smtp-Source: AGHT+IGLMbeqerpJ6vt0l91TEj9kC3M3vJtgSZKOOOoI5a9HsIZ0Z1Gg78hzGjiJjuxlinnHG1aGSA== X-Received: by 2002:a05:6512:3d8e:b0:536:54c2:fb83 with SMTP id 2adb3069b0e04-53b348cef78mr10007674e87.23.1730373813582; Thu, 31 Oct 2024 04:23:33 -0700 (PDT) Message-ID: <56b2b751-74bc-4b47-a966-2c8a6ef2b35d@suse.com> Date: Thu, 31 Oct 2024 12:23:32 +0100 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 7Pj2XbGWIUrZrd70x1eAP9QE3P79Y2oLrsCgbZJfEwCgvz9JjGmQqQkRiTVzlZVCJYcyGGsD /0tbFCzD2h20ahe8rC1gbb3K3qk+LpBtvjBu1RY9drYk0NymiGbJWZgab6t1jM7sk2vuf0Py O9Hf9XBmK0uE9IgMaiCpc32XV9oASz6UJebwkX+zF2jG5I1BfnO9g7KlotcA/v5ClMjgo6Gl MDY4HxoSRu3i1cqqSDtVlt+AOVBJBACrZcnHAUSuCXBPy0jOlBhxPqRWv6ND4c9PH1xjQ3NP nxJuMBS8rnNg22uyfAgmBKNLpLgAGVRMZGaGoJObGf72s6TeIqKJo/LtggAS9qAUiuKVnygo 3wjfkS9A3DRO+SpU7JqWdsveeIQyeyEJ/8PTowmSQLakF+3fote9ybzd880fSmFuIEJldWxp Y2ggPGpiZXVsaWNoQHN1c2UuY29tPsJgBBMRAgAgBQJZN5xEAhsDBgsJCAcDAgQVAggDBBYC AwECHgECF4AACgkQoDSui/t3IH4J+wCfQ5jHdEjCRHj23O/5ttg9r9OIruwAn3103WUITZee e7Sbg12UgcQ5lv7SzsFNBFk3nEQQCACCuTjCjFOUdi5Nm244F+78kLghRcin/awv+IrTcIWF hUpSs1Y91iQQ7KItirz5uwCPlwejSJDQJLIS+QtJHaXDXeV6NI0Uef1hP20+y8qydDiVkv6l IreXjTb7DvksRgJNvCkWtYnlS3mYvQ9NzS9PhyALWbXnH6sIJd2O9lKS1Mrfq+y0IXCP10eS FFGg+Av3IQeFatkJAyju0PPthyTqxSI4lZYuJVPknzgaeuJv/2NccrPvmeDg6Coe7ZIeQ8Yj t0ARxu2xytAkkLCel1Lz1WLmwLstV30g80nkgZf/wr+/BXJW/oIvRlonUkxv+IbBM3dX2OV8 AmRv1ySWPTP7AAMFB/9PQK/VtlNUJvg8GXj9ootzrteGfVZVVT4XBJkfwBcpC/XcPzldjv+3 HYudvpdNK3lLujXeA5fLOH+Z/G9WBc5pFVSMocI71I8bT8lIAzreg0WvkWg5V2WZsUMlnDL9 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 16.10.2024 11:37, Jan Beulich wrote: > 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)? Just to mention here - short of an answer I'm going to commit this with the R-b from Frediano that I've got. Jan