Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4700419yba; Wed, 8 May 2019 00:58:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqzE5LkDrNFB+AwuVoQzAwrf2Pd/m/KmjKjFKNhzPDwwYg+bFmT5ButneHfcjjVYWAsRx4KH X-Received: by 2002:a63:1706:: with SMTP id x6mr12182865pgl.280.1557302334276; Wed, 08 May 2019 00:58:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557302334; cv=none; d=google.com; s=arc-20160816; b=MO0lO/TSMKrPHlFOtdtkTI8WuTBtNdN3hFloNOB5WleKvPWovB/OMXGhbmjfKNyo0p feQZ/1JLZaQLPgtdyOpLUhpAyrET40c8skMnCKtHfne+GXLE2TJF3JGyaN9EJMGXu+EL zneYQ41l1weHtXJt9PbhZ2LpaJCvlA65q6lgJpDa+AVmulBEP12o4NhzqtJumsu3rJai BeBGJ6cIPpsJNthegRuVMD8uzsJzEFMFZOj5OJEMDxX32crsg+DmPYZjGBQJGIwhWS8L hfYsMz0GNe4IPk6eXIThYImCWX2NUMIKiCD3FrMnZeogEBpz3ZDaTstVHDUlaETPdfPH 13bg== 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-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=ENo8AJONM22XGe8TsR7VWj338UKilLJmk7uWAyPh4eU=; b=AExOGnxBhgiBgvhhSkRoQv2OuCkvXlWhQmZ7DcOU3iY0coo5Nkn/raf6YGwGT7Q082 cAJGKGhCBMmBXjOlCQsvlEL08CqGE4DWnKylOcQ4GHuT7uU+gwkD17831TlMn9DycAlt OMm71IwKo02bXLqgYmislOAxMf+RQsPtcOJNoOXqbRxJPBcCO98A70FUATAXk93/duC4 jTnoXNY/3Zqy5aG6aZidePtZQUg/v1Yc9vMsiuBdSKiwR80L9FzkZJR2f4fMOq83jEU3 43hmmDR4O0sQuSTI+eQoAnUCPltVCG+6d7m/bfJPB/BRv91khOm61enZgNKS4YZWkMMZ IIgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@prevas.se header.s=selector1 header.b=TLzWsZT5; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b74si22485827pfj.121.2019.05.08.00.58.38; Wed, 08 May 2019 00:58:54 -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=@prevas.se header.s=selector1 header.b=TLzWsZT5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726731AbfEHH5t (ORCPT + 99 others); Wed, 8 May 2019 03:57:49 -0400 Received: from mail-eopbgr50093.outbound.protection.outlook.com ([40.107.5.93]:2542 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725860AbfEHH5s (ORCPT ); Wed, 8 May 2019 03:57:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=prevas.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ENo8AJONM22XGe8TsR7VWj338UKilLJmk7uWAyPh4eU=; b=TLzWsZT5o3TgSiWoorymv74lAcUPCJaiO1dOM2MprMb4ZhPNiaNL7RL46a/iAgbKp77OmXiI02coLX7h1MDSH8ZytEEE2F1uFi9KM1bzSKOIMTcMQZGe4HEUkJCXLaHoAE2cRzOZhVvaGG4D6cYdu6XnB8q4O3jqwqryybok8KA= Received: from VI1PR10MB2672.EURPRD10.PROD.OUTLOOK.COM (20.178.126.212) by VI1PR10MB2735.EURPRD10.PROD.OUTLOOK.COM (20.178.127.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1856.11; Wed, 8 May 2019 07:57:39 +0000 Received: from VI1PR10MB2672.EURPRD10.PROD.OUTLOOK.COM ([fe80::48b8:9cff:182:f3d8]) by VI1PR10MB2672.EURPRD10.PROD.OUTLOOK.COM ([fe80::48b8:9cff:182:f3d8%2]) with mapi id 15.20.1856.012; Wed, 8 May 2019 07:57:38 +0000 From: Rasmus Villemoes To: Andrew Lunn CC: "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "David S. Miller" , Florian Fainelli , Vivien Didelot Subject: Re: [RFC PATCH 1/5] net: dsa: mv88e6xxx: introduce support for two chips using direct smi addressing Thread-Topic: [RFC PATCH 1/5] net: dsa: mv88e6xxx: introduce support for two chips using direct smi addressing Thread-Index: AQHVAFSRDSaXDG0750O+aewkwJZ2+6ZWtaaAgAoxFgA= Date: Wed, 8 May 2019 07:57:38 +0000 Message-ID: References: <20190501193126.19196-1-rasmus.villemoes@prevas.dk> <20190501193126.19196-2-rasmus.villemoes@prevas.dk> <20190501201919.GC19809@lunn.ch> In-Reply-To: <20190501201919.GC19809@lunn.ch> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HE1PR0701CA0053.eurprd07.prod.outlook.com (2603:10a6:3:9e::21) To VI1PR10MB2672.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:803:e3::20) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Rasmus.Villemoes@prevas.se; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [81.216.59.226] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 39cbdb05-87ed-4f5d-b832-08d6d38ad6e8 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020);SRVR:VI1PR10MB2735; x-ms-traffictypediagnostic: VI1PR10MB2735: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0031A0FFAF x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(136003)(39850400004)(366004)(346002)(376002)(189003)(199004)(44832011)(476003)(446003)(11346002)(14454004)(66476007)(42882007)(66446008)(64756008)(2616005)(486006)(66946007)(73956011)(478600001)(316002)(14444005)(256004)(6512007)(72206003)(31696002)(6436002)(71190400001)(71200400001)(26005)(36756003)(6486002)(186003)(386003)(6506007)(81166006)(81156014)(305945005)(25786009)(66556008)(76176011)(8976002)(5660300002)(68736007)(52116002)(74482002)(66066001)(229853002)(8936002)(8676002)(31686004)(7736002)(99286004)(54906003)(3846002)(6116002)(6916009)(6246003)(102836004)(2906002)(53936002)(4326008);DIR:OUT;SFP:1102;SCL:1;SRVR:VI1PR10MB2735;H:VI1PR10MB2672.EURPRD10.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: prevas.se does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: QdVc4ECyVIqHZFwiSWCdSsAVlQPVLruvrsjkSpFIhlpJao0DA+wLredLDSccc22SHesvFsL8oM9D5y9lHLI7yoHmx7xl7fdo2xUhrcsb0QaTsJ8xwpqGwHxJDh0ahTGuww67JsggIOEmzrDlFJg0swt0oJ95ifxu5lMb8LUaPy82LEWenKnP+e+qKf7GKpWKgvoYdUpOggGgA5fK7u43heVRt4k6K82QJX3u+uk1t4HbYt7un/9cRG0MoCod6O5bCxZ1V271MKbjvqRsklKTF5e8M0YP2/rDcRJfHDx09HgOYP+JVVd2/hF8sNL1Oenqim7LdmV5VKdsKB+n/aF+WT34E0hTmOED2GMkXhgzW1eL4vI7KPUbqvodDLyC3RvvYiBJHDDlv5b81UMauMeeSe5B9emPPxP3ci43jbtl74c= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: prevas.dk X-MS-Exchange-CrossTenant-Network-Message-Id: 39cbdb05-87ed-4f5d-b832-08d6d38ad6e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2019 07:57:38.8620 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d350cf71-778d-4780-88f5-071a4cb1ed61 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR10MB2735 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMDEvMDUvMjAxOSAyMi4xOSwgQW5kcmV3IEx1bm4gd3JvdGU6DQo+IE9uIFdlZCwgTWF5IDAx LCAyMDE5IGF0IDA3OjMyOjEwUE0gKzAwMDAsIFJhc211cyBWaWxsZW1vZXMgd3JvdGU6DQo+PiBU aGUgODhlNjI1MCAoYXMgd2VsbCBhcyA2MjIwLCA2MDcxLCA2MDcwLCA2MDIwKSBkbyBub3Qgc3Vw cG9ydA0KPj4gbXVsdGktY2hpcCAoaW5kaXJlY3QpIGFkZHJlc3NpbmcuIEhvd2V2ZXIsIG9uZSBj YW4gc3RpbGwgaGF2ZSB0d28gb2YNCj4+IHRoZW0gb24gdGhlIHNhbWUgbWRpbyBidXMsIHNpbmNl IHRoZSBkZXZpY2Ugb25seSB1c2VzIDE2IG9mIHRoZSAzMg0KPj4gcG9zc2libGUgYWRkcmVzc2Vz LCBlaXRoZXIgYWRkcmVzc2VzIDB4MDAtMHgwRiBvciAweDEwLTB4MUYgZGVwZW5kaW5nDQo+PiBv biB0aGUgQUREUjQgc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