From patchwork Mon May 10 18:00:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1476663 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=desiato.20200630 header.b=OgiFzs3K; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Db+4Ku05; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.a=rsa-sha256 header.s=mail header.b=UdZvm8+k; dkim-atps=neutral Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Ff8Bj2DR8z9sWl for ; Tue, 11 May 2021 04:06:37 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Dv0qMuK1AJKManiaWnKclOh4YHi+yniL6G8Opx8u5eo=; b=OgiFzs3K0QwbLOfp+2xjZFFOd p+wFIQ3SVZYFqISFFNv9WWZBqlLQ+kcs/X1nmB8wI/W4ls6brVjln0qnrEaxCGAvzT4o4UNc97+le CU9UmLD1sx6Wxhg5UuDW3YEqTJediZJGCJJHmQlTvaozbOZ5D20LeTz3HDStE/4/V2w1WD4LPfs79 QG6iM3iG/el/Vy2SQ1t84BWCDNcxeDYWiB2Dv10MLf+Yx6sZj4LJY49NoHba6GsKleR+N7WVWa9Kq YkvjYVlot6V0w+zRqnXuEw9uzjqzc2z8tCklmCYUCqVeVVz69P+96vWwzWJDl8zwvJr4WD2V9lZol pwqgdGTNw==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lgAIc-00FMlY-5x; Mon, 10 May 2021 18:06:34 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgADJ-00FKox-VR for linux-snps-arc@desiato.infradead.org; Mon, 10 May 2021 18:01:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=9aS/HsiWLRlCtBO6I0rLKp16bM+IW9QsCwFqy9lvRz0=; b=Db+4Ku05r4W78ZUlndb6+7Upph KRreHDV1t3NB+HOPRosBH0MYbDRnOA6jyYIEbMTs4Ff0JDKfjH5PM2fjKtCyDMolOnmC0xg/l7Pp6 s1zWDZyzOVt9ONi31rWXd++zg/5xhyzWBkAk05XCfTahXaVztx2nzT4DlviUuFOugtsSsn75qt2eZ xu+3k0yiBBv1dyAivNObxrgGYLkWSg/wtV66aiDtRbadI9J6+NMhtF/Mk3RrOfmExbheXiu2jXZFM Wbyb22Dh+bLxA9HZjXTX9gY1tSiGjaxI1gsaite7hUNdhuNwotlttsAwusorn4bPqL5LuEuta57HE cb8m80AQ==; Received: from smtprelay-out1.synopsys.com ([149.117.87.133]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lgADF-0090zD-Lb for linux-snps-arc@lists.infradead.org; Mon, 10 May 2021 18:01:04 +0000 Received: from mailhost.synopsys.com (sv1-mailhost1.synopsys.com [10.205.2.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id E4CE2C008F; Mon, 10 May 2021 18:00:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1620669656; bh=HulA2YrArNvg2SDWu8CAsAwlBHgZwY5ATMG+b79s/Z0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UdZvm8+k+V6YsWtiGiwMjpKqtVQPY10xCWUs9u822hECAE5g6kuc//ODT0tLbpLFG rvxCug5/R9W4zduZZ7GVTolyc+CVY/e0ZAl/MO1Q3+Cxb4A5DGBoaoJfyf4wdCWD8g l05Di+t7GugsgBRu+qGsyv5Wr+Aviyr7EgKP19cDt0kaqiqNBycXySUf02oY68/W5P up7nvbHTHzuoKKOsxgvcXWVTMy2j8QclFW32Y+4t9Op55eFo2s+0+oGZ0P6ORgVAbr 5znPgv755F7/Nq/1mqpDk6IZXo2DggzkBlva2IIjNl2/Y9mASqPhhYcyYd/TTrGk17 9xsQcoHiE7xcQ== Received: from vineetg-Latitude-7400.internal.synopsys.com (unknown [10.202.19.21]) by mailhost.synopsys.com (Postfix) with ESMTP id 7C105A0066; Mon, 10 May 2021 18:00:55 +0000 (UTC) X-SNPS-Relay: synopsys.com From: Vineet Gupta To: buildroot@busybox.net Cc: Alexey.Brodkin@synopsys.com, Evgeniy.Didin@synopsys.com, linux-snps-arc@lists.infradead.org, Vineet Gupta Subject: [PATCH v2 2/3] lmbench: increase memsize delay for slow FPGAs Date: Mon, 10 May 2021 11:00:46 -0700 Message-Id: <20210510180049.61421-3-vgupta@synopsys.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510180049.61421-1-vgupta@synopsys.com> References: <20210510180049.61421-1-vgupta@synopsys.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210510_110101_752448_753F1BD0 X-CRM114-Status: GOOD ( 14.68 ) X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Signed-off-by: Vineet Gupta --- ...c-to-prevent-memsize-from-timingout-.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/lmbench/0003-TO [...] Content analysis details: (-0.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [149.117.87.133 listed in wl.mailspike.net] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Signed-off-by: Vineet Gupta --- ...c-to-prevent-memsize-from-timingout-.patch | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch diff --git a/package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch b/package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch new file mode 100644 index 000000000000..6c3e7370e11b --- /dev/null +++ b/package/lmbench/0003-TOO_LONG-100-usec-to-prevent-memsize-from-timingout-.patch @@ -0,0 +1,28 @@ +From d85b61666aa2728f68b69d02bfb162c432df709f Mon Sep 17 00:00:00 2001 +From: vgupta +Date: Sat, 3 Mar 2012 10:02:24 +0000 +Subject: [PATCH] TOO_LONG 100 usec to prevent memsize from timingout @80Mhz + +git-svn-id: http://sjvm-subversion02.internal.synopsys.com/svn/OSS/ARC_Linux/tests/lmbench-3.0-a9@157318 4eed8e25-bc12-0410-818a-f70ee6866280 + +Signed-off-by: Vineet Gupta +--- + src/memsize.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/memsize.c b/src/memsize.c +index eb25a0924872..b333cf8cbd32 100644 +--- a/src/memsize.c ++++ b/src/memsize.c +@@ -15,7 +15,7 @@ char *id = "$Id$\n"; + #define CHK(x) if ((x) == -1) { perror("x"); exit(1); } + + #ifndef TOO_LONG +-#define TOO_LONG 10 /* usecs */ ++#define TOO_LONG 100 /* usecs */ + #endif + + int alarm_triggered = 0; +-- +2.25.1 +