Re: [PATCH] powerpc/64s: ibm,powerpc-cpu-features dt implementation

2017-05-06 Thread kbuild test robot
Hi Nicholas, [auto build test ERROR on powerpc/next] [also build test ERROR on v4.11 next-20170505] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Nicholas-Piggin/powerpc-64s-ibm-powerpc-cpu-fea

[PATCH] powerpc/cell: set no_llseek in spufs_cntl_fops

2017-05-06 Thread Geliang Tang
In spufs_cntl_fops, since we use nonseekable_open() to open, we should use no_llseek() to seek, not generic_file_llseek(). Signed-off-by: Geliang Tang --- arch/powerpc/platforms/cell/spufs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/cell/spuf

[PATCH V4] hwmon: (ibmpowernv) Add highest/lowest attributes to sensors

2017-05-06 Thread Shilpasri G Bhat
OCC provides historical minimum and maximum value for the sensor readings. This patch exports them as highest and lowest attributes for the inband sensors copied by OCC to main memory. Signed-off-by: Shilpasri G Bhat --- Changes from V3: - Removed extra variable 'hwmon_index' - Retain the initial

Re: WARNING: CPU: 0 PID: 1 at /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/feature-fixups.c:208 check_features+0x38/0x7c

2017-05-06 Thread Linux User #330250
Am 2017-05-04 um 12:15 schrieb Michael Ellerman: Mathieu Malaterre writes: Hi all, Does this dmesg output speaks to anyone here (smp kernel): [4.767389] [ cut here ] [4.774668] WARNING: CPU: 0 PID: 1 at /build/linux-dp17Ba/linux-4.9.18/arch/powerpc/lib/featur

Is iounmap(NULL) safe or not?

2017-05-06 Thread Alexey Khoroshilov
Hello, It seems thare are many places where code assumes iounmap(NULL) is safe. Also there are several patches that state it explicitly: ff6defa6a8fa ("ALSA: Deletion of checks before the function call "iounmap") e24bb0ed8179 ("staging: dgnc: remove NULL test") At the same time it seems PPC i

Re: Is iounmap(NULL) safe or not?

2017-05-06 Thread Benjamin Herrenschmidt
On Sat, 2017-05-06 at 01:50 +0300, Alexey Khoroshilov wrote: > Could you please clarify if iounmap(NULL) safe or not. > I guess it would be less errorprone if the answer is architecture independent. I think it's supposed to be and we should fix ppc. Cheers, Ben.