Re: [PATCH] [PATCH] of_reserved_mem: Increase the number of reserved regions

2020-10-05 Thread Phil Chang
n-Kuang Hu wrote: > Hi, Phil: > > Phil Chang 於 2020年10月4日 週日 下午1:51寫道: > > > > Certain SoCs need to support large amount of reserved memory > > regions, especially to follow the GKI rules from Google. > > In MTK new SoC requires more than 68 regions of reserved m

[PATCH] [PATCH] of_reserved_mem: Increase the number of reserved regions

2020-10-03 Thread Phil Chang
ff-by: Joe Liu Signed-off-by: YJ Chiang Signed-off-by: Alix Wu Signed-off-by: Phil Chang --- drivers/of/of_reserved_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/of_reserved_mem.c b/drivers/of/of_reserved_mem.c index 46b9371c8a33..595f0741dcef 100644

Re: Re: [PATCH] [PATCH] ARM64: Setup DMA32 zone size by bootargs

2020-09-24 Thread Phil Chang
Actually, In a embedded system with 3GB memory, the memory bus width is not the same among the 3GB. (The first 2GB is 48-bit wide, and the latter 1GB is 16-bit wide.) For memory throughput reason of hardware IPs, we need allocate memory from the first 2GB for the hardware IPs. And that is why we

[PATCH] [PATCH] ARM64: Setup DMA32 zone size by bootargs

2020-09-16 Thread Phil Chang
of architecture Signed-off-by: Alix Wu Signed-off-by: YJ Chiang Signed-off-by: Phil Chang --- Hi supplement the reason of this usage. Thanks. .../admin-guide/kernel-parameters.txt | 3 +++ arch/arm64/include/asm/memory.h | 2 ++ arch/arm64/mm/init.c

[PATCH] [PATCH] ARM64: Setup DMA32 zone size by bootargs

2020-09-16 Thread Phil Chang
this patch allowing the DMA32 zone be configurable in ARM64. Signed-off-by: Alix Wu Signed-off-by: YJ Chiang Signed-off-by: Phil Chang --- For some devices, the main memory split into 2 part due to the memory architecture, the efficient and less inefficient part. One of the use case is fine

[PATCH] [PATCH] ARM64: Setup DMA32 zone size by bootargs

2020-09-15 Thread Phil Chang
Allowing the DMA32 zone be configurable in ARM64 but at most 4Gb. Signed-off-by: Alix Wu Signed-off-by: YJ Chiang Signed-off-by: Phil Chang --- .../admin-guide/kernel-parameters.txt | 3 ++ arch/arm64/include/asm/memory.h | 2 + arch/arm64/mm/init.c

Re: Re: [PATCH] ARM64: Setup DMA32 zone size by bootargs

2020-08-16 Thread Phil Chang
>> this patch allowing the arm64 DMA zone be configurable. >> >> Signed-off-by: Alix Wu >> Signed-off-by: YJ Chiang >> Signed-off-by: Phil Chang >> --- >> Hi >> >> For some devices, the main memory split into 2 part due to the memory

[PATCH] ARM64: Setup DMA32 zone size by bootargs

2020-08-03 Thread Phil Chang
this patch allowing the arm64 DMA zone be configurable. Signed-off-by: Alix Wu Signed-off-by: YJ Chiang Signed-off-by: Phil Chang --- Hi For some devices, the main memory split into 2 part due to the memory architecture, the efficient and less inefficient part. One of the use case is fine