Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp348972imu; Sat, 17 Nov 2018 00:40:33 -0800 (PST) X-Google-Smtp-Source: AJdET5fOLL4yVFhfF9KI+DG5APuM5I+iiEtpnmAzmy8zq2FqvhwM+tO3d6ia6byEiSKbXcR+FVfR X-Received: by 2002:a17:902:8214:: with SMTP id x20-v6mr13693825pln.224.1542444033151; Sat, 17 Nov 2018 00:40:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542444033; cv=none; d=google.com; s=arc-20160816; b=RYWTX7ITRtapdm4hrLx1pW+hsrGkcDrsTraPahfcuLqc2xeQLNLN8A3cF1IKfF4+MV XCwWk1W0+T8BKRZ8FGw6dzvlm7rwv2ymPVuM7NBWAsGrP0fL/vLTxvqcdEtbvAC5NwlB H5MWQA1t0oyRfTxpfH+jT+in0Myl5Ifa14XgcM2hjEKi+Hy3ix4LvqAtqlumn13x/sgH VyyyKuXxUUno8BM9EvcF2AGE9ZFvoU6ar3KgyivgLFf6XYLohu3cfsJdPnFN4jfHkB+n CihrPu+c4SbUX8m4z1Li+cKkW2wbKx5oyVhR40kmPHN6fm2ytzeYg/JEgEFbMmK1WoRt Bx4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/wcz7gEZls18SLjUfOkxcXo3zsbQkDoTKDkBsOJy7f4=; b=KocglsJ8MwEzp4GS63Ao4PA+hrgFjzb860OYA/WM/kmrDb5yo8yYlx1+3I5jn3+Z26 P1wLt/tZTHUlmVjDzW4/H3h2kxinshrfmeKeVwvptVtZ5DwmBuagJyRqrfsAjyNKpW+2 A6SOumNYG17YXKXAwqNpSwQk9M53lJSMJelHtphZH6/ixFsWMFjFqE+CxfiRVEvBZ2Vk Sxt2uUGXvP6QdzajKXSNtynsJHeBLOQc+DxEpUBtai6czgXHjAakgesq7zNNcYdNoREE pLe5PnAKnpZfhfzSSjZjijBtBcWdVNJJcw5nisxu0TUtMJykgymFwjgRNTRXuzL8N1EN jygQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@plaes.org header.s=mail header.b=MSYAwE4H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g5si7773152plo.108.2018.11.17.00.40.02; Sat, 17 Nov 2018 00:40:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@plaes.org header.s=mail header.b=MSYAwE4H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725964AbeKQSw1 (ORCPT + 99 others); Sat, 17 Nov 2018 13:52:27 -0500 Received: from plaes.org ([188.166.43.21]:38308 "EHLO plaes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725849AbeKQSw1 (ORCPT ); Sat, 17 Nov 2018 13:52:27 -0500 Received: from plaes.org (localhost [127.0.0.1]) by plaes.org (Postfix) with ESMTPSA id 2378140227; Sat, 17 Nov 2018 08:36:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=plaes.org; s=mail; t=1542443789; bh=HzJVQx+Bg2X6T+cbuSuJAaQCs82gjYrYYb2Rq7ojpoA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MSYAwE4HHQMnQdXcs+TMWwHznIWMyLuG0N2X4gM/39vDaX7EqJWQk5pqEb98UOOyp TY1Eg/d/HRtQgz+iOlVL7n/3Q8P64xvQhWwKVHn0A2yJBNjxwDTZuYEG14laZJq5wH 5YaY4uC8/DZd1entEjRBygCmeL/NGV3ZAt6JpAmW0kINPFmr7Or3/hvvqigyCDeJkI XawqzQYQ5lVOR1abt0SLKtzOmMyFmyv8aFUTkoiOjjMoB/wgdgOJ68EPLDS5KoZVMD oGl/EMZhYk8f7sK/I+6hcpDtfHAOWyVX1bcJyWYtyXFP7LhHYm/GNernLL8iAmRHIG vKsWHj/4PpwhQ== Date: Sat, 17 Nov 2018 08:36:28 +0000 From: Priit Laes To: Michael =?iso-8859-1?Q?B=FCsch?= Cc: Kees Cook , Jia-Ju Bai , Kalle Valo , Larry Finger , "Gustavo A. R. Silva" , Colin Ian King , Arend van Spriel , Varsha Rao , linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 3/3] b43: Use cordic algorithm from kernel library Message-ID: <20181117083628.sm6juvz75kiargz4@plaes.org> References: <20181114194628.0f485637@wiggum> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20181114194628.0f485637@wiggum> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 14, 2018 at 07:46:28PM +0100, Michael B?sch wrote: > On Wed, 14 Nov 2018 20:27:52 +0200 > Priit Laes wrote: > > > Kernel library has a common cordic algorithm which is identical > > to internally implementatd one, so use it and drop the duplicate > > implementation. > > > In v2 of the series it has been said that: > > Arend van Spriel wrote: > > I recall doing a comparison between the algorithms and thought I put > > that in the original commit message. However, it is not there. It is not > > exactly the same as in b43 so there are difference for certain angles, > > most results are the same however. This implementation is slightly more > > accurate on the full scale. > > > That's not my definition of "identical". > > Please do not apply this patch without doing a thorough regression test > on actual b43 LP hardware. Indeed, there's a big discrepancy in the results of both algorithms. Here's the test script: https://gist.github.com/plaes/284993a4fc65e0926d0628a11f0cf874 So at current state, this is self-NAK from me too and this patch should be dropped. > > -- > Michael