Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#2761 closed defect (fixed)

AltiVec context switch is broken on some PowerPC BSPs

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 4.11
Component: bsps Version: 4.10
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The context passed to _CPU_Context_switch_altivec() must be already cache aligned since _CPU_altivec_ctxt_off defined via ppc_context.

Change History (2)

comment:1 Changed on 07/19/16 at 06:12:51 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: newclosed

In [changeset:"8d785f72d9610fb80a65d7848404f0f7507e026c/rtems"]:

bsps/powerpc: Fix AtliVec? context switch

Properly pass the stack aligned context to _CPU_Context_switch_altivec()
since _CPU_altivec_ctxt_off defined via ppc_context.

Close #2761.

comment:2 Changed on 07/19/16 at 06:15:15 by Sebastian Huber <sebastian.huber@…>

In [changeset:"dc0f537b27ec5ca221ea67fde1d262c26ca3ec2e/rtems"]:

bsps/powerpc: Fix AtliVec? context switch

Properly pass the stack aligned context to _CPU_Context_switch_altivec()
since _CPU_altivec_ctxt_off defined via ppc_context.

Update #2761.

Note: See TracTickets for help on using tickets.