Return-Path: Authentication-Results: lists.ozlabs.org; spf=permerror (mailfrom) smtp.mailfrom=kernel.crashing.org (client-ip=63.228.1.57; helo=gate.crashing.org; envelope-from=benh@kernel.crashing.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41c8Wb5nXjzF0wQ for ; Fri, 27 Jul 2018 10:11:07 +1000 (AEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gate.crashing.org (8.14.1/8.14.1) with ESMTP id w6R0AvN0007351; Thu, 26 Jul 2018 19:10:58 -0500 Message-ID: <81553544b2004efd42f256147d0d9f45df01df25.camel@kernel.crashing.org> Subject: [GIT PULL] FSI updates round 4 (last) for 4.19 From: Benjamin Herrenschmidt To: Greg Kroah-Hartman Cc: "linux-kernel@vger.kernel.org" , openbmc@lists.ozlabs.org, Joel Stanley Date: Fri, 27 Jul 2018 10:10:57 +1000 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.4 (3.28.4-1.fc28) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2018 00:11:08 -0000 Hi Greg ! This adds a few fixes for things reported since the last merge, and the latch batch of changes pending for FSI for 4.19. That batch is a rather mechanical conversion of the misc devices into proper char devices. The misc devices were ill suited, the minor space for them is limited and we can have a lot of chips in a system creating FSI devices. This also allows us to better control (and fix) object lifetime getting rid of the bad devm_kzalloc() of the structures containing the devices etc... Finally, we add a chardev to the core FSI that provides raw CFAM access to FSI slaves as a replacement for the current "raw" binary sysfs file which will be ultimately deprecated and removed. Thanks ! Ben. The following changes since commit 0a213777d1dd879092225a7aa847b6e9b3a1c267: fsi: Add support for device-tree provided chip IDs (2018-07-23 16:27:32 +1000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/benh/linux-fsi.git tags/fsi-updates-2018-07-27 for you to fetch changes up to 9840fcd8cc43bfba486a53b4461044f1a1189cdc: fsi: Prevent multiple concurrent rescans (2018-07-27 09:58:12 +1000) ---------------------------------------------------------------- Benjamin Herrenschmidt (8): fsi: master-ast-cf: Fix build warnings on 64-bit platforms fsi: master-ast-cf: Mask unused bits in RTAG/RCRC fsi: master-ast-cf: Rename dump_trace() to avoid name collision fsi: Add new central chardev support fsi: sbefifo: Convert to use the new chardev fsi: scom: Convert to use the new chardev fsi: Add cfam char devices fsi: Prevent multiple concurrent rescans Gustavo A. R. Silva (1): fsi: master-ast-cf: Fix memory leak drivers/fsi/Kconfig | 15 +++ drivers/fsi/fsi-core.c | 375 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- drivers/fsi/fsi-master-ast-cf.c | 24 +++-- drivers/fsi/fsi-master.h | 2 + drivers/fsi/fsi-sbefifo.c | 84 ++++++++++----- drivers/fsi/fsi-scom.c | 130 ++++++++++++++--------- include/linux/fsi.h | 12 ++- 7 files changed, 496 insertions(+), 146 deletions(-)