Re: fs/notify/fanotify/fanotify.c:198:2: note: in expansion of macro 'pr_warn_ratelimited'

2019-03-14 Thread Ralf Baechle
On Thu, Mar 14, 2019 at 01:38:11PM +0100, Jan Kara wrote: > On Thu 14-03-19 14:01:18, Amir Goldstein wrote: > > On Thu, Mar 14, 2019 at 10:37 AM Jan Kara wrote: > > > > > > AFAICS this is the known problem with weird mips definitions of > > > __kernel_fsid_t which uses long whereas all other arch

Re: [PATCH] MIPS: Remove no-op cast in show_regs()

2018-07-02 Thread Ralf Baechle
pe T; T *A; @@ - (T *) A + A Julia, I guess this isn't bulletproof but maybe something similar should be considered for scripts/coccinelle? Ralf Signed-off-by: Ralf Baechle arch/mips/kernel/relocate.c | 2 +- arch/mips/kernel/traps.c | 2 +- arch/mi

Re: [RFC PATCH] MIPS: Oprofile: Drop support

2018-05-04 Thread Ralf Baechle
On Fri, May 04, 2018 at 02:27:51PM +0200, Robert Richter wrote: > On 04.05.18 12:03:12, Matt Redfearn wrote: > > >As said, oprofile version 0.9.x is still available for cpus that do > > >not support perf. What is the breakage? > > > > The breakage I originally set out to fix was the MT support in

Re: [PATCH v5 1/5] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline

2017-12-20 Thread Ralf Baechle
On Sat, Dec 16, 2017 at 10:57:47PM +0800, Jiaxun Yang wrote: > Since lemote-2f/marchtype.c need to get cmdline from loongson.h > this patch simply copy kernel command line from arcs_cmdline > to fix that issue Sorry, I don't quite understand. Is the issue that arcs_cmdline[] is declared as __ini

Re: [PATCH v5 5/5] MAINTAINERS: Add entry for Lemote YeeLoong Extra Driver

2017-12-20 Thread Ralf Baechle
On Sat, Dec 16, 2017 at 10:57:51PM +0800, Jiaxun Yang wrote: > Date: Sat, 16 Dec 2017 22:57:51 +0800 > From: Jiaxun Yang > To: James Hogan > Cc: Ralf Baechle , linux-m...@linux-mips.org, Huacai > Chan , linux-kernel@vger.kernel.org, Jiaxun Yang > > Subject: [PATCH v5

Re: [PATCH v2 0/6] MIPS: NT_PRFPREG regset handling fixes

2017-12-12 Thread Ralf Baechle
Thanks, applied. Ralf

Re: [PATCH] MIPS: ath25: Avoid undefined early_serial_setup() without SERIAL_8250_CONSOLE

2017-11-14 Thread Ralf Baechle
On Tue, Nov 14, 2017 at 01:29:17PM +, Matt Redfearn wrote: > Currently MIPS allnoconfig with CONFIG_ATH25=y fails to link due to > missing support for early_serial_setup(): > > LD vmlinux > arch/mips/ath25/devices.o: In function ath25_serial_setup': > devices.c:(.init.text+0x68): undef

Re: [PATCH] watchdog: indydog: Add dependency on SGI_HAS_INDYDOG

2017-11-14 Thread Ralf Baechle
) implies SGI_HAS_INDYDOG > > So I think you can just do: > - depends on SGI_HAS_INDYDOG || (MIPS && COMPILE_TEST) > + depends on SGI_HAS_INDYDOG > > I.e. COMPILE_TEST isn't of any value in this case. I agree, due to the references to sgimc this driver will only

Re: [PATCH 3/4] MIPS: Loongson64: Yeeloong add platform driver Yeeloong is a laptop with a MIPS Loongson 2F processor, AMD CS5536 chipset, and KB3310B controller.

2017-11-14 Thread Ralf Baechle
On Sun, Nov 12, 2017 at 02:36:16PM +0800, jiaxun.y...@flygoat.com wrote: > + asm(".set noreorder\n"); > + /* input enable */ > + outl(0x0800, (gpio_base | 0xA0)); > + /* revert the input */ > + outl(0x0800, (gpio_base | 0xA4)); > + /* event-int enable */ > +

Re: [PATCH 4/4] MIPS: Loongson64: Load platform device during boot This patch just add pdev during boot to load the platform driver

2017-11-14 Thread Ralf Baechle
On Sun, Nov 12, 2017 at 02:36:17PM +0800, jiaxun.y...@flygoat.com wrote: > From: Jiaxun Yang > > Signed-off-by: Jiaxun Yang > --- > arch/mips/loongson64/lemote-2f/Makefile | 2 +- > arch/mips/loongson64/lemote-2f/platform.c | 45 > +++ > 2 files changed, 46 inse

Re: [PATCH 3/4] MIPS: Loongson64: Yeeloong add platform driver Yeeloong is a laptop with a MIPS Loongson 2F processor, AMD CS5536 chipset, and KB3310B controller.

2017-11-14 Thread Ralf Baechle
On Sun, Nov 12, 2017 at 02:36:16PM +0800, jiaxun.y...@flygoat.com wrote: > Date: Sun, 12 Nov 2017 14:36:16 +0800 > From: jiaxun.y...@flygoat.com > To: r...@linux-mips.org > Cc: linux-m...@linux-mips.org, linux-kernel@vger.kernel.org, Jiaxun Yang > > Subject: [PATCH 3/4] MIPS: Loongson64: Yeeloo

Re: [PATCH 2/4] MIPS: Loongson64: lemote-2f move ec_kb3310b.h to include dir and clean up To operate EC from platform driver, this head file need able to be include from anywhere. This patch just move

2017-11-13 Thread Ralf Baechle
On Sun, Nov 12, 2017 at 02:36:15PM +0800, jiaxun.y...@flygoat.com wrote: > Date: Sun, 12 Nov 2017 14:36:15 +0800 > From: jiaxun.y...@flygoat.com > To: r...@linux-mips.org > Cc: linux-m...@linux-mips.org, linux-kernel@vger.kernel.org, Jiaxun Yang > > Subject: [PATCH 2/4] MIPS: Loongson64: lemote

Re: [PATCH 1/4] MIPS: Lonngson64: Copy kernel command line from arcs_cmdline Since lemte-2f/marchtype.c need to get cmdline from loongson.h this patch simply copy kernel command line from arcs_cmdline

2017-11-13 Thread Ralf Baechle
On Sun, Nov 12, 2017 at 02:36:14PM +0800, jiaxun.y...@flygoat.com wrote: > Date: Sun, 12 Nov 2017 14:36:14 +0800 > From: jiaxun.y...@flygoat.com > To: r...@linux-mips.org > Cc: linux-m...@linux-mips.org, linux-kernel@vger.kernel.org, Jiaxun Yang > > Subject: [PATCH 1/4] MIPS: Lonngson64: Copy k

Re: [PATCH 10/13] timer: Remove expires and data arguments from DEFINE_TIMER

2017-10-09 Thread Ralf Baechle
| 2 +- > sound/oss/sys_timer.c | 2 +- > sound/oss/uart6850.c | 2 +- > 47 files changed, 54 insertions(+), 54 deletions(-) Acked-by: Ralf Baechle Thanks, Ralf

Re: [PATCH 09/13] timer: Remove users of expire and data arguments to DEFINE_TIMER

2017-10-09 Thread Ralf Baechle
uses mod_timer(), > never add_timer(), so the preset expires value is ignored). Set both > sets of arguments to zero. > > Cc: Ralf Baechle > Cc: Wim Van Sebroeck > Cc: Guenter Roeck > Cc: Geert Uytterhoeven > Cc: linux-m...@linux-mips.org > Cc: linux-watch...@

Re: [PATCH] mm, arch: remove empty_bad_page*

2017-10-05 Thread Ralf Baechle
straightforward due to many > code movements - traces disappear around 2.4 times. > > Anyway no code really references neither empty_bad_page nor > empty_bad_pte_table. We only allocate the storage which is not used by > anybody so remove them. > > Cc: Yoshinori Sato > Cc:

Re: [PATCH] MIPS: ath79: support devicetree selection

2017-09-06 Thread Ralf Baechle
On Fri, Aug 18, 2017 at 05:32:42PM +0200, Rocco Folino wrote: > Allow to choose devicetrees from Kconfig. > > Signed-off-by: Rocco Folino > --- > arch/mips/ath79/Kconfig | 44 > + > arch/mips/boot/dts/qca/Makefile | 10 +- > 2 files chang

Re: [PATCH 24/31] mips/sgi-ip22: Use separate static data field with with static timer

2017-09-01 Thread Ralf Baechle
Acked-by: Ralf Baechle Ralf

Re: [PATCH 23/31] mips/sgi-ip32: Use separate static data field with with static timer

2017-09-01 Thread Ralf Baechle
Acked-by: Ralf Baechle Ralf

Re: [PATCH v2 2/7] MIPS: numa: Remove the unused parent_node() macro

2017-09-01 Thread Ralf Baechle
On Fri, Sep 01, 2017 at 10:56:34AM +0800, Dou Liyang wrote: > Commit a7be6e5a7f8d ("mm: drop useless local parameters of > __register_one_node()") removes the last user of parent_node(). > > The parent_node() macros in both IP27 and Loongson64 are unnecessary. > > Remove it for cleanup. I alrea

Re: [PATCH 23/31] mips/sgi-ip32: Use separate static data field with with static timer

2017-09-01 Thread Ralf Baechle
On Thu, Aug 31, 2017 at 04:29:35PM -0700, Kees Cook wrote: > In preparation for changing the timer callback argument to the timer > pointer, move to a separate static data variable. > > Cc: Ralf Baechle > Cc: Ingo Molnar > Cc: Arnd Bergmann > Cc: linux-m...@linux-mip

Re: [PATCH 24/31] mips/sgi-ip22: Use separate static data field with with static timer

2017-09-01 Thread Ralf Baechle
On Thu, Aug 31, 2017 at 04:29:36PM -0700, Kees Cook wrote: > In preparation for changing the timer callback argument to the timer > pointer, move to a separate static data variable. > > Cc: Ralf Baechle > Cc: James Hogan > Cc: Ingo Molnar > Cc: Paul Gortmaker > Cc: l

Re: [PATCH 3/4] i825xx: switch to switch to dma_alloc_attrs

2017-08-26 Thread Ralf Baechle
On Sat, Aug 26, 2017 at 09:21:24AM +0200, Christoph Hellwig wrote: Adding Thomas Bogendoerfer , the author of sni_82596.c to cc. > This way we can always pass DMA_ATTR_NON_CONSISTENT, the SNI mips version > will simply ignore the flag. > > Signed-off-by: Christoph Hellwig > --- > drivers/net/e

Re: [PATCH 1/4] sgiseeq: switch to dma_alloc_attrs

2017-08-26 Thread Ralf Baechle
On Sat, Aug 26, 2017 at 09:21:22AM +0200, Christoph Hellwig wrote: Looks good, Acked-by: Ralf Baechle Ralf

Re: linux-next: manual merge of the userns tree with the mips tree

2017-08-07 Thread Ralf Baechle
On Tue, Aug 08, 2017 at 03:10:04PM +1000, Stephen Rothwell wrote: (Maciej added to cc.) > Hi Eric, > > Today's linux-next merge of the userns tree got a conflict in: > > arch/mips/kernel/traps.c > > between commit: > > 260a789828aa ("MIPS: signal: Remove unreachable code from > force_fcr

Re: [PATCH v6] MIPS: NI 169445 board support

2017-08-07 Thread Ralf Baechle
On Mon, Aug 07, 2017 at 10:24:05AM -0700, Paul Burton wrote: > One possibility would be for us to split the board portions of vmlinux.its.S > out into a file per-board, perhaps board-boston.its.S, board-ni169445.its.S > etc. The build process would then have to concatenate the right files to >

Re: [PATCH 4/7] signal/mips: Document a conflict with SI_USER with SIGFPE

2017-08-07 Thread Ralf Baechle
On Mon, Aug 07, 2017 at 10:41:39AM -0700, Linus Torvalds wrote: > On Mon, Aug 7, 2017 at 9:18 AM, Maciej W. Rozycki wrote: > > > > So what would be the right value of `si_code' to use here for such an > > unexpected exception condition? I think `BUG()' would be too big a > > hammer here. Or wo

Re: [PATCH v6] MIPS: NI 169445 board support

2017-08-07 Thread Ralf Baechle
On Tue, Jul 18, 2017 at 01:29:09PM -0500, Nathan Sullivan wrote: > Support the National Instruments 169445 board. Thanks, applied with minor changes: > --- a/arch/mips/boot/dts/Makefile > +++ b/arch/mips/boot/dts/Makefile > @@ -4,6 +4,7 @@ dts-dirs += img > dts-dirs += ingenic > dts-d

Re: [PATCH v4 05/16] MIPS: math-emu: .: Fix quiet NaN propagation

2017-08-07 Thread Ralf Baechle
On Thu, Jul 27, 2017 at 06:08:48PM +0200, Aleksandar Markovic wrote: This is a mindbogglingly big series of FP fixes. There's always a risk associated with fixes so I'd prefer if they could wait for 4.14. For now I'm going to apply them to my 4.14 branch but let me know if you think they are mor

Re: [PATCH 2/2] MIPS: ralink: mt7620: Add missing header

2017-07-18 Thread Ralf Baechle
On Tue, Jul 18, 2017 at 02:25:46PM +0100, Harvey Hunt wrote: > Fix a build error caused by not including . > > The following compilation errors are caused by the missing header: > > arch/mips/ralink/mt7620.c: In function ‘mt7620_get_cpu_pll_rate’: > arch/mips/ralink/mt7620.c:431:2: error: implic

Re: [PATCH 1/2] MIPS: ralink: Fix build error due to missing header

2017-07-18 Thread Ralf Baechle
On Tue, Jul 18, 2017 at 02:25:45PM +0100, Harvey Hunt wrote: > Previously, was included before ralink_regs.h in all > ralink files - leading to being implicitly included. > > After commit 26dd3e4ff9ac ("MIPS: Audit and remove any unnecessary > uses of module.h") removed the inclusion of module.

Re: [PATCH v3 01/18] clk: ingenic: Use const pointer to clk_ops in struct

2017-07-13 Thread Ralf Baechle
On Thu, Jul 13, 2017 at 12:07:25PM +0200, Paul Cercueil wrote: > > Sorry I forgot, did you want an ack for these clk patches or for > > me to take them through clk tree. If it's the ack case, > > > > Acked-by: Stephen Boyd > > > > for patches 1 through 6. > > I think ACK; then Ralf can take th

Re: [PATCH v5 05/14] MIPS: ingenic: Enable pinctrl for all ingenic SoCs

2017-07-03 Thread Ralf Baechle
On Mon, Jul 03, 2017 at 11:07:09AM +0200, Linus Walleij wrote: > > There has been no word from Ralf, is this going into 4.13? Acked-by: Ralf Baechle for the whole series. Thanks, Ralf

Re: [RESEND PATCH] MIPS: head: Reorder instructions missing a delay slot

2017-06-27 Thread Ralf Baechle
On Tue, Jun 27, 2017 at 07:22:16PM +, Karl Beldan wrote: > In this sequence the 'move' is assumed in the delay slot of the 'beq', > but head.S is in reorder mode and the former gets pushed one 'nop' > farther by the assembler. > > The corrected behavior made booting with an UHI supplied dtb e

Re: [PATCH] pci: Add and use PCI_GENERIC_SETUP Kconfig entry

2017-06-27 Thread Ralf Baechle
On Mon, Jun 26, 2017 at 01:27:56PM -0700, Palmer Dabbelt wrote: Acked-by: Ralf Baechle Thanks, Ralf

Re: [PATCH 1/6] MIPS: do not use __GFP_REPEAT for order-0 request

2017-06-23 Thread Ralf Baechle
Feel free to funnel this upstream with the rest of your series. Acked-by: Ralf Baechle Thanks, Ralf

Re: [PATCH V5 6/9] MIPS: Loongson-3: support irq_set_affinity() in i8259 chip

2017-06-15 Thread Ralf Baechle
On Thu, Jun 15, 2017 at 10:31:05AM +0800, Huacai Chen wrote: > With this patch we can set irq affinity via procfs, so as to improve > network performance. > > Signed-off-by: Huacai Chen > --- > arch/mips/include/asm/irq.h | 3 ++ > arch/mips/loongson64/loongson-3/irq.c | 62 > +++

Re: [PATCH v6 3/4] remoteproc/MIPS: Add a remoteproc driver for MIPS

2017-06-14 Thread Ralf Baechle
ping again ... Ralf On Mon, Apr 03, 2017 at 11:11:04AM +0100, Matt Redfearn wrote: > Hi Bjorn, > > Please could you provide any comments / review on this driver? > > Thanks, > > Matt > > > On 23/03/17 16:37, Matt Redfearn wrote: > > This driver allows a MIPS processor offlined from Linux

Re: [PATCH v2 0/5] MIPS: Implement eBPF JIT.

2017-06-14 Thread Ralf Baechle
On Tue, Jun 13, 2017 at 03:28:42PM -0700, David Daney wrote: > Changes in v2: > > - Squash a couple of the uasm cleanups. > > - Make insn_table_MM const (suggested by Matt Redfearn) > > - Put the eBPF in its own source file (should fix build > warnings/errors on 32-bit kernel builds).

Re: [PATCH 7/7] MIPS: Use generic libgcc intrinsics

2017-06-09 Thread Ralf Baechle
s, nice cleanup! Acked-by: Ralf Baechle Ralf

Re: [PATCH 0/4] MMC support for Octeon platforms.

2017-04-25 Thread Ralf Baechle
On Mon, Apr 24, 2017 at 09:56:42PM +0200, Ulf Hansson wrote: > Thanks, applied patch 1->3. Patch 4 is for the MIPS SoC maintainer, > unless I get an ack for it. Here's the Ack for patch 4: Acked-by: Ralf Baechle Ralf

Re: [PATCH] MAINTAINERS: Update email-id of Rahul Bedarkar

2017-04-18 Thread Ralf Baechle
On Tue, Apr 18, 2017 at 02:04:36PM +0530, Rahul Bedarkar wrote: > I'm no longer with Imagination Technologies. I am still interested in > maintaining or reviewing DTS patches for Ci40 if any. Update email-id > to an active one. > > Signed-off-by: Rahul Bedarkar > --- > I'm not sure via which tre

Re: [PATCH] MIPS: clockevent drivers: set ->min_delta_ticks and ->max_delta_ticks

2017-04-12 Thread Ralf Baechle
the > clockevents core still looks exclusively at the (untouched) ->min_delta_ns > and ->max_delta_ns. As soon as this has changed, a followup patch will > purge the initialization of ->min_delta_ns and ->max_delta_ns from these > drivers. > > Signed-off-by: Nicolai Stange Acked-by: Ralf Baechle Feel free to push this to Linus. Ralf

Re: [PATCH] MIPS: smp-cps: Fix potentially uninitialised value of core

2017-04-12 Thread Ralf Baechle
Thanks, applied. Ralf

Re: [PATCH] MIPS: generic: Enable Root FS on NFS in generic_defconfig

2017-04-12 Thread Ralf Baechle
Thanks, applied. Ralf

Re: [PATCH] MIPS: Remove dead define of ST_OFF

2017-04-10 Thread Ralf Baechle
Thanks, applied. Ralf

Re: [PATCH] MIPS: perf: fix deadlock

2017-04-10 Thread Ralf Baechle
Thanks, applied. Ralf

Re: [PATCH v2] MIPS: Malta: Fix i8259 irqchip setup

2017-04-10 Thread Ralf Baechle
On Thu, Apr 06, 2017 at 04:58:09PM +0100, Matt Redfearn wrote: Thanks, applied. Ralf

Re: [PATCH] MIPS: IRQ Stack: Unwind IRQ stack onto task stack

2017-04-04 Thread Ralf Baechle
On Tue, Apr 04, 2017 at 01:58:04PM +0200, Jason A. Donenfeld wrote: > This indeed is useful. Out of curiosity, are other archs using a > similar technique? In anycase, > > Acked-by: Jason A. Donenfeld Unfortunately MIPS doesn't have anything like a frame pointer or similar to make backtracing e

Re: [PATCH 1/2] MIPS: Malta: Fix i8259 irqchip setup

2017-03-31 Thread Ralf Baechle
On Fri, Mar 31, 2017 at 12:05:31PM +0100, Matt Redfearn wrote: > diff --git a/arch/mips/mti-malta/malta-int.c b/arch/mips/mti-malta/malta-int.c > index cb675ec6f283..474b372e0dd9 100644 > --- a/arch/mips/mti-malta/malta-int.c > +++ b/arch/mips/mti-malta/malta-int.c > @@ -232,6 +232,19 @@ void __in

Re: [PATCH 2/2] irqchip/mips-gic: Fix Local compare interrupt

2017-03-31 Thread Ralf Baechle
to the timer, 26 to > the FDC). To fix this, map all of these local interrupts in the hardware > order so as to associate their virq numbers with the correct hw > interrupts. > > Fixes: 4cfffcfa5106 ("irqchip/mips-gic: Fix local interrupts") > Signed-off-by: Matt Redfearn Acked-by: Ralf Baechle Ralf

Re: next build: 208 builds: 9 failed, 199 passed, 857 errors, 444 warnings (next-20170323)

2017-03-24 Thread Ralf Baechle
On Thu, Mar 23, 2017 at 07:44:50PM +0100, Ralf Baechle wrote: > > On Thu, Mar 23, 2017 at 6:46 AM, kernelci.org bot wrote: > > > > > acs5k_defconfig (arm) — PASS, 0 errors, 2 warnings, 0 section mismatches > > > > > > Warnings: > > > :1328:2: warn

Re: next build: 208 builds: 9 failed, 199 passed, 857 errors, 444 warnings (next-20170323)

2017-03-23 Thread Ralf Baechle
m...@linux-mips.org, "Steven J. Hill" , Ralf > Baechle > Subject: Re: next build: 208 builds: 9 failed, 199 passed, 857 errors, 444 > warnings (next-20170323) > Content-Type: text/plain; charset=UTF-8 > > On Thu, Mar 23, 2017 at 6:46 AM, kernelci.org bot wrote: >

Re: [PATCH] Add initial SX3000b platform code to MIPS arch

2017-03-22 Thread Ralf Baechle
On Wed, Mar 22, 2017 at 05:38:09AM +, Amit Kama IL wrote: > Add initial support for boards based on Satixfy's SX3000b (Catniss) SoC. > The SoC includes a MIPS interAptiv dual core 4 VPE processor and boots > using device-tree. > > Signed-off-by: Amit Kama > > The irqchip file (irq-sx3000b.

Re: [PATCH] MIPS: smp-cps: Fix retrieval of VPE mask on big endian CPUs

2017-03-21 Thread Ralf Baechle
On Tue, Mar 21, 2017 at 02:39:19PM +, Matt Redfearn wrote: Thanks, applied. Ralf

Re: [PATCH 4.4 04/35] MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change

2017-03-20 Thread Ralf Baechle
On Mon, Mar 20, 2017 at 05:29:30PM +0100, Greg Kroah-Hartman wrote: > You reported it there, but then on your other emails for other stable > trees, said that your previously mentioned patches fixed problems in > these trees as well. A bit confusing, sorry I got it wrong. > > Anyway, not a big d

Re: [PATCH 4.4 08/35] MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change

2017-03-20 Thread Ralf Baechle
On Mon, Mar 20, 2017 at 05:29:57PM +0100, Greg Kroah-Hartman wrote: > > I don't think so, I don't get warnings for "make ARCH=mips > > lemote2f_defconfig" > > Ok, is it worth reverting as this is an issue on later kernels? Same answer as for the other patch - I can't imagine it's going to cause

Re: [PATCH 4.4 08/35] MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change

2017-03-20 Thread Ralf Baechle
On Sun, Mar 19, 2017 at 04:06:19PM +, Ben Hutchings wrote: > On Thu, 2017-03-16 at 23:29 +0900, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Arnd Bergmann > > > > commit b3f6046186ef45acfe

Re: [PATCH 4.4 04/35] MIPS: Update defconfigs for NF_CT_PROTO_DCCP/UDPLITE change

2017-03-20 Thread Ralf Baechle
On Sun, Mar 19, 2017 at 04:05:16PM +, Ben Hutchings wrote: > Date: Sun, 19 Mar 2017 16:05:16 + > From: Ben Hutchings > To: Greg Kroah-Hartman , > linux-kernel@vger.kernel.org > Cc: sta...@vger.kernel.org, Arnd Bergmann , > linux-m...@linux-mips.org, Ralf Baechle >

Re: [PATCH] MIPS: Add 48-bit VA space (and 4-level page tables) for 4K pages.

2017-03-15 Thread Ralf Baechle
On Thu, Feb 16, 2017 at 05:27:34PM -0800, David Daney wrote: > From: Alex Belits > > Some users must have 4K pages while needing a 48-bit VA space size. > The cleanest way do do this is to go to a 4-level page table for this > case. Each page table level using order-0 pages adds 9 bits to the >

Re: [PATCH] MIPS: cavium-octeon: Remove vestiges of CONFIG_CAVIUM_OCTEON_2ND_KERNEL

2017-03-15 Thread Ralf Baechle
On Fri, Feb 17, 2017 at 11:45:55AM -0800, David Daney wrote: > This config option never really worked, and has bit-rotted to the > point of being completely useless. Remove it completely. Thanks, queued for 4.12. Ralf

Re: [PATCH v2 0/5] MIPS: BPF: JIT fixes and improvements.

2017-03-15 Thread Ralf Baechle
On Tue, Mar 14, 2017 at 05:34:02PM -0700, David Daney wrote: > > What tree are you targetting with these changes? Do you expect > > them to go via the MIPS or the net-next tree? > > > > Please be explicit about this in the future. > > > > Sorry I didn't mention it. > > My expectation is that

Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps?

2017-03-15 Thread Ralf Baechle
On Mon, Mar 13, 2017 at 09:47:57AM +, James Hogan wrote: > > > > Note that the corruption is different across reboots, both in the size > > of the corruption and the location. I saw 1900~ and 1400~ byte > > sequences corrupted on separate occasions, which don't correspond to > > the system's

[PATCH] NET: mkiss: Fix panic

2017-02-09 Thread Ralf Baechle
or dev->hard_header_len and dev->addr_len are set to the same values as in my mkiss patch. [r...@linux-mips.org: Massages original submission to conform to the usual standards for patch submissions.] Signed-off-by: Thomas Osterried Signed-off-by: Ralf Baechle --- drivers/net/hamradio/mkiss.c | 4

Re: [Bug fix]mips 64bits checksum error -- csum_tcpudp_nofold

2017-01-26 Thread Ralf Baechle
On Thu, Jan 26, 2017 at 07:57:49AM -0800, Alexander Duyck wrote: > Date: Thu, 26 Jan 2017 07:57:49 -0800 > From: Alexander Duyck > To: Mark Zhang > Cc: Ralf Baechle , David Miller , > Alexander Duyck , linux-m...@linux-mips.org, > "linux-kernel@vger.kernel.org"

Re: [Bug fix]mips 64bits checksum error -- csum_tcpudp_nofold

2017-01-26 Thread Ralf Baechle
On Wed, Jan 25, 2017 at 10:13:32AM -0800, Alexander Duyck wrote: > On Tue, Jan 24, 2017 at 8:35 PM, Mark Zhang wrote: > > If the input parameters as saddr = 0xc0a8fd60,daddr = 0xc0a8fda1,len = > > 80, proto = 17, sum =0x7eae049d. > > The correct result should be 1, but original function return 0.

Re: [PATCH v3 0/5] MIPS: Add per-cpu IRQ stack

2017-01-10 Thread Ralf Baechle
On Wed, Jan 11, 2017 at 12:32:38AM +0100, Jason A. Donenfeld wrote: > Was this ever picked up for 4.10 or 4.11? Still sitting in -next as commit 3cc3434fd630 and its four parent commits. Ralf

Re: arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-12-25 Thread Ralf Baechle
On Sun, Dec 25, 2016 at 09:16:16AM +0800, kbuild test robot wrote: (dropping Markos who's email address is no longer valid from the cc list.) > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 7c0f6ba682b9c76

Re: [tip:perf/urgent] uprobes: Fix uprobes on MIPS, allow for a cache flush after ixol breakpoint creation

2016-12-21 Thread Ralf Baechle
On Tue, Dec 20, 2016 at 06:50:05PM +0100, Oleg Nesterov wrote: > >>> Commit: > >>> > >>> 72e6ae285a1d ('ARM: 8043/1: uprobes need icache flush after xol write' > >>> > >>> ... has introduced an arch-specific method to ensure all caches are > >>> flushed appropriately after an instruction is writ

Re: arch/mips/vdso/elf.S:1:0: error: '-march=r3900' requires '-mfp32'

2016-12-12 Thread Ralf Baechle
On Sun, Dec 11, 2016 at 09:04:48AM +0800, kbuild test robot wrote: > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 045169816b31b10faed984b01c390db1b32ee4c1 > commit: ebb5e78cc63417a35254a791de66e1cc84f963cc

Re: [PATCH 4/4] MIPS/kernel/proc: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-25 Thread Ralf Baechle
On Tue, Oct 25, 2016 at 10:55:42AM +0200, Geert Uytterhoeven wrote: > > - seq_printf(m, "shadow register sets\t: %d\n", > > - cpu_data[n].srsets); > > - seq_printf(m, "kscratch registers\t: %d\n", > > - hweight8(cpu_data[n].kscratch_mask)); > > -

[PATCH] Documentation: MIPS supports HAVE_REGS_AND_STACK_ACCESS_API

2016-10-13 Thread Ralf Baechle
This should have been part of 40e084a506eb ('MIPS: Add uprobes support.'). Signed-off-by: Ralf Baechle Fixes: 40e084a506eb ("MIPS: Add uprobes support.") Cc: Jonathan Corbet Cc: linux-m...@linux-mips.org Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Jona

Re: [PATCH v2 17/19] auxdisplay: img-ascii-lcd: driver for simple ASCII LCD displays

2016-09-27 Thread Ralf Baechle
On Fri, Aug 26, 2016 at 03:17:49PM +0100, Paul Burton wrote: > Add a driver for simple ASCII LCD displays found on the MIPS Boston, > Malta & SEAD3 development boards. The Boston display is an independent > memory mapped device with a simple memory mapped 8 byte register space > containing the 8 A

Re: [PATCH 2/2] MIPS: set NR_syscall_tables appropriately

2016-09-27 Thread Ralf Baechle
On Mon, Aug 29, 2016 at 11:30:07AM +0200, Marcin Nowakowski wrote: > Depending on the kernel configuration, up to 3 syscall tables can be > used in parallel - so set the number properly to ensure syscall tracing > is set up properly. > > Signed-off-by: Marcin Nowakowski > --- > arch/mips/includ

Re: [PATCH v2 2/6] MIPS: tlb-r4k: If there are wired entries, don't use TLBINVF

2016-09-22 Thread Ralf Baechle
On Tue, Sep 20, 2016 at 09:47:25AM +0100, Matt Redfearn wrote: > When adding a wired entry to the TLB via add_wired_entry, the tlb is > flushed with local_flush_tlb_all, which on CPUs with TLBINV results in > the new wired entry being flushed again. > > Behavior of the TLBINV instruction applies

Re: [PATCH v2 6/6] MIPS: Deprecate VPE Loader

2016-09-20 Thread Ralf Baechle
On Tue, Sep 20, 2016 at 09:47:29AM +0100, Matt Redfearn wrote: > The MIPS remote processor driver (CONFIG_MIPS_RPROC) provides a more > standard mechanism for using one or more VPs as coprocessors running > separate firmware. > > Here we deprecate this mechanism before it is removed. The world w

Re: [PATCH] MIPS: dec: Avoid la pseudo-instruction in delay slots

2016-09-20 Thread Ralf Baechle
to propagate. Yeah, I'm already looking into the other direction whenever this warning pops up - and it does so often. I've even pondered submitting something like -Werror for gas ;-) It's not very elegant but you could just open code everything, see below patch. Compiles but

Re: [PATCH 16/21] mips: loongson: smp: Convert to hotplug state machine

2016-09-19 Thread Ralf Baechle
On Tue, Sep 06, 2016 at 07:04:52PM +0200, Sebastian Andrzej Siewior wrote: > Install the callbacks via the state machine. Same here, I assume you want to upstream this as a single pull request, so Acked-by: Ralf Baechle Ralf

Re: [PATCH 15/21] mips: octeon: smp: Convert to hotplug state machine

2016-09-19 Thread Ralf Baechle
On Tue, Sep 06, 2016 at 07:04:51PM +0200, Sebastian Andrzej Siewior wrote: I assume you want to upstream this as a single pull request, so Acked-by: Ralf Baechle Ralf

Re: [PATCH v2] mm: move phys_mem_access_prot_allowed() declaration to pgtable.h

2016-09-16 Thread Ralf Baechle
owed(struct file *file, > > In fact, its declaration is spreading to several header files > in different architecture, but need to be declare in common > header file. > > So this patch moves phys_mem_access_prot_allowed() to pgtable.h. > > Signed-off-by: Baoyou Xie Acked-by: Ralf Baechle Ralf

Re: [PATCH] MIPS: rb532: Fix undefined reference to setup_serial_port

2016-09-13 Thread Ralf Baechle
On Mon, Sep 05, 2016 at 05:18:40PM +0100, Matt Redfearn wrote: > If the rb532 machine is compiled without CONFIG_SERIAL_8250, the > following linker error occurs > > arch/mips/built-in.o: In function `setup_serial_port': > (.init.text+0x20c): undefined reference to `early_serial_setup' > > Fix t

Re: [PATCH] MIPS: paravirt: Fix undefined reference to smp_bootstrap

2016-09-13 Thread Ralf Baechle
On Mon, Sep 05, 2016 at 03:43:40PM +0100, Matt Redfearn wrote: > If the paravirt machine is compiles without CONFIG_SMP, the following > linker error occurs > > arch/mips/kernel/head.o: In function `kernel_entry': > (.ref.text+0x10): undefined reference to `smp_bootstrap' > > due to the kernel e

Re: [PATCH] MIPS: dont specify STACKPROTECTOR in defconfigs

2016-08-04 Thread Ralf Baechle
On Wed, Aug 03, 2016 at 03:03:59PM -0400, Paul Gortmaker wrote: > Only one defconfig has a STACKPROTECTOR value. And it asks for > the strong variant, which isn't supported by older toolchains. > > Due to the nature of MIPS having more platform specific code than say > x86, the allyesconfig and

Re: [PATCH] MIPS: Loongson1B: Provide DMA filter callbacks via platform data

2016-08-02 Thread Ralf Baechle
On Sat, May 28, 2016 at 05:51:52PM +0800, Keguang Zhang wrote: > diff --git a/arch/mips/include/asm/mach-loongson32/nand.h > b/arch/mips/include/asm/mach-loongson32/nand.h > index e274912..a1f8704 100644 > --- a/arch/mips/include/asm/mach-loongson32/nand.h > +++ b/arch/mips/include/asm/mach-loong

Re: [PATCH] mips: lantiq: fix irq_chip name to not land in new parent field

2016-08-02 Thread Ralf Baechle
vice field from a char string will end well. > > Here we've used named element init entries for the name string as well > to fix it. > > Fixes: be45beb2df69 ("genirq: Add runtime power management support for IRQ > chips") > Cc: Jon Hunter > Cc: Kevin

Re: [PATCH v3] MIPS: Use CPHYSADDR to implement mips32 __pa

2016-08-02 Thread Ralf Baechle
Thanks, I've replaced the old patch with this one. Ralf

Re: [PATCH 0014/1285] Replace numeric parameter like 0444 with macro

2016-08-02 Thread Ralf Baechle
On Tue, Aug 02, 2016 at 06:34:21PM +0800, Baole Ni wrote: > I find that the developers often just specified the numeric value > when calling a macro which is defined with a parameter for access permission. > As we know, these numeric value for access permission have had the > corresponding macro,

Re: [PATCH v2] MIPS: Use CPHYSADDR to implement mips32 __pa

2016-08-02 Thread Ralf Baechle
On Mon, Aug 01, 2016 at 05:51:10PM +0100, Paul Burton wrote: > Any thoughts on this one? It matters for Boston (where it affects the > pch_gbe ethernet driver) which I'll be submitting again for the 4.9 cycle. I'm sorry. I meant to leave this one for a while for people to comment but then it fel

Re: [patch 53/66] MIPS: Loongson-3: Convert oprofile to hotplug state machine

2016-07-11 Thread Ralf Baechle
Thank, looks ok. I assume you want to merge this with the remainder of of the series, so: Acked-by: Ralf Baechle Ralf

Re: [PATCH] MIPS: lib: Mark intrinsics notrace

2016-05-29 Thread Ralf Baechle
On Wed, May 25, 2016 at 11:06:35AM +0100, Harvey Hunt wrote: > On certain MIPS32 devices, the ftrace tracer "function_graph" uses > __lshrdi3() during the capturing of trace data. ftrace then attempts to > trace __lshrdi3() which leads to infinite recursion and a stack overflow. > Fix this by mark

Re: [PATCH]: ELF/MIPS build fix

2016-05-20 Thread Ralf Baechle
On Fri, May 20, 2016 at 05:37:17PM +0100, Maciej W. Rozycki wrote: > > CONFIG_MIPS32_N32=y but CONFIG_BINFMT_ELF disabled results in the following > > linker errors: > > Is this for a configuration with native (n64) ELF disabled, but one or > more compat ELF formats (o32, n32) enabled? An inte

[PATCH]: ELF/MIPS build fix

2016-05-20 Thread Ralf Baechle
symbol which unlike the current mechanism can also be used from other directories than kernel/, then having each flavor of ELF that relies on elfcore.o, select it in Kconfig, including CONFIG_MIPS32_N32 and CONFIG_MIPS32_O32 which fixes this issue. Signed-off-by: Ralf Baechle --- arch/mips/Kco

Re: [PATCH 0/3] External Interrupt Controller (EIC) fixes

2016-05-19 Thread Ralf Baechle
On Thu, May 19, 2016 at 11:21:22AM +0200, Thomas Gleixner wrote: > On Tue, 17 May 2016, Paul Burton wrote: > > > This series fixes a few small issues with support for External Interrupt > > Controllers (cpu_has_veic), ensuring that it is configured to service > > all interrupts by default & that

Re: [PATCH] MIPS: perf: Fix I6400 event numbers

2016-05-17 Thread Ralf Baechle
On Mon, May 16, 2016 at 07:32:35PM +0100, James Hogan wrote: > Fix perf hardware performance counter event numbers for I6400. This core > does not follow the performance event numbering scheme of previous MIPS > cores. All performance counters (both odd and even) are capable of > counting any of t

Re: [PATCH 03/11] MIPS: pic32mzda: fix getting timer clock rate.

2016-05-17 Thread Ralf Baechle
On Tue, May 17, 2016 at 10:35:52AM +0530, Purna Chandra Mandal wrote: > PIC32 clock driver is now implemented as platform driver instead of > as part of of_clk_init(). It meants all the clock modules are available > quite late in the boot sequence. So request for CPU clock by clk_get_sys() > and c

Re: [PATCH 3/3] USB: ohci-jz4740: Remove obsolete driver

2016-05-13 Thread Ralf Baechle
Maarten, if you submit a USB change to the USB mailing list and maintainer the probability for the maintainer to ack this patch will actuall rise significantly ;-) Greg, I assume this patch is ok to merge or do you want to funnel it hrough your tree? I think it would be good to take this through

Re: [PATCH v11 0/3] PIC32MZDA Clock Driver

2016-05-13 Thread Ralf Baechle
On Fri, May 13, 2016 at 01:22:38PM +0530, Purna Chandra Mandal wrote: Thanks for resolving the remaining issues. As per discussion of the last version I've now queued the entire series for 4.7. One step closer to full PIC32MZDA in-tree support! Ralf

Re: [PATCH] MIPS: ath79: Remove CLK_IS_ROOT

2016-05-11 Thread Ralf Baechle
On Tue, Apr 19, 2016 at 06:33:21PM -0700, Stephen Boyd wrote: > This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate > CLK_IS_ROOT", 2016-02-02) so remove it. > > Cc: Antony Pavlov > Signed-off-by: Stephen Boyd Thanks, applied. Ralf

Re: [PATCH] MIPS: alchemy: Remove CLK_IS_ROOT

2016-05-11 Thread Ralf Baechle
On Tue, Apr 19, 2016 at 06:34:37PM -0700, Stephen Boyd wrote: > This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate > CLK_IS_ROOT", 2016-02-02) so remove it. > > Cc: Manuel Lauss > Signed-off-by: Stephen Boyd Thanks, applied. Ralf

Re: [PATCH] MIPS: Allow R6 compact branch policy to be left unspecified

2016-05-11 Thread Ralf Baechle
I was wondering if we should simply probe for the availability of the GCC option and not use it, if using an older GCC, then change the help text for the option accordingly. This approach would allow make randconfig or similar to work as expected with older compilers. Ralf

  1   2   3   4   5   6   7   8   >