On Tue, Dec 15, 2015 at 08:27:55PM +0530, Sudeep Biswas wrote: > From: Will Deacon <[email protected]> > > To speed up decompression, the decompressor sets up a flat, cacheable > mapping of memory. However, when there is insufficient space to hold > the page tables for this mapping, we don't bother to enable the caches > and subsequently skip all the cache maintenance hooks. > > Skipping the cache maintenance before jumping to the relocated code > allows the processor to predict the branch and populate the I-cache > with stale data before the relocation loop has completed (since a > bootloader may have SCTLR.I set, which permits normal, cacheable > instruction fetches regardless of SCTLR.M). > > This patch moves the cache maintenance check into the maintenance > routines themselves, allowing the v6/v7 versions to invalidate the > I-cache regardless of the MMU state. > > Cc: <[email protected]> > Reported-by: Marc Carino <[email protected]> > Tested-by: Julien Grall <[email protected]> > Signed-off-by: Will Deacon <[email protected]> > Signed-off-by: Russell King <[email protected]> > (cherry picked from commit 238962ac71910d6c20162ea5230685fead1836a4) > > Buglink: https://stintbugzilla.st.com/show_bug.cgi?id=89771 > > Signed-off-by: Sudeep Biswas <[email protected]> > --- > arch/arm/boot/compressed/head.S | 20 ++++++++++++++++---- > 1 files changed, 16 insertions(+), 4 deletions(-)
I don't understand, this is a very old patch, why are you sending it out again, and what stable tree do you want it applied to that it is not already in? confused, greg k-h -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
