OSDN Git Service

Merge branch 'ipa-clock'
authorDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2021 22:09:31 +0000 (23:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Jul 2021 22:09:31 +0000 (23:09 +0100)
commit268ca4129d8da764fdf72916f762a1145c6ea743
tree10f435320328f6a5058a8612eb437cf9634efc2d
parent323e0cb473e2a8706ff162b6b4f4fa16023c9ba7
parente2f154e6b601fb25344ae244834de19881edb289
Merge branch 'ipa-clock'

Alex Elder says:

====================
net: ipa: defer taking uC proxy clock

This series rearranges some of the IPA initialization code.

The first patch gets rid of two trivial setup and teardown
functions, open-coding them in their callers instead.

The second patch has memory regions get configured before endpoints.

IPA interrupts do not depend on GSI being initialized.  Therefore
they can be initialized in the config phase rather than waiting for
setup.  The third patch moves this initialization earlier; memory
regions must already be defined, so it's done after memory config.

The microcontroller also has no dependency on GSI, though it does
require IPA interrupts to be configured.  The fourth patch moves
microcontroller initialization so it too happens during the config
phase rather than setup.

Finally, we currently take a "proxy clock" for the microcontroller
during the config phase, dropping it only after we learn the
microcontroller is initialized.  But microcontroller initialization
is started by the modem, so there's no point in taking that clock
reference before we know the modem has booted.  So the last patch
arranges to wait to take the "proxy clock" for the microcontroller
until we know the modem is about to boot.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>