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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6222EC4321E for ; Fri, 2 Dec 2022 16:28:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=dIQOd0PoJGgptRtVpB0WaOBz3XrwUjGbzUwyztaKr0s=; b=dos7H9a718SWRs 6TFgrJoG8kat8IO2JWM5VmMcWdCpoZDCepVt36zB6JtBDcc+R8v+fEQjS7MO2KmymGC890sVzusl9 9AEAvESMIrmrfI0RRTXQWBRNLsnqvzt5wOe+mOIRjV8JD/bv4W2DVuY6tDNB9gjpWU1BKf7+k2NDH kxrs2EpnOMJ6i79yahjeeyjxB1et1VageDuTdY5/sTPOBxK4QU9xC2uerNmK0YmyJhDvpJ9dLRBae q8XIJcRbZiwib1MhGpLYuMLiGCcb0SSOsnsexuUpjW4OoF8R2pB7wyI3DUqNFpXSHdeBfmb3/1vWI gN4MWYiMQ3M7oOBiTQSQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p18sw-00HWWq-AL; Fri, 02 Dec 2022 16:27:34 +0000 Received: from wp530.webpack.hosteurope.de ([80.237.130.52]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p18sq-00HWTJ-O6 for linux-arm-kernel@lists.infradead.org; Fri, 02 Dec 2022 16:27:30 +0000 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: X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1669998448;e46431d0; X-HE-SMSGID: 1p18sn-0004Gn-3W X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221202_082729_008891_691F5765 X-CRM114-Status: GOOD ( 23.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel