Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp3320254ioo; Tue, 24 May 2022 20:09:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlToHJvaCS6Vtn94eshKQBjyMhMsnWcq0E9PkDtoiEfmu1r9Cmr8ZGFOEnBqEXomFHTl6I X-Received: by 2002:a17:907:7f0d:b0:6ff:b84:a4aa with SMTP id qf13-20020a1709077f0d00b006ff0b84a4aamr3163106ejc.595.1653448166083; Tue, 24 May 2022 20:09:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653448166; cv=none; d=google.com; s=arc-20160816; b=E/bbUtVTLAJoA9rYj9/WMyUZ7t78fXVQisXP3j/s8uP9oMgRsX2Mq2BKNH1NLnKGP1 X0eU7raeaQErCnijtOkWzC9GCVIebl5Nq1+A+WfYiM4lvKKFv0IlkAO2md9WaL3Vl9j9 Hu9YhYTzm8DfVHTufBB5yGi4dEYuTiJYj4ZMHh/m26YJTAunwgp+6zC80dol9e138KoH TJUkuQiax+QnE1mURyVcxx2y32ZmYc4KSB9ngAxfoAvtc+4aDOxZG0t5pM4j3TbVIBzG bD24hyxUMNtSmqU9unpqf59de/zIm64AEt5IKqy1WyeaiKluHyZ+Z+AfC0xliFq+BxLC vpuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=62oZybgFBxJptBg4w0Na6gq9SY8Uv4M/InFJNbcHhmk=; b=OSIXZcGhgdX2QK0+5Y8i/68NB6NrueT3As3Oa+y9/AFdt6D0BwJVPg8dCz2nW/hMsC nJ5Q7JdktSqfhRHbPq0Pf9GHkSZdB8hhwzkJiuAPkBzo9MITuVx0ROvl4UHavovNbOBx L8poEXfnrk/ixbYT04t67IBkNIyFVOLXwtwOylpQ3/7E3/sYqOjpC5Sov7TevH/OSUXX Jp8bPuQOYCGmWta91qcchO4k6OHaOVrARjG7m7jtUgW3QOKNQkqjhD7pXmHWrCJl9AFr rB2QqDhgh8ETdci+vswCkbrfzJeUFiM9eoUX0VRIYj4t89D9BxvyTh/spP/DWT/b/uGC dg7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VqJQMqdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p17-20020a17090653d100b006fefda6ffffsi4221770ejo.5.2022.05.24.20.09.00; Tue, 24 May 2022 20:09:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VqJQMqdA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240345AbiEXSa7 (ORCPT + 99 others); Tue, 24 May 2022 14:30:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231477AbiEXSa6 (ORCPT ); Tue, 24 May 2022 14:30:58 -0400 Received: from mail-pg1-x532.google.com (mail-pg1-x532.google.com [IPv6:2607:f8b0:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95CD57A83C; Tue, 24 May 2022 11:30:56 -0700 (PDT) Received: by mail-pg1-x532.google.com with SMTP id g184so17014190pgc.1; Tue, 24 May 2022 11:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=62oZybgFBxJptBg4w0Na6gq9SY8Uv4M/InFJNbcHhmk=; b=VqJQMqdAxeBonlch9i3vHMiugUkHlr9s+Xb5tHFiBx3q9rCtF46NjF73GdAqmImMrm 8ntyEeZeWjALovaxhWhvgoDKkcE3K8ngjvxaF/J7Q0j6R6/5VjeOY/L8wpSxwr0cwRPD FgFhQAldBMml51lQcLdtyO/9NRsyAeJTlyZB6Jmin0/i3tgip6fbqvq3+lM4/m7pw0b+ fuzRF1/kxwnk4dEu6nwuFZPa/93ipcP9sKJmpGsYyMptT0pnSYH0/xZBV/uZRw5k3Utk j7kCKdPBgnsxn3sUh24EbW7l5LO2uVgiRzp5ifdV/Tu1YczHc5C2NmadUJEFGZmRR70N EKPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=62oZybgFBxJptBg4w0Na6gq9SY8Uv4M/InFJNbcHhmk=; b=ONprRaGF63xMOLdJPofaSxnei3jqA3cpaosdjZRAb936yd4cVkb7EnXrdNKXtvOEBv p05c39XqdXBhRExVb7XoCyAd1Ughea5AvFMwmsKXWR1vHtk1SE6DRgc6ZI61as3lGX69 6KtqI0YOcrsGNE0i1h3Hd96TD1O9IB2zPXHyWYdUtIFmXCWOqI5k/qAS4iHUH87AHtnI yAbgzzoyijWhwwCwAL0YJUvDPGd1WmuZjoYRMD96kNGU5OMJNjoAr4g6lrGAR4nesfHw 115RzfcXPQnOOWRHCyBABggYpDZVJTYwycom1YzvFsJFUGF4J+LZWAi/U8rr/YElUoSx n5kw== X-Gm-Message-State: AOAM530t3YohT2pF2fnnr1Sb4vYaSrOdZ6OQzZuL+zWtn53ZSpfj6gRM hch4om3WklPALIgubh19eaI= X-Received: by 2002:a05:6a00:a8b:b0:4e1:52db:9e5c with SMTP id b11-20020a056a000a8b00b004e152db9e5cmr29526928pfl.38.1653417055980; Tue, 24 May 2022 11:30:55 -0700 (PDT) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id p9-20020aa78609000000b0051878e8cc13sm8091200pfn.116.2022.05.24.11.30.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 24 May 2022 11:30:55 -0700 (PDT) Message-ID: Date: Tue, 24 May 2022 11:30:54 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Subject: Re: [PATCH] MIPS: Rewrite `csum_tcpudp_nofold' in plain C Content-Language: en-US To: "Maciej W. Rozycki" Cc: Thomas Bogendoerfer , Paul Cercueil , Nathan Chancellor , Tiezhu Yang , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org References: <7682977b-5929-890a-3a18-662fbfcede5c@gmail.com> From: Florian Fainelli In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 5/24/22 10:18, Maciej W. Rozycki wrote: > On Tue, 24 May 2022, Florian Fainelli wrote: > >>> I have visually inspected code produced and verified this change to boot >>> with TCP networking performing just fine, both with a 32-bit and a 64-bit >>> configuration. Sadly with the little endianness only, because in the >>> course of this verification I have discovered the core card of my Malta >>> board bit the dust a few days ago, apparently in a permanent manner, and I >>> have no other big-endian MIPS system available here to try. >> >> How about QEMU is not that a viable option for testing big/little endian >> configurations? > > Yeah, for this particular change, sure. I don't have QEMU set up however > at the moment and would have to take some time to sort it, and it won't do > for peripherals it doesn't implement. The failure is a fresh problem and > I yet need to figure out what to do about it. A bad coincidence I guess > as I have MIPS hardware 10 years older that still goes strong. If that makes it any easier, OpenWrt has 4 configurations of Malta for QEMU which allows you to have at least networking (relevant here) for 32/64 and le/be: https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/malta;h=90b2913dec291a1926eefc332b90b5842746c6e6;hb=HEAD Along with a readme file on how to start those platforms: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=target/linux/malta/README;h=bbe806de3d6671d69ecc3db0fcfccf9f9176de13;hb=HEAD It's really easy. -- Florian