Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp1164370rdb; Wed, 1 Nov 2023 13:12:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5+msJVgGDwTDkCTOzkP0nI4Qg54QJmbe8Pd3gulC5Sv5hZxcL2264voqVeqW0/HdN0/Jf X-Received: by 2002:a17:902:a388:b0:1ca:3d9c:a752 with SMTP id x8-20020a170902a38800b001ca3d9ca752mr13846391pla.12.1698869569610; Wed, 01 Nov 2023 13:12:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698869569; cv=none; d=google.com; s=arc-20160816; b=MT+rcjiMgZr+lGNn0mGvo3HVQwQE5upVx7krQiYECY82li1fqbfCD7coV+HnAVDnQg Z0XuObA1jWZiOCdeip0zzyvcoTM3pEU3Mka+/Fb+dDKT03b6vi7/zEY4+NlH/YXtF/6J Y/r1fwgpGin9+8VnTvRAy4LGuI8a1SuJVHsbEPIzhfu/Bf9qNUJWvsGpeJ4SP82Tw1/C gc4kZmIYl2o2WhUyUr0E8zSvpOVq+TzIMjVGfAHxLPws3cQIbw3lHCrAQCZ3oxpUfyje fNDwvTnsqnNFnfUQlIL+E+KF9PSJhSaoUI9HU1K9e24oCteINQRAiBGHvkXKyy2NrYys WlHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XBY0JWp+fvBCeujtT4HwLCwKShpFadpYymdfioiLqEY=; fh=picyW2y81GK2u6tXCYzp+1UhyEgsBdUgrzfrGHwfHfY=; b=qxzIrjwI4dm+dAdbIpx4OClIrYZioDe3XbDClfG+75pzpvl0otu/6wtMusPs71JUSX g8AFAiUORsxxoqkuRAprxszSW2AeScKl7yK3EdhT02b1dv6z1Wok9C1COAH4XNW44Epr x++m5GJD8HkOADRd2cVTIqhgxZRIj0v2PlwI/wwIjjj7ZnDSSna9R/qQLeYrSKbakXPi Ntv1boiqzN03V/WnUkhZ++WrUUnSeIIxx/BUMlNH4m63bsCMcmaTx0Z0D2q18EsfIrIg AYFC+PQtj2+yEV/h1Qvd5ELHxXkWVLSd20r5chZxNlDVRd3Mv2fwaSkt3decKfdRvU+y RCiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b="fLUGwmn/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id k13-20020a170902f28d00b001cc3473657bsi3549553plc.215.2023.11.01.13.12.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 13:12:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@rivosinc-com.20230601.gappssmtp.com header.s=20230601 header.b="fLUGwmn/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id DC381807664E; Wed, 1 Nov 2023 13:12:46 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348030AbjKAUMc (ORCPT + 99 others); Wed, 1 Nov 2023 16:12:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347763AbjKAUMa (ORCPT ); Wed, 1 Nov 2023 16:12:30 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52196110 for ; Wed, 1 Nov 2023 13:12:28 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id d2e1a72fcca58-6b709048d8eso235754b3a.2 for ; Wed, 01 Nov 2023 13:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1698869548; x=1699474348; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=XBY0JWp+fvBCeujtT4HwLCwKShpFadpYymdfioiLqEY=; b=fLUGwmn/YMPlpSv3zjIS5KdUmNEb1RgacJfynZeBTMyl6g02CW5KfZuYlpJJ+m92q5 CAk8opzGhUvQnHFlJkNZCwoFP8foDlCzRW6zMCZuVMCI6xuehvTGWMjwaSe2UtbLOu0d nr73E2y4oVFnFj7YiXwRvDLzNIXab/f/JcYxiY89PdiTw0w8Szrl4HbhwCMb42CmvZy0 JAQU/c2Z/5Dd5FMiy1ZEJdgBLo+9/gdDLw7TA/YonCUxM88VlFfGhRwa0vkcia7o2Y9i KkerJ8Qshl25SHcB5zgLUtKDeanpH6amLHY57aeYdHHei4TRDzf9BhnXbwMHR5r8Odvn C0yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698869548; x=1699474348; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=XBY0JWp+fvBCeujtT4HwLCwKShpFadpYymdfioiLqEY=; b=lFmVSxP8RUdQlRh0NKO3ihykVnrWvqa/wlMs3StkWQxChT6FTGjZOudrOcDFjvTylj WTfCh7bW3GRmsn5qtTYm1IL9A/f1tXv2tKIJ8jD7K02I7FGW6zyh85Iu+MyGjTj7r0tP lP4xgN1sE7nLNiEX+kVJCjHC8ESGNDTzSK8U9Exk9ZapnywxVGoHIqW+MyupmCLyczmE YRInVrL9oTNMV0s8/hh3gKRP8N0E1/E4yxOgm+RAPCLuAW2SQIR+8LZmdtDsDTXafOpb jVxm4RhmJOcflT+VUYgJWXnj7rdMWCgiBOg6iZs0j2QerJrmQMX/i483M/FxjohMjt74 OApw== X-Gm-Message-State: AOJu0YzVlDBcBGxEAIx1ko59kUozgg5FYIF7MzuBOve/hzmst4aEFirG 1jWPTHzE3axoVXw0k/ZOE1Hkpw== X-Received: by 2002:a05:6a00:1797:b0:6b4:6b34:8cef with SMTP id s23-20020a056a00179700b006b46b348cefmr15788129pfg.34.1698869547714; Wed, 01 Nov 2023 13:12:27 -0700 (PDT) Received: from ghost ([12.44.203.122]) by smtp.gmail.com with ESMTPSA id u18-20020a056a00125200b00688435a9915sm1584901pfi.189.2023.11.01.13.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 13:12:27 -0700 (PDT) Date: Wed, 1 Nov 2023 13:12:24 -0700 From: Charlie Jenkins To: Arnd Bergmann Cc: 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 , Paul Walmsley , Albert Ou Subject: Re: [PATCH v9 5/5] riscv: Test checksum functions Message-ID: References: <20231031-optimize_checksum-v9-0-ea018e69b229@rivosinc.com> <20231031-optimize_checksum-v9-5-ea018e69b229@rivosinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.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 (groat.vger.email [0.0.0.0]); Wed, 01 Nov 2023 13:12:47 -0700 (PDT) On Wed, Nov 01, 2023 at 08:14:07PM +0100, Arnd Bergmann wrote: > 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 Oh, I can add it to the common one. I was hesitant to do that just because it would affect all archs. - Charlie