Re: [PATCH 1/5] PM: domains: Add helper functions to attach/detach multiple PM domains

2023-12-29 Thread Nikunj Kela
On 12/28/2023 3:41 AM, Ulf Hansson wrote: Attaching/detaching of a device to multiple PM domains has started to become a common operation for many drivers, typically during ->probe() and ->remove(). In most cases, this has lead to lots of boilerplate code in the drivers. To fixup up the situat

Re: [PATCH] jffs2: implement mount option to configure endianness

2018-11-08 Thread Nikunj Kela (nkela)
On 11/8/18, 12:12 AM, "David Woodhouse" wrote: On Wed, 2018-11-07 at 19:14 +0100, Richard Weinberger wrote: > On Wed, Nov 7, 2018 at 7:05 PM Nikunj Kela (nkela) wrote: > > I had tried to use configs to start with via the following patch however I was advi

Re: [PATCH] jffs2: implement mount option to configure endianness

2018-11-07 Thread Nikunj Kela (nkela)
On 11/7/18, 1:05 AM, "David Woodhouse" wrote: On Tue, 2018-11-06 at 13:49 -0800, Nikunj Kela wrote: >> This patch allows the endianness of the JFSS2 filesystem to be >> specified by mount option 'force_endian=big|little|native'. If >> endia

Re: [PATCH] Make JFFS2 endianness configurable

2018-11-06 Thread Nikunj Kela (nkela)
Thanks for input. I have posted another patch with mount option: http://lists.infradead.org/pipermail/linux-mtd/2018-November/085252.html On 11/2/18, 2:23 PM, "Richard Weinberger" wrote: Am Freitag, 2. November 2018, 22:14:44 CET schrieb Daniel Walker: > > Make it a mount option and st

[PATCH] jffs2: implement mount option to configure endianness

2018-11-06 Thread Nikunj Kela
ps us in mounting BE jffs2 on LE kernel. Cc: xe-linux-exter...@cisco.com Signed-off-by: Nikunj Kela --- fs/jffs2/acl.c | 30 --- fs/jffs2/debug.c | 62 ++--- fs/jffs2/dir.c | 94 ++-- fs/jffs2/erase.c | 8 +- fs/jffs2/file.c| 48 +

[PATCH] Make JFFS2 endianness configurable

2018-11-01 Thread Nikunj Kela
endianness of the processor (ARM processors can be switched to either endianness at run-time). This patch is taken from: http://www.infradead.org/pipermail/linux-mtd/2006-January/014717.html Cc: xe-linux-exter...@cisco.com Signed-off-by: Rod Whitby Signed-off-by: Nikunj Kela --- fs/jffs2/Kconfig

[PATCH v3] arm64: add ARM64-specific support for flatmem

2018-07-06 Thread Nikunj Kela
Flatmem is useful in reducing kernel memory usage. One usecase is in kdump kernel. We are able to save ~14M by moving to flatmem scheme. Cc: xe-ker...@external.cisco.com Cc: Nikunj Kela Signed-off-by: Nikunj Kela --- arch/arm64/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a

Re: [PATCH v2] arm64: add ARM64-specific support for flatmem

2018-07-06 Thread Nikunj Kela (nkela)
it. Thanks, -Nikunj On 7/6/18, 10:05 AM, "Will Deacon" wrote: On Fri, Jul 06, 2018 at 10:02:15AM -0700, Nikunj Kela wrote: > Flatmem is useful in reducing kernel memory usage. > One usecase is in kdump kernel. We are able to save > ~14M by movin

[PATCH v2] arm64: add ARM64-specific support for flatmem

2018-07-06 Thread Nikunj Kela
Flatmem is useful in reducing kernel memory usage. One usecase is in kdump kernel. We are able to save ~14M by moving to flatmem scheme. Cc: xe-ker...@external.cisco.com Cc: Nikunj Kela Signed-off-by: Nikunj Kela --- arch/arm64/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a

Re: [PATCH] arm64: add ARM64-specific support for flatmem

2018-07-06 Thread Nikunj Kela (nkela)
00, Nikunj Kela wrote: > Cc: xe-ker...@external.cisco.com > Cc: Nikunj Kela > Signed-off-by: Nikunj Kela > --- > arch/arm64/Kconfig | 4 > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig

[PATCH] arm64: add ARM64-specific support for flatmem

2018-07-06 Thread Nikunj Kela
Cc: xe-ker...@external.cisco.com Cc: Nikunj Kela Signed-off-by: Nikunj Kela --- arch/arm64/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 42c090c..5e791f0 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -775,6 +775,10

Re: [PATCH 2/2] arm64: add support for 43bit physical address

2018-07-05 Thread Nikunj Kela (nkela)
I didn’t try FLATMEM. Thanks for advising, I enabled FLATMEM for ARM64 and am able to save ~14M. Will post a new patch for Kconfig changes. Thanks, -Nikunj On 7/5/18, 11:35 AM, "Catalin Marinas" wrote: On Tue, Jul 03, 2018 at 06:35:32PM +0000, Nikunj Kela (nkela) wrote:

Re: [PATCH 2/2] arm64: add support for 43bit physical address

2018-07-03 Thread Nikunj Kela (nkela)
Kela (nkela) Cc: Will Deacon; xe-ker...@external.cisco.com; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org Subject: Re: [PATCH 2/2] arm64: add support for 43bit physical address On Mon, Jul 02, 2018 at 02:04:51PM -0700, Nikunj Kela wrote: > This patch adds support for 43

[PATCH 1/2] arm64: add kconfig symbol to configure section size

2018-07-02 Thread Nikunj Kela
Currently, section size is fixed to 1024MB. This change adds a config that would allow it to be customized. This could be useful in reducing kernel memory usage. Cc: xe-ker...@external.cisco.com Cc: Nikunj Kela Signed-off-by: Nikunj Kela --- arch/arm64/Kconfig | 15

[PATCH 2/2] arm64: add support for 43bit physical address

2018-07-02 Thread Nikunj Kela
This patch adds support for 43bit physical address. Additionally, this patch adds support for 27bit section size. This is useful in reducing kernel memory usage. One usecase is in kdump kernel. Cc: xe-ker...@external.cisco.com Cc: Nikunj Kela Signed-off-by: Nikunj Kela --- arch/arm64/Kconfig