From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 869CFC43381 for ; Mon, 18 Feb 2019 16:27:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 430872173C for ; Mon, 18 Feb 2019 16:27:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=synopsys.com header.i=@synopsys.com header.b="Lx2Ioi3U" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389080AbfBRQ1C (ORCPT ); Mon, 18 Feb 2019 11:27:02 -0500 Received: from smtprelay2.synopsys.com ([198.182.60.111]:52856 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731218AbfBRQ1C (ORCPT ); Mon, 18 Feb 2019 11:27:02 -0500 Received: from mailhost.synopsys.com (dc8-mailhost1.synopsys.com [10.13.135.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id 9A77310C1003; Mon, 18 Feb 2019 08:27:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1550507221; bh=vDu1ImaawSP5UFy5QED6zh+l+Tq2KwW51KmMI6TV3u0=; h=Subject:To:CC:References:From:Date:In-Reply-To:From; b=Lx2Ioi3USMq+ECi2vXjbjwx/3l1oHdcDiAeD92yVgMsVG5QQTBvIbyTdw9DMibgf5 D6m4N8avijlNi1MpMQcnWj/nAwTcM9X9g3o3v7YrwTpiOv4LydKXpA5AwleCybQDyd 1w5IBROdgnVOz7pLytDcSvecuxWBtJwWFLKOs52pAaccJ+3YRMrWYet5uCEFcyjm1/ gxpVm0ZdMfhATZaUXkse2qK9QRGDbyF11/Ve7MTE9JMtPV1ZPsmWKaXopbPvZNREEp Cnz9bbO6OTGnj2N55gjwi6yOdOD99WcWmj/5el+OD6elym1alG98WmqgTzOi20Imnb nZenoM15YZQMg== Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2.internal.synopsys.com [10.12.239.237]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id E424BA005A; Mon, 18 Feb 2019 16:27:00 +0000 (UTC) Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Feb 2019 08:27:00 -0800 Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by DE02WEHTCB.internal.synopsys.com (10.225.19.94) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Feb 2019 17:26:58 +0100 Received: from [10.107.19.176] (10.107.19.176) by DE02WEHTCA.internal.synopsys.com (10.225.19.80) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 18 Feb 2019 17:26:58 +0100 Subject: Re: stmmac / meson8b-dwmac To: Simon Huelck , Jose Abreu , Martin Blumenstingl CC: Emiliano Ingrassia , , , , References: <20190206103645.GA2482@ingrassia.epigenesys.com> <3001f244-8904-1e89-9595-62a65a7b32ae@gmx.de> <330a523a-c1d6-4a99-3287-459096af0330@synopsys.com> <2abbf79a-cdff-b6a7-42de-79ea2c6ab367@synopsys.com> <7afdaa0d-d0ef-b223-1f6e-2b52bfa44784@gmx.de> <6f25da2b-7f28-b888-3240-7178ac75c90c@synopsys.com> <84fb981c-75ab-ef9e-edd6-cd0c52d9dc36@synopsys.com> <8bae9cd6-5c44-30e3-bfe5-8d6f853f170e@synopsys.com> <065407cd-c13b-e74c-7798-508650c12caf@gmx.de> From: Jose Abreu Message-ID: <227be4e9-b0cc-a011-2558-71a17567246f@synopsys.com> Date: Mon, 18 Feb 2019 16:26:57 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <065407cd-c13b-e74c-7798-508650c12caf@gmx.de> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.107.19.176] Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 2/18/2019 3:53 PM, Simon Huelck wrote: > How can i do this (reset stats) ? A simple ifdown / ifup should work. > The .dtb .dts is meson-gxbb-odroid-c2 from mainline kernel 5.0.rc7 So, according to your DT bindings you have broken EEE yet it's still enabled in stmmac as we see the LPI counters increase. Try adding a simple "return false;" in the beginning of stmmac_eee_init() function and check if it works. BTW, you still haven't sent any dmesg logs, which can be handy and you also shouldn't top post. Thanks, Jose Miguel Abreu