Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp460005rwb; Wed, 7 Dec 2022 21:26:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf78bj/jYQjIef9HjaISY91e7vpk5T5/yjDlGT0eLHv50LxX8tGFbmRnYmc+lWS8MTQFLg8d X-Received: by 2002:a17:906:1146:b0:78d:9f02:5458 with SMTP id i6-20020a170906114600b0078d9f025458mr64532607eja.753.1670477170681; Wed, 07 Dec 2022 21:26:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670477170; cv=none; d=google.com; s=arc-20160816; b=MKmaUemKw9Hx3NmsulqvIrLdpHaRxoTk6013gW1QNHstWpieeBsucOP3repKokPgl0 4hp8xqwmdCp8777UwGDw2g6TBMbRruDymoBJN/xk19SecIo3FbiXIPqUWhx419S533lg vVqTOedOUc5inBn9WPSiuaZ+eS6SPSEhs3zJyX1FUO0gxHQyVIGEfFqPz9WPl6aj3kRC RBn+I3WQbER10eBJoQ0ck7joJ6erbaYegus0m6mH/M1x7vRSPoc6zhtR43+mYZjy9h/m MJGyFrmJCs1Z/q8rNKu2NQcKFoivS8scqhFPAwf3L+xF2/k1HhQ0FO7QlWI6Hs5MT/p2 Rb3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from; bh=45QplidmDPAyohjXB1B27MZUlgs+Q4XvjS5eiR2Ug70=; b=FADdnTx7nqoEmFUPE//XSB38lA9kj6o7mO8QlNRNpcjIvWsIUrIpVzE1pEbPJCLWt/ km2dDAFAo6z2aszmixPzakqD5TySdpEbB30T1B/MaLVncpsz/J4CTFiukec+MWVQEwgJ qKOFeBZF5RD1UpiQqH7JQQRbDxRruxuIEwEIXnI1vwX5yqpPOx8ijKxpOyIIjTYHQx8w 5RBquFDpKHgF9ss66/XmwDT1bQxlGWwfspSFFEOXTCKNr+1Y7su1k5JU6Ok9BKR+Rczh Hkt24HGf+YnkKklx6oLKixlESJDJVUN00e6zAjC3CHe+/Sz2oahHdP0KzHBXO/hUO9km q0/w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q20-20020a056402041400b0046b0205ab58si5120758edv.580.2022.12.07.21.25.52; Wed, 07 Dec 2022 21:26:10 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229604AbiLHFGY (ORCPT + 74 others); Thu, 8 Dec 2022 00:06:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbiLHFGW (ORCPT ); Thu, 8 Dec 2022 00:06:22 -0500 X-Greylist: delayed 401 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 07 Dec 2022 21:06:20 PST Received: from devico.uberspace.de (devico.uberspace.de [185.26.156.185]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02F6E8DBE7 for ; Wed, 7 Dec 2022 21:06:19 -0800 (PST) Received: (qmail 23370 invoked by uid 990); 8 Dec 2022 04:59:37 -0000 Authentication-Results: devico.uberspace.de; auth=pass (plain) From: Leonard Lausen To: Manivannan Sadhasivam , catalin.marinas@arm.com, will@kernel.org Cc: robin.murphy@arm.com, amit.pundir@linaro.org, andersson@kernel.org, quic_sibis@quicinc.com, sumit.semwal@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Manivannan Sadhasivam Subject: Re: [PATCH] Revert "arm64: dma: Drop cache invalidation from arch_dma_prep_coherent()" In-Reply-To: <20221114110329.68413-1-manivannan.sadhasivam@linaro.org> References: <20221114110329.68413-1-manivannan.sadhasivam@linaro.org> Date: Thu, 08 Dec 2022 04:59:16 +0000 Message-ID: <868rjijxsr.fsf@lausen.nl> MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Bar: - X-Rspamd-Report: BAYES_HAM(-1.364397) MIME_GOOD(-0.1) X-Rspamd-Score: -1.464397 Received: from unknown (HELO unkown) (::1) by devico.uberspace.de (Haraka/2.8.28) with ESMTPSA; Thu, 08 Dec 2022 05:59:36 +0100 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, MSGID_FROM_MTA_HEADER,RCVD_IN_DNSWL_LOW,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 Manivannan Sadhasivam writes: > This reverts commit c44094eee32f32f175aadc0efcac449d99b1bbf7. > > As reported by Amit [1], dropping cache invalidation from > arch_dma_prep_coherent() triggers a crash on the Qualcomm SM8250 platform > (most probably on other Qcom platforms too). On sc7180 with c44094ee applied, it does not trigger crash but makes Wifi dysfunctional by preventing initialization of ath10k_snoc. qcom-q6v5-mss 4080000.remoteproc: PBL returned unexpected status -284098560 With the revert of c44094ee, wifi works fine again. Thank you Leonard