Received: by 2002:a19:ee12:0:0:0:0:0 with SMTP id g18csp449428lfb; Fri, 17 Jun 2022 16:08:45 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vzIFHyz8oNYB+EoNHCbmCUU55hAE9tx17k4763OoJW2cZ3X9uIqf+1dtLqAb2aeEw8s4jw X-Received: by 2002:ad4:5ae1:0:b0:46e:835b:c45b with SMTP id c1-20020ad45ae1000000b0046e835bc45bmr6352907qvh.91.1655507324993; Fri, 17 Jun 2022 16:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655507324; cv=none; d=google.com; s=arc-20160816; b=kDucbfpq0tIvpzyCwzCtQ2fhzS4RrINVPJm0XuXrXu63pzMKL7vPa1F7tQWZH4UxBK 5KijpCwRPRfkFyrkRNQRDdQ0S5fPzIbhu+n2dshJ6uPdKt1EHp9m88FS1gqCmN5O7RDx uBevB7evImOFaTlJSl4B7NChioCUR1qiEvySsFiaYHXhoCZrqw32UHrQR0lu0g3ZIbvH RnZZ5MZpl7j+ifLV+MdbEVtaPTG3sp1Vtm6xeTqzqzE2dbOJgg72RyMV7lj9CZQra8w0 1Yl6ks0nXRwNDT09npb5vEPwei0A7XoVZVCqPSAjzVjso2RrsWfNNpyPddVVSOHs202g dAGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=fS6VuFJj66muA7HMqzKNwdx+8I7PrrdbKOjx3o00nv8=; b=G0H/8N8GjLDZ0EYi/KPuQgG74urkNoUa6vpcSaAdZKHNp5ER9KUlq+BTAsA4GRRykI b7XbPwL7XiLPRpxvNYHpedcymMspXyMkANML4Yg6+bDL2hsQYHqr9anm67CFEXBi9oWB sHpxV59iteRe49MHykY/3KTUeUWpNLVnZ3AbI3ZhS/PcWkGekxOL4wJSB2mYcltHZGcF /o1W1m8/oUTKZdjYLTCME24G22/CF9THb0RQiMy+waRNYHBDgP9T6HP1A/5XGcYRnNfC uuOpOMK99Ng3wRK+/ye+ZGLZOHg1AKxQcLhypS6sPtQM/hHH0WOh+hEglfOy3s4Yufhg 7Axg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=OrqieDyS; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fb.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bm1-20020a05620a198100b006a6b161ba16si4626216qkb.385.2022.06.17.16.08.44 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 17 Jun 2022 16:08:44 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=OrqieDyS; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=fb.com Received: from localhost ([::1]:51966 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o2L52-0000kR-Gc for alex.bennee@linaro.org; Fri, 17 Jun 2022 19:08:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2L4m-0000kB-UZ; Fri, 17 Jun 2022 19:08:29 -0400 Received: from mx0b-00082601.pphosted.com ([67.231.153.30]:32202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o2L4f-0006Ts-GS; Fri, 17 Jun 2022 19:08:25 -0400 Received: from pps.filterd (m0148460.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 25HLivEc009021; Fri, 17 Jun 2022 16:08:06 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=facebook; bh=fS6VuFJj66muA7HMqzKNwdx+8I7PrrdbKOjx3o00nv8=; b=OrqieDySLnJ8KbixVkuCxc/s+qBym/KFg2OVd3rN+cEqWV/09UfXke4QukK0IyoPHKwf 6fKvb07BIyyO5DoTRgFBD+NaXA5/dh4eZN+n2Vf6BlNhyUK8fZHM/+qtAOUMFhJSf+Ms 89xMdCM+2LhxLkGFxV0fK1UMOdf7wIY0S3U= Received: from mail.thefacebook.com ([163.114.132.120]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3grf2g6cn6-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 17 Jun 2022 16:08:06 -0700 Received: from localhost (2620:10d:c085:208::f) by mail.thefacebook.com (2620:10d:c085:21d::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Fri, 17 Jun 2022 16:08:04 -0700 From: Iris Chen To: CC: , , , , , , , , , , , , , , , , Subject: [PATCH 0/1] hw: m25p80: fix aspeed_smc tests failure when run in isolation Date: Fri, 17 Jun 2022 16:07:58 -0700 Message-ID: <20220617230758.2537544-1-irischenlj@fb.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [2620:10d:c085:208::f] X-Proofpoint-GUID: dxWgSUN6iC7U9_8wqKj9hkEWRAGR9R6u X-Proofpoint-ORIG-GUID: dxWgSUN6iC7U9_8wqKj9hkEWRAGR9R6u X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.64.514 definitions=2022-06-17_15,2022-06-17_01,2022-02-23_01 Received-SPF: pass client-ip=67.231.153.30; envelope-from=prvs=71671d6567=irischenlj@fb.com; helo=mx0b-00082601.pphosted.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: dZKKWy/rER8j Hey everyone, I discovered that some of the tests in tests/qtest/aspeed_smc-test.c were failing when run in isolation due to dependencies between the tests. For example, one test would test the reading of a block of memory written in the test before it. I think it would make sense to add flash_reset() between running the tests and make sure the tests do not rely on each other. Thus, I have made changes to the tests so that they now pass individually with no dependencies on each other. Thanks, Iris Iris Chen (1): hw: m25p80: fixing individual test failure when tests are running in isolation tests/qtest/aspeed_smc-test.c | 74 +++++++++++++++++++++++++++++------ 1 file changed, 63 insertions(+), 11 deletions(-) -- 2.30.2