Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2354298rwb; Fri, 2 Dec 2022 08:40:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf7ZJO1MuwjqBpuLyANRtlDhYevR19Whqrk6qt1Df7DLZL5Iik/p1m1Rq/KRYZgzRHmkc67z X-Received: by 2002:a17:907:cca3:b0:7c0:ba3a:6be0 with SMTP id up35-20020a170907cca300b007c0ba3a6be0mr5130732ejc.84.1669999222048; Fri, 02 Dec 2022 08:40:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669999222; cv=none; d=google.com; s=arc-20160816; b=pZEEQl8HZnPrYW9ko4acdb+xYLpOp5pjQ18xS71kts7qRxJRSd06UXSnhDLkv0Zaou vmQi24X4FmXyN6D8h7x6nkOSmH8pbDJo49s/UIXruh+Xo2IR9CdLS2fShJf2iu0wVNd/ LplF6yH1Rkdnxitd8e6XZ76fzv8C43tcByPJCzkp5TOyCWEeb18rtNfWuROIXLuBfRmu 070JhFiqgK5vIH0sJO8MTtzsHSR/ylLKK9gV1vSs6gf9t6dWdfm1YV506XaU6LOruw1v PFT7/Q3ar4GMx9iRT+aQG0It2ZEbTP4Oet4LHqr6rHC1Wi1pebbQ4kW1BfK/TLCj/Kd5 EC1A== 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; bh=M6ipgYDoowvUL7YrEm+xICwb2XhVtmJnxDspx8xvHwg=; b=kOHzL1pnQnHLKgG65z/Y5awDcJ+JebDZjzsUzpUR/TzE/MlOIMt5/Ki7feU/SJB2MN lmKO/5XVCgIoXfyInKu4P+kwTkPbvWlio5eJ1rw6CwiURtigjIhBzug9BslqInZ5J4xG tGHf0YgpZnSy+ad0TQHkk6GVvoODls8hkePX7L44FOENmnIK9JsNJWCuans1vXA6z11v VDJTYtxWjLYVZbquBtJSBMAMR1S3xSZgaGOiMLfh6lI8h+GSt0CfNZmwaovXsz+hThOi s8vIQxBjTWyzeSACWkCEgg04XzEHvePMyztUJZn9V61a63e4qSqMUcYyQT+YsX1UBn9b UASA== 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 l8-20020a056402124800b00469229ef941si6048182edw.468.2022.12.02.08.40.02; Fri, 02 Dec 2022 08:40:22 -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 S234149AbiLBQ1r (ORCPT + 82 others); Fri, 2 Dec 2022 11:27:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234094AbiLBQ13 (ORCPT ); Fri, 2 Dec 2022 11:27:29 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CECA5F5A for ; Fri, 2 Dec 2022 08:27:28 -0800 (PST) Received: from [2a02:8108:963f:de38:eca4:7d19:f9a2:22c5]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1p18sn-0004Gn-3W; Fri, 02 Dec 2022 17:27:25 +0100 Message-ID: <395ad6ef-eb54-ec7e-e131-714f23c84d7a@leemhuis.info> Date: Fri, 2 Dec 2022 17:27:24 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH] Revert "arm64: dma: Drop cache invalidation from arch_dma_prep_coherent()" Content-Language: en-US, de-DE To: Greg KH Cc: Will Deacon , Amit Pundir , Catalin Marinas , Sibi Sankar , Manivannan Sadhasivam , Robin Murphy , andersson@kernel.org, sumit.semwal@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hch@lst.de References: <20221118123349.GC3697@willie-the-truck> <20221121064224.GB11945@thinkpad> <018517b8-0ae0-54f5-f342-dcf1b3330a13@quicinc.com> <6d637906-e1d5-c481-a73d-2b2b845e223b@leemhuis.info> <20221202100357.GB29396@willie-the-truck> <92a148a3-a8ac-4065-123c-99b72ac3ebeb@leemhuis.info> From: Thorsten Leemhuis In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1669998448;e46431d0; X-HE-SMSGID: 1p18sn-0004Gn-3W X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,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 02.12.22 17:10, Greg KH wrote: > On Fri, Dec 02, 2022 at 11:34:30AM +0100, Thorsten Leemhuis wrote: >> On 02.12.22 11:03, Will Deacon wrote: >>> On Fri, Dec 02, 2022 at 09:54:05AM +0100, Thorsten Leemhuis wrote: >>>> On 02.12.22 09:26, Amit Pundir wrote: >>>>> On Thu, 1 Dec 2022 at 23:15, Catalin Marinas wrote: >>>>>> >>>>>> On Thu, Dec 01, 2022 at 10:29:39AM +0100, Thorsten Leemhuis wrote: >>>>>>> Has any progress been made to fix this regression? It afaics is not a >>>>>>> release critical issue, but well, it still would be nice to get this >>>>>>> fixed before 6.1 is released. >>>>>> >>>>>> The only (nearly) risk-free "fix" for 6.1 would be to revert the commit >>>>>> that exposed the driver bug. It doesn't fix the actual bug, it only >>>>>> makes it less likely to happen. >>>>>> >>>>>> I like the original commit removing the cache invalidation as it shows >>>>>> drivers not behaving properly >>>> >>>> Yeah, I understand that, but I guess it's my job to ask at this point: >>>> "is continuing to live with the old behavior for one or two more cycles" >>>> that much of a problem"? >>> >>> That wouldn't be a problem. The problem is that I haven't see any efforts >>> from the Qualcomm side to actually fix the drivers [...] >> >> Thx for sharing the details. I can fully understand your pain. But well, >> in the end it looks to me like this commit it intentionally breaking >> something that used to work -- which to my understanding of the "no >> regression rule" is not okay, even if things only worked by chance and >> not flawless. > > "no regressions" for userspace code, this is broken, out-of-tree driver > code, right? If so: apologies. But that's not the impression I got, as Amit wrote "I can reproduce this crash on vanilla v6.1-rc1 as well with no out-of-tree drivers." here: https://lore.kernel.org/linux-arm-kernel/CAMi1Hd3H2k1J8hJ6e-Miy5+nVDNzv6qQ3nN-9929B0GbHJkXEg@mail.gmail.com/ > I do not think any in-kernel drivers have this issue today > from what I can tell, but if I am wrong here, please let me know. > > We don't keep stable apis, or even functionality, for out-of-tree kernel > code as that would be impossible for us to do for obvious reasons. Ciao, Thorsten