Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp184167imm; Wed, 29 Aug 2018 17:52:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYLeoPE20PdqyG98OFa952ouTHm+WSxT/e1jPMx+tl503cDbH03iI3QW1jQYDEFQ6B4Lmrb X-Received: by 2002:a63:fc07:: with SMTP id j7-v6mr5379125pgi.1.1535590361969; Wed, 29 Aug 2018 17:52:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535590361; cv=none; d=google.com; s=arc-20160816; b=nca/HsmRuYA3j5vw5hueiMfzkRFlnwo2pNYm2ASc2y0SxIWAvPVxNrCCT1BgR5pE6T N8UYYrBEgnFs7+XDssP5YGuzec70+bX0++9dAEpKFxhPxoN2Unxv6PXHN0Z09ofEL/Vu 4/WIM3Qpmrd9AKL5+HyWZP18Lb+7Wk8nNZDLht+PsdNfr4x4YTpydf3o37zN5RTeFE0W PdxiXqvhordql5swbedW42ujmyepsfKQJlaN0k3bUETkGeYUGSg1pEWyBeDZ/rKxmkfR lcZ2Zi0lIthKELUFC5mat1O3zQWWb4cb6vq5lPoQ8Lrh3iXNUndB1BSyFIBTtejQhOHb 7Mwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=Ixak4wWVJ8yuojewKcz4wT551koQdYX2V8RI8GCDCEQ=; b=hIuZkxK/aGJidghUrqG0CcYeGSChjtQNeabEqzzjddvMYerNgZYXLgRO1smlSppnKD t7F/kZO1xq4cwcM3MTrkAoqvKHFqGg4YdNn5f41YiS2ha2d0tx6Ao+du0Y53i1kGi2Nf 82rijB5XstpWS3/6pH5DeKqPBdMETl4y4poKsfHky3bX9ecCjW+eGYf4GGT9YdV8Ygu1 vjsp8o5yXcTtRQbSLpaWSlv4dDJ5dHfummrvjMbREhwhA2IDF6uSzBwC/OEJHteIytmI Gvir0g0IEVMpMd6hLDENUgo1QweqaHIvPoWmEW9pscte4H9wN444xcJZm04jGLqaI6z0 +wDA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r23-v6si5158772pfr.252.2018.08.29.17.52.27; Wed, 29 Aug 2018 17:52:41 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727221AbeH3EtX (ORCPT + 99 others); Thu, 30 Aug 2018 00:49:23 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:35498 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727193AbeH3EtX (ORCPT ); Thu, 30 Aug 2018 00:49:23 -0400 Received: by mail-pg1-f196.google.com with SMTP id w8-v6so1493789pgs.2 for ; Wed, 29 Aug 2018 17:49:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ixak4wWVJ8yuojewKcz4wT551koQdYX2V8RI8GCDCEQ=; b=cy4QAxh6+O3BEYRw661FPU4Ga1GgJjvxn2wD5dCum35Gi/hIVcMMgOv5wO0ofU6aFg ST9bgyp3p89WydNA4GT9xhxIGNNpcGgLVuNVL5InaVd4wdiOqA6UrlvLW7XJVWIdxMbS 15hyuOt96RYmZL4v4Ta6+XouqFZcSxy8sM9y27njF9cl/Q7rMHKK3FI/vyzU4c44MFTw huKyLPx7zOr39eBf00aavxOKSYa9cPNgENwhJLrx6woKvgDsixLA4SGTpXyQ7HrOSAWC MPGdyNw/msdmUYNBCAgj2u5E/QD1mitp8G1O2yPNXvBqlctdYnY+h0N87Ec3bmAntIyc op4g== X-Gm-Message-State: APzg51AfoShi/jw2kocomKw63duArNxQq0w0bEmXP3WuaNE1+pCu7E+r sXQfopnvRDk6psJumVjCm81ZXg== X-Received: by 2002:a62:9b46:: with SMTP id r67-v6mr8112832pfd.105.1535590193996; Wed, 29 Aug 2018 17:49:53 -0700 (PDT) Received: from localhost ([207.114.172.147]) by smtp.gmail.com with ESMTPSA id n22-v6sm12878074pfj.68.2018.08.29.17.49.53 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 17:49:53 -0700 (PDT) From: Moritz Fischer To: davem@davemloft.net Cc: keescook@chromium.org, f.fainelli@gmail.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, alex.williams@ni.com, Moritz Fischer Subject: [PATCH net-next 0/3] nixge: fixed-link support Date: Wed, 29 Aug 2018 17:40:43 -0700 Message-Id: <20180830004046.9417-1-mdf@kernel.org> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this series adds support for using nixge with fixed-link nodes, as well as an early attempt to support nixge as a subdevice of another device. This series goes on top of: https://lkml.org/lkml/2018/8/28/1011 Patch 1: Adds of based fixed-link support, and hopefully isn't too controversial barring grave mistakes. Patch 2: Is an attempt at making sure that nixge works as a subdevice of another (pci) device without a PHY. Note that same as Patch 3 the actual platform data might still change since the parent device driver is still under development. So this is more of an RFC, too. Patch 3: Is more of an RFC at this point since the PCI parent device is still under development, but required to run with IOMMU support. Feedback on this one would be appreciated. Thanks for your input, Moritz Moritz Fischer (3): net: nixge: Add support for fixed-link subnodes net: nixge: Add support for having nixge as subdevice net: nixge: Use sysdev instead of ndev->dev.parent for DMA drivers/net/ethernet/ni/nixge.c | 187 ++++++++++++++++++++++------ include/linux/platform_data/nixge.h | 19 +++ 2 files changed, 165 insertions(+), 41 deletions(-) create mode 100644 include/linux/platform_data/nixge.h -- 2.18.0