Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp55043pxy; Wed, 21 Apr 2021 18:19:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwVOnJU9P8AcJkvd5R7XUkeVUDzy0vmPW+WvBczcw8Sgwwzb8RGhUKenBSYPq20ZRf24nK7 X-Received: by 2002:a17:90b:390f:: with SMTP id ob15mr14266880pjb.100.1619054381097; Wed, 21 Apr 2021 18:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054381; cv=none; d=google.com; s=arc-20160816; b=oAFFyuq3x8DFCxyYdyDP558ZFo++GvnTYoQw1+1YwUx9WbCIhtZgm//wxRroiZDC3o kcCH65uCjtRGDFnEkc1RyNpjoxhGN/M5Pdtoy2ZEnVi4M/1Tr37pB45e9hTXveTD4XEO qmt+9TvcC3nqNoVtThsEiUfFKvTqR+ga430QmYvmiSndH5g3q4zcrIz0hHQ5m9q8J7l6 J5RjfAyJif1+rVySJbfqcHPhOfgR4HcjePJk/4r+4rwvhdPZq7Iu6Vctev9VBhm/7vPC Un+YV7NY2wqwk25ZJBJTDHOe7OWIDrxdlkXFP++ap69zXdftMzOMwp6LdOy7+QkkIHQs /aMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date; bh=NOuWQHASSHdypMOKrYHVP7mIXMKfrnCYhod9rD/yILY=; b=Zx670ZKyHZ8PhuQJ7gfZc3zZzrQ4bqdK9xiq+O2kOVYJhSVfna530rkexQUETgYN/C HIp8dRVHCHH4WNZY063lXlstC78Ffk9vwmcCCGVLbuwl5ablr0rXi40vQFkBkaJFrLu7 NoRVbll9NN4uj5Y+tGqwWUdeFictJT0leq8SoMuF6XqXddGbXh6bJXavfALZpx5ULPTY crZzJEmnpW1tEqGg3sPx+4oxfuQyAZ7fLpojUvG0fBFVdspafFZyGKfYa31gjBcu1Hxi pHrKqDXsZURHZhMlMtOAdgR6PM3eKXmrSz5xNi8KxzbCwCv/wagwfLqImT0QuGcKXNya Hh9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g17si1382984plg.307.2021.04.21.18.19.29; Wed, 21 Apr 2021 18:19:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245383AbhDUTEr (ORCPT + 99 others); Wed, 21 Apr 2021 15:04:47 -0400 Received: from angie.orcam.me.uk ([157.25.102.26]:39368 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239751AbhDUTEq (ORCPT ); Wed, 21 Apr 2021 15:04:46 -0400 Received: by angie.orcam.me.uk (Postfix, from userid 500) id D056F92009D; Wed, 21 Apr 2021 21:04:10 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id CAD8792009C; Wed, 21 Apr 2021 21:04:10 +0200 (CEST) Date: Wed, 21 Apr 2021 21:04:10 +0200 (CEST) From: "Maciej W. Rozycki" To: "H. Nikolaus Schaller" cc: Arnd Bergmann , Thomas Bogendoerfer , Huacai Chen , Huacai Chen , Jiaxun Yang , linux-arch@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/4] Reinstate and improve MIPS `do_div' implementation In-Reply-To: <51BC7C74-68BF-4A8E-8CFB-DB4EBBC89706@goldelico.com> Message-ID: References: <51BC7C74-68BF-4A8E-8CFB-DB4EBBC89706@goldelico.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Apr 2021, H. Nikolaus Schaller wrote: > > In the end I have included four patches on this occasion: 1/4 is the test > > module, 2/4 is an inline documentation fix/clarification for the `do_div' > > wrapper, 3/4 enables the MIPS `__div64_32' backend and 4/4 adds a small > > performance improvement to it. > > How can I apply them to the kernel? There is something wrong which makes > git am fail. I don't know. The changes were made against vanilla 5.12-rc7, but then the pieces affected have not changed for ages. FWIW I can `git am' the series as received back just fine. > > These changes have been verified with a DECstation system with an R3400 > > MIPS I processor @40MHz and a MTI Malta system with a 5Kc MIPS64 processor > > @160MHz. > > I'd like to test on ~320 MHz JZ4730. Sure, I'd love to hear how this code performs with other implementations. Maciej