Re: [v6 01/12] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-30 Thread Simon Glass
Hi Tom, On Wed, 27 Nov 2024 at 14:14, Tom Rini wrote: > > On Wed, Nov 27, 2024 at 02:09:42PM -0700, Simon Glass wrote: > > Hi Heinrich, > > > > On Wed, 27 Nov 2024 at 11:40, Heinrich Schuchardt > > wrote: > > > > > > On 27.11.24 18:17, Tom Rini wrote: > > > > From: Simon Glass > > > > > > > >

Re: [v6 01/12] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-27 Thread Simon Glass
Hi Heinrich, On Wed, 27 Nov 2024 at 11:40, Heinrich Schuchardt wrote: > > On 27.11.24 18:17, Tom Rini wrote: > > From: Simon Glass > > > > The cache-flush function is incorrect which causes a crash in the > > remoteproc tests with arm64. > > > > Fix both problems by using map_sysmem() to convert

Re: [v6 01/12] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-27 Thread Tom Rini
On Wed, Nov 27, 2024 at 02:09:42PM -0700, Simon Glass wrote: > Hi Heinrich, > > On Wed, 27 Nov 2024 at 11:40, Heinrich Schuchardt wrote: > > > > On 27.11.24 18:17, Tom Rini wrote: > > > From: Simon Glass > > > > > > The cache-flush function is incorrect which causes a crash in the > > > remotepr

Re: [v6 01/12] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-27 Thread Heinrich Schuchardt
On 27.11.24 19:40, Heinrich Schuchardt wrote: On 27.11.24 18:17, Tom Rini wrote: From: Simon Glass The cache-flush function is incorrect which causes a crash in the remoteproc tests with arm64. Fix both problems by using map_sysmem() to convert an address to a pointer and map_to_sysmem() to c

Re: [v6 01/12] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-27 Thread Heinrich Schuchardt
On 27.11.24 19:51, Tom Rini wrote: On Wed, Nov 27, 2024 at 07:40:05PM +0100, Heinrich Schuchardt wrote: On 27.11.24 18:17, Tom Rini wrote: From: Simon Glass The cache-flush function is incorrect which causes a crash in the remoteproc tests with arm64. Fix both problems by using map_sysmem()

Re: [v6 01/12] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-27 Thread Tom Rini
On Wed, Nov 27, 2024 at 07:40:05PM +0100, Heinrich Schuchardt wrote: > On 27.11.24 18:17, Tom Rini wrote: > > From: Simon Glass > > > > The cache-flush function is incorrect which causes a crash in the > > remoteproc tests with arm64. > > > > Fix both problems by using map_sysmem() to convert an

Re: [v6 01/12] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-27 Thread Heinrich Schuchardt
On 27.11.24 18:17, Tom Rini wrote: From: Simon Glass The cache-flush function is incorrect which causes a crash in the remoteproc tests with arm64. Fix both problems by using map_sysmem() to convert an address to a pointer and map_to_sysmem() to convert a pointer to an address. Also update th

[v6 01/12] sandbox: efi_loader: Correct use of addresses as pointers

2024-11-27 Thread Tom Rini
From: Simon Glass The cache-flush function is incorrect which causes a crash in the remoteproc tests with arm64. Fix both problems by using map_sysmem() to convert an address to a pointer and map_to_sysmem() to convert a pointer to an address. Also update the image-loader's cache-flushing logic