[PATCH net-next] selftests: tcp_ao: fix spelling in seq-ext.c comment

2025-06-10 Thread Ankit Chauhan
Spelling fix: conneciton --> connection This is a non-functional change aimed at improving code clarity. Signed-off-by: Ankit Chauhan --- tools/testing/selftests/net/tcp_ao/seq-ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/tcp_ao/

[PATCH] [next] selftests/ptrace: Fix spelling mistake "multible" -> "multiple"

2025-04-30 Thread Ankit Chauhan
Fix the spelling error from "multible" to "multiple". Signed-off-by: Ankit Chauhan --- tools/testing/selftests/ptrace/peeksiginfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/ptrace/peeksiginfo.c b/tools/testing/selftests/

Re: [PATCH v19 0/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-22 Thread Ankit Agrawal
>> Ankit Agrawal (3): >>   vfio/pci: rename and export do_io_rw() >>   vfio/pci: rename and export range_intersect_range >>   vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper >> >>  MAINTAINERS   |  16 +- >>  d

Re: [PATCH v18 3/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-19 Thread Ankit Agrawal
>> diff --git a/drivers/vfio/pci/nvgrace-gpu/main.c >> b/drivers/vfio/pci/nvgrace-gpu/main.c new file mode 100644 >> index ..5a251a6a782e >> --- /dev/null >> +++ b/drivers/vfio/pci/nvgrace-gpu/main.c >> @@ -0,0 +1,888 @@ >> +// SPDX-License-Identifier: GPL-2.0-only >> +/* >> + * Copyrig

Re: [PATCH v18 2/3] vfio/pci: rename and export range_intersect_range

2024-02-18 Thread Ankit Agrawal
>> + >> +/** >> + * vfio_pci_core_range_intersect_range() - Determine overlap between a >> buffer >> + *  and register offset ranges. >> + * @buf_start:   start offset of the buffer >> + * @buf_cnt: number of buffer bytes. > > You could drop

Re: [PATCH v18 3/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-18 Thread Ankit Agrawal
t and make >> +  * use of the value for its calculation to determine USEMEM size. >> +      */ >> + nvdev->usemem.memlength = round_down(nvdev->usemem.memlength, >> +  MEMBLK_SIZE); >> + if ((check_add_overflo

Re: [PATCH v17 3/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-09 Thread Ankit Agrawal
>> > >> > IMO, this seems like adding too much code to reduce the call length for a >> > very specific case. If there aren't any strong opinion on this, I'm >> > planning to >> > leave this code as it is. >> >> a slight difference. if mem_count==0 the result should always succeed >> no matter nvgr

Re: [PATCH v17 3/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-09 Thread Ankit Agrawal
Thanks Kevin for the review. Comments inline. >> >> Note that the usemem memory is added by the VM Nvidia device driver [5] >> to the VM kernel as memblocks. Hence make the usable memory size >> memblock >> aligned. > > Is memblock size defined in spec or purely a guest implementation choice? The

Re: [PATCH v17 3/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-08 Thread Ankit Agrawal
>> >> >> >> If mem_count == 0, going through nvgrace_gpu_map_and_read() is not >> >> necessary. >> > >> > Harmless, other than the possibly unnecessary call through to >> > nvgrace_gpu_map_device_mem().  Maybe both >> nvgrace_gpu_map_and_read() >> > and nvgrace_gpu_map_and_write() could conditional

Re: [PATCH v17 3/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-07 Thread Ankit Agrawal
>> > +/* Memory size expected as non cached and reserved by the VM driver >> > */ +#define RESMEM_SIZE 0x4000 >> > +#define MEMBLK_SIZE 0x2000 >> > + >> >> Maybe use SZ_* definitions in linux/size.h > > Good suggestion. Ack. >> >> Better move this part to the place between vfio_pci_core_e

Re: [PATCH v17 3/3] vfio/nvgrace-gpu: Add vfio pci variant module for grace hopper

2024-02-07 Thread Ankit Agrawal
>> diff --git a/MAINTAINERS b/MAINTAINERS >> index 8999497011a2..529ec8966f58 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -23103,6 +23103,12 @@ L:   k...@vger.kernel.org >>  S:   Maintained >>  F:   drivers/vfio/platform/ >> >> +VFIO

Re: [PATCH v17 2/3] vfio/pci: rename and export range_intesect_range

2024-02-07 Thread Ankit Agrawal
Thanks Kevin. >> range_intesect_range determines an overlap between two ranges. If an > > s/intesect/intersect/ Will fix the typo. >> + * vfio_pci_core_range_intersect_range() - Determine overlap between a >> buffer >> + *  and register offset ranges. >> + * @

[PATCH -v2] Staging: iio: Fixed a punctuation and a spelling mistake.

2020-07-29 Thread Ankit Baluni
Added a missing comma and changed 'it it useful' to 'it is useful'. Signed-off-by: Ankit Baluni --- Changes in -v2: -Remove space before ':' in subject line. drivers/staging/iio/Documentation/overview.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

[PATCH v2] Staging: media: atomisp: Fixed a brace coding sytle issue

2020-07-29 Thread Ankit Baluni
Removed braces in 'if else' condition as it only consists of one line each and according to coding style rules , in this case the braces are not required. Signed-off-by: Ankit Baluni --- Change in -v2: -Removed space before ':' in subject line. -Added space

[PATCH v3] Staging: media: atomisp: fixed a brace coding sytle issue

2020-07-29 Thread Ankit Baluni
Removed braces for a 'if' condition as it contain only single line & there is no need for braces for such case according to coding style rules. Signed-off-by: Ankit Baluni --- Changes in v2: -Added more description about the patch. -Added space before the symobo

[PATCH v2] Staging: rtl8712: Fixed a coding sytle issue

2020-07-29 Thread Ankit Baluni
Removed braces for a 'if' condition as it contain only single line & there is no need for braces for such case according to coding style rules. Signed-off-by: Ankit Baluni --- Change in -v2: -Remove space before ':' in subject . drivers/staging/rtl8712/rtl871x_

[PATCH v3] Staging : media : atomisp : fixed a brace coding sytle issue

2020-07-29 Thread Ankit Baluni
Removed braces for a 'if' condition as it contain only single line & there is no need for braces for such case according to coding style rules. Signed-off-by: Ankit Baluni --- Changes in v2: -Added more description about the patch. -Added space before the symobo

[PATCH] Staging: iio: Fixed a punctuation and a spelling mistake.

2020-07-29 Thread Ankit Baluni
Added a missing comma and changed 'it it useful' to 'it is useful'. Signed-off-by: Ankit Baluni --- Changes in -v2: -Remove space before ':' in subject line. drivers/staging/iio/Documentation/overview.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 dele

[PATCH] Staging : iio : Fixed a punctuation and a spelling mistake.

2020-07-28 Thread Ankit Baluni
Added a missing comma and changed 'it it useful' to 'it is useful'. Signed-off-by: Ankit Baluni --- drivers/staging/iio/Documentation/overview.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/iio/Documentation/overview.txt b

[PATCH v2] Staging : media : atomisp : fixed a brace coding sytle issue

2020-07-28 Thread Ankit
From: Ankit Baluni Removed braces for a 'if' condition as it contain only single line & there is no need for braces for such case according to coding style rules. Signed-off-by: Ankit Baluni --- Changes in v2: -Added more description about the patch. -Added sp

[PATCH] Staging : rtl8712 : Fixed a coding sytle issue

2020-07-28 Thread Ankit Baluni
Removed braces for a 'if' condition as it contain only single line & there is no need for braces for such case according to coding style rules. Signed-off-by: Ankit Baluni --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[PATCH v2] Staging : media : atomisp : fixed a brace coding sytle issue

2020-07-28 Thread Ankit
From: Ankit Baluni Removed braces for a 'if' condition as it contain only single line & there is no need for braces for such case according to coding style rules. Signed-off-by: Ankit Baluni --- Added extra description and added space before '<' in above lin

[PATCH v2] Staging : media : atomisp : fixed a brace coding sytle issue

2020-07-28 Thread Ankit
From: Ankit Baluni Removed braces for a 'if' condition as it contain only single line & there is no need for braces for such case according to coding style rules. Signed-off-by: Ankit Baluni --- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 3 +-- 1 file changed, 1 i

[PATCH] Staging : media : atomisp : Fixed a brace coding sytle issue

2020-07-27 Thread Ankit Baluni
Fixing coding style issue by removing the braces that are not required. Signed-off-by: Ankit Baluni --- drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_ioctl.c b/drivers/staging

[PATCH] Staging : media : atomisp : fixed a brace coding sytle issue

2020-07-27 Thread Ankit
From: Ankit Baluni Fixed a coding style issue. Signed-off-by: Ankit Baluni --- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci

[PATCH] Staging : media : atomisp : pci : fixed a brace coding sytle issue

2020-07-27 Thread Ankit
From: Ankit Baluni Fixed a coding style issue. Signed-off-by: Ankit Baluni --- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci

[PATCH] Staging : media : atomisp : pci : fixed a brace coding sytle issue

2020-07-27 Thread Ankit
From: Ankit Baluni Fixed a coding style issue. Signed-off-by: Ankit Baluni --- drivers/staging/media/atomisp/pci/atomisp_cmd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atomisp/pci

[PATCH 5/5] Staging: comedi: comedilib.h: fixed missing or malformed SPDX-License-Identifier

2018-06-15 Thread ankit patel
Fixed SPDX-License-Identifier comment on first line Signed-off-by: ankit patel --- drivers/staging/comedi/comedilib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedilib.h b/drivers/staging/comedi/comedilib.h index e98cb9752dbc..0223c9cd9215

[PATCH 3/5] Staging: comedi: comedi_pci.h: fixed missing or malformed SPDX-License-Identifier

2018-06-15 Thread ankit patel
Fixed SPDX-License-Identifier comment on first line Signed-off-by: ankit patel --- drivers/staging/comedi/comedi_pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi_pci.h b/drivers/staging/comedi/comedi_pci.h index 647a72441b8a..4e069440cbdc

[PATCH 4/5] Staging: comedi: comedi_pcmcia.h: fixed missing or malformed SPDX-License-Identifier

2018-06-15 Thread ankit patel
Fixed SPDX-License-Identifier comment on first line Signed-off-by: ankit patel --- drivers/staging/comedi/comedi_pcmcia.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi_pcmcia.h b/drivers/staging/comedi/comedi_pcmcia.h index c7d37b38e730

[PATCH 1/5] Staging: comedi: comedi.h: fixed missing or malformed SPDX-License-Identifier

2018-06-15 Thread ankit patel
Fixed SPDX-License-Identifier comment on first line Signed-off-by: ankit patel --- drivers/staging/comedi/comedi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h index c0bc413f7fe0..bb961ac79b7e 100644 --- a

[PATCH 2/5] Staging: comedi: comedi_compat32.h: fixed missing or malformed SPDX-License-Identifier

2018-06-15 Thread ankit patel
Fixed SPDX-License-Identifier comment on first line Signed-off-by: ankit patel --- drivers/staging/comedi/comedi_compat32.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/comedi_compat32.h b/drivers/staging/comedi/comedi_compat32.h index 3980e6e1bd0d

Re: [PATCH 2/2] Save current timestamp part of dmesg while writing oops message to pstore

2017-08-06 Thread Ankit Kumar
Hi Kees, On Tuesday 23 May 2017 02:19 PM, Ankit Kumar wrote: Hi Kees, On Tuesday 23 May 2017 05:21 AM, Kees Cook wrote: On Mon, May 22, 2017 at 3:20 AM, Ankit Kumar wrote: Currently on panic or Oops, kernel saves the last few bytes from dmesg buffer to nvram. Usually kdump does capture

Re: [PATCH 2/2] Save current timestamp part of dmesg while writing oops message to pstore

2017-05-23 Thread Ankit Kumar
Hi Kees, On Tuesday 23 May 2017 05:21 AM, Kees Cook wrote: On Mon, May 22, 2017 at 3:20 AM, Ankit Kumar wrote: Currently on panic or Oops, kernel saves the last few bytes from dmesg buffer to nvram. Usually kdump does capture kernel memory and provide dmesg logs as well. But in some cases

Re: [PATCH 1/2]pstore: Move timestamp collection code to common pstore place

2017-05-23 Thread Ankit Kumar
Hi Kees, Thank you so much for your response. On Tuesday 23 May 2017 05:07 AM, Kees Cook wrote: On Mon, May 22, 2017 at 3:20 AM, Ankit Kumar wrote: Current pstore code(ram.c) gets dump timestamp and make it part of header. Different diffent architecture uses different header format and

[PATCH]pstore: Don't warn if data is uncompressed and type is not PSTORE_TYPE_DMESG

2017-05-22 Thread Ankit Kumar
d for above type and it is valid condition. This patch returns if data is not compressed and print warning only if data is compressed and type is not PSTORE_TYPE_DMESG. Reported-by: Anton Blanchard Signed-off-by: Ankit Kumar Reviewed-by: Mahesh Salgaonkar --- fs/pstore/platform.c | 5

[PATCH 2/2] Save current timestamp part of dmesg while writing oops message to pstore

2017-05-22 Thread Ankit Kumar
file:(/sys/fs/pstore/dmesg-***) Oops#1 Part1 [timestamp:1494939359.590463] Above timestamp can be converted to current zone using date command. #date -d @1494939359.590463 # Tue May 16 18:25:59 IST 2017 Signed-off-by: Ankit Kumar --- fs/pstore/platform.c | 7 +-- 1 file changed, 5 inser

[PATCH 1/2]pstore: Move timestamp collection code to common pstore place

2017-05-22 Thread Ankit Kumar
ay to get timestamp and also takes care of condition if timekeeping has not resumed. This patch moves code for retrieving timestamp to common place and hence can be used by other functions as well. Signed-off-by: Ankit Kumar --- fs/pstore/internal.h | 1 + fs/pstore/platform.c | 13

[PATCH] Enabled pstore write for powerpc

2017-04-27 Thread Ankit Kumar
les pstore write for powerpc architecture by setting PSTORE_FLAGS_DMESG flag. Fixes:c950fd6f201a pstore: Split pstore fragile flags Signed-off-by: Ankit Kumar --- arch/powerpc/kernel/nvram_64.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/kernel/nvram_64.c b/arch/powe

[PATCH] Save current timestamp while moving oops message to nvram

2017-04-12 Thread Ankit Kumar
We can use date -d command to print time according to local time zone. Partial pstore dump after applying this patch: Oops#1 Part1 [2017-04-12T14:14:56Z] Above time can be printed in current time zone using date -d command. #date -d 2017-04-12T14:14:56Z Wed Apr 12 19:44:56 IST 2017 Signed-off

Re: Unmapping of UIO logical memory causing a trace

2015-08-19 Thread Ankit Jindal
Hi Greg, On Wed, Aug 12, 2015 at 10:41 PM, Greg Kroah-Hartman wrote: > On Wed, Aug 12, 2015 at 01:25:53PM +0530, Ankit Jindal wrote: >> Hi Greg, >> >> On Wed, Aug 12, 2015 at 3:15 AM, Greg Kroah-Hartman >> wrote: >> > On Tue, Aug 11, 2015 at 04:39:08PM

Re: Unmapping of UIO logical memory causing a trace

2015-08-12 Thread Ankit Jindal
Hi Greg, On Wed, Aug 12, 2015 at 3:15 AM, Greg Kroah-Hartman wrote: > On Tue, Aug 11, 2015 at 04:39:08PM +0530, Ankit Jindal wrote: >> Hi, >> >> We have observed an issue where kmalloc of a small sized memory causes >> an occasional trace when unmapping the mmap

Unmapping of UIO logical memory causing a trace

2015-08-11 Thread Ankit Jindal
x20/0x34 Thanks, Ankit -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH V4] trace/events: add chip name and hwirq to irq entry tracepoint

2015-07-08 Thread Ankit Gupta
dynamically allocated which makes them difficult to use for the same purpose. Dump messages will look like: ...irq_handler_entry: irq=22 name=msm_serial0 chip_name=GIC hwirq=140 Suggested-by: Stephen Boyd Reviewed-by: Andy Gross Signed-off-by: Gilad Avidov Signed-off-by: Ankit Gupta --- Changes

Re: [PATCH V3] trace/events: add chip name and hwirq to irq entry tracepoint

2015-07-08 Thread Ankit Gupta
gt;> I'm not against doing this, but I'm just letting you know what the >> effect of this change will be. > > What's worse is, that they are racy against a concurrent teardown of > the interrupt. Not a good idea ... > Agree, I'll save the chip-name and hwirq in t

[PATCH V3] trace/events: add chip name and hwirq to irq entry tracepoint

2015-06-24 Thread Ankit Gupta
dynamically allocated which makes them difficult to use for the same purpose. Dump messages will look like: ...irq_handler_entry: irq=22 name=msm_serial0 chip_name=GIC hwirq=140 Suggested-by: Stephen Boyd Reviewed-by: Andy Gross Signed-off-by: Gilad Avidov Signed-off-by: Ankit Gupta --- Changes

Re: [PATCH v2] trace/events: add chip name and hwirq to irq entry tracepoint

2015-06-23 Thread Ankit Gupta
> On Mon, 22 Jun 2015, Ankit Gupta wrote: > >> Add chip name and hw-irq number to the trace_irq_handler_entry() >> tracepoint. When tracing interrupt events the chip-name and hw-irq >> numbers are stable and known in advance. This makes them a better >> choice as a fi

[PATCH v2] trace/events: add chip name and hwirq to irq entry tracepoint

2015-06-22 Thread Ankit Gupta
dynamically allocated which makes them difficult to use for the same purpose. Dump messages will look like: ...irq_handler_entry: irq=22 name=msm_serial0 domain=GIC hwirq=140 Suggested-by: Stephen Boyd Reviewed-by: Andy Gross Signed-off-by: Gilad Avidov Signed-off-by: Ankit Gupta --- Changes

[PATCH RESEND V3] spmi: add command tracepoints for SPMI

2015-06-22 Thread Ankit Gupta
opc=56 sid=00 addr=0x ... spmi_read_end: opc=56 sid=00 addr=0x ret=0 len=02 buf=0x[01-40] ... spmi_write_begin: opc=48 sid=00 addr=0x len=3 buf=0x[ff-ff-ff] Suggested-by: Sagar Dharia Acked-by: Steven Rostedt Reviewed-by: Stephen Boyd Signed-off-by: Gilad Avidov Signed-off-by

Re: [PATCH] trace/events: add chip name and hwirq to irq entry tracepoint

2015-05-29 Thread Ankit Gupta
ide, the os-irq numbers are dynamically allocated which makes > them difficult to use for the same purpose. > > Dump message will look like: > ...irq_handler_entry: irq=22 name=msm_serial0 domain=GIC hwirq=140 > > Suggested-by: Stephen Boyd > Signed-off-by: Gilad Avidov > Signe

Re: [PATCH v2] spmi-pmic-arb: add irq tracepoints to the pmic-arb driver

2015-05-27 Thread Ankit Gupta
pmi_pmic_arb_apid_irq_end: apid=3 irq=1 func_num=0 sid=0 pid=0x8 > > Suggested-by: Sagar Dharia > Signed-off-by: Gilad Avidov > Signed-off-by: Ankit Gupta > --- --- Changes since V1: - pass ppid from driver to evaluate pid and sid in trace file itself. - type of apid range change fro

[PATCH v2] spmi-pmic-arb: add irq tracepoints to the pmic-arb driver

2015-05-27 Thread Ankit Gupta
ned-off-by: Ankit Gupta --- drivers/spmi/spmi-pmic-arb.c | 13 +--- include/trace/events/spmi-pmic-arb.h | 62 2 files changed, 70 insertions(+), 5 deletions(-) create mode 100644 include/trace/events/spmi-pmic-arb.h diff --git a/drivers/spmi/s

Re: [PATCH] spmi-pmic-arb: add irq tracepoints to the pmic-arb driver

2015-05-27 Thread Ankit Gupta
> On Tue, 26 May 2015 17:39:15 -0600 > Ankit Gupta wrote: > >> The spmi-pmic-arb is also an interrupt controller. It gets a >> single aggregate irq and disseminates it to individual >> pmic-peripheral drivers. Each pmic-peripheral has a unique apid >> number

Re: [PATCH] spmi-pmic-arb: add irq tracepoints to the pmic-arb driver

2015-05-27 Thread Ankit Gupta
> On 05/26/2015 04:39 PM, Ankit Gupta wrote: >> The spmi-pmic-arb is also an interrupt controller. It gets a >> single aggregate irq and disseminates it to individual >> pmic-peripheral drivers. Each pmic-peripheral has a unique apid >> number, and can have multiple

[PATCH] spmi-pmic-arb: add irq tracepoints to the pmic-arb driver

2015-05-26 Thread Ankit Gupta
ned-off-by: Ankit Gupta --- drivers/spmi/spmi-pmic-arb.c | 15 ++--- include/trace/events/spmi-pmic-arb.h | 62 2 files changed, 72 insertions(+), 5 deletions(-) create mode 100644 include/trace/events/spmi-pmic-arb.h diff --git a/drivers/spmi/s

[PATCH V3] spmi: add command tracepoints for SPMI

2015-05-26 Thread Ankit Gupta
opc=56 sid=00 addr=0x ... spmi_read_end: opc=56 sid=00 addr=0x ret=0 len=02 buf=0x[01-40] ... spmi_write_begin: opc=48 sid=00 addr=0x len=3 buf=0x[ff-ff-ff] Suggested-by: Sagar Dharia Acked-by: Steven Rostedt Reviewed-by: Stephen Boyd Signed-off-by: Gilad Avidov Signed-off-by

Re: [PATCH] spmi: add command tracepoints for SPMI

2015-05-21 Thread Ankit Gupta
> On 05/18/15 14:51, Ankit Gupta wrote: >> Add tracepoints to retrieve information about read, write >> and non-data commands. For performance measurement support >> tracepoints are added at the beginning and at the end of >> transfers. Following is a list showing the ne

Re: [PATCH] spmi: add command tracepoints for SPMI

2015-05-21 Thread Ankit Gupta
> On 05/20, Ankit Gupta wrote: >> On Tue, 19 May 2015 17:36:41 -0700 >> Stephen Boyd wrote: >> > On 05/18/15 14:51, Ankit Gupta wrote: >> > > + >> > > +TRACE_EVENT(spmi_read_end, >> > > +TP_PROTO(u8 opcode, u8 sid, u16 addr, int

Re: [PATCH] spmi: add command tracepoints for SPMI

2015-05-20 Thread Ankit Gupta
On Tue, 19 May 2015 17:36:41 -0700 Stephen Boyd wrote: > +Steven Rostedt > > On 05/18/15 14:51, Ankit Gupta wrote: > > Add tracepoints to retrieve information about read, write > > and non-data commands. For performance measurement support > > tracepoints are added

[PATCH] spmi: add command tracepoints for SPMI

2015-05-18 Thread Ankit Gupta
opc=56 sid=00 addr=0x ... spmi_read_end: opc=56 sid=00 addr=0x ret=0 len=02 buf=0x[01-40] ... spmi_write_begin: opc=48 sid=00 addr=0x len=3 buf=0x[ff-ff-ff] Signed-off-by: Ankit Gupta Signed-off-by: Gilad Avidov Suggested-by: Sagar Dharia --- drivers/spmi/spmi.c | 22 ++-

staging: lustre: lclient: lcommon_cl.c fixing coding style issues

2015-05-05 Thread Ankit Garg
This patch fixes the checkpatch.pl warning: WARNING: else is not generally useful after a break or return + return result; + } else { Signed-off-by: Ankit Garg --- drivers/staging/lustre/lustre/lclient/lcommon_cl.c | 35 ++-- 1 file changed

Re: [PATCH v5 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-12-08 Thread Ankit Jindal
On 8 December 2014 at 22:45, Rob Herring wrote: > On Mon, Dec 8, 2014 at 6:42 AM, Ankit Jindal wrote: >> On 18 November 2014 at 18:40, Arnd Bergmann wrote: >>> On Tuesday 18 November 2014 14:59:54 Ankit Jindal wrote: >>>> On 17 November 2014 16:47, Arnd Bergma

Re: [PATCH v5 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-12-08 Thread Ankit Jindal
On 27 November 2014 at 05:31, Greg Kroah-Hartman wrote: > On Mon, Nov 17, 2014 at 04:06:08PM +0530, Ankit Jindal wrote: >> Currently, three types of mem regions are supported: UIO_MEM_PHYS, >> UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps >> UIO driver e

Re: [PATCH v5 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-12-08 Thread Ankit Jindal
On 18 November 2014 at 18:40, Arnd Bergmann wrote: > On Tuesday 18 November 2014 14:59:54 Ankit Jindal wrote: >> On 17 November 2014 16:47, Arnd Bergmann wrote: >> > On Monday 17 November 2014 16:06:11 Ankit Jindal wrote: >> >> + >> >

Re: [PATCH v5 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-11-18 Thread Ankit Jindal
On 17 November 2014 16:47, Arnd Bergmann wrote: > On Monday 17 November 2014 16:06:11 Ankit Jindal wrote: >> + >> + qmtm1_uio: qmtm_uio@1f20 { >> + compatible = "apm,xgene-qmtm"; >> + status = "disabled"; >&

[PATCH v5 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE

2014-11-17 Thread Ankit Jindal
This patch updates UIO documentation for new mem region type UIO_MEM_PHYS_CACHE. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- Documentation/DocBook/uio-howto.tmpl |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl b

[PATCH v5 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-11-17 Thread Ankit Jindal
This patch adds device tree binding documentation for X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- .../devicetree/bindings/uio/uio_xgene_qmtm.txt | 50 1 file changed, 50 insertions(+) create mode 100644 Documentation

[PATCH v5 6/6] MAINTAINERS: Add entry for APM X-Gene QMTM UIO driver

2014-11-17 Thread Ankit Jindal
Add entry to maintainer list for APM X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e7866a..138663f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v5 4/6] uio: Add X-Gene QMTM UIO driver

2014-11-17 Thread Ankit Jindal
allows user space access to X-Gene QMTM device. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/Kconfig |8 ++ drivers/uio/Makefile |1 + drivers/uio/uio_xgene_qmtm.c | 271 ++ 3 files changed, 280 insertions

[PATCH v5 0/6] UIO driver for APM X-Gene QMTM

2014-11-17 Thread Ankit Jindal
appilicable. - Some cleanups and buggy loop fixed in qmtm_reset(). - Removed open and release functions. - Use phandle for specifying QMTM qpool resource. - Removed "uio" from the compatible string. - Added more information about QMTM in binding documentation. Ankit Jindal (6): uio:

[PATCH v5 1/6] uio: code style cleanup

2014-11-17 Thread Ankit Jindal
This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/uio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index a673e5b..97e6444

[PATCH v5 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-11-17 Thread Ankit Jindal
UIO_MEM_PHYS type mem region. The UIO_MEM_PHYS type is not efficient if dma-capable devices are capable of maintaining coherency with CPU caches. This patch adds new type UIO_MEM_PHYS_CACHE for mem regions to enable cacheable access to physical memory from user space. Signed-off-by: Ankit Jindal Signed

Re: [PATCH v4 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-11-17 Thread Ankit Jindal
On 16 November 2014 09:56, Anup Patel wrote: > On Thu, Nov 13, 2014 at 1:15 PM, Ankit Jindal wrote: >> This patch adds device tree binding documentation for >> X-Gene QMTM UIO driver. >> >> Signed-off-by: Ankit Jindal >> Signed-off-by: Tushar Jagad >&

[PATCH v4 4/6] uio: Add X-Gene QMTM UIO driver

2014-11-12 Thread Ankit Jindal
allows user space access to X-Gene QMTM device. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/Kconfig |8 ++ drivers/uio/Makefile |1 + drivers/uio/uio_xgene_qmtm.c | 271 ++ 3 files changed, 280 insertions

[PATCH v4 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE

2014-11-12 Thread Ankit Jindal
This patch updates UIO documentation for new mem region type UIO_MEM_PHYS_CACHE. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- Documentation/DocBook/uio-howto.tmpl |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl b

[PATCH v4 0/6] UIO driver for APM X-Gene QMTM

2014-11-12 Thread Ankit Jindal
(). - Removed open and release functions. - Use phandle for specifying QMTM qpool resource. - Removed "uio" from the compatible string. - Added more information about QMTM in binding documentation. Ankit Jindal (6): uio: code style cleanup uio: Add new UIO_MEM_PHYS_CACHE type for m

[PATCH v4 1/6] uio: code style cleanup

2014-11-12 Thread Ankit Jindal
This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/uio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index a673e5b..97e6444

[PATCH v4 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-11-12 Thread Ankit Jindal
This patch adds device tree binding documentation for X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- .../devicetree/bindings/uio/uio_xgene_qmtm.txt | 51 1 file changed, 51 insertions(+) create mode 100644 Documentation

[PATCH v4 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-11-12 Thread Ankit Jindal
UIO_MEM_PHYS type mem region. The UIO_MEM_PHYS type is not efficient if dma-capable devices are capable of maintaining coherency with CPU caches. This patch adds new type UIO_MEM_PHYS_CACHE for mem regions to enable cacheable access to physical memory from user space. Signed-off-by: Ankit Jindal Signed

[PATCH v4 6/6] MAINTAINERS: Add entry for APM X-Gene QMTM UIO driver

2014-11-12 Thread Ankit Jindal
Add entry to maintainer list for APM X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e7866a..138663f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

Re: [PATCH v3 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-11-10 Thread Ankit Jindal
On 5 November 2014 20:39, Kumar Gala wrote: > > On Nov 5, 2014, at 6:55 AM, Ankit Jindal wrote: > >> Hi Kumar, >> >> On 31 October 2014 19:09, Kumar Gala wrote: >>> >>> On Oct 31, 2014, at 4:30 AM, Ankit Jindal wrote: >>> >>>&g

Re: [PATCH v3 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-11-05 Thread Ankit Jindal
Hi Kumar, On 31 October 2014 19:09, Kumar Gala wrote: > > On Oct 31, 2014, at 4:30 AM, Ankit Jindal wrote: > >> Hi Kumar, >> >> On 21 October 2014 12:08, Kumar Gala wrote: >>> >>> On Oct 21, 2014, at 7:56 AM, Ankit Jindal wrote: >>> &g

Re: [PATCH v3 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-10-31 Thread Ankit Jindal
f queues under this QMTM device. >> >> +- devid: QMTM identification number for the system having multiple QMTM >> >> devices. >> >> + This is used to form a unique id (a tuple of queue number and >> >> + device id) for the queues belonging to this

Re: [PATCH v3 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-10-31 Thread Ankit Jindal
Hi Mark, On 21 October 2014 14:44, Mark Rutland wrote: > On Tue, Oct 21, 2014 at 06:56:49AM +0100, Ankit Jindal wrote: >> This patch adds device tree binding documentation for >> X-Gene QMTM UIO driver. >> >> Signed-off-by: Ankit Jindal >> Signed-off-by: Tushar

Re: [PATCH v3 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-10-31 Thread Ankit Jindal
Hi Kumar, On 21 October 2014 12:08, Kumar Gala wrote: > > On Oct 21, 2014, at 7:56 AM, Ankit Jindal wrote: > >> Currently, three types of mem regions are supported: UIO_MEM_PHYS, >> UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps >> UIO driver exp

Re: [PATCH v3 4/6] uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
On 21 October 2014 11:47, Varka Bhadram wrote: > On 10/21/2014 11:46 AM, Ankit Jindal wrote: >> >> On 21 October 2014 11:34, Varka Bhadram wrote: >>> >>> On 10/21/2014 11:26 AM, Ankit Jindal wrote: >>>> >>>> The Applied Micro X-Gene SOC

Re: [PATCH v3 4/6] uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
On 21 October 2014 11:34, Varka Bhadram wrote: > On 10/21/2014 11:26 AM, Ankit Jindal wrote: >> >> The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager >> and Traffic manager) which is hardware based Queue or Ring >> manager. This QMTM device can be used i

[PATCH v3 3/6] Documentation: Update documentation for UIO_MEM_PHYS_CACHE

2014-10-20 Thread Ankit Jindal
This patch updates UIO documentation for new mem region type UIO_MEM_PHYS_CACHE. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- Documentation/DocBook/uio-howto.tmpl |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl b

[PATCH v3 4/6] uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
allows user space access to X-Gene QMTM device. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/Kconfig |8 ++ drivers/uio/Makefile |1 + drivers/uio/uio_xgene_qmtm.c | 270 ++ 3 files changed, 279 insertions

[PATCH v3 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-10-20 Thread Ankit Jindal
UIO_MEM_PHYS type mem region. The UIO_MEM_PHYS type is not efficient if dma-capable devices are capable of maintaining coherency with CPU caches. This patch adds new type UIO_MEM_PHYS_CACHE for mem regions to enable cacheable access to physical memory from user space. Signed-off-by: Ankit Jindal Signed

[PATCH v3 1/6] uio: code style cleanup

2014-10-20 Thread Ankit Jindal
This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- drivers/uio/uio.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c index a673e5b..97e6444

[PATCH v3 6/6] MAINTAINERS: Add entry for APM X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
Add entry to maintainer list for APM X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5e7866a..138663f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[PATCH v3 5/6] Documentation: dt-bindings: Add binding info for X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
This patch adds device tree binding documentation for X-Gene QMTM UIO driver. Signed-off-by: Ankit Jindal Signed-off-by: Tushar Jagad --- .../devicetree/bindings/uio/uio_xgene_qmtm.txt | 53 1 file changed, 53 insertions(+) create mode 100644 Documentation

[PATCH v3 0/6] UIO driver for APM X-Gene QMTM

2014-10-20 Thread Ankit Jindal
; from the compatible string. - Added more information about QMTM in binding documentation. Ankit Jindal (6): uio: code style cleanup uio: Add new UIO_MEM_PHYS_CACHE type for mem regions Documentation: Update documentation for UIO_MEM_PHYS_CACHE uio: Add X-Gene QMTM UIO driver Documen

Re: [PATCH v2 4/6] drivers: uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
On 30 September 2014 11:35, Varka Bhadram wrote: > I think *drivers* is not required in the commit message... > > > On 09/30/2014 09:56 AM, Ankit Jindal wrote: >> >> The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager >> and Traffic manager) which i

Re: [PATCH v2 4/6] drivers: uio: Add X-Gene QMTM UIO driver

2014-10-20 Thread Ankit Jindal
On 30 September 2014 11:05, Guenter Roeck wrote: > On Tue, Sep 30, 2014 at 09:56:07AM +0530, Ankit Jindal wrote: >> The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager >> and Traffic manager) which is hardware based Queue or Ring >> manager. This QMTM device can b

Re: [PATCH v2 0/6] UIO driver for APM X-Gene QMTM

2014-10-09 Thread Ankit Jindal
On 9 October 2014 17:52, Richard Weinberger wrote: > On Thu, Oct 9, 2014 at 2:17 PM, Ankit Jindal wrote: >> On 9 October 2014 17:36, Arnd Bergmann wrote: >>> On Thursday 09 October 2014 14:14:33 Ankit Jindal wrote: >>>> On 30 September 2014 09:56, Ankit Jinda

Re: [PATCH v2 0/6] UIO driver for APM X-Gene QMTM

2014-10-09 Thread Ankit Jindal
On 9 October 2014 17:36, Arnd Bergmann wrote: > On Thursday 09 October 2014 14:14:33 Ankit Jindal wrote: >> On 30 September 2014 09:56, Ankit Jindal wrote: >> > This patchset enables user space access to APM X-Gene QMTM >> > using UIO framework. >> > >&g

Re: [PATCH v2 0/6] UIO driver for APM X-Gene QMTM

2014-10-09 Thread Ankit Jindal
Any comments on this patch set. Thanks, Ankit On 30 September 2014 09:56, Ankit Jindal wrote: > This patchset enables user space access to APM X-Gene QMTM > using UIO framework. > > The patchset also introduces new type UIO_MEM_PHYS_CACHE > for mem regions because APM X-G

[PATCH v2 2/6] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2014-09-29 Thread Ankit Jindal
UIO_MEM_PHYS type mem region. The UIO_MEM_PHYS type is not efficient if dma-capable devices are capable of maintaining coherency with CPU caches. This patch adds new type UIO_MEM_PHYS_CACHE for mem regions to enable cacheable access to physical memory from user space. Signed-off-by: Ankit Jindal Signed

  1   2   >