Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp285929pxb; Thu, 12 Nov 2020 03:57:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJwgWfMBagRjl7Pe61iwiKoog4sdYNvQkqbjUxWd3RI9gC6LQ6nsRkCx7vKqSTkIOivCH4yY X-Received: by 2002:aa7:cc14:: with SMTP id q20mr4586728edt.242.1605182266517; Thu, 12 Nov 2020 03:57:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605182266; cv=none; d=google.com; s=arc-20160816; b=PHFp/n0/Tjw71m1Xsm1f4q735oLRUN4DijejX60/eGHS3M2CnsmVeUjRWLcp4H5hWR 9stJurV6xHYPY2ofX8s7YGzU4fF0xIp1b0Nr/ZncbBZRlx5vNofHVQ3ndTMEVq6XYzRM WXfsAkicd6b6Vl+dQ+VsxT0ZWkZwArls+nQCIxUhcWFvTILWGiOKPnRKTtJYpsCfexZ+ 1Huy/9ZuUWmgiVLpsZ6Ptpu2I6CyqKIM4ll37MA1ldrMFYI/t7cvDCnpXCXhjEKgPBmO HxM16FuVXCGHv4fYr1Lh4fg697D/d9hHTZ6Zu5b3alA6CZi3jLLQzdh+4O3cfODiz9c4 ZnyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=xBh2bVOJkdKpKgT61UA2dXTGTJgjaxOhVIJYrFSQk94=; b=cn/tOZHnh4TRlnaj+Lck00SEolvqgnoqBw5OKNedgNITApPpMNwN+8FxBYrMFB8B64 GBq7rV5GB2qPazdGarKF0z+2yiKa1JBh/J6Q5fPa+GCs00/xSbTpJBiZeyr9eYIL5OaO mG3AcgFM/90qxOk5gDuG0yhb0liyPnq/F8BP8BN56Ja/yii0cSYMLaxkOfIIPzGz328x 341co+cjhO0HWcgelphNZ3IJX0pS0VqLkvnRumPYj/Ec2Ealv/BWetsYyrxJPGnVCAn9 TMJu9WeuG1F1wm3UMG87SBKbYREfjSWs7oFGIbpbCdj3oJq5Ta+ysDA8w57kFsVcWcL8 Wddw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=amtd+lbL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r22si3810707edw.453.2020.11.12.03.57.22; Thu, 12 Nov 2020 03:57:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=amtd+lbL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726969AbgKLLx6 (ORCPT + 99 others); Thu, 12 Nov 2020 06:53:58 -0500 Received: from mail.kernel.org ([198.145.29.99]:54674 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728247AbgKLLxc (ORCPT ); Thu, 12 Nov 2020 06:53:32 -0500 Received: from mail-ej1-f45.google.com (mail-ej1-f45.google.com [209.85.218.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 670A922228; Thu, 12 Nov 2020 11:53:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605182011; bh=StUZENy+EqpA+v5bMTo8klXuvmlElJqapUnjCI4L0FI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=amtd+lbLS9WC8iApliLmMWZ1Qf1MuZA52rP/yrEjsWbrvzVAiQ/o2Wq7PCHBGHlCL 3E7bZDuicVbOmgutSHqisGc7Nn+eIEqp3ahyFCw2B13/QGi0go1tHSSQNfe500wMnF 9bn90zCIl4DiKp/RRas8eIXrUk6q+KxmhztKyH7Q= Received: by mail-ej1-f45.google.com with SMTP id cw8so7271519ejb.8; Thu, 12 Nov 2020 03:53:31 -0800 (PST) X-Gm-Message-State: AOAM531v9fFC/5nBgvvRwlA7ase6zMnf1aXp4oV+R816vYqrdEE41/7n a34ssAa6yijs1dHCIhioz2vjH0nw/SvJ9XEdWPA= X-Received: by 2002:a17:907:d1e:: with SMTP id gn30mr31142306ejc.148.1605182009793; Thu, 12 Nov 2020 03:53:29 -0800 (PST) MIME-Version: 1.0 References: <20201112115106.16224-1-l.stelmach@samsung.com> In-Reply-To: <20201112115106.16224-1-l.stelmach@samsung.com> From: Krzysztof Kozlowski Date: Thu, 12 Nov 2020 12:53:17 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v6 0/5] AX88796C SPI Ethernet Adapter To: =?UTF-8?Q?=C5=81ukasz_Stelmach?= Cc: Andrew Lunn , jim.cromie@gmail.com, Heiner Kallweit , "David S. Miller" , Jakub Kicinski , Rob Herring , Kukjin Kim , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , linux-arm-kernel@lists.infradead.org, "linux-samsung-soc@vger.kernel.org" , =?UTF-8?Q?Bart=C5=82omiej_=C5=BBolnierkiewicz?= , Marek Szyprowski Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 Nov 2020 at 12:51, =C5=81ukasz Stelmach = wrote: > > This is a driver for AX88796C Ethernet Adapter connected in SPI mode as > found on ARTIK5 evaluation board. The driver has been ported from a > v3.10.9 vendor kernel for ARTIK5 board. > > Changes in v6: > - fixed typos in Kconfig > - checked argument value in ax88796c_set_tunable > - updated tags in commit messages > > Changes in v5: > - coding style (local variable declarations) > - added spi0 node in the DT binding example and removed > interrupt-parent > - removed comp module parameter > - added CONFIG_SPI_AX88796C_COMPRESSION option to set the initial > state of SPI compression > - introduced new ethtool tunable "spi-compression" to controll SPI > transfer compression > - removed unused fields in struct ax88796c_device > - switched from using buffers allocated on stack for SPI transfers > to DMA safe ones embedded in struct ax_spi and allocated with > kmalloc() > > Changes in v4: > - fixed compilation problems in asix,ax88796c.yaml and in > ax88796c_main.c introduced in v3 > > Changes in v3: > - modify vendor-prefixes.yaml in a separate patch > - fix several problems in the dt binding > - removed unnecessary descriptions and properties > - changed the order of entries > - fixed problems with missing defines in the example > - change (1 << N) to BIT(N), left a few (0 << N) > - replace ax88796c_get_link(), ax88796c_get_link_ksettings(), > ax88796c_set_link_ksettings(), ax88796c_nway_reset(), > ax88796c_set_mac_address() with appropriate kernel functions. > - disable PHY auto-polling in MAC and use PHYLIB to track the state > of PHY and configure MAC > - propagate return values instead of returning constants in several > places > - add WARN_ON() for unlocked mutex > - remove local work queue and use the system_wq > - replace phy_connect_direct() with phy_connect() and move > devm_register_netdev() to the end of ax88796c_probe() > (Unlike phy_connect_direct() phy_connect() does not crash if the > network device isn't registered yet.) > - remove error messages on ENOMEM > - move free_irq() to the end of ax88796c_close() to avoid race > condition > - implement flow-control > > Changes in v2: > - use phylib > - added DT bindings > - moved #includes to *.c files > - used mutex instead of a semaphore for locking > - renamed some constants > - added error propagation for several functions > - used ethtool for dumping registers > - added control over checksum offloading > - remove vendor specific PM > - removed macaddr module parameter and added support for reading a MAC > address from platform data (e.g. DT) > - removed dependency on SPI from NET_VENDOR_ASIX > - added an entry in the MAINTAINERS file > - simplified logging with appropriate netif_* and netdev_* helpers > - lots of style fixes > > =C5=81ukasz Stelmach (5): > dt-bindings: vendor-prefixes: Add asix prefix > dt-bindings: net: Add bindings for AX88796C SPI Ethernet Adapter > net: ax88796c: ASIX AX88796C SPI Ethernet Adapter Driver > ARM: dts: exynos: Add Ethernet to Artik 5 board > ARM: defconfig: Enable ax88796c driver Please don't send patches which were applied. It confuses everyone and could cause double-applying through different tree. Best regards, Krzysztof