Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp310940yba; Thu, 16 May 2019 00:54:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+/cNOSZrL59239mr4z3IB07mGX7uZMiHJ3FIjdpfRULPo2KSVfDHHQKkNSrlqw+k32osV X-Received: by 2002:a63:f754:: with SMTP id f20mr48901235pgk.162.1557993242069; Thu, 16 May 2019 00:54:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557993242; cv=none; d=google.com; s=arc-20160816; b=fXKGtcLoPFKvobVafjLheyJfPafn3FCAGT5InaArNxHyNWaVcVxiXqLG+jeEBUm9Eo uWK8MBegth+egceR5/vXbgupf79QPp/3XeX3ae4T/pHFNwnVfZ4yFOZQJ4vzGYNeg2vD 03ICFwKOvtxYI1/M4qBMFN4O2YIjuxOa87LMBvGrxxk05hlt0P2z6XMYu8vDbdNlJZ+s etufbczFwpQsWnrNFtsFW9S0ShTtSV3mCzJrVByWQ62G777+TU4RW7/ARRGcAR2zQVWx 1vBGuno0jcJGFkCJOznuUrB5e8qT0Wu90AnlD87ESQy5orlr6pq1oECn1MFaBZLOSdBa AwWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=9PSf5qStiTiN7G0Rs+TvXW44EQP+VkAyDeSi/WBBYs4=; b=FMI3ZCxB/gw8RrLTjVnI8hMPVjaCJgsKxiEtYxZxMN43A3zjCrkvSGw0ZVrvwi9y4P hHmCtAXvybVoAqScH0S1cOSET+QvLP05Xs6SMJrb+73AUCyFODnAdAhX3s/wOkNsC6rR +KWEmc0k7qC262peL2Gb8Fws3D7cdfu8zC7m2+ccov64hTvCMXRpQIBleYZjuJilJ0Xu 9WDk0FIV/QIIhS+cTYUwguUDJsHKBb7bRaWHAWqCUlzXLFBkVY2X+NGrZpU3oiaNrBDR XCGJR2D4vHg03kAFXDUB2be+bY3YOcDRkTW4u9UmhcoMPW4/r1DvOYZ6Aq1sZ0503bv/ rxJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=a0eafnwh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10si4177983pgq.187.2019.05.16.00.53.46; Thu, 16 May 2019 00:54:02 -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; dkim=pass header.i=@synopsys.com header.s=mail header.b=a0eafnwh; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726653AbfEPHwk (ORCPT + 99 others); Thu, 16 May 2019 03:52:40 -0400 Received: from smtprelay-out1.synopsys.com ([198.182.61.142]:46016 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726363AbfEPHwk (ORCPT ); Thu, 16 May 2019 03:52:40 -0400 Received: from mailhost.synopsys.com (dc2-mailhost2.synopsys.com [10.12.135.162]) (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 3A78FC2634; Thu, 16 May 2019 07:52:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1557993149; bh=9PSf5qStiTiN7G0Rs+TvXW44EQP+VkAyDeSi/WBBYs4=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=a0eafnwhQSLULa6CClpPs+c41eTX/3jFVvLiyys9gpmyen1udET+zciQrygX8MxY+ jFHJYUvZq8vjZIC9Uf6kOuTXCZlAsjPIk7umk9KgAy1w9y28IJm3n6gBoSAdZG80my sgZ8IoI0WWslHe061Oy3ueAoeRwpQceerAf/RLD1KTXaUmreqe2cbCq9ImOEVLkGMS ySly7yH5XEjqIwqYGODnZOhMHzmxq7DW9hDrfDzXvkf7xaIaXK8xo8q+VaM8ynRcre yyQO80WUz/2MZV5LcYuMhpu5N3MOXc6I5qBahNwAjeqyMzZiPF489oDf8C8sRKx9eu IgZ95SATvTv+A== Received: from US01WXQAHTC1.internal.synopsys.com (us01wxqahtc1.internal.synopsys.com [10.12.238.230]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 2B4E3A0095; Thu, 16 May 2019 07:52:34 +0000 (UTC) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by US01WXQAHTC1.internal.synopsys.com (10.12.238.230) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 16 May 2019 00:52:34 -0700 Received: from DE02WEMBXB.internal.synopsys.com ([fe80::95ce:118a:8321:a099]) by DE02WEHTCA.internal.synopsys.com ([::1]) with mapi id 14.03.0415.000; Thu, 16 May 2019 09:52:31 +0200 From: Jose Abreu To: Corentin Labbe CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Joao Pinto , "David S . Miller" , Giuseppe Cavallaro , Alexandre Torgue , Andrew Lunn Subject: RE: [RFC net-next v2 00/14] net: stmmac: Selftests Thread-Topic: [RFC net-next v2 00/14] net: stmmac: Selftests Thread-Index: AQHVCmwZe0pPTbFIM0O0cHECuOY9LqZsURgAgAER6JA= Date: Thu, 16 May 2019 07:52:32 +0000 Message-ID: <78EB27739596EE489E55E81C33FEC33A0B9216D0@DE02WEMBXB.internal.synopsys.com> References: <20190515172922.GA30321@Red> In-Reply-To: <20190515172922.GA30321@Red> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.107.19.176] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Corentin Labbe Date: Wed, May 15, 2019 at 18:29:22 > I will try to investigate the MMC failure. Does -1 (vs other -EXXXX) is t= he right error code to return from the driver ? Thank you for testing! Yes, I will fix to return a valid error code. As per MMC failure this can be due to your HW not having all MMC counters=20 available. Can you please remove all if conditions in stmmac_test_mmc()=20 and just leave the "mmc_tx_framecount_g" check ? Thanks, Jose Miguel Abreu