Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7271483imu; Thu, 31 Jan 2019 07:42:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN7AX3jMDnjmzOt9G4farNO6/8hLpbvlRZTTxxrLgzaXOdN9o/imNZ5AJQDnYc/o5/wGk7Gh X-Received: by 2002:a63:2263:: with SMTP id t35mr31925328pgm.69.1548949341448; Thu, 31 Jan 2019 07:42:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548949341; cv=none; d=google.com; s=arc-20160816; b=D4mj7Kni/mQnwoNmP3MwqwNB2hmjsm5Xuc27nfbNbILs0lfeOb/5judvnUbj9bNFeb WiOO43MqofV4NKL4LBypjzid1dKx/dp8wic+lFDIRWj1F31aGM8VCZTgk1thMLqzqYYF PiO/T5vFHUP+2NQEaTZib+3Q+eHgfwXAFA11xF1/ztQgHOMg1YGT9qhSyB7JJ5df7mAn vO37JLDI5G8nxRN0iTPXWEJlL9UKagCuDBLFj/aSWjEgaFqSi1WFhUeEekqmXPaqC/ff tbRLmf0ZoePQ/JAKUWGzvXQsHIBkEmyhYNq7nPsE5CghqQMeDrlbw1erO5+XU14pPpOt b0Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=9eb/DDIGJrrUN4reespc5rRrtGf6NGWspvQ3PZOhCN4=; b=m7XV6ZTYKttxOTYU9sDfd9Hkw6xzdEspe9H2Lrdk0xzvQMiySYHN8FF05fXsYvplrg U9hiOz7n/WBZDAH/89goxmJLNHyu+BRvFWXqlLJCXKaVjPrtpmIZzC2gMOYxJ16CiWMw dm1XPvBL3KtRIuSNQEmlE3izE7mTxWkEKBCq3mwSvFLY+bxVQQ8TXJ0ZqKqhxClMRzW+ gYNctXLnguZVM4hZCbk7zm3oE99PlTXdKTuxeFqIZqwYEhCg/Loo7LWLhTA3aPM45rzY SV43HUz1kVNN2VatpUd9BrfjVXM7GXjXKvkESKdgWvv3+lb8HpzfJm4Ki1t6ER2mJurE XKAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Bl1zYYLA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 36si5078826plc.300.2019.01.31.07.42.06; Thu, 31 Jan 2019 07:42:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Bl1zYYLA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733227AbfAaPly (ORCPT + 99 others); Thu, 31 Jan 2019 10:41:54 -0500 Received: from mail-pg1-f194.google.com ([209.85.215.194]:37421 "EHLO mail-pg1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726060AbfAaPlx (ORCPT ); Thu, 31 Jan 2019 10:41:53 -0500 Received: by mail-pg1-f194.google.com with SMTP id c25so1514333pgb.4; Thu, 31 Jan 2019 07:41:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9eb/DDIGJrrUN4reespc5rRrtGf6NGWspvQ3PZOhCN4=; b=Bl1zYYLA1ewY8ACzG3sMF/dOXyslwLNbzLJQ3dD2pItiBVVBNL1wMwgBwN9i6g5eSr 3QnpaJ/cUuzvwTRQThtblOQd0A+e9wHmdLD2AUr0d23GReGujOpEO/MFAzkCN72HFz6X euL1NQnMqwHwGDwysT/T3LUTX8+TUGqT42UeIso5JnFvVjsXLTZrJEhAY3wVroajrsMG I1ulHPzHcS34CfaMqSA0kwQhIanjIA5WDEaMDizxsX30tnCS1Wul7zhHO7wav8xqRrUZ NuJiAAaEDGDHn5sju/WJFbOxqjB8SFPQa/O4HpE09e9e3+NLcYQ0vXiYcr60e9g58LgA HI4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9eb/DDIGJrrUN4reespc5rRrtGf6NGWspvQ3PZOhCN4=; b=dLdgSXFjzsIdlWqe1ZfRNXqPRySCK6EmlwAPds5npTxBh8XaAHpcz5RrpdLYJo5xRw 3XKReJCgdTBy3ynYZ1WQSad34qraGkoze8ehgkiMMYl3ccURDlcMtd3rUcHxWjlFs2FO +Tdcg2PXpql4JwqOe9rXmT8qgtRXYJ5N6pPsJdYRrlSUhWKaHHIbXXDf+YlPTcK8rI0M 82nxA8MGa3G7jjTCmwsKoh8q3J5QLgP35K1b6XCEoPNkuFXjOypqQD4Bz9UxX467GnnW dcNXSP1T+inm3UgjVcXu8TO5FN32+GoMkku8LnKIXuxoC9/uvu1sDvsN7WxTl0rDyrOf rXCQ== X-Gm-Message-State: AJcUukfYcw5RXIOOnL1G2Jqvq/hd2Zyi9bRQqiTJ+El3jCdNFRgEShdi FtYSAkhomr2fIg9qfyR7gSI= X-Received: by 2002:a62:f907:: with SMTP id o7mr34732684pfh.244.1548949312982; Thu, 31 Jan 2019 07:41:52 -0800 (PST) Received: from localhost.localdomain ([43.224.245.179]) by smtp.gmail.com with ESMTPSA id b2sm6622435pgg.87.2019.01.31.07.41.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Jan 2019 07:41:52 -0800 (PST) From: Xiang Xiao X-Google-Original-From: Xiang Xiao To: ohad@wizery.com, bjorn.andersson@linaro.org, wendy.liang@xilinx.com, arnaud.pouliquen@st.com, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Xiang Xiao Subject: [PATCH 0/3] Enhance virtio rpmsg bus driver buffer allocation Date: Thu, 31 Jan 2019 23:41:17 +0800 Message-Id: <1548949280-31794-1-git-send-email-xiaoxiang@xiaomi.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This series enhance the buffer allocation by: 1.Support the different buffer number in rx/tx direction 2.Get the individual rx/tx buffer size from config space Here is the related OpenAMP change: https://github.com/OpenAMP/open-amp/pull/155 Xiang Xiao (3): rpmsg: virtio_rpmsg_bus: allow the different vring size for send/recv rpmsg: virtio_rpmsg_bus: allocate rx/tx buffer separately rpmsg: virtio_rpmsg_bus: get buffer size from config space drivers/rpmsg/virtio_rpmsg_bus.c | 127 +++++++++++++++++++++++--------------- include/uapi/linux/virtio_rpmsg.h | 24 +++++++ 2 files changed, 100 insertions(+), 51 deletions(-) create mode 100644 include/uapi/linux/virtio_rpmsg.h -- 2.7.4