Received: by 2002:a05:7208:13ce:b0:7f:395a:35b6 with SMTP id r14csp203087rbe; Wed, 28 Feb 2024 17:55:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUhBjwtogRWzOvSuaiX2NevCQTuD3hDZEgv+8IA7Jgrf4igm3j2QaujT/Pd4KPjxHoCPto22tmSDBzzJr8Pi8qWEQKyIQvmpstuBsDo1A== X-Google-Smtp-Source: AGHT+IG5P59OXHTA4Mf3XYJ8JlCR6J0xIDbHWY/muPSMwc7W70gh2IOlNac1e/0sEBwIn89S8Yrc X-Received: by 2002:a05:6402:5246:b0:565:214d:8dd7 with SMTP id t6-20020a056402524600b00565214d8dd7mr601476edd.35.1709171753140; Wed, 28 Feb 2024 17:55:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709171753; cv=pass; d=google.com; s=arc-20160816; b=ucaRF6Wl5gNd6n0TelCriXYdHxMXuxCw7GOu+ArYZmHVBBjYO4yvYh/mkrP8ZRMdqs YKv3GXOtWHedJV39SYcNKYsLJlYBXogzDcEHWeKN3r3oQVs8th2CwuOkSei6pPwmNnSH ILCVLITfqw4WCoLQUy7HJrbGpr35P40mZygW7RkkfNcexAWCpUrh8NJb0v1gOrmchY25 6XMCg3zpG4D4La/5HKnMffoT0KbNZK4WJFnlzYKqxfUSJesD65pZMTOHa4UoaTlIz5VR Bwx+3Ot78W114QCDKyJNYOEjYTYbtcYqmYJMWePIXb7ehW/dKL5Ua3puAfI2G6no/XVX M8eA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:to:from:cc:in-reply-to :subject:date:dkim-signature; bh=jmZRYNFXLdB3MKaMf6C9tFz3DUlJN/FztTh6G+qTvXk=; fh=V9ssLF+a2wJ/i2Pz62SfjMlHrPIy6k6d9GyOXrJCoEM=; b=nmHrwvut6uvF16dJYYuJhNDUpYhkB3IQ3z2XvHRDWgvVwbSX9EwFUDwbNPCP5RnvkG fsvniksSNQOwXmQLpb6qLY3SD5OBdcsHx5jTB83oN+2d/FBHzfcmHHfhj+Xw1ValYlJ4 8ZbJwWVW1PGmQLJ5v7V+5vjHCEgyFsfGzh7L+eSViJqolsvqPFGefHmW49pS1sr2xxXc r6FhEo/MJHErVbgGcmTaL01RKeOhkAGuDZfgIiL84DW1vBYfYrpg89iNCPEc9VIF+oh5 hiQbYBQFi7X4ep3LDv2DUt6llQWsP6T+wCcO6YgdhOb6f/YmWldb3x1x58j6cbKHelak edQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dabbelt-com.20230601.gappssmtp.com header.s=20230601 header.b=ZkdWAzyI; arc=pass (i=1 spf=pass spfdomain=dabbelt.com dkim=pass dkdomain=dabbelt-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-86019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86019-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cr10-20020a056402222a00b00565e360a5b4si119268edb.368.2024.02.28.17.55.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 17:55:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20230601.gappssmtp.com header.s=20230601 header.b=ZkdWAzyI; arc=pass (i=1 spf=pass spfdomain=dabbelt.com dkim=pass dkdomain=dabbelt-com.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-86019-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86019-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id E14FD1F24BC7 for ; Thu, 29 Feb 2024 01:55:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 804DD364DA; Thu, 29 Feb 2024 01:55:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dabbelt-com.20230601.gappssmtp.com header.i=@dabbelt-com.20230601.gappssmtp.com header.b="ZkdWAzyI" Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0EC136113 for ; Thu, 29 Feb 2024 01:55:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709171745; cv=none; b=Pas7Vw4GaQDDakoKzOYmfx5FSiRcsQ/BRLTGDOCqewE86Ij5RYuRu2ApeRRC8jR/YqO979iEYHCNJ9AElKX2hWtbrTvDzMHQpNVoyGP5RlHG+P5HOYNfWCh7+oZ3DoHcHXCfvywsva4LVXxrOb7sKeIY9o+isfSd6pdv9XXuolY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709171745; c=relaxed/simple; bh=0FKuZF+/77UvZJj7Dp1T/f7NHzts2GeP2TB5tPoHcEM=; h=Date:Subject:In-Reply-To:CC:From:To:Message-ID:Mime-Version: Content-Type; b=bv+ldLO11txugGNtcZG/dBVfACGImld6ISAnxJa+yq33cxuPq+jzba6iNs/PGgiiPtbwTpqM6RM1U2n29UxjgVLT3sbg7uqLhue++5Fc2+yNFi1XXOhgL3U3HXH+ZF9p5PFnPDpjBEWAOAIzoC8StfetvaL8NxegtgnyRREToY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dabbelt.com; spf=pass smtp.mailfrom=dabbelt.com; dkim=pass (2048-bit key) header.d=dabbelt-com.20230601.gappssmtp.com header.i=@dabbelt-com.20230601.gappssmtp.com header.b=ZkdWAzyI; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=dabbelt.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dabbelt.com Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1d94b222a3aso4755395ad.2 for ; Wed, 28 Feb 2024 17:55:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20230601.gappssmtp.com; s=20230601; t=1709171743; x=1709776543; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:from:to:cc:subject:date:message-id :reply-to; bh=jmZRYNFXLdB3MKaMf6C9tFz3DUlJN/FztTh6G+qTvXk=; b=ZkdWAzyItg8Kbf6Iv3/muYd7RCPofvAAcMoawj1R9DSg78lVpwC50ZHjjEq/JRlhy5 TSl+mJDB0p06l9I7iZ4fPqCkon4s+zvLEJUy7WWUIVAmFzdGynXuM629yQrL7uXoq6zJ jo8Gz8+pA9iKKN4NeUgaCQdQ1Ws0QvrL4Ha80ASHH44u51IHUyQrjHUTdP7ABVYVxjT+ T8IGLliML5wIjGZFW4SAsKqmcp1Pt9uBAAJCaexIbg+fDCJMeTESgMyfDzOv6PE1u50I eR3ZsI0Zdfmy+ONhcx5kEUIpu7LOMDbqzE/+NmqXk2MSCjMhjR5qDJ1RVZSfxds1+qWP 18Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709171743; x=1709776543; h=content-transfer-encoding:mime-version:message-id:to:from:cc :in-reply-to:subject:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=jmZRYNFXLdB3MKaMf6C9tFz3DUlJN/FztTh6G+qTvXk=; b=IbfTJ/1r+tB2QRCz4JViHUBlaiPjqN2NKtZDDAK0uZCR349jNygxCGr/ulirzB5N6N e6Yrqbdl6UV4V8wI4wo8xbjVIgmdTbzNcHkoxDe9t26T1PJTosTk3QuM65Gul4IB3GrG UuLIcQSfSKnP1e0Tv8l2eTw6s//EAKXCqmq+FOJ3k8zjIjVFVRTxQvU6FVMzqkVVSlSm go8mY1vqn/vAtfPR8CTTZZHQ138Q77P1YR1r//CPyYt/6g6B6trfD3XlpcxQyA79hZpQ ewhtNQvsaq5OegaUCSpJ6MhOiT7oyY1G2qD2XgUF0x91f47khEWDBerEnvv/zywehcUz cjWg== X-Forwarded-Encrypted: i=1; AJvYcCUXjv8hHH8eTkwWwjLRWdlBC49XhN+zxR3xAnGvwec+zc3iorWYuqxrCkUQj9GMyoSOKLh1tDk/4eY91cQJlPNeJi3vSN0wKXfySsIT X-Gm-Message-State: AOJu0YwbGa+4lupkfNeQK+4XnJYv0TI6jWljOWUbxJbIJFZQp6Z9kKPD uzy+PfLWcycl8cDWZNjcjnUTqwhHrQbikzR9YzMs5QP2F5X5Qqlk4whwvNiTIlw= X-Received: by 2002:a17:902:da8e:b0:1dc:d4f9:fd16 with SMTP id j14-20020a170902da8e00b001dcd4f9fd16mr1090967plx.10.1709171742967; Wed, 28 Feb 2024 17:55:42 -0800 (PST) Received: from localhost ([192.184.165.199]) by smtp.gmail.com with ESMTPSA id u5-20020a170902e5c500b001dcc158df20sm124729plf.97.2024.02.28.17.55.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Feb 2024 17:55:42 -0800 (PST) Date: Wed, 28 Feb 2024 17:55:42 -0800 (PST) X-Google-Original-Date: Wed, 28 Feb 2024 17:55:19 PST (-0800) Subject: Re: [PATCH net] kunit: Fix again checksum tests on big endian CPUs In-Reply-To: <20240228175158.04c0aa1b@kernel.org> CC: akpm@linux-foundation.org, pabeni@redhat.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Charlie Jenkins , erhard_f@mailbox.org, christophe.leroy@csgroup.eu, davem@davemloft.net From: Palmer Dabbelt To: kuba@kernel.org Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On Wed, 28 Feb 2024 17:51:58 PST (-0800), kuba@kernel.org wrote: > On Tue, 27 Feb 2024 10:06:41 +0100 Paolo Abeni wrote: >> On Sat, 2024-02-24 at 07:44 +0000, Christophe Leroy wrote: >> > Hi, >> > >> > Le 23/02/2024 à 11:41, Christophe Leroy a écrit : >> > > Commit b38460bc463c ("kunit: Fix checksum tests on big endian CPUs") >> > > fixed endianness issues with kunit checksum tests, but then >> > > commit 6f4c45cbcb00 ("kunit: Add tests for csum_ipv6_magic and >> > > ip_fast_csum") introduced new issues on big endian CPUs. Those issues >> > > are once again reflected by the warnings reported by sparse. >> > > >> > > So, fix them with the same approach, perform proper conversion in >> > > order to support both little and big endian CPUs. Once the conversions >> > > are properly done and the right types used, the sparse warnings are >> > > cleared as well. >> > > >> > > Reported-by: Erhard Furtner >> > > Fixes: 6f4c45cbcb00 ("kunit: Add tests for csum_ipv6_magic and ip_fast_csum") >> > > Signed-off-by: Christophe Leroy >> > >> > netdev checkpatch complains about "1 blamed authors not CCed: >> > palmer@rivosinc.com; 1 maintainers not CCed: palmer@rivosinc.com " >> > >> > Palmer was copied but as Palmer Dabbelt . Hope it is >> > not a show stopper. >> >> No, it's not. >> >> Acked-by: Paolo Abeni >> >> I *think* this, despite the subject prefix, should go via Andrew's tree >> to avoid conflicts. >> >> @Andrew does the above fits you? > > I don't see this in linux-next, so unless told otherwise I'll merge it > and ship to Linus tomorrow. Sorry, I thought I'd Ack'd this at some point -- I might have just gotten lost, though, as IIRC there were a few of these floating around. I'm fine with anyone taking it, so Acked-by: Palmer Dabbelt Thanks!