Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5055174imm; Tue, 16 Oct 2018 04:36:45 -0700 (PDT) X-Google-Smtp-Source: ACcGV61X3HZcaIh1Ed5LJiQN9S+8NLsyLOvpKQ2JAZMhIvCPe5cWKuxQttHlaR7LrZ5XeIyIaiw1 X-Received: by 2002:a17:902:8c84:: with SMTP id t4-v6mr21409223plo.188.1539689805144; Tue, 16 Oct 2018 04:36:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539689805; cv=none; d=google.com; s=arc-20160816; b=p28DGcSKAPP+9E/rAdNcRxXGb7rh1U/qvvBPrO5F8iQVPYkzjhCp+SffBGsytaC4OB NfuuBkAGy6cbwC3gRzPS2n8msAclMZb0D+2CEWyweZoIH9ZCJODytAQCvxb7ILRdhioy 2evS2W+Z/ANiINgdyVZ2u9eZbzHDfnQfIaJ617cDJhVteOcf4wcQH9t1pzntU1VN58o5 RgLrn5vS/Z3ojLsm+b5tQeJXTqvrvYSR8sG8morGrmnMffibIVrzSvx6IMD9JdtomLOl hpEiDIiOcXNQp/Y0rsfDqWTEljs4N/ztQxIss+gmrdH8IkqMsiSqdt0NSOInupP1m3gN sjNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=VFgcHTi3iDuk1hrzjgQiMH2q3iaZ3sEZLEA+ZtLn/RM=; b=mWSgzA9G5S686UcIxuuFEQQDsxfkFi1/4p/SKkSgvJGetJ62IPuO406V8Iqq69vawo DALGMVrSkBhSnqpeE8fQms+yGS2jR0lhl1uIsg+lkN6VxIBmQOHgOFhFSTAdbLnGT6+Y zrllMpd22daHSIdkwozLTucbz4+I8LZ8Wc8vjtlsyQyYfH9EhP7GmI3BvU3KyaPAX7JW h+KwI+1Wg1Jr8t9Q5jz01PeOJNB0Ox1CXhOTlkIwsbjLGyO+4IVY5JuyAJFwl5+M0USm d8QUAXKctkfz/BMQCSS2e4dTmCoeEXYkuNTsgxeeTzR1VAFGe4XUG5Cq9AJVI6G+yWfw Y4jg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h0C9xjJd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q10-v6si14056205pgl.522.2018.10.16.04.36.28; Tue, 16 Oct 2018 04:36:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h0C9xjJd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727006AbeJPT0A (ORCPT + 99 others); Tue, 16 Oct 2018 15:26:00 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41356 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726595AbeJPTZ7 (ORCPT ); Tue, 16 Oct 2018 15:25:59 -0400 Received: by mail-qt1-f195.google.com with SMTP id l41-v6so25152103qtl.8 for ; Tue, 16 Oct 2018 04:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VFgcHTi3iDuk1hrzjgQiMH2q3iaZ3sEZLEA+ZtLn/RM=; b=h0C9xjJdpiTcwldudkkH0ZuDU7tPu1DrB23viOggQnnh50t/ZpV+AkiX5Brd9w9bRT OOZYoCHsKm6QfqgoP5K41pguMoN+T5H3K4/t+bCzOfH4CrcpvWLedcTYJR3ghv7TpX1v 6utfN02Zf21V9KqyB8+5tJ8is6TpJrYifvK60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VFgcHTi3iDuk1hrzjgQiMH2q3iaZ3sEZLEA+ZtLn/RM=; b=T0CL2nLon3HlsX9URh3MJClDaWd1lhqw2Tnf7+RNEAjguW6sTJqCIZ2wibKsBbjRsv bLdveFs+vlMITFmzIQfi69dSl2FFtFaxXLoJya5Z3Gxuw7kZ4tqR3vsP+D++Z8v4ZKaG isLhjK1asET8pl6/myUdtbCBDqxiexzvndEDVLlzj85UGUA1zDmkuFXA8dZZ+9/AL9uf GyPma3Zshoqh3/iAF9LoIVkWAgGcL7yFrdQWuFtpRh6tXw3hzx5CNudTdsubIGNSKBZE GWwu6mk8tH5j6WQcqH5j+qLhw+/Gj+doshdDqCY80QJVsyKDBUiq+9kiDGct1CbMOC+P cWnA== X-Gm-Message-State: ABuFfoisYwdBLlAYG+K/eK2IkyDK39uO3bbhOYBjhT3SN+xnvZ9bB0De wQfTvurJ2b6xLaYZIH5tCV2yN+GUnFpM1g/CYMg4/w== X-Received: by 2002:a0c:eb42:: with SMTP id c2mr21208841qvq.105.1539689757635; Tue, 16 Oct 2018 04:35:57 -0700 (PDT) MIME-Version: 1.0 References: <20181015221629.13924-1-stefan@agner.ch> <20181016084416.GF30658@n2100.armlinux.org.uk> In-Reply-To: <20181016084416.GF30658@n2100.armlinux.org.uk> From: Linus Walleij Date: Tue, 16 Oct 2018 13:35:44 +0200 Message-ID: Subject: Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list To: Russell King Cc: Stefan Agner , Hans Ulli Kroll , Joel Stanley , Nicolas Pitre , Arnd Bergmann , Linux ARM , "linux-kernel@vger.kernel.org" , Roman Yeryomin Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 16, 2018 at 10:44 AM Russell King - ARM Linux wrote: > On Tue, Oct 16, 2018 at 10:00:19AM +0200, Linus Walleij wrote: > > I am on deep waters with ARM assembly, admittedly. So I wanted to > > ask: OpenWRT has this cache patch: > > https://github.com/openwrt/openwrt/blob/master/target/linux/gemini/patches-4.14/0001-cache-patch-from-OpenWRT.patch > > I do not know why (sorry). > > > > Do you think that patch is actually a hack to hide the problem > > fixed with this patch? (OK maybe stupid question but...) > > No, it looks to me like a hack to make DMA cache handling "more > efficient" by cleaning/invalidating the entire cache when dealing > with large streaming buffers. Aha that makes a lot of sense. I will attempt to drop it from OpenWRT in the next kernel upgrade unless benchmarks can show that it is worth it. Thanks Russell! Linus Walleij