Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp5844000ybx; Sun, 10 Nov 2019 22:55:42 -0800 (PST) X-Google-Smtp-Source: APXvYqxsqkD4k5VtYUOP+L9xCVImOMZiBPbJxwca4IOPDp9BbPfLvcllhiThsgDzQTCTJft6646U X-Received: by 2002:a50:f284:: with SMTP id f4mr24449105edm.126.1573455342042; Sun, 10 Nov 2019 22:55:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573455342; cv=none; d=google.com; s=arc-20160816; b=gZojLfhA+HAKoWCajU8E4ar9oYhYUbczpIOXCeE8mHSB4R3vlfzLvqO8cu+mkbXFeF UgOH/oWMUDMbO6//2sWpwKqF7H5ejl5nPzWm1A6ms/YOOQHEsqUxtxGrTO3q7CqyxlJa bsDysc/DDFZJD38RoNpWFG2KltP/3TI9bV3B/lrZPxsnpJ7YulDq7Lzo120ai3l/NadU fCCqZTaWTo5d9bQ0ulNe47VUaCdmQE+fTJKil1uAf15U1TNgr67FEJXSeDcf8GOrco5O Ww4MsM03+DrnUShSn1RgnMZMIsr1u8UtdGqeq3o3M78sA48aWWAQ6X1w2B4MCTJGKO1e qEaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8DZXC9OgCubLyvcHX6zcSZIiSemKV30qErQHPEzAXD4=; b=DcqGi3srOKFzqRFY3CYGNQmeZMo9gvSZwNzDx2M5CkKnzPNJOIHy+s0tyAf8l9E6SM NeFLyJGedPBIdgJ93Bfs2uF/xHq9f3L20AmSrWABIynSXMObWh6NaJiP4YzjSUFJCVrm i7anHrSbuqVCtGnvVTMALJsmO00dRutnBHHG2mPcuHkJSDqveBbeVeN4sN7ux/2VTSwd +wUx4WZAJR/qeFFLWRRlOynT6E2gEWR/Tn7pUSFBziwFAiNWCzzOWBzazuYonscmvSHl LVwThE0jQLQHoRbVCh20gzqnGBANCACED7m6p8OhyCNz8ZhrXWATZbd39yUgcQdPReR8 34xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=gd9eTsmH; 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=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 49si10082966edz.9.2019.11.10.22.55.19; Sun, 10 Nov 2019 22:55:42 -0800 (PST) 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=@mediatek.com header.s=dk header.b=gd9eTsmH; 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=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726988AbfKKGv4 (ORCPT + 99 others); Mon, 11 Nov 2019 01:51:56 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:4602 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726805AbfKKGvm (ORCPT ); Mon, 11 Nov 2019 01:51:42 -0500 X-UUID: ebc816981ef245a2b83e6be5183770e4-20191111 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=8DZXC9OgCubLyvcHX6zcSZIiSemKV30qErQHPEzAXD4=; b=gd9eTsmHR5Bd8o/6qggdU/JXIYnJCbvdeZVtIoqWohI+VJ7WlsWcmE4Z9NVn7u8htn1nYVHa5zL+YY87DOm5HbNYWJIVWqQ/5t94Ic7llXU1LHNhcjvL8x3S8qr6ZVOim3mpUswi3f/QPQyrQ97nLtei+O8JHkkS1spdN9xw91U=; X-UUID: ebc816981ef245a2b83e6be5183770e4-20191111 Received: from mtkmrs01.mediatek.inc [(172.21.131.159)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1752179825; Mon, 11 Nov 2019 14:51:32 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs05n1.mediatek.inc (172.21.101.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 11 Nov 2019 14:51:28 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 11 Nov 2019 14:51:28 +0800 From: MarkLee To: "David S. Miller" , Sean Wang , John Crispin , Matthias Brugger , Andrew Lunn CC: Rob Herring , Mark Rutland , Rene van Dorst , , , , , , Jakub Kicinski , MarkLee Subject: [PATCH net,v2 2/3] net: ethernet: mediatek: Refine the timing of GDM/PSE setup Date: Mon, 11 Nov 2019 14:51:28 +0800 Message-ID: <20191111065129.30078-3-Mark-MC.Lee@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20191111065129.30078-1-Mark-MC.Lee@mediatek.com> References: <20191111065129.30078-1-Mark-MC.Lee@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UmVmaW5lIHRoZSB0aW1pbmcgb2YgR0RNL1BTRSBzZXR1cCwgbW92ZSBpdCBmcm9tIG10a19od19p bml0IA0KdG8gbXRrX29wZW4uIFRoaXMgaXMgcmVjb21tZW5kZWQgYnkgdGhlIG10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