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 5C26EC433EF for ; Thu, 26 May 2022 06:20:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237613AbiEZGUg (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-clk@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 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id F3E48C433F5 for ; Thu, 26 May 2022 06:22:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=oTm2oX6r+YiAxsjn5D+bllb6B0fukc8XrqduutsDScE=; b=egvXvoNlpF798s XKP0OP2IoWBaqnhaKgPg5PC0Nr1URTcFV/RZj1T0Tyn+Wcp+LvLpHHhtmhkJXYS9BuvHQVi/BIcBX JrnJ57x2DB1eX7dJom9TxTPEhe6HKNA28mL2IZuJyKMklWUih2k8QFPHeAkkYOfKjRz3uouFRw8nW 2Ikv2VdAId77Hz0ZghANf0YFFXu8LGJ9rPT8RYNPvUd3ZVVIC0OYiPnXIyzV0qE28XoAOADSEVxlG sw70CHMFO1UDex+sHgGx3co/1b3iOgRGj4mXw8a8XXxI+d3vMDeHwqlbB4wxAKu7EHH/YicF7E2ZH 7AsNmh6jJ/GVpPMhjwVw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nu6rP-00DcO4-7d; Thu, 26 May 2022 06:20:39 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nu6rL-00DcNV-MP for linux-arm-kernel@lists.infradead.org; Thu, 26 May 2022 06:20:37 +0000 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220525_232035_808813_1BA80C7D X-CRM114-Status: GOOD ( 10.27 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel