Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-02-16 Thread Patrice CHOTARD
Hi Jan On 2/15/22 21:36, Jan Kiszka wrote: > On 15.02.22 14:49, Jan Kiszka wrote: >> On 15.02.22 14:34, Patrice CHOTARD wrote: >>> Hi Jan >>> >>> On 2/15/22 14:00, Jan Kiszka wrote: On 15.02.22 12:56, Patrice CHOTARD wrote: > Hi Jan > > On 2/14/22 16:21, Jan Kiszka wrote: >> O

Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-02-15 Thread Jan Kiszka
On 15.02.22 14:49, Jan Kiszka wrote: > On 15.02.22 14:34, Patrice CHOTARD wrote: >> Hi Jan >> >> On 2/15/22 14:00, Jan Kiszka wrote: >>> On 15.02.22 12:56, Patrice CHOTARD wrote: Hi Jan On 2/14/22 16:21, Jan Kiszka wrote: > On 04.01.22 08:42, Patrice Chotard wrote: >> When OF

Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-02-15 Thread Jan Kiszka
On 15.02.22 14:34, Patrice CHOTARD wrote: > Hi Jan > > On 2/15/22 14:00, Jan Kiszka wrote: >> On 15.02.22 12:56, Patrice CHOTARD wrote: >>> Hi Jan >>> >>> On 2/14/22 16:21, Jan Kiszka wrote: On 04.01.22 08:42, Patrice Chotard wrote: > When OF_LIVE flag is enabled on a 64 bits platform, th

Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-02-15 Thread Patrice CHOTARD
Hi Jan On 2/15/22 14:00, Jan Kiszka wrote: > On 15.02.22 12:56, Patrice CHOTARD wrote: >> Hi Jan >> >> On 2/14/22 16:21, Jan Kiszka wrote: >>> On 04.01.22 08:42, Patrice Chotard wrote: When OF_LIVE flag is enabled on a 64 bits platform, there is an issue when dev_read_addr() is called an

Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-02-15 Thread Jan Kiszka
On 15.02.22 12:56, Patrice CHOTARD wrote: > Hi Jan > > On 2/14/22 16:21, Jan Kiszka wrote: >> On 04.01.22 08:42, Patrice Chotard wrote: >>> When OF_LIVE flag is enabled on a 64 bits platform, there is an >>> issue when dev_read_addr() is called and need to perform an address >>> translation using

Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-02-15 Thread Patrice CHOTARD
Hi Jan On 2/14/22 16:21, Jan Kiszka wrote: > On 04.01.22 08:42, Patrice Chotard wrote: >> When OF_LIVE flag is enabled on a 64 bits platform, there is an >> issue when dev_read_addr() is called and need to perform an address >> translation using __of_translate_address(). >> >> In case of error, __

Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-02-14 Thread Jan Kiszka
On 04.01.22 08:42, Patrice Chotard wrote: > When OF_LIVE flag is enabled on a 64 bits platform, there is an > issue when dev_read_addr() is called and need to perform an address > translation using __of_translate_address(). > > In case of error, __of_translate_address() return's value is OF_BAD_AD

Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-01-26 Thread Simon Glass
On Tue, 4 Jan 2022 at 00:42, Patrice Chotard wrote: > > When OF_LIVE flag is enabled on a 64 bits platform, there is an > issue when dev_read_addr() is called and need to perform an address > translation using __of_translate_address(). > > In case of error, __of_translate_address() return's value

Re: [PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-01-21 Thread Simon Glass
On Tue, 4 Jan 2022 at 00:42, Patrice Chotard wrote: > > When OF_LIVE flag is enabled on a 64 bits platform, there is an > issue when dev_read_addr() is called and need to perform an address > translation using __of_translate_address(). > > In case of error, __of_translate_address() return's value

[PATCH v2] dm: Fix OF_BAD_ADDR definition

2022-01-03 Thread Patrice Chotard
When OF_LIVE flag is enabled on a 64 bits platform, there is an issue when dev_read_addr() is called and need to perform an address translation using __of_translate_address(). In case of error, __of_translate_address() return's value is OF_BAD_ADDR (wich is defined in include/dm/of.h to ((u64)-1)