Protection against branch target buffer poisoning by a management layer

    公开(公告)号:US11797665B1

    公开(公告)日:2023-10-24

    申请号:US16454690

    申请日:2019-06-27

    Abstract: A processing system includes a branch prediction structure storing information used to predict the outcome of a branch instruction. The processing system also includes a register storing a first identifier of a first process in response to the processing system changing from a first mode that allows the first process to modify the branch prediction structure to a second mode in which the branch prediction structure is not modifiable. The processing system further includes a processor core that selectively flushes the branch prediction structure based on a comparison of a second identifier of a second process and the first identifier stored in the register. The comparison is performed in response to the second process causing a change from the second mode to the first mode.

Patent Agency Ranking