All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: "open list\:DRM DRIVER FOR MSM ADRENO GPU" 
	<linux-arm-msm@vger.kernel.org>,
	ath11k@lists.infradead.org,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: Re: ath11k/mhi backtraces on shutdown with linux-next
Date: Wed, 16 Dec 2020 20:34:55 +0200	[thread overview]
Message-ID: <87y2hxvbu8.fsf@codeaurora.org> (raw)
In-Reply-To: <CAA8EJppwnfy-Hi9pabGL-g9BgEcac6bs3jn8J1n=PPr9-y-d-A@mail.gmail.com> (Dmitry Baryshkov's message of "Sun, 13 Dec 2020 00:04:45 +0300")

Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:

> On Sat, 12 Dec 2020 at 08:11, Kalle Valo <kvalo@codeaurora.org> wrote:
>>
>> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
>>
>> > Hello,
>> >
>> > I've noticed the following backtrace during shutdown stage when
>> > rebooting RB5 board,
>> > using linux-next/master:
>> >
>> > [   31.060483] ath11k_pci 0000:01:00.0: shutdown
>> > [   31.067844] ------------[ cut here ]------------
>> > [   31.073111] WARNING: CPU: 4 PID: 101 at
>> > drivers/iommu/io-pgtable-arm.c:583 __arm_lpae_unmap+0x39c/0x550
>>
>> Do you have CONFIG_DMA_API_DEBUG disabled? There is one commit fixing a
>> DMA API debug warning but that should be in linux-next already:
>>
>> cd6181ff7e93 ath11k: dp_rx: fix monitor status dma unmap direction
>
> I have enabled CONFIG_DMA_API_DEBUG (and _SG too). Got no additional
> traces during boot and the same trace during reboot.

On x86 I see this during rmmod when iommu is enabled:

[  +0.012066] DMAR: DRHD: handling fault status reg 2
[  +0.000022] DMAR: [DMA Write] Request device [06:00.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set
[  +0.014657] DMAR: DRHD: handling fault status reg 2
[  +0.000017] DMAR: [DMA Write] Request device [06:00.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set

Is that the similar issue you are seeing, but just the printouts are
different due to different iommu implementation?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

WARNING: multiple messages have this Message-ID (diff)
From: Kalle Valo <kvalo@codeaurora.org>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: "open list:DRM DRIVER FOR MSM ADRENO GPU"
	<linux-arm-msm@vger.kernel.org>,
	ath11k@lists.infradead.org,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: Re: ath11k/mhi backtraces on shutdown with linux-next
Date: Wed, 16 Dec 2020 20:34:55 +0200	[thread overview]
Message-ID: <87y2hxvbu8.fsf@codeaurora.org> (raw)
In-Reply-To: <CAA8EJppwnfy-Hi9pabGL-g9BgEcac6bs3jn8J1n=PPr9-y-d-A@mail.gmail.com> (Dmitry Baryshkov's message of "Sun, 13 Dec 2020 00:04:45 +0300")

Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:

> On Sat, 12 Dec 2020 at 08:11, Kalle Valo <kvalo@codeaurora.org> wrote:
>>
>> Dmitry Baryshkov <dmitry.baryshkov@linaro.org> writes:
>>
>> > Hello,
>> >
>> > I've noticed the following backtrace during shutdown stage when
>> > rebooting RB5 board,
>> > using linux-next/master:
>> >
>> > [   31.060483] ath11k_pci 0000:01:00.0: shutdown
>> > [   31.067844] ------------[ cut here ]------------
>> > [   31.073111] WARNING: CPU: 4 PID: 101 at
>> > drivers/iommu/io-pgtable-arm.c:583 __arm_lpae_unmap+0x39c/0x550
>>
>> Do you have CONFIG_DMA_API_DEBUG disabled? There is one commit fixing a
>> DMA API debug warning but that should be in linux-next already:
>>
>> cd6181ff7e93 ath11k: dp_rx: fix monitor status dma unmap direction
>
> I have enabled CONFIG_DMA_API_DEBUG (and _SG too). Got no additional
> traces during boot and the same trace during reboot.

On x86 I see this during rmmod when iommu is enabled:

[  +0.012066] DMAR: DRHD: handling fault status reg 2
[  +0.000022] DMAR: [DMA Write] Request device [06:00.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set
[  +0.014657] DMAR: DRHD: handling fault status reg 2
[  +0.000017] DMAR: [DMA Write] Request device [06:00.0] PASID ffffffff fault addr 0 [fault reason 05] PTE Write access is not set

Is that the similar issue you are seeing, but just the printouts are
different due to different iommu implementation?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

  reply	other threads:[~2020-12-16 18:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-12  1:23 ath11k/mhi backtraces on shutdown with linux-next Dmitry Baryshkov
2020-12-12  1:23 ` Dmitry Baryshkov
2020-12-12  5:11 ` Kalle Valo
2020-12-12  5:11   ` Kalle Valo
2020-12-12 21:04   ` Dmitry Baryshkov
2020-12-12 21:04     ` Dmitry Baryshkov
2020-12-16 18:34     ` Kalle Valo [this message]
2020-12-16 18:34       ` Kalle Valo
2021-10-07  9:27       ` Kalle Valo
2021-10-07  9:27         ` Kalle Valo
2020-12-13 19:22 alan
2020-12-16 18:39 ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y2hxvbu8.fsf@codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=ath11k@lists.infradead.org \
    --cc=dmitry.baryshkov@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=manivannan.sadhasivam@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.