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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 02C3EC4708F for ; Fri, 4 Jun 2021 06:51:48 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BC5E161153 for ; Fri, 4 Jun 2021 06:51:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BC5E161153 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C90806E9E6; Fri, 4 Jun 2021 06:51:46 +0000 (UTC) Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by gabe.freedesktop.org (Postfix) with ESMTPS id BBD2E6E06D for ; Fri, 4 Jun 2021 06:51:44 +0000 (UTC) Received: by mail-lf1-x134.google.com with SMTP id i9so12441246lfe.13 for ; Thu, 03 Jun 2021 23:51:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=24CVs5oDamNPy3bV29Y3QlcumOQhGrS+ACk0Gh27YNo=; b=nc0xP4j3Dlq8gGggNc+jgwBixp6BjdHZ8MIMoCQlYiSpWmvBVQTlSPUwNodnD7dgVH 2g7owIfC9bx7F3GfPVpMsPm0t1w1B4HPRvsnDdqBpE9qKmLGwdabtS49Uo21qa/9r0pw e5DpViCT3PSHYFF91BrIRbhq16/Xfqss00z/HycJWVmA3n94HTcnDb0BfFU8jxyKsV0X 8eIf/kRbPqneruTrJc+kQ2EXN1CoJCSXSGdsmWfnVm5ai7KifGfQIu5Wmi5Y/WBtAYzR Zi5ZyhoimMpci/nE9/MpbYoSFO2o+hmltUno9IFcrShYOPFUUKYQoC1zIruo7Ty9C0H1 7+HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=24CVs5oDamNPy3bV29Y3QlcumOQhGrS+ACk0Gh27YNo=; b=L1PK4ioYQNxnrhORbd7u0qdaJCsjxvWh9DOMqhCm+Qo9ssYH302zmGQPgzV8nFijZU AjvuoipbTnWx4tCjU5e5wjFvRDkKZXK96oUQZSLsrH+YvB09Lhxj7Czpke0o1NIdmO4i tyfrJ/v3PYtlNrlBZt2oSX1M+1t38hwNCU0PyR8qml5BhGio4uFIRwaDZf4tqqCqF5Ts B0j8zzF9jlbyoz9Owj3s7vkRrs6qn6Utzlv6VDqEebWr9MfErvPR/fevJ5n51TiXmFm4 qzCdp3mBxn+8cL56F3kegX1ONHrMemp5m81GkOpvX5RfsRRD013bUQ2iC6wRszG9IKyY OqfQ== X-Gm-Message-State: AOAM530427e9CzPO/vbIYnuKBKrkt2mOjGIseHo5FdWOn3YWNUUWl+jk uKM4Uj2F9S/ZJZ1Ctkr3s4Om/jcxT/DLD3n810F4Jw== X-Google-Smtp-Source: ABdhPJxSdQFIuKT8D1wpLo2d461wMyBT/bMjklVvG9XuWDPbzfDBofQzlwHPcaR/FN7AUR6XHi5Qmup7N1fGI4Bo8cc= X-Received: by 2002:a19:f616:: with SMTP id x22mr1739496lfe.291.1622789503165; Thu, 03 Jun 2021 23:51:43 -0700 (PDT) MIME-Version: 1.0 From: Linus Walleij Date: Fri, 4 Jun 2021 08:51:32 +0200 Message-ID: Subject: LIMA kernel bug - help! To: Qiang Yu , "open list:DRM PANEL DRIVERS" , lima@lists.freedesktop.org Content-Type: text/plain; charset="UTF-8" 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: Stephan Gerhold Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Qiang, I am using Lima on the ST-Ericsson U8500 SoC. It is one of the very earliest versions of MALI 400 MP. It mostly works on the mobile phones I have using PostmarkeOS and the Phosh UI (Wayland with MESA), but now I have an issue with one single specimen. I have this bug in my dmesg and after this the graphics start to act weird: [ 48.662336] lima a0300000.gpu: mmu page fault at 0x2020400 from bus id 0 of type read on ppmmu0 [ 48.662464] lima a0300000.gpu: fail to save task state from phoc pid 1581: error task list is full [ 48.662481] lima a0300000.gpu: pp task error 0 int_state=0 status=1 [ 48.662494] lima a0300000.gpu: mmu resume In interrupts: 75: 5 0 GIC-0 147 Level gp 76: 0 0 GIC-0 146 Level gpmmu 77: 3 0 GIC-0 145 Level pp0 78: 1 0 GIC-0 144 Level ppmmu0 My UI definitely want to render some more stuff so it gets stuck here. Any hints on how to troubleshoot this? Yours, Linus Walleij