Skip to content

Multicore doorbell claim under lock is not working correct #2659

@m24goller09

Description

@m24goller09

uint claimed_cores_for_doorbell = (uint) (is_bit_claimed(doorbell_claimed[0], doorbell_num) |

At this point, the array doorbell_claimed is checked to see which doorbell numbers are already in use. However, when checking the array at the Core 1 location, “dorbell_num + 1” is passed as bit_index. If you now want to check the whole thing for doorbell_num = 7, the array is checked outside the limits and doorbell numbers between 0 and 6 are checked in the wrong place.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions