Kinsey Moore commented on a discussion on bsps/aarch64/raspberrypi5/start/start-cpu-mpidr.S: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1072#note_143369 > + * 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 */ It should be sufficient to state that AFF1 is the unique core identifier for the BCM2712. I had forgotten that AFF[0-3] is an IMPLEMENTATION DEFINED free-form set of fields and does not directly correspond to CPU clustering or any other core enumeration and guarantees only a unique value for AFF[0-3] within the system. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1072#note_143369 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
