[PATCH v5 0/2] mmc: support crash logging to MMC block devices

2021-01-20 Thread Bhaskara Budiredla
/linux-mmc/6762a763-5284-04dc-e636-486c74ded...@alum.wpi.edu/T/#u v3: https://lore.kernel.org/linux-mmc/20201207115753.21728-1-bbudire...@marvell.com/T/#t v4: https://lore.kernel.org/linux-mmc/20201223144033.32571-1-bbudire...@marvell.com/T/#md9fce2de5b6aaa66e8ff7cb04d138a548426a8e3 Bhaskara

[PATCH v5 2/2] mmc: cavium: Add MMC polling method to support kmsg panic/oops write

2021-01-20 Thread Bhaskara Budiredla
To enable the writing of panic and oops logs, a cavium specific MMC polling method is defined and thereby ensure the functioning of mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/host/cavium-thunderx.c | 10 + drivers/mmc/host/cavium.c | 67

RE: [EXT] Re: [PATCH v4 1/2] mmc: Support kmsg dumper based on pstore/blk

2021-01-20 Thread Bhaskara Budiredla
Thanks Kees for the quick response. Just I have submitted those changes through patch v5. - Bhaskara >-Original Message- >From: Kees Cook >Sent: Wednesday, January 20, 2021 1:01 AM >To: Bhaskara Budiredla >Cc: Ulf Hansson ; Colin Cross >; Tony Luck ; Sunil Kovvur

[PATCH v5 1/2] mmc: Support kmsg dumper based on pstore/blk

2021-01-20 Thread Bhaskara Budiredla
/oops logs through mmcpstore. These new host operations are needed as pstore panic write runs with interrupts disabled. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/core/Kconfig | 14 ++- drivers/mmc/core/Makefile| 1 + drivers/mmc/core/block.c | 19 +++ drivers/mmc/co

RE: [EXT] Re: [PATCH v4 1/2] mmc: Support kmsg dumper based on pstore/blk

2021-01-18 Thread Bhaskara Budiredla
>Sent: Wednesday, January 13, 2021 5:16 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kernel Mailing List >Subject: [EXT] Re: [PATCH v4 1/2] mmc: Support kmsg dumper based on &g

[PATCH v4 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-23 Thread Bhaskara Budiredla
/oops logs through mmcpstore. These new host operations are needed as pstore panic write runs with interrupts disabled. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/core/Kconfig | 14 +- drivers/mmc/core/Makefile| 1 + drivers/mmc/core/block.c | 19 +++ drivers/mmc/core/block.h

[PATCH v4 2/2] mmc: cavium: Add MMC polling method to support kmsg panic/oops write

2020-12-23 Thread Bhaskara Budiredla
To enable the writing of panic and oops logs, a cavium specific MMC polling method is defined and thereby ensure the functioning of mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/host/cavium-thunderx.c | 10 + drivers/mmc/host/cavium.c | 67

[PATCH v4 0/2] mmc: support crash logging to MMC block devices

2020-12-23 Thread Bhaskara Budiredla
: https://lore.kernel.org/linux-mmc/20201207115753.21728-1-bbudire...@marvell.com/T/#t Bhaskara Budiredla (2): mmc: Support kmsg dumper based on pstore/blk mmc: cavium: Add MMC polling method to support kmsg panic/oops write drivers/mmc/core/Kconfig | 14 +- drivers/mmc/core/Makefile

RE: [EXT] Re: [PATCH 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-17 Thread Bhaskara Budiredla
>-Original Message- >From: Ulf Hansson >Sent: Thursday, December 17, 2020 10:42 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kernel Mailing List ; Christoph Hellwig > >Sub

RE: [EXT] Re: [PATCH 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-17 Thread Bhaskara Budiredla
[...] >> >> An extra check can be added to see if host was runtime suspended >> >> ahead of panic write attempt. >> > >> >What if that is the case, should we just return an error? >> > >> Yes. >> >> >Moreover, even the device belonging to the mmc card can be runtime >> >suspended too. So if that

RE: [EXT] Re: [PATCH 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-16 Thread Bhaskara Budiredla
>-Original Message- >From: Ulf Hansson >Sent: Wednesday, December 16, 2020 3:27 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kernel Mailing List ; Christoph Hellwig > >Sub

RE: [EXT] Re: [PATCH 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-15 Thread Bhaskara Budiredla
>-Original Message- >From: Ulf Hansson >Sent: Tuesday, December 15, 2020 5:13 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kernel Mailing List ; Christoph Hellwig > >Sub

RE: [EXT] Re: [PATCH 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-14 Thread Bhaskara Budiredla
>-Original Message- >From: Ulf Hansson >Sent: Friday, December 11, 2020 5:02 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kernel Mailing List ; Christoph Hellwig > >Subj

[PATCH 2/2] mmc: cavium: Add MMC polling method to support kmsg panic/oops write

2020-12-07 Thread Bhaskara Budiredla
To enable the writing of panic and oops logs, a cavium specific MMC polling method is defined and thereby ensure the functioning of mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/host/cavium-thunderx.c | 10 + drivers/mmc/host/cavium.c | 67

[PATCH 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-07 Thread Bhaskara Budiredla
/oops logs through mmcpstore. These new host operations are needed as pstore panic write runs with interrupts disabled. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/core/Kconfig | 14 +- drivers/mmc/core/Makefile| 1 + drivers/mmc/core/block.c | 19 +++ drivers/mmc/core/block.h

[PATCH v3 0/2] mmc: support crash logging to MMC block devices

2020-12-07 Thread Bhaskara Budiredla
blk v1: https://lore.kernel.org/linux-mmc/20201112062422.32212-1-bbudire...@marvell.com/T/#t v2: https://lore.kernel.org/linux-mmc/6762a763-5284-04dc-e636-486c74ded...@alum.wpi.edu/T/#u Bhaskara Budiredla (2): mmc: Support kmsg dumper based on pstore/blk mmc: cavium: Add MMC polling method

RE: [EXT] Re: [PATCH v2 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-02 Thread Bhaskara Budiredla
>-Original Message- >From: Kees Cook >Sent: Thursday, December 3, 2020 1:02 AM >To: Bhaskara Budiredla >Cc: ulf.hans...@linaro.org; ccr...@android.com; tony.l...@intel.com; Sunil >Kovvuri Goutham ; linux-...@vger.kernel.org; >linux-kernel@vger.kernel.org;

RE: [EXT] Re: [PATCH v2 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-12-01 Thread Bhaskara Budiredla
>-Original Message- >From: Kees Cook >Sent: Wednesday, December 2, 2020 1:56 AM >To: Bhaskara Budiredla >Cc: ulf.hans...@linaro.org; ccr...@android.com; tony.l...@intel.com; Sunil >Kovvuri Goutham ; linux-...@vger.kernel.org; >linux-kernel@vger.kernel.org;

RE: [EXT] Re: [PATCH v1 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-11-25 Thread Bhaskara Budiredla
Sure, I will tune to those discussions and would wait for that. - Bhaskara >-Original Message- >From: Christoph Hellwig >Sent: Tuesday, November 24, 2020 9:49 PM >To: Ulf Hansson >Cc: Bhaskara Budiredla ; Kees Cook >; Colin Cross ; Tony Luck >; Sunil Kov

RE: [EXT] Re: [PATCH v1 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-11-23 Thread Bhaskara Budiredla
>-Original Message- >From: Ulf Hansson >Sent: Monday, November 23, 2020 5:49 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kernel Mailing List >Subject: Re: [EXT] Re: [PATC

[PATCH v2 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-11-23 Thread Bhaskara Budiredla
gs through mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/core/Kconfig | 15 +- drivers/mmc/core/Makefile| 1 + drivers/mmc/core/block.c | 19 +++ drivers/mmc/core/block.h | 9 ++ drivers/mmc/core/core.c | 24 +++ drivers/mmc/core/mmcpsto

[PATCH v2 2/2] mmc: cavium: Add MMC polling method to support kmsg panic/oops write

2020-11-23 Thread Bhaskara Budiredla
To enable the writing of panic and oops logs, a cavium specific MMC polling method is defined and thereby ensure the functioning of mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/host/cavium-thunderx.c | 10 + drivers/mmc/host/cavium.c | 67

RE: [EXT] Re: [PATCH v1 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-11-22 Thread Bhaskara Budiredla
Big thanks Uffe, my answers in line to yours. >-Original Message- >From: Ulf Hansson >Sent: Friday, November 20, 2020 6:51 PM >To: Bhaskara Budiredla >Cc: Kees Cook ; Colin Cross >; Tony Luck ; Sunil Kovvuri >Goutham ; linux-...@vger.kernel.org; Linux >Kerne

[PATCH v1 1/2] mmc: Support kmsg dumper based on pstore/blk

2020-11-11 Thread Bhaskara Budiredla
gs through mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/core/Kconfig | 7 + drivers/mmc/core/Makefile| 1 + drivers/mmc/core/block.c | 20 +++ drivers/mmc/core/block.h | 3 + drivers/mmc/core/core.c | 24 +++ drivers/mmc/core/mmcpsto

[PATCH v1 2/2] mmc:cavium: Add MMC polling method to support kmsg panic/oops write

2020-11-11 Thread Bhaskara Budiredla
To enable the writing of panic and oops logs, a Cavium specific MMC polling method is defined and thereby ensure the functioning of mmcpstore. Signed-off-by: Bhaskara Budiredla --- drivers/mmc/host/cavium-thunderx.c | 10 + drivers/mmc/host/cavium.c | 67

[PATCH v1 0/2] mmc: support crash logging to MMC block devices

2020-11-11 Thread Bhaskara Budiredla
This patch introduces to mmcpstore. Bhaskara Budiredla (2): mmc: Support kmsg dumper based on pstore/blk mmc:cavium: Add MMC polling method to support kmsg panic/oops write drivers/mmc/core/Kconfig | 7 + drivers/mmc/core/Makefile | 1 + drivers/mmc/core/block.c