Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp712012ybz; Wed, 15 Apr 2020 17:16:45 -0700 (PDT) X-Google-Smtp-Source: APiQypK36IiP8QRkc5UWCYiG5G387nATwEqzbqaN1c4hG7UdtRtqyQzuI/rbz39Vz+v7dgz/tEcv X-Received: by 2002:a17:907:9c4:: with SMTP id bx4mr7037989ejc.199.1586996205109; Wed, 15 Apr 2020 17:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586996205; cv=none; d=google.com; s=arc-20160816; b=o//GOvwCPtnC+Kk0KHGEI8cLoH5QFaz0Rz/PIa40RSUB2weiizvD6BmhR3Xpj+3t2l RoDizoMb1ouKD4hyvqvyK+NFwNInq9LDLGe0dXF6ViMI363HfvBGmxbHdePdfx0fJ2Cl 0m3yN96D/rayTUaLwY/JWs3JtTfNgB2bDhSPw5JVw/xRyyL7Y8zxTzn2OWZGmcf6SHdR qo2hf1yFOwozgmiBIf5HRk3qcs2GE70q+U6ca9e7XCv9MT8LtBbFXAhzYrUBUkQTGiEV LTG/U837HsExMpbKcQHsaZdOdNxhiX2IMG5+7XIZ3Y8lce1S/r35tSfvR8cmo7y1p2sj QGPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=I7hH/uXZT0FeMOuU3Aol8jPdDOSaKYZxt58p7pEGc0E=; b=EqP0kHDg6fA0VBV9bRoFpXWRMM9Z0JFpgNHRUSXjXNeXDVvtlfGGet3Qr6VfJ+qxZY tyvj31ucSbA4sVREuzg1c8ITB2OS/dKRNPkL2ye8RMv4rBWaDNE65K694fQLcCNuoi/R ASpJAuRRqoSEE8tovbvjBKIDS1dcOLm6HAJYFL7FwMC4MQe7QN8p2silwDVxjINB1jAs rq2bEkAurmlrDVghM3SpMF8vFSXNP62NZOoSKbU80Vr3zwdgAbOFHB2cWu4kNoHrxs3X ixuHS6gYbZO4sY4YV5NQMmEfMbefITJvwItqjMCAC42com/ikCEd36c6Lc4zL30ryXz6 LZwg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e2si324899edv.300.2020.04.15.17.16.22; Wed, 15 Apr 2020 17:16:45 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2636893AbgDOPZt (ORCPT + 99 others); Wed, 15 Apr 2020 11:25:49 -0400 Received: from m17618.mail.qiye.163.com ([59.111.176.18]:14794 "EHLO m17618.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2634875AbgDOPZj (ORCPT ); Wed, 15 Apr 2020 11:25:39 -0400 Received: from ubuntu.localdomain (unknown [58.251.74.226]) by m17618.mail.qiye.163.com (Hmail) with ESMTPA id 422274E17AD; Wed, 15 Apr 2020 23:25:29 +0800 (CST) From: Wang Wenhu To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, oss@buserror.net, christophe.leroy@c-s.fr, linuxppc-dev@lists.ozlabs.org Cc: kernel@vivo.com, Wang Wenhu Subject: [PATCH v2,0/5] drivers: uio: new driver uio_fsl_85xx_cache_sram Date: Wed, 15 Apr 2020 08:24:37 -0700 Message-Id: <20200415152442.122873-1-wenhu.wang@vivo.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200415124929.GA3265842@kroah.com> References: <20200415124929.GA3265842@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUtXWQgYFAkeWUFZSFVCTE5CQkJDSElKTkhISVlXWShZQU hPN1dZLVlBSVdZCQ4XHghZQVk1NCk2OjckKS43PlkG X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6PxA6DDo4CDg3PAg3PyoNGRUL HzMwCRZVSlVKTkNNQk1PSEhKTkJKVTMWGhIXVQweFRMOVQwaFRw7DRINFFUYFBZFWVdZEgtZQVlO Q1VJTkpVTE9VSUlNWVdZCAFZQUlPS0M3Bg++ X-HM-Tid: 0a717e71f4179376kuws422274e17ad Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series add a new uio driver for freescale 85xx platforms to access the Cache-Sram form user level. This is extremely helpful for the user-space applications that require high performance memory accesses. It fixes the compile errors and warning of the hardware level drivers and implements the uio driver in uio_fsl_85xx_cache_sram.c. Changes since v1: * Addressed comments of Greg K-H * Moved kfree(info->name) into uio_info_free_internal() Wang Wenhu (5): powerpc: 85xx: make FSL_85XX_CACHE_SRAM configurable powerpc: sysdev: fix compile error for fsl_85xx_cache_sram powerpc: sysdev: fix compile warning for fsl_85xx_cache_sram powerpc: sysdev: fix compile error for fsl_85xx_l2ctlr drivers: uio: new driver for fsl_85xx_cache_sram arch/powerpc/platforms/85xx/Kconfig | 2 +- arch/powerpc/platforms/Kconfig.cputype | 5 +- arch/powerpc/sysdev/fsl_85xx_cache_sram.c | 3 +- arch/powerpc/sysdev/fsl_85xx_l2ctlr.c | 1 + drivers/uio/Kconfig | 8 + drivers/uio/Makefile | 1 + drivers/uio/uio_fsl_85xx_cache_sram.c | 182 ++++++++++++++++++++++ 7 files changed, 198 insertions(+), 4 deletions(-) create mode 100644 drivers/uio/uio_fsl_85xx_cache_sram.c -- 2.17.1