From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757084AbcBSQBe (ORCPT ); Fri, 19 Feb 2016 11:01:34 -0500 Received: from foss.arm.com ([217.140.101.70]:46994 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751290AbcBSQBc (ORCPT ); Fri, 19 Feb 2016 11:01:32 -0500 From: Sudeep Holla To: Jassi Brar , linux-kernel@vger.kernel.org Cc: Sudeep Holla , Lee Jones Subject: [PATCH v2 0/4] mailbox: mailbox-test: support single channel with separate Tx and Rx buffer Date: Fri, 19 Feb 2016 16:01:14 +0000 Message-Id: <1455897678-28424-1-git-send-email-sudeep.holla@arm.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jassi, Assuming mailbox-test was designed to be generic, I am trying to extend it to support single channel with separate Tx and Rx buffer. With these changes I am able to test arm_mhu driver. However I couldn't understand the intention of converting buffer to ASCII hex dump in read method. I have a local change to remove that so that it can deal with any data in any format(e.g. some protocol format) and userspace can deal with the actual interpretation of the data. I will post that separately and discuss that in that thread. For now this series is sufficient and userspace can do reverse conversion. Please consider applying this for v4.6 Regards, Sudeep v1: https://lkml.org/lkml/2016/2/11/561 v1-v2: - Minor/Cosmetic changes as suggested by Lee - Added Acks from RobH and Lee Sudeep Holla (4): mailbox: mailbox-test: rename driver as generic test driver mailbox: mailbox-test: fix the compatible string mailbox: mailbox-test: use print_hex_dump_bytes to allow dynamic printk mailbox: mailbox-test: add support for separate tx/rx buffer with single channel .../devicetree/bindings/mailbox/sti-mailbox.txt | 2 +- drivers/mailbox/mailbox-test.c | 53 +++++++++++++--------- 2 files changed, 32 insertions(+), 23 deletions(-) -- 1.9.1