[PATCH v2 04/10] Documentation: perf: hisi: Documentation for HIP05/06/07 PMU event counting.

2016-12-07 Thread Anurup M
Documentation for perf usage and Hisilicon SoC PMU uncore events. The Hisilicon SOC has event counters for hardware modules like L3 cache, Miscellaneous node etc. These events are all uncore. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- Documentation/perf/hisi-pmu.txt | 75

[PATCH v2 06/10] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2016-12-07 Thread Anurup M
-by: John Garry Signed-off-by: Anurup M --- drivers/perf/Makefile | 1 + drivers/perf/hisilicon/Makefile | 1 + drivers/perf/hisilicon/djtag.c | 729 drivers/perf/hisilicon/djtag.h | 39 +++ 4 files changed, 770 insertions(+) create mode

[PATCH v2 07/10] perf: hisi: Add support for Hisilicon SoC event counters

2016-12-07 Thread Anurup M
counting. 5. Add support to count L3 cache hardware events. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_l3c.c | 572 +++ drivers/perf

[PATCH v2 03/10] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2016-12-07 Thread Anurup M
1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache and MN PMU. 3) Add child nodes of L3C and MN in djtag bindings example. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- .../devicetree/bindings/arm/hisilicon/djtag.txt| 25 ++ .../devicetree

[PATCH v2 01/10] arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support

2016-12-07 Thread Anurup M
Add support for Hisilicon SoC hardware event counters for HIP05/06/07 chip versions. Signed-off-by: Anurup M --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b224caa..ce86c07 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5725,6

[PATCH v2 05/10] perf: hisi: Update Kconfig for Hisilicon PMU support

2016-12-07 Thread Anurup M
Update Kconfig for Hip05/06/07 PMU support. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 4d5c5f9..2befa55 100644 --- a

[PATCH v2 09/10] perf: hisi: Miscellanous node(MN) event counting in perf

2016-12-07 Thread Anurup M
d_req/" Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_mn.c | 516 2 files changed, 517 insertions(+), 1 deletion(-) create mode 100644 drivers/perf/hisilicon/hisi_uncore_

[PATCH v2 08/10] perf: hisi: Add sysfs attributes for L3 cache(L3C) PMU

2016-12-07 Thread Anurup M
CPU for counting. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- drivers/perf/hisilicon/hisi_uncore_l3c.c | 57 drivers/perf/hisilicon/hisi_uncore_pmu.c | 40 ++ drivers/perf/hisilicon/hisi_uncore_pmu.h | 21 3 files ch

[PATCH v2 10/10] dts: arm64: hip06: Add Hisilicon SoC PMU support

2016-12-07 Thread Anurup M
1. Add nodes for hip06 L3 cache to support uncore events. 2. Add nodes for hip06 MN to support uncore events. Signed-off-by: Shaokun Zhang Signed-off-by: John Garry Signed-off-by: Anurup M --- arch/arm64/boot/dts/hisilicon/hip06.dtsi | 78 1 file changed, 78

Re: [PATCH v3 02/10] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-01-04 Thread Anurup M
On Wednesday 04 January 2017 04:26 AM, Rob Herring wrote: On Mon, Jan 02, 2017 at 01:49:03AM -0500, Anurup M wrote: From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../devicetree/bindings/arm

Re: [PATCH v3 03/10] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2017-01-04 Thread Anurup M
On Wednesday 04 January 2017 04:29 AM, Rob Herring wrote: On Mon, Jan 02, 2017 at 01:49:21AM -0500, Anurup M wrote: 1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache and MN PMU. 3) Add child nodes of L3C and MN in djtag bindings example. Signed-off-by

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-07 Thread M. Braun
Am 06.01.2017 um 14:54 schrieb Johannes Berg: > >> The bridge layer can use IGMP snooping to ensure that the multicast >> stream is only transmitted to clients that are actually a member of >> the group. Can the mac80211 feature do the same? > > No, it'll convert the packet for all clients that a

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-09 Thread M. Braun
Am 09.01.2017 um 09:08 schrieb Johannes Berg: > Does it make sense to implement the two in separate layers though? > > Clearly, this part needs to be implemented in the bridge layer due to > the snooping knowledge, but the code is very similar to what mac80211 > has now. Does the bridge always kn

RE: Is This Email Still Working.

2016-10-29 Thread Kyyaly M.
From: Kyyaly M. Sent: 30 October 2016 00:12 To: Kyyaly M. Subject: RE: Is This Email Still Working. Transaction offer contact me---> jonathan_symond...@outlook.com for details.

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-07 Thread Anurup M
On Tuesday 08 November 2016 12:32 PM, Tan Xiaojun wrote: On 2016/11/7 21:26, Arnd Bergmann wrote: On Wednesday, November 2, 2016 11:42:46 AM CET Anurup M wrote: From: Tan Xiaojun The Hisilicon Djtag is an independent component which connects with some other components in the

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-08 Thread Anurup M
On Tuesday 08 November 2016 05:13 PM, Arnd Bergmann wrote: On Tuesday, November 8, 2016 1:08:31 PM CET Anurup M wrote: On Tuesday 08 November 2016 12:32 PM, Tan Xiaojun wrote: On 2016/11/7 21:26, Arnd Bergmann wrote: On Wednesday, November 2, 2016 11:42:46 AM CET Anurup M wrote: From

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-08 Thread Anurup M
On Tuesday 08 November 2016 05:15 PM, Arnd Bergmann wrote: On Tuesday, November 8, 2016 11:23:35 AM CET John Garry wrote: On 07/11/2016 20:08, Arnd Bergmann wrote: On Monday, November 7, 2016 2:15:10 PM CET John Garry wrote: Hi Arnd, The new bus type tries to model the djtag in a similar wa

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-08 Thread Anurup M
On Tuesday 08 November 2016 08:38 PM, Arnd Bergmann wrote: On Tuesday, November 8, 2016 7:16:30 PM CET Anurup M wrote: If these are backwards compatible, just mark them as compatible in DT, e.g. hip06 can use compatible = "hisilicon,hip06-cpu-djtag-v1", "hisilicon,hip

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-09 Thread Anurup M
On Tuesday 08 November 2016 08:40 PM, Arnd Bergmann wrote: On Tuesday, November 8, 2016 1:49:43 PM CET John Garry wrote: Hi Arnd, Thanks for the reference. I think the i2c interface doesn't fully satisfy our requirements as we need more than just a slave bus address when accessing the slave

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-11 Thread Anurup M
On Thursday 10 November 2016 03:10 AM, Arnd Bergmann wrote: On Wednesday, November 9, 2016 9:58:38 AM CET Anurup M wrote: I also see that the compatible strings have the version included in them, and you can probably drop them by requiring them only in the fallback: compatible

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-11 Thread Anurup M
On Wednesday 09 November 2016 02:36 PM, John Garry wrote: I'd suggest requiring #address-cells=<1> and #size-cells=<0> in the master node, and listing the children by reg property. If the address is not easily expressed as a single integer, use a larger #address-cells value. We already have

[PATCH v1 00/11] perf: arm64: Support for Hisilicon SoC Hardware event counters

2016-11-02 Thread Anurup M
perf tool can list the event names. ToDo: 1) The counter overflow handling is currently unsupported in this patch series. 2) ACPI support. Anurup M (8): arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support Documentation: perf: hisi: Documentation for HIP05/06/07

[PATCH v1 08/11] perf: hisi: Add sysfs attributes for L3 cache(L3C) PMU

2016-11-02 Thread Anurup M
attribute group for showing the available CPU for counting. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- drivers/perf/hisilicon/hisi_uncore_l3c.c | 57 drivers/perf/hisilicon/hisi_uncore_pmu.c | 40 ++ drivers/perf

[PATCH v1 11/11] dts: arm64: hip06: Add Hisilicon SoC PMU support

2016-11-02 Thread Anurup M
1. Add nodes for hip06 L3 cache to support uncore events. 2. Add nodes for hip06 MN to support uncore events. 3. Add nodes for hip06 DDRC to support uncore events. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- arch/arm64/boot/dts

[PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-02 Thread Anurup M
-off-by: Tan Xiaojun Signed-off-by: John Garry Signed-off-by: Anurup M --- drivers/soc/Kconfig | 1 + drivers/soc/Makefile| 1 + drivers/soc/hisilicon/Kconfig | 12 + drivers/soc/hisilicon/Makefile | 1 + drivers/soc/hisilicon/djtag.c | 639

[PATCH v1 10/11] perf: hisi: Support for Hisilicon DDRC PMU.

2016-11-02 Thread Anurup M
1. Add support for counting Hisilicon DDRC statistics events in perf. 2. Support a total of 13 statistics events. 3. Events listed in /sys/devices// Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- drivers/perf/hisilicon/Makefile | 2

[PATCH v1 09/11] perf: hisi: Miscellanous node(MN) event counting in perf

2016-11-02 Thread Anurup M
event format is -e "hisi_mn2/read_req/" Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_mn.c | 571 drivers/perf/hisilicon/hisi_uncore_mn.h |

[PATCH v1 05/11] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2016-11-02 Thread Anurup M
1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache, MN and DDRC PMU. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- .../devicetree/bindings/arm/hisilicon/pmu.txt | 127 + 1 file changed, 127 insertions

[PATCH v1 04/11] Documentation: perf: hisi: Documentation for HIP05/06/07 PMU event counting.

2016-11-02 Thread Anurup M
Documentation for perf usage and Hisilicon SoC PMU uncore events. The Hisilicon SOC has event counters for hardware modules like L3 cache, Miscellaneous node, DDR cntroller etc. These events are all uncore. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang

[PATCH v1 02/11] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Sysctrl and Djtag dts bindings

2016-11-02 Thread Anurup M
From: Tan Xiaojun 1) Add Hisilicon HiP05/06/07 CPU and ALGSUB system controller dts bindings. 2) Add Hisilicon Djtag dts binding. Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../bindings/arm/hisilicon/hisilicon.txt | 82

[PATCH v1 06/11] perf: hisi: Update Kconfig for Hisilicon PMU support

2016-11-02 Thread Anurup M
1. Update Kconfig for Hip05/06/07 PMU support. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 4d5c5f9..da8dd97 100644

[PATCH v1 01/11] arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support

2016-11-02 Thread Anurup M
Add support for Hisilicon SoC hardware event counters for HIP05/06/07 chip versions. Signed-off-by: Anurup M --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b224caa..839abc8 100644 --- a/MAINTAINERS +++ b

[PATCH v1 07/11] perf: hisi: Add support for Hisilicon SoC event counters

2016-11-02 Thread Anurup M
. Routines to enable/disable/add/del/start/stop hardware event counting. 5. Add support to count L3 cache hardware events. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Makefile| 1 + drivers/perf

[PATCH v3 00/10] perf: arm64: Support for Hisilicon SoC Hardware event counters

2017-01-01 Thread Anurup M
series. As the DDRC PMU doesnot depend on djtag it will be send separately. v1 -- -Initial version with support for L3C, MN and DDRC event counters -Djtag driver is used to access registers of L3 cache and MN. Anurup M (7): arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support dt-bindings

[PATCH v3 01/10] arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support

2017-01-01 Thread Anurup M
Add support for Hisilicon SoC hardware event counters for HIP05/06/07 chip versions. Signed-off-by: Anurup M --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index b224caa..fca339e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5725,6

[PATCH v3 02/10] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-01-01 Thread Anurup M
From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../devicetree/bindings/arm/hisilicon/djtag.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation

[PATCH v3 05/10] perf: hisi: Update Kconfig for Hisilicon PMU support

2017-01-01 Thread Anurup M
Update Kconfig for HiP05/06/07 PMU support. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 4d5c5f9..2a5435b 100644 --- a

[PATCH v3 06/10] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2017-01-01 Thread Anurup M
-by: John Garry Signed-off-by: Anurup M --- drivers/perf/Makefile | 1 + drivers/perf/hisilicon/Makefile | 1 + drivers/perf/hisilicon/djtag.c | 731 drivers/perf/hisilicon/djtag.h | 39 +++ 4 files changed, 772 insertions(+) create mode

[PATCH v3 03/10] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2017-01-01 Thread Anurup M
1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache and MN PMU. 3) Add child nodes of L3C and MN in djtag bindings example. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- .../devicetree/bindings/arm/hisilicon/djtag.txt| 25 ++ .../devicetree

[PATCH v3 04/10] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-01-01 Thread Anurup M
Documentation for perf usage and Hisilicon SoC PMU uncore events. The Hisilicon SOC has event counters for hardware modules like L3 cache, Miscellaneous node etc. These events are all uncore. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- Documentation/perf/hisi-pmu.txt | 75

[PATCH v3 08/10] perf: hisi: Add sysfs attributes for L3 cache(L3C) PMU

2017-01-01 Thread Anurup M
CPU for counting. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- drivers/perf/hisilicon/hisi_uncore_l3c.c | 53 drivers/perf/hisilicon/hisi_uncore_pmu.c | 39 +++ drivers/perf/hisilicon/hisi_uncore_pmu.h | 21 + 3 fil

[PATCH v3 07/10] perf: hisi: Add support for Hisilicon SoC event counters

2017-01-01 Thread Anurup M
counting. 5. Add support to count L3 cache hardware events. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_l3c.c | 556 +++ drivers/perf/hisilicon/hisi_uncore_pmu.c | 326

[PATCH v3 09/10] perf: hisi: Miscellanous node(MN) event counting in perf

2017-01-01 Thread Anurup M
d_req/" Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_mn.c | 501 2 files changed, 502 insertions(+), 1 deletion(-) create mode 100644 drivers/perf/hisilicon/hisi_uncore_

[PATCH v3 10/10] dts: arm64: hip06: Add Hisilicon SoC PMU support

2017-01-01 Thread Anurup M
1. Add nodes for hip06 L3 cache to support uncore events. 2. Add nodes for hip06 MN to support uncore events. Signed-off-by: Shaokun Zhang Signed-off-by: John Garry Signed-off-by: Anurup M --- arch/arm64/boot/dts/hisilicon/hip06.dtsi | 72 1 file changed, 72

Re: [PATCH v2 02/10] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2016-12-23 Thread Anurup M
On Monday 19 December 2016 10:01 PM, Rob Herring wrote: On Wed, Dec 07, 2016 at 11:55:19AM -0500, Anurup M wrote: From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../devicetree/bindings/arm

Re: [PATCH v2 03/10] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2016-12-23 Thread Anurup M
On Monday 19 December 2016 10:07 PM, Rob Herring wrote: On Wed, Dec 07, 2016 at 11:55:59AM -0500, Anurup M wrote: 1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache and MN PMU. 3) Add child nodes of L3C and MN in djtag bindings example. Signed-off-by: Anurup

Re: [PATCH v6 04/11] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-03-23 Thread Anurup M
Thanks for the review. On Tuesday 21 March 2017 07:42 PM, Mark Rutland wrote: Hi, On Fri, Mar 10, 2017 at 01:27:39AM -0500, Anurup M wrote: +HiP0x chips are encapsulated by multiple CPU and IO die's. The CPU die is Nit: that apostrophe shouldn't be there. Ok. shall recheck

Re: [PATCH v6 08/11] drivers: perf: hisi: use poll method to avoid L3C counter overflow

2017-03-23 Thread Anurup M
On Tuesday 21 March 2017 10:46 PM, Mark Rutland wrote: On Fri, Mar 10, 2017 at 01:28:45AM -0500, Anurup M wrote: Add hrtimer support which use poll method to avoid counter overflow when overflow IRQ is not supported in hardware. The L3 cache PMU use N-N SPI interrupt which has no support in

Re: [PATCH v6 10/11] drivers: perf: hisi: use poll method when no IRQ for MN counter overflow

2017-03-23 Thread Anurup M
On Tuesday 21 March 2017 10:47 PM, Mark Rutland wrote: On Fri, Mar 10, 2017 at 01:29:01AM -0500, Anurup M wrote: When no IRQ is supported in hardware, use hrtimer to poll and update event counter and avoid overflow condition for MN PMU. An interval of 8 seconds is used for the hrtimer

Re: [PATCH v6 07/11] drivers: perf: hisi: Add support for Hisilicon SoC event counters

2017-03-24 Thread Anurup M
Thanks for the review. On Tuesday 21 March 2017 10:22 PM, Mark Rutland wrote: On Fri, Mar 10, 2017 at 01:28:31AM -0500, Anurup M wrote: + * This code is based on the uncore PMU's like arm-cci and + * arm-ccn. Nit: s/PMU's/PMUs/ Ok. [...] +struct hisi_l3c_hwcfg { + u32

Re: [PATCH v6 03/11] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2017-03-24 Thread Anurup M
On Tuesday 21 March 2017 10:58 PM, Mark Rutland wrote: On Tue, Mar 21, 2017 at 02:07:42PM +, Mark Rutland wrote: On Fri, Mar 10, 2017 at 01:27:27AM -0500, Anurup M wrote: +HiSilicon SoC chip is encapsulated by multiple CPU and IO dies. The CPU die +is called as Super CPU cluster (SCCL

Re: [PATCH v6 06/11] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2017-03-24 Thread Anurup M
Thanks for the review. On Tuesday 21 March 2017 09:21 PM, Mark Rutland wrote: On Fri, Mar 10, 2017 at 01:28:22AM -0500, Anurup M wrote: From: Tan Xiaojun The Hisilicon Djtag is an independent component which connects with some other components in the SoC by Debug Bus. This driver can be

Re: [PATCH v6 08/11] drivers: perf: hisi: use poll method to avoid L3C counter overflow

2017-03-26 Thread Anurup M
On Friday 24 March 2017 05:13 PM, Mark Rutland wrote: How do we ensure that we don't take the interrupt in the middle of a > >sequence of accesses to the HW? > >The L3 cache and MN PMU does not use the overflow IRQ and it does >not occur here >as the interrupt Mask register is by default maske

Re: [PATCH v6 07/11] drivers: perf: hisi: Add support for Hisilicon SoC event counters

2017-03-26 Thread Anurup M
On Friday 24 March 2017 05:27 PM, Mark Rutland wrote: +/* hip05/06 chips L3C bank identifier */ >+static u32 l3c_bankid_map_v1[MAX_BANKS] = { >+0x02, 0x04, 0x01, 0x08, >+}; >+ >+/* hip07 chip L3C bank identifier */ >+static u32 l3c_bankid_map_v2[MAX_BANKS] = { >+0x01, 0x02, 0x03, 0x04,

Re: [PATCH v6 06/11] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2017-03-26 Thread Anurup M
On Friday 24 March 2017 05:06 PM, Mark Rutland wrote: +#define SC_DJTAG_TIMEOUT_US(100 * USEC_PER_MSEC) /* 100ms */ > >How was this value chosen? > > > >How likely is a timeout? > >As explained in PATCH 7, > >The djtag -EBUSY in hardware is a very rare scenario, and by design >of hardware

Re: [PATCH v6 00/11] perf: arm64: Support for Hisilicon SoC Hardware event counters

2017-03-15 Thread Anurup M
Please have a look at this patch series. Looking forward for any feedback and comments. Thanks, Anurup On Friday 10 March 2017 11:55 AM, Anurup M wrote: Provide Support for Hisilicon SoC(HiP05/06/07) Hardware event counters. The Hisilicon SoC HiP0x series has many uncore or non-CPU

[PATCH v3 2/8] staging: rtl8192e: Fix coding style

2017-03-15 Thread sunil . m
From: Suniel Mahesh Fixed the following checkpatch.pl warning: line over 80 characters Signed-off-by: Suniel Mahesh --- Changes for v3: - Split earlier patches into multiple commits for easy review as suggested by Greg K-H - New patch addition to the series - Rebased on top of next-20170310

[PATCH v3 5/8] staging: rtl8192e: Fix unbalanced braces

2017-03-15 Thread sunil . m
From: Suniel Mahesh Fixed unbalanced braces around else statement Add braces on all arms of the if-else statements to comply with kernel coding style. Signed-off-by: Suniel Mahesh --- Changes for v3: - Split earlier patches into multiple commits for easy review as suggested by Greg K-H - Mod

[PATCH v3 3/8] staging: rtl8192e: Remove unnecessary 'out of memory' message

2017-03-15 Thread sunil . m
From: Suniel Mahesh Fixed the following checkpatch.pl warning: Possible unnecessary 'out of memory' message Signed-off-by: Suniel Mahesh --- Changes for v3: - Split earlier patches into multiple commits for easy review as suggested by Greg K-H - Modified subject and description for better re

[PATCH v3 7/8] staging: rtl8192e: Fix issues reported by checkpatch.pl

2017-03-15 Thread sunil . m
From: Suniel Mahesh Fixed the following checkpatch.pl checks: spaces preferred around that 'operator', spacing provided Logical continuations should be on the previous line, modified accordingly Unnecessary parentheses around variables, removed Please use a blank line after function/struct/union/

[PATCH v3 8/8] staging: rtl8192e: Fix blank lines and space after a cast

2017-03-15 Thread sunil . m
From: Suniel Mahesh Fixed the following checkpatch.pl checks: Blank lines aren't necessary after an open brace '{' and before a close brace '}', removed No space is necessary after a cast, removed Please don't use multiple blank lines, removed Signed-off-by: Suniel Mahesh --- Changes for v3: -

[PATCH v3 4/8] staging: rtl8192e: Rectify pointer comparisions with NULL

2017-03-15 Thread sunil . m
From: Suniel Mahesh This patch simplifies code by replacing explicit NULL comparison with ! or unmark operator Reported by checkpatch.pl for comparison to NULL could be written '!foo' or 'foo' Signed-off-by: Suniel Mahesh --- Changes for v3: - Split earlier patches into multiple commits for ea

[PATCH v3 1/8] staging: rtl8192e: Fix comments as per kernel coding style

2017-03-15 Thread sunil . m
From: Suniel Mahesh Fixed the following checkpatch.pl warnings: Block comments should align the * on each line Block comments use * on subsequent lines Signed-off-by: Suniel Mahesh --- Changes for v3: - Split earlier patches into multiple commits for easy review as suggested by Greg K-H - Mo

[PATCH v3 0/8] staging: rtl8192e: Fix coding style, warnings and checks

2017-03-15 Thread sunil . m
From: Suniel Mahesh Split earlier patches into multiple commits for easy review as suggested by Dan Carpenter. Modified subject, description and in few patches both for better readability as suggested by Greg KH. Fixed the following issues reported by checkpatch.pl: Block comments should align t

[PATCH v3 6/8] staging: rtl8192e: Pass a pointer as an argument to sizeof() instead of struct

2017-03-15 Thread sunil . m
From: Suniel Mahesh Replaced sizeof(struct foo) into sizeof(*ptr), found by checkpatch.pl Signed-off-by: Suniel Mahesh --- Changes for v3: - Split earlier patches into multiple commits for easy review as suggested by Greg K-H - Modified description for better readability - Rebased on top of

[PATCH v4 3/8] staging: rtl8192e: Remove unnecessary 'out of memory' message

2017-03-15 Thread sunil . m
From: Suniel Mahesh Fixed the following checkpatch.pl warning: Possible unnecessary 'out of memory' message If it is out of memory, function should return with an appropriate error code. Since this function is of type void, a return statement is used. Signed-off-by: Suniel Mahesh --- Changes fo

[PATCH v4 0/6] staging: rtl8192e: Fix coding style, warnings and checks

2017-03-16 Thread sunil . m
From: Suniel Mahesh Split earlier patches into multiple commits for easy review as suggested by Dan Carpenter. Modified subject, description and in few patches both for better readability as suggested by Greg KH. Dropped two patches from the earler series, as they were not adding significant val

[PATCH v4 6/6] staging: rtl8192e: Fix blank lines and space after a cast

2017-03-16 Thread sunil . m
From: Suniel Mahesh Fixed the following checkpatch.pl checks: Blank lines aren't necessary after an open brace '{' and before a close brace '}', removed No space is necessary after a cast, removed Please don't use multiple blank lines, removed Signed-off-by: Suniel Mahesh --- Changes for v4: -

[PATCH v4 4/6] staging: rtl8192e: Pass a pointer as an argument to sizeof() instead of struct

2017-03-16 Thread sunil . m
From: Suniel Mahesh Replaced sizeof(struct foo) into sizeof(*ptr), found by checkpatch.pl Signed-off-by: Suniel Mahesh --- Changes for v4: - Dropped two patches from the series, as they were not adding significant value suggested by Dan Carpenter. staging: rtl8192e: Fix coding style, this

[PATCH v2 4/5] staging: rtl8192e: Fix unbalanced braces around else statement

2017-03-09 Thread sunil . m
From: Suniel Mahesh Fix unbalanced braces around else statement reported by checkpatch.pl Signed-off-by: Suniel Mahesh --- Changes for v2: - new patch addition to the series - Rebased on top of next-20170306 --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c | 17 ++--- 1 file chang

[PATCH v2 0/5] staging: rtl8192e: Fix coding style, warnings and checks

2017-03-09 Thread sunil . m
From: Suniel Mahesh Fixed coding style issues and improved error handling, return -ENOMEM, if it is out of memory instead of err message. Pointer comparisions with NUll are replaced by logical NOT. Fixed unbalanced braces around else statement and preferred to pass a pointer as an argument to s

[PATCH v2 1/5] staging: rtl8192e: Fix coding style issues

2017-03-09 Thread sunil . m
From: Suniel Mahesh Fix coding style issues and comments in rtl_core.c Signed-off-by: Suniel Mahesh --- Changes for v2: - Split larger patch into multiple commits as suggested by Dan Carpenter - This patch fixes coding style issues, comments in rtl_core.c reported by checkpatch.pl - Modified

[PATCH v2 2/5] staging: rtl8192e: Improve error handling

2017-03-09 Thread sunil . m
From: Suniel Mahesh Return -ENOMEM, if it is out of memory Signed-off-by: Suniel Mahesh --- Changes for v2: - Improve error handling reported by checkpatch.pl in rtl_core.c - new patch addition to the series - Rebased on top of next-20170306 --- drivers/staging/rtl8192e/rtl8192e/rtl_core.c |

[PATCH v2 5/5] staging: rtl8192e: Pass a pointer as an argument to sizeof() instead of struct

2017-03-09 Thread sunil . m
From: Suniel Mahesh Prefer vzalloc(sizeof(*priv->pFirmware)...) over vzalloc(sizeof(struct rt_firmware)...) as reported by checkpatch.pl Signed-off-by: Suniel Mahesh --- Changes for v2: - new patch addition to the series - Rebased on top of next-20170306 --- drivers/staging/rtl8192e/rtl8192e/

[PATCH v2 3/5] staging: rtl8192e: Rectify pointer comparisions

2017-03-09 Thread sunil . m
From: Suniel Mahesh Pointer comparison with NULL replaced by logical NOT Signed-off-by: Suniel Mahesh --- Changes for v2: - Rectify pointer comparisions reported by checkpatch.pl in rtl_core.c - new patch addition to the series - Rebased on top of next-20170306 --- drivers/staging/rtl8192e/rt

[PATCH v6 00/11] perf: arm64: Support for Hisilicon SoC Hardware event counters

2017-03-09 Thread Anurup M
counters -Djtag driver is used to access registers of L3 cache and MN. Anurup M (8): arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting

[PATCH v6 01/11] arm64: MAINTAINERS: hisi: Add hisilicon SoC PMU support

2017-03-09 Thread Anurup M
Add support for Hisilicon SoC hardware event counters for HiP05/06/07 chip versions. Signed-off-by: Anurup M --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6d7b7a7..c2f9806 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5958,6

[PATCH v6 03/11] dt-bindings: perf: hisi: Add Devicetree bindings for Hisilicon SoC PMU

2017-03-09 Thread Anurup M
1) Device tree bindings for Hisilicon SoC PMU. 2) Add example for Hisilicon L3 cache and MN PMU. 3) Add child nodes of L3C and MN in djtag bindings example. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/djtag.txt| 25

[PATCH v6 02/11] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-03-09 Thread Anurup M
From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M Acked-by: Rob Herring --- .../devicetree/bindings/arm/hisilicon/djtag.txt| 51 ++ 1 file changed, 51 insertions(+) create mode 100644

[PATCH v6 04/11] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-03-09 Thread Anurup M
Documentation for perf usage and Hisilicon SoC PMU uncore events. The Hisilicon SOC has event counters for hardware modules like L3 cache, Miscellaneous node etc. These events are all uncore. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang --- Documentation/perf/hisi-pmu.txt | 76

[PATCH v6 05/11] drivers: perf: hisi: Update Kconfig for Hisilicon PMU support

2017-03-09 Thread Anurup M
Update Kconfig for HiP05/06/07 PMU support. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 1e95d6a..f0aa818 100644 --- a

[PATCH v6 10/11] drivers: perf: hisi: use poll method when no IRQ for MN counter overflow

2017-03-09 Thread Anurup M
When no IRQ is supported in hardware, use hrtimer to poll and update event counter and avoid overflow condition for MN PMU. An interval of 8 seconds is used for the hrtimer. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: Dikshit N --- drivers/perf/hisilicon

[PATCH v6 06/11] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2017-03-09 Thread Anurup M
-by: John Garry Signed-off-by: Anurup M --- drivers/perf/Makefile | 1 + drivers/perf/hisilicon/Makefile | 1 + drivers/perf/hisilicon/djtag.c | 773 drivers/perf/hisilicon/djtag.h | 42 +++ 4 files changed, 817 insertions(+) create mode

[PATCH v6 07/11] drivers: perf: hisi: Add support for Hisilicon SoC event counters

2017-03-09 Thread Anurup M
cache hardware events. Each L3 cache banks will be registered as separate PMU with perf. 5. L3C events will be listed at /sys/devices/hisi_l3cX_Y/events/ Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/hisilicon/Makefile | 2 +- drivers

[PATCH v6 09/11] drivers: perf: hisi: Miscellanous node(MN) event counting in perf

2017-03-09 Thread Anurup M
d_req/" Signed-off-by: Shaokun Zhang Signed-off-by: Anurup M --- drivers/perf/hisilicon/Makefile | 2 +- drivers/perf/hisilicon/hisi_uncore_mn.c | 489 2 files changed, 490 insertions(+), 1 deletion(-) create mode 100644 drivers/perf/hisilicon/hisi_uncore_

[PATCH v6 11/11] dts: arm64: hip07: Add Hisilicon SoC PMU support

2017-03-09 Thread Anurup M
Add nodes for djtag, L3 cache and MN to support uncore events. Signed-off-by: Anurup M --- arch/arm64/boot/dts/hisilicon/hip07.dtsi | 79 1 file changed, 79 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hip07.dtsi b/arch/arm64/boot/dts/hisilicon

[PATCH v6 08/11] drivers: perf: hisi: use poll method to avoid L3C counter overflow

2017-03-09 Thread Anurup M
interval of 10 seconds is used for the hrtimer. Signed-off-by: Dikshit N Signed-off-by: Anurup M --- drivers/perf/hisilicon/hisi_uncore_l3c.c | 47 ++ drivers/perf/hisilicon/hisi_uncore_pmu.c | 82 drivers/perf/hisilicon/hisi_uncore_pmu.h | 17

Re: [PATCH v5 02/11] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-03-03 Thread Anurup M
On Friday 03 March 2017 12:20 PM, Rob Herring wrote: On Thu, Mar 02, 2017 at 05:48:36AM -0500, Anurup M wrote: From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../devicetree/bindings/arm/hisilicon

Re: Passionate Partner

2017-03-04 Thread M. G
Dear Sir, Did you recieved my mail? I have sent it twice without a response. Mr Masella Giuseppe

Re: Passionate Partner

2017-03-04 Thread M. G
Dear Sir, Did you recieved my mail? I have sent it twice without a response. Mr Masella Giuseppe

Re: Passionate Partner

2017-03-04 Thread M. G
Dear Sir, Did you recieved my mail? I have sent it twice without a response. Mr Masella Giuseppe

Re: [PATCH for-next 01/11] IB/hns: Add the interface for querying QP1

2016-11-06 Thread Anurup M
On 11/4/2016 10:06 PM, Salil Mehta wrote: > From: Lijun Ou > > In old code, It only added the interface for querying non-specific > QP. This patch mainly adds an interface for querying QP1. > > Signed-off-by: Lijun Ou > Reviewed-by: Wei Hu (Xavier) > Signed-off-by: Salil Mehta > --- > dri

Re: [PATCH for-next 10/11] IB/hns: Implement the add_gid/del_gid and optimize the GIDs management

2016-11-07 Thread Anurup M
On 11/4/2016 10:06 PM, Salil Mehta wrote: > From: Shaobo Xu > > IB core has implemented the calculation of GIDs and the management > of GID tables, and it is now responsible to supply query function > for GIDs. So the calculation of GIDs and the management of GID > tables in the RoCE driver is

Re: Passionate Partner

2017-03-01 Thread M. G
Dear Sir, Did you recieved my mail? I have sent it twice without a response. Mr Masella Giuseppe

Re: Passionate Partner

2017-03-01 Thread M. G
Dear Sir, Did you recieved my mail? I have sent it twice without a response. Mr Masella Giuseppe

Re: [PATCH v4 10/11] drivers: perf: hisi: Handle counter overflow IRQ in MN PMU

2017-03-01 Thread Anurup M
On Friday 24 February 2017 08:34 AM, Anurup M wrote: +static int hisi_mn_init_irqs_fdt(struct device *dev, +struct hisi_pmu *mn_pmu) +{ +struct hisi_mn_data *mn_data = mn_pmu->hwmod_data; +struct hisi_djtag_client *client = mn_data->client; +int irq = -1, nu

[PATCH v5 02/11] dt-bindings: hisi: Add Hisilicon HiP05/06/07 Djtag dts bindings

2017-03-02 Thread Anurup M
From: Tan Xiaojun Add Hisilicon HiP05/06/07 Djtag dts bindings for CPU and IO Die Signed-off-by: Tan Xiaojun Signed-off-by: Anurup M --- .../devicetree/bindings/arm/hisilicon/djtag.txt| 51 ++ 1 file changed, 51 insertions(+) create mode 100644 Documentation

[PATCH v5 05/11] drivers: perf: hisi: Update Kconfig for Hisilicon PMU support

2017-03-02 Thread Anurup M
Update Kconfig for HiP05/06/07 PMU support. Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/drivers/perf/Kconfig b/drivers/perf/Kconfig index 4d5c5f9..5b988f5 100644 --- a

[PATCH v5 07/11] drivers: perf: hisi: Add support for Hisilicon SoC event counters

2017-03-02 Thread Anurup M
cache hardware events. Each L3 cache banks will be registered as separate PMU with perf. 5. L3C events will be listed at /sys/devices/hisi_l3cX_Y/events/ Signed-off-by: Anurup M Signed-off-by: Shaokun Zhang Signed-off-by: John Garry --- drivers/perf/hisilicon/Makefile | 2 +- drivers

[PATCH v5 06/11] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2017-03-02 Thread Anurup M
-by: John Garry Signed-off-by: Anurup M --- drivers/perf/Makefile | 1 + drivers/perf/hisilicon/Makefile | 1 + drivers/perf/hisilicon/djtag.c | 771 drivers/perf/hisilicon/djtag.h | 40 +++ 4 files changed, 813 insertions(+) create mode

<    1   2   3   4   5   6   7   8   9   10   >