Re: [PATCH v23 9/9] Documentation: dt: chosen properties for arm64 kdump

2016-07-27 Thread Rob Herring
On Tue, Jul 26, 2016 at 05:02:06PM +0900, AKASHI Takahiro wrote: > From: James Morse > > Add documentation for > linux,crashkernel-base and crashkernel-size, > linux,usable-memory-range, and > linux,elfcorehdr > used by arm64 kexec/kdump to decribe the kdump reserved area, and >

Re: [PATCH v24 9/9] Documentation: dt: chosen properties for arm64 kdump

2016-08-19 Thread Rob Herring
On Tue, Aug 09, 2016 at 10:57:47AM +0900, AKASHI Takahiro wrote: > From: James Morse > > Add documentation for > linux,crashkernel-base and crashkernel-size, > linux,usable-memory-range, and > linux,elfcorehdr > used by arm64 kexec/kdump to decribe the kdump reserved area, and >

Re: [PATCH v24 9/9] Documentation: dt: chosen properties for arm64 kdump

2016-08-30 Thread Rob Herring
On Sun, Aug 21, 2016 at 11:28 PM, AKASHI Takahiro wrote: > Rob, > [Cc: Mark] > > On Fri, Aug 19, 2016 at 08:26:41AM -0500, Rob Herring wrote: >> On Tue, Aug 09, 2016 at 10:57:47AM +0900, AKASHI Takahiro wrote: >> > From: James Morse >> > >> > Add docu

Re: [PATCH v26 7/7] Documentation: dt: chosen properties for arm64 kdump

2016-09-16 Thread Rob Herring
's location within it. > > Signed-off-by: James Morse > [takahiro.aka...@linaro.org: added "linux,crashkernel-base" and "-size" ] > Signed-off-by: AKASHI Takahiro > --- > Documentation/devicetree/bindings/chosen.txt | 30 > ++++++++

Re: [PATCH v28 9/9] Documentation: dt: chosen properties for arm64 kdump

2016-11-30 Thread Rob Herring
ot;-size" ] > > Signed-off-by: AKASHI Takahiro > > Cc: devicet...@vger.kernel.org > > Cc: Rob Herring > > Cc: Mark Rutland > > Rob, Mark, are you ok with this patch? I'm leaving this one to Mark. Rob ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec

Re: [PATCH v9 07/11] arm64: kexec_file: add crash dump support

2018-05-18 Thread Rob Herring
On Tue, May 15, 2018 at 06:12:59PM +0100, James Morse wrote: > Hi guys, > > (CC: +RobH, devicetree list) Thanks. > On 25/04/18 07:26, AKASHI Takahiro wrote: > > Enabling crash dump (kdump) includes > > * prepare contents of ELF header of a core dump file, /proc/vmcore, > > using crash_prepare_

Re: [PATCH v9 07/11] arm64: kexec_file: add crash dump support

2018-05-24 Thread Rob Herring
On Mon, May 21, 2018 at 5:14 AM, AKASHI Takahiro wrote: > Hi Rob, > > On Fri, May 18, 2018 at 10:35:52AM -0500, Rob Herring wrote: >> On Tue, May 15, 2018 at 06:12:59PM +0100, James Morse wrote: >> > Hi guys, >> > >> > (CC: +RobH, devicetree list) >&

Re: [PATCH v15 06/16] of/fdt: add helper functions for handling properties

2018-09-28 Thread Rob Herring
+David Gibson On Fri, Sep 28, 2018 at 1:48 AM AKASHI Takahiro wrote: > > These functions will be used later to handle kexec-specific properties > in arm64's kexec_file implementation. > > Signed-off-by: AKASHI Takahiro > Cc: Rob Herring > Cc: Frank Rowand > C

Re: [PATCH v15 06/16] of/fdt: add helper functions for handling properties

2018-10-05 Thread Rob Herring
On Thu, Oct 4, 2018 at 10:07 PM AKASHI, Takahiro wrote: > > Rob, > > # I haven't replied to this comment yet. > > On Fri, Sep 28, 2018 at 08:44:42AM -0500, Rob Herring wrote: > > +David Gibson > > > > On Fri, Sep 28, 2018 at 1:48 AM AKASHI Takahiro > &

Re: [PATCH v16 06/16] lib: fdt: add a helper function for handling memory range property

2018-12-06 Thread Rob Herring
hort term, but it still needs to go upstream. Otherwise, the implementation looks fine to me. > Signed-off-by: AKASHI Takahiro > Cc: Rob Herring > Cc: Frank Rowand > Cc: devicet...@vger.kernel.org > --- > include/linux/libfdt.h | 26 > lib/Make

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

2020-05-21 Thread Rob Herring
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: Chen Zhou > --- > Documentation/devicetree/binding

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

2020-05-26 Thread Rob Herring
On Fri, May 22, 2020 at 11:24:11AM +0800, chenzhou wrote: > Hi Rob, +James M (It's nice to Cc folks if you mention/quote them) > 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

Re: [PATCH 05/10] arm64: Convert dts to use reserved-memory nodes

2014-11-03 Thread Rob Herring
Adding Leif... On Fri, Oct 31, 2014 at 6:44 PM, Geoff Levand wrote: > Hi, > > On Fri, 2014-10-24 at 13:27 +0100, Mark Rutland wrote: >> On Fri, Oct 24, 2014 at 11:59:38AM +0100, Grant Likely wrote: >> > On Fri, Oct 24, 2014 at 11:51 AM, Mark Rutland >> > wrote: >> > > On Fri, Oct 24, 2014 at 12

Re: kexec fails if OF_UNITTEST=y (was: Re: [PATCH v2] Removes OF_UNITTEST dependency on OF_DYNAMIC config symbol)

2015-03-16 Thread Rob Herring
On Mon, Mar 16, 2015 at 5:58 AM, Geert Uytterhoeven wrote: > On Fri, Jan 23, 2015 at 2:03 PM, Geert Uytterhoeven > wrote: >> On Sun, Jan 11, 2015 at 8:19 AM, Gaurav Minocha >> wrote: >>> This patch intends to remove the unittests dependency on >>> the functions defined in dynamic.c. So, rather t

Re: [PATCH v23 5/6] of: Support more than one crash kernel regions for kexec -s

2022-05-05 Thread Rob Herring
s may cause the second kernel to have no available dma memory. > > Fix it like kexec tool do for option -c, add both 'high' and 'low' regions > into the dtb. > > Signed-off-by: Zhen Lei > --- > drivers/of/kexec.c |

Re: [PATCH 2/3] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2022-06-14 Thread Rob Herring
M driver can then read the base address from this entry when making > the log available. This series really needs a wider Cc list of folks that worry about TPMs and kexec. > Signed-off-by: Stefan Berger > Cc: Rob Herring > Cc: Frank Rowand > Cc: Eric Biederman > ---

Re: [PATCH 2/3] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2022-06-15 Thread Rob Herring
On Wed, Jun 15, 2022 at 09:08:04AM -0400, Stefan Berger wrote: > > > On 6/14/22 13:48, Rob Herring wrote: > > (),On Tue, Jun 14, 2022 at 10:13 AM Stefan Berger > > wrote: > > > > > > The memory area of the TPM measurement log is currently not properly

Re: [PATCH 2/3] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2022-06-15 Thread Rob Herring
On Tue, Jun 14, 2022 at 11:48:30AM -0600, Rob Herring wrote: > (),On Tue, Jun 14, 2022 at 10:13 AM Stefan Berger > wrote: > > > > The memory area of the TPM measurement log is currently not properly > > duplicated for carrying it across kexec when an Open Firmwar

Re: [PATCH v2 0/3] tpm: Preserve TPM measurement log across kexec

2022-06-27 Thread Rob Herring
On Thu, Jun 16, 2022 at 11:41:27AM -0400, Stefan Berger wrote: > The of-tree driver does not currently preserve the IBM vTPM 1.2 and > vTPM 2.0 measurement logs across a kexec. This series fixes this for the > kexec_file_load() syscall using the flattened device tree (fdt) to > carry the measuremen

Re: [PATCH v2 1/3] tpm: of: Move of-tree specific code from tpm driver into of driver

2022-06-27 Thread Rob Herring
nction from the TPM Openfirmware driver. > > Signed-off-by: Stefan Berger > Cc: Jarkko Sakkinen > Cc: Jason Gunthorpe > Cc: Rob Herring > Cc: Frank Rowand > --- > drivers/char/tpm/eventlog/of.c | 31 +-- > drivers/of/Makefile

Re: [PATCH v6 5/6] of: kexec: Refactor IMA buffer related functions to make them reusable

2022-07-14 Thread Rob Herring
On Thu, Jul 07, 2022 at 01:20:25PM -0400, Stefan Berger wrote: > Refactor IMA buffer related functions to make them reusable for carrying > TPM logs across kexec. > > Signed-off-by: Stefan Berger > Cc: Rob Herring > Cc: Frank Rowand > Cc: Mimi Zohar > > -

Re: [PATCH v10 1/8] crash: introduce arch/*/asm/crash.h

2022-08-08 Thread Rob Herring
On Mon, Aug 8, 2022 at 9:19 AM Eric DeVolder wrote: > > > > On 8/7/22 22:25, Baoquan He wrote: > > Hi Eric, > > > > On 07/21/22 at 02:17pm, Eric DeVolder wrote: > >> The use of __weak is being eliminated within kexec sources. > >> The technique uses macros mapped onto inline functions in > >> orde

Re: [PATCH v7 6/6] tpm/kexec: Duplicate TPM measurement log in of-tree for kexec

2022-08-22 Thread Rob Herring
ram() in get_kexec_buffer() only starts working at this stage. > > Signed-off-by: Stefan Berger > Cc: Rob Herring > Cc: Frank Rowand > Cc: Eric Biederman > Tested-by: Nageswara R Sastry > > --- > v6: > - Define prototype for tpm_add_kexec_buffer under same co

Re: [PATCH v8 0/4] tpm: Preserve TPM measurement log across kexec (ppc64)

2022-09-14 Thread Rob Herring
On Mon, Sep 12, 2022 at 8:01 AM Stefan Berger wrote: > > > Hi Rob, > >can you take this series in your tree? IMO, it should be someone that cares about TPM, kexec, or powerpc. Yes, there's code in drivers/of/, but that is purely to avoid duplication of code across powerpc and arm64. Rob ___

Re: [PATCH v8 0/4] tpm: Preserve TPM measurement log across kexec (ppc64)

2022-09-14 Thread Rob Herring
On Wed, Sep 14, 2022 at 2:46 PM Stefan Berger wrote: > > > > On 9/14/22 14:01, Rob Herring wrote: > > On Mon, Sep 12, 2022 at 8:01 AM Stefan Berger wrote: > >> > >> > >> Hi Rob, > >> > >> can you take this series in your tree? &g

Re: [PATCH v2] powerpc/kexec_file: Restore FDT size estimation for kdump kernel

2021-03-09 Thread Rob Herring
On Fri, Feb 19, 2021 at 6:52 PM Thiago Jung Bauermann wrote: > > Commit 2377c92e37fe ("powerpc/kexec_file: fix FDT size estimation for kdump > kernel") fixed how elf64_load() estimates the FDT size needed by the > crashdump kernel. > > At the same time, commit 130b2d59cec0 ("powerpc: Use common >

Re: [PATCH v2] powerpc/kexec_file: Restore FDT size estimation for kdump kernel

2021-03-09 Thread Rob Herring
On Tue, Mar 9, 2021 at 7:31 PM Lakshmi Ramasubramanian wrote: > > On 3/9/21 6:08 PM, Rob Herring wrote: > > Hi Rob, > > > On Fri, Feb 19, 2021 at 6:52 PM Thiago Jung Bauermann > > wrote: > >> > >> Commit 2377c92e37fe ("powerpc/kexec_file: fix FDT

Re: [PATCH v2] powerpc/kexec_file: Restore FDT size estimation for kdump kernel

2021-03-11 Thread Rob Herring
On Fri, 19 Feb 2021 21:52:04 -0300, Thiago Jung Bauermann wrote: > Commit 2377c92e37fe ("powerpc/kexec_file: fix FDT size estimation for kdump > kernel") fixed how elf64_load() estimates the FDT size needed by the > crashdump kernel. > > At the same time, commit 130b2d59cec0 ("powerpc: Use common

Re: [PATCH v3] ARM: Parse kdump DT properties

2021-03-22 Thread Rob Herring
On Wed, Mar 17, 2021 at 5:31 AM Geert Uytterhoeven wrote: > > Parse the following DT properties in the crash dump kernel, to provide a > modern interface between kexec and the crash dump kernel: > - linux,elfcorehdr: ELF core header segment, similar to the > "elfcorehdr=" kernel parameter. >

Re: [PATCH v4 01/10] crash_dump: Make elfcorehdr_{addr,size} always visible

2021-07-14 Thread Rob Herring
r IS_ENABLED(CONFIG_CRASH_DUMP), instead of requiring conditional > compilation using an #ifdef, thus preparing to increase compile > coverage. > > Suggested-by: Rob Herring > Signed-off-by: Geert Uytterhoeven > --- > v4: > - New. > --- > include/linux/crash_dump.h | 7 +++

Re: [PATCH v4 02/10] memblock: Add variables for usable memory limitation

2021-07-14 Thread Rob Herring
On Wed, Jul 14, 2021 at 02:50:12PM +0200, Geert Uytterhoeven wrote: > Add two global variables (cap_mem_addr and cap_mem_size) for storing a > base address and size, describing a limited region in which memory may > be considered available for use by the kernel. If enabled, memory > outside of thi

Re: [PATCH v4 10/10] ARM: Parse kdump DT properties

2021-07-14 Thread Rob Herring
On Wed, Jul 14, 2021 at 02:50:20PM +0200, Geert Uytterhoeven wrote: > Parse the following DT properties in the crash dump kernel, to provide a > modern interface between kexec and the crash dump kernel: > - linux,elfcorehdr: ELF core header segment, similar to the > "elfcorehdr=" kernel param

Re: [PATCH v5 0/9] Add generic support for kdump DT properties

2021-08-15 Thread Rob Herring
On Wed, Aug 11, 2021 at 10:50:58AM +0200, Geert Uytterhoeven wrote: > Hi all, > > This patch series adds generic support for parsing DT properties related > to crash dump kernels ("linux,elfcorehdr" and "linux,elfcorehdr" under > the "/chosen" node), makes use of it on arm32, and performs a

Re: [PATCH v5 1/9] MIPS: Avoid future duplicate elf core header reservation

2021-08-23 Thread Rob Herring
On Mon, Aug 23, 2021 at 8:10 AM Mike Rapoport wrote: > > On Mon, Aug 23, 2021 at 12:17:50PM +0200, Geert Uytterhoeven wrote: > > Hi Mike, > > > > On Mon, Aug 16, 2021 at 7:52 AM Mike Rapoport wrote: > > > On Wed, Aug 11, 2021 at 10:50:59AM +0200, Geert Uytterhoeven wrote: > > > > Prepare for earl

Re: [PATCH v5 0/9] Add generic support for kdump DT properties

2021-08-23 Thread Rob Herring
On Mon, Aug 23, 2021 at 5:13 AM Geert Uytterhoeven wrote: > > Hi Rob, > > On Sun, Aug 15, 2021 at 5:25 PM Rob Herring wrote: > > On Wed, Aug 11, 2021 at 10:50:58AM +0200, Geert Uytterhoeven wrote: > > > This patch series adds generic support for parsing DT properties

Re: [PATCH v5 0/9] Add generic support for kdump DT properties

2021-08-24 Thread Rob Herring
On Tue, Aug 24, 2021 at 6:55 AM Geert Uytterhoeven wrote: > > On Mon, Aug 23, 2021 at 4:52 PM Rob Herring wrote: > > On Mon, Aug 23, 2021 at 5:13 AM Geert Uytterhoeven > > wrote: > > > On Sun, Aug 15, 2021 at 5:25 PM Rob Herring wrote: > > > > On Wed,

Re: [PATCH v15 09/10] of: fdt: Add memory for devices by DT property "linux,usable-memory-range"

2021-10-20 Thread Rob Herring
On Wed, Oct 20, 2021 at 10:03:16AM +0800, Zhen Lei wrote: > From: Chen Zhou > > When reserving crashkernel in high memory, some low memory is reserved > for crash dump kernel devices and never mapped by the first kernel. > This memory range is advertised to crash dump kernel via DT property > und

Re: [PATCH v16 09/11] of: fdt: Aggregate the processing of "linux,usable-memory-range"

2021-11-30 Thread Rob Herring
emory() has identified all available physical memory. > Because the two pieces of code are separated far, the readability and > maintainability are reduced. So bring them together. > > Suggested-by: Rob Herring > Signed-off-by: Zhen Lei > --- > drivers/of/fdt.c | 15 +++

Re: [PATCH v16 10/11] of: fdt: Add memory for devices by DT property "linux,usable-memory-range"

2021-11-30 Thread Rob Herring
On Tue, Nov 23, 2021 at 08:46:45PM +0800, Zhen Lei wrote: > From: Chen Zhou > > When reserving crashkernel in high memory, some low memory is reserved > for crash dump kernel devices and never mapped by the first kernel. > This memory range is advertised to crash dump kernel via DT property > und

Re: [PATCH v16 10/11] of: fdt: Add memory for devices by DT property "linux, usable-memory-range"

2021-12-09 Thread Rob Herring
On Wed, Dec 8, 2021 at 7:59 PM Leizhen (ThunderTown) wrote: > > > > On 2021/12/1 10:55, Leizhen (ThunderTown) wrote: > >>> + } > >>> > >>> - memblock_cap_memory_range(cap_mem_addr, cap_mem_size); > >>> + memblock_cap_memory_range(rgn[0].base, rgn[0].size); > >>> + for (i = 1; i < MAX_USABL

Re: [PATCH v17 08/10] of: fdt: Aggregate the processing of "linux,usable-memory-range"

2021-12-10 Thread Rob Herring
emory() has identified all available physical memory. > Because the two pieces of code are separated far, the readability and > maintainability are reduced. So bring them together. > > Suggested-by: Rob Herring > Signed-off-by: Zhen Lei > Tested-by: Dave Kleikamp > --- > d

Re: [PATCH v17 09/10] of: fdt: Add memory for devices by DT property "linux,usable-memory-range"

2021-12-10 Thread Rob Herring
c | 33 +++-- > 1 file changed, 23 insertions(+), 10 deletions(-) > Reviewed-by: Rob Herring ___ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec

Re: [PATCH 06/15] arm64: Add KHO support

2023-12-14 Thread Rob Herring
On Wed, Dec 13, 2023 at 12:04:43AM +, Alexander Graf wrote: > We now have all bits in place to support KHO kexecs. This patch adds > awareness of KHO in the kexec file as well as boot path for arm64 and > adds the respective kconfig option to the architecture so that it can > use KHO successful

Re: [PATCH v2 17/17] devicetree: Add bindings for ftrace KHO

2023-12-22 Thread Rob Herring
On Fri, 22 Dec 2023 19:51:44 +, Alexander Graf wrote: > With ftrace in KHO, we are creating an ABI between old kernel and new > kernel about the state that they transfer. To ensure that we document > that state and catch any breaking change, let's add its schema to the > common devicetree bin

Re: [PATCH v2 17/17] devicetree: Add bindings for ftrace KHO

2024-01-02 Thread Rob Herring
On Sun, Dec 24, 2023 at 12:20:17AM +0100, Alexander Graf wrote: > Hi Krzysztof! > > Thanks a lot for the fast review! > > On 23.12.23 15:30, Krzysztof Kozlowski wrote: > > On 22/12/2023 20:51, Alexander Graf wrote: > > > With ftrace in KHO, we are creating an ABI between old kernel and new > > >

Re: [PATCH v2 17/17] devicetree: Add bindings for ftrace KHO

2024-01-02 Thread Rob Herring
On Fri, Dec 22, 2023 at 07:51:44PM +, Alexander Graf wrote: > With ftrace in KHO, we are creating an ABI between old kernel and new > kernel about the state that they transfer. To ensure that we document > that state and catch any breaking change, let's add its schema to the > common devicetree

Re: [PATCH v2 07/17] kexec: Add documentation for KHO

2024-01-03 Thread Rob Herring
On Fri, Dec 22, 2023 at 12:52 PM Alexander Graf wrote: > > With KHO in place, let's add documentation that describes what it is and > how to use it. > > Signed-off-by: Alexander Graf > --- > Documentation/kho/concepts.rst | 88 > Documentation/kho/index.rst

Re: [PATCH v2 07/17] kexec: Add documentation for KHO

2024-01-17 Thread Rob Herring
On Wed, Jan 17, 2024 at 8:02 AM Alexander Graf wrote: > > > On 03.01.24 19:48, Rob Herring wrote: > > > > On Fri, Dec 22, 2023 at 12:52 PM Alexander Graf wrote: > >> With KHO in place, let's add documentation that describes what it is and > >> how t

Re: [PATCH v3 08/17] arm64: Add KHO support

2024-01-31 Thread Rob Herring
On Wed, Jan 17, 2024 at 02:46:55PM +, Alexander Graf wrote: > We now have all bits in place to support KHO kexecs. This patch adds > awareness of KHO in the kexec file as well as boot path for arm64 and > adds the respective kconfig option to the architecture so that it can > use KHO successful