Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1134154rdb; Wed, 1 Nov 2023 12:15:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRt3rQWoTTyg5DVgIVqUj97qSIS6Y69+aCX44Gm/fnZjHkrmhAX31QtAGz7gp24EfdgLIz X-Received: by 2002:a17:906:e86:b0:9c1:edd8:43c2 with SMTP id p6-20020a1709060e8600b009c1edd843c2mr2153268ejf.42.1698866104570; Wed, 01 Nov 2023 12:15:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698866104; cv=none; d=google.com; s=arc-20160816; b=bH2LApuMcGxeLDS2/2FxbZYNOEh0G2JUJSCUOtmRo1bMhjeRqKX4RhC7n26uuyrjHi J/4d+XTw1s3HdNpyKZoE3mmvecmf4NmWCZypek0zzJas0HIF/DDplszk9oc3XX/HjtQo 06SR1Z3WEh/DZZcpe9PU4v2hMbFtFzFxeoaCZfRjMuRxtsII41vpvTlhJkHOuyeDd24Q kLhdQN0K2WTSn3RxRhVBu+begjha0sJnh5bEOKXR1Ihv3CAJoiUycVbPBz7kcVB6dqV1 ZynkPmqlIpejCDC5F7SjPhrR5yaigWpUXxzg7YFCD+uMQepZ4DxZ1KsXy1Al8eyQGb7K B81Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=Cyq7i6EaGgil28Xl5F/guM0LpGPiNQiaA+bO7M5w6ZI=; fh=F5cWrAHDBZALc2ScNplBGffzBAIhznaz3w8Oc5cIVYI=; b=Y/Pm0p48vveukBwePe2HPlcnAKqfNZp/XqSYI6xmTp6sagWFtS5ou7DF3H1I3RNTrt N7wtIrPv3Sk5HpWrja7UwWeZUc8HeBUnouT+zULRoVl9XAseJPui94/1g/4KwGzKifRl +gBJDjxoY6LfOzG3iI85QA6c3k3p96/ts80P23noTPBLUMK6HlFWyx8yLm9kEELFTUXJ QP0D6X5JjPjxa5silTAHHMr3gcnM7lkZoYKO3sNyvtYjTakLQsCO/FwPBnnbOTPSBhgk R01REFTmZmXUqelHobCC9J6VDBrFPPXWTITACtAIfWR6HzzC71v6+kz4ov5uuP6JUz6P RYtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=INM1HKJw; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dpQ8IFe5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id hs13-20020a1709073e8d00b009b3048846dcsi209323ejc.431.2023.11.01.12.15.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 12:15:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=INM1HKJw; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dpQ8IFe5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EE8CA80BD745; Wed, 1 Nov 2023 12:14:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344866AbjKATOi (ORCPT + 99 others); Wed, 1 Nov 2023 15:14:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232745AbjKATOh (ORCPT ); Wed, 1 Nov 2023 15:14:37 -0400 Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74DC7A2; Wed, 1 Nov 2023 12:14:31 -0700 (PDT) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id AF6A75C0209; Wed, 1 Nov 2023 15:14:30 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Wed, 01 Nov 2023 15:14:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm2; t=1698866070; x=1698952470; bh=Cy q7i6EaGgil28Xl5F/guM0LpGPiNQiaA+bO7M5w6ZI=; b=INM1HKJwabC3A1jeJN SVm82M0rXMmci4dXowbsR7aGUDKLj3VlikAYGG8ZozK6hAuJNntjuGI0DPQ8lxmT xW95NsvkU5rLlUvlaCKQ8qzx3mxUtk8k6K522+EHyl6AWnHJhJirOvwkQORvEqpM XbocrgQ9E0D90hLUqLtE1g/wdfQR9jdbecMotlmXBOEWSAgCOvmXK/di06MrjlW/ c4lZOjgTUkpLXY6BTxYeQXbalTiYLuHDmWt+NmhS+z5phRQgf0XodcB0k/CqBOYn l7LJ8jzz9U2EDm4gIruiQydd9SXyOIrfcd7JG3wY1uLV7YpuMhTUqVUUjis3a5iy ATMA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1698866070; x=1698952470; bh=Cyq7i6EaGgil2 8Xl5F/guM0LpGPiNQiaA+bO7M5w6ZI=; b=dpQ8IFe5Ybpf0ckmqJ6zj1t3Uib0k 2IHBDD8rKSUNAPVBge1lB+hTf1DM1/6XDdaxwGwwsGp2dCz4sWVOYW957PoQtmcw qUpzmRm25UA0KYrtMtqxF/4kEOfh0IsAqq4uG+ET0m/GJoQKFSzSyV9a2RnhfBNu 6YCi0xaeQp67wt68qmKshfGI1SK8Ch3anX+qLvWLOF3us5Z9oOB/gQNgnJkUD4U6 v4HEDig7Sh0OKfxsUkcW5UYxwQBjILMZpoU3WWmEdXNm00+C9VMPlZJF2acpx8In 2Km2EOMw9cX7JnMX1GlLQbjMphdRO8ZfdTs3Zd/NbP7af8HY15k9bBx9A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedruddtgedguddvudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdet rhhnugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrg htthgvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedt keetffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grrhhnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id F1B42B60089; Wed, 1 Nov 2023 15:14:29 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1108-g3a29173c6d-fm-20231031.005-g3a29173c MIME-Version: 1.0 Message-Id: In-Reply-To: <20231031-optimize_checksum-v9-5-ea018e69b229@rivosinc.com> References: <20231031-optimize_checksum-v9-0-ea018e69b229@rivosinc.com> <20231031-optimize_checksum-v9-5-ea018e69b229@rivosinc.com> Date: Wed, 01 Nov 2023 20:14:07 +0100 From: "Arnd Bergmann" To: "Charlie Jenkins" , "Palmer Dabbelt" , "Conor Dooley" , "Samuel Holland" , "David Laight" , "Xiao W Wang" , "Evan Green" , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, Linux-Arch Cc: "Paul Walmsley" , "Albert Ou" Subject: Re: [PATCH v9 5/5] riscv: Test checksum functions Content-Type: text/plain X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 01 Nov 2023 12:14:56 -0700 (PDT) On Wed, Nov 1, 2023, at 01:18, Charlie Jenkins wrote: > Add Kconfig support for riscv specific testing modules. This was created > to supplement lib/checksum_kunit.c, and add tests for ip_fast_csum and > csum_ipv6_magic. > > Signed-off-by: Charlie Jenkins > --- > arch/riscv/Kconfig.debug | 1 + > arch/riscv/lib/Kconfig.debug | 31 ++++ > arch/riscv/lib/Makefile | 2 + > arch/riscv/lib/riscv_checksum_kunit.c | 330 ++++++++++++++++++++++++++++++++++ I don't understand this bit, what is special about riscv here that prevents you from adding it to the common lib/checksum_kunit.c? Arnd