RTEMS | bsps/raspberrypi5: Add SMP support (!1072)
Preetam Das (@lostux)
gitlab at rtems.org
Mon Feb 23 15:59:01 UTC 2026
Preetam Das commented on a discussion on bsps/aarch64/raspberrypi5/start/start-cpu-mpidr.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1072#note_143304
> + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
> + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> + * POSSIBILITY OF SUCH DAMAGE.
> + */
> +
> +#include <rtems/asm.h>
> +
> +FUNCTION_ENTRY(_AArch64_Get_current_processor_for_system_start)
> +
> + /* Return the affinity level 1 reported by the MPIDR_EL1 */
The A76 cores in the PI5 places the core IDs in AFF1 \[15:8\] instead of AFF0 \[7:0\]. For that reason, we shift it out in the LSB region to return it. That is the basic explanation. I will add this in the comment block.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1072#note_143304
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260223/e6de4bff/attachment-0001.htm>
More information about the bugs
mailing list