Re: [PATCH] wlcore/wl18xx: Add invert-irq OF property for physically inverted IRQ

2019-06-13 Thread Harish Jenny K N
nverter for GPIO IRQs raises > a whole bunch of new questions (e.g. how to arbitrate between > kernel-space and user-space IRQ polarity configuration?). > >> The point is that there is already a general >> scheme to deal with these "signal altering widgets", and that we >&g

Re: [PATCH v10] mmc: Export host capabilities to debugfs.

2018-03-21 Thread Harish Jenny K N
On Friday 16 March 2018 01:27 PM, Ulf Hansson wrote: > On 16 March 2018 at 05:20, Harish Jenny K N <harish_kand...@mentor.com> wrote: >> >> On Thursday 15 March 2018 05:59 PM, Ulf Hansson wrote: >>> On 15 March 2018 at 11:26, Andy Shevchenko >>> &l

Re: [PATCH v10] mmc: Export host capabilities to debugfs.

2018-03-21 Thread Harish Jenny K N
On Friday 16 March 2018 01:27 PM, Ulf Hansson wrote: > On 16 March 2018 at 05:20, Harish Jenny K N wrote: >> >> On Thursday 15 March 2018 05:59 PM, Ulf Hansson wrote: >>> On 15 March 2018 at 11:26, Andy Shevchenko >>> wrote: >>>> On Thu,

Re: [PATCH v10] mmc: Export host capabilities to debugfs.

2018-03-15 Thread Harish Jenny K N
On Thursday 15 March 2018 05:59 PM, Ulf Hansson wrote: > On 15 March 2018 at 11:26, Andy Shevchenko > <andriy.shevche...@linux.intel.com> wrote: >> On Thu, 2018-03-15 at 11:12 +0100, Ulf Hansson wrote: >>> On 13 March 2018 at 06:10, Harish Jenny K N <harish

Re: [PATCH v10] mmc: Export host capabilities to debugfs.

2018-03-15 Thread Harish Jenny K N
On Thursday 15 March 2018 05:59 PM, Ulf Hansson wrote: > On 15 March 2018 at 11:26, Andy Shevchenko > wrote: >> On Thu, 2018-03-15 at 11:12 +0100, Ulf Hansson wrote: >>> On 13 March 2018 at 06:10, Harish Jenny K N >>> wrote: >>>> >>> Hon

[PATCH v10] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
chenko <andriy.shevche...@linux.intel.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- Changes in v10: - minor review comment addressed. - Added "Reviewed-by" line Changes in v9 - More code cleanup as suggested by Andy Shevchenko. Changes in v8 - Cha

[PATCH v10] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Reviewed-by: Andy Shevchenko Signed-off-by: Harish Jenny

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 07:04 PM, Harish Jenny K N wrote: > > On Monday 12 March 2018 06:33 PM, Andy Shevchenko wrote: >> On Mon, 2018-03-12 at 18:00 +0530, Harish Jenny K N wrote: >> >> >>>>>>>> + for_each_set_bit(bit,

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 07:04 PM, Harish Jenny K N wrote: > > On Monday 12 March 2018 06:33 PM, Andy Shevchenko wrote: >> On Mon, 2018-03-12 at 18:00 +0530, Harish Jenny K N wrote: >> >> >>>>>>>> + for_each_set_bit(bit,

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 06:33 PM, Andy Shevchenko wrote: > On Mon, 2018-03-12 at 18:00 +0530, Harish Jenny K N wrote: > > >>>>>>> + for_each_set_bit(bit, (const unsigned long *), >>>>>>> BITS_PER_LONG) >>

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 06:33 PM, Andy Shevchenko wrote: > On Mon, 2018-03-12 at 18:00 +0530, Harish Jenny K N wrote: > > >>>>>>> + for_each_set_bit(bit, (const unsigned long *), >>>>>>> BITS_PER_LONG) >>

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 05:02 PM, Avri Altman wrote: > >> -Original Message- >> From: Harish Jenny K N [mailto:harish_kand...@mentor.com] >> Sent: Monday, March 12, 2018 1:17 PM >> To: Avri Altman <avri.alt...@wdc.com>; Andy Shevchenko >> <an

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 05:02 PM, Avri Altman wrote: > >> -Original Message- >> From: Harish Jenny K N [mailto:harish_kand...@mentor.com] >> Sent: Monday, March 12, 2018 1:17 PM >> To: Avri Altman ; Andy Shevchenko >> ; ulf.hans...@linaro.org; >&g

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 04:15 PM, Avri Altman wrote: > >> -Original Message- >> From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] >> Sent: Monday, March 12, 2018 12:08 PM >> To: Harish Jenny K N <harish_kand...@mentor.com>; ulf.

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 04:15 PM, Avri Altman wrote: > >> -Original Message- >> From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] >> Sent: Monday, March 12, 2018 12:08 PM >> To: Harish Jenny K N ; ulf.hans...@linaro.org; >> linus.wall...@li

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 03:37 PM, Andy Shevchenko wrote: > On Mon, 2018-03-12 at 10:01 +0530, Harish Jenny K N wrote: >> This patch exports the host capabilities to debugfs >> >> This idea of sharing host capabilities over debugfs >> came up from Abbas Raza <abb

Re: [PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-12 Thread Harish Jenny K N
On Monday 12 March 2018 03:37 PM, Andy Shevchenko wrote: > On Mon, 2018-03-12 at 10:01 +0530, Harish Jenny K N wrote: >> This patch exports the host capabilities to debugfs >> >> This idea of sharing host capabilities over debugfs >> came up from Abbas Raza >&

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-03-11 Thread Harish Jenny K N
nderstand it? > > You are correct. This patch does not hide partition from userspace. They will still appear in /dev/. But not reported as "real" partitions in /proc/partiotions. Thanks, Harish Jenny K N

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-03-11 Thread Harish Jenny K N
nderstand it? > > You are correct. This patch does not hide partition from userspace. They will still appear in /dev/. But not reported as "real" partitions in /proc/partiotions. Thanks, Harish Jenny K N

[PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-11 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza <abbas_r...@mentor.com> Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jen

[PATCH v9] mmc: Export host capabilities to debugfs.

2018-03-11 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jenny K N --- Changes in v9

[PATCH v8] mmc: Export host capabilities to debugfs.

2018-03-08 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza <abbas_r...@mentor.com> Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jen

[PATCH v8] mmc: Export host capabilities to debugfs.

2018-03-08 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jenny K N --- Changes in v8

[PATCH v7] mmc: Export host capabilities to debugfs.

2018-03-07 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza <abbas_r...@mentor.com> Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jen

[PATCH v7] mmc: Export host capabilities to debugfs.

2018-03-07 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jenny K N --- Changes in v7

Re: [PATCH v6] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Harish Jenny K N
On Wednesday 07 March 2018 12:10 PM, Avri Altman wrote: > >> -Original Message- >> From: Harish Jenny K N [mailto:harish_kand...@mentor.com] >> Sent: Wednesday, March 07, 2018 7:38 AM >> To: ulf.hans...@linaro.org; linus.wall...@linaro.org; >> adrian

Re: [PATCH v6] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Harish Jenny K N
On Wednesday 07 March 2018 12:10 PM, Avri Altman wrote: > >> -Original Message- >> From: Harish Jenny K N [mailto:harish_kand...@mentor.com] >> Sent: Wednesday, March 07, 2018 7:38 AM >> To: ulf.hans...@linaro.org; linus.wall...@linaro.org; >> adrian

[PATCH v6] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza <abbas_r...@mentor.com> Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jen

[PATCH v6] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jenny K N --- Changes in v6

[PATCH v2] mmc: Export card RCA register to sysfs.

2018-03-06 Thread Harish Jenny K N
This patch exports RCA register to sysfs which will help in reading the disk identification information. Reviewed-by: Shawn Lin <shawn@rock-chips.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- Changes in v2: - Used 0x%04x to display 16 bit register driv

[PATCH v2] mmc: Export card RCA register to sysfs.

2018-03-06 Thread Harish Jenny K N
This patch exports RCA register to sysfs which will help in reading the disk identification information. Reviewed-by: Shawn Lin Signed-off-by: Harish Jenny K N --- Changes in v2: - Used 0x%04x to display 16 bit register drivers/mmc/core/mmc.c | 2 ++ drivers/mmc/core/sd.c | 2 ++ 2 files

[PATCH v5] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza <abbas_r...@mentor.com> Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jen

[PATCH v5] mmc: Export host capabilities to debugfs.

2018-03-06 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs This idea of sharing host capabilities over debugfs came up from Abbas Raza Earlier discussions: https://lkml.org/lkml/2018/3/5/357 https://www.spinics.net/lists/linux-mmc/msg48219.html Signed-off-by: Harish Jenny K N --- Changes in v5

Re: [PATCH] mmc: Export card RCA register to sysfs.

2018-03-06 Thread Harish Jenny K N
On Tuesday 27 February 2018 05:26 PM, Harish Jenny K N wrote: > This patch exports RCA register to sysfs which will help in > reading the disk identification information. > > Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> > --- > drivers/mmc/core/mmc.c |

Re: [PATCH] mmc: Export card RCA register to sysfs.

2018-03-06 Thread Harish Jenny K N
On Tuesday 27 February 2018 05:26 PM, Harish Jenny K N wrote: > This patch exports RCA register to sysfs which will help in > reading the disk identification information. > > Signed-off-by: Harish Jenny K N > --- > drivers/mmc/core/mmc.c | 2 ++ > drivers/mmc/core/sd

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-03-06 Thread Harish Jenny K N
On Friday 02 March 2018 06:23 PM, Linus Walleij wrote: > On Tue, Feb 27, 2018 at 12:33 PM, Harish Jenny K N > <harish_kand...@mentor.com> wrote: > >> From: Andrew Gabbasov <andrew_gabba...@mentor.com> >> >> Since RPMB area is accessible via special io

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-03-06 Thread Harish Jenny K N
On Friday 02 March 2018 06:23 PM, Linus Walleij wrote: > On Tue, Feb 27, 2018 at 12:33 PM, Harish Jenny K N > wrote: > >> From: Andrew Gabbasov >> >> Since RPMB area is accessible via special ioctl only and boot areas >> are unlikely to contain any partitio

Re: [PATCH v3] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
On Monday 05 March 2018 05:43 PM, Ulf Hansson wrote: > On 5 March 2018 at 10:28, Harish Jenny K N <harish_kand...@mentor.com> wrote: >> From: Abbas Raza <abbas_r...@mentor.com> >> >> This patch exports the host capabilities to debugfs >> >> Sig

Re: [PATCH v3] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
On Monday 05 March 2018 05:43 PM, Ulf Hansson wrote: > On 5 March 2018 at 10:28, Harish Jenny K N wrote: >> From: Abbas Raza >> >> This patch exports the host capabilities to debugfs >> >> Signed-off-by: Abbas Raza >> Signed-off-by: Andrew Gabba

[PATCH v4] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
From: Abbas Raza <abbas_r...@mentor.com> This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza <abbas_r...@mentor.com> Signed-off-by: Andrew Gabbasov <andrew_gabba...@mentor.com> [Harish: Added caps2, moved creation to mmc_add_host_debugfs] Signed-off-by

[PATCH v4] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
From: Abbas Raza This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza Signed-off-by: Andrew Gabbasov [Harish: Added caps2, moved creation to mmc_add_host_debugfs] Signed-off-by: Harish Jenny K N --- Changes in v4: - Moved the creation of nodes

[PATCH] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
From: Abbas Raza <abbas_r...@mentor.com> This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza <abbas_r...@mentor.com> Signed-off-by: Andrew Gabbasov <andrew_gabba...@mentor.com> [Harish: Added caps2, moved creation to mmc_add_host_debugfs] Signed-off-by

[PATCH] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
From: Abbas Raza This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza Signed-off-by: Andrew Gabbasov [Harish: Added caps2, moved creation to mmc_add_host_debugfs] Signed-off-by: Harish Jenny K N --- Changes in v4: - Moved the creation of nodes

[PATCH v3] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
From: Abbas Raza <abbas_r...@mentor.com> This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza <abbas_r...@mentor.com> Signed-off-by: Andrew Gabbasov <andrew_gabba...@mentor.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> ---

[PATCH v3] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
From: Abbas Raza This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza Signed-off-by: Andrew Gabbasov Signed-off-by: Harish Jenny K N --- Changes in v3: - Removed typecasting of >caps to (u32 *) Changes in v2: - Changed Author drivers/mmc/core/debugfs.c | 3 +++

Re: [PATCH v2] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
On Monday 05 March 2018 01:21 PM, Shawn Lin wrote: > On 2018/3/5 12:24, Harish Jenny K N wrote: >> From: Abbas Raza <abbas_r...@mentor.com> >> >> This patch exports the host capabilities to debugfs >> >> Signed-off-by: Abbas Raza <abbas_r...@men

Re: [PATCH v2] mmc: Export host capabilities to debugfs.

2018-03-05 Thread Harish Jenny K N
On Monday 05 March 2018 01:21 PM, Shawn Lin wrote: > On 2018/3/5 12:24, Harish Jenny K N wrote: >> From: Abbas Raza >> >> This patch exports the host capabilities to debugfs >> >> Signed-off-by: Abbas Raza >> Signed-off-by: Andrew Gabba

[PATCH v2] mmc: Export host capabilities to debugfs.

2018-03-04 Thread Harish Jenny K N
From: Abbas Raza <abbas_r...@mentor.com> This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza <abbas_r...@mentor.com> Signed-off-by: Andrew Gabbasov <andrew_gabba...@mentor.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> ---

[PATCH v2] mmc: Export host capabilities to debugfs.

2018-03-04 Thread Harish Jenny K N
From: Abbas Raza This patch exports the host capabilities to debugfs Signed-off-by: Abbas Raza Signed-off-by: Andrew Gabbasov Signed-off-by: Harish Jenny K N --- Changes in v2: - Changed Author drivers/mmc/core/debugfs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc

Re: [PATCH] mmc: Export host capabilities to debugfs.

2018-03-04 Thread Harish Jenny K N
On Saturday 03 March 2018 10:02 PM, Vladimir Zapolskiy wrote: > Hi Harish, > > On 03/01/2018 03:17 PM, Harish Jenny K N wrote: >> This patch exports the host capabilities to debugfs >> >> Signed-off-by: Andrew Gabbasov <andrew_gabba...@mentor.com> >> Signe

Re: [PATCH] mmc: Export host capabilities to debugfs.

2018-03-04 Thread Harish Jenny K N
On Saturday 03 March 2018 10:02 PM, Vladimir Zapolskiy wrote: > Hi Harish, > > On 03/01/2018 03:17 PM, Harish Jenny K N wrote: >> This patch exports the host capabilities to debugfs >> >> Signed-off-by: Andrew Gabbasov >> Signed-off-by: Harish Jenny K N &

Re: [PATCH] mmc: Export host capabilities to debugfs.

2018-03-02 Thread Harish Jenny K N
On Thursday 01 March 2018 07:54 PM, Linus Walleij wrote: > On Thu, Mar 1, 2018 at 2:17 PM, Harish Jenny K N > <harish_kand...@mentor.com> wrote: > > Thanks for your patch! > >> This patch exports the host capabilities to debugfs >> >> Signed-off-by: Andr

Re: [PATCH] mmc: Export host capabilities to debugfs.

2018-03-02 Thread Harish Jenny K N
On Thursday 01 March 2018 07:54 PM, Linus Walleij wrote: > On Thu, Mar 1, 2018 at 2:17 PM, Harish Jenny K N > wrote: > > Thanks for your patch! > >> This patch exports the host capabilities to debugfs >> >> Signed-off-by: Andrew Gabbasov &

[PATCH] mmc: Export host capabilities to debugfs.

2018-03-01 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs Signed-off-by: Andrew Gabbasov <andrew_gabba...@mentor.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/mmc/core/debugfs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/core/debugfs

[PATCH] mmc: Export host capabilities to debugfs.

2018-03-01 Thread Harish Jenny K N
This patch exports the host capabilities to debugfs Signed-off-by: Andrew Gabbasov Signed-off-by: Harish Jenny K N --- drivers/mmc/core/debugfs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mmc/core/debugfs.c b/drivers/mmc/core/debugfs.c index c51e0c0..fa2df7f 100644

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-02-28 Thread Harish Jenny K N
aracter device and this change may not be required for RPMB. Correct me if I am wrong. Also any comments are welcome. Thanks, Harish Jenny K N

Re: [PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-02-28 Thread Harish Jenny K N
aracter device and this change may not be required for RPMB. Correct me if I am wrong. Also any comments are welcome. Thanks, Harish Jenny K N

[PATCH] mmc: Export card RCA register to sysfs.

2018-02-27 Thread Harish Jenny K N
This patch exports RCA register to sysfs which will help in reading the disk identification information. Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/mmc/core/mmc.c | 2 ++ drivers/mmc/core/sd.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/mm

[PATCH] mmc: Export card RCA register to sysfs.

2018-02-27 Thread Harish Jenny K N
This patch exports RCA register to sysfs which will help in reading the disk identification information. Signed-off-by: Harish Jenny K N --- drivers/mmc/core/mmc.c | 2 ++ drivers/mmc/core/sd.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core

[PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-02-27 Thread Harish Jenny K N
oiding unnecessary access attempts. Signed-off-by: Andrew Gabbasov <andrew_gabba...@mentor.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/mmc/core/block.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/core/block.c b/driver

[PATCH] mmc: card: Don't show eMMC RPMB and BOOT areas in /proc/partitions

2018-02-27 Thread Harish Jenny K N
. Signed-off-by: Andrew Gabbasov Signed-off-by: Harish Jenny K N --- drivers/mmc/core/block.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mmc/core/block.c b/drivers/mmc/core/block.c index 20135a5..376e47e 100644 --- a/drivers/mmc/core/block.c +++ b/drivers/mmc/core

[PATCH v2 1/3] usb: gadget: NCM: link socket buffers to the device for tx packets

2016-09-19 Thread Harish Jenny K N
From: Torsten Polle <tpo...@de.adit-jv.com> Socket buffers should be linked to the (network) device that allocated the buffers. Signed-off-by: Torsten Polle <tpo...@de.adit-jv.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/usb/gadget/function/f_n

[PATCH v2 2/3] usb: gadget: u_ether: link socket buffers to the device for received packets

2016-09-19 Thread Harish Jenny K N
ned-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- Change from v1 to v2 Subject line changed drivers/usb/gadget/function/u_ether.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/function/u_ether.c b/drivers/usb/gadget/function/u_ether.c index

[PATCH v2 3/3] usb: gadget: NCM: differentiate consumed packets from dropped packets

2016-09-19 Thread Harish Jenny K N
e used for such consumed packets. This separation helps to identify dropped packets. Signed-off-by: Torsten Polle <tpo...@de.adit-jv.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/usb/gadget/function/f_ncm.c |8 drivers/usb/gadget/function/u_ether.c |

[PATCH v2 1/3] usb: gadget: NCM: link socket buffers to the device for tx packets

2016-09-19 Thread Harish Jenny K N
From: Torsten Polle Socket buffers should be linked to the (network) device that allocated the buffers. Signed-off-by: Torsten Polle Signed-off-by: Harish Jenny K N --- drivers/usb/gadget/function/f_ncm.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/gadget/function

[PATCH v2 2/3] usb: gadget: u_ether: link socket buffers to the device for received packets

2016-09-19 Thread Harish Jenny K N
From: Torsten Polle Socket buffers should be linked to the (network) device that allocated the buffers. __netdev_alloc_skb performs this task. Signed-off-by: Torsten Polle Signed-off-by: Jim Baxter Signed-off-by: Harish Jenny K N --- Change from v1 to v2 Subject line changed drivers/usb

[PATCH v2 3/3] usb: gadget: NCM: differentiate consumed packets from dropped packets

2016-09-19 Thread Harish Jenny K N
. This separation helps to identify dropped packets. Signed-off-by: Torsten Polle Signed-off-by: Harish Jenny K N --- drivers/usb/gadget/function/f_ncm.c |8 drivers/usb/gadget/function/u_ether.c |3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget

[PATCH v2 0/3] Usb gadget ncm code cleanup

2016-09-19 Thread Harish Jenny K N
This patchset consists of some code cleanup in usb gadget ncm code. Note: Testing has only been done on an ARM i.MX6 based platform. --- Change from v1 to v2 Subject line changed on Patch 2. Torsten Polle (3): usb: gadget: NCM: link socket buffers to the device for tx packets usb: gadget:

[PATCH v2 0/3] Usb gadget ncm code cleanup

2016-09-19 Thread Harish Jenny K N
This patchset consists of some code cleanup in usb gadget ncm code. Note: Testing has only been done on an ARM i.MX6 based platform. --- Change from v1 to v2 Subject line changed on Patch 2. Torsten Polle (3): usb: gadget: NCM: link socket buffers to the device for tx packets usb: gadget:

Re: [PATCH v1 2/3] usb: gadget: NCM: link socket buffers to the device for received packets

2016-09-16 Thread Harish Jenny K N
>>>>> On Thursday 15 September 2016 08:35 PM, Yauheni Kaliuta wrote: >Is subject a bit misleading, it's more generic, then NCM? Agreed. I will submit v2 patchset. WBR, Harish Jenny K N

Re: [PATCH v1 2/3] usb: gadget: NCM: link socket buffers to the device for received packets

2016-09-16 Thread Harish Jenny K N
>>>>> On Thursday 15 September 2016 08:35 PM, Yauheni Kaliuta wrote: >Is subject a bit misleading, it's more generic, then NCM? Agreed. I will submit v2 patchset. WBR, Harish Jenny K N

[PATCH v1 2/3] usb: gadget: NCM: link socket buffers to the device for received packets

2016-09-15 Thread Harish Jenny K N
ned-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/usb/gadget/function/u_ether.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/function/u_ether.c b/drivers/usb/gadget/function/u_ether.c index 8cb0803..d8593c7 100644 --- a/drivers/usb/g

[PATCH v1 2/3] usb: gadget: NCM: link socket buffers to the device for received packets

2016-09-15 Thread Harish Jenny K N
From: Torsten Polle Socket buffers should be linked to the (network) device that allocated the buffers. __netdev_alloc_skb performs this task. Signed-off-by: Torsten Polle Signed-off-by: Jim Baxter Signed-off-by: Harish Jenny K N --- drivers/usb/gadget/function/u_ether.c |2 +- 1 file

[PATCH v1 3/3] usb: gadget: NCM: differentiate consumed packets from dropped packets

2016-09-15 Thread Harish Jenny K N
e used for such consumed packets. This separation helps to identify dropped packets. Signed-off-by: Torsten Polle <tpo...@de.adit-jv.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/usb/gadget/function/f_ncm.c |8 drivers/usb/gadget/function/u_ether.c |

[PATCH v1 3/3] usb: gadget: NCM: differentiate consumed packets from dropped packets

2016-09-15 Thread Harish Jenny K N
. This separation helps to identify dropped packets. Signed-off-by: Torsten Polle Signed-off-by: Harish Jenny K N --- drivers/usb/gadget/function/f_ncm.c |8 drivers/usb/gadget/function/u_ether.c |3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/usb/gadget

[PATCH v1 1/3] usb: gadget: NCM: link socket buffers to the device for tx packets

2016-09-15 Thread Harish Jenny K N
From: Torsten Polle <tpo...@de.adit-jv.com> Socket buffers should be linked to the (network) device that allocated the buffers. Signed-off-by: Torsten Polle <tpo...@de.adit-jv.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/usb/gadget/function/f_n

[PATCH v1 1/3] usb: gadget: NCM: link socket buffers to the device for tx packets

2016-09-15 Thread Harish Jenny K N
From: Torsten Polle Socket buffers should be linked to the (network) device that allocated the buffers. Signed-off-by: Torsten Polle Signed-off-by: Harish Jenny K N --- drivers/usb/gadget/function/f_ncm.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/usb/gadget/function

[PATCH v1 0/3] Usb gadget ncm code cleanup

2016-09-15 Thread Harish Jenny K N
This patchset consists of some code cleanup in usb gadget ncm code. Note: Testing has only been done on an ARM i.MX6 based platform. Torsten Polle (3): usb: gadget: NCM: link socket buffers to the device for tx packets usb: gadget: NCM: link socket buffers to the device for received

[PATCH v1 0/3] Usb gadget ncm code cleanup

2016-09-15 Thread Harish Jenny K N
This patchset consists of some code cleanup in usb gadget ncm code. Note: Testing has only been done on an ARM i.MX6 based platform. Torsten Polle (3): usb: gadget: NCM: link socket buffers to the device for tx packets usb: gadget: NCM: link socket buffers to the device for received

[PATCH v1 2/2] usb: gadget: NCM: Protect dev->port_usb using dev->lock

2016-09-09 Thread Harish Jenny K N
This commit incorporates findings from https://lkml.org/lkml/2016/4/25/594 The function has been modified to make sure we hold the dev lock when accessing the net device pointer. Acked-by: Jim Baxter <jim_bax...@mentor.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com>

[PATCH v1 2/2] usb: gadget: NCM: Protect dev->port_usb using dev->lock

2016-09-09 Thread Harish Jenny K N
This commit incorporates findings from https://lkml.org/lkml/2016/4/25/594 The function has been modified to make sure we hold the dev lock when accessing the net device pointer. Acked-by: Jim Baxter Signed-off-by: Harish Jenny K N --- drivers/usb/gadget/function/u_ether.c |7 +-- 1

[PATCH v1 1/2] usb: gadget: u_ether: fix another dereference after null check

2016-09-09 Thread Harish Jenny K N
dev->port_usb is checked for null pointer previously, so dev->port_usb might be null during no zlp check, fix it by adding null pointer check. Acked-by: Jim Baxter <jim_bax...@mentor.com> Signed-off-by: Harish Jenny K N <harish_kand...@mentor.com> --- drivers/usb/gadget/functio

[PATCH v1 1/2] usb: gadget: u_ether: fix another dereference after null check

2016-09-09 Thread Harish Jenny K N
dev->port_usb is checked for null pointer previously, so dev->port_usb might be null during no zlp check, fix it by adding null pointer check. Acked-by: Jim Baxter Signed-off-by: Harish Jenny K N --- drivers/usb/gadget/function/u_ether.c |3 ++- 1 file changed, 2 insertions(+), 1 de

[PATCH v1 0/2] usb: gadget: NCM: NULL pointer dereference in eth_start_xmit

2016-09-09 Thread Harish Jenny K N
by another commit 88c09eacf560c3303d0ee8cf91b8b7ff7f000350. Hence this patchset only adds the remaining findings. Harish Jenny K N (2): usb: gadget: u_ether: fix another dereference after null check usb: gadget: NCM: Protect dev->port_usb using dev->lock drivers/usb/gadget/fu

[PATCH v1 0/2] usb: gadget: NCM: NULL pointer dereference in eth_start_xmit

2016-09-09 Thread Harish Jenny K N
by another commit 88c09eacf560c3303d0ee8cf91b8b7ff7f000350. Hence this patchset only adds the remaining findings. Harish Jenny K N (2): usb: gadget: u_ether: fix another dereference after null check usb: gadget: NCM: Protect dev->port_usb using dev->lock drivers/usb/gadget/fu

[PATCH v1 1/1] usb: gadget: f_fs: Stop ffs_closed NULL pointers.

2016-09-08 Thread Harish Jenny K N
ULL pointer dereference" error when using the data in ffs_data::private_data. This clears this pointer during the ffs_free_dev clean up function. Signed-off-by: Jim Baxter <jim_bax...@mentor.com> Signed-off-by: Jiada Wang <jiada_w...@mentor.com> Signed-off-by: Harish Jenny K

[PATCH v1 0/1] usb: gadget: f_fs: Stop ffs_closed NULL pointers

2016-09-08 Thread Harish Jenny K N
This patchset fixes the crash in ffs_closed during a disconnect of a USB composite FFS session. The issue was caused by the use of an outdated pointer in ffs_closed which had been deleted and not Nulled. Note: Testing has only been done on an ARM i.MX6 based platform. Jim Baxter (1): usb:

[PATCH v1 1/1] usb: gadget: f_fs: Stop ffs_closed NULL pointers.

2016-09-08 Thread Harish Jenny K N
error when using the data in ffs_data::private_data. This clears this pointer during the ffs_free_dev clean up function. Signed-off-by: Jim Baxter Signed-off-by: Jiada Wang Signed-off-by: Harish Jenny K N --- drivers/usb/gadget/function/f_fs.c |5 + 1 file changed, 5 insertions(+)

[PATCH v1 0/1] usb: gadget: f_fs: Stop ffs_closed NULL pointers

2016-09-08 Thread Harish Jenny K N
This patchset fixes the crash in ffs_closed during a disconnect of a USB composite FFS session. The issue was caused by the use of an outdated pointer in ffs_closed which had been deleted and not Nulled. Note: Testing has only been done on an ARM i.MX6 based platform. Jim Baxter (1): usb:

[PATCH] Bluetooth: Fix use after free in l2cap_chan_timeout

2015-03-19 Thread Harish Jenny K N
There is a potential use after free in bt_sock_poll when a socket gets killed without getting unlinked from accept_q. Hence added code to unlink from accpept_q by calling teardown before freeing the socket for channel type L2CAP_CHAN_CONN_ORIENTED. Signed-off-by: Harish Jenny K N --- net

[PATCH] Bluetooth: Fix use after free in l2cap_chan_timeout

2015-03-19 Thread Harish Jenny K N
There is a potential use after free in bt_sock_poll when a socket gets killed without getting unlinked from accept_q. Hence added code to unlink from accpept_q by calling teardown before freeing the socket for channel type L2CAP_CHAN_CONN_ORIENTED. Signed-off-by: Harish Jenny K N harish_kand

[PATCH] Bluetooth: Fix use after free in l2cap_chan_timeout

2015-03-18 Thread Harish Jenny K N
There is a potential use after free in bt_sock_poll when a socket gets killed without getting unlinked from accept_q. Hence added code to unlink from accpept_q by calling teardown before freeing the socket for channel type L2CAP_CHAN_CONN_ORIENTED. Signed-off-by: Harish Jenny K N --- net

[PATCH] Bluetooth: Fix use after free in l2cap_chan_timeout

2015-03-18 Thread Harish Jenny K N
There is a potential use after free in bt_sock_poll when a socket gets killed without getting unlinked from accept_q. Hence added code to unlink from accpept_q by calling teardown before freeing the socket for channel type L2CAP_CHAN_CONN_ORIENTED. Signed-off-by: Harish Jenny K N harish_kand