Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp975433rwb; Thu, 1 Dec 2022 10:37:30 -0800 (PST) X-Google-Smtp-Source: AA0mqf7zvhel0K+wwZqAljyAmu2dx/rofR18mWOFXIIVpHvgngAGhIjWqC5+pFLoJWQe+3pzY0ei X-Received: by 2002:a63:7d12:0:b0:477:4ae6:f8e7 with SMTP id y18-20020a637d12000000b004774ae6f8e7mr43137564pgc.616.1669919850094; Thu, 01 Dec 2022 10:37:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669919850; cv=none; d=google.com; s=arc-20160816; b=EqgevAsgrZCJgj0a7dMpXEPoPvJSwhHJBvxystNiTZsN10ORY11Z4KuOJMd+jNYpli 8nbVKKzX7z8fARidZ4wcegqGvjPgEO775XD3EWC0R9rS/90j2sif1Z7Ec9+1U3cCiWBD i59VoJ+F1JBf2eLyWfpKtlUFPCibQumPkDb1wpJTiNKPnFLJgimIrx8FQ9lsXHJfWH2W o/9FKtrFJbO/e2e98+HXjq52x9V6/H2BDr1Zg8t9hhkJwUHaKBPaHSZuKgZXBjo/pWlg XSx5k6BhDVqUNclkdt+Rg9H5tHJ4QIYgBn3tGsalW/Q4Xzlr0v9xb9U0Qxa8Ol9GfbVm Z4mQ== 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; bh=bDB9o+foOzS9eFyb+YCTtH6riHp1fIwERBIlDsClmbk=; b=zlKkLW3ird0XAJYuctWAxvFJbu9uq9mz/p20M0HvQH6Ned5qDCwzz/bcCxDH8YxLK8 mi0+ScGRPGU+kSMrMXqyuL1BM2HR4gXELSi9h0hWe6g3ONwnrRslRRFrEmJiTfnB0C8L 1QrycqZRE4C9uSVZwJ30lPwMmZdZjD2A69L0Qny8yk36uoeHW3zg8Tni9uTIt8xVdxBr 9xtsCs6dUblB373519obVpVaZTQq/bedPgEIwM/louAKvbuiK7EkLipdkkrvz1rUMU6a VsvXfGWOxw/H7o8T/jBxaLQBp59BIFILmG8ve3pu77LoFRiv6Nd8wVgfouDiyXaAhdPf 90Nw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p22-20020a63f456000000b00476e3bb232dsi4942423pgk.185.2022.12.01.10.37.19; Thu, 01 Dec 2022 10:37:30 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230313AbiLARrz (ORCPT + 82 others); Thu, 1 Dec 2022 12:47:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32808 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230236AbiLARrJ (ORCPT ); Thu, 1 Dec 2022 12:47:09 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1477BB007 for ; Thu, 1 Dec 2022 09:45:50 -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 ams.source.kernel.org (Postfix) with ESMTPS id 61867B81FC8 for ; Thu, 1 Dec 2022 17:45:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38626C433D6; Thu, 1 Dec 2022 17:45:46 +0000 (UTC) Date: Thu, 1 Dec 2022 17:45:43 +0000 From: Catalin Marinas To: Thorsten Leemhuis Cc: Sibi Sankar , Manivannan Sadhasivam , Will Deacon , Robin Murphy , amit.pundir@linaro.org, andersson@kernel.org, sumit.semwal@linaro.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Revert "arm64: dma: Drop cache invalidation from arch_dma_prep_coherent()" Message-ID: References: <20221114110329.68413-1-manivannan.sadhasivam@linaro.org> <20221114141109.GG30263@willie-the-truck> <1659929b-1372-cea6-5840-c58369a4252d@arm.com> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6d637906-e1d5-c481-a73d-2b2b845e223b@leemhuis.info> X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,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 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 but, as a workaround, we could add a command line option to force back the old behaviour (defaulting to the new one) until the driver is fixed. -- Catalin