Patch "MIPS: ath79: fix regression in PCI window initialization" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
MIPS: ath79: fix regression in PCI window initialization
to the 4.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:
mips-ath79-fix-regression-in-pci-window-initialization.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
9184dc8ffa56844352b3b9860e562ec4ee41176fMon Sep 17 00:00:00 2001
From: Felix Fietkau <[email protected]>
Date: Mon, 16 May 2016 19:51:55 +0200
Subject: MIPS: ath79: fix regression in PCI window initialization
From: Felix Fietkau <[email protected]>
commit 9184dc8ffa56844352b3b9860e562ec4ee41176f upstream.
ath79_ddr_pci_win_base has the type void __iomem *, so register offsets need to be a multiple of 4.
Patchwork: https://patchwork.linux-mips.org/patch/13258/
--- arch/mips/ath79/common.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
arch/mips/ath79/common.c +8 -8
@@ -76,14 +76,14 @@ void ath79_ddr_set_pci_windows(void) {BUG_ON (!ath79_ddr_pci_win_base); -__raw_writel (AR71XX_PCI_WIN0_OFFS , ath79_ddr_pci_win_base +0 ); -__raw_writel (AR71XX_PCI_WIN1_OFFS , ath79_ddr_pci_win_base +1 ); -__raw_writel (AR71XX_PCI_WIN2_OFFS , ath79_ddr_pci_win_base +2 ); -__raw_writel (AR71XX_PCI_WIN3_OFFS , ath79_ddr_pci_win_base +3 ); -__raw_writel (AR71XX_PCI_WIN4_OFFS , ath79_ddr_pci_win_base +4 ); -__raw_writel (AR71XX_PCI_WIN5_OFFS , ath79_ddr_pci_win_base +5 ); -__raw_writel (AR71XX_PCI_WIN6_OFFS , ath79_ddr_pci_win_base +6 ); -__raw_writel (AR71XX_PCI_WIN7_OFFS , ath79_ddr_pci_win_base +7 ); +__raw_writel (AR71XX_PCI_WIN0_OFFS , ath79_ddr_pci_win_base +0x0 ); +__raw_writel (AR71XX_PCI_WIN1_OFFS , ath79_ddr_pci_win_base +0x4 ); +__raw_writel (AR71XX_PCI_WIN2_OFFS , ath79_ddr_pci_win_base +0x8 ); +__raw_writel (AR71XX_PCI_WIN3_OFFS , ath79_ddr_pci_win_base +0xc ); +__raw_writel (AR71XX_PCI_WIN4_OFFS , ath79_ddr_pci_win_base +0x10 ); +__raw_writel (AR71XX_PCI_WIN5_OFFS , ath79_ddr_pci_win_base +0x14 ); +__raw_writel (AR71XX_PCI_WIN6_OFFS , ath79_ddr_pci_win_base +0x18 ); +__raw_writel (AR71XX_PCI_WIN7_OFFS , ath79_ddr_pci_win_base +0x1c ); }EXPORT_SYMBOL_GPL (ath79_ddr_set_pci_windows);
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/mips-ath79-fix-regression-in-pci-window-initialization.patch