From patchwork Tue Oct 23 11:24:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahisa Kojima X-Patchwork-Id: 149437 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp568032ljp; Tue, 23 Oct 2018 04:26:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV61eQN5vJv/A8qlJAYzRAdjBHOzq2irS08PyvDwIHtGNldjXTF7e+8WQGTCUnHp9ECPF0L6N X-Received: by 2002:a62:62c3:: with SMTP id w186-v6mr49678512pfb.5.1540293961717; Tue, 23 Oct 2018 04:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540293961; cv=none; d=google.com; s=arc-20160816; b=mspOtXvc//SNA8CwqwsOTrcUsUzs51zL1/sckeJY9FHXWZ3bRK8R1WVWm4JCzAF4VG jP58Bcd/17WGWinvnfGWjQBITtNjEsQtIBCP3k84i1ABib1zZ4vH3JLdZaBEQGfR5y7D LNI3RdiG1eStJuLYPz6nrOPDAuwruH4nSHUMnqctuH63BNv6zL1SrJ+hajZkb+CKc4y8 L7JdM1IYSBnVLDkAUlWpxfIXlxDpdLF6yby/wzwl5Y93e72d3sGCWGv92B63sQ9ZhmZ/ 9W7EXLBNBra8rE3UWeHdORmyHXLtYZiZVg8d01TE1KFtLqCHpcOGHQC0cBAuBvwY9Uj0 YYag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=Raxx247jo18LDfMjfFwZAzz23lls01SCDpB1l0L5/Ow=; b=ZGzvTIwChu+iYkS9pVqMq+4vTGcPtRJ+D73t+ptWkRGTy41yX7BDn/fYLMrlmTZQrg yYo9FjGW4kajHKcdQ5CW0tILwE5/f+t9p6pX3HO9UutFX/BcroLFS06JsitpPh6FD9Ye 5shXeIsV1f/8bR7C+jeys47WBiArA1JqttB9d1RtjGg9ytkPVzdVKrqrCnntLFXtpeOG v1VpSk9vDpa1z4mknw0KSdJLrHmyHaXTnC6kVJSxU6/BSSpecvxtDxkRMXH2mX+uGHlU AqIHtaucJFwuwmihLzkK0Kn2H6rEm79pXWwYRE6deM9xZ4Jwn/vmfoILwWshBArBaYMI X93w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kgzdrbOa; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20-v6si1056098pgl.279.2018.10.23.04.26.01; Tue, 23 Oct 2018 04:26:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of netdev-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=@linaro.org header.s=google header.b=kgzdrbOa; spf=pass (google.com: best guess record for domain of netdev-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728059AbeJWTtC (ORCPT + 10 others); Tue, 23 Oct 2018 15:49:02 -0400 Received: from mail-yw1-f47.google.com ([209.85.161.47]:40691 "EHLO mail-yw1-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727875AbeJWTtC (ORCPT ); Tue, 23 Oct 2018 15:49:02 -0400 Received: by mail-yw1-f47.google.com with SMTP id l79-v6so371105ywc.7 for ; Tue, 23 Oct 2018 04:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Raxx247jo18LDfMjfFwZAzz23lls01SCDpB1l0L5/Ow=; b=kgzdrbOahCzMqCo0RSMimrjdloszgZIPDo8OAo3BIrorLZjuLzGtk+JTt9Kwe1MSyq vY4VWq1sP1GuVnFBxWxv5lgZH+RF4WoQ0GetanSf+UMd5tMVDzq0gWTztUShBZupIJRB NKZ+SlItof8QUks4IQ+qWrJqhgmT5Lq0975/g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Raxx247jo18LDfMjfFwZAzz23lls01SCDpB1l0L5/Ow=; b=FeODnsdkuyVfl029NMPz2MzkPwzz/jZ7Iwg8LSRvaF1/RIHI4SN8lnfsi5Y9YjKHNN tC3gHB3yLG7O77ALSPAq9hnBf+7oFB9D7H5g2WDHihR7XYuYTlLx1S2ezEdcHcJmd4m3 811vtam6GA8wjd15tyBqlpyb0tD3BpNXuUIekrvpvm1Hwv5Y122uWblX0T56q7HrtDEH 7rynRp1XpEnbwdgZj/a8o59oA7rVwfHxeFb8918fpDcYSliuz1uLfkfwMz4JGYvaeD2l 7SO6lttQENsplnKg5T00/OWNDOq3iXlj3fAE5QOv2pZSmpTi46O9/6UZBxCkz41E7nlP Lm3A== X-Gm-Message-State: ABuFfojU+VmroJLsImU76yLpw4fYIQHV4xYP3UW4YdTo68iV5wxCae2p loWV5cs2XMW9mvWAxlO2BtvBg6Cz7aw= X-Received: by 2002:a0d:efc1:: with SMTP id y184-v6mr18080815ywe.257.1540293958625; Tue, 23 Oct 2018 04:25:58 -0700 (PDT) Received: from localhost ([121.95.100.191]) by smtp.gmail.com with ESMTPSA id y206-v6sm228642ywg.57.2018.10.23.04.25.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Oct 2018 04:25:58 -0700 (PDT) From: masahisa.kojima@linaro.org To: netdev@vger.kernel.org Cc: ilias.apalodimas@linaro.org, jaswinder.singh@linaro.org, ard.biesheuvel@linaro.org, osaki.yoshitoyo@socionext.com, Masahisa Kojima Subject: [PATCH net v2 0/3] Bugfix for the netsec driver Date: Tue, 23 Oct 2018 20:24:25 +0900 Message-Id: <20181023112428.6785-1-masahisa.kojima@linaro.org> X-Mailer: git-send-email 2.14.2 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Masahisa Kojima This patch series include bugfix for the netsec ethernet controller driver, fix the problem in interface down/up. changes in v2: - change the place to perform the PHY power down - use the MACROs defiend in include/uapi/linux/mii.h - update commit comment Masahisa Kojima (3): net: socionext: Stop PHY before resetting netsec net: socionext: Add dummy PHY register read in phy_write() net: socionext: Reset tx queue in ndo_stop drivers/net/ethernet/socionext/netsec.c | 40 ++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 6 deletions(-) -- 2.14.2