Re: [PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru()

2015-10-27 Thread Vinayak Kale
On Tue, Oct 27, 2015 at 1:19 PM, Tejun Heo wrote: > On Tue, Oct 27, 2015 at 01:11:46PM +0530, vinayak.k...@gmail.com wrote: >> From: Vinayak Kale >> >> Enable LBA in taskfile flags for ata_scsi_pass_thru() >> >> Signed-off-by: Vinayak Kale > > A

[PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru()

2015-10-27 Thread vinayak . kale
From: Vinayak Kale Enable LBA in taskfile flags for ata_scsi_pass_thru() Signed-off-by: Vinayak Kale --- drivers/ata/libata-scsi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index c2af592..ff75cb6 100644 --- a/drivers/ata

Re: [PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-27 Thread Vinayak Kale
On Tue, Oct 27, 2015 at 11:46 AM, Tejun Heo wrote: > On Tue, Oct 27, 2015 at 11:19:15AM +0530, vinayak.k...@gmail.com wrote: >> From: Vinayak Kale >> >> This patch is needed to make NCQ commands with FPDMA protocol value >> (eg READ/WRITE FPDMA) work over

Re: [PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru()

2015-10-27 Thread Vinayak Kale
On Tue, Oct 27, 2015 at 1:19 PM, Tejun Heo <t...@kernel.org> wrote: > On Tue, Oct 27, 2015 at 01:11:46PM +0530, vinayak.k...@gmail.com wrote: >> From: Vinayak Kale <vinayak.k...@seagate.com> >> >> Enable LBA in taskfile flags for ata_scsi_pass_thru() >> &g

[PATCH] libata: enable LBA flag in taskfile for ata_scsi_pass_thru()

2015-10-27 Thread vinayak . kale
From: Vinayak Kale <vinayak.k...@seagate.com> Enable LBA in taskfile flags for ata_scsi_pass_thru() Signed-off-by: Vinayak Kale <vinayak.k...@seagate.com> --- drivers/ata/libata-scsi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/l

Re: [PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-27 Thread Vinayak Kale
On Tue, Oct 27, 2015 at 11:46 AM, Tejun Heo <t...@kernel.org> wrote: > On Tue, Oct 27, 2015 at 11:19:15AM +0530, vinayak.k...@gmail.com wrote: >> From: Vinayak Kale <vinayak.k...@seagate.com> >> >> This patch is needed to make NCQ commands with FPDMA protocol va

[PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-26 Thread vinayak . kale
From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale --- Changes in v2: - Decoupled tf->flags changes in ata_scsi_pass_thru() from this patch as per Tejun's suggest

[PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-26 Thread vinayak . kale
From: Vinayak Kale <vinayak.k...@seagate.com> This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale <vinayak.k...@seagate.com> --- Changes in v2: - Decoupled tf-&g

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-23 Thread Vinayak Kale
Hi Tejun, On Fri, Oct 23, 2015 at 11:09 AM, Tejun Heo wrote: > Hello, > > On Fri, Oct 23, 2015 at 10:01:35AM +0530, Vinayak Kale wrote: >> > It looks like it'd work given that it's forcing qc->tag into >> > tf->nsect. What's the use case tho? >> >>

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-23 Thread Vinayak Kale
Hi Tejun, On Fri, Oct 23, 2015 at 11:09 AM, Tejun Heo <t...@kernel.org> wrote: > Hello, > > On Fri, Oct 23, 2015 at 10:01:35AM +0530, Vinayak Kale wrote: >> > It looks like it'd work given that it's forcing qc->tag into >> > tf->nsect. What's the use case t

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-20 Thread Vinayak Kale
Hi Tejun, On Sat, Oct 17, 2015 at 5:18 PM, wrote: > From: Vinayak Kale > > This patch is needed to make NCQ commands with FPDMA protocol value > (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. > > Signed-off-by: Vinayak Kale > --- > drivers/ata/libata-scs

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-20 Thread Vinayak Kale
Hi Tejun, On Sat, Oct 17, 2015 at 5:18 PM, <vinayak.k...@gmail.com> wrote: > From: Vinayak Kale <vinayak.k...@seagate.com> > > This patch is needed to make NCQ commands with FPDMA protocol value > (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. > &g

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-19 Thread Vinayak Kale
On Sun, Oct 18, 2015 at 12:12 AM, Sergei Shtylyov wrote: > On 10/17/2015 3:25 PM, Vinayak Kale wrote: > >>>> From: Vinayak Kale >>>> >>>> This patch is needed to make NCQ commands with FPDMA protocol value >>>> (eg READ/WRITE FPDMA) work

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-19 Thread Vinayak Kale
On Sun, Oct 18, 2015 at 12:12 AM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > On 10/17/2015 3:25 PM, Vinayak Kale wrote: > >>>> From: Vinayak Kale <vinayak.k...@seagate.com> >>>> >>>> This patch is needed to make NCQ comman

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread Vinayak Kale
On Sat, Oct 17, 2015 at 5:30 PM, Sergei Shtylyov wrote: > Hello. > > On 10/17/2015 2:48 PM, vinayak.k...@gmail.com wrote: > >> From: Vinayak Kale >> >> This patch is needed to make NCQ commands with FPDMA protocol value >> (eg READ/WRITE FPDMA) work over SCSI

[PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread vinayak . kale
From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale --- drivers/ata/libata-scsi.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers

Re: [PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread Vinayak Kale
On Sat, Oct 17, 2015 at 5:30 PM, Sergei Shtylyov <sergei.shtyl...@cogentembedded.com> wrote: > Hello. > > On 10/17/2015 2:48 PM, vinayak.k...@gmail.com wrote: > >> From: Vinayak Kale <vinayak.k...@seagate.com> >> >> This patch is needed to make NCQ comm

[PATCH] libata: add support for NCQ commands for SG interface

2015-10-17 Thread vinayak . kale
From: Vinayak Kale <vinayak.k...@seagate.com> This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale <vinayak.k...@seagate.com> --- drivers/ata/libata-scsi.c | 10 -- 1 fil

[PATCH RESEND] arm: add DSB after icache flush in __flush_icache_all()

2014-02-11 Thread Vinayak Kale
Add DSB after icache flush to complete the cache maintenance operation. Signed-off-by: Vinayak Kale Acked-by: Catalin Marinas Cc: --- KernelVersion: 3.14-rc1 PS: - This patch is tested for ARM-v7. arch/arm/include/asm/cacheflush.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch

[PATCH RESEND] arm: add DSB after icache flush in __flush_icache_all()

2014-02-11 Thread Vinayak Kale
Add DSB after icache flush to complete the cache maintenance operation. Signed-off-by: Vinayak Kale Acked-by: Catalin Marinas --- PS: - This patch is tested for ARM-v7. arch/arm/include/asm/cacheflush.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/cacheflush.h

[PATCH RESEND] arm: add DSB after icache flush in __flush_icache_all()

2014-02-11 Thread Vinayak Kale
Add DSB after icache flush to complete the cache maintenance operation. Signed-off-by: Vinayak Kale vk...@apm.com Acked-by: Catalin Marinas catalin.mari...@arm.com --- PS: - This patch is tested for ARM-v7. arch/arm/include/asm/cacheflush.h |1 + 1 file changed, 1 insertion(+) diff --git

[PATCH RESEND] arm: add DSB after icache flush in __flush_icache_all()

2014-02-11 Thread Vinayak Kale
Add DSB after icache flush to complete the cache maintenance operation. Signed-off-by: Vinayak Kale vk...@apm.com Acked-by: Catalin Marinas catalin.mari...@arm.com Cc: sta...@vger.kernel.org --- KernelVersion: 3.14-rc1 PS: - This patch is tested for ARM-v7. arch/arm/include/asm/cacheflush.h

Re: [PATCH V7 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-12 Thread Vinayak Kale
On Thu, Dec 12, 2013 at 5:16 PM, Will Deacon wrote: > On Thu, Dec 12, 2013 at 06:33:59AM +0000, Vinayak Kale wrote: >> > Below fixup works fine on APM platform. >> > Do you want me to send this fixup as part of next revision of the >> > patch or will you apply it

Re: [PATCH V7 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-12 Thread Vinayak Kale
On Thu, Dec 12, 2013 at 5:16 PM, Will Deacon will.dea...@arm.com wrote: On Thu, Dec 12, 2013 at 06:33:59AM +, Vinayak Kale wrote: Below fixup works fine on APM platform. Do you want me to send this fixup as part of next revision of the patch or will you apply it yourself? (For later

Re: [PATCH V7 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-11 Thread Vinayak Kale
Hi Will, On Tue, Dec 10, 2013 at 1:00 PM, Vinayak Kale wrote: > Hi Will, > > > On Mon, Dec 9, 2013 at 10:20 PM, Will Deacon wrote: >> Hi Vinayak, >> >> On Wed, Dec 04, 2013 at 10:09:51AM +, Vinayak Kale wrote: >>> Add support for irq registration when

Re: [PATCH V7 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-11 Thread Vinayak Kale
Hi Will, On Tue, Dec 10, 2013 at 1:00 PM, Vinayak Kale vk...@apm.com wrote: Hi Will, On Mon, Dec 9, 2013 at 10:20 PM, Will Deacon will.dea...@arm.com wrote: Hi Vinayak, On Wed, Dec 04, 2013 at 10:09:51AM +, Vinayak Kale wrote: Add support for irq registration when pmu interrupt

Re: [PATCH V7 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-09 Thread Vinayak Kale
Hi Will, On Mon, Dec 9, 2013 at 10:20 PM, Will Deacon wrote: > Hi Vinayak, > > On Wed, Dec 04, 2013 at 10:09:51AM +, Vinayak Kale wrote: >> Add support for irq registration when pmu interrupt is percpu. > > Getting closer... > >> Signed-off-by: Vinayak Kal

Re: [PATCH V7 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-09 Thread Vinayak Kale
Hi Will, On Mon, Dec 9, 2013 at 10:20 PM, Will Deacon will.dea...@arm.com wrote: Hi Vinayak, On Wed, Dec 04, 2013 at 10:09:51AM +, Vinayak Kale wrote: Add support for irq registration when pmu interrupt is percpu. Getting closer... Signed-off-by: Vinayak Kale vk...@apm.com Signed

[PATCH V7 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-12-04 Thread Vinayak Kale
as 'irq_is_percpu' instead of 'irq_is_per_cpu'. [1]: http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Signed-off-by: Chris Smith Signed-off-by: Vinayak Kale Acked-by: Will Deacon --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include

[PATCH V7 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-12-04 Thread Vinayak Kale
/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch/arm64/kernel/perf_event.c | 108 +--- include/linux/irqdesc.h|8 +++ 2 files changed

[PATCH V7 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-04 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale Signed-off-by: Tuan Phan --- arch/arm64/kernel/perf_event.c | 108 +--- 1 file changed, 78 insertions(+), 30 deletions(-) diff --git a/arch/arm64/kernel/perf_event.c

[PATCH V7 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-04 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64/kernel/perf_event.c | 108 +--- 1 file changed, 78 insertions(+), 30 deletions(-) diff --git a/arch

[PATCH V7 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-12-04 Thread Vinayak Kale
/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch/arm64/kernel/perf_event.c | 108 +--- include/linux/irqdesc.h|8 +++ 2 files changed

[PATCH V7 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-12-04 Thread Vinayak Kale
as 'irq_is_percpu' instead of 'irq_is_per_cpu'. [1]: http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Signed-off-by: Chris Smith chris.sm...@st.com Signed-off-by: Vinayak Kale vk...@apm.com Acked-by: Will Deacon will.dea...@arm.com --- include/linux/irqdesc.h |8 1 file

Re: [PATCH V6 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-03 Thread Vinayak Kale
On Tue, Dec 3, 2013 at 7:20 PM, Will Deacon wrote: > On Mon, Dec 02, 2013 at 09:34:03AM +0000, Vinayak Kale wrote: >> static void >> +armpmu_disable_percpu_irq(void *data) >> +{ >> + struct arm_pmu *armpmu = data; >> + struct platform_device

Re: [PATCH V6 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-03 Thread Vinayak Kale
On Tue, Dec 3, 2013 at 5:00 PM, Will Deacon wrote: > On Mon, Dec 02, 2013 at 09:34:03AM +0000, Vinayak Kale wrote: >> Add support for irq registration when pmu interrupt is percpu. >> >> Signed-off-by: Vinayak Kale >> Signed-off-by: Tuan Phan >> --- >>

Re: [PATCH V6 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-03 Thread Vinayak Kale
On Tue, Dec 3, 2013 at 5:00 PM, Will Deacon will.dea...@arm.com wrote: On Mon, Dec 02, 2013 at 09:34:03AM +, Vinayak Kale wrote: Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch

Re: [PATCH V6 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-03 Thread Vinayak Kale
On Tue, Dec 3, 2013 at 7:20 PM, Will Deacon will.dea...@arm.com wrote: On Mon, Dec 02, 2013 at 09:34:03AM +, Vinayak Kale wrote: static void +armpmu_disable_percpu_irq(void *data) +{ + struct arm_pmu *armpmu = data; + struct platform_device *pmu_device = armpmu-plat_device

[PATCH V6 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-12-02 Thread Vinayak Kale
driver. * In arm64 pmu driver: Got rid of unnecessary pointer typecastings. [1] http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch/arm64/kernel/perf_event.c | 116

[PATCH V6 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-12-02 Thread Vinayak Kale
as 'irq_is_percpu' instead of 'irq_is_per_cpu'. [1]: http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Signed-off-by: Chris Smith Signed-off-by: Vinayak Kale --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdesc.h b/include

[PATCH V6 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-02 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale Signed-off-by: Tuan Phan --- arch/arm64/kernel/perf_event.c | 116 +--- 1 file changed, 86 insertions(+), 30 deletions(-) diff --git a/arch/arm64/kernel/perf_event.c

[PATCH V6 2/2] arm64: perf: add support for percpu pmu interrupt

2013-12-02 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64/kernel/perf_event.c | 116 +--- 1 file changed, 86 insertions(+), 30 deletions(-) diff --git a/arch

[PATCH V6 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-12-02 Thread Vinayak Kale
driver. * In arm64 pmu driver: Got rid of unnecessary pointer typecastings. [1] http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch/arm64/kernel/perf_event.c | 116

[PATCH V6 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-12-02 Thread Vinayak Kale
as 'irq_is_percpu' instead of 'irq_is_per_cpu'. [1]: http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Signed-off-by: Chris Smith chris.sm...@st.com Signed-off-by: Vinayak Kale vk...@apm.com --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH V5 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-26 Thread Vinayak Kale
On Tue, Nov 26, 2013 at 12:11 AM, Will Deacon wrote: > On Mon, Nov 25, 2013 at 09:45:53AM +0000, Vinayak Kale wrote: >> Add support for irq registration when pmu interrupt is percpu. >> >> Signed-off-by: Vinayak Kale >> Signed-off-by: Tuan Phan >> --- >>

Re: [PATCH V5 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-26 Thread Vinayak Kale
On Tue, Nov 26, 2013 at 12:11 AM, Will Deacon will.dea...@arm.com wrote: On Mon, Nov 25, 2013 at 09:45:53AM +, Vinayak Kale wrote: Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch

[PATCH V5 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-25 Thread Vinayak Kale
name as 'irq_is_percpu' instead of 'irq_is_per_cpu'. [1]: http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Signed-off-by: Chris Smith Signed-off-by: Vinayak Kale --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdesc.h b

[PATCH V5 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-25 Thread Vinayak Kale
. This approach was used by Chris Smith here[1] for similar changes in arm pmu driver. * In arm64 pmu driver: Got rid of unnecessary pointer typecastings. [1] http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf

[PATCH V5 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-25 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale Signed-off-by: Tuan Phan --- arch/arm64/kernel/perf_event.c | 108 ++-- 1 file changed, 81 insertions(+), 27 deletions(-) diff --git a/arch/arm64/kernel/perf_event.c

[PATCH V5 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-25 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64/kernel/perf_event.c | 108 ++-- 1 file changed, 81 insertions(+), 27 deletions(-) diff --git a/arch

[PATCH V5 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-25 Thread Vinayak Kale
name as 'irq_is_percpu' instead of 'irq_is_per_cpu'. [1]: http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Signed-off-by: Chris Smith chris.sm...@st.com Signed-off-by: Vinayak Kale vk...@apm.com --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff

[PATCH V5 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-25 Thread Vinayak Kale
. This approach was used by Chris Smith here[1] for similar changes in arm pmu driver. * In arm64 pmu driver: Got rid of unnecessary pointer typecastings. [1] http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf

Re: [PATCH V4 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-21 Thread Vinayak Kale
On Fri, Nov 22, 2013 at 6:24 AM, Stephen Boyd wrote: > On 11/20/13 22:10, Vinayak Kale wrote: >> [removing chris.sm...@st.com] >> >> On Thu, Nov 21, 2013 at 11:36 AM, Vinayak Kale wrote: >>> On Wed, Nov 20, 2013 at 11:46 PM, Stephen Boyd wrote: >>>

Re: [PATCH V4 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-21 Thread Vinayak Kale
On Fri, Nov 22, 2013 at 6:24 AM, Stephen Boyd sb...@codeaurora.org wrote: On 11/20/13 22:10, Vinayak Kale wrote: [removing chris.sm...@st.com] On Thu, Nov 21, 2013 at 11:36 AM, Vinayak Kale vk...@apm.com wrote: On Wed, Nov 20, 2013 at 11:46 PM, Stephen Boyd sb...@codeaurora.org wrote: On 11

Re: [PATCH V4 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
On Wed, Nov 20, 2013 at 11:30 PM, Will Deacon wrote: > On Wed, Nov 20, 2013 at 05:28:50PM +0000, Vinayak Kale wrote: >> In Will's existing code, I think he was taking care of 'no IRQ' case >> by comparing pmu_device->num_resources. Do you think this is not >> enough and w

Re: [PATCH V4 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
Hi Marc, On Wed, Nov 20, 2013 at 6:44 PM, Marc Zyngier wrote: > [dropped patc...@apm.com] > > Vinayak, > > Please keep reviewers on CC, as it makes easier to track the changes. Sure, will do. > > On 20/11/13 11:13, Vinayak Kale wrote: >> Add support for irq regi

[PATCH V4 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale Signed-off-by: Tuan Phan --- arch/arm64/kernel/perf_event.c | 108 ++-- 1 file changed, 81 insertions(+), 27 deletions(-) diff --git a/arch/arm64/kernel/perf_event.c

[PATCH V4 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
pointer typecastings. [1] http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch/arm64/kernel/perf_event.c | 108 ++-- include

[PATCH V4 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-20 Thread Vinayak Kale
This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to dertermine whether an IRQ is percpu or not. Signed-off-by: Vinayak Kale --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdesc.h b/include

[PATCH V4 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-20 Thread Vinayak Kale
This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to dertermine whether an IRQ is percpu or not. Signed-off-by: Vinayak Kale vk...@apm.com --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdesc.h b

[PATCH V4 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
pointer typecastings. [1] http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch/arm64/kernel/perf_event.c | 108 ++-- include

[PATCH V4 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64/kernel/perf_event.c | 108 ++-- 1 file changed, 81 insertions(+), 27 deletions(-) diff --git a/arch

Re: [PATCH V4 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
Hi Marc, On Wed, Nov 20, 2013 at 6:44 PM, Marc Zyngier marc.zyng...@arm.com wrote: [dropped patc...@apm.com] Vinayak, Please keep reviewers on CC, as it makes easier to track the changes. Sure, will do. On 20/11/13 11:13, Vinayak Kale wrote: Add support for irq registration when pmu

Re: [PATCH V4 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-20 Thread Vinayak Kale
On Wed, Nov 20, 2013 at 11:30 PM, Will Deacon will.dea...@arm.com wrote: On Wed, Nov 20, 2013 at 05:28:50PM +, Vinayak Kale wrote: In Will's existing code, I think he was taking care of 'no IRQ' case by comparing pmu_device-num_resources. Do you think this is not enough and we must enforce

Re: [PATCH V3 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-18 Thread Vinayak Kale
On Mon, Nov 18, 2013 at 8:10 PM, Marc Zyngier wrote: > On 2013-11-18 14:18, Vinayak Kale wrote: >> >> On Mon, Nov 18, 2013 at 7:16 PM, Marc Zyngier >> wrote: >>> >>> Vinayak, >>> >>> >>> On 2013-11-18 13:22, Vinayak Kale wrote:

Re: [PATCH V3 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-18 Thread Vinayak Kale
On Mon, Nov 18, 2013 at 7:16 PM, Marc Zyngier wrote: > Vinayak, > > > On 2013-11-18 13:22, Vinayak Kale wrote: >> >> Add support for irq registration when pmu interrupt is percpu. >> >> Signed-off-by: Vinayak Kale >> Signed-off-by: Tuan Phan >&g

[PATCH V3 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-18 Thread Vinayak Kale
This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to dertermine whether an IRQ is percpu or not. Signed-off-by: Vinayak Kale --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdesc.h b/include

[PATCH V3 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-18 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale Signed-off-by: Tuan Phan --- arch/arm64/kernel/perf_event.c | 102 +--- 1 file changed, 74 insertions(+), 28 deletions(-) diff --git a/arch/arm64/kernel/perf_event.c

[PATCH V3 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-18 Thread Vinayak Kale
/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch/arm64/kernel/perf_event.c | 102 +--- include/linux/irqdesc.h|8 2 files changed, 82 insertions(+), 28 deletions

[PATCH V3 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-18 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64/kernel/perf_event.c | 102 +--- 1 file changed, 74 insertions(+), 28 deletions(-) diff --git a/arch

[PATCH V3 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-18 Thread Vinayak Kale
/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch/arm64/kernel/perf_event.c | 102 +--- include/linux/irqdesc.h|8 2 files changed, 82 insertions(+), 28 deletions

[PATCH V3 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-18 Thread Vinayak Kale
This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to dertermine whether an IRQ is percpu or not. Signed-off-by: Vinayak Kale vk...@apm.com --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdesc.h b

Re: [PATCH V3 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-18 Thread Vinayak Kale
On Mon, Nov 18, 2013 at 7:16 PM, Marc Zyngier marc.zyng...@arm.com wrote: Vinayak, On 2013-11-18 13:22, Vinayak Kale wrote: Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64

Re: [PATCH V3 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-18 Thread Vinayak Kale
On Mon, Nov 18, 2013 at 8:10 PM, Marc Zyngier marc.zyng...@arm.com wrote: On 2013-11-18 14:18, Vinayak Kale wrote: On Mon, Nov 18, 2013 at 7:16 PM, Marc Zyngier marc.zyng...@arm.com wrote: Vinayak, On 2013-11-18 13:22, Vinayak Kale wrote: Add support for irq registration when pmu

Re: [PATCH V2 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-14 Thread Vinayak Kale
Hi Mark, On Wed, Nov 13, 2013 at 7:38 PM, Marc Zyngier wrote: > Hi Vinayak, > > On 13/11/13 11:05, Vinayak Kale wrote: >> This patch adds an accessor function for IRQ_PER_CPU flag. >> The accessor function is useful to dertermine whether an IRQ is percpu or >> not. &

Re: [PATCH V2 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-14 Thread Vinayak Kale
Hi Mark, On Wed, Nov 13, 2013 at 7:38 PM, Marc Zyngier marc.zyng...@arm.com wrote: Hi Vinayak, On 13/11/13 11:05, Vinayak Kale wrote: This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to dertermine whether an IRQ is percpu or not. Signed-off

[PATCH V2 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-13 Thread Vinayak Kale
This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to dertermine whether an IRQ is percpu or not. Signed-off-by: Vinayak Kale --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdesc.h b/include

[PATCH V2 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-13 Thread Vinayak Kale
] for similar changes in arm pmu driver. * In arm64 pmu driver: Got rid of unnecessary pointer typecastings. [1] http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch

[PATCH V2 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-13 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale Signed-off-by: Tuan Phan --- arch/arm64/kernel/perf_event.c | 102 +--- 1 file changed, 74 insertions(+), 28 deletions(-) diff --git a/arch/arm64/kernel/perf_event.c

[PATCH V2 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-13 Thread Vinayak Kale
] for similar changes in arm pmu driver. * In arm64 pmu driver: Got rid of unnecessary pointer typecastings. [1] http://lkml.indiana.edu/hypermail/linux/kernel/1207.3/02955.html Vinayak Kale (2): genirq: Add an accessor for IRQ_PER_CPU flag arm64: perf: add support for percpu pmu interrupt arch

[PATCH V2 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-13 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64/kernel/perf_event.c | 102 +--- 1 file changed, 74 insertions(+), 28 deletions(-) diff --git a/arch

[PATCH V2 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-11-13 Thread Vinayak Kale
This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to dertermine whether an IRQ is percpu or not. Signed-off-by: Vinayak Kale vk...@apm.com --- include/linux/irqdesc.h |8 1 file changed, 8 insertions(+) diff --git a/include/linux/irqdesc.h b

Re: [PATCH 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-11 Thread Vinayak Kale
On Mon, Nov 11, 2013 at 4:14 PM, Will Deacon wrote: > On Sat, Nov 09, 2013 at 01:04:23AM +, Stephen Boyd wrote: >> On 11/06/13 04:07, Vinayak Kale wrote: >> > This patch series adds support to handle interrupt >> > registration/deregistration >> > in arm6

Re: [PATCH 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-11 Thread Vinayak Kale
On Fri, Nov 8, 2013 at 9:27 PM, Will Deacon wrote: > On Wed, Nov 06, 2013 at 12:07:37PM +0000, Vinayak Kale wrote: >> Add support for irq registration when pmu interrupt is percpu. >> >> Signed-off-by: Vinayak Kale >> Signed-off-by: Tuan Phan >> --- >>

Re: [PATCH 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-11 Thread Vinayak Kale
On Sat, Nov 9, 2013 at 6:34 AM, Stephen Boyd wrote: > On 11/06/13 04:07, Vinayak Kale wrote: >> This patch series adds support to handle interrupt >> registration/deregistration >> in arm64 pmu driver when pmu interrupt type is percpu. >> >> Patches in this patc

Re: [PATCH 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-11 Thread Vinayak Kale
On Sat, Nov 9, 2013 at 6:34 AM, Stephen Boyd sb...@codeaurora.org wrote: On 11/06/13 04:07, Vinayak Kale wrote: This patch series adds support to handle interrupt registration/deregistration in arm64 pmu driver when pmu interrupt type is percpu. Patches in this patch series were previously

Re: [PATCH 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-11 Thread Vinayak Kale
On Fri, Nov 8, 2013 at 9:27 PM, Will Deacon will.dea...@arm.com wrote: On Wed, Nov 06, 2013 at 12:07:37PM +, Vinayak Kale wrote: Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch

Re: [PATCH 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-11 Thread Vinayak Kale
On Mon, Nov 11, 2013 at 4:14 PM, Will Deacon will.dea...@arm.com wrote: On Sat, Nov 09, 2013 at 01:04:23AM +, Stephen Boyd wrote: On 11/06/13 04:07, Vinayak Kale wrote: This patch series adds support to handle interrupt registration/deregistration in arm64 pmu driver when pmu

[PATCH 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-06 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale Signed-off-by: Tuan Phan --- arch/arm64/kernel/perf_event.c | 109 +--- 1 file changed, 81 insertions(+), 28 deletions(-) diff --git a/arch/arm64/kernel/perf_event.c

[PATCH 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-06 Thread Vinayak Kale
] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/205888.html http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/204414.html Vinayak Kale (2): genirq: error reporting in request_percpu_irq() and request_threaded_irq() arm64: perf: add support for percpu pmu

[PATCH 1/2] genirq: error reporting in request_percpu_irq() and request_threaded_irq()

2013-11-06 Thread Vinayak Kale
Return a separate error code when invalid interrupt type is passed to request_percpu_irq() and request_threaded_irq(). Suggested-by: Will Deacon Signed-off-by: Vinayak Kale --- kernel/irq/manage.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/kernel/irq

[PATCH 0/2] genirq: arm64: perf: support for percpu pmu interrupt

2013-11-06 Thread Vinayak Kale
] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/205888.html http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/204414.html Vinayak Kale (2): genirq: error reporting in request_percpu_irq() and request_threaded_irq() arm64: perf: add support for percpu pmu

[PATCH 1/2] genirq: error reporting in request_percpu_irq() and request_threaded_irq()

2013-11-06 Thread Vinayak Kale
Return a separate error code when invalid interrupt type is passed to request_percpu_irq() and request_threaded_irq(). Suggested-by: Will Deacon will.dea...@arm.com Signed-off-by: Vinayak Kale vk...@apm.com --- kernel/irq/manage.c | 12 1 file changed, 8 insertions(+), 4 deletions

[PATCH 2/2] arm64: perf: add support for percpu pmu interrupt

2013-11-06 Thread Vinayak Kale
Add support for irq registration when pmu interrupt is percpu. Signed-off-by: Vinayak Kale vk...@apm.com Signed-off-by: Tuan Phan tp...@apm.com --- arch/arm64/kernel/perf_event.c | 109 +--- 1 file changed, 81 insertions(+), 28 deletions(-) diff --git a/arch

Re: [PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-29 Thread Vinayak Kale
Hi Thomas, On Tue, Oct 29, 2013 at 6:29 PM, Thomas Gleixner wrote: > On Fri, 18 Oct 2013, Vinayak Kale wrote: > >> Need for this patch is discussed in mail-thread [1]. >> >> [1] >> http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/204414.html >

Re: [PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-29 Thread Vinayak Kale
Hi Thomas, On Tue, Oct 29, 2013 at 6:29 PM, Thomas Gleixner t...@linutronix.de wrote: On Fri, 18 Oct 2013, Vinayak Kale wrote: Need for this patch is discussed in mail-thread [1]. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/204414.html I can't see anything

Re: [PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-18 Thread Vinayak Kale
On Fri, Oct 18, 2013 at 4:33 PM, Vinayak Kale wrote: > Hi Will, > > > On Fri, Oct 18, 2013 at 4:01 PM, Will Deacon wrote: >> On Fri, Oct 18, 2013 at 11:06:29AM +0100, Vinayak Kale wrote: >>> Return a separate error code when a non-percpu interrupt is passe

Re: [PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-18 Thread Vinayak Kale
Hi Will, On Fri, Oct 18, 2013 at 4:01 PM, Will Deacon wrote: > On Fri, Oct 18, 2013 at 11:06:29AM +0100, Vinayak Kale wrote: >> Return a separate error code when a non-percpu interrupt is passed to >> request_percpu_irq(). >> >> Suggested-by: Will Deacon >

Re: [PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-18 Thread Vinayak Kale
Need for this patch is discussed in mail-thread [1]. [1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-October/204414.html Thanks -Vinayak On Fri, Oct 18, 2013 at 3:36 PM, Vinayak Kale wrote: > Return a separate error code when a non-percpu interrupt is pas

[PATCH] genirq: error reporting for non-percpu interrupt in request_percpu_irq()

2013-10-18 Thread Vinayak Kale
Return a separate error code when a non-percpu interrupt is passed to request_percpu_irq(). Suggested-by: Will Deacon Signed-off-by: Vinayak Kale --- kernel/irq/manage.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index

  1   2   >