Re: [PATCH V6 0/6] RISC-V fixups to work with crash tool

2022-10-12 Thread Conor Dooley
On 13 October 2022 03:28:09 IST, Xianting Tian wrote: > >在 2022/10/12 下午5:52, Conor Dooley 写道: >> On Wed, Oct 12, 2022 at 05:42:37PM +0800, Xianting Tian wrote: >>> 在 2022/8/12 上午12:17, Palmer Dabbelt 写道: On Thu, 11 Aug 2022 00:41:44 PDT (-0700), xianting.t...@linux.alibaba.com

Re: [PATCH V6 0/6] RISC-V fixups to work with crash tool

2022-10-12 Thread Xianting Tian
在 2022/10/12 下午5:52, Conor Dooley 写道: On Wed, Oct 12, 2022 at 05:42:37PM +0800, Xianting Tian wrote: 在 2022/8/12 上午12:17, Palmer Dabbelt 写道: On Thu, 11 Aug 2022 00:41:44 PDT (-0700), xianting.t...@linux.alibaba.com wrote: I ever sent the patch 1 in the link:

Re: [PATCH v12 7/7] x86/crash: Add x86 crash hotplug support

2022-10-12 Thread Eric DeVolder
On 10/12/22 15:19, Eric DeVolder wrote: On 10/12/22 12:46, Borislav Petkov wrote: On Sat, Oct 08, 2022 at 10:35:14AM +0800, Baoquan He wrote: Memory hptlug is not limited by a certin or a max number of memory regions, but limited by how large of the linear mapping range which physical can

Re: [PATCH v12 7/7] x86/crash: Add x86 crash hotplug support

2022-10-12 Thread Borislav Petkov
On Wed, Oct 12, 2022 at 03:19:19PM -0500, Eric DeVolder wrote: > We run here QEMU with the ability for 1024 DIMM slots. QEMU, haha. What is the highest count of DIMM slots which are hotpluggable on a real, *physical* system today? Are you saying you can have 1K DIMM slots on a board? I hardly

Re: [PATCH v12 7/7] x86/crash: Add x86 crash hotplug support

2022-10-12 Thread Eric DeVolder
On 10/12/22 12:46, Borislav Petkov wrote: On Sat, Oct 08, 2022 at 10:35:14AM +0800, Baoquan He wrote: Memory hptlug is not limited by a certin or a max number of memory regions, but limited by how large of the linear mapping range which physical can be mapped into. Memory hotplug is not

Re: [PATCH v12 7/7] x86/crash: Add x86 crash hotplug support

2022-10-12 Thread Borislav Petkov
On Sat, Oct 08, 2022 at 10:35:14AM +0800, Baoquan He wrote: > Memory hptlug is not limited by a certin or a max number of memory > regions, but limited by how large of the linear mapping range which > physical can be mapped into. Memory hotplug is not limited by some abstract range but by the

Re: [PATCH v12 7/7] x86/crash: Add x86 crash hotplug support

2022-10-12 Thread Eric DeVolder
On 10/11/22 23:55, Sourabh Jain wrote: If kmap_local_page() works for all archs, then I'm happy to drop these arch_ variants and use it directly. Yes, pls do. I'll check with Sourabh to see if PPC can work with kmap_local_page(). I think kmap_local_page do support on  PowerPC. But can

Re: [PATCH v12 7/7] x86/crash: Add x86 crash hotplug support

2022-10-12 Thread Eric DeVolder
On 9/30/22 12:40, Borislav Petkov wrote: On Fri, Sep 30, 2022 at 12:11:26PM -0500, Eric DeVolder wrote: There is of course a way to enumerate the memory regions in use on the machine, that is not what this code needs. In order to compute the maximum buffer size needed (this buffer size is

Re: [PATCH V6 0/6] RISC-V fixups to work with crash tool

2022-10-12 Thread Conor Dooley
On Wed, Oct 12, 2022 at 05:42:37PM +0800, Xianting Tian wrote: > > 在 2022/8/12 上午12:17, Palmer Dabbelt 写道: > > On Thu, 11 Aug 2022 00:41:44 PDT (-0700), > > xianting.t...@linux.alibaba.com wrote: > > > I ever sent the patch 1 in the link: > > >

Re: [PATCH V6 0/6] RISC-V fixups to work with crash tool

2022-10-12 Thread Xianting Tian
在 2022/8/12 上午12:17, Palmer Dabbelt 写道: On Thu, 11 Aug 2022 00:41:44 PDT (-0700), xianting.t...@linux.alibaba.com wrote: I ever sent the patch 1 in the link: https://patchwork.kernel.org/project/linux-riscv/patch/20220708073150.352830-3-xianting.t...@linux.alibaba.com/ And patch 2,3 in the