Re: [PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-10-16 Thread daniel
2020-10-16 07:33 skrev Sebastian Huber: On 23/09/2020 12:24, Daniel Hellstrom wrote: >> Command line defines are discouraged and in cpukit only multilib >> defined defines should be used. Can't you the existing >> __FIX_LEON3FT_B2BST define to enable the errata workarounds? >

Re: [PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-10-15 Thread Sebastian Huber
On 23/09/2020 12:24, Daniel Hellstrom wrote: >> Command line defines are discouraged and in cpukit only multilib >> defined defines should be used. Can't you the existing >> __FIX_LEON3FT_B2BST define to enable the errata workarounds? > > For UT700, for example, it is true th

Re: [PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-09-23 Thread Daniel Hellstrom
Hi, Thank you for your comments. Sorry for my late reply, please see my responses below. On 2020-06-29 15:13, Joel Sherrill wrote: On Mon, Jun 29, 2020 at 8:02 AM Sebastian Huber > wrote: On 29/06/2020 14:34, Daniel Hellstrom wrote: >

Re: [PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-06-29 Thread Joel Sherrill
On Mon, Jun 29, 2020 at 8:02 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 29/06/2020 14:34, Daniel Hellstrom wrote: > > > > > On 2020-06-29 13:57, Sebastian Huber wrote: > >> On 29/06/2020 13:28, Daniel Hellstrom wrote: > >> > >>> diff --git a/bsps/sparc/leon3/config/gr712r

Re: [PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-06-29 Thread Sebastian Huber
On 29/06/2020 14:34, Daniel Hellstrom wrote: On 2020-06-29 13:57, Sebastian Huber wrote: On 29/06/2020 13:28, Daniel Hellstrom wrote: diff --git a/bsps/sparc/leon3/config/gr712rc.cfg b/bsps/sparc/leon3/config/gr712rc.cfg index 3852932..e8f0731 100644 --- a/bsps/sparc/leon3/config/gr712rc.cf

Re: [PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-06-29 Thread Daniel Hellstrom
On 2020-06-29 13:57, Sebastian Huber wrote: On 29/06/2020 13:28, Daniel Hellstrom wrote: diff --git a/bsps/sparc/leon3/config/gr712rc.cfg b/bsps/sparc/leon3/config/gr712rc.cfg index 3852932..e8f0731 100644 --- a/bsps/sparc/leon3/config/gr712rc.cfg +++ b/bsps/sparc/leon3/config/gr712rc.cfg @@

Re: [PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-06-29 Thread Sebastian Huber
On 29/06/2020 13:28, Daniel Hellstrom wrote: diff --git a/bsps/sparc/leon3/config/gr712rc.cfg b/bsps/sparc/leon3/config/gr712rc.cfg index 3852932..e8f0731 100644 --- a/bsps/sparc/leon3/config/gr712rc.cfg +++ b/bsps/sparc/leon3/config/gr712rc.cfg @@ -10,10 +10,11 @@ RTEMS_CPU=sparc # and (hop

[PATCH 26/26] leon,tn-0018: work around GRLIB-TN-0018 errata

2020-06-29 Thread Daniel Hellstrom
The errata is worked around in the kernel without requiring toolchain modifications. It is triggered the JMPL/RETT return from trap instruction sequence never generated by the compiler and. There are also other conditions that must must be true to trigger the errata, for example the instruction tha