Re: [PATCH 01/10] mm/page-flags: introduce PageHighMemZone()

2021-02-10 Thread Prakash Gupta
On 4/21/2020 12:13 PM, Joonsoo Kim wrote: > This patchset is a preparation for my future patchset "mm/cma: manage the > memory > of the CMA area by using the ZONE_MOVABLE" [1] to solve the many CMA problems. > > CMA areas can be on the all the memory range, from ZONE_DMA to ZONE_HIGHMEM. > And,

[PATCH] iommu/dma: limit iova free size to unmmaped iova

2020-05-21 Thread Prakash Gupta
Limit the iova size while freeing based on unmapped size. In absence of this even with unmap failure, invalid iova is pushed to iova rcache and subsequently can cause panic while rcache magazine is freed. Signed-off-by: Prakash Gupta :100644 100644 4959f5df21bd 098f7d377e04 M drivers/iommu

[RFC 4/6] mmc: core: Add debugfs entries for scaling support

2019-10-21 Thread Ram Prakash Gupta
Signed-off-by: Sayali Lokhande Co-Developed-by: Ram Prakash Gupta Signed-off-by: Ram Prakash Gupta --- drivers/mmc/core/debugfs.c | 90 ++ drivers/mmc/core/host.c| 153 + 2 files changed, 243 insertions(+) diff --git a/drivers

[RFC 6/6] dt-bindings: mmc: sdhci-msm: Add clk scaling dt parameters

2019-10-21 Thread Ram Prakash Gupta
Adding clk scaling dt parameters. Signed-off-by: Ram Prakash Gupta --- Documentation/devicetree/bindings/mmc/sdhci-msm.txt | 19 +++ 1 file changed, 19 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.txt b/Documentation/devicetree/bindings/mmc/sdhci

[RFC 5/6] mmc: sdhci-msm: Add capability in platform host

2019-10-21 Thread Ram Prakash Gupta
: Ram Prakash Gupta Signed-off-by: Ram Prakash Gupta --- drivers/mmc/host/sdhci-msm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c index b75c82d..67accf6 100644 --- a/drivers/mmc/host/sdhci-msm.c +++ b/drivers/mmc/host/sdhci

[RFC 3/6] mmc: core: Initialize clk scaling for mmc and SDCard

2019-10-21 Thread Ram Prakash Gupta
Badiganti Signed-off-by: Bao D. Nguyen Signed-off-by: Can Guo Signed-off-by: Sayali Lokhande Co-Developed-by: Ram Prakash Gupta Signed-off-by: Ram Prakash Gupta --- drivers/mmc/core/block.c | 19 - drivers/mmc/core/core.c | 8 +++ drivers/mmc/core/host.c | 10

[RFC 0/6] mmc: Add clock scaling support for mmc driver

2019-10-21 Thread Ram Prakash Gupta
holds, up_threshold and down_threshold to decide whether to increase the frequency or scale it down respectively as per load. Ram Prakash Gupta (6): mmc: core: Parse clk scaling dt entries mmc: core: Add core scaling support in driver mmc: core: Initialize clk scaling for mmc and SDCard

[RFC 2/6] mmc: core: Add core scaling support in driver

2019-10-21 Thread Ram Prakash Gupta
: Can Guo Signed-off-by: Sayali Lokhande Co-Developed-by: Ram Prakash Gupta Signed-off-by: Ram Prakash Gupta --- drivers/mmc/core/core.c | 769 drivers/mmc/core/core.h | 17 ++ drivers/mmc/core/mmc.c | 192 drivers/mmc/core/sd.c

[RFC 1/6] mmc: core: Parse clk scaling dt entries

2019-10-21 Thread Ram Prakash Gupta
-by: Can Guo Signed-off-by: Sayali Lokhande Co-Developed-by: Ram Prakash Gupta Signed-off-by: Ram Prakash Gupta --- drivers/mmc/core/host.c | 63 + include/linux/mmc/card.h | 7 + include/linux/mmc/host.h | 66

Re: [PATCH 2/2] mm, page_owner: Skip unnecessary stack_trace entries

2017-08-31 Thread Prakash Gupta
On 8/31/2017 1:04 PM, Vlastimil Babka wrote: On 08/30/2017 09:32 AM, Prakash Gupta wrote: The page_owner stacktrace always begin as follows: [] save_stack+0x40/0xc8 [] __set_page_owner+0x3c/0x6c Hmm, on x86_64 it looks like this: save_stack_trace+0x16/0x20 save_stack+0x43/0xe0

Re: [PATCH 1/2] arm64: stacktrace: avoid listing stacktrace functions in stacktrace

2017-08-30 Thread Prakash Gupta
On 8/31/2017 1:58 AM, Andrew Morton wrote: On Wed, 30 Aug 2017 13:02:22 +0530 Prakash Gupta wrote: The stacktraces always begin as follows: [] save_stack_trace_tsk+0x0/0x98 [] save_stack_trace+0x24/0x28 ... This is because the stack trace code includes the stack frames for itself

[PATCH 2/2] mm, page_owner: Skip unnecessary stack_trace entries

2017-08-30 Thread Prakash Gupta
+0x70/0x80 ... [] msm_comm_try_state+0x5f8/0x14f4 [] msm_vidc_open+0x5e4/0x7d0 [] msm_v4l2_open+0xa8/0x224 Fixes: f2ca0b557107 ("mm/page_owner: use stackdepot to store stacktrace") Signed-off-by: Prakash Gupta --- mm/page_owner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH 1/2] arm64: stacktrace: avoid listing stacktrace functions in stacktrace

2017-08-30 Thread Prakash Gupta
acktrace: avoid listing stacktrace functions in stacktrace") Signed-off-by: Prakash Gupta --- arch/arm64/kernel/stacktrace.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/arch/arm64/kernel/stacktrace.c b/arch/arm64/kernel/stacktrace.c index 314458