From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 75AA1C4167B for ; Wed, 1 Nov 2023 19:14:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344930AbjKATOj (ORCPT ); Wed, 1 Nov 2023 15:14:39 -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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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