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 DCC32C38A02 for ; Mon, 31 Oct 2022 10:13:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230204AbiJaKNp (ORCPT ); Mon, 31 Oct 2022 06:13:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230350AbiJaKNn (ORCPT ); Mon, 31 Oct 2022 06:13:43 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B7772D125; Mon, 31 Oct 2022 03:13:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 3C5EA80CD; Mon, 31 Oct 2022 10:04:12 +0000 (UTC) Date: Mon, 31 Oct 2022 12:13:39 +0200 From: Tony Lindgren To: Ivaylo Dimitrov Cc: "H. Nikolaus Schaller" , tomba@kernel.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, merlijn@wizzup.org Subject: Re: [PATCH 3/3] drm: omapdrm: Do no allocate non-scanout GEMs through DMM/TILER Message-ID: References: <1642587791-13222-1-git-send-email-ivo.g.dimitrov.75@gmail.com> <1642587791-13222-4-git-send-email-ivo.g.dimitrov.75@gmail.com> <4B3F8E50-3472-4AED-9A77-3E265DF8C928@goldelico.com> <0000784a-ae89-1081-0ec7-fc77d3381545@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0000784a-ae89-1081-0ec7-fc77d3381545@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org * Ivaylo Dimitrov [221031 06:55]: > On 31.10.22 г. 0:08 ч., H. Nikolaus Schaller wrote: > > [ 39.419846] WARNING: CPU: 0 PID: 3673 at drivers/bus/omap_l3_noc.c:139 l3_interrupt_handler+0x23c/0x330 > > [ 39.429914] 44000000.l3-noc:L3 Custom Error: MASTER MPU TARGET GPMC (Idle): Data Access in Supervisor mode during Functional access > > ... > > > > I have no idea what that error is supposed to mean. @Tony? The error above is GPMC related. It means GPMC is not properly clocked or powered while trying to access it's IO range. Maybe DSS is somehow trying to access GPMC address space registers with DMA? The GPMC address space starts at 0. Maybe the DSS DMA address is 0 somwhere? 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 05847FA3742 for ; Mon, 31 Oct 2022 10:13:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2E54310E185; Mon, 31 Oct 2022 10:13:46 +0000 (UTC) Received: from muru.com (muru.com [72.249.23.125]) by gabe.freedesktop.org (Postfix) with ESMTP id 78FDF10E185 for ; Mon, 31 Oct 2022 10:13:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 3C5EA80CD; Mon, 31 Oct 2022 10:04:12 +0000 (UTC) Date: Mon, 31 Oct 2022 12:13:39 +0200 From: Tony Lindgren To: Ivaylo Dimitrov Subject: Re: [PATCH 3/3] drm: omapdrm: Do no allocate non-scanout GEMs through DMM/TILER Message-ID: References: <1642587791-13222-1-git-send-email-ivo.g.dimitrov.75@gmail.com> <1642587791-13222-4-git-send-email-ivo.g.dimitrov.75@gmail.com> <4B3F8E50-3472-4AED-9A77-3E265DF8C928@goldelico.com> <0000784a-ae89-1081-0ec7-fc77d3381545@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0000784a-ae89-1081-0ec7-fc77d3381545@gmail.com> X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: tomba@kernel.org, airlied@linux.ie, "H. Nikolaus Schaller" , merlijn@wizzup.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-omap@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" * Ivaylo Dimitrov [221031 06:55]: > On 31.10.22 г. 0:08 ч., H. Nikolaus Schaller wrote: > > [ 39.419846] WARNING: CPU: 0 PID: 3673 at drivers/bus/omap_l3_noc.c:139 l3_interrupt_handler+0x23c/0x330 > > [ 39.429914] 44000000.l3-noc:L3 Custom Error: MASTER MPU TARGET GPMC (Idle): Data Access in Supervisor mode during Functional access > > ... > > > > I have no idea what that error is supposed to mean. @Tony? The error above is GPMC related. It means GPMC is not properly clocked or powered while trying to access it's IO range. Maybe DSS is somehow trying to access GPMC address space registers with DMA? The GPMC address space starts at 0. Maybe the DSS DMA address is 0 somwhere? Regards, Tony