From: Arnaud Pouliquen
Implement the create and release of the RPMsg channel
for the RPMsg virtio bus.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
Reviewed-by: Guennadi Liakhovetski
---
drivers/rpmsg/virtio_rpmsg_bus.c | 22 ++
1 file changed, 22
From: Arnaud Pouliquen
Make the RPMSG name service announcement a stand alone driver so that it
can be reused by other subsystems. It is also the first step in making the
functionatlity transport independent, i.e that is not tied to virtIO.
Co-developed-by: Mathieu Poirier
Signed-off-by
Introduce __rpmsg{16|32|64} types along with byte order conversion
functions based on an rpmsg_device operation as a foundation to
make RPMSG modular and transport agnostic.
Suggested-by: Guennadi Liakhovetski
Signed-off-by: Mathieu Poirier
Reviewed-by: Arnaud Pouliquen
---
include/linux
From: Arnaud Pouliquen
Rename the internal function as it is internal, and as
the name will be used in rpmsg_core.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
Reviewed-by: Guennadi Liakhovetski
---
drivers/rpmsg/virtio_rpmsg_bus.c | 6 +++---
1 file changed, 3 insertions
Make function rpmsg_register_device() and rpmsg_unregister_device()
functions public so that they can be used by other clients. While
doing so get rid of two obsolete function, i.e register_rpmsg_device()
and unregister_rpmsg_device(), to prevent confusion.
Signed-off-by: Mathieu Poirier
From: Arnaud Pouliquen
Add the channel creation API as a first step to be able to define the
name service announcement as a rpmsg driver independent from the RPMsg
virtio bus.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
Reviewed-by: Guennadi Liakhovetski
---
drivers/rpmsg
Use rpmsg byte conversion functions in order for the RPMSG
headers and generic functions to be used by external entities.
Signed-off-by: Mathieu Poirier
Reviewed-by: Arnaud Pouliquen
---
drivers/rpmsg/virtio_rpmsg_bus.c | 53 +---
1 file changed, 28 insertions
Move structure rpmsg_ns_msg to its own header file so that
it can be used by other entities.
Signed-off-by: Mathieu Poirier
Reviewed-by: Arnaud Pouliquen
---
drivers/rpmsg/virtio_rpmsg_bus.c | 32 +---
include/linux/rpmsg_ns.h | 42
coresight-core.c
> b/drivers/hwtracing/coresight/coresight-core.c
> index 6994c1309b2b..7936fca8436c 100644
> --- a/drivers/hwtracing/coresight/coresight-core.c
> +++ b/drivers/hwtracing/coresight/coresight-core.c
> @@ -1692,3 +1692,4 @@ module_exit(coresight_exit);
> MODULE_A
On Fri, Oct 23, 2020 at 03:44:16PM +0200, Peter Zijlstra wrote:
> On Fri, Oct 23, 2020 at 02:29:54PM +0100, Suzuki Poulose wrote:
> > On 10/23/20 2:16 PM, Peter Zijlstra wrote:
> > > On Fri, Oct 23, 2020 at 01:56:47PM +0100, Suzuki Poulose wrote:
>
> > > > That way another session could use the sa
sor without stopping its
> > operation.
> >
> > Signed-off-by: Mathieu Poirier
> > ---
> > drivers/remoteproc/remoteproc_core.c | 65
> > +++-
> > include/linux/remoteproc.h | 1 +
> > 2 files changed, 65 insertions(+),
c core is going away but the remote processor is kept operating.
> > This could be the case when the system is rebooted or when the platform
> > driver is removed.
> >
> > Signed-off-by: Mathieu Poirier
> > ---
> > include/linux/remoteproc.h | 2 ++
> > 1
Hi Peter,
On Thu, Oct 22, 2020 at 04:32:36PM +0100, Suzuki Poulose wrote:
> On 10/22/20 4:06 PM, Peter Zijlstra wrote:
> > On Thu, Oct 22, 2020 at 02:30:21PM +0100, Suzuki Poulose wrote:
> > > On 10/22/20 12:32 PM, Peter Zijlstra wrote:
> > > > On Thu, Oct 22, 2020 at 04:27:52PM +0530, Sai Prakash
Hi Shih,
On Wed, 14 Oct 2020 at 23:35, Pi-Hsun Shih wrote:
>
> Add support for mt8192 SCP.
>
This is a very thin changelog. I wouldn't be surprised if you get asked to beef
it up.
> Signed-off-by: Pi-Hsun Shih
> Reviewed-by: Tzung-Bi Shih
>
> ---
>
> Change since v3:
> * Remove unnecessary b
From: Arnaud Pouliquen
Implement the create and release of the RPMsg channel
for the RPMsg virtio bus.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
Reviewed-by: Guennadi Liakhovetski
---
drivers/rpmsg/virtio_rpmsg_bus.c | 22 ++
1 file changed, 22
From: Arnaud Pouliquen
Make the RPMSG name service announcement a stand alone driver so that it
can be reused by other subsystems. It is also the first step in making the
functionatlity transport independent, i.e that is not tied to virtIO.
Co-developed-by: Mathieu Poirier
Signed-off-by
From: Arnaud Pouliquen
Add the channel creation API as a first step to be able to define the
name service announcement as a rpmsg driver independent from the RPMsg
virtio bus.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
Reviewed-by: Guennadi Liakhovetski
---
drivers/rpmsg
Make function rpmsg_register_device() and rpmsg_unregister_device()
functions public so that they can be used by other clients. While
doing so get rid of two obsolete function, i.e register_rpmsg_device()
and unregister_rpmsg_device(), to prevent confusion.
Signed-off-by: Mathieu Poirier
From: Arnaud Pouliquen
Rename the internal function as it is internal, and as
the name will be used in rpmsg_core.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
Reviewed-by: Guennadi Liakhovetski
---
drivers/rpmsg/virtio_rpmsg_bus.c | 6 +++---
1 file changed, 3 insertions
Use rpmsg byte conversion functions in order for the RPMSG
headers and generic functions to be used by external entities.
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 53 +---
1 file changed, 28 insertions(+), 25 deletions(-)
diff --git a
creation internal API
rpmsg: virtio: Add rpmsg channel device ops
rpmsg: Turn name service into a stand alone driver
Mathieu Poirier (4):
rpmsg: Introduce __rpmsg{16|32|64} types
rpmsg: virtio: Move from virtio to rpmsg byte conversion
rpmsg: Move structure rpmsg_ns_msg to header file
Introduce __rpmsg{16|32|64} types along with byte order conversion
functions based on an rpmsg_device operation as a foundation to
make RPMSG modular and transport agnostic.
Suggested-by: Guennadi Liakhovetski
Signed-off-by: Mathieu Poirier
---
include/linux/rpmsg.h| 51
Move structure rpmsg_ns_msg to its own header file so that
it can be used by other entities.
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 32 +---
include/linux/rpmsg_ns.h | 42
2 files changed, 43 insertions
On Sun, Sep 27, 2020 at 02:41:31PM +0800, Peng Fan wrote:
> Use virtio/mailbox to build connection between Remote Proccessors
> and Linux. Add delayed work to handle incoming messages.
>
> Reviewed-by: Richard Zhu
> Signed-off-by: Peng Fan
> ---
> drivers/remoteproc/imx_rproc.c | 112 ++
IMX7D_M4_RST_MASK,
> @@ -517,6 +555,8 @@ static int imx_rproc_remove(struct platform_device *pdev)
> static const struct of_device_id imx_rproc_of_match[] = {
> { .compatible = "fsl,imx7d-cm4", .data = &imx_rproc_cfg_imx7d },
> { .compatible = "
f (!index && !strcmp(it.node->name, "vdevbuffer")) {
> + index ++;
How many vdevs is there in your scenario? Since most of this code is taken from
stm32 anyway I would suggest to use "vdev0buffer" and get rid of the "index
++". It
On Sun, Sep 27, 2020 at 02:41:28PM +0800, Peng Fan wrote:
> We might need to map an region multiple times, becaue the region might
> be shared between remote processors, such i.MX8QM with dual M4 cores.
> So use devm_ioremap, not devm_ioremap_resource.
>
> Reviewed-by: Oleksij Rempel
> Reviewed-b
6 +392,8 @@ struct rproc_ops {
> int (*load)(struct rproc *rproc, const struct firmware *fw);
> int (*sanity_check)(struct rproc *rproc, const struct firmware *fw);
> u64 (*get_boot_addr)(struct rproc *rproc, const struct firmware *fw);
> + void (*elf_memcpy)(struct
On Fri, Oct 16, 2020 at 03:40:25PM +0530, Sai Prakash Ranjan wrote:
> There is a bug on the systems supporting to skip power up
> (qcom,skip-power-up) where setting LPOVERRIDE bit(low-power
> state override behaviour) will result in CPU hangs/lockups
> even on the implementations which supports it.
On Thu, Oct 15, 2020 at 10:33:25AM +0200, Arnaud POULIQUEN wrote:
> Hi Mathieu,
>
> On 10/14/20 1:25 AM, Mathieu Poirier wrote:
> > Move structures rpmsg_hdr and rpmsg_ns_msg to their own header file
> > so that they can be used by other entities.
> >
> &g
On Wed, Oct 14, 2020 at 07:04:32PM +0200, Arnaud POULIQUEN wrote:
>
>
> On 10/14/20 1:25 AM, Mathieu Poirier wrote:
> > Use rpmsg byte conversion functions in order for the RPMSG
> > headers and generic functions to be used by external entities.
> >
> &g
Good day,
On Wed, Oct 14, 2020 at 06:31:49PM +0200, Arnaud POULIQUEN wrote:
> Hi Mathieu,
>
> On 10/14/20 1:25 AM, Mathieu Poirier wrote:
> > Introduce __rpmsg{16|32|64} types along with byte order conversion
> > functions based on an rpmsg_device operation as a foundat
On Wed, Oct 14, 2020 at 04:55:34PM -0600, Mathieu Poirier wrote:
> Hi Alexandre,
>
> On Wed, Sep 30, 2020 at 01:53:47PM +0200, Alexandre Bailon wrote:
> > This adds a driver to communicate with the APU available
> > in the mt8183. The driver is generic and could be used
On Thu, Oct 15, 2020 at 06:15:22PM +0530, Sai Prakash Ranjan wrote:
> On production systems with ETMs enabled, it is preferred to
> exclude kernel mode(NS EL1) tracing for security concerns and
> support only userspace(NS EL0) tracing. So provide an option
> via kconfig to exclude kernel mode traci
Hi Alexandre,
On Wed, Sep 30, 2020 at 01:53:47PM +0200, Alexandre Bailon wrote:
> This adds a driver to communicate with the APU available
> in the mt8183. The driver is generic and could be used for other APU.
> It mostly provides a userspace interface to send messages and
> and share big buffers
cfg-tz = <&rcc 0x000 0x1>;
> st,syscfg-pdds = <&pwr_mcu 0x0 0x1>;
> + st,syscfg-rsc-tbl = <&tamp 0x144 0x>;
> + st,syscfg-m4-state = <&tamp 0x148 0x>;
Tested-by: Mathieu Poirier
> status = "disabled";
> };
> };
> --
> 2.17.1
>
Move structure rpmsg_endpoint_ops to header rpmsg.h so that it can
be used by other entities.
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/rpmsg_internal.h | 19 ---
include/linux/rpmsg.h | 24 +---
2 files changed, 21 insertions(+), 22 deletions
ver
Mathieu Poirier (5):
rpmsg: Move rpmsg_endpoint_ops to rpmsg.h
rpmsg: Introduce __rpmsg{16|32|64} types
rpmsg: virtio: Move from virtio to rpmsg byte conversion
rpmsg: Move rpmsg_hr and rpmsg_ns_msg to header file
rpmsg: Make rpmsg_{register|unregister}_device() public
drivers/rp
Make function rpmsg_register_device() and rpmsg_unregister_device()
functions public so that they can be used by other clients. While
doing so get rid of two obsolete function, i.e register_rpmsg_device()
and unregister_rpmsg_device(), to prevent confusion.
Signed-off-by: Mathieu Poirier
From: Arnaud Pouliquen
Add the channel creation API as a first step to be able to define the
name service announcement as a rpmsg driver independent from the RPMsg
virtio bus.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/rpmsg_core.c | 44
From: Arnaud Pouliquen
Make the RPMSG name service announcement a stand alone driver so that it
can be reused by other subsystems. It is also the first step in making the
functionatlity transport independent, i.e that is not tied to virtIO.
Co-developed-by: Mathieu Poirier
Signed-off-by
Move structures rpmsg_hdr and rpmsg_ns_msg to their own header file
so that they can be used by other entities.
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 58 ++
include/linux/rpmsg_ns.h | 62
From: Arnaud Pouliquen
Implement the create and release of the RPMsg channel
for the RPMsg virtio bus.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 22 ++
1 file changed, 22 insertions(+)
diff --git a/drivers/rpmsg
Introduce __rpmsg{16|32|64} types along with byte order conversion
functions based on an rpmsg_device operation as a foundation to
make RPMSG modular and transport agnostic.
Suggested-by: Guennadi Liakhovetski
Signed-off-by: Mathieu Poirier
---
include/linux/rpmsg.h| 51
Use rpmsg byte conversion functions in order for the RPMSG
headers and generic functions to be used by external entities.
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 60 +++-
1 file changed, 35 insertions(+), 25 deletions(-)
diff --git a
From: Arnaud Pouliquen
Rename the internal function as it is internal, and as
the name will be used in rpmsg_core.
Signed-off-by: Arnaud Pouliquen
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a
On Wed, 7 Oct 2020 at 18:52, Peng Fan wrote:
>
> Mathieu, Oleksij
>
> > Subject: [PATCH V2 0/7] remoteproc: imx_rproc: support iMX8MQ/M
>
> Do you have time to give a look at this patchset?
I will review your patchset after you have reviewed mine[1].
[1]. https://patchwork.kernel.org/project/lin
On Wed, Sep 30, 2020 at 09:13:27AM +0200, Guennadi Liakhovetski wrote:
> On Mon, Sep 21, 2020 at 06:10:00PM -0600, Mathieu Poirier wrote:
> > Make name service module transport agnostic by using the rpmsg
> > device specific byte conversion routine.
> >
> > Sig
Hi Guennadi,
Apologies for the late reply, I've been away.
On Wed, Sep 30, 2020 at 09:03:45AM +0200, Guennadi Liakhovetski wrote:
> On Mon, Sep 21, 2020 at 06:09:55PM -0600, Mathieu Poirier wrote:
> > Move structure virtiproc_info and virtio_rpmsg_channel to rpmsg_internal.h
> &
es' or 'additionalProperties'. This has been a
> constant source of review issues.
>
> Signed-off-by: Rob Herring
> ---
> Documentation/devicetree/bindings/arm/coresight-cti.yaml | 2 ++
For CoreSight:
Acked-by: Mathieu Poirier
> Documentation/devicetree/bind
On Thu, Sep 10, 2020 at 03:01:47PM +0200, Alexandre Bailon wrote:
> The DSP could be debugged using JTAG.
> The support of JTAG could enabled at build time and it could be enabled
> using debugfs.
>
> Signed-off-by: Alexandre Bailon
> ---
> drivers/remoteproc/Kconfig | 9 +++
> drivers/remot
Hi Alexandre,
On Thu, Sep 10, 2020 at 03:01:46PM +0200, Alexandre Bailon wrote:
> This adds a driver to control the APU present in the MT8183.
> This loads the firmware and start the DSP.
>
> Signed-off-by: Alexandre Bailon
> ---
> drivers/remoteproc/Kconfig | 10 ++
> drivers/remoteproc/Mak
On Thu, Sep 10, 2020 at 03:01:45PM +0200, Alexandre Bailon wrote:
> This adds dt bindings for the APU present in the MT8183.
>
> Signed-off-by: Alexandre Bailon
> ---
> .../bindings/remoteproc/mtk,apu.yaml | 107 ++
> 1 file changed, 107 insertions(+)
> create mode 1006
Hey Guennadi,
On Mon, Sep 28, 2020 at 11:49:42AM +0200, Guennadi Liakhovetski wrote:
> (re-sending, mailing list delivery attempts last Friday failed)
>
I got your email on Friday but had to tend to other things.
> Hi Mathieu,
>
> On Thu, Sep 24, 2020 at 12:18:53PM -0600,
From: Kim Phillips
Allow to build coresight-tpiu as a module, for ease of development.
- Kconfig becomes a tristate, to allow =m
- add a tpiu_remove function, for module unload
- add a MODULE_DEVICE_TABLE for autoloading on boot
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc
From: Kim Phillips
Allow to build coresight-funnel as module, for ease of development.
- combine static and dynamic funnel init into single
module_init/exit call
- add funnel_remove functions, for module unload
- add a MODULE_DEVICE_TABLE for autoloading on boot
Cc: Mathieu Poirier
Cc: Leo
MODULE_DEVICE_TABLE for autoloading on boot
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc: Randy Dunlap
Cc: Suzuki K Poulose
Cc: Greg Kroah-Hartman
Cc: Russell King
Signed-off-by: Kim Phillips
Signed-off-by: Tingwei Zhang
Tested-by: Mike Leach
Reviewed-by: Suzuki K Poulose
Signed-off-by
for autoloading on boot
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc: Randy Dunlap
Cc: Suzuki K Poulose
Cc: Greg Kroah-Hartman
Cc: Russell King
Signed-off-by: Kim Phillips
Co-developed-by: Mian Yousaf Kaukab
Signed-off-by: Mian Yousaf Kaukab
Signed-off-by: Tingwei Zhang
.
Suggested-by: Suzuki K Poulose
Signed-off-by: Tingwei Zhang
Tested-by: Mike Leach
Reviewed-by: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight.c | 60 ++---
1 file changed, 53 insertions(+), 7 deletions(-)
diff --git a/drivers/hwtracing
: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/Kconfig | 5 -
drivers/hwtracing/coresight/coresight-catu.c | 15 +++
2 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/hwtracing/coresight/Kconfig
b/drivers/hwtracing
ash Ranjan
Reviewed-by: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-etm4x-core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight-etm4x-core.c
b/drivers/hwtracing/coresight/coresigh
Reviewed-by: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-catu.c | 22 +--
drivers/hwtracing/coresight/coresight-catu.h | 2 --
.../hwtracing/coresight/coresight-tmc-etr.c | 15 +++--
drivers/hwtracing/coresight/coresight
.
This patch corrects the link removal code.
Fixes: 73274abb6557 ("coresight: cti: Add in sysfs links to other coresight
devices")
Reported-by: Tingwei Zhang
Signed-off-by: Mike Leach
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-cti.c | 9 ++---
1 fi
From: Tingwei Zhang
Add static cti_assoc_ops to coresight core driver. Let cti
driver register the add_assoc and remove_assoc call back.
Avoid coresight core driver to depend on cti driver.
Signed-off-by: Tingwei Zhang
Tested-by: Mike Leach
Signed-off-by: Mathieu Poirier
---
drivers
From: Tingwei Zhang
Add coresight prefix to make it specific. It will be a export symbol.
Signed-off-by: Mian Yousaf Kaukab
Signed-off-by: Tingwei Zhang
Reviewed-by: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-etb10.c | 2 +-
drivers
xes: f5200aa9831f38 ("coresight: perf: Refactor function free_event_data()")
Signed-off-by: Tingwei Zhang
Reviewed-by: Mike Leach
Reviewed-by: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-etm-perf.c | 4 ++--
1 file changed, 2 insertions(+), 2 delet
MODULE_DEVICE_TABLE for autoloading on boot
- move cti_remove_conn_xrefs to cti_remove since all sysfs links
have gone when system calls device_release.
Signed-off-by: Tingwei Zhang
Tested-by: Mike Leach
Reviewed-by Mike Leach
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/Kconfig
d-off-by: Mike Leach
Signed-off-by: Tingwei Zhang
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight.c | 17 ++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/drivers/hwtracing/coresight/coresight.c
b/drivers/hwtracing/coresight/coresight.c
called too late in the unload process resulting in a
crash.
This fixes both the issues.
Fixes: 177af8285b59 ("coresight: cti: Enable CTI associated with devices")
Reported-by: Tingwei Zhang
Signed-off-by: Mike Leach
Signed-off-by: Tingwei Zhang
Acked-by: Suzuki K Poulose
Signed-off-b
ister/unregister function calls to the core init/exit
functions.
- add a MODULE_DEVICE_TABLE for autoloading on boot
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc: Randy Dunlap
Cc: Suzuki K Poulose
Cc: Greg Kroah-Hartman
Cc: Russell King
Signed-off-by: Kim Phillips
Signed-o
established after coresight device is enabled.
Signed-off-by: Mike Leach
Signed-off-by: Tingwei Zhang
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight.c | 11 ---
include/linux/coresight.h | 1 +
2 files changed, 9 insertions(+), 3 deletions
From: Kim Phillips
Allow to build coresight-etb10 as a module, for ease of development.
- Kconfig becomes a tristate, to allow =m
- add an etb_remove function, for module unload
- add a MODULE_DEVICE_TABLE for autoloading on boot
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc
From: Tingwei Zhang
- Kconfig becomes a tristate, to allow =m
- add a stm_remove function, for module unload
- add a MODULE_DEVICE_TABLE for autoloading on boot
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc: Randy Dunlap
Cc: Suzuki K Poulose
Cc: Greg Kroah-Hartman
Cc: Russell
From: Kim Phillips
Checking for ifdef CONFIG_x fails if CONFIG_x=m. Use IS_ENABLED
that is true for both built-ins and modules, instead. Required
when building coresight components as modules.
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc: Randy Dunlap
Cc: Suzuki K Poulose
Cc
MODULE_DEVICE_TABLE for autoloading on boot
- delay advertising the per-cpu etmdrvdata
- protect etmdrvdata[] by modifying it on relevant CPU
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc: Randy Dunlap
Cc: Suzuki K Poulose
Cc: Greg Kroah-Hartman
Cc: Russell King
Signed-off-by: Kim Phillips
MODULE_DEVICE_TABLE for autoloading on boot
- delay advertising the per-cpu etmdrvdata
- protect etmdrvdata[] by modifying it on relevant CPU
Cc: Mathieu Poirier
Cc: Leo Yan
Cc: Alexander Shishkin
Cc: Randy Dunlap
Cc: Suzuki K Poulose
Cc: Greg Kroah-Hartman
Cc: Russell King
Signed-off-by: Kim Phillips
From: Tingwei Zhang
Define a MODULE_DEVICE_TABLE for cpu_debug so module can
be auto loaded on boot.
Signed-off-by: Tingwei Zhang
Reviewed-by: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-cpu-debug.c | 2 ++
1 file changed, 2 insertions(+)
diff
From: Mian Yousaf Kaukab
Export symbols used among coresight modules.
Signed-off-by: Mian Yousaf Kaukab
Signed-off-by: Tingwei Zhang
Tested-by: Mike Leach
Reviewed-by: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/coresight-etm-perf.c | 1 +
drivers
From: Tingwei Zhang
Provide name of cpu_debug module in Kconfig help section.
Signed-off-by: Tingwei Zhang
Tested-by: Mike Leach
Reviewed-by: Suzuki K Poulose
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/coresight/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a
Good day,
This is the second part we were hoping for, i.e CoreSight modularisation,
and a fix for a copy/paste error in the context save/restore process.
Please consider for the next merge window.
Applies on top of your "char-misc-next" branch.
Thanks,
Mathieu
Kim Phillips (8):
coresight: Use
On Mon, Sep 28, 2020 at 05:07:09PM +0530, Sai Prakash Ranjan wrote:
> In commit f188b5e76aae ("coresight: etm4x: Save/restore state
> across CPU low power states"), mistakenly TRCVMIDCCTLR1 register
> value was saved in trcvmidcctlr0 state variable which is used to
> store TRCVMIDCCTLR0 register va
st and not directly to me
> or something similar has happened.
>
Ok
> On Tue, Sep 22, 2020 at 01:12:41PM -0600, Mathieu Poirier wrote:
> > Good day Guennadi,
> >
> > On Tue, 22 Sep 2020 at 02:09, Guennadi Liakhovetski
> > wrote:
> > >
> > >
Hi Alexander,
Things have been quite busy over the last 3 weeks, preventing me from
giving your work the attention it deserves. It is on my radar and will get to
it in the next two weeks.
Thanks,
Mathieu
On Thu, Sep 10, 2020 at 03:01:44PM +0200, Alexandre Bailon wrote:
> Some Mediatek's SoC ha
On Tue, Sep 15, 2020 at 12:09:18PM -0600, Mathieu Poirier wrote:
> On Tue, Sep 15, 2020 at 06:41:01PM +0800, Tingwei Zhang wrote:
> > From: Kim Phillips
> >
> > Allow to build coresight-etm3x as a module, for ease of development.
> >
> > - Kconfig becomes a t
On Tue, Sep 22, 2020 at 04:34:53PM +0200, Arnaud POULIQUEN wrote:
>
>
> On 9/22/20 2:09 AM, Mathieu Poirier wrote:
> > Add RPMSG device specific byte conversion operations as a first
> > step to separate the RPMSG name space service from the virtIO
> > transport la
On Tue, Sep 22, 2020 at 04:26:23PM +0200, Arnaud POULIQUEN wrote:
> Hi Mathieu,
>
> On 9/22/20 2:09 AM, Mathieu Poirier wrote:
> > From: Guennadi Liakhovetski
> >
> > virtio_rpmsg_bus.c keeps RPMsg protocol structure declarations and
> > common defines lik
On Tue, Sep 22, 2020 at 09:06:03AM +0200, Guennadi Liakhovetski wrote:
> On Mon, Sep 21, 2020 at 06:09:51PM -0600, Mathieu Poirier wrote:
> > From: Arnaud Pouliquen
> >
> > Rename the internal function as it is internal, and as
> > the name will be used in rpmsg_c
ran the rpmsg_client_sample.c and it just worked,
no changes to client code needed.
Let's keep talking, it's the only way we'll get through this.
Mathieu
>
> Thanks
> Guennadi
>
> On Mon, Sep 21, 2020 at 06:09:50PM -0600, Mathieu Poirier wrote:
> > Hi all,
From: Arnaud Pouliquen
Rename the internal function as it is internal, and as
the name will be used in rpmsg_core.
Signed-off-by: Arnaud Pouliquen
---
drivers/rpmsg/virtio_rpmsg_bus.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/drivers/rpmsg/virtio_rpmsg_bus.c b/
dd channel creation internal API
rpmsg: virtio: Add rpmsg channel device ops
rpmsg: Turn name service into a stand alone driver
rpmsg: virtio: use rpmsg ns device for the ns announcement
Guennadi Liakhovetski (1):
rpmsg: Move common structures and defines to headers
Mathieu Poirier (4
Move structure virtiproc_info and virtio_rpmsg_channel to rpmsg_internal.h
so that they can be used by rpmsg_ns.c
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/rpmsg_internal.h | 62
drivers/rpmsg/virtio_rpmsg_bus.c | 57 -
2
From: Arnaud Pouliquen
Implement the create and release of the RPMsg channel
for the RPMsg virtio bus.
Signed-off-by: Arnaud Pouliquen
[Moved function declaration above struct virtio_rpmsg_ops]
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 24
/rpmsg_virtio.h to linux/rpmsg_ns.h]
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 78 +-
include/linux/rpmsg_ns.h | 83
include/uapi/linux/rpmsg.h | 3 ++
3 files changed, 88 insertions(+), 76 deletions
From: Arnaud Pouliquen
As generic NS driver is available, rely on it for NS management instead of
managing it in RPMsg virtio bus.
Signed-off-by: Arnaud Pouliquen
---
drivers/rpmsg/Kconfig| 1 +
drivers/rpmsg/rpmsg_internal.h | 2 -
drivers/rpmsg/virtio_rpmsg_bus.c | 84 +++
From: Arnaud Pouliquen
Add the channel creation API as a first step to be able to define the
name service announcement as a rpmsg driver independent from the RPMsg
virtio bus.
Signed-off-by: Arnaud Pouliquen
---
drivers/rpmsg/rpmsg_core.c | 45 ++
drivers/rp
Add RPMSG device specific byte conversion operations as a first
step to separate the RPMSG name space service from the virtIO
transport layer.
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/rpmsg_core.c | 51 ++
drivers/rpmsg/rpmsg_internal.h | 12
: Mathieu Poirier
---
drivers/rpmsg/Kconfig | 8 +++
drivers/rpmsg/Makefile | 1 +
drivers/rpmsg/rpmsg_internal.h | 18 ++
drivers/rpmsg/rpmsg_ns.c | 110 +
4 files changed, 137 insertions(+)
create mode 100644 drivers/rpmsg/rpmsg_ns.c
Introduce rpmsg operations to make byte conversion specific to the
virtIO transport layer, therefore avoiding the protocol code from
being aware of the virtIO transport specification.
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/virtio_rpmsg_bus.c | 36
1
Make name service module transport agnostic by using the rpmsg
device specific byte conversion routine.
Signed-off-by: Mathieu Poirier
---
drivers/rpmsg/rpmsg_ns.c | 10 --
include/linux/rpmsg_ns.h | 4 ++--
2 files changed, 6 insertions(+), 8 deletions(-)
diff --git a/drivers/rpmsg
Hey Arnaud,
On Tue, Aug 25, 2020 at 06:49:04PM +0200, Arnaud Pouliquen wrote:
> The name service announcement should not be linked to the RPMsg virtio bus
> but to the RPMsg protocol itself.
>
> This patch proposes to break the dependency with the RPmsg virtio bus by
> the introduction of the res
801 - 900 of 2217 matches
Mail list logo