Return-Path: Received: from out1-smtp.messagingengine.com ([66.111.4.25]:36281 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727268AbeHKOYo (ORCPT ); Sat, 11 Aug 2018 10:24:44 -0400 Date: Sat, 11 Aug 2018 13:50:42 +0200 From: Greg KH To: Max Filippov Cc: stable@vger.kernel.org Subject: Re: [PATCH] xtensa: increase ranges in ___invalidate_{i,d}cache_all Message-ID: <20180811115042.GB444@kroah.com> References: <20180811074423.4169-1-jcmvbkbc@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180811074423.4169-1-jcmvbkbc@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: On Sat, Aug 11, 2018 at 12:44:23AM -0700, Max Filippov wrote: > Cache invalidation macros use cache line size to iterate over > invalidated cache lines, assuming that all cache ways are invalidated by > single instruction, but xtensa ISA recommends to not assume that for > future compatibility: > In some implementations all ways at index Addry-1..z are invalidated > regardless of the specified way, but for future compatibility this > behavior should not be assumed. > > Iterate over all cache ways in ___invalidate_icache_all and > ___invalidate_dcache_all. > > Cc: stable@vger.kernel.org > Signed-off-by: Max Filippov > --- > arch/xtensa/include/asm/cacheasm.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.