Re: [PATCH 2/2] dump: fix kdump to work over non-aligned blocks

2022-08-26 Thread David Hildenbrand
On 26.08.22 12:07, David Hildenbrand wrote: > On 26.08.22 12:02, Marc-André Lureau wrote: >> Hi >> >> >> On Fri, Aug 26, 2022 at 2:01 PM David Hildenbrand > > wrote: >> >> On 25.08.22 15:21, marcandre.lur...@redhat.com >> wrote:

Re: [PATCH 2/2] dump: fix kdump to work over non-aligned blocks

2022-08-26 Thread David Hildenbrand
On 26.08.22 12:02, Marc-André Lureau wrote: > Hi > > > On Fri, Aug 26, 2022 at 2:01 PM David Hildenbrand > wrote: > > On 25.08.22 15:21, marcandre.lur...@redhat.com > wrote: > > From: Marc-André Lureau

Re: [PATCH 2/2] dump: fix kdump to work over non-aligned blocks

2022-08-26 Thread Marc-André Lureau
Hi On Fri, Aug 26, 2022 at 2:01 PM David Hildenbrand wrote: > On 25.08.22 15:21, marcandre.lur...@redhat.com wrote: > > From: Marc-André Lureau > > > > Rewrite get_next_page() to work over non-aligned blocks. When it > > encounters non aligned addresses, it will allocate a zero-page and try >

Re: [PATCH 2/2] dump: fix kdump to work over non-aligned blocks

2022-08-26 Thread David Hildenbrand
On 25.08.22 15:21, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > Rewrite get_next_page() to work over non-aligned blocks. When it > encounters non aligned addresses, it will allocate a zero-page and try > to fill it. Could we simplify by using one global helper page (or caller

Re: [PATCH 2/2] dump: fix kdump to work over non-aligned blocks

2022-08-25 Thread Marc-André Lureau
Hi On Thu, Aug 25, 2022 at 5:35 PM Peter Maydell wrote: > > On Thu, 25 Aug 2022 at 14:21, wrote: > > > > From: Marc-André Lureau > > > > Rewrite get_next_page() to work over non-aligned blocks. When it > > encounters non aligned addresses, it will allocate a zero-page and try > > to fill it. >

Re: [PATCH 2/2] dump: fix kdump to work over non-aligned blocks

2022-08-25 Thread Peter Maydell
On Thu, 25 Aug 2022 at 14:21, wrote: > > From: Marc-André Lureau > > Rewrite get_next_page() to work over non-aligned blocks. When it > encounters non aligned addresses, it will allocate a zero-page and try > to fill it. > > This solves a kdump crash with "tpm-crb-cmd" RAM memory region, > qemu-k