From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AC36C433FE for ; Thu, 26 May 2022 06:20:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239956AbiEZGUg (ORCPT ); Thu, 26 May 2022 02:20:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234775AbiEZGUg (ORCPT ); Thu, 26 May 2022 02:20:36 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 286EEBCEA4; Wed, 25 May 2022 23:20:33 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 73A608120; Thu, 26 May 2022 06:16:28 +0000 (UTC) Date: Thu, 26 May 2022 09:20:31 +0300 From: Tony Lindgren To: Yegor Yefremov Cc: Arnd Bergmann , Ard Biesheuvel , Linux-OMAP , linux-clk , Stephen Boyd , Linux ARM Subject: Re: am335x: 5.18.x: system stalling Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Yegor Yefremov [220526 05:45]: > On Tue, May 24, 2022 at 4:19 PM Tony Lindgren wrote: > > Maybe also try with CONFIG_MUSB_PIO_ONLY=y to see if it makes things > > better or worse :) > > PIO is always the last resort :-) And now it proves it again. With > PIO_ONLY the system doesn't stall. OK great :) So it has something to do with drivers/dma/ti/cppi41.c, or with drivers/usb/musb/cppi_dma.c or whatever the dma for am335x here is. Or maybe there's something using stack for buffers being passed to dma again that breaks with vmap stack. Regards, Tony