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=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 61D18C28CBC for ; Wed, 6 May 2020 21:53:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3022520735 for ; Wed, 6 May 2020 21:53:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729654AbgEFVxw (ORCPT ); Wed, 6 May 2020 17:53:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728621AbgEFVxw (ORCPT ); Wed, 6 May 2020 17:53:52 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C0EEC061A0F; Wed, 6 May 2020 14:53:52 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 524E71273D974; Wed, 6 May 2020 14:53:50 -0700 (PDT) Date: Wed, 06 May 2020 14:53:50 -0700 (PDT) Message-Id: <20200506.145350.728374693225810455.davem@davemloft.net> To: michael@walle.cc Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, andrew@lunn.ch, f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, vladimir.oltean@nxp.com, antoine.tenart@bootlin.com Subject: Re: [PATCH net-next v3 0/3] add phy shared storage From: David Miller In-Reply-To: <20200506145315.13967-1-michael@walle.cc> References: <20200506145315.13967-1-michael@walle.cc> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 06 May 2020 14:53:51 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Michael Walle Date: Wed, 6 May 2020 16:53:12 +0200 > Introduce the concept of a shared PHY storage which can be used by some > QSGMII PHYs to ease initialization and access to global per-package > registers. > > Changes since v2: > - restore page to standard after reading the base address in the mscc > driver, thanks Antoine. > > Changes since v1: > - fix typos and add a comment, thanks Florian. > - check for "addr < 0" in phy_package_join() > - remove multiple blank lines and make "checkpatch.pl --strict" happy > > Changes since RFC: > - check return code of kzalloc() > - fix local variable ordering (reverse christmas tree) > - add priv_size argument to phy_package_join() > - add Tested-by tag, thanks Vladimir. Series applied, thank you.