Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6037536ybi; Wed, 29 May 2019 01:43:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqzA5s7bQpvlOgVKpa2y2fYffG0ZDTdmxARqee5SPxzspbCynfmFGo34/EhMFkqcozXgsXoG X-Received: by 2002:a17:902:850a:: with SMTP id bj10mr71718208plb.196.1559119428097; Wed, 29 May 2019 01:43:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559119428; cv=none; d=google.com; s=arc-20160816; b=SyoqN59LZQYZBccQV/LXXqiIWvPioLVSOnqTLrd98x5To3kb20ffSCGPvBGxX2H5Ks K6cwQtXFPdqxyApg6JE4ifKCKUX1KNVLH3eOR7gvYYVJGEjMVXUF4lppTuWvblJnAbQY DHp+WZqtetLJV7++aY2ANa0BKsz+Bts4g44W8zS10EU5dUeK40+EuDKGMIhw0mM/zZCQ hX7EdYDheleSXrs9K80THnSdQtd8RSS73iLL6+POHc34pZFEyI268cFWsMvEBeKO9hIF UddYGJGyXPlRnpe9RNHcY8k259YSFvX4KK1X7hxXACd1QkVwvz3HoEa3k2vpQsI6I1sn op8g== 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=kLcWkuMUD1c9UKeh1Icn/by3J3KUqRiWwfXRFd6P5x8=; b=P3IEdQPEujkn0kCHUW7GDvgJ5iy0vu8MlN2tb+EwZMXgfKpRyoyqGqsA31/1crdlN4 kM8G4Ej9KI+C/T/639QVHFM+hF2NTWGJDNlI8OruVxLIbRvzzy0EZyygPdICjOtMVBkV 2vGk69UpN8w2sR4FUYbxQ1KbsdNJQnC34MnAzFRTnF2k6eJd++I/Pe5O975yokTVHWbW mBtKFcBW9wReQddLCdMAf6JvFxLotCbYiSxFhaLDs2N45k3lWWD1YsVFwz/o0Ors8Rll ZigoS3A0DtlvHKQAGsUPahoDmjXbcSoiBKIJ050gAnNHyJOfwfu93P+sRoLlY1loAtD9 3a4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=TpzDSS2R; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h5si24487786pgg.526.2019.05.29.01.43.33; Wed, 29 May 2019 01:43:48 -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=@kernel.org header.s=default header.b=TpzDSS2R; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726341AbfE2ImN (ORCPT + 99 others); Wed, 29 May 2019 04:42:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:57766 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbfE2ImN (ORCPT ); Wed, 29 May 2019 04:42:13 -0400 Received: from mail-lj1-f181.google.com (mail-lj1-f181.google.com [209.85.208.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8DC632081C; Wed, 29 May 2019 08:42:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559119332; bh=kLcWkuMUD1c9UKeh1Icn/by3J3KUqRiWwfXRFd6P5x8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=TpzDSS2RYXCTm80dxTw9lE8EUlXiI94NlWx9ro3r8TnxPR1QYZFdHgBvQgtL3AGoO 8epxsYy9MpT3LjEr3evqQesj4oMRKkK/VIuSDK9u6y3OLQEtScwMDfNa/GnwXzM5F5 +G9B5pr36kY5XqsaRKjnZBikURUEDj2GfLK6MAik= Received: by mail-lj1-f181.google.com with SMTP id e13so1553655ljl.11; Wed, 29 May 2019 01:42:12 -0700 (PDT) X-Gm-Message-State: APjAAAUFtWprd4rks9Qn/r6JVxomoxzzB9dSlwI7nwhVlRYQ1RVMwnaz rMSVFzLBzLhxKCXx150ydP68jnwahhQ/0s/oEQo= X-Received: by 2002:a2e:9a9a:: with SMTP id p26mr3098090lji.64.1559119330847; Wed, 29 May 2019 01:42:10 -0700 (PDT) MIME-Version: 1.0 References: <20190528082846.21625-1-m.szyprowski@samsung.com> In-Reply-To: <20190528082846.21625-1-m.szyprowski@samsung.com> From: Krzysztof Kozlowski Date: Wed, 29 May 2019 10:41:59 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ARM: Add workaround for I-Cache line size mismatch between CPU cores To: Marek Szyprowski Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , Arnd Bergmann , Mark Rutland , Andre Przywara , Will Deacon , Catalin Marinas , "linux-samsung-soc@vger.kernel.org" , Bartlomiej Zolnierkiewicz , Seung-Woo Kim 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, 28 May 2019 at 10:29, Marek Szyprowski wrote: > > Some big.LITTLE systems have I-Cache line size mismatch between > LITTLE and big cores. This patch adds a workaround for proper I-Cache > support on such systems. Without it, some class of the userspace code > (typically self-modifying) might suffer from random SIGILL failures. > > Similar workaround already exists for ARM64 architecture. I has been > added by commit 116c81f427ff ("arm64: Work around systems with mismatched > cache line sizes"). > > Signed-off-by: Marek Szyprowski > --- > This workaround is needed on all supported Exynos big.LITTLE SoCs: 5420, > 5422 and 5800. > > Resend reason: removed RFC tag as there are no comments, I will upload > this patch to the patch tracking system Acked-by: Krzysztof Kozlowski Best regards, Krzysztof