From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751702AbdJ2R5l (ORCPT ); Sun, 29 Oct 2017 13:57:41 -0400 Received: from smtp3-g21.free.fr ([212.27.42.3]:11982 "EHLO smtp3-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751445AbdJ2R5k (ORCPT ); Sun, 29 Oct 2017 13:57:40 -0400 Subject: Re: [PATCH v2 2/3] mtd: spi-nor: stm32-quadspi: fix prefetching outside fsize To: Ludovic Barre , Marek Vasut Cc: David Woodhouse , Brian Norris , Boris Brezillon , Richard Weinberger , Alexandre Torgue , Rob Herring , linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <1509030755-19044-1-git-send-email-ludovic.Barre@st.com> <1509030755-19044-3-git-send-email-ludovic.Barre@st.com> From: Cyrille Pitchen Message-ID: Date: Sun, 29 Oct 2017 18:57:37 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <1509030755-19044-3-git-send-email-ludovic.Barre@st.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 26/10/2017 à 17:12, Ludovic Barre a écrit : > From: Ludovic Barre > > When memory-mapped mode is used, a prefetching mechanism fully > managed by the hardware allows to optimize the read from external > the QSPI memory. A 32-bytes FIFO is used for prefetching. > When the limit of flash size - fifo size is reached the prefetching > mechanism tries to read outside the fsize. > The stm32 quadspi hardware become busy and should be aborted. > > Signed-off-by: Ludovic Barre > Reported-by: Bruno Herrera > Tested-by: Bruno Herrera Applied to the spi-nor/next branch of l2-mtd Thanks!