Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp8206642ybi; Tue, 9 Jul 2019 11:07:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqxtYiJTzI9oqWYHl7NR0KLGbPpSENiyydbRg7C6bHkEc6Q5E/u3SRI4+plVTVb/n0AgzVlP X-Received: by 2002:a17:90a:8c90:: with SMTP id b16mr1450214pjo.133.1562695636831; Tue, 09 Jul 2019 11:07:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562695636; cv=none; d=google.com; s=arc-20160816; b=vcMHY5Fl0adPfkhEEDo8Y0MExSSQmecfHH9xhg/Hs1MlHXFRmacExHcAYOTLVC/34o REaVRMPMQetd42gS0+osmomckLBx4rb2xv/ymvIekm/9aUPKzp0etUWTI3CbM6CzJGeh 6bqyjVCTi5Y3XAtlqHE9FV+o60fgqAMcriCbcgyJoLTo+ywwsdDkJL0QgVVkkbYKZBlE NP4m69LJPt7RGUvQfTMaU1mh0jm4JBwrT6WT0Mo6ZzMIIAn6cnV4T+jIfXcuAvVliBcV DF2tt8ber0kg1w6jlmAmogaR4ziP+vLYaDnTvKjvShVHv4/M9GSutg9W+LRJWd3unTNF 9MoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=G9m9jbjNt70Oo3GkYvW+I8zMmltGr9hFx9mcNFoVY0c=; b=oFUntV+61Hp5wMlRqTpPNqHeZjgbUeLqU8Z9X8D8puhVyFtrkbVOn26w4ZvgacqgZ0 ttWlG/xvNC6GXHFOSzgVAU/ySrCWDSrp1BNblUC+Y9jZIRWklAomMAVl3HRags9aO/Oh TVNX0FbZP9nA5vf+W9FzTCdb3Q0Bzok+Z9BZ05lDzPS03+91YaU6J2W3uAIqXAlpiNtK TWNfCByBA8m3FmFNhaUBzUpNU/Vopm6FaSdr3aBsA8E7gMW/thvcUxUCwWHtZnaKvYIH 2xjEeU28EEnNZC6hHKC55ld31uu5X8Z/WRARitKzAgD+s0o2KTzF2nbKmD5ikMYuKcLZ Mo6g== ARC-Authentication-Results: i=1; mx.google.com; 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 o127si23436673pga.593.2019.07.09.11.07.00; Tue, 09 Jul 2019 11:07:16 -0700 (PDT) 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; 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 S1726875AbfGISG0 (ORCPT + 99 others); Tue, 9 Jul 2019 14:06:26 -0400 Received: from mail-ot1-f66.google.com ([209.85.210.66]:46835 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727786AbfGISGZ (ORCPT ); Tue, 9 Jul 2019 14:06:25 -0400 Received: by mail-ot1-f66.google.com with SMTP id z23so20823280ote.13 for ; Tue, 09 Jul 2019 11:06:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G9m9jbjNt70Oo3GkYvW+I8zMmltGr9hFx9mcNFoVY0c=; b=tNib1DuZwYbhWrh+JQlUm722vhagLSFBF65C0E2Tev4RJQsT8ZLxaxcM1ra+k6nfnn VZHCvMowGbW8QAWZlcxmPNZuPp1xWZBjboZVtYEEIEARXTSdikTtaHwk28lR6PzJc+2W rGRwkxbrzM+AhyhcGBiN9Fo9fahmSOmb2T21y8wJQhUGegWPKHJlBK/Sky3amoZ8ockh OZo41mcy7eZBfckfa5LDBQPlQGoNf71gbptiRVz6D7M0xoRp8kWkPQKVI941ElKUscpo rLnkoSatsnzFJovwX8WvQzpULemMsJGIznWMPzTcp1tnJbdqQIlW1oOIIdW4NbjfrWH4 hkBQ== X-Gm-Message-State: APjAAAWh8QlbTzn6+A4SuoAj/Kd4UdGIl4A6HPFjhurR6OtHgoU68ptt O1u5y3apb9xtmogd2zxnhSofuzcrj8eN9uZv/0k= X-Received: by 2002:a9d:7a90:: with SMTP id l16mr8386870otn.297.1562695584580; Tue, 09 Jul 2019 11:06:24 -0700 (PDT) MIME-Version: 1.0 References: <20190620141039.9874-1-ferdinand.blomqvist@gmail.com> <20190620141039.9874-2-ferdinand.blomqvist@gmail.com> In-Reply-To: <20190620141039.9874-2-ferdinand.blomqvist@gmail.com> From: Geert Uytterhoeven Date: Tue, 9 Jul 2019 20:06:13 +0200 Message-ID: Subject: Re: [PATCH v2 1/7] rslib: Add tests for the encoder and decoder To: Ferdinand Blomqvist Cc: Linux Kernel Mailing List , Thomas Gleixner , linux-m68k Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ferdinand, On Thu, Jun 20, 2019 at 4:13 PM Ferdinand Blomqvist wrote: > A Reed-Solomon code with minimum distance d can correct any error and > erasure pattern that satisfies 2 * #error + #erasures < d. If the > error correction capacity is exceeded, then correct decoding cannot be > guaranteed. The decoder must, however, return a valid codeword or report > failure. > Note that the tests take a couple of minutes to complete. On which hardware? ;-) JFTR, the test succeeded on m68k, after 6 hours and 12 minutes of runtime on an emulated Atari Falcon (ARAnyM hosted by an i7-4770). So far I have no plans to run it on bare metal. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds