From: Viresh Kumar <viresh.kumar@linaro.org>
To: arnd@arndb.de, Sudeep Holla <sudeep.holla@arm.com>
Cc: peng.fan@nxp.com, Viresh Kumar <viresh.kumar@linaro.org>,
jassisinghbrar@gmail.com, linux-kernel@vger.kernel.org,
peter.hilber@opensynergy.com,
linux-arm-kernel@lists.infradead.org, cristian.marussi@arm.com
Subject: [PATCH V6 0/3] firmware: arm_scmi: Make scmi core independent of the transport type
Date: Fri, 31 Jan 2020 10:58:10 +0530 [thread overview]
Message-ID: <cover.1580448239.git.viresh.kumar@linaro.org> (raw)
Hello,
This patchset makes the scmi core (driver.c) independent of mailbox
transport.
V5->V6:
- Divide the patchset into multiple logical patches.
- Create shmem.c to separate out shared mem related helpers.
- Make mark_txdone() optional.
- Drop inclusion of stddef.h.
V4->V5:
- struct scmi_shared_mem is moved to mailbox.c and it is completely
handled by transport layer now.
- And so lots of ops change due to this.
- Fixed a bug from previous version where wrong dev structure was
getting passed to devm_kzalloc().
V3->V4:
- Rebased on top of linux-next.
V2->V3:
- Added more ops to the structure to read/write/memcpy data
- Payload is moved to mailbox.c and is handled in transport specific way
now. This resulted in lots of changes.
V1->V2:
- Dropped __iomem from payload data.
- Moved transport ops to scmi_desc, and that has a per transport
instance now which is differentiated using the compatible string.
- Converted IS_ERR_OR_NULL to IS_ERR.
Viresh Kumar (3):
firmware: arm_scmi: Update doc style comments
firmware: arm_scmi: Move macros and helpers to common.h
firmware: arm_scmi: Make scmi core independent of the transport type
drivers/firmware/arm_scmi/Makefile | 3 +-
drivers/firmware/arm_scmi/common.h | 112 ++++++++++-
drivers/firmware/arm_scmi/driver.c | 293 ++++------------------------
drivers/firmware/arm_scmi/mailbox.c | 184 +++++++++++++++++
drivers/firmware/arm_scmi/shmem.c | 82 ++++++++
5 files changed, 412 insertions(+), 262 deletions(-)
create mode 100644 drivers/firmware/arm_scmi/mailbox.c
create mode 100644 drivers/firmware/arm_scmi/shmem.c
--
2.21.0.rc0.269.g1a574e7a288b
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Viresh Kumar <viresh.kumar@linaro.org>
To: arnd@arndb.de, Sudeep Holla <sudeep.holla@arm.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>,
jassisinghbrar@gmail.com, cristian.marussi@arm.com,
peng.fan@nxp.com, peter.hilber@opensynergy.com,
Vincent Guittot <vincent.guittot@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH V6 0/3] firmware: arm_scmi: Make scmi core independent of the transport type
Date: Fri, 31 Jan 2020 10:58:10 +0530 [thread overview]
Message-ID: <cover.1580448239.git.viresh.kumar@linaro.org> (raw)
Hello,
This patchset makes the scmi core (driver.c) independent of mailbox
transport.
V5->V6:
- Divide the patchset into multiple logical patches.
- Create shmem.c to separate out shared mem related helpers.
- Make mark_txdone() optional.
- Drop inclusion of stddef.h.
V4->V5:
- struct scmi_shared_mem is moved to mailbox.c and it is completely
handled by transport layer now.
- And so lots of ops change due to this.
- Fixed a bug from previous version where wrong dev structure was
getting passed to devm_kzalloc().
V3->V4:
- Rebased on top of linux-next.
V2->V3:
- Added more ops to the structure to read/write/memcpy data
- Payload is moved to mailbox.c and is handled in transport specific way
now. This resulted in lots of changes.
V1->V2:
- Dropped __iomem from payload data.
- Moved transport ops to scmi_desc, and that has a per transport
instance now which is differentiated using the compatible string.
- Converted IS_ERR_OR_NULL to IS_ERR.
Viresh Kumar (3):
firmware: arm_scmi: Update doc style comments
firmware: arm_scmi: Move macros and helpers to common.h
firmware: arm_scmi: Make scmi core independent of the transport type
drivers/firmware/arm_scmi/Makefile | 3 +-
drivers/firmware/arm_scmi/common.h | 112 ++++++++++-
drivers/firmware/arm_scmi/driver.c | 293 ++++------------------------
drivers/firmware/arm_scmi/mailbox.c | 184 +++++++++++++++++
drivers/firmware/arm_scmi/shmem.c | 82 ++++++++
5 files changed, 412 insertions(+), 262 deletions(-)
create mode 100644 drivers/firmware/arm_scmi/mailbox.c
create mode 100644 drivers/firmware/arm_scmi/shmem.c
--
2.21.0.rc0.269.g1a574e7a288b
next reply other threads:[~2020-01-31 5:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-31 5:28 Viresh Kumar [this message]
2020-01-31 5:28 ` [PATCH V6 0/3] firmware: arm_scmi: Make scmi core independent of the transport type Viresh Kumar
2020-01-31 5:28 ` [PATCH V6 1/3] firmware: arm_scmi: Update doc style comments Viresh Kumar
2020-01-31 5:28 ` Viresh Kumar
2020-01-31 5:28 ` [PATCH V6 2/3] firmware: arm_scmi: Move macros and helpers to common.h Viresh Kumar
2020-01-31 5:28 ` Viresh Kumar
2020-01-31 5:28 ` [PATCH V6 3/3] firmware: arm_scmi: Make scmi core independent of the transport type Viresh Kumar
2020-01-31 5:28 ` Viresh Kumar
2020-01-31 15:28 ` [PATCH V6 0/3] " Sudeep Holla
2020-01-31 15:28 ` Sudeep Holla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1580448239.git.viresh.kumar@linaro.org \
--to=viresh.kumar@linaro.org \
--cc=arnd@arndb.de \
--cc=cristian.marussi@arm.com \
--cc=jassisinghbrar@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=peter.hilber@opensynergy.com \
--cc=sudeep.holla@arm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.