Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp557802ima; Sat, 20 Oct 2018 13:13:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV62EfjG0zzTmtYCCo+iwVIDLtCObdbK4LHN5xdufLxEz5SAEHpCjCv2QyHV0P7HwfBU63ZyZ X-Received: by 2002:a63:5747:: with SMTP id h7-v6mr37461281pgm.423.1540066380965; Sat, 20 Oct 2018 13:13:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540066380; cv=none; d=google.com; s=arc-20160816; b=LMXNd8sHJXni9cG7fDop0pVtb0vC1j3/vd3U59T4l6XBo+OsSURrRCXN1XT9vNeAy1 OyCOr+vlKZcEH+Vg8Yp6dsyx6htJyD29gRolOsGU1UaGEKe+9dzmC++GHbhV9ADxqUL2 ZU/gUniP4323VXUHTbbzSyFscWb6dk4VJKpQZ9CQXICOgHfUTc7ksjqwLyoBiYecQarJ t94DXTKNbdchVs6PTcBePFHbxf3XCyfTIobGdY+ZDJ6C+8Ijn9mPBszH6eRT1t/Emyzb mNJtYG9a0uoPW3gneeHuScivNFHadvpefrf6xSmwsPTj3OuUBILvFVqm/q40cYVWKdg/ fO/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zwE7XsP3qjD5nT3EGIDHGWbVEUmgMzK8gYWW0A9ThJE=; b=fNBov/e5MS14EYf4BlAFtN1pXPqN7/l6SkxtN2fTo4b9Zmkxxo302CpQnFjCw0TyRz yg06X/INbcJQzz0wtgUN0Ehx8qMhbO9+djEcNUINA0LERLf3ozC/GJfwzSoGOpbZpf7q tiAL5iCuYfwIGTOpgIHmBBt8oS3tmuWHwgkkECqmnb77pFrTfBzany8N0Lzs7XXLgegP IQgM7yj8M7iYbO8QO/37aMCau7c8ntABPWi+TIMQzoJ07iJEskcfiGSm4TZiPO01iEzg vlW2ejErROJyK4sdlvCAqMXHYSZAOcdNX+rRouQmQEBY2y9d3wGN+UYmVznmyVBpHNHZ ybpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=tJ13y1Mi; 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 l63-v6si441887pga.311.2018.10.20.13.12.45; Sat, 20 Oct 2018 13:13:00 -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=@lunn.ch header.s=20171124 header.b=tJ13y1Mi; 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 S1726517AbeJUEX5 (ORCPT + 99 others); Sun, 21 Oct 2018 00:23:57 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:39050 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725198AbeJUEX5 (ORCPT ); Sun, 21 Oct 2018 00:23:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=zwE7XsP3qjD5nT3EGIDHGWbVEUmgMzK8gYWW0A9ThJE=; b=tJ13y1Mijmp2P1la1G5qr1jvoefomorpeh8j0OJvFF5UA563oPm9LEVqNOcrwgOlnIPw5ysfbbM0z0sMs0owxdJnWvVWTY3yV9+6H0g8lnsXbk3cpg5MXhrE/grKqywiqwGm7T/aZJGVBLYWtl0HR42iZ3kDEDBdNs5ziwtOMOI=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1gDxbd-0003aJ-3d; Sat, 20 Oct 2018 22:12:17 +0200 Date: Sat, 20 Oct 2018 22:12:17 +0200 From: Andrew Lunn To: Heiner Kallweit Cc: Florian Fainelli , LABBE Corentin , davem@davemloft.net, fugang.duan@nxp.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] net: ethernet: fec: Add missing SPEED_ Message-ID: <20181020201217.GB6615@lunn.ch> References: <20181018191612.GB31736@Red> <5cb0731b-83c5-5ed5-d022-98f8627d1737@gmail.com> <20181018195909.GA11317@Red> <1b784f69-3ec2-feb2-81e1-9a335cf477c3@gmail.com> <20181020153922.GC1596@lunn.ch> <20181020185947.GA6615@lunn.ch> <1153d0a5-1c23-1e14-7ebd-459886af957a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1153d0a5-1c23-1e14-7ebd-459886af957a@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Yes, you are correct. > > > > But it is no longer possible to just do PHY_BASIC_FEATURES | > > SUPPORTED_Pause because .features is no loner a u32 but a linux > > bitmap. > > > Ahh, missed that. Yes, easy to miss, since it is still work in progress. The next patchset completes the migration, making phydev->advertise and phydev->supported bitmaps. > > We need to keep the same idea, allow the PHY driver to indicate it > > supports a subset of Pause, and if not, enable pause by default. > > > Could the PHY driver define its own bitmap instead of pointing to > one of the predefined ones? I'm actually just adding a few more pre-defined ones. I suspect they will get used by more than one driver. These changed have uncovered a few bugs with pause, and i would not be surprised to find there are more still to be found. Andrew