Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp671737ybz; Wed, 15 Apr 2020 16:21:48 -0700 (PDT) X-Google-Smtp-Source: APiQypIEUMU2Xw8tURy2OqCWqp/kscKsYB8RGLtVGj2Hbz/53jDDqZJpjux3out6BxaSkjknDn53 X-Received: by 2002:a50:eb8e:: with SMTP id y14mr10286364edr.270.1586992908273; Wed, 15 Apr 2020 16:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586992908; cv=none; d=google.com; s=arc-20160816; b=oxj3uOnmvNbeplORBFT4xK6y5M7/oWkfnuAFUvtUa9zzBUnzJzenVmGOPgQ56AZb3f VXM2AkLaC2Ye8qRX0F4j87eXYSQpa5t2Bz8HAIOrYipcl6SRdW+HIheJPmjCtfKb7tQP lWdiYOUkUYWMsscm8AXzsIDA0lYv80tCXasmND8xvoDCtJHTrdQS18qGlTjUl7Hc9RlI ClXhkeWUMV3QFxvrFTOkkYJU8rFyx+jN6owCwazfaJuJqkocCsf/pypASJidB17cWyE4 aV7WhI+cDUZ++EZtjCcavprcS3zkUshzleOo1MAfNmp11/wt3Na9ytYuoXyyj0jeCUq4 XtjA== 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 :message-id:date:subject:cc:to:from; bh=2MoktA8nVf9594rdN2MNmHeKyMuohGA3C2/HgZZ8Yb8=; b=r5vj2VVaDQsREeDepS9TwKEUPbHyANyU7DFbaJ4XidPhWjyxHdRNnmhzrEyygOaYC1 bdHnCogoNeGTayAL3ylPozyeZwQFr7zpXFy4XwQeJ6wXwvVAEx21+cazcErjyAjWACMJ Mwb2E0OZb0FA/Z9PG8CB34Qii0TCMtUMt+IxqQdFNiPtp9abIGCmb0rXNEfwDMp/k2r4 dt7j9fjttPTwLSx0kyPiOSfAbIDZ+0erIoiEMifi9d9U2V0u0VT+WGESPG6NmxVWI4ou +tpd13tsnazXR0OQeyp4TK7dlBEZAngfcwTAvM2i4JjdZvflSe4a8pwyxHb0+CXReLOa wJBA== 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 h20si4275161ejt.165.2020.04.15.16.21.24; Wed, 15 Apr 2020 16:21:48 -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 S369800AbgDOMfJ (ORCPT + 99 others); Wed, 15 Apr 2020 08:35:09 -0400 Received: from m177134.mail.qiye.163.com ([123.58.177.134]:2551 "EHLO m177134.mail.qiye.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S369745AbgDOMeX (ORCPT ); Wed, 15 Apr 2020 08:34:23 -0400 Received: from ubuntu.localdomain (unknown [58.251.74.226]) by m17618.mail.qiye.163.com (Hmail) with ESMTPA id A5EC54E23DF; Wed, 15 Apr 2020 20:34:16 +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 0/5] drivers: uio: new driver uio_fsl_85xx_cache_sram Date: Wed, 15 Apr 2020 05:33:41 -0700 Message-Id: <20200415123346.116212-1-wenhu.wang@vivo.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-HM-Spam-Status: e1kfGhgUHx5ZQUlXWQgYFAkeWUFZTVVPTklLS0tKT0pKT0hDWVdZKFlBSE 83V1ktWUFJV1kJDhceCFlBWTU0KTY6NyQpLjc#WQY+ X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6MjI6KSo*CTgzQwgDA0I5IzQc MzMKCQxVSlVKTkNNQk5PS05CS0tMVTMWGhIXVQweFRMOVQwaFRw7DRINFFUYFBZFWVdZEgtZQVlO Q1VJTkpVTE9VSUlNWVdZCAFZQUlKSk43Bg++ X-HM-Tid: 0a717dd534d09376kuwsa5ec54e23df 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. 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 | 195 ++++++++++++++++++++++ 7 files changed, 211 insertions(+), 4 deletions(-) create mode 100644 drivers/uio/uio_fsl_85xx_cache_sram.c -- 2.17.1