mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
6062d85892
Fixes: - CVE-2020-10757 The "mtd: rawnand: Pass a nand_chip object to nand_release()" commit was backported which needed some adaptations to other code. Run tested: ath79 Build tested: ath79 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
15 lines
554 B
Diff
15 lines
554 B
Diff
--- a/arch/powerpc/platforms/4xx/pci.c
|
|
+++ b/arch/powerpc/platforms/4xx/pci.c
|
|
@@ -1903,9 +1903,9 @@ static void __init ppc4xx_configure_pcie
|
|
* if it works
|
|
*/
|
|
out_le32(mbase + PECFG_PIM0LAL, 0x00000000);
|
|
- out_le32(mbase + PECFG_PIM0LAH, 0x00000000);
|
|
+ out_le32(mbase + PECFG_PIM0LAH, 0x00000008);
|
|
out_le32(mbase + PECFG_PIM1LAL, 0x00000000);
|
|
- out_le32(mbase + PECFG_PIM1LAH, 0x00000000);
|
|
+ out_le32(mbase + PECFG_PIM1LAH, 0x0000000c);
|
|
out_le32(mbase + PECFG_PIM01SAH, 0xffff0000);
|
|
out_le32(mbase + PECFG_PIM01SAL, 0x00000000);
|
|
|