Switching methods for context migration and systems thereof

US2016154649A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016154649-A1
Application numberUS-201514799899-A
CountryUS
Kind codeA1
Filing dateJul 15, 2015
Priority dateDec 1, 2014
Publication dateJun 2, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A switching method for context migration among a plurality of physical processor cores is provided. Each of the physical processor cores is mapped to a corresponding logical processor core. The switching method includes migrating a processor hardware context from a first physical processor core to a second physical processor core which is different from the first physical processor core. The first physical processor core and the second physical processor core are mapped to a first logical processor core and a second logical processor core which is different from the first logical processor core, respectively prior to the migration. The switching method further includes remapping the first physical processor core to the second logical processor core and remapping the second physical processor core to the first logical processor core.

First claim

Opening claim text (preview).

What is claimed is: 1 . A switching method for context migration among a plurality of physical processor cores, wherein each of the physical processor cores is mapped to a corresponding logical processor core, the method comprising: migrating a processor hardware context from a first physical processor core to a second physical processor core which is different from the first physical processor core, wherein the first physical processor core and the second physical processor core are mapped to a first logical processor core and a second logical processor core which is different from the first logical processor core, respectively prior to the migration; and remapping the first physical processor core to the second logical processor core, and remapping the second physical processor core to the first logical processor core. 2 . The switching method as claimed in claim 1 , wherein the processor hardware context comprises an execution context, an event signal transceiver glue layer, and a debug context. 3 . The switching method as claimed in claim 2 , wherein each of the physical processor cores comprises respective one or more general registers, respective one or more control registers, respective one or more generic timers, and respective one or more floating point co-processor cores, and the step of migrating the execution context from the first physical processor core to the second physical processor core comprises further comprises moving contents of the one or more general registers, the one or more control registers, the one or more generic timers, and the one or more floating point co-processor cores of the first physical processor core to those of the second physical processor core. 4 . The switching method as claimed in claim 3 , further comprising modifying the contents of the one or more control registers of the first physical processor core to be suitable for execution of the second physical processor core prior to moving the contents of the one or more control registers of the first physical processor core to the one or more control registers of the second physical processor core. 5 . The switching method as claimed in claim 2 , wherein the event signal transceiver glue layer comprises an interface distributer, and each of the physical processor cores has a respective asynchronous event interface commonly coupled to the interface distributer of the event signal transceiver glue layer, and the step of migrating the event signal transceiver glue layer from the first physical processor core to a second physical processor core further comprises reconfiguring the interface distributer of the event signal transceiver glue layer. 6 . The switching method as claimed in claim 2 , wherein each of the physical processor cores has one or more respective debug registers commonly coupled to a debugger, and the step of migrating the debug context from the first physical processor core to the second physical processor core further comprises moving the contents of the one or more debug registers of the first physical processor core to the one or more debug registers of the second physical processor core. 7 . The switching method as claimed in claim 1 , wherein the step of migrating the processor hardware context from the first physical processor core to the second physical processor core is performed directly or indirectly from the first physical processor core to the second physical processor core. 8 . The switching method as claimed in claim 2 , wherein the step of migrating the processor hardware context from the first physical processor core to the second physical processor core further comprises: saving contents of the execution context and the debug context of the first physical processor core from the first physical processor core to a memory; and reloading the saved contents of the execution context and the debug context of the first physical processor core from the memory to the second physical processor core. 9 . The switching method as claimed in claim 8 , wherein the step of migrating the processor hardware context from the first physical processor core to the second physical processor core further comprises: disjoining the first physical processor core from a symmetric multiprocessing environment of the plurality of physical processor cores between the step of saving contents of the execution context and the debug context of the first physical processor core and the step of reloading the saved contents of the execution context and the debug context of the first physical processor core; and joining the second physical processor core to the symmetric multiprocessing environment of the plurality of physical processor cores after the step of reloading the saved contents of the execution context and the debug context of the first physical processor core. 10 . The switching method as claimed in claim 9 , further comprising: stopping an asynchronous event service before the step of saving contents of the execution context and the debug context of the first physical processor core; migrating the event signal transceiver glue layer from the first physical processor core to the second physical processor core between the step of reloading the saved contents of the execution context and the debug context of the first physical processor core and the step of joining the second physical processor core to the symmetric multiprocessing environment; and starting the asynchronous event service after the step of joining the second physical processor core to the symmetric multiprocessing environment. 11 . The switching method as claimed in claim 8 , wherein the step of migrating the processor hardware context from the first physical processor core to the second physical processor core further comprises powering on the second physical processor core before the step of reloading the saved contents of the execution context and the debug context of the first physical processor core. 12 . The switching method as claimed in claim 2 , wherein the step of migrating the processor hardware context from the first physical processor core to the second physical processor core further comprises directly loading contents of the execution context and the debug context of the first physical processor core from the first physical processor core to the second physical processor core without passing through any memory. 13 . The switching method as claimed in claim 12 , wherein the step of migrating the processor hardware context from the first physical processor core to the second physical processor core further comprises: disjoining the first physical processor core from a symmetric multiprocessing environment of the plurality of physical processor cores before the step of loading contents of the execution context and the debug context of the first physical processor core; and joining the second physical processor core to the symmetric multiprocessing environment of the plurality of physical processor cores after the step of loading contents of the execution context and the debug context of the first physical processor core. 14 . The switching method as claimed in claim 13 , further comprising: stopping an asynchronous event service before the step of loading contents of the execution context and the debug context of the first physical processor core; migrating the event signal transceiver glue layer from the first physical processor core to the second physical processor core between the step of loading the execution context and the debug context of the first physical processor core and the step of joining the second physical processor core to

Assignees

Inventors

Classifications

  • G06F9/461Primary

    Saving or restoring of program or task context · CPC title

  • to perform miscellaneous control operations, e.g. NOP · CPC title

  • according to context, e.g. thread buffers · CPC title

  • G06F9/4875Primary

    with migration policy, e.g. auction, contract negotiation · CPC title

  • resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016154649A1 cover?
A switching method for context migration among a plurality of physical processor cores is provided. Each of the physical processor cores is mapped to a corresponding logical processor core. The switching method includes migrating a processor hardware context from a first physical processor core to a second physical processor core which is different from the first physical processor core. The fi…
Who is the assignee on this patent?
Mediatek Inc
What technology area does this patent fall under?
Primary CPC classification G06F9/461. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Jun 02 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).