Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-07-03 Thread Alexander Graf
Paladugu Subject: Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off On 27.06.17 13:52, Michal Simek wrote: On 27.6.2017 13:46, Alexander Graf wrote: On 27.06.17 13:20, Michal Simek wrote: Hi, On 27.6.2017 13:01, Alexander Graf wrote: I don't think that's going to

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-07-03 Thread Siva Durga Prasad Paladugu
e: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is > off > > > > On 27.06.17 13:52, Michal Simek wrote: > > On 27.6.2017 13:46, Alexander Graf wrote: > >> > >> > >> On 27.06.17 13:20, Michal Simek wrote: > >>> Hi, > >&g

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-07-02 Thread Siva Durga Prasad Paladugu
34 PM > >> To: Siva Durga Prasad Paladugu ; Michal Simek > >> > >> Cc: u-boot@lists.denx.de; Tom Rini ; Simon Glass > >> > >> Subject: Re: [U-Boot] [PATCH] arch: armv8: Remove the error when > >> dcache is off > >> > >> > >>

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-07-02 Thread Alexander Graf
On 27.06.17 13:52, Michal Simek wrote: On 27.6.2017 13:46, Alexander Graf wrote: On 27.06.17 13:20, Michal Simek wrote: Hi, On 27.6.2017 13:01, Alexander Graf wrote: I don't think that's going to work - at least not without compiler flag changes. By default, gcc will happily generate unal

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-07-02 Thread Alexander Graf
; Tom Rini ; Simon Glass ; Siva Durga Prasad Paladugu Subject: Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off Am 27.06.2017 um 13:52 schrieb Michal Simek : On 27.6.2017 13:46, Alexander Graf wrote: On 27.06.17 13:20, Michal Simek wrote: Hi, On 27.6.2017 13:01

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-07-02 Thread Siva Durga Prasad Paladugu
;> To: Michal Simek > >> Cc: Siva Durga Prasad Paladugu ; > >> u-boot@lists.denx.de; Tom Rini ; Simon Glass > >> ; Siva Durga Prasad Paladugu > >> Subject: Re: [U-Boot] [PATCH] arch: armv8: Remove the error when > >> dcache is off > >> &g

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-29 Thread Alexander Graf
Subject: Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off Am 27.06.2017 um 13:52 schrieb Michal Simek : On 27.6.2017 13:46, Alexander Graf wrote: On 27.06.17 13:20, Michal Simek wrote: Hi, On 27.6.2017 13:01, Alexander Graf wrote: I don't think that's goi

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-29 Thread Siva Durga Prasad Paladugu
oot] [PATCH] arch: armv8: Remove the error when dcache is > off > > > > > Am 27.06.2017 um 13:52 schrieb Michal Simek : > > > >> On 27.6.2017 13:46, Alexander Graf wrote: > >> > >> > >>> On 27.06.17 13:20, Michal Simek wrote: >

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-27 Thread Alexander Graf
> Am 27.06.2017 um 13:52 schrieb Michal Simek : > >> On 27.6.2017 13:46, Alexander Graf wrote: >> >> >>> On 27.06.17 13:20, Michal Simek wrote: >>> Hi, >>> On 27.6.2017 13:01, Alexander Graf wrote: I don't think that's going to work - at least not without compiler flag changes.

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-27 Thread Michal Simek
On 27.6.2017 13:46, Alexander Graf wrote: > > > On 27.06.17 13:20, Michal Simek wrote: >> Hi, >> >> On 27.6.2017 13:01, Alexander Graf wrote: >>> I don't think that's going to work - at least not without compiler flag >>> changes. By default, gcc will happily generate unaligned accesses. If >>> y

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-27 Thread Alexander Graf
On 27.06.17 13:20, Michal Simek wrote: Hi, On 27.6.2017 13:01, Alexander Graf wrote: I don't think that's going to work - at least not without compiler flag changes. By default, gcc will happily generate unaligned accesses. If you disable dcache, these will trap. What's that compiler flags

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-27 Thread Michal Simek
Hi, On 27.6.2017 13:01, Alexander Graf wrote: > I don't think that's going to work - at least not without compiler flag > changes. By default, gcc will happily generate unaligned accesses. If > you disable dcache, these will trap. What's that compiler flags we should be using to avoid that? The

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-27 Thread Alexander Graf
I don't think that's going to work - at least not without compiler flag changes. By default, gcc will happily generate unaligned accesses. If you disable dcache, these will trap. Alex On 27.06.17 11:04, Michal Simek wrote: Hi guys, do you have any concern about this change? Thanks, Michal

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-27 Thread Michal Simek
Hi guys, do you have any concern about this change? Thanks, Michal On 22.6.2017 12:00, Siva Durga Prasad Paladugu wrote: > Remove the error which causes compilation failure when > dcache is off for builds otherthan SPL. There may be > cases where user wants to disable dcache completely > eventho