Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4161580rwj; Tue, 20 Dec 2022 06:55:16 -0800 (PST) X-Google-Smtp-Source: AMrXdXuWr64aJ6PblNrtmMV7WNqU0tbV42DZ/EnbOmofI3w1GADABy2zhQMOvodXQ7tuNY4Q2C/J X-Received: by 2002:a17:906:a048:b0:7c0:a99c:485c with SMTP id bg8-20020a170906a04800b007c0a99c485cmr2079384ejb.68.1671548115971; Tue, 20 Dec 2022 06:55:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671548115; cv=none; d=google.com; s=arc-20160816; b=qa/IL4/Jto4LeXn1LKkskcgHcw5HCfDCOEoITBKY6ReMnBC/2kEBNN42jnss4zXIsz dHfwscZR/wEYxfk4V8IRSgQBAGLJI67fFf9/B7XCHCjjdlRteL2gE1yz6PmwHY7AUzYZ o1ci+Sio0exGOkwjlXvNBGMQ8i+VvoRSOhSfhOTSf4vJxRiA1uOqCKyQZDofN+BHuZQj Y+TFsedIE79J+emy1LPylv3vpcZykC3fsnbohVsp9BeThiJN4UFhpxoGCq0dxqG223lj ZhhkidUl+GMO/jwCqMltx2KgLnTvCckcsF9BiLdGS6JXxYcNBdb45Sr3uNVjuX7d553F YnkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=OjZvuZKXxzFJRZq3j75PnAQGUgw8cFsM3I4S8oUerK0=; b=bp1fTj7SmPvkCl+x7uobLpVWoVdOssXKMV/wVR8bmGkW9z9K6Or7dN0yOlfBQkNJFC IdU+5yj0l+5FQRZGEQAppAqatYp5N7Y1prBAhfIPm3ZKsqsz+5YJ/aTiD2idTly0AjBf 7N02G3FI+CQUjRBaADKIbQhqVjUTQE7mAIEmlAfhsQ67frasbrRZ5z1JhS4vX70/dDcR tE4l5/qod3RBevEST6swVuKGo/FPo6LM0zuDLaUANXCkoEg/0ij1cHp+pyKeEYz1DDeW /nYBC15T17kbiQ7NBMzcLpp65lNtxQzDtYnStg7c1VbP13kmSfSLmrDpe3CDjSh6KWrY sfRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WeKBmMXk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gg17-20020a170906e29100b007ae87dde2c7si848825ejb.830.2022.12.20.06.54.58; Tue, 20 Dec 2022 06:55:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=WeKBmMXk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233764AbiLTOv3 (ORCPT + 70 others); Tue, 20 Dec 2022 09:51:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229551AbiLTOux (ORCPT ); Tue, 20 Dec 2022 09:50:53 -0500 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D23A01CFC1 for ; Tue, 20 Dec 2022 06:50:30 -0800 (PST) Received: by mail-wr1-x431.google.com with SMTP id bx10so12019293wrb.0 for ; Tue, 20 Dec 2022 06:50:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=OjZvuZKXxzFJRZq3j75PnAQGUgw8cFsM3I4S8oUerK0=; b=WeKBmMXkUslzNxtSl6xTWfys/L0DO0+UMz2LRHCQAQYGrsz2BBNvQt8vKMu96DAo9q xvKkCWuB0tULogMjegQmkUADXcLST3yFJga1+5MXRKp5XSkiSH58ERtX6pFouLpnFHxn SPXQCgRDarI3pgV8Nl58IS0adEHjPL+0GwFUw6J65qosRLkir1LtI4qUecSPwsRy1wcm OtkLGwZglNOSxNpp5XW07h7g4gCYrspHFABL1Q+xlxBxrXAv+y1RtdWvlkIebIYVbhEO HE5EkduLREZPmvj2mwAIIqGkcAHYAQsR+OdOuYPJalEig1ZD4/w30qDKAAD+VWGO+T5U 3xyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=OjZvuZKXxzFJRZq3j75PnAQGUgw8cFsM3I4S8oUerK0=; b=6q+k1K7lpBRh6vJysgVA3WskcT2FqH3aXezt+/oJ0hn0E9I9of4oqI5l0as0t55JJr rs4Aj+zMHCzRSgVxRghguw1ZVODHhD7k+lbaN/2x/Q/AISlu/14jHEu/lFGn0mlKyhxW PehPHuezHeT5mYi818mFeS8MfiTnYKBW1fVXNgFDfB8LWlteeO3ZFqru7y6XMNP+uLgs YGO9HTZVwSDiD7uYCGAMcXdKVQvChX9r2dY8lgWEC5mB6QTqhxgB42JqaRTGrTFnSLJH nDES9m4Lgux118lC/FCWOpNgy1QYb98hmhiPo59S670JOV68I/dPoeGOqS5FxlZvcgZL Df6g== X-Gm-Message-State: AFqh2koY6KcdbMWPnObUPsbK6QYqZsIpk5bsTWMw+um06SMQtv+eomC1 6Lbge2zznDqCDP+LyN+6gLM= X-Received: by 2002:adf:a554:0:b0:248:ab8a:5144 with SMTP id j20-20020adfa554000000b00248ab8a5144mr1823739wrb.63.1671547829189; Tue, 20 Dec 2022 06:50:29 -0800 (PST) Received: from [192.168.2.177] ([207.188.167.132]) by smtp.gmail.com with ESMTPSA id b13-20020a05600003cd00b0024cb961b6aesm13171989wrg.104.2022.12.20.06.50.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Dec 2022 06:50:28 -0800 (PST) Message-ID: Date: Tue, 20 Dec 2022 15:50:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH] soc: mediatek: mtk-svs: Enable the IRQ later Content-Language: en-US To: =?UTF-8?B?Um9nZXIgTHUgKOmZuOeRnuWCkSk=?= , "ribalda@chromium.org" , "angelogioacchino.delregno@collabora.com" Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-mediatek@lists.infradead.org" References: <20221127-mtk-svs-v1-0-7a5819595838@chromium.org> <52fb6ccf3fe1cb11f3e330ecc4d9c6cf1225c98a.camel@mediatek.com> From: Matthias Brugger In-Reply-To: <52fb6ccf3fe1cb11f3e330ecc4d9c6cf1225c98a.camel@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/12/2022 12:03, Roger Lu (陸瑞傑) wrote: > Hi Matthias Sir, > > After applying this patch, SVS probes fail as below on my MT8192 platform. If > thing isn't too late, please do not merge this patch. I'll ask Ricardo how to > reproduce this issue and give the correct solution. Thanks in advance. > Ok, I just dropped the patch from v6.2-tmp/soc branch. Regards, Matthias > #MT8192 platform SVS probe fail log > [ 10.209430] SVSB_GPU_LOW: init02 completion timeout > [ 10.214402] mtk-svs 1100b000.svs: svs start fail: -16 > [ 10.219479] mtk-svs: probe of 1100b000.svs failed with error -16 > > Hi Ricardo, > > Could you share us how you reproduce this issue? I have MT8192 Chromebook and > can give it a try to reproduce the issue you encountered. Thanks a lot. > > Sincerely, > Roger Lu. > > On Fri, 2022-12-16 at 13:47 +0100, Matthias Brugger wrote: >> >> On 30/11/2022 12:00, AngeloGioacchino Del Regno wrote: >> > Il 27/11/22 21:22, Ricardo Ribalda ha scritto: >> > > If the system does not come from reset (like when is booted via >> > > kexec()), the peripheral might triger an IRQ before the data structures >> > > are initialised. >> > > >> > > Fixes: >> > > >> > > [ 0.227710] Unable to handle kernel NULL pointer dereference at >> > > virtual >> > > address 0000000000000f08 >> > > [ 0.227913] Call trace: >> > > [ 0.227918] svs_isr+0x8c/0x538 >> > > >> > > Signed-off-by: Ricardo Ribalda >> > >> > Reviewed-by: AngeloGioacchino Del Regno < >> > angelogioacchino.delregno@collabora.com> >> > >> > >> >> Applied thanks! >> > > ************* MEDIATEK Confidentiality Notice ******************** > The information contained in this e-mail message (including any > attachments) may be confidential, proprietary, privileged, or otherwise > exempt from disclosure under applicable laws. It is intended to be > conveyed only to the designated recipient(s). Any use, dissemination, > distribution, printing, retaining or copying of this e-mail (including its > attachments) by unintended recipient(s) is strictly prohibited and may > be unlawful. If you are not an intended recipient of this e-mail, or believe > that you have received this e-mail in error, please notify the sender > immediately (by replying to this e-mail), delete any and all copies of > this e-mail (including any attachments) from your system, and do not > disclose the content of this e-mail to any other person. Thank you!