System and method for modem stabilization when waiting for AP-driven link recovery
AssigneeQUALCOMM Incorporated
InventorsHyun Seung Paik, Alok Mitra
Life of this patent
Estimating the term…
Abstract
Various embodiments of methods and systems for a modem-directed application processor boot flow in a portable computing device (“PCD”) are disclosed. An exemplary method includes an application processor that transitions into an idle state, such as a WFI state, for durations of time during a boot sequence that coincide with processing by a DMA engine and/or crypto engine. That is, the application processor may “sleep” while the DMA engine and/or crypto engine process workloads in response to instructions they received from the application processor.
Claims18
A method for modem stabilization, the method comprising:
- determining that an application processor (AP) is in a sleep state, wherein the AP and a modem are operable to communicate over a peripheral component interconnect express (PCIe) channel;
- determining that no active link is available over the PCIe channel;
- recognizing that a data packet is available in a workload queue for processing by a modem;
- and
- determining an available queue capacity in a memory component associated with the modem, wherein:
- if the available queue capacity is adequate to store the data packet, storing the data packet in the available queue capacity for later processing;
- and
- if the available queue capacity is inadequate to store the data packet, driving either multiple WAKE #signals or multiple GPIO toggles from the modem to the AP before dropping the data packet from the workload queue, wherein if a WAKE #signal or a GPIO toggle causes reestablishment of a link over the PCIe channel, transitioning the modem to an active processing state and processing the data packet and, if the link is not established, then dropping the data packet.
A system for modem stabilization of a portable computing device (“PCD”), the system comprising:
- means for determining that an application processor (AP) is in a sleep state, wherein the AP and a modem are operable to communicate over a peripheral component interconnect express (PCIe) channel;
- means for determining that no active link is available over the PCIe channel;
- means for recognizing that a data packet is available in a workload queue for processing by a modem;
- and
- means for determining an available queue capacity in a memory component associated with the modem, wherein:
- if the available queue capacity is adequate to store the data packet, activating means for storing the data packet in the available queue capacity for later processing;
- and
- if the available queue capacity is inadequate to store the data packet, activating means for driving either multiple WAKE #signals or multiple GPIO toggles from the modem to the AP before activating means for dropping the data packet from the workload queue, wherein if a WAKE #signal or a GPIO toggle causes reestablishment of a link over the PCIe channel, then activating means for transitioning the modem to an active processing state and processing the data packet and, if the link is not established, then dropping the data packet.
A system for modem stabilization of a portable computing device (“PCD”) comprising:
- a modem and an application processor (AP) communicatively connected by a peripheral component interconnect express (PCIe) channel, the modem configured to:
- determine that the AP is in a sleep state;
- determine that no active link is available over the PCIe channel;
- recognize that a data packet is available in a workload queue for processing by the modem;
- and
- determine an available queue capacity in a memory component associated with the modem, wherein:
- if the available queue capacity is adequate to store the data packet, store the data packet in the available queue capacity for later processing;
- and
- if the available queue capacity is inadequate to store the data packet, drive either multiple WAKE #signals or GPIO toggles to the AP before dropping the data packet from the workload queue, wherein if a WAKE #signal or a GPIO toggle causes reestablishment of a link over the PCIe channel, transition to an active processing state and process the data packet and, if the link is not established, then drop the data packet.
A computer program product comprising a non-transitory computer usable medium having a computer readable program code embodied therein, said computer readable program code adapted to be executed to implement a method for modem stabilization, the method comprising:
- determining that an application processor (AP) is in a sleep state, wherein the AP and a modem are operable to communicate over a peripheral component interconnect express (PCIe) channel;
- determining that no active link is available over the PCIe channel;
- recognizing that a data packet is available in a workload queue for processing by the modem;
- and
- determining an available queue capacity in a memory component associated with the modem, wherein:
- if the available queue capacity is adequate to store the data packet, storing the data packet in the available queue capacity for later processing;
- and
- if the available queue capacity is inadequate to store the data packet, driving either multiple WAKE #signals or multiple GPIO toggles from the modem to the AP before dropping the data packet from the workload queue, wherein if a WAKE #signal or a GPIO toggle causes reestablishment of a link over the PCIe channel, transitioning the modem to an active processing state and processing the data packet and, if the link is not established, then dropping the data packet.
Dependencies are inferred from the claim text.