Re: [PATCH v3] m68k: Fix memblock-related crashes

2018-12-08 Thread Geert Uytterhoeven
Hi Mike, On Fri, Dec 7, 2018 at 10:02 PM Mike Rapoport wrote: > On Fri, Dec 07, 2018 at 05:50:11PM +0100, Geert Uytterhoeven wrote: > > Sun-3 must be broken before this fix, as it fills in m68k_memory[0] in > > config_sun3(), i.e. after m68k_parse_bootinfo(). > > Sun-3 is

[PATCH v3] m68k: Fix memblock-related crashes

2018-12-07 Thread Geert Uytterhoeven
bootinfo() ignores all but the first memory chunk. Fix this by moving the calls to memblock_add() from m68k_parse_bootinfo() to paging_init(), after all ignored memory chunks have been removed from m68k_memory[]. Reported-by: Andreas Schwab Fixes: 1008a11590b966b4 ("m68k: switch to MEMBLOCK + N

Re: NFS/TCP crashes on MIPS/RBTX4927 in v4.20-rcX (bisected)

2018-12-07 Thread Geert Uytterhoeven
Hi Nemoto-san, On Fri, Dec 7, 2018 at 3:51 PM Atsushi Nemoto wrote: > On Wed, 5 Dec 2018 14:41:30 +0100, Geert Uytterhoeven > wrote: > > My next guess is an unaligned access not using {get,put}_unaligned(), which > > doesn't seem to work on tx4927, but doesn't cause an

Re: [PATCH 1/2] dt-bindings: rtc: add generic bindings

2018-12-07 Thread Geert Uytterhoeven
Hi Alexandre, On Fri, Dec 7, 2018 at 10:34 AM Alexandre Belloni wrote: > On 06/12/2018 11:36:59+0100, Geert Uytterhoeven wrote: > > > +The following properties may not be supported by all drivers. However, > > > if a > > > +driver wants to support one of the b

Re: [PATCH] pinctrl: rza1: report if devm_kasptrinf() fails

2018-12-07 Thread Geert Uytterhoeven
print a message on memory allocation failures anyway. Hence please remove it. With the above fixed: Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations

Re: [PATCH 1/2] dt-bindings: rtc: add generic bindings

2018-12-06 Thread Geert Uytterhoeven
given if internal trickle charger diode should be > + disabled > +- wakeup-source : Enables wake up of host system on alarm Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68

Re: [PATCH 0/4] soc: renesas: rcar-sysc: Miscellaneous fixes and cleanups

2018-12-06 Thread Geert Uytterhoeven
On Wed, Dec 5, 2018 at 4:39 PM Geert Uytterhoeven wrote: > This series (against renesas-devel-20181204-v4.20-rc5) contains > miscellaneous fixes and cleanups for the R-Car SYSC driver. > > This has been tested on R-Car Gen2 (H2 and M2-W) and R-Car Gen3 (H3 > ES1.0, H3 ES2.0, M3-

[PATCH 4/4] soc: renesas: rcar-sysc: Fix power domain control after system resume

2018-12-05 Thread Geert Uytterhoeven
-by: Geert Uytterhoeven --- drivers/soc/renesas/rcar-sysc.c | 28 +--- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/drivers/soc/renesas/rcar-sysc.c b/drivers/soc/renesas/rcar-sysc.c index 123e553510e826f5..0c80fab4f8de6bc8 100644 --- a/drivers/soc/renesas/rcar

Re: NFS/TCP crashes on MIPS/RBTX4927 in v4.20-rcX (bisected)

2018-12-05 Thread Geert Uytterhoeven
Hi Trond, On Wed, Dec 5, 2018 at 2:45 PM Trond Myklebust wrote: > On Wed, 2018-12-05 at 14:41 +0100, Geert Uytterhoeven wrote: > > On Wed, Dec 5, 2018 at 2:11 PM Atsushi Nemoto > > wrote: > > > On Tue, 4 Dec 2018 14:53:07 +0100, Geert Uytterhoeven < > > > ge

Re: NFS/TCP crashes on MIPS/RBTX4927 in v4.20-rcX (bisected)

2018-12-05 Thread Geert Uytterhoeven
Hi Nemoto-san, On Wed, Dec 5, 2018 at 2:11 PM Atsushi Nemoto wrote: > On Tue, 4 Dec 2018 14:53:07 +0100, Geert Uytterhoeven > wrote: > > I found similar crashes in a report from 2006, but of course the code > > has changed too much to apply the solution proposed there >

[PATCH v2] m68k: Fix crash in free_all_bootmem()

2018-12-04 Thread Geert Uytterhoeven
s, Zorro II RAM is ignored, and removed from the m68k_memory[] array. Fix this as well. Reported-by: Andreas Schwab Suggested-by: Mike Rapoport Tested-by: Michael Schmitz Fixes: 1008a11590b966b4 ("m68k: switch to MEMBLOCK + NO_BOOTMEM") Signed-off-by: Geert Uytterhoeven --- The Amiga

[PATCH] m68k: Fix crash in free_all_bootmem()

2018-12-04 Thread Geert Uytterhoeven
s, Zorro II RAM is ignored, and removed from the m68k_memory[] array. Fix this as well. Reported-by: Andreas Schwab Suggested-by: Mike Rapoport Tested-by: Michael Schmitz Fixes: 1008a11590b966b4 ("m68k: switch to MEMBLOCK + NO_BOOTMEM") Signed-off-by: Geert Uytterhoeven --- The Amig

Re: [PATCH] m68k: Fix crash in free_all_bootmem()

2018-12-04 Thread Geert Uytterhoeven
On Tue, Dec 4, 2018 at 2:15 PM Geert Uytterhoeven wrote: > When running the kernel in Fast RAM on Atari: > > Ignoring memory chunk at 0x0:0xe0 before the first chunk > ... > --- > The Amiga part is untested. Oops, not even compile-tested... /me hides in a brow

Re: [PATCH v5 02/21] lib/vsprintf: Print time and date in human readable format via %pt

2018-12-04 Thread Geert Uytterhoeven
t; But it might be good idea to eventually add couple simple tests at some point. > > Is it a show stopper? Can the user trigger formatting, and exploit a bug in the formatting code? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32

NFS/TCP crashes on MIPS/RBTX4927 in v4.20-rcX (bisected)

2018-12-04 Thread Geert Uytterhoeven
like my arm/arm64 boards, it's probably not an endianness issue. Sparse didn't show anything suspicious before/after the guilty commit. Do you have a clue? Thanks! Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In persona

[PATCH] m68k: Fix crash in free_all_bootmem()

2018-12-04 Thread Geert Uytterhoeven
s, Zorro II RAM is ignored, and removed from the m68k_memory[] array. Fix this as well. Reported-by: Andreas Schwab Suggested-by: Mike Rapoport Tested-by: Michael Schmitz Fixes: 1008a11590b966b4 ("m68k: switch to MEMBLOCK + NO_BOOTMEM") Signed-off-by: Geert Uytterhoeven --- The Amig

Re: [PATCH v5 0/3] m68k: system call table generation support

2018-12-04 Thread Geert Uytterhoeven
nsertions(+), 768 deletions(-) > create mode 100644 arch/m68k/kernel/syscalls/Makefile > create mode 100644 arch/m68k/kernel/syscalls/syscall.tbl > create mode 100644 arch/m68k/kernel/syscalls/syscallhdr.sh > create mode 100644 arch/m68k/kernel/syscalls/syscalltbl.sh Thanks, applied and

Build regressions/improvements in v4.20-rc5

2018-12-03 Thread Geert Uytterhoeven
N/A => - warning: vmlinux.o(.text+0x49e708): Section mismatch in reference from the function .hmm_devmem_pages_create() to the function .meminit.text:.arch_add_memory(): N/A => - warning: vmlinux.o(.text+0x4df549c): Section mismatch in reference from the function .create_device_attrs() to the

Re: [PATCH] m68k: remove redundant 'default n' from Kconfig

2018-12-03 Thread Geert Uytterhoeven
ople that a bare 'default n' is > redundant. > ... > > Signed-off-by: Bartlomiej Zolnierkiewicz Reviewed-by: Geert Uytterhoeven I.e., applied and queued for v4.21. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 --

Re: [PATCH] m68k: Unroll raw_outsb() loop

2018-12-03 Thread Geert Uytterhoeven
n PIO mode by 5% or 10%. (The DMA controller on the 840av/660av models is > still unsupported so PIO transfers are used.) > > Tested-by: Stan Johnson > Signed-off-by: Finn Thain Reviewed-by: Geert Uytterhoeven I.e., applied and queued for v4.21. Gr{oetje,eeting}s,

[PATCH v4 resend] firewire: Remove depends on HAS_DMA in case of platform dependency

2018-12-03 Thread Geert Uytterhoeven
ncies keep their dependencies on HAS_DMA, to prevent compiling subsystems or drivers that cannot work anyway. This simplifies the dependencies, and allows to improve compile-testing. Signed-off-by: Geert Uytterhoeven Reviewed-by: Mark Brown Acked-by: Robin Murphy --- v4: - Rebase to v4.18-rc

[PATCH resend] openrisc: Fix broken paths to arch/or32

2018-12-03 Thread Geert Uytterhoeven
OpenRISC was mainlined as "openrisc", not "or32". vmlinux.lds is generated from vmlinux.lds.S. Signed-off-by: Geert Uytterhoeven --- arch/openrisc/kernel/entry.S | 2 +- arch/openrisc/kernel/head.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/

Re: [PATCH v2 06/15] m68k: define syscall_get_arch()

2018-12-02 Thread Geert Uytterhoeven
Hi Dmitry, On Mon, Dec 3, 2018 at 1:24 AM Dmitry V. Levin wrote: > On Sun, Dec 02, 2018 at 11:29:10AM +0100, Geert Uytterhoeven wrote: > > On Tue, Nov 20, 2018 at 1:15 AM Dmitry V. Levin wrote: > > > syscall_get_arch() is required to be implemented on all architectures > &

Re: ERROR: "__udivdi3" [drivers/md/dm-thin-pool.ko] undefined!

2018-12-02 Thread Geert Uytterhoeven
("dm thin metadata: fix __udivdi3 undefined on 32-bit")? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I

Re: [PATCH v2 06/15] m68k: define syscall_get_arch()

2018-12-02 Thread Geert Uytterhoeven
Hi Dmitry, On Tue, Nov 20, 2018 at 1:15 AM Dmitry V. Levin wrote: > syscall_get_arch() is required to be implemented on all architectures > in order to extend the generic ptrace API with PTRACE_GET_SYSCALL_INFO > request. > > Signed-off-by: Dmitry V. Levin Reviewed-by: Gee

Re: [PATCH v5 20/21] m68k/mac: Switch to use %ptR

2018-12-02 Thread Geert Uytterhoeven
On Thu, Nov 29, 2018 at 12:04 PM Andy Shevchenko wrote: > Use %ptR instead of open coded variant to print content of > struct rtc_time in human readable format. > > Cc: Geert Uytterhoeven > Cc: linux-m68k > Signed-off-by: Andy Shevchenko Reviewed-by: Geert Uytterhoeve

Re: [PATCH RFC 00/15] Zero ****s, hugload of hugs <3

2018-11-30 Thread Geert Uytterhoeven
, since it's only 17 files, how about doing context-specific > changes? "This API is terrible", "Hateful interface", "Don't touch my > freakin' code", "What in the world were they thinking?" etc? The last one is not appropriate, as it's shooting at t

Re: [PATCH v4 20/21] mk68/mac: Switch to use %ptR

2018-11-29 Thread Geert Uytterhoeven
CC linux-m68k (now for real, stumbling to Senseo machine) On Wed, Nov 28, 2018 at 8:07 PM Andy Shevchenko wrote: > > Use %ptR instead of open coded variant to print content of > struct rtc_time in human readable format. > > Cc: Geert Uytterhoeven > Signed-off-by: Andy Shevche

Re: [PATCH v4 20/21] mk68/mac: Switch to use %ptR

2018-11-29 Thread Geert Uytterhoeven
CC linux-m68k On Wed, Nov 28, 2018 at 8:07 PM Andy Shevchenko wrote: > Use %ptR instead of open coded variant to print content of > struct rtc_time in human readable format. > > Cc: Geert Uytterhoeven > Signed-off-by: Andy Shevchenko > --- > arch/m68k/mac/misc.c | 8 ++---

Re: [PATCH v3] mtd: spi-nor: cast to u64 to avoid uint overflows

2018-11-28 Thread Geert Uytterhoeven
data might have strange data(loss data) if the result > overflows an unsigned int. > This patch casts "info->sector_size" to an u64. > > Signed-off-by: huijin.park Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven

Re: Build regressions/improvements in v4.20-rc4

2018-11-26 Thread Geert Uytterhoeven
On Mon, Nov 26, 2018 at 12:59 PM Geert Uytterhoeven wrote: > JFYI, when comparing v4.20-rc4[1] to v4.20-rc3[3], the summaries are: > - build errors: +1/-0 + /kisskb/src/sound/pci/hda/patch_ca0132.c: error: implicit declaration of function 'pci_iounmap' [-Werror=implicit-function-decla

Build regressions/improvements in v4.20-rc4

2018-11-26 Thread Geert Uytterhoeven
(): N/A => - warning: vmlinux.o(.text+0x49e708): Section mismatch in reference from the function .hmm_devmem_pages_create() to the function .meminit.text:.arch_add_memory(): N/A => - warning: vmlinux.o(.text+0x4df549c): Section mismatch in reference from the function .create_device_attr

Re: [PATCH] pinctrl: rzn1: Fix check for used MDIO bus

2018-11-23 Thread Geert Uytterhoeven
gt; (0-u32max >= > 0)' > > Reported-by: Dan Carpenter > Signed-off-by: Phil Edworthy > --- > v3: > - Split fixing the return var when calling of_get_child_count() into >a separate patch. > v2: > - Don't rely on rely on the implicit typecast from -1 to uint

Re: [PATCH] pinctrl: rzn1: Fix check for used MDIO bus

2018-11-23 Thread Geert Uytterhoeven
l->mdio_func[mdio] >= 0) => (0-u32max >= > 0)' > > It also fixes the return var when calling of_get_child_count() I think this should be a separate patch. > Reported-by: Dan Carpenter > Signed-off-by: Phil Edworthy Reviewed-by: Geert Uytterhoeven BTW, I have a

Re: [RFC PATCH v2 09/14] m68k: hp300: Remove hp300_gettimeoffset()

2018-11-21 Thread Geert Uytterhoeven
Hi Finn, On Wed, Nov 21, 2018 at 10:47 AM Finn Thain wrote: > On Wed, 21 Nov 2018, Geert Uytterhoeven wrote: > > The 8520 CIA is almost identical to the 6526 CIA, as used in the C64... > > The 6526 CIA datasheet says, "In continuous mode, the timer will count > from th

Re: [RFC PATCH v2 09/14] m68k: hp300: Remove hp300_gettimeoffset()

2018-11-21 Thread Geert Uytterhoeven
Hi Finn, On Wed, Nov 21, 2018 at 9:41 AM Finn Thain wrote: > On Wed, 21 Nov 2018, Geert Uytterhoeven wrote: > > On Wed, Nov 21, 2018 at 12:13 AM Finn Thain > > wrote: > > > On atari, the 68901 counts down to 0x01 and raises an interrupt. On > > > mac, the 6522

Re: [RFC PATCH v2 09/14] m68k: hp300: Remove hp300_gettimeoffset()

2018-11-21 Thread Geert Uytterhoeven
ends on the video mode, and thus can't be used as a monotonic clock source. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking

Re: [RFC PATCH v2 07/14] m68k: atari: Convert to clocksource API

2018-11-20 Thread Geert Uytterhoeven
or use as an RTC. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" o

Re: [PATCH v2] mtd: spi-nor: cast to u64 to avoid uint overflows

2018-11-20 Thread Geert Uytterhoeven
y the first operand should be sufficient, and may lead to faster code, as only a 64x16 multiplication needs to be done, instead of a 64x64. > params->page_size = info->page_size; > > /* (Fast) Read settings. */ Gr{oetje,eeting}s, Geert -- Geert

Build regressions/improvements in v4.20-rc3

2018-11-19 Thread Geert Uytterhoeven
to the function .meminit.text:.arch_add_memory(): N/A => - warning: vmlinux.o(.text+0x4df549c): Section mismatch in reference from the function .create_device_attrs() to the function .init.text:.make_sensor_label(): N/A => - warning: vmlinux.o(.text.unlikely+0x26a8): Section mismatch in

Re: [PATCH v3 0/3] sh: system call table generation support

2018-11-19 Thread Geert Uytterhoeven
ne, it can read a block > device, etc. > > Acked-and-or-tested-by: Rob Landley > > I assume that this is just git du jour and not your patch: > > WARNING: CPU: 0 PID: 1 at mm/slub.c:2448 > ___slab_alloc.constprop.34+0x196/0x288 https://patchwork.kernel.org/patch/10549883/ G

Re: [PATCH v2] MAINTAINERS: update OMAP MMC entry

2018-11-18 Thread Geert Uytterhoeven
On Sun, Nov 18, 2018 at 9:21 PM Geert Uytterhoeven wrote: > CC Jarkko (from his last patch) Dropped. Apparently that address bounces, too. > On Tue, Nov 6, 2018 at 11:29 PM Aaro Koskinen wrote: > > Jarkko's e-mail address hasn't worked for a long time. We still want > > t

Re: [PATCH v2] MAINTAINERS: update OMAP MMC entry

2018-11-18 Thread Geert Uytterhoeven
L: linux-o...@vger.kernel.org > -S: Maintained > +S: Odd Fixes > F: drivers/mmc/host/omap.c > > OMAP POWER MANAGEMENT SUPPORT Seems like Jarkko himself tried to update his address a long time ago, but the patch was never applied? https://lore.kernel.org/lkml/1380

[PATCH] clockevents/drivers/tegra20: Remove obsolete inclusion of

2018-11-15 Thread Geert Uytterhoeven
As of commit da4a686a2cfb077a ("ARM: smp_twd: convert to use CLKSRC_OF init"), this header file is no longer used. Signed-off-by: Geert Uytterhoeven --- drivers/clocksource/tegra20_timer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/clocksource/tegra20_timer.c

[PATCH] ARM: smp_twd: Remove legacy TWD registration

2018-11-15 Thread Geert Uytterhoeven
sed legacy infrastructure from the driver. Signed-off-by: Geert Uytterhoeven --- As of commit 6e63a3a294fdf91e ("watchdog: delete mpcore_wdt driver"), the TWD_WDOG_* definitions are unused, but I think it's good to keep them for documentation. --- arch/arm/Kconfig | 1 -

[PATCH] ARM: Correct meaning of SCU in HAVE_ARM_SCU help txt

2018-11-15 Thread Geert Uytterhoeven
According to the ARM Cortex-A5 and Cortex-A9 Technical Reference Manuals, SCU stands for "Snoop Control Unit". Signed-off-by: Geert Uytterhoeven --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 91be74

Re: [RFC PATCH 01/13] arm: Fix mutual exclusion in arch_gettimeoffset

2018-11-14 Thread Geert Uytterhoeven
rdware from the kernel" (https://lwn.net/Articles/769468/). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

Re: [PATCH 02/24] leds: core: Add support for composing LED class device names

2018-11-13 Thread Geert Uytterhoeven
rd drives with LEDs on the PCB. External USB enclosures with hard drives typically have LEDs, too. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a h

Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

2018-11-13 Thread Geert Uytterhoeven
type(const char *name) { struct file_system_type *fs; const char *dot = strchr(name, '.'); int len = dot ? dot - name : strlen(name); fs = __get_fs_type(name, len); if (!fs && (request_module("fs-%.*s", le

Re: [PATCH trivial] reset: Improve reset controller kernel docs

2018-11-13 Thread Geert Uytterhoeven
Hi Philipp, On Mon, Oct 8, 2018 at 2:55 PM Philipp Zabel wrote: > On Mon, 2018-10-08 at 13:15 +0200, Geert Uytterhoeven wrote: > > Grammar and indentation fixes. > > > > Signed-off-by: Geert Uytterhoeven > > --- > > include/linux/reset.h | 8 > &

Re: [PATCH v3 2/6] spi: Deal with slaves that return from transfer_one() unfinished

2018-11-13 Thread Geert Uytterhoeven
nsfer to finish with wait_for_completion_timeout(). For slaves, we > don't want the transaction to time out as it can complete in a long time > in future. Use wait_for_completion_interruptible() instead. > > Signed-off-by: Lubomir Rintel > Acked-by: Pavel Machek Reviewed-by: Geert Uy

Re: [PATCH v3 5/6] spi: pxa2xx: Add ready signal

2018-11-13 Thread Geert Uytterhoeven
intel > Tested-by: Pavel Machek Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talkin

Re: [PATCH v3 4/6] spi: pxa2xx: dt-bindings: Add ready GPIO signal

2018-11-13 Thread Geert Uytterhoeven
e, that happens to be a SPI master. > > Signed-off-by: Lubomir Rintel > Acked-by: Pavel Machek Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations

Re: [PATCH v3 1/6] spi: pxa2xx: dt-bindings: Add spi-slave property

2018-11-13 Thread Geert Uytterhoeven
On Tue, Nov 13, 2018 at 11:23 AM Lubomir Rintel wrote: > This is used to indicate that the chip attached to this controller is a SPI > master. > > Signed-off-by: Lubomir Rintel > Reviewed-by: Rob Herring > Acked-by: Pavel Machek Reviewed-by: Geert Uytterhoeven

Build regressions/improvements in v4.20-rc2

2018-11-12 Thread Geert Uytterhoeven
rom the function .hmm_devmem_release() to the function .meminit.text:.arch_remove_memory(): N/A => - warning: vmlinux.o(.text+0x49e708): Section mismatch in reference from the function .hmm_devmem_pages_create() to the function .meminit.text:.arch_add_memory(): N/A => - warning: vm

Re: [RFC PATCH 07/13] m68k: amiga: Convert to clocksource API

2018-11-12 Thread Geert Uytterhoeven
fset = 1; > + offset = jiffy_ticks; > > local_irq_restore(flags); > > ticks = jiffy_ticks - ticks; > - ticks = (1 * ticks) / jiffy_ticks; > > - return (ticks + offset) * 1000; > + return clk_total + ticks

Re: [RFC PATCH 06/13] m68k: Drop ARCH_USES_GETTIMEOFFSET

2018-11-12 Thread Geert Uytterhoeven
called' warnings? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

Re: [PATCH anybus v3 4/6] bus: support HMS Anybus-S bus

2018-11-10 Thread Geert Uytterhoeven
e largely consisten > among the architectures we support, but there are a couple of notable > exceptions: > > - ARM OABI requires 32-bit alignment for structures > - x86-32 aligns 64-bit members to 32-bit rather than 64-bit > - m68k has some oddities, I think they can pack certain

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Geert Uytterhoeven
Hi Stephen, On Fri, Nov 9, 2018 at 5:59 PM Stephen Boyd wrote: > Quoting Geert Uytterhoeven (2018-11-09 01:56:01) > > On Wed, Nov 7, 2018 at 7:37 PM Stephen Boyd wrote: > > > Quoting Rob Herring (2018-11-06 12:44:52) > > > > On Tue, Nov 6, 2018 at 12:36 PM Stephen

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Geert Uytterhoeven
t; > > Is the oops from the NULL pointer deref insufficient? > > Do you think we should crash the machine if someone uses the call wrongly? Or > should we provide the possibility to error out on the caller side? I believe that would be a bug in the driver, to be discovered ASAP. So yes, please

Re: [PATCH 1/4] of/device: Add a way to probe drivers by match data

2018-11-09 Thread Geert Uytterhoeven
mtk_probe1, > mtk_probe2, > mtk_probe3, > }; > > struct platform_driver mtk_driver = { > .of_probes = _probes; > .driver = { > .name = "mtk-foo"; > .of_match_table = mtk_match_table, > }, > }; This loo

[PATCH trivial] microblaze: Typo s/use use/use/

2018-11-07 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven --- arch/microblaze/include/asm/pgtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/microblaze/include/asm/pgtable.h b/arch/microblaze/include/asm/pgtable.h index f64ebb9c9a413535..bdfb2b3182b04c3b 100644 --- a/arch/microblaze

[PATCH trivial] Documentation: ABI: led-trigger-pattern: Fix typos

2018-11-07 Thread Geert Uytterhoeven
- Spelling s/brigntess/brightness/, - Double "use". Signed-off-by: Geert Uytterhoeven --- Documentation/ABI/testing/sysfs-class-led-trigger-pattern | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-class-led-trigger-

[PATCH] MAINTAINERS: Fix remaining pointers to obsolete libata.git

2018-11-07 Thread Geert Uytterhoeven
libata.git no longer exists. Replace the remaining pointers to it by pointers to the block tree, which is where all libata development happens now. Signed-off-by: Geert Uytterhoeven --- MAINTAINERS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b

Re: [PATCH 0/2] pinctrl: sh-pfc: r8a77965: Add VIN4 and VIN5

2018-11-07 Thread