* [PATCH 3.16 277/294] MIPS: BMIPS: Fix ".previous without corresponding .section" warnings
[not found] <lsq.1510009377.526284287@decadent.org.uk>
@ 2017-11-06 23:03 ` Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 280/294] MIPS: ip22: Fix ip28 build for modern gcc Ben Hutchings
` (5 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2017-11-06 23:03 UTC (permalink / raw)
To: linux-kernel, stable
Cc: akpm, Kevin Cernekee, jfraser, linux-mips, f.fainelli,
Arnd Bergmann, mbizon, Ralf Baechle, devicetree, jogo
3.16.50-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Kevin Cernekee <cernekee@gmail.com>
commit 4ec8f9e9b08451303253249e4e302f10ee23d565 upstream.
Commit 078a55fc824c1 ("Delete __cpuinit/__CPUINIT usage from MIPS code")
removed our __CPUINIT directives, so now the ".previous" directives
are superfluous. Remove them.
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Cc: f.fainelli@gmail.com
Cc: mbizon@freebox.fr
Cc: jogo@openwrt.org
Cc: jfraser@broadcom.com
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/8156/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/mips/kernel/bmips_vec.S | 3 ---
1 file changed, 3 deletions(-)
--- a/arch/mips/kernel/bmips_vec.S
+++ b/arch/mips/kernel/bmips_vec.S
@@ -211,7 +211,6 @@ bmips_reset_nmi_vec_end:
END(bmips_reset_nmi_vec)
.set pop
- .previous
/***********************************************************************
* CPU1 warm restart vector (used for second and subsequent boots).
@@ -286,5 +285,3 @@ LEAF(bmips_enable_xks01)
jr ra
END(bmips_enable_xks01)
-
- .previous
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3.16 293/294] MIPS: Fix a warning for virt_to_page
[not found] <lsq.1510009377.526284287@decadent.org.uk>
` (5 preceding siblings ...)
2017-11-06 23:03 ` [PATCH 3.16 283/294] MIPS: TXx9: Delete an unused variable in tx4927_pcibios_setup Ben Hutchings
@ 2017-11-06 23:03 ` Ben Hutchings
6 siblings, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2017-11-06 23:03 UTC (permalink / raw)
To: linux-kernel, stable
Cc: akpm, linux-mips, Ralf Baechle, Zubair Lutfullah Kakakhel,
Arnd Bergmann
3.16.50-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
commit 4d5b3bdc0ecb0cf5b1e1598eeaaac4b5cb33868d upstream.
Compiling mm/highmem.c gives a warning: passing argument 1 of
'virt_to_phys' makes pointer from integer without a cast
Fixed by casting to void*
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7337/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/mips/include/asm/page.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/arch/mips/include/asm/page.h
+++ b/arch/mips/include/asm/page.h
@@ -223,7 +223,8 @@ static inline int pfn_valid(unsigned lon
#endif
-#define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(virt_to_phys(kaddr)))
+#define virt_to_page(kaddr) pfn_to_page(PFN_DOWN(virt_to_phys((void *) \
+ (kaddr))))
extern int __virt_addr_valid(const volatile void *kaddr);
#define virt_addr_valid(kaddr) \
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3.16 280/294] MIPS: ip22: Fix ip28 build for modern gcc
[not found] <lsq.1510009377.526284287@decadent.org.uk>
2017-11-06 23:03 ` [PATCH 3.16 277/294] MIPS: BMIPS: Fix ".previous without corresponding .section" warnings Ben Hutchings
@ 2017-11-06 23:03 ` Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 279/294] MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression Ben Hutchings
` (4 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2017-11-06 23:03 UTC (permalink / raw)
To: linux-kernel, stable; +Cc: akpm, Arnd Bergmann, Ralf Baechle, linux-mips
3.16.50-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Arnd Bergmann <arnd@arndb.de>
commit 23ca9b522383d3b9b7991d8586db30118992af4a upstream.
kernelci reports a failure of the ip28_defconfig build after upgrading its
gcc version:
arch/mips/sgi-ip22/Platform:29: *** gcc doesn't support needed option -mr10k-cache-barrier=store. Stop.
The problem apparently is that the -mr10k-cache-barrier=store option is now
rejected for CPUs other than r10k. Explicitly including the CPU in the
check fixes this and is safe because both options were introduced in
gcc-4.4.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/15049/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/mips/sgi-ip22/Platform | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/mips/sgi-ip22/Platform
+++ b/arch/mips/sgi-ip22/Platform
@@ -25,7 +25,7 @@ endif
# Simplified: what IP22 does at 128MB+ in ksegN, IP28 does at 512MB+ in xkphys
#
ifdef CONFIG_SGI_IP28
- ifeq ($(call cc-option-yn,-mr10k-cache-barrier=store), n)
+ ifeq ($(call cc-option-yn,-march=r10000 -mr10k-cache-barrier=store), n)
$(error gcc doesn't support needed option -mr10k-cache-barrier=store)
endif
endif
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3.16 279/294] MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression
[not found] <lsq.1510009377.526284287@decadent.org.uk>
2017-11-06 23:03 ` [PATCH 3.16 277/294] MIPS: BMIPS: Fix ".previous without corresponding .section" warnings Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 280/294] MIPS: ip22: Fix ip28 build for modern gcc Ben Hutchings
@ 2017-11-06 23:03 ` Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 281/294] MIPS: MSP71xx: remove odd locking in PCI config space access code Ben Hutchings
` (3 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2017-11-06 23:03 UTC (permalink / raw)
To: linux-kernel, stable; +Cc: akpm, linux-mips, Ralf Baechle, Maciej W. Rozycki
3.16.50-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: "Maciej W. Rozycki" <macro@linux-mips.org>
commit 68fe55680d0f3342969f49412fceabb90bdfadba upstream.
Fix a commit 3021773c7c3e ("MIPS: DEC: Avoid la pseudo-instruction in
delay slots") regression and remove assembly errors:
arch/mips/dec/int-handler.S: Assembler messages:
arch/mips/dec/int-handler.S:162: Error: Macro used $at after ".set noat"
arch/mips/dec/int-handler.S:163: Error: Macro used $at after ".set noat"
arch/mips/dec/int-handler.S:229: Error: Macro used $at after ".set noat"
arch/mips/dec/int-handler.S:230: Error: Macro used $at after ".set noat"
triggering with with the CPU_DADDI_WORKAROUNDS option set and the DADDIU
instruction. This is because with that option in place the instruction
becomes a macro, which expands to an LI/DADDU (or actually ADDIU/DADDU)
sequence that uses $at as a temporary register.
With CPU_DADDI_WORKAROUNDS we only support `-msym32' compilation though,
and this is already enforced in arch/mips/Makefile, so choose the 32-bit
expansion variant for the supported configurations and then replace the
64-bit variant with #error just in case.
Fixes: 3021773c7c3e ("MIPS: DEC: Avoid la pseudo-instruction in delay slots")
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/16893/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/mips/dec/int-handler.S | 34 ++++++----------------------------
1 file changed, 6 insertions(+), 28 deletions(-)
--- a/arch/mips/dec/int-handler.S
+++ b/arch/mips/dec/int-handler.S
@@ -147,23 +147,12 @@
* Find irq with highest priority
*/
# open coded PTR_LA t1, cpu_mask_nr_tbl
-#if (_MIPS_SZPTR == 32)
+#if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32)
# open coded la t1, cpu_mask_nr_tbl
lui t1, %hi(cpu_mask_nr_tbl)
addiu t1, %lo(cpu_mask_nr_tbl)
-
-#endif
-#if (_MIPS_SZPTR == 64)
- # open coded dla t1, cpu_mask_nr_tbl
- .set push
- .set noat
- lui t1, %highest(cpu_mask_nr_tbl)
- lui AT, %hi(cpu_mask_nr_tbl)
- daddiu t1, t1, %higher(cpu_mask_nr_tbl)
- daddiu AT, AT, %lo(cpu_mask_nr_tbl)
- dsll t1, 32
- daddu t1, t1, AT
- .set pop
+#else
+#error GCC `-msym32' option required for 64-bit DECstation builds
#endif
1: lw t2,(t1)
nop
@@ -214,23 +203,12 @@
* Find irq with highest priority
*/
# open coded PTR_LA t1,asic_mask_nr_tbl
-#if (_MIPS_SZPTR == 32)
+#if defined(CONFIG_32BIT) || defined(KBUILD_64BIT_SYM32)
# open coded la t1, asic_mask_nr_tbl
lui t1, %hi(asic_mask_nr_tbl)
addiu t1, %lo(asic_mask_nr_tbl)
-
-#endif
-#if (_MIPS_SZPTR == 64)
- # open coded dla t1, asic_mask_nr_tbl
- .set push
- .set noat
- lui t1, %highest(asic_mask_nr_tbl)
- lui AT, %hi(asic_mask_nr_tbl)
- daddiu t1, t1, %higher(asic_mask_nr_tbl)
- daddiu AT, AT, %lo(asic_mask_nr_tbl)
- dsll t1, 32
- daddu t1, t1, AT
- .set pop
+#else
+#error GCC `-msym32' option required for 64-bit DECstation builds
#endif
2: lw t2,(t1)
nop
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3.16 281/294] MIPS: MSP71xx: remove odd locking in PCI config space access code
[not found] <lsq.1510009377.526284287@decadent.org.uk>
` (2 preceding siblings ...)
2017-11-06 23:03 ` [PATCH 3.16 279/294] MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression Ben Hutchings
@ 2017-11-06 23:03 ` Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 282/294] MIPS: Fix the build on jz4740 after removing the custom gpio.h Ben Hutchings
` (2 subsequent siblings)
6 siblings, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2017-11-06 23:03 UTC (permalink / raw)
To: linux-kernel, stable
Cc: akpm, Sergey Ryazanov, Ralf Baechle, Arnd Bergmann, Linux MIPS
3.16.50-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Sergey Ryazanov <ryazanov.s.a@gmail.com>
commit c4a305374bbf36414515d2ae00d588c67051e67d upstream.
Caller (generic PCI code) already do proper locking so no need to add
another one here.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
Cc: Linux MIPS <linux-mips@linux-mips.org>
Patchwork: https://patchwork.linux-mips.org/patch/7601/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/mips/pci/ops-pmcmsp.c | 12 ------------
1 file changed, 12 deletions(-)
--- a/arch/mips/pci/ops-pmcmsp.c
+++ b/arch/mips/pci/ops-pmcmsp.c
@@ -193,8 +193,6 @@ static void pci_proc_init(void)
}
#endif /* CONFIG_PROC_FS && PCI_COUNTERS */
-static DEFINE_SPINLOCK(bpci_lock);
-
/*****************************************************************************
*
* STRUCT: pci_io_resource
@@ -368,7 +366,6 @@ int msp_pcibios_config_access(unsigned c
struct msp_pci_regs *preg = (void *)PCI_BASE_REG;
unsigned char bus_num = bus->number;
unsigned char dev_fn = (unsigned char)devfn;
- unsigned long flags;
unsigned long intr;
unsigned long value;
static char pciirqflag;
@@ -401,10 +398,7 @@ int msp_pcibios_config_access(unsigned c
}
#if defined(CONFIG_PMC_MSP7120_GW) || defined(CONFIG_PMC_MSP7120_EVAL)
- local_irq_save(flags);
vpe_status = dvpe();
-#else
- spin_lock_irqsave(&bpci_lock, flags);
#endif
/*
@@ -457,9 +451,6 @@ int msp_pcibios_config_access(unsigned c
#if defined(CONFIG_PMC_MSP7120_GW) || defined(CONFIG_PMC_MSP7120_EVAL)
evpe(vpe_status);
- local_irq_restore(flags);
-#else
- spin_unlock_irqrestore(&bpci_lock, flags);
#endif
return -1;
@@ -467,9 +458,6 @@ int msp_pcibios_config_access(unsigned c
#if defined(CONFIG_PMC_MSP7120_GW) || defined(CONFIG_PMC_MSP7120_EVAL)
evpe(vpe_status);
- local_irq_restore(flags);
-#else
- spin_unlock_irqrestore(&bpci_lock, flags);
#endif
return PCIBIOS_SUCCESSFUL;
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3.16 283/294] MIPS: TXx9: Delete an unused variable in tx4927_pcibios_setup
[not found] <lsq.1510009377.526284287@decadent.org.uk>
` (4 preceding siblings ...)
2017-11-06 23:03 ` [PATCH 3.16 282/294] MIPS: Fix the build on jz4740 after removing the custom gpio.h Ben Hutchings
@ 2017-11-06 23:03 ` Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 293/294] MIPS: Fix a warning for virt_to_page Ben Hutchings
6 siblings, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2017-11-06 23:03 UTC (permalink / raw)
To: linux-kernel, stable
Cc: akpm, Atsushi Nemoto, linux-mips, Ralf Baechle, Arnd Bergmann
3.16.50-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
commit 1bc2d3e38e5bf90af4e9d64e1696f2d39757355a upstream.
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7216/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/mips/pci/ops-tx4927.c | 2 --
1 file changed, 2 deletions(-)
--- a/arch/mips/pci/ops-tx4927.c
+++ b/arch/mips/pci/ops-tx4927.c
@@ -199,8 +199,6 @@ static struct {
char *tx4927_pcibios_setup(char *str)
{
- unsigned long val;
-
if (!strncmp(str, "trdyto=", 7)) {
u8 val = 0;
if (kstrtou8(str + 7, 0, &val) == 0)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3.16 282/294] MIPS: Fix the build on jz4740 after removing the custom gpio.h
[not found] <lsq.1510009377.526284287@decadent.org.uk>
` (3 preceding siblings ...)
2017-11-06 23:03 ` [PATCH 3.16 281/294] MIPS: MSP71xx: remove odd locking in PCI config space access code Ben Hutchings
@ 2017-11-06 23:03 ` Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 283/294] MIPS: TXx9: Delete an unused variable in tx4927_pcibios_setup Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 293/294] MIPS: Fix a warning for virt_to_page Ben Hutchings
6 siblings, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2017-11-06 23:03 UTC (permalink / raw)
To: linux-kernel, stable
Cc: akpm, Linus Walleij, Thomas Gleixner, Alban Bedel, Ralf Baechle,
Lars-Peter Clausen, Arnd Bergmann, Paul Burton, Brian Norris,
linux-mips
3.16.50-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Alban Bedel <albeu@free.fr>
commit 5b235dc2647e4977b17b5c41d959d0f455831c3f upstream.
Somehow the wrong version of the patch to remove the use of custom
gpio.h on mips has been merged. This patch add the missing fixes for a
build error on jz4740 because linux/gpio.h doesn't provide any machine
specfics definitions anymore.
Signed-off-by: Alban Bedel <albeu@free.fr>
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/11089/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
arch/mips/jz4740/board-qi_lb60.c | 1 +
arch/mips/jz4740/gpio.c | 1 +
2 files changed, 2 insertions(+)
--- a/arch/mips/jz4740/board-qi_lb60.c
+++ b/arch/mips/jz4740/board-qi_lb60.c
@@ -25,6 +25,7 @@
#include <linux/power/jz4740-battery.h>
#include <linux/power/gpio-charger.h>
+#include <asm/mach-jz4740/gpio.h>
#include <asm/mach-jz4740/jz4740_fb.h>
#include <asm/mach-jz4740/jz4740_mmc.h>
#include <asm/mach-jz4740/jz4740_nand.h>
--- a/arch/mips/jz4740/gpio.c
+++ b/arch/mips/jz4740/gpio.c
@@ -27,6 +27,7 @@
#include <linux/seq_file.h>
#include <asm/mach-jz4740/base.h>
+#include <asm/mach-jz4740/gpio.h>
#include "irq.h"
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-11-06 23:56 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <lsq.1510009377.526284287@decadent.org.uk>
2017-11-06 23:03 ` [PATCH 3.16 277/294] MIPS: BMIPS: Fix ".previous without corresponding .section" warnings Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 280/294] MIPS: ip22: Fix ip28 build for modern gcc Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 279/294] MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 281/294] MIPS: MSP71xx: remove odd locking in PCI config space access code Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 282/294] MIPS: Fix the build on jz4740 after removing the custom gpio.h Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 283/294] MIPS: TXx9: Delete an unused variable in tx4927_pcibios_setup Ben Hutchings
2017-11-06 23:03 ` [PATCH 3.16 293/294] MIPS: Fix a warning for virt_to_page Ben Hutchings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox