From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, USER_AGENT_GIT autolearn=ham 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 29E41C43219 for ; Tue, 30 Apr 2019 07:18:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EF1BC2075E for ; Tue, 30 Apr 2019 07:18:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b="R3e+bOV/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726428AbfD3HSC (ORCPT ); Tue, 30 Apr 2019 03:18:02 -0400 Received: from first.geanix.com ([116.203.34.67]:43578 "EHLO first.geanix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725769AbfD3HSC (ORCPT ); Tue, 30 Apr 2019 03:18:02 -0400 Received: from localhost (unknown [193.163.1.7]) by first.geanix.com (Postfix) with ESMTPSA id AC378308E8F; Tue, 30 Apr 2019 07:17:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1556608674; bh=4rqV1Wk3WHJpxTLnolP66mxNSRcVmroFO5cATlZaLUI=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=R3e+bOV/z04aUZC05P782AkVNVzP1SWU6XSRxW2w8ynpYLunNL+dyGNphRhx36lGF WjJMgnNJQ2FnLBk85yOPRPFau/Bk5ioVFxGfGzL/WYX1UH6OJtH9u2dZ5UU9i5zarK ZHcNq3E7zfzfhNhiGQtuCUjLXtIwwYnG0GlWSaSzaUQ2JPmUdDmopfp+DI6pHFVdI1 /gTHirVWGZD6zl15W4rZBHJRlsUf1AGFkobu6QtDmlp++z8JJE/tvE0NdXj1xOjUDG hmhlbnJQIQ1jFd8x/zd+xzrjSVeaFKX+47+rCrODl3nahf0/ug/66D0HWHhc4zgwXC tuKvjAhFq8A9Q== From: Esben Haabendal To: netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Michal Simek , "David S. Miller" , Luis Chamberlain , Yang Wei , YueHaibing , linux-kernel@vger.kernel.org Subject: [PATCH v3 00/12] net: ll_temac: x86_64 support Date: Tue, 30 Apr 2019 09:17:47 +0200 Message-Id: <20190430071759.2481-1-esben@geanix.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190429083422.4356-1-esben@geanix.com> References: <20190429083422.4356-1-esben@geanix.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for use of ll_temac driver with platform_data configuration and fixes endianess and 64-bit problems so that it can be used on x86_64 platform. A few bugfixes are also included. Changes since v2: - Fixed lp->indirect_mutex initialization regression for OF platforms introduced in v2 Changes since v1: - Make indirect_mutex specification mandatory when using platform_data - Move header to include/linux/platform_data - Enable COMPILE_TEST for XILINX_LL_TEMAC - Rebased to v5.1-rc7 Esben Haabendal (12): net: ll_temac: Fix and simplify error handling by using devres functions net: ll_temac: Extend support to non-device-tree platforms net: ll_temac: Fix support for 64-bit platforms net: ll_temac: Add support for non-native register endianness net: ll_temac: Fix support for little-endian platforms net: ll_temac: Allow use on x86 platforms net: ll_temac: Support indirect_mutex share within TEMAC IP net: ll_temac: Fix iommu/swiotlb leak net: ll_temac: Fix bug causing buffer descriptor overrun net: ll_temac: Replace bad usage of msleep() with usleep_range() net: ll_temac: Allow configuration of IRQ coalescing net: ll_temac: Enable DMA when ready, not before drivers/net/ethernet/xilinx/Kconfig | 5 +- drivers/net/ethernet/xilinx/ll_temac.h | 26 +- drivers/net/ethernet/xilinx/ll_temac_main.c | 519 +++++++++++++++++--------- drivers/net/ethernet/xilinx/ll_temac_mdio.c | 53 +-- include/linux/platform_data/xilinx-ll-temac.h | 32 ++ 5 files changed, 432 insertions(+), 203 deletions(-) create mode 100644 include/linux/platform_data/xilinx-ll-temac.h -- 2.4.11