Re: [PATCH 12/12] mm: Remove devmap related functions and page table bits

2024-09-11 Thread Chunyan Zhang
Hi Alistair, On Tue, 10 Sept 2024 at 12:21, Alistair Popple wrote: > > Now that DAX and all other reference counts to ZONE_DEVICE pages are > managed normally there is no need for the special devmap PTE/PMD/PUD > page table bits. So drop all references to these, freeing up a > software defined pa

Re: [PATCH v2] stm class: Document the stm_ftrace

2017-04-26 Thread Chunyan Zhang
Hi Alex, Could you take this patch please if there's no further comments? Thanks, Chunyan On 23 March 2017 at 14:13, Chunyan Zhang wrote: > This patch adds a description to the stm_ftrace device source, an > interface for collecting Ftrace's function trace information v

[PATCH v2] stm class: Document the stm_ftrace

2017-03-23 Thread Chunyan Zhang
This patch adds a description to the stm_ftrace device source, an interface for collecting Ftrace's function trace information via STM devices. Signed-off-by: Chunyan Zhang --- Documentation/trace/stm.txt | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --

Re: [PATCH] stm class: Document the stm_ftrace

2017-03-21 Thread Chunyan Zhang
On 21 March 2017 at 15:33, Alexander Shishkin wrote: > On 21 March 2017 at 07:57, Chunyan Zhang wrote: >> On 20 March 2017 at 19:09, Alexander Shishkin >> wrote: >>> Chunyan Zhang writes: >>> >>>> Hi Alex, >>>> >>>> On 20

Re: [PATCH] stm class: Document the stm_ftrace

2017-03-20 Thread Chunyan Zhang
On 20 March 2017 at 19:09, Alexander Shishkin wrote: > Chunyan Zhang writes: > >> Hi Alex, >> >> On 20 March 2017 at 16:49, Alexander Shishkin >> wrote: >>> Hi Chunyan, >>> >>> A couple of clarifications: iirc this applies to the fu

Re: [PATCH] stm class: Document the stm_ftrace

2017-03-20 Thread Chunyan Zhang
rt other ftrace payloads like trace_printk()s? No plan so far, but I think I can consider to do that, it depends on how many people think that are helpful. What do you think? Thanks, Chunyan > > Thanks, > -- > Alex > > On 20 March 2017 at 08:47, Chunyan Zhang wrote:

[PATCH] stm class: Document the stm_ftrace

2017-03-20 Thread Chunyan Zhang
This patch adds a description of the stm_ftrace device source, an interface for collecting Function trace information via STM devices. Signed-off-by: Chunyan Zhang --- Documentation/trace/stm.txt | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Documentation/trace

[PATCH V5 2/4] coresight: adding path for STM device

2016-04-06 Thread Chunyan Zhang
th a per-cpu variable as it is done for tracers. This patch simply adds another global variable to keep STM paths and the processing in coresight_enable/disable() is updated to deal with STM devices properly. Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- drivers/hwtracing/c

[PATCH V5 1/4] stm class: Support devices that override software assigned masters

2016-04-06 Thread Chunyan Zhang
From: Alexander Shishkin Some STM devices adjust software assigned master numbers depending on the trace source and its runtime state and whatnot. This patch adds a sysfs attribute to inform the trace-side software that master numbers assigned to software sources will not match those in the STP s

[PATCH V5 3/4] coresight-stm: Bindings for System Trace Macrocell

2016-04-06 Thread Chunyan Zhang
rrent mandatory definition for CoreSight components. Signed-off-by: Mathieu Poirier Acked-by: Rob Herring Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/arm/coresight.txt | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/binding

[PATCH V5 4/4] coresight-stm: adding driver for CoreSight STM component

2016-04-06 Thread Chunyan Zhang
in sysfs and channels made available to userspace via configfs. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier Reviewed-by: Michael Williams Signed-off-by: Chunyan Zhang --- .../ABI/testing/sysfs-bus-coresight-devices-stm| 53 ++ Documentation/trace/coresight.txt

[PATCH V5 0/4] Introduce CoreSight STM support

2016-04-06 Thread Chunyan Zhang
This patchset adds support for the CoreSight STM IP block. Changes from V4: - Rebased the whole patch set onto [4] (v4.6-rc1). - Made a few minor modifications according to the code changes since v4.5. - Replaced the original 1/4 with a new patch the Alex provided. - Another new patch 2/4 in t

Re: [RESEND PATCH V4 4/4] coresight-stm: adding driver for CoreSight STM component

2016-03-27 Thread Chunyan Zhang
ssage- >> From: Chunyan Zhang [mailto:zhang.chun...@linaro.org] >> Sent: 08 March 2016 06:34 >> To: mathieu.poir...@linaro.org; alexander.shish...@linux.intel.com >> Cc: Mike Leach; Michael Williams; Al Grant; t...@ti.com; >> nicolas.gu...@st.com; >> p

Re: [RESEND PATCH V4 4/4] coresight-stm: adding driver for CoreSight STM component

2016-03-27 Thread Chunyan Zhang
On Fri, Mar 25, 2016 at 8:48 PM, Mathieu Poirier wrote: > On 7 March 2016 at 23:33, Chunyan Zhang wrote: >> From: Pratik Patel >> >> This driver adds support for the STM CoreSight IP block, allowing any >> system compoment (HW or SW) to log and aggregate mess

Re: [RESEND PATCH V4 0/4] Introduce CoreSight STM support

2016-03-27 Thread Chunyan Zhang
On Fri, Mar 25, 2016 at 8:51 PM, Mathieu Poirier wrote: > On 7 March 2016 at 23:33, Chunyan Zhang wrote: >> This patchset adds support for the CoreSight STM IP block. >> >> In the fourth version, comments from various people have been >> addressed. Representing config

[RESEND PATCH V4 3/4] coresight-stm: Bindings for System Trace Macrocell

2016-03-07 Thread Chunyan Zhang
rrent mandatory definition for CoreSight components. Signed-off-by: Mathieu Poirier Acked-by: Rob Herring Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/arm/coresight.txt | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/binding

[RESEND PATCH V4 4/4] coresight-stm: adding driver for CoreSight STM component

2016-03-07 Thread Chunyan Zhang
in sysfs and channels made available to userspace via configfs. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- .../ABI/testing/sysfs-bus-coresight-devices-stm| 53 ++ Documentation/trace/coresight.txt | 37 +- drivers/hwtracing

[RESEND PATCH V4 2/4] Documentations: Add explanations of the case for non-configurable masters

2016-03-07 Thread Chunyan Zhang
For some STM hardware (e.g. ARM CoreSight STM), the masterID associated to a source is set at the hardware level and not user configurable. Since the masterID information isn't available to SW, introducing a new value of -1 to reflect this reality. Signed-off-by: Chunyan Zhang --- Document

[RESEND PATCH V4 1/4] stm class: provision for statically assigned masterIDs

2016-03-07 Thread Chunyan Zhang
27;t confuse them with architecture where masterID management is required (where any other value would be valid). [1] https://lkml.org/lkml/2015/12/22/348 Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/core.c | 17 +++-- drivers/hwtracing/stm/pol

[RESEND PATCH V4 0/4] Introduce CoreSight STM support

2016-03-07 Thread Chunyan Zhang
coresight_simple_func() has been moved to the header file. - Calculate the channel number according to the channel memory space size. Thanks, Chunyan [1] https://lkml.org/lkml/2016/2/4/652 [2] https://lkml.org/lkml/2016/2/12/397 [3] https://lkml.org/lkml/2015/12/22/348 Chunyan Zhang (1): Docum

[PATCH V4 2/4] Documentations: Add explanations of the case for non-configurable masters

2016-02-29 Thread Chunyan Zhang
For some STM hardware (e.g. ARM CoreSight STM), the masterID associated to a source is set at the hardware level and not user configurable. Since the masterID information isn't available to SW, introducing a new value of -1 to reflect this reality. Signed-off-by: Chunyan Zhang --- Document

[PATCH V4 4/4] coresight-stm: adding driver for CoreSight STM component

2016-02-29 Thread Chunyan Zhang
in sysfs and channels made available to userspace via configfs. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- .../ABI/testing/sysfs-bus-coresight-devices-stm| 53 ++ Documentation/trace/coresight.txt | 37 +- drivers/hwtracing

[PATCH V4 3/4] coresight-stm: Bindings for System Trace Macrocell

2016-02-29 Thread Chunyan Zhang
rrent mandatory definition for CoreSight components. Signed-off-by: Mathieu Poirier Acked-by: Rob Herring Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/arm/coresight.txt | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/binding

[PATCH V4 1/4] stm class: provision for statically assigned masterIDs

2016-02-29 Thread Chunyan Zhang
27;t confuse them with architecture where masterID management is required (where any other value would be valid). [1] https://lkml.org/lkml/2015/12/22/348 Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/core.c | 18 -- drivers/hwtracing/stm/pol

[PATCH V4 0/4] Introduce CoreSight STM support

2016-02-29 Thread Chunyan Zhang
ding to the channel memory space size. Thanks, Chunyan [1] https://lkml.org/lkml/2016/2/4/652 [2] https://lkml.org/lkml/2016/2/12/397 Chunyan Zhang (1): Documentations: Add explanations of the case for non-configurable masters Mathieu Poirier (2): stm class: provision for statically a

Re: [PATCH V3 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-16 Thread Chunyan Zhang
On Fri, Feb 12, 2016 at 12:59 AM, Mathieu Poirier wrote: > On 6 February 2016 at 04:04, Chunyan Zhang wrote: >> From: Pratik Patel >> >> This driver adds support for the STM CoreSight IP block, allowing any >> system compoment (HW or SW) to log and aggregate mess

Re: [PATCH V3 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-16 Thread Chunyan Zhang
Hi Michael, One question below need to be clarified. On Fri, Feb 12, 2016 at 10:55 PM, Michael Williams wrote: > Mathieu Poirier [mailto:mathieu.poir...@linaro.org] wrote: >> On 6 February 2016 at 04:04, Chunyan Zhang wrote: >>> From: Pratik Patel >>> >>>

[PATCH V3 2/6] stm class: Support devices with multiple instances

2016-02-06 Thread Chunyan Zhang
be the separator, thus prohibiting dots from being used in policy names. Suggested-by: Chunyan Zhang Signed-off-by: Alexander Shishkin --- drivers/hwtracing/stm/policy.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/hwtracing/stm/policy.c b/drivers/hwtracing

[PATCH V3 3/6] stm class: provision for statically assigned masterIDs

2016-02-06 Thread Chunyan Zhang
348 Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/core.c | 18 -- drivers/hwtracing/stm/policy.c | 18 -- include/linux/stm.h| 8 3 files changed, 40 insertions(+), 4 deletions(-) diff --git a/drivers/h

[PATCH V3 1/6] stm class: Add ioctl get_options interface

2016-02-06 Thread Chunyan Zhang
There is already an interface of set_options, but no get_options yet. Before setting any options, one would may want to see the current status of that option by means of get_options interface. This interface has been used in CoreSight STM driver. Signed-off-by: Chunyan Zhang --- drivers

[PATCH V3 5/6] coresight-stm: Bindings for System Trace Macrocell

2016-02-06 Thread Chunyan Zhang
rrent mandatory definition for CoreSight components. Signed-off-by: Mathieu Poirier Acked-by: Rob Herring Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/arm/coresight.txt | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/binding

[PATCH V3 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-06 Thread Chunyan Zhang
in sysfs and channels made available to userspace via configfs. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- .../ABI/testing/sysfs-bus-coresight-devices-stm| 53 ++ Documentation/trace/coresight.txt | 37 +- drivers/hwtracing

[PATCH V3 4/6] Documentations: Add explanations of the case for non-configurable masters

2016-02-06 Thread Chunyan Zhang
For some STM hardware (e.g. ARM CoreSight STM), the masterID associated to a source is set at the hardware level and not user configurable. Since the masterID information isn't available to SW, introducing a new value of -1 to reflect this reality. Signed-off-by: Chunyan Zhang --- Document

[PATCH V3 0/6] Introduce CoreSight STM support

2016-02-06 Thread Chunyan Zhang
hkin (1): stm class: Support devices with multiple instances Chunyan Zhang (2): stm class: Add ioctl get_options interface Documentations: Add explanations of the case for non-configurable masters Mathieu Poirier (2): stm class: provision for statically assigned masterIDs coresight-st

Re: [PATCH V2 2/6] stm class: adds a loop to extract the first valid STM device name

2016-02-04 Thread Chunyan Zhang
On Fri, Feb 5, 2016 at 1:30 AM, Alexander Shishkin wrote: > Chunyan Zhang writes: > > I few comments below: > >> The node name of STM master management policy is a concatenation of an >> STM device name to which this policy applies and following an arbitrary >>

[PATCH V2 2/6] stm class: adds a loop to extract the first valid STM device name

2016-02-04 Thread Chunyan Zhang
found in this STM device name. Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/policy.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/drivers/hwtracing/stm/policy.c b/drivers/hwtracing/stm/policy.c index 11ab6d0..691686e 100644 --- a

[PATCH V2 4/6] Documentations: Add explanations of the case for non-configurable masters

2016-02-03 Thread Chunyan Zhang
For some STM hardware (e.g. ARM CoreSight STM), the masterID associated to a source is set at the hardware level and not user configurable. Since the masterID information isn't available to SW, introducing a new value of -1 to reflect this reality. Signed-off-by: Chunyan Zhang --- Document

[PATCH V2 5/6] coresight-stm: Bindings for System Trace Macrocell

2016-02-03 Thread Chunyan Zhang
rrent mandatory definition for CoreSight components. Signed-off-by: Mathieu Poirier Acked-by: Rob Herring Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/arm/coresight.txt | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/binding

[PATCH V2 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-03 Thread Chunyan Zhang
in sysfs and channels made available to userspace via configfs. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- .../ABI/testing/sysfs-bus-coresight-devices-stm| 53 ++ Documentation/trace/coresight.txt | 37 +- drivers/hwtracing

[PATCH V2 3/6] stm class: provision for statically assigned masterIDs

2016-02-03 Thread Chunyan Zhang
348 Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/core.c | 18 -- drivers/hwtracing/stm/policy.c | 19 +-- include/linux/stm.h| 8 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/drivers/h

[PATCH V2 1/6] stm class: Add ioctl get_options interface

2016-02-03 Thread Chunyan Zhang
There is already an interface of set_options, but no get_options yet. Before setting any options, one would may want to see the current status of that option by means of get_options interface. This interface has been used in CoreSight STM driver. Signed-off-by: Chunyan Zhang --- drivers

[PATCH V2 2/6] stm class: adds a loop to extract the first valid STM device name

2016-02-03 Thread Chunyan Zhang
found in this STM device name. Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/policy.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/drivers/hwtracing/stm/policy.c b/drivers/hwtracing/stm/policy.c index 11ab6d0..691686e 100644 --- a

[PATCH V2 0/6] Introduce CoreSight STM support

2016-02-03 Thread Chunyan Zhang
the kbuild test robot error for the time being. This modification will be removed when merging the code in which the coresight_simple_func() has been moved to the header file. - Calculate the channel number according to the channel memory space size. Thanks, Chunyan Chunyan Zhang (3): stm

[PATCH V2 0/6] Introduce CoreSight STM support

2016-02-03 Thread Chunyan Zhang
the kbuild test robot error for the time being. This modification will be removed when merging the code in which the coresight_simple_func() has been moved to the header file. Thanks, Chunyan Chunyan Zhang (3): stm class: Add ioctl get_options interface stm class: adds a loop to extract

Re: [PATCH 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-01 Thread Chunyan Zhang
url: > https://github.com/0day-ci/linux/commits/Chunyan-Zhang/Introduce-CoreSight-STM-support/20160201-160437 > base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux for-next > config: arm-allmodconfig (attached as .config) > reproduce: > wget > https://gi

[PATCH 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-01 Thread Chunyan Zhang
in sysfs and channels made available to userspace via configfs. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- .../ABI/testing/sysfs-bus-coresight-devices-stm| 53 ++ Documentation/trace/coresight.txt | 37 +- drivers/hwtracing

[PATCH 5/6] coresight-stm: Bindings for System Trace Macrocell

2016-02-01 Thread Chunyan Zhang
rrent mandatory definition for CoreSight components. Signed-off-by: Mathieu Poirier Acked-by: Rob Herring Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/arm/coresight.txt | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/binding

[PATCH 3/6] stm class: provision for statically assigned masterIDs

2016-02-01 Thread Chunyan Zhang
348 Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/core.c | 18 -- drivers/hwtracing/stm/policy.c | 19 +-- include/linux/stm.h| 8 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/drivers/h

[PATCH 4/6] Documentations: Add explanations of the case for non-configurable masters

2016-02-01 Thread Chunyan Zhang
For some STM hardware (e.g. ARM CoreSight STM), the masterID associated to a source is set at the hardware level and not user configurable. Since the masterID information isn't available to SW, introducing a new value of -1 to reflect this reality. Signed-off-by: Chunyan Zhang --- Document

[PATCH 2/6] stm class: adds a loop to extract the first valid STM device name

2016-02-01 Thread Chunyan Zhang
found in this STM device name. Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/policy.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/drivers/hwtracing/stm/policy.c b/drivers/hwtracing/stm/policy.c index 11ab6d0..691686e 100644 --- a

[PATCH 1/6] stm class: Add ioctl get_options interface

2016-02-01 Thread Chunyan Zhang
There is already an interface of set_options, but no get_options yet. Before setting any options, one would may want to see the current status of that option by means of get_options interface. This interface has been used in CoreSight STM driver. Signed-off-by: Chunyan Zhang --- drivers

[PATCH 0/6] Introduce CoreSight STM support

2016-02-01 Thread Chunyan Zhang
This patchset adds support for CoreSight STM IP block. It also makes a little modification to the generic STM framework to cover the CoreSight STM requirements. Full description follows the changelog. Thanks, Chunyan Chunyan Zhang (3): stm class: Add ioctl get_options interface stm class

[PATCH 1/6] stm class: Add ioctl get_options interface

2016-02-01 Thread Chunyan Zhang
There is already an interface of set_options, but no get_options yet. Before setting any options, one would may want to see the current status of that option by means of get_options interface. This interface has been used in CoreSight STM driver. Signed-off-by: Chunyan Zhang --- drivers

[PATCH 2/6] stm class: adds a loop to extract the first valid STM device name

2016-02-01 Thread Chunyan Zhang
found in this STM device name. Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/policy.c | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/drivers/hwtracing/stm/policy.c b/drivers/hwtracing/stm/policy.c index 11ab6d0..691686e 100644 --- a

[PATCH 3/6] stm class: provision for statically assigned masterIDs

2016-02-01 Thread Chunyan Zhang
348 Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- drivers/hwtracing/stm/core.c | 18 -- drivers/hwtracing/stm/policy.c | 19 +-- include/linux/stm.h| 8 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/drivers/h

[PATCH 4/6] Documentations: Add explanations of the case for non-configurable masters

2016-02-01 Thread Chunyan Zhang
For some STM hardware (e.g. ARM CoreSight STM), the masterID associated to a source is set at the hardware level and not user configurable. Since the masterID information isn't available to SW, introducing a new value of -1 to reflect this reality. Signed-off-by: Chunyan Zhang --- Document

[PATCH 5/6] coresight-stm: Bindings for System Trace Macrocell

2016-02-01 Thread Chunyan Zhang
rrent mandatory definition for CoreSight components. Signed-off-by: Mathieu Poirier Acked-by: Rob Herring Signed-off-by: Chunyan Zhang --- .../devicetree/bindings/arm/coresight.txt | 28 ++ 1 file changed, 28 insertions(+) diff --git a/Documentation/devicetree/binding

[PATCH 6/6] coresight-stm: adding driver for CoreSight STM component

2016-02-01 Thread Chunyan Zhang
in sysfs and channels made available to userspace via configfs. Signed-off-by: Pratik Patel Signed-off-by: Mathieu Poirier Signed-off-by: Chunyan Zhang --- .../ABI/testing/sysfs-bus-coresight-devices-stm| 53 ++ Documentation/trace/coresight.txt | 37 +- drivers/hwtracing

[PATCH 0/6] Introduce CoreSight STM support

2016-02-01 Thread Chunyan Zhang
This patchset adds support for CoreSight STM IP block. It also makes a little modification to the generic STM framework to cover the CoreSight STM requirements. Full description follows the changelog. Thanks, Chunyan Chunyan Zhang (3): stm class: Add ioctl get_options interface stm class