Re: [PATCH 1/8] mhi: pci-generic: Increase number of hardware events

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hemant,

On Thu, 19 Nov 2020 at 02:50, Hemant Kumar <hemantk@xxxxxxxxxxxxxx> wrote:
>
> Hi Loic,
>
> On 11/18/20 12:26 AM, Loic Poulain wrote:
> > On Wed, 18 Nov 2020 at 04:54, Hemant Kumar <hemantk@xxxxxxxxxxxxxx> wrote:
> >>
> >> Hi Loic,
> >>
> >> On 11/13/20 6:59 AM, Loic Poulain wrote:
> >>> If the IPA (IP hardware accelerator) is starved of event ring elements,
> >>> the modem is crashing (SDX55). That can be prevented by setting a
> >> it is because of event processing is getting starved ?
> >
> > Yes, and hardware does not like that.
> >
> >> Event ring elements = 2 x xfer ring is good for HW channels. Do you think NAPI
> >> polling would help when you start verifying higher data rates?
> >
> > That's a good question, I'll certainly test that. But we still need to
> > ensure this will
> > never ever happen with this higher event count.
> Once you move to burst mode, if device is running out of credit, it
> would send OOB and move to doorbell mode, and stop posting events until
> MHI Host rings DB with a TRE.

That not something I observe with my device/hardware, and I end with
the modem crashing:

[   47.607340] ipa_mhi_client ipa_mhi_gsi_ev_err_cb:1121 channel
id=100 client=42 state=2
[   47.608337] ipa_mhi_client ipa_mhi_gsi_ev_err_cb:1133 Received
GSI_EVT_EVT_RING_EMPTY_ERR
[   47.609310] ipa_mhi_client ipa_mhi_gsi_ev_err_cb:1138 err_desc=0x5000
[   47.610339] IPA: unrecoverable error has occurred, asserting

It's triggered from here:
https://source.codeaurora.org/quic/la/kernel/msm-4.14/tree/drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c?h=APSS.FSM.7.6#n1134

Regards,
Loic



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux