Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1947184rwb; Fri, 2 Dec 2022 03:28:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf6L04l/MVKf3LGmYu9YQt0DRvtnl7vD+rg/AX3ZEcJ/vvWelh/xaQj8QHCQfROi9hQHj9ZW X-Received: by 2002:a05:6402:120c:b0:46b:86:20b5 with SMTP id c12-20020a056402120c00b0046b008620b5mr24461028edw.130.1669980525655; Fri, 02 Dec 2022 03:28:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669980525; cv=none; d=google.com; s=arc-20160816; b=LWMQbIuT7OSqLo0KImpS70CSz117Ik6GbkezwpD7Oi91tOVUh09UG0KM1bf1kusTdy gBO0v6YCpGTDE03cDCyE7KpquBrnhIB4LiX9TAZog/tCOkqFxoqs67uwlCCi4fdVaHBq 8pN8WK7AH3Hi/HANDckLTb4GU/N0yuewCvB3h/bGY61MtOtYf/x4CLpAB/zoa6r9BgFu KvoZ/17gyXfCxurTVFruE3VmcSWfLo1orXjrJY2TgPXoxbWEuX0JziasluaDKOFIF8Tu vgUZfUhZtYhl5cAVXHaQuXRf5yHJP1PQpqEeEnTlEpv0BoV0j1PywjO7XjulHPRyvAEm yDTQ== 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=J9gsAPTYXtH6tDisjB90umeslx8Tu/sCSXR64rZNxLs=; b=N5d0MPSdYm2RvHeDNOUPYXOOsKMJf5jE2IyXUxwrFD9aJP3YPlrneyh9mtHCt4UmRE 7RxUx4htqD3DFL9Mj44SQOZiVvJFlbU/TVYpsWTQL/x5wlBwrtqWCMMuZ78KpNqbhd0f FUolbGCtWAbyyJpSNcT+Au4CzdRrpx879VWriV28zkvvpqn1Yb+KAkcr+fe4kDk5nskG t8DVBhsZx2W8U4+dyFc5pj49SQ/TZxV2VAmdt1P+cRZK+DlaCMQrU7NDKWPuz9Rrzw2x uZI5kDwPFSxLIqZ4f09TSn2oBsWcjbhMMbkr8Igas2z0UtnOS8oWz+W2+/F+vokn0BbD HyBQ== 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 bt9-20020a0564020a4900b0045d27c0ba90si5555069edb.577.2022.12.02.03.28.25; Fri, 02 Dec 2022 03:28:45 -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 S233054AbiLBKfH (ORCPT + 83 others); Fri, 2 Dec 2022 05:35:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232723AbiLBKeg (ORCPT ); Fri, 2 Dec 2022 05:34:36 -0500 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84360BF90B for ; Fri, 2 Dec 2022 02:34:35 -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 1p13NH-0008Fn-9b; Fri, 02 Dec 2022 11:34:31 +0100 Message-ID: <92a148a3-a8ac-4065-123c-99b72ac3ebeb@leemhuis.info> Date: Fri, 2 Dec 2022 11:34:30 +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: Will Deacon Cc: 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, gregkh@linuxfoundation.org References: <20221118105402.GA184726@thinkpad> <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> From: Thorsten Leemhuis In-Reply-To: <20221202100357.GB29396@willie-the-truck> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1669977275;1ced93a9; X-HE-SMSGID: 1p13NH-0008Fn-9b 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 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. But well, as with every rule there are misunderstandings, grey areas, and situations where judgement calls have to be made. Then it's up to Linus to decide how to handle things. Hence I'll just point him to this thread and then he can decide. No biggie. And sorry if I'm being a PITA here, I just thing doing that is my duty as regression tracker in situations like this. Hope your won't mind. Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) P.S.: As the Linux kernel's regression tracker I deal with a lot of reports and sometimes miss something important when writing mails like this. If that's the case here, don't hesitate to tell me in a public reply, it's in everyone's interest to set the public record straight.