Multicore shared cache operation engine
Techniques including receiving configuration information for a trigger control channel of the one or more trigger control channels, the configuration information defining a first one or more triggering events, receiving a first memory management command, store the first memory management command, detecting a first one or more triggering events, and triggering the stored first memory management command based on the detected first one or more triggering events.
1. A processing system comprising:
one or more processors;
a cache memory coupled to the one or more processors; and
a memory controller comprising:
one or more trigger control channels configured to:
receive configuration information for a trigger control channel of the one or more trigger control channels, the configuration information defining a first one or more triggering events;
receive a first memory management command;
store the first memory management command;
detect the first one or more triggering events; and
trigger the stored first memory management command based on the detected first one or more triggering events.
2. The processing system of claim 1 , wherein the first one or more triggering events comprise at least one of receiving an event on a shared messaging interface or a set register bit value command received on a local bus.
3. The processing system of claim 1 , wherein the first one or more triggering event comprises an event received on a shared messaging interface.
4. The processing system of claim 1 , wherein the received configuration information comprises an indication of an interface to use to obtain the first memory management command.
5. The processing system of claim 1 , wherein the configuration information is obtained from a peripheral.
6. The processing system of claim 1 , wherein the memory controller further comprises return messaging circuitry configured to:
receive a response to a memory access command;
format the response based on a memory access command type; and
output a formatted memory access command.
7. The processing system of claim 6 , wherein formatting the response comprises formatting a local event based on the response, and wherein the one or more trigger control channels are configured to trigger a second memory management command based on the local event.
8. The processing system of claim 1 , wherein the detected first one or more triggering events comprise at least one of a receiving an event on a shared messaging interface or a set register bit value command received on a local bus.
9. The processing system of claim 1 , wherein the one or more trigger control channels include two or more trigger control channels configured to:
detect a second one or more triggering events;
trigger a second memory management command based on the detected second one or more triggering events; and
wherein the memory controller is configured to arbitrate between the first and second memory management command.
10. A memory controller device coupled to one or more processors, the memory controller device comprising:
one or more trigger control channels configured to:
receive configuration information for a trigger control channel of the one or more trigger control channels, the configuration information defining a first one or more triggering events;
receive a first memory management command;
store the first memory management command;
detect the first one or more triggering events; and
trigger the stored first memory management command based on the detected first one or more triggering events.
11. The memory controller device of claim 10 , wherein the first one or more triggering events comprise at least one of receiving an event on a shared messaging interface or a set register bit value command received on a local bus.
12. The memory controller device of claim 10 , wherein the first one or more triggering event comprises an event received on a shared messaging interface.
13. The memory controller device of claim 10 , wherein the received configuration information comprises an indication of an interface to use to obtain the first memory management command.
14. The memory controller device of claim 10 , wherein the configuration information is obtained from a peripheral.
15. The memory controller device of claim 10 , wherein the memory controller further comprises return messaging circuitry configured to:
receive a response to a memory access command;
format the response based on a memory access command type; and
output a formatted memory access command.
16. The memory controller device of claim 15 , wherein formatting the response comprises formatting a local event based on the response, and wherein the one or more trigger control channels are configured to trigger a second memory management command based on the local event.
17. The memory controller device of claim 10 , wherein the detected first one or more triggering events comprise at least one of a receiving an event on a shared messaging interface or a set register bit value command received on a local bus.
18. The memory controller device of claim 10 , wherein the one or more trigger control channels include two or more trigger control channels configured to:
detect a second one or more triggering events;
trigger a second memory management command based on the detected second one or more triggering events; and
wherein the memory controller is configured to arbitrate between the first and second memory management command.
19. A method for accessing memory by a memory controller, comprising:
receiving configuration information for a trigger control channel of one or more trigger control channels, the configuration information defining a first one or more triggering events;
receiving a first memory management command;
storing the first memory management command;
detecting the first one or more triggering events; and
triggering the stored first memory management command based on the detected first one or more triggering events.
20. The method of claim 19 , further comprising:
receiving a response to a memory access command;
formatting the response based on a memory access command type; and
outputting a formatted memory access command.