Re: [PATCH v14 01/11] x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN

2021-03-28 Thread chenzhou
On 2021/3/2 15:43, Baoquan He wrote: > On 02/26/21 at 09:38am, Eric W. Biederman wrote: >> chenzhou writes: >> >>> On 2021/2/25 15:25, Baoquan He wrote: >>>> On 02/24/21 at 02:19pm, Catalin Marinas wrote: >>>>> On Sat, Jan 30, 2021 at 03:10:1

Re: [PATCH v14 08/11] arm64: kdump: reimplement crashkernel=X

2021-02-26 Thread chenzhou
On 2021/2/26 18:31, chenzhou wrote: > > On 2021/2/25 0:04, Catalin Marinas wrote: >> On Sat, Jan 30, 2021 at 03:10:22PM +0800, Chen Zhou wrote: >>> There are following issues in arm64 kdump: >>> 1. We use crashkernel=X to reserve crashkernel below 4G, which >>

Re: [PATCH v14 08/11] arm64: kdump: reimplement crashkernel=X

2021-02-26 Thread chenzhou
On 2021/2/25 0:04, Catalin Marinas wrote: > On Sat, Jan 30, 2021 at 03:10:22PM +0800, Chen Zhou wrote: >> There are following issues in arm64 kdump: >> 1. We use crashkernel=X to reserve crashkernel below 4G, which >> will fail when there is no enough low memory. >> 2. If reserving crashkernel a

Re: [PATCH v14 02/11] x86: kdump: make the lower bound of crash kernel reservation consistent

2021-02-25 Thread chenzhou
On 2021/2/25 23:44, Baoquan He wrote: > On 02/25/21 at 02:42pm, Catalin Marinas wrote: >> On Thu, Feb 25, 2021 at 03:08:46PM +0800, Baoquan He wrote: >>> On 02/24/21 at 02:35pm, Catalin Marinas wrote: On Sat, Jan 30, 2021 at 03:10:16PM +0800, Chen Zhou wrote: > diff --git a/arch/x86/ker

Re: [PATCH v14 01/11] x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN

2021-02-25 Thread chenzhou
On 2021/2/25 15:25, Baoquan He wrote: > On 02/24/21 at 02:19pm, Catalin Marinas wrote: >> On Sat, Jan 30, 2021 at 03:10:15PM +0800, Chen Zhou wrote: >>> Move CRASH_ALIGN to header asm/kexec.h for later use. Besides, the >>> alignment of crash kernel regions in x86 is 16M(CRASH_ALIGN), but >>> fu

Re: [PATCH v14 11/11] kdump: update Documentation about crashkernel

2021-02-19 Thread chenzhou
On 2021/2/18 16:40, Baoquan He wrote: > On 01/30/21 at 03:10pm, Chen Zhou wrote: >> For arm64, the behavior of crashkernel=X has been changed, which >> tries low allocation in DMA zone and fall back to high allocation >> if it fails. >> >> We can also use "crashkernel=X,high" to select a high re

Re: [PATCH v14 09/11] x86, arm64: Add ARCH_WANT_RESERVE_CRASH_KERNEL config

2021-02-19 Thread chenzhou
On 2021/2/18 16:35, Baoquan He wrote: > On 01/30/21 at 03:10pm, Chen Zhou wrote: >> We make the functions reserve_crashkernel[_low]() as generic for >> x86 and arm64. Since reserve_crashkernel[_low]() implementations >> are quite similar on other architectures as well, we can have more >> users

Re: [PATCH v14 06/11] x86/elf: Move vmcore_elf_check_arch_cross to arch/x86/include/asm/elf.h

2021-02-17 Thread chenzhou
On 2021/2/18 14:31, Baoquan He wrote: > On 01/30/21 at 03:10pm, Chen Zhou wrote: >> Move macro vmcore_elf_check_arch_cross from arch/x86/include/asm/kexec.h >> to arch/x86/include/asm/elf.h to fix the following compiling warning: >> >> make ARCH=i386 >> In file included from arch/x86/kernel/setu

Re: [PATCH v14 00/11] support reserving crashkernel above 4G on arm64 kdump

2021-02-07 Thread chenzhou
Hi all, Friendly ping... On 2021/1/30 15:10, Chen Zhou wrote: > There are following issues in arm64 kdump: > 1. We use crashkernel=X to reserve crashkernel below 4G, which > will fail when there is no enough low memory. > 2. If reserving crashkernel above 4G, in this case, crash dump > kernel wi

Re: [PATCH v14 11/11] kdump: update Documentation about crashkernel

2021-02-03 Thread chenzhou
Hi Randy, On 2021/1/31 1:53, Randy Dunlap wrote: > Hi-- > > On 1/29/21 11:10 PM, Chen Zhou wrote: >> --- >> Documentation/admin-guide/kdump/kdump.rst | 22 --- >> .../admin-guide/kernel-parameters.txt | 11 -- >> 2 files changed, 28 insertions(+), 5 deletions(

Re: [PATCH 0/2] arm64: mm: fix kdump broken with ZONE_DMA reintroduced

2021-01-20 Thread chenzhou
Hi Will, Catalin, On 2021/1/20 21:07, Catalin Marinas wrote: > On Wed, Jan 20, 2021 at 12:40:55PM +, Will Deacon wrote: >> On Sat, Dec 26, 2020 at 11:35:55AM +0800, Chen Zhou wrote: >>> If the memory reserved for crash dump kernel falled in ZONE_DMA32, >>> the devices in crash dump kernel nee

Re: [PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param()

2021-01-15 Thread chenzhou
Hi Michal, On 2021/1/15 18:08, Michal Koutný wrote: > On Fri, Jan 15, 2021 at 09:55:43AM +0800, chenzhou > wrote: >> Yeah, this will select all enabled controllers, but which doesn't the >> behavior we want. > I see what the issue is now. > >> See above. Ju

Re: [PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param()

2021-01-14 Thread chenzhou
On 2021/1/15 11:17, Tejun Heo wrote: > Hello, > > On Fri, Jan 15, 2021 at 09:55:43AM +0800, chenzhou wrote: >> Yeah, this will select all enabled controllers, but which doesn't the >> behavior we want. >> I think the case should return error with information &qu

Re: [PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param()

2021-01-14 Thread chenzhou
On 2021/1/15 0:54, Michal Koutný wrote: > On Thu, Jan 14, 2021 at 10:08:19PM +0800, chenzhou > wrote: >> In this case, at the beginning of function check_cgroupfs_options(), the mask >> ctx->subsys_mask will be 0. And if we mount without 'none' and

Re: [PATCH v2] cgroup-v1: add disabled controller check in cgroup1_parse_param()

2021-01-14 Thread chenzhou
Hi Michal, On 2021/1/14 21:12, Michal Koutný wrote: > Hello Chen. > > On Fri, Dec 18, 2020 at 02:17:55PM +0800, Chen Zhou > wrote: >> When mounting a cgroup hierarchy with disabled controller in cgroup v1, >> all available controllers will be attached. > Not sure if I understand the situation --

Re: [PATCH 2/2] arm64: mm: fix kdump broken with ZONE_DMA reintroduced

2021-01-07 Thread chenzhou
On 2021/1/7 22:25, Catalin Marinas wrote: > On Sat, Dec 26, 2020 at 11:34:58AM +0100, Nicolas Saenz Julienne wrote: >> On Sat, 2020-12-26 at 11:35 +0800, Chen Zhou wrote: >>> If the memory reserved for crash dump kernel falled in ZONE_DMA32, >>> the devices in crash dump kernel need to use ZONE_

Re: [PATCH 2/2] arm64: mm: fix kdump broken with ZONE_DMA reintroduced

2020-12-27 Thread chenzhou
Hi Nicolas, Thanks for your review. On 2020/12/26 18:34, Nicolas Saenz Julienne wrote: > Hi Chen, thanks for looking at this. > > On Sat, 2020-12-26 at 11:35 +0800, Chen Zhou wrote: >> If the memory reserved for crash dump kernel falled in ZONE_DMA32, >> the devices in crash dump kernel need to

[QUESTION] Dying cgroups in subsystem cpu, pids and named hierarchy systemd

2020-12-14 Thread chenzhou
Hi all, When i do some tests with kernel-4.19.x,i found some dying cgroups. There are dying cgroup in subsystem cpu/cpuacct, memory, pids and named hierarchy systemd. The root cause of dying cgroups in memory subsystem is that some charged pages aren't gone. I don't figure out why there are d

Re: [PATCH] selinux: Fix error return code in sel_ib_pkey_sid_slow()

2020-11-12 Thread chenzhou
On 2020/11/12 16:55, Chen Zhou wrote: > Fix to return a negative error code from the error handling case > instead of 0 in function sel_ib_pkey_sid_slow(), as done elsewhere > in this function. > > Fixes: 409dcf31538a ("selinux: Add a cache for quicker retreival of PKey > SIDs") > Reported-by:

Re: [PATCH] usb: gadget: mass_storage: fix error return code in msg_bind()

2020-11-12 Thread chenzhou
On 2020/11/12 16:53, Chen Zhou wrote: > Fix to return a negative error code from the error handling case > instead of 0 in function msg_bind(), as done elsewhere in this > function. > > Fixes: d86788979761 ("usb: gadget: mass_storage: allocate and init otg > descriptor by otg capabilities") > R

Re: [PATCH v13 6/8] arm64: kdump: reimplement crashkernel=X

2020-11-12 Thread chenzhou
On 2020/11/12 16:36, Baoquan He wrote: > On 11/12/20 at 10:25am, Mike Rapoport wrote: >> On Wed, Nov 11, 2020 at 09:54:48PM +0800, Baoquan He wrote: >>> On 11/11/20 at 09:27pm, chenzhou wrote: >>>> Hi Baoquan, >>> ... >>>>>

Re: [PATCH v13 4/8] x86: kdump: move reserve_crashkernel[_low]() into crash_core.c

2020-11-12 Thread chenzhou
On 2020/11/12 16:11, Mike Rapoport wrote: > On Sat, Oct 31, 2020 at 03:44:33PM +0800, Chen Zhou wrote: >> Make the functions reserve_crashkernel[_low]() as generic. >> Arm64 will use these to reimplement crashkernel=X. >> >> Signed-off-by: Chen Zhou >> Tested-by: John Donnelly >> --- >> arch/

Re: [PATCH v13 1/8] x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN

2020-11-12 Thread chenzhou
On 2020/11/12 15:58, Mike Rapoport wrote: > Hi, > > On Sat, Oct 31, 2020 at 03:44:30PM +0800, Chen Zhou wrote: >> Move CRASH_ALIGN to header asm/kexec.h and replace the hard-coded >> alignment with macro CRASH_ALIGN in function reserve_crashkernel(). >> >> Suggested-by: Dave Young >> Signed-off

Re: [PATCH v13 0/8] support reserving crashkernel above 4G on arm64 kdump

2020-11-11 Thread chenzhou
Hi Baoquan, Bhupesh, On 2020/11/11 11:01, Baoquan He wrote: > Hi Zhou, Bhupesh > > On 10/31/20 at 03:44pm, Chen Zhou wrote: >> There are following issues in arm64 kdump: >> 1. We use crashkernel=X to reserve crashkernel below 4G, which >> will fail when there is no enough low memory. >> 2. If res

Re: [PATCH v13 6/8] arm64: kdump: reimplement crashkernel=X

2020-11-11 Thread chenzhou
Hi Baoquan, On 2020/11/11 9:59, Baoquan He wrote: > On 10/31/20 at 03:44pm, Chen Zhou wrote: >> There are following issues in arm64 kdump: >> 1. We use crashkernel=X to reserve crashkernel below 4G, which >> will fail when there is no enough low memory. >> 2. If reserving crashkernel above 4G, in

Re: [PATCH v13 1/8] x86: kdump: replace the hard-coded alignment with macro CRASH_ALIGN

2020-11-11 Thread chenzhou
Hi Baoquan, On 2020/11/11 9:38, Baoquan He wrote: > On 10/31/20 at 03:44pm, Chen Zhou wrote: >> Move CRASH_ALIGN to header asm/kexec.h and replace the hard-coded >> alignment with macro CRASH_ALIGN in function reserve_crashkernel(). > Seems you tell what you have done in this patch, but don't lik

Re: [PATCH v13 0/8] support reserving crashkernel above 4G on arm64 kdump

2020-11-09 Thread chenzhou
Hi all, Friendly ping... On 2020/10/31 15:44, Chen Zhou wrote: > There are following issues in arm64 kdump: > 1. We use crashkernel=X to reserve crashkernel below 4G, which > will fail when there is no enough low memory. > 2. If reserving crashkernel above 4G, in this case, crash dump > kernel w

Re: [PATCH v12 0/9] support reserving crashkernel above 4G on arm64 kdump

2020-10-18 Thread chenzhou
Hi Bhupesh, On 2020/10/7 15:07, Bhupesh Sharma wrote: > Hi Catalin, > > On Tue, Oct 6, 2020 at 11:30 PM Catalin Marinas > wrote: >> On Mon, Oct 05, 2020 at 11:12:10PM +0530, Bhupesh Sharma wrote: >>> I think my earlier email with the test results on this series bounced >>> off the mailing list

Re: [PATCH v12 9/9] kdump: update Documentation about crashkernel

2020-10-05 Thread chenzhou
Hi Catalin, On 2020/10/6 1:19, Catalin Marinas wrote: > On Mon, Sep 07, 2020 at 09:47:45PM +0800, Chen Zhou wrote: >> diff --git a/Documentation/admin-guide/kdump/kdump.rst >> b/Documentation/admin-guide/kdump/kdump.rst >> index 2da65fef2a1c..549611abc581 100644 >> --- a/Documentation/admin-guid

Re: [PATCH v12 0/9] support reserving crashkernel above 4G on arm64 kdump

2020-10-05 Thread chenzhou
Hi Bhupesh, On 2020/10/6 1:42, Bhupesh Sharma wrote: > Hi Catalin, Chen, > > On Mon, Oct 5, 2020 at 10:39 PM Catalin Marinas > wrote: >> On Sat, Sep 12, 2020 at 06:44:29AM -0500, John Donnelly wrote: >>> On 9/7/20 8:47 AM, Chen Zhou wrote: Chen Zhou (9): x86: kdump: move CRASH_ALIG

Re: [PATCH v12 7/9] kdump: add threshold for the required memory

2020-10-05 Thread chenzhou
On 2020/10/6 1:12, Catalin Marinas wrote: > On Mon, Sep 07, 2020 at 09:47:43PM +0800, Chen Zhou wrote: >> diff --git a/kernel/crash_core.c b/kernel/crash_core.c >> index 3f735cb37ace..d11d597a470d 100644 >> --- a/kernel/crash_core.c >> +++ b/kernel/crash_core.c >> @@ -378,6 +378,15 @@ int __init

Re: [PATCH v12 6/9] arm64: kdump: reimplement crashkernel=X

2020-10-05 Thread chenzhou
On 2020/10/6 1:16, Catalin Marinas wrote: > On Mon, Sep 07, 2020 at 09:47:42PM +0800, Chen Zhou wrote: >> diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c >> index 53acbeca4f57..1b24072f2bae 100644 >> --- a/arch/arm64/kernel/setup.c >> +++ b/arch/arm64/kernel/setup.c >> @@ -238

Re: [PATCH v12 3/9] x86: kdump: use macro CRASH_ADDR_LOW_MAX in functions reserve_crashkernel[_low]()

2020-09-18 Thread chenzhou
Hi Catalin, On 2020/9/18 16:59, chenzhou wrote: > Hi Baoquan, > > On 2020/9/18 15:25, Baoquan He wrote: >> Hi, >> >> On 09/07/20 at 09:47pm, Chen Zhou wrote: >>> To make the functions reserve_crashkernel[_low]() as generic, >>> replace some har

Re: [PATCH v12 3/9] x86: kdump: use macro CRASH_ADDR_LOW_MAX in functions reserve_crashkernel[_low]()

2020-09-18 Thread chenzhou
Hi Baoquan, On 2020/9/18 15:25, Baoquan He wrote: > Hi, > > On 09/07/20 at 09:47pm, Chen Zhou wrote: >> To make the functions reserve_crashkernel[_low]() as generic, >> replace some hard-coded numbers with macro CRASH_ADDR_LOW_MAX. >> >> Signed-off-by: Chen Zhou >> --- >> arch/x86/kernel/setup.c

Re: [PATCH v12 3/9] x86: kdump: use macro CRASH_ADDR_LOW_MAX in functions reserve_crashkernel[_low]()

2020-09-17 Thread chenzhou
Hi Dave, On 2020/9/18 11:01, Dave Young wrote: > On 09/07/20 at 09:47pm, Chen Zhou wrote: >> To make the functions reserve_crashkernel[_low]() as generic, >> replace some hard-coded numbers with macro CRASH_ADDR_LOW_MAX. >> >> Signed-off-by: Chen Zhou >> --- >> arch/x86/kernel/setup.c | 11

Re: [PATCH v12 0/9] support reserving crashkernel above 4G on arm64 kdump

2020-09-15 Thread chenzhou
On 2020/9/7 21:47, Chen Zhou wrote: > There are following issues in arm64 kdump: > 1. We use crashkernel=X to reserve crashkernel below 4G, which > will fail when there is no enough low memory. > 2. If reserving crashkernel above 4G, in this case, crash dump > kernel will boot failure because th

Re: [PATCH v12 1/9] x86: kdump: move CRASH_ALIGN to 2M

2020-09-07 Thread chenzhou
On 2020/9/8 9:21, Dave Young wrote: > Hi, > > On 09/07/20 at 09:47pm, Chen Zhou wrote: >> CONFIG_PHYSICAL_ALIGN can be selected from 2M to 16M and default >> value is 2M, so move CRASH_ALIGN to 2M, with smaller value reservation >> can have more chance to succeed. > Seems still some misunderstan

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread chenzhou
On 2020/9/4 12:16, Dave Young wrote: > On 09/04/20 at 12:02pm, chenzhou wrote: >> >> On 2020/9/4 11:10, Dave Young wrote: >>> On 09/04/20 at 11:04am, Dave Young wrote: >>>> On 09/03/20 at 07:26pm, chenzhou wrote: >>>>> Hi Catalin, >&g

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread chenzhou
On 2020/9/4 11:10, Dave Young wrote: > On 09/04/20 at 11:04am, Dave Young wrote: >> On 09/03/20 at 07:26pm, chenzhou wrote: >>> Hi Catalin, >>> >>> >>> On 2020/9/3 1:09, Catalin Marinas wrote: >>>> On Sat, Aug 01, 2020 at 09:08:54PM +0

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread chenzhou
Hi Catalin, On 2020/9/3 1:09, Catalin Marinas wrote: > On Sat, Aug 01, 2020 at 09:08:54PM +0800, Chen Zhou wrote: >> There are following issues in arm64 kdump: >> 1. We use crashkernel=X to reserve crashkernel below 4G, which >> will fail when there is no enough low memory. >> 2. If reserving cra

Re: [PATCH v11 3/5] arm64: kdump: reimplement crashkernel=X

2020-09-03 Thread chenzhou
On 2020/9/3 19:26, chenzhou wrote: > Hi Catalin, > > > On 2020/9/3 1:09, Catalin Marinas wrote: >> On Sat, Aug 01, 2020 at 09:08:54PM +0800, Chen Zhou wrote: >>> There are following issues in arm64 kdump: >>> 1. We use crashkernel=X to reserve crashkerne

Re: [PATCH v11 5/5] kdump: update Documentation about crashkernel

2020-09-03 Thread chenzhou
On 2020/9/3 1:13, Catalin Marinas wrote: > On Sat, Aug 01, 2020 at 09:08:56PM +0800, Chen Zhou wrote: >> diff --git a/Documentation/admin-guide/kdump/kdump.rst >> b/Documentation/admin-guide/kdump/kdump.rst >> index 2da65fef2a1c..4b58f97351d5 100644 >> --- a/Documentation/admin-guide/kdump/kdum

Re: [PATCH v11 5/5] kdump: update Documentation about crashkernel

2020-08-27 Thread chenzhou
Hi Catalin, On 2020/8/19 20:03, Dave Young wrote: > On 08/18/20 at 03:07pm, chenzhou wrote: >> >> On 2020/8/10 14:03, Dave Young wrote: >>> Hi, >>> >>>>> Previously I remember we talked about to use similar logic as X86, but I >>>>>

Re: [PATCH v11 5/5] kdump: update Documentation about crashkernel

2020-08-18 Thread chenzhou
On 2020/8/10 14:03, Dave Young wrote: > Hi, > >>> Previously I remember we talked about to use similar logic as X86, but I >>> remember you mentioned on some arm64 platform there could be no low >>> memory at all. Is this not a problem now for the fallback? Just be >>> curious, thanks for the

Re: [PATCH v11 5/5] kdump: update Documentation about crashkernel

2020-08-09 Thread chenzhou
On 2020/8/8 18:02, Dave Young wrote: > On 08/01/20 at 09:08pm, Chen Zhou wrote: >> Now the behavior of crashkernel=X has been changed, which tries low >> allocation in ZONE_DMA, and fall back to high allocation if it fails. >> >> If requized size X is too large and leads to very little free memory

Re: [PATCH v10 4/5] arm64: kdump: fix kdump broken with ZONE_DMA reintroduced

2020-07-30 Thread chenzhou
Hi Catalin, On 2020/7/29 23:20, Catalin Marinas wrote: > On Wed, Jul 29, 2020 at 10:14:32PM +0800, chenzhou wrote: >> On 2020/7/29 19:58, Catalin Marinas wrote: >>> On Wed, Jul 29, 2020 at 11:52:39AM +0800, chenzhou wrote: >>>> How about like this: >>>

Re: [PATCH v10 4/5] arm64: kdump: fix kdump broken with ZONE_DMA reintroduced

2020-07-29 Thread chenzhou
Hi Catalin, On 2020/7/29 19:58, Catalin Marinas wrote: > Hi Chen, > > On Wed, Jul 29, 2020 at 11:52:39AM +0800, chenzhou wrote: >> On 2020/7/28 1:30, Catalin Marinas wrote: >>> Anyway, there are two series solving slightly different issues with >>> kdump reservati

Re: [PATCH v10 4/5] arm64: kdump: fix kdump broken with ZONE_DMA reintroduced

2020-07-28 Thread chenzhou
Hi Catalin, On 2020/7/28 1:30, Catalin Marinas wrote: > On Fri, Jul 03, 2020 at 11:58:15AM +0800, Chen Zhou wrote: >> commit 1a8e1cef7603 ("arm64: use both ZONE_DMA and ZONE_DMA32") >> broken the arm64 kdump. If the memory reserved for crash dump kernel >> falled in ZONE_DMA32, the devices in cr

Re: [PATCH v10 0/5] support reserving crashkernel above 4G on arm64 kdump

2020-07-03 Thread chenzhou
Hi Bhupesh, On 2020/7/3 15:26, Bhupesh Sharma wrote: > Hi Chen, > > On Fri, Jul 3, 2020 at 9:24 AM Chen Zhou wrote: >> This patch series enable reserving crashkernel above 4G in arm64. >> >> There are following issues in arm64 kdump: >> 1. We use crashkernel=X to reserve crashkernel below 4G, wh

Re: [PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-02 Thread chenzhou
Hi Bhupesh, On 2020/7/3 3:22, Bhupesh Sharma wrote: > Hi Will, > > On Thu, Jul 2, 2020 at 1:20 PM Will Deacon wrote: >> On Thu, Jul 02, 2020 at 03:44:20AM +0530, Bhupesh Sharma wrote: >>> commit bff3b04460a8 ("arm64: mm: reserve CMA and crashkernel in >>> ZONE_DMA32") allocates crashkernel for a

Re: [PATCH v9 5/5] kdump: update Documentation about crashkernel on arm64

2020-07-02 Thread chenzhou
Hi Dave, On 2020/7/2 10:59, Dave Young wrote: > Hi Chen, > On 06/28/20 at 04:34pm, Chen Zhou wrote: >> Now we support crashkernel=X,[low] on arm64, update the Documentation. >> We could use parameters "crashkernel=X crashkernel=Y,low" to reserve >> memory above 4G. >> >> Signed-off-by: Chen Zhou

Re: [PATCH v8 5/5] dt-bindings: chosen: Document linux,low-memory-range for arm64 kdump

2020-06-19 Thread chenzhou
Hi James, Rob, On 2020/5/30 0:11, James Morse wrote: > Hi guys, > > On 26/05/2020 22:18, Rob Herring wrote: >> On Fri, May 22, 2020 at 11:24:11AM +0800, chenzhou wrote: >>> On 2020/5/21 21:29, Rob Herring wrote: >>>> On Thu, May 21, 2020 at 3:35 AM Chen Zhou

Re: [PATCH v8 0/5] support reserving crashkernel above 4G on arm64 kdump

2020-06-19 Thread chenzhou
On 2020/6/19 10:32, John Donnelly wrote: > > On 6/4/20 12:01 PM, Nicolas Saenz Julienne wrote: >> On Thu, 2020-06-04 at 01:17 +0530, Bhupesh Sharma wrote: >>> Hi All, >>> >>> On Wed, Jun 3, 2020 at 9:03 PM John Donnelly >>> wrote: >&g

Re: [PATCH v8 0/5] support reserving crashkernel above 4G on arm64 kdump

2020-06-03 Thread chenzhou
Hi, On 2020/6/3 19:47, Prabhakar Kushwaha wrote: > Hi Chen, > > On Tue, Jun 2, 2020 at 8:12 PM John Donnelly > wrote: >> >> >>> On Jun 2, 2020, at 12:38 AM, Prabhakar Kushwaha >>> wrote: >>> >>> On Tue, Jun 2, 2020 at 3:29 AM John Donnelly >>> wrote: Hi . See below ! > On Jun

Re: [PATCH v8 0/5] support reserving crashkernel above 4G on arm64 kdump

2020-05-25 Thread chenzhou
Hi Baoquan, Thanks for your suggestions. You are right, some details should be made in the commit log. Thanks, Chen Zhou On 2020/5/26 9:42, Baoquan He wrote: > On 05/21/20 at 05:38pm, Chen Zhou wrote: >> This patch series enable reserving crashkernel above 4G in arm64. >> >> There are follo

Re: [PATCH v8 5/5] dt-bindings: chosen: Document linux,low-memory-range for arm64 kdump

2020-05-21 Thread chenzhou
Hi Rob, On 2020/5/21 21:29, Rob Herring wrote: > On Thu, May 21, 2020 at 3:35 AM Chen Zhou wrote: >> Add documentation for DT property used by arm64 kdump: >> linux,low-memory-range. >> "linux,low-memory-range" is an another memory region used for crash >> dump kernel devices. >> >> Signed-off-by

Re: [PATCH v7 0/4] support reserving crashkernel above 4G on arm64 kdump

2020-05-19 Thread chenzhou
Hi Arnd, On 2020/5/19 18:21, Arnd Bergmann wrote: > On Thu, Mar 26, 2020 at 4:10 AM Chen Zhou wrote: >> Hi all, >> >> Friendly ping... > I was asked about this patch series, and see that you last posted it in > December. I think you should rebase it to linux-5.7-rc6 and post the > entire series a

Re: [PATCH -next 0/2] sparc: use snprintf() in show() methods

2020-05-10 Thread chenzhou
Sorry, i made a mistake, should be scnprintf(). On 2020/5/9 19:40, Joe Perches wrote: > On Sat, 2020-05-09 at 17:18 +0800, Chen Zhou wrote: >> snprintf() returns the number of bytes that would be written, >> which may be greater than the the actual length to be written. > [] >> Chen Zhou (2): >>