On Mon, Feb 17, 2025 at 11:19:45AM +0800, RuiRui Yang wrote:
> On Thu, 6 Feb 2025 at 21:34, Mike Rapoport wrote:
> > == Limitations ==
> >
> > Currently KHO is only implemented for file based kexec. The kernel
> > interfaces in the patch set are already in place to support user space
> > kexec as
On Mon, Feb 17, 2025 at 04:04:48AM +, Wei Yang wrote:
> On Thu, Feb 06, 2025 at 03:27:53PM +0200, Mike Rapoport wrote:
> >From: Alexander Graf
> >
> >Linux has recently gained support for "reserve_mem": A mechanism to
> >allocate a region of memory early enough in boot that we can cross our
>
Hi,
On Tue, Feb 18, 2025 at 03:50:04PM +, Wei Yang wrote:
> On Thu, Feb 06, 2025 at 03:27:42PM +0200, Mike Rapoport wrote:
> >From: "Mike Rapoport (Microsoft)"
> >
> >to denote areas that were reserved for kernel use either directly with
> >memblock_reserve_kern() or via memblock allocations.
Hi,
On Tue, Feb 18, 2025 at 02:59:04PM +, Wei Yang wrote:
> On Thu, Feb 06, 2025 at 03:27:41PM +0200, Mike Rapoport wrote:
> >From: "Mike Rapoport (Microsoft)"
> >
> >When CONFIG_DEFERRED_STRUCT_PAGE_INIT is enabled, init_reserved_page()
> >function performs initialization of a struct page th
Hi everybody,
Here are the notes from the last Hypervisor Live Update call that happened
on Monday, February 10. Thanks for everybody who was involved!
These notes are intended to bring people up to speed who could not attend
the call as well as keep the conversation going in between meetings.
On Tue, Feb 18, 2025 at 12:32:42PM +, YAMAZAKI MASAMITSU(山崎 真光) wrote:
Hi Coiby,
Hi Masa,
Oops. I'm so sorry. I will correct any typos found next.
No problem. Maybe I can also resend one version with typos corrected
next time.
But, Thanks for finding this building error and fixing.
ima_dump_measurement_list() is called during kexec 'load', which may
result in loss of IMA measurements during kexec soft reboot. It needs
to be called during kexec 'execute'.
This patch includes the following changes:
- Implement kimage_file_post_load() function to be invoked after the new
K
The current kernel behavior is IMA measurements snapshot is taken at
kexec 'load' and not at kexec 'execute'. IMA log is then carried
over to the new kernel after kexec 'execute'.
New events can be measured during/after the IMA log snapshot at kexec
'load' and before the system boots to the new
Carrying the IMA measurement list across kexec requires allocating a
buffer and copying the measurement records. Separate allocating the
buffer and copying the measurement records into separate functions in
order to allocate the buffer at kexec 'load' and copy the measurements
at kexec 'execute'.
Currently, the mechanism to map and unmap segments to the kimage
structure is not available to the subsystems outside of kexec. This
functionality is needed when IMA is allocating the memory segments
during kexec 'load' operation. Implement functions to map and unmap
segments to kimage.
Implemen
The amount of memory allocated at kexec load, even with the extra memory
allocated, might not be large enough for the entire measurement list. The
indeterminate interval between kexec 'load' and 'execute' could exacerbate
this problem.
Define two new IMA events, 'kexec_load' and 'kexec_execute',
The extra memory allocated for carrying the IMA measurement list across
kexec is hard-coded as half a PAGE. Make it configurable.
Define a Kconfig option, IMA_KEXEC_EXTRA_MEMORY_KB, to configure the
extra memory (in kb) to be allocated for IMA measurements added during
kexec soft reboot. Ensure
kexec_calculate_store_digests() calculates and stores the digest of the
segment at kexec_file_load syscall where the IMA segment is also
allocated. With this series, the IMA segment will be updated with the
measurement log at kexec execute stage when soft reboot is initiated.
Therefore, it may fa
IMA log is copied to the new Kernel during kexec 'load' using
ima_dump_measurement_list(). The log copy at kexec 'load' may result in
loss of IMA measurements during kexec soft reboot. It needs to be copied
over during kexec 'execute'. Setup the needed infrastructure to move the
IMA log copy fr
On 2/18/25 10:31 AM, Jarkko Sakkinen wrote:
On Tue, 2025-02-18 at 10:21 -0800, ross.philip...@oracle.com wrote:
Hello folks,
We posted the v12 version of our patch set in December of 2024 and we
have not heard anything on it from the community. We believe we have
reasonably addressed the issues
Hi Steven,
I'm ignoring this version of v7. Please remember to update the version to v8
before re-
posting and update the change log.
thanks,
Mimi
On Tue, 2025-02-18 at 09:20 -0800, steven chen wrote:
> The current kernel behavior is IMA measurements snapshot is taken at
> kexec 'load' and no
On Tue, 2025-02-18 at 10:21 -0800, ross.philip...@oracle.com wrote:
> Hello folks,
>
> We posted the v12 version of our patch set in December of 2024 and we
> have not heard anything on it from the community. We believe we have
> reasonably addressed the issues as has been discussed on list. I
>
The current kernel behavior is IMA measurements snapshot is taken at
kexec 'load' and not at kexec 'execute'. IMA log is then carried
over to the new kernel after kexec 'execute'.
New events can be measured during/after the IMA log snapshot at kexec
'load' and before the system boots to the new
ima_dump_measurement_list() is called during kexec 'load', which may
result in loss of IMA measurements during kexec soft reboot. It needs
to be called during kexec 'execute'.
This patch includes the following changes:
- Implement kimage_file_post_load() function to be invoked after the new
K
The extra memory allocated for carrying the IMA measurement list across
kexec is hard-coded as half a PAGE. Make it configurable.
Define a Kconfig option, IMA_KEXEC_EXTRA_MEMORY_KB, to configure the
extra memory (in kb) to be allocated for IMA measurements added during
kexec soft reboot. Ensure
The amount of memory allocated at kexec load, even with the extra memory
allocated, might not be large enough for the entire measurement list. The
indeterminate interval between kexec 'load' and 'execute' could exacerbate
this problem.
Define two new IMA events, 'kexec_load' and 'kexec_execute',
IMA log is copied to the new Kernel during kexec 'load' using
ima_dump_measurement_list(). The log copy at kexec 'load' may result in
loss of IMA measurements during kexec soft reboot. It needs to be copied
over during kexec 'execute'. Setup the needed infrastructure to move the
IMA log copy fr
kexec_calculate_store_digests() calculates and stores the digest of the
segment at kexec_file_load syscall where the IMA segment is also
allocated. With this series, the IMA segment will be updated with the
measurement log at kexec excute stage when soft reboot is initiated.
Therefore, it may fai
Currently, the mechanism to map and unmap segments to the kimage
structure is not available to the subsystems outside of kexec. This
functionality is needed when IMA is allocating the memory segments
during kexec 'load' operation. Implement functions to map and unmap
segments to kimage.
Implemen
Carrying the IMA measurement list across kexec requires allocating a
buffer and copying the measurement records. Separate allocating the
buffer and copying the measurement records into separate functions in
order to allocate the buffer at kexec 'load' and copy the measurements
at kexec 'execute'.
Hi,
On Tue, 18 Feb 2025 16:48:26 +0800
Dave Young wrote:
> On Tue, 18 Feb 2025 at 14:07, Gokul Praveen wrote:
> >
> > Hi Team,
> >
> > Just a reminder.
> > It would be really great if you could help me with the following.
> >
> > Regards
> > Gokul
> >
> > On 05/02/25 17:50, Gokul Praveen wrote:
On Thu, Feb 06, 2025 at 03:27:42PM +0200, Mike Rapoport wrote:
>From: "Mike Rapoport (Microsoft)"
>
>to denote areas that were reserved for kernel use either directly with
>memblock_reserve_kern() or via memblock allocations.
>
>Signed-off-by: Mike Rapoport (Microsoft)
>---
> include/linux/memblo
On Thu, Feb 06, 2025 at 03:27:41PM +0200, Mike Rapoport wrote:
>From: "Mike Rapoport (Microsoft)"
>
>When CONFIG_DEFERRED_STRUCT_PAGE_INIT is enabled, init_reserved_page()
>function performs initialization of a struct page that would have been
>deferred normally.
>
>Rename it to init_deferred_page
Hi Seiji,
Thanks for this patch. This patch has been merged.
Sorry for saying late.
Best regards,
Masa
On 2025/01/10 12:00, Seiji Nishikawa wrote:
> This patch enhances the readability of several messages printed by
> adding a space after a comma that is not followed by a newline. These
> change
Hi Coiby,
Oops. I'm so sorry. I will correct any typos found next.
But, Thanks for finding this building error and fixing.
When building makekdumpfile against gcc-14, not problem.
However, certainly could not build using gcc-15. Thanks!
Best regards,
Masa
-Original Message-
From: kexec
On Tue, 18 Feb 2025 at 14:07, Gokul Praveen wrote:
>
> Hi Team,
>
> Just a reminder.
> It would be really great if you could help me with the following.
>
> Regards
> Gokul
>
> On 05/02/25 17:50, Gokul Praveen wrote:
> > Hi Team,
> >
> > It would be really great,if you could help me with a couple
31 matches
Mail list logo