Patch "Revert "fdt: Properly handle "no-map" field in the memory region"" has been added to the 5.4-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    Revert "fdt: Properly handle "no-map" field in the memory region"

to the 5.4-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     revert-fdt-properly-handle-no-map-field-in-the-memory-region.patch
and it can be found in the queue-5.4 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From foo@baz Wed May 12 04:02:46 PM CEST 2021
From: Quentin Perret <qperret@xxxxxxxxxx>
Date: Wed, 12 May 2021 12:28:53 +0000
Subject: Revert "fdt: Properly handle "no-map" field in the memory region"
To: stable@xxxxxxxxxxxxxxx
Cc: alexandre.torgue@xxxxxxxxxxx, robh+dt@xxxxxxxxxx, f.fainelli@xxxxxxxxx, ardb@xxxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxx, sashal@xxxxxxxxxx
Message-ID: <20210512122853.3243417-3-qperret@xxxxxxxxxx>

From: Quentin Perret <qperret@xxxxxxxxxx>

This reverts commit fb326c6ce0dcbb6273202c6e012759754ec8538d.
It is not really a fix, and the backport misses dependencies, which
breaks existing platforms.

Reported-by: Alexandre TORGUE <alexandre.torgue@xxxxxxxxxxx>
Signed-off-by: Quentin Perret <qperret@xxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
 drivers/of/fdt.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/of/fdt.c
+++ b/drivers/of/fdt.c
@@ -1154,7 +1154,7 @@ int __init __weak early_init_dt_reserve_
 					phys_addr_t size, bool nomap)
 {
 	if (nomap)
-		return memblock_mark_nomap(base, size);
+		return memblock_remove(base, size);
 	return memblock_reserve(base, size);
 }
 


Patches currently in stable-queue which might be from qperret@xxxxxxxxxx are

queue-5.4/revert-fdt-properly-handle-no-map-field-in-the-memory-region.patch
queue-5.4/revert-of-fdt-make-sure-no-map-does-not-remove-already-reserved-regions.patch



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux