Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2364488rwb; Fri, 2 Dec 2022 08:49:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf4zF5uosxwWM6eNwDHZn+kToOwYrfWj/VW9loe0QbL8i8iR9p6wFKQgjafVTmOczhg2aR3J X-Received: by 2002:a17:907:8c83:b0:7bf:4ac7:56e4 with SMTP id td3-20020a1709078c8300b007bf4ac756e4mr2401557ejc.39.1669999754756; Fri, 02 Dec 2022 08:49:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669999754; cv=none; d=google.com; s=arc-20160816; b=u5N6Q/9jszRg4kJfKmf0n4RHtHASaMG5OGoJf9n5Lyhex5ygy3sGAYKBk8/qAsVlhn FFeS5pmEniuLwrxKS2Wi5RqZTqO9xHydLZ/TUUMhliCVfrxIjzPLDP9IwGS7ySRZZvRw K9VD2ACfM1xIj5Aewf3TbYo47krOlilFNH6bnixm8cReTwRyM9dsKK9o1vBVyRJyWsjJ rgCZYqAY1ZyoNgKPov0wzSGCPVfbFnME+rgHRonlV1+lfrDr5ck72zH88WfC5Zj1BEia qB9NI550p1AQMu/a0k5MAYqldCteFauH3ZaPoKYWZhUUy0Q8qHZ/FfyoCwo7vM8VsgHe elgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=C32SmSkwlJlaUBqGe2RpLOmdrS/S1uPlBEn1x/XmaoE=; b=Ydr0h7X14Et/4GC0RdmWYKeAbCwxfmgqBLq1flHGPvICqtv8YKdVVO4BA6cbCLKQCI ZLIqAGj+tmkY3GhN9ejUFvEQz2SrHlLHwHAAhaQVMHCZl1hD49Wpwb0h+//5rMbCPkOo +NglgEXEqo45PxI3DtyXKaud7xQcqHhuM4t+ltinQEGd4mDQIrf8xhw+v0A3z7inU74j OwpE8XsiYcgagnzzB0wFJTCQfmX3A5W7lI1jkYuv0aCjSrdxNUUn0CMP7qePL7tEVHXn AQEVhF42xhw12xhoqRbJtgupYhgLt85YUaJyVTOxbfR42cXwDFayNxvUGI7K+13kCqQJ r3EQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1s3wulxV; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs3-20020a1709073e8300b007c09f4b0947si7137922ejc.1004.2022.12.02.08.48.54; Fri, 02 Dec 2022 08:49:14 -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=@linuxfoundation.org header.s=korg header.b=1s3wulxV; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233644AbiLBQdG (ORCPT + 82 others); Fri, 2 Dec 2022 11:33:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234071AbiLBQc4 (ORCPT ); Fri, 2 Dec 2022 11:32:56 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A7674508C for ; Fri, 2 Dec 2022 08:32:55 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 166246233A for ; Fri, 2 Dec 2022 16:32:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF39AC433D6; Fri, 2 Dec 2022 16:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1669998774; bh=pQ7g0nDMOMcY6daJmycAqY67TFIHNGmsVxECzKIRMaE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1s3wulxVdXIVq63bb87WUMUUL+XldGTyL7zWeuy5CHBc6+Xspp0QWBY2C5xcWatCl 88nRgRjSA9XlLB0ROROfY4ObT2oVdXFa2PfqLdv2SaUZj7ufAVg7d0eiVPBw9d7gB9 45ZkQaeX5l/ZydAUSGRq8i0AvssFWLnFfapK05P4= Date: Fri, 2 Dec 2022 17:32:51 +0100 From: Greg KH To: Thorsten Leemhuis 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 Subject: Re: [PATCH] Revert "arm64: dma: Drop cache invalidation from arch_dma_prep_coherent()" Message-ID: References: <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> <395ad6ef-eb54-ec7e-e131-714f23c84d7a@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <395ad6ef-eb54-ec7e-e131-714f23c84d7a@leemhuis.info> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 Fri, Dec 02, 2022 at 05:27:24PM +0100, Thorsten Leemhuis wrote: > > > 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/ Ah, I missed that. Ok, what in-tree drivers are having problems being buggy? I can't seem to figure that out from that report at all. Does anyone know? thanks, greg k-h