Re: [PATCH v3] i2c: aspeed: fix invalid clock parameters for very large divisors

2018-09-22 Thread kbuild test robot
/commits/Brendan-Higgins/i2c-aspeed-fix-invalid-clock-parameters-for-very-large-divisors/20180922-134643 base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 7.2.0-11) 7.2.0 reproduce

Re: [PATCH] scheduler: conditional statement cleanup

2018-09-22 Thread kbuild test robot
/linux/commits/PierceGriffiths/scheduler-conditional-statement-cleanup/20180922-144638 config: x86_64-randconfig-x019-201837 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones

Re: [PATCH v6 0/3] Harden spectrev2 userspace-userspace protection

2018-09-22 Thread Jiri Kosina
On Wed, 19 Sep 2018, Peter Zijlstra wrote: > > diff --git a/kernel/ptrace.c b/kernel/ptrace.c > > index 5c5e7cb597cd..202a4d9c2af7 100644 > > --- a/kernel/ptrace.c > > +++ b/kernel/ptrace.c > > @@ -330,9 +330,7 @@ int __ptrace_may_access(struct task_struct *task, > > unsigned int mode) > >

Re: [PATCH] mtd: rawnand: denali: add DT property to specify skipped bytes in OOB

2018-09-22 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Sat, 8 Sep 2018 01:10:25 +0900: > Hi Boris, > > 2018-09-07 23:53 GMT+09:00 Boris Brezillon : > > On Fri, 7 Sep 2018 23:42:53 +0900 > > Masahiro Yamada wrote: > > > >> Hi Boris, > >> > >> 2018-09-07 23:08 GMT+09:00 Boris Brezillon : > >> > Hi Masahiro,

Re: Linux 4.19-rc4 released, an apology, and a maintainership note

2018-09-22 Thread Luke Kenneth Casson Leighton
linus, hi, i haven't been able to get hold of a copy of "invisible dynamics" yet however my partner did track down a... "translation" of the six systemic laws from family to organisational principles (from where they were originally derived). the book puts the systemic laws in a clearer way and e

[PATCHv4 3/6] ARM: dts: exynos: update maximum frequency for sdcard to 200MHz

2018-09-22 Thread Anand Moon
set the max-frequency to 200MHz for optimal performace. Signed-off-by: Anand Moon --- This patch is new to this series. microSD card. root@odroid:~# sudo cat /sys/kernel/debug/mmc1/ios clock: 2 Hz actual clock: 2 Hz vdd:16 (2.8 ~ 2.9 V) bus mode: 2 (p

[PATCHv4 1/6] ARM: dts: exynos: Added UHS-I bus speed support

2018-09-22 Thread Anand Moon
Added support for UHS-I bus speed tuning for SDR50, DDR50 SDR104. Signed-off-by: Anand Moon --- [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-October/376263.html Changes from above. Fix the subject and commit message. drop sd-uhs-sdr12 and sd-uhs-sdr25 as host driver is not enab

[PATCHv4 0/6] Add support for UHS-I on Exynos5422 odroid boards

2018-09-22 Thread Anand Moon
This is series v4 since my previous patches were incomplete with driver changes missing. v4 changes. squash cd-gpios and wp-gpio changes into single patch. change the subject prefix to "ARM: dts: exynos:" These changes add UHS-I tuning for dw_mmc-exynos driver. Rebased on Krzysztof branch next/d

[PATCHv4 0/6] Add support for UHS-I on Exynos5422 odroid boards

2018-09-22 Thread Anand Moon
This is series v4 since my previous patches were incomplete with driver changes missing. v4 changes. squash cd-gpios and wp-gpio changes into single patch. change the subject prefix to "ARM: dts: exynos:" These changes add UHS-I tuning for dw_mmc-exynos driver. Rebased on Krzysztof branch next/d

[PATCHv4 4/6] ARM: dts: exynos: Add CD and WP pins to Odroid XU3/XU4 SD card

2018-09-22 Thread Anand Moon
Add the card-detect and write-protect GPIO pins for OdroidXU3/XU4 SD card by adding pinctrl setting for wp-gpio pin and set it to active low. This also removes debug messages: dwmmc_exynos 1222.mmc: No GPIO consumer cd found dwmmc_exynos 1222.mmc: No GPIO consumer wp found Suggest

[PATCHv4 5/6] ARM: dts: exynos: update maximum frequency for emmc to 200MHz

2018-09-22 Thread Anand Moon
Set the max-frequency to 200MHz for optimal performace of eMMC. Signed-off-by: Anand Moon --- eMMC root@odroid:~# sudo cat /sys/kernel/debug/mmc0/ios clock: 2 Hz actual clock: 2 Hz vdd:7 (1.65 - 1.95 V) bus mode: 2 (push-pull) chip select:0 (don't

[PATCHv4 2/6] ARM: dts: exynos: fix regulator min values of LDO13 for Odroid XU3/XU4

2018-09-22 Thread Anand Moon
Looking at the schematic sd_2 min/max range from 1.8V/2.8V so fix the regulator min value to 1.8V. Without these changes sdcard will failed to detect on booting when UHS-I tuning is enabled. Signed-off-by: Anand Moon --- [0] http://lists.infradead.org/pipermail/linux-arm-kernel/2015-October/3762

Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-09-22 Thread Miquel Raynal
Hi Naga, Naga Sureshkumar Relli wrote on Tue, 11 Sep 2018 05:23:09 +: > Hi Boris, > > > -Original Message- > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > Sent: Monday, August 20, 2018 10:10 PM > > To: Naga Sureshkumar Relli > > Cc: miquel.ray...@bootlin.com; ric

Re: [PATCHv3 5/7] ARM: dts: exynos5422: use wp-gpio method to detect sd-card

2018-09-22 Thread Anand Moon
Hi Krzysztof, On Sat, 22 Sep 2018 at 02:39, Krzysztof Kozlowski wrote: > > On Fri, Sep 21, 2018 at 06:01:07PM +0530, Anand Moon wrote: > > Hi Krzysztof, > > > > On Fri, 21 Sep 2018 at 16:42, Krzysztof Kozlowski wrote: > > > > > > On Thu, 20 Sep 2018 at 19:59, Anand Moon wrote: > > > > > > > > ad

[PATCHv4 6/6] mmc: dw_mmc-exynos: Add tuning for sdr and ddr timing for USH-I mode

2018-09-22 Thread Anand Moon
Add tuning for sdr and ddr timing for USH-I mode sdr104/sdr50/ddr50 for host controller. Cc: Jaehoon Chung Cc: Marek Szyprowski Signed-off-by: Anand Moon --- No changes from previous patch --- drivers/mmc/host/dw_mmc-exynos.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/dri

[PATCHv4 0/6] Add support for UHS-I on Exynos5422 odroid boards

2018-09-22 Thread Anand Moon
This is series v4 since my previous patches were incomplete with driver changes missing. v4 changes. squash cd-gpios and wp-gpio changes into single patch. change the subject prefix to "ARM: dts: exynos:" These changes add UHS-I tuning for dw_mmc-exynos driver. Rebased on Krzysztof branch next/d

Re: [PATCH] mtd: rawnand: denali: add DT property to specify skipped bytes in OOB

2018-09-22 Thread Boris Brezillon
On Sat, 22 Sep 2018 09:41:11 +0200 Miquel Raynal wrote: > Hi Masahiro, > > Masahiro Yamada wrote on Sat, 8 Sep > 2018 01:10:25 +0900: > > > Hi Boris, > > > > 2018-09-07 23:53 GMT+09:00 Boris Brezillon : > > > On Fri, 7 Sep 2018 23:42:53 +0900 > > > Masahiro Yamada wrote: > > > > > >> H

Re: [PATCH RFC] Documentation: RCU: Clarify comment about fanout

2018-09-22 Thread Joel Fernandes
On Fri, Sep 21, 2018 at 9:14 PM Paul E. McKenney wrote: > > On Fri, Sep 21, 2018 at 06:31:53PM -0400, Joel Fernandes (Google) wrote: > > RCU Data-Structures document describes a trick to test RCU with small > > number of CPUs but with a larger tree. It wasn't immediately clear how > > the document

Re: [LINUX PATCH v10 2/2] mtd: rawnand: arasan: Add support for Arasan NAND Flash Controller

2018-09-22 Thread Boris Brezillon
On Sat, 22 Sep 2018 09:53:40 +0200 Miquel Raynal wrote: > Hi Naga, > > Naga Sureshkumar Relli wrote on Tue, 11 Sep 2018 > 05:23:09 +: > > > Hi Boris, > > > > > -Original Message- > > > From: Boris Brezillon [mailto:boris.brezil...@bootlin.com] > > > Sent: Monday, August 20, 2018

Re: [PATCH 1/3] dt-bindings: mtd: stm32_fmc2: add STM32 FMC2 NAND controller documentation

2018-09-22 Thread Miquel Raynal
Hi Christophe, wrote on Mon, 17 Sep 2018 17:47:38 +0200: > From: Christophe Kerello > > This patch adds the documentation of the device tree bindings for the STM32 > FMC2 NAND controller. > > Signed-off-by: Christophe Kerello > --- > .../devicetree/bindings/mtd/stm32-fmc2-nand.txt| 90

So I have an ultimatum:

2018-09-22 Thread militia
Bill Gates and the Illuminati got a herd of nigger cattle. W WE GOTT A HERD OF NIGGER CATTLE WE GOT A HERD OF NIGGER CATTLE. They got a big herd of nigger cattle yippie ki yay we're nigger cattle herders we got a herd of nigger cattle, they are the most docile fucking nigger cattle we got 'em s

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-22 Thread Joel Fernandes
On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: > > Currently pstore has function trace support which can be > used to get the function call chain with limited data. > Event tracing has extra data which is useful to debug wide > variety of issues and is heavily used across the kernel. > [

Re: [PATCH 3/3] iio: adc: ti-ads7950: use SPI_CS_WORD to reduce CPU usage

2018-09-22 Thread Jonathan Cameron
On Tue, 18 Sep 2018 12:14:50 -0500 David Lechner wrote: > On 09/18/2018 12:08 PM, David Lechner wrote: > > This changes how the SPI message for the triggered buffer is setup in > > the TI ADS7950 A/DC driver. By using the SPI_CS_WORD flag, we can read > > multiple samples in a single SPI transfer

[tip:x86/pti] x86/CPU: Fix unused variable warning when !CONFIG_IA32_EMULATION

2018-09-22 Thread tip-bot for zhong jiang
Commit-ID: 8e6b65a1b6cd1711d3acd2aa5c60d38c3e15dabb Gitweb: https://git.kernel.org/tip/8e6b65a1b6cd1711d3acd2aa5c60d38c3e15dabb Author: zhong jiang AuthorDate: Thu, 13 Sep 2018 10:49:45 +0800 Committer: Borislav Petkov CommitDate: Sat, 15 Sep 2018 14:57:05 +0200 x86/CPU: Fix unused var

Re: [PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-22 Thread Song Qiang
On Fri, Sep 21, 2018 at 01:20:12PM +0100, Jonathan Cameron wrote: > Hi Song, > > ... > > Please crop emails down to the relevant section when replying. Lots of > scrolling > for everyone otherwise and sometimes things get missed when doing that. > Hi Jonathan, Sorryi for this, won't happen a

Re: [PATCH] iio: adc: imx25-gcq: Fix leak of device_node in mx25_gcq_setup_cfgs()

2018-09-22 Thread Jonathan Cameron
On Sat, 22 Sep 2018 00:58:02 +0300 Alexey Khoroshilov wrote: > Leaving for_each_child_of_node loop we should release child device node, > if it is not stored for future use. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Seems obviously

Re: [PATCH] iio: magnetometer: hmc5843: Fixed a comment error.

2018-09-22 Thread Jonathan Cameron
On Thu, 20 Sep 2018 21:49:46 +0800 Song Qiang wrote: > Replace 'hcm5843' with 'hmc5843'. > > Signed-off-by: Song Qiang Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to ignore (because there will be other things in there that they won't later today :) Th

Re: [PATCH] iio: magnetometer: hmc5843: Replace a return value.

2018-09-22 Thread Jonathan Cameron
On Thu, 20 Sep 2018 21:42:19 +0800 Song Qiang wrote: > This error apparently is caused by timed out event, so a -ETIMEDOUT > should be used instead of a -EIO, and it also tells user what happened > , so this dev_err may not be needed anymore. > > Signed-off-by: Song Qiang > --- > I used ./scrip

Re: [PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-22 Thread Jonathan Cameron
A few follow ups to the discussion here from me.. Note it's helpful to crop and email and no one really minds if you just act on their review without acknowledging it (so cut the bits you fully agree with out too - saves on scrolling / reading time ;) A catch all, "Agree with everything else and

[PATCH v2] phy: phy-twl4030-usb: fix denied runtime access

2018-09-22 Thread Andreas Kemnade
When runtime is not enabled, pm_runtime_get_sync() returns -EACCESS, the counter will be incremented but the resume callback not called, so enumeration and charging will not start properly. To avoid that happen, disable irq on suspend and recheck on resume. Practically this happens when the device

Linus, my friend

2018-09-22 Thread comrade-c
Despite I didn't have a pleasure to know you personally I have a huge sympathy to the situation that you are in now. It's hard. You have to re-evaluate what makes you yourself and whether you want to give up a part of you if some particular part of you doesn't is outside of the other people' rea

Re: [PATCH v6 0/3] Harden spectrev2 userspace-userspace protection

2018-09-22 Thread Thomas Gleixner
On Sat, 22 Sep 2018, Jiri Kosina wrote: > On Wed, 19 Sep 2018, Peter Zijlstra wrote: > > As far as I can tell, this still has: > > > > avc_has_perm_noaudit() > > security_compute_av() > > read_lock(&state->ss->policy_rwlock); > > avc_insert() > > spin_lock_irqsave()

[tip:x86/cpu] x86/CPU: Use correct macros for Cyrix calls

2018-09-22 Thread tip-bot for Matthew Whitehead
Commit-ID: 03b099bdcdf7125d4a63dc9ddeefdd454e05123d Gitweb: https://git.kernel.org/tip/03b099bdcdf7125d4a63dc9ddeefdd454e05123d Author: Matthew Whitehead AuthorDate: Fri, 21 Sep 2018 17:20:40 -0400 Committer: Borislav Petkov CommitDate: Sat, 22 Sep 2018 11:46:56 +0200 x86/CPU: Use corr

[tip:x86/cpu] x86/CPU: Change query logic so CPUID is enabled before testing

2018-09-22 Thread tip-bot for Matthew Whitehead
Commit-ID: 2893cc8ff892fa74972d8dc0e1d0dc65116daaa3 Gitweb: https://git.kernel.org/tip/2893cc8ff892fa74972d8dc0e1d0dc65116daaa3 Author: Matthew Whitehead AuthorDate: Fri, 21 Sep 2018 17:20:41 -0400 Committer: Borislav Petkov CommitDate: Sat, 22 Sep 2018 11:47:39 +0200 x86/CPU: Change q

Re: [PATCH] staging: vc04_services: Remove unused vchiq_genversion script

2018-09-22 Thread Stefan Wahren
> Tuomas Tynkkynen hat am 21. September 2018 um 21:56 > geschrieben: > > > As far as I can tell, this has never been used. > > Signed-off-by: Tuomas Tynkkynen Acked-by: Stefan Wahren

Re: [PATCH] iio: magnetometer: hmc5843: Clean up redundant code.

2018-09-22 Thread Song Qiang
On Fri, Sep 21, 2018 at 11:56:16PM +0530, Himanshu Jha wrote: > Hi Song, > > On Fri, Sep 21, 2018 at 04:10:16PM +0800, kbuild test robot wrote: > > Hi Song, > > > > Thank you for the patch! Yet something to improve: > > > > [auto build test ERROR on iio/togreg] > > [also build test ERROR on v4.1

Re: [PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-22 Thread Jonathan Cameron
On Sat, 22 Sep 2018 10:42:44 +0100 Jonathan Cameron wrote: > A few follow ups to the discussion here from me.. > > Note it's helpful to crop and email and no one really minds if you > just act on their review without acknowledging it (so cut the > bits you fully agree with out too - saves on scr

Re: [PATCH] iio: magnetometer: Add support for PNI RM3100 9-axis magnetometer

2018-09-22 Thread Jonathan Cameron
On Thu, 20 Sep 2018 21:13:40 +0800 Song Qiang wrote: > PNI RM3100 magnetometer is a high resolution, large signal immunity > magnetometer, composed of 3 single sensors and a processing chip. > PNI is currently not in the vendors list, so this is also adding it. > > Following functions are availa

Re: [PATCH] iio: magnetometer: hmc5843: Clean up redundant code.

2018-09-22 Thread Jonathan Cameron
On Sat, 22 Sep 2018 18:04:19 +0800 Song Qiang wrote: > On Fri, Sep 21, 2018 at 11:56:16PM +0530, Himanshu Jha wrote: > > Hi Song, > > > > On Fri, Sep 21, 2018 at 04:10:16PM +0800, kbuild test robot wrote: > > > Hi Song, > > > > > > Thank you for the patch! Yet something to improve: > > > > >

Re: [PATCH v6 0/3] Harden spectrev2 userspace-userspace protection

2018-09-22 Thread Peter Zijlstra
On Sat, Sep 22, 2018 at 11:53:14AM +0200, Thomas Gleixner wrote: > @@ -86,6 +88,7 @@ extern void exit_ptrace(struct task_stru > * process_vm_writev or ptrace (and should use the real credentials). > */ > extern bool ptrace_may_access(struct task_struct *task, unsigned int mode); > +extern bool

Re: [PATCH v6 0/3] Harden spectrev2 userspace-userspace protection

2018-09-22 Thread Thomas Gleixner
On Sat, 22 Sep 2018, Peter Zijlstra wrote: > On Sat, Sep 22, 2018 at 11:53:14AM +0200, Thomas Gleixner wrote: > > +bool ptrace_may_access_sched(struct task_struct *task, unsigned int mode) > > +{ > > + struct mm_struct *mm; > > + int res; > > + > > + res = __ptrace_may_access_basic(task, mode

Re: [PATCH] scheduler: conditional statement cleanup

2018-09-22 Thread Peter Zijlstra
On Fri, Sep 21, 2018 at 03:22:03PM -0500, PierceGriffiths wrote: > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > index 625bc9897f62..443a1f235cfd 100644 > --- a/kernel/sched/core.c > +++ b/kernel/sched/core.c > @@ -617,12 +617,8 @@ bool sched_can_stop_tick(struct rq *rq) >* If th

Re: [PATCH 1/2] iio: adc: at91: fix acking DRDY irq on simple conversions

2018-09-22 Thread Jonathan Cameron
On Thu, 20 Sep 2018 15:40:37 +0300 Eugen Hristev wrote: > When doing simple conversions, the driver did not acknowledge the DRDY irq. > If this irq is not acked, it will be left pending, and as soon as a trigger > is enabled, the irq handler will be called, it doesn't know why this irq > has occu

Re: [patch V3 05/11] x86/mm/cpa: Add debug mechanism

2018-09-22 Thread Peter Zijlstra
On Fri, Sep 21, 2018 at 09:40:36AM -0700, Dave Hansen wrote: > On 09/17/2018 07:29 AM, Thomas Gleixner wrote: > > The whole static protection magic is silently fixing up anything which is > > handed in. That's just wrong. The offending call sites need to be fixed. > > > > Add a debug mechanism whi

Re: [PATCH 2/2] iio: adc: at91: fix wrong channel number in triggered buffer mode

2018-09-22 Thread Jonathan Cameron
On Fri, 21 Sep 2018 15:26:03 +0800 kbuild test robot wrote: > Hi Eugen, This one is leaving me stumped... Anyone care to point out what I'm missing that is wrong here? Also Eugen, please don't cc stable on a patch directly. It is fine to send a backport request once a patch has hit mainline, b

Re: [PATCH 2/8] x86/mm/cpa: Move flush_tlb_all()

2018-09-22 Thread Peter Zijlstra
On Fri, Sep 21, 2018 at 02:34:32PM -0700, Dave Hansen wrote: > On 09/19/2018 01:50 AM, Peter Zijlstra wrote: > > @@ -1528,28 +1538,8 @@ static int __change_page_attr(struct cpa > > * We have to split the large page: > > */ > > err = split_large_page(cpa, kpte, address); > > - if (!e

[ANNOUNCE] 4.4.157-rt174

2018-09-22 Thread Daniel Wagner
Hello RT Folks! I'm pleased to announce the 4.4.157-rt174 stable release. This release is just an update to the new stable 4.4.157 version and no RT specific changes have been made. Known issue: - Cache line starvation. 'stress-ng --ptrace 4' is able to trigger a latency spike of several ms.

Re: [PATCH 2/2] iio: adc: at91: fix wrong channel number in triggered buffer mode

2018-09-22 Thread Song Qiang
On Sat, Sep 22, 2018 at 11:36:16AM +0100, Jonathan Cameron wrote: > On Fri, 21 Sep 2018 15:26:03 +0800 > kbuild test robot wrote: > > > Hi Eugen, > This one is leaving me stumped... > > Anyone care to point out what I'm missing that is wrong here? > > Also Eugen, please don't cc stable on a pat

Re: [PATCH v7 0/7] clocksource: rework Atmel TCB timer driver

2018-09-22 Thread Daniel Lezcano
On 13/09/2018 13:30, Alexandre Belloni wrote: > Hi, > > This series reworks the Atmel TCB drivers. It introduces a new driver to > handle > the clocksource and clockevent devices. > > This is necessary because: > - the current tcb_clksrc driver is probed too late to be able to be used at >b

Re: [PATCH 2/2] iio: adc: at91: fix wrong channel number in triggered buffer mode

2018-09-22 Thread Himanshu Jha
On Sat, Sep 22, 2018 at 11:36:16AM +0100, Jonathan Cameron wrote: > On Fri, 21 Sep 2018 15:26:03 +0800 > kbuild test robot wrote: > > > Hi Eugen, > This one is leaving me stumped... > > Anyone care to point out what I'm missing that is wrong here? > > Also Eugen, please don't cc stable on a pat

Re: [PATCH] auxdisplay/cfag12864bfb.c: Replace vm_insert_page

2018-09-22 Thread Matthew Wilcox
On Fri, Sep 21, 2018 at 01:53:16AM +0530, Souptick Joarder wrote: > There is a plan to remove vm_insert_page permanently > and replace it with new API vmf_insert_page which will > return vm_fault_t type. As part of it vm_insert_page > is removed from this driver. > > remap_pfn_range() will be used

Re: [PATCH 3.16 00/63] 3.16.58-rc1 review

2018-09-22 Thread Guenter Roeck
On 09/21/2018 05:15 PM, Ben Hutchings wrote: This is the start of the stable review cycle for the 3.16.58 release. There are 63 patches in this series, which will be posted as responses to this one. If anyone has any issues with these being applied, please let me know. Responses should be made

[GIT pull] x86 fixes for 4.19

2018-09-22 Thread Thomas Gleixner
Greg, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A set of fixes for x86: - Resolve the kvmclock regression on AMD systems with memory encryption enabled. The rework of the kvmclock memory al

[GIT pull] efi fix for 4.19

2018-09-22 Thread Thomas Gleixner
Greg, please pull the latest efi-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git efi-urgent-for-linus Make the EFI arm stub device tree loader default on to unbreak existing EFI boot loaders which do not have DTB support. Thanks, tglx ---

[GIT pull] perf fixes for 4.19

2018-09-22 Thread Thomas Gleixner
Greg, please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus Two small fixes for perf tools: - Provide a strerror_r wrapper so lib/bpf can be built on systems without _GNU_SOURCE - Unbreak the man pa

Re: [PATCH] ARM: dts: Add support for Liebherr's BK4 device (vf610 based)

2018-09-22 Thread Lukasz Majewski
Hi Stefan, Thanks for review, > On 21.09.2018 08:27, Lukasz Majewski wrote: > > This commit adds DTS support for BK4 device from Liebherr. It > > uses vf610 SoC from NXP. > > > > Signed-off-by: Lukasz Majewski > > --- > > arch/arm/boot/dts/Makefile | 1 + > > arch/arm/boot/dts/vf610-bk4

Re: [PATCH] Fix clang warning -Wpointer-bool-conversion by removing unnecessary check in regd.c

2018-09-22 Thread Dan Carpenter
The subject needs a subsystem prefix. It's also slightly long. [PATCH] Staging: rtlwifi: remove unnecessary NULL check regards, dan carpenter

Re: [PATCH 2/2] iio: adc: at91: fix wrong channel number in triggered buffer mode

2018-09-22 Thread Jonathan Cameron
On 22 September 2018 12:48:49 BST, Himanshu Jha wrote: >On Sat, Sep 22, 2018 at 11:36:16AM +0100, Jonathan Cameron wrote: >> On Fri, 21 Sep 2018 15:26:03 +0800 >> kbuild test robot wrote: >> >> > Hi Eugen, >> This one is leaving me stumped... >> >> Anyone care to point out what I'm missing

Re: [Announce] LPC 2018: Testing and Fuzzing Microconference

2018-09-22 Thread Matthew Wilcox
On Wed, Sep 19, 2018 at 10:13:15AM -0700, Dhaval Giani wrote: > Sasha and I are pleased to announce the Testing and Fuzzing track at > LPC [ 1 ]. We are planning to continue the discussions from last > year's microconference [2]. Many discussions from the Automated > Testing Summit [3] will also co

Do you need a helping hand?

2018-09-22 Thread agricu
-- I am Mavis Wanczyk i know you may not know me but am the latest largest US Powerball lottery winner of $758.7m just of recent, am currently helping out people in need of financial assistance, i know it's hard to believe anything on the internet, so if you don't need my help please

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-22 Thread Christian Brauner
On Fri, Sep 21, 2018 at 05:52:36PM +0100, David Howells wrote: > Christian Brauner wrote: > > > So from reading the patch I got the impression that superblock mount > > options passed via fsconfig() are passed as strings like "ro" and are > > translated into approriate objects (e.g. flags etc.) b

[ANNOUNCE] 4.14.71-rt44

2018-09-22 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.14.71-rt44 stable release. This release is just an update to the new stable 4.14.71 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-r

Re: [PATCH v6 0/3] Harden spectrev2 userspace-userspace protection

2018-09-22 Thread Thomas Gleixner
On Sat, 22 Sep 2018, Thomas Gleixner wrote: > On Sat, 22 Sep 2018, Peter Zijlstra wrote: > > This has some unfortunate duplication. > > > > Lets go with it for now, but I'll see if I can do something about that > > later. > > Yes, I know. I tried to make the duplication smaller, but all attempts

Re: [PATCH] auxdisplay/cfag12864bfb.c: Replace vm_insert_page

2018-09-22 Thread Miguel Ojeda
On Fri, Sep 21, 2018 at 1:07 PM, Souptick Joarder wrote: > On Fri, Sep 21, 2018 at 2:56 AM Miguel Ojeda > wrote: >> >> A link to the discussion/plan would be nice. The commit 1c8f422059ae5 >> ("mm: change return type to vm_fault_t") explains a bit, but has a >> broken link :( Googling for the stu

Re: [PATCH] Fix clang warning -Wpointer-bool-conversion by removing unnecessary check in regd.c

2018-09-22 Thread Karthik Nishanth
Do I submit a new patch with the modified subject? On Sat, Sep 22, 2018 at 03:44:32PM +0300, Dan Carpenter wrote: >The subject needs a subsystem prefix. It's also slightly long. > >[PATCH] Staging: rtlwifi: remove unnecessary NULL check > >regards, >dan carpenter > Karthik Nishanth

Re: [PATCH] iio: adc: Fix potential integer overflow

2018-09-22 Thread Jonathan Cameron
On Tue, 18 Sep 2018 07:53:14 -0500 "Gustavo A. R. Silva" wrote: > Cast factor to s64 in order to give the compiler complete information > about the proper arithmetic to use and avoid a potential integer > overflow. Notice that such variable is being used in a context > that expects an expression

Re: [PATCH 2/3] mtd: rawnand: stm32_fmc2: add STM32 FMC2 NAND flash controller driver

2018-09-22 Thread Miquel Raynal
Hi Christophe, I suppose you received the kbuildrobot issues already, please have a look at them. The driver looks well, some comments below. wrote on Mon, 17 Sep 2018 17:47:39 +0200: > From: Christophe Kerello > > The driver adds the support for the STMicroelectronics FMC2 NAND > Controller

Re: [PATCH] Fix clang warning -Wpointer-bool-conversion by removing unnecessary check in regd.c

2018-09-22 Thread Dan Carpenter
On Sat, Sep 22, 2018 at 01:40:19PM +, Karthik Nishanth wrote: > Do I submit a new patch with the modified subject? > Yeah. Put [PATCH v2] in the subject and then at the end of the patch description put: Signed-off-by: Your Name --- v2: changed the subject. regards, dan carpenter

Re: [PATCH v2] i2c: aspeed: fix invalid clock parameters for very large divisors

2018-09-22 Thread Joe Perches
On Fri, 2018-09-21 at 15:30 -0700, Brendan Higgins wrote: > On Fri, Sep 21, 2018 at 3:26 PM Jae Hyun Yoo [] > > > + dev_err(dev, > > > + "clamping clock divider: divider requested, %u, is > > > greater than largest possible divider, %u.", > > > > Please put a newli

Re: [PATCH] kernel/kcov: Replace vm_insert_page with vmf_insert_page

2018-09-22 Thread Matthew Wilcox
On Fri, Sep 21, 2018 at 12:42:54AM +0530, Souptick Joarder wrote: > for (off = 0; off < size; off += PAGE_SIZE) { > page = vmalloc_to_page(kcov->area + off); > - if (vm_insert_page(vma, vma->vm_start + off, page)) > -

[PATCH v2] Staging: rtlwifi: remove unnecessary NULL check

2018-09-22 Thread Karthik Nishanth
The member regd of the struct rtl_priv is true in a boolean context. drivers/staging/rtlwifi/regd.c:413:27: warning: address of 'rtlpriv->regd' will always evaluate to 'true' [-Wpointer-bool-conversion] if (!wiphy || !&rtlpriv->regd) ~ ~^~~~ 1 warning g

Re: [PATCH v6 0/3] Harden spectrev2 userspace-userspace protection

2018-09-22 Thread Peter Zijlstra
On Sat, Sep 22, 2018 at 03:30:07PM +0200, Thomas Gleixner wrote: > On Sat, 22 Sep 2018, Thomas Gleixner wrote: > > On Sat, 22 Sep 2018, Peter Zijlstra wrote: > > > This has some unfortunate duplication. > > > > > > Lets go with it for now, but I'll see if I can do something about that > > > later.

Re: [PATCH v2] Staging: rtlwifi: remove unnecessary NULL check

2018-09-22 Thread Dan Carpenter
Thanks! Reviewed-by: Dan Carpenter regards, dan carpenter

Re: [PATCH v6 1/2] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-22 Thread Jonathan Cameron
On Tue, 18 Sep 2018 16:24:21 +0800 Song Qiang wrote: > This driver was originally written by ST in 2016 as a misc input device > driver, and hasn't been maintained for a long time. I grabbed some code > from it's API and reformed it into an iio proximity device driver. > This version of driver us

[PATCH v2 1/2] mm/page_alloc: Fix panic caused by passing debug_guardpage_minorder or kernelcore to command line

2018-09-22 Thread zhe.he
From: He Zhe debug_guardpage_minorder_setup and cmdline_parse_kernelcore do not check input argument before using it. The argument would be a NULL pointer if "debug_guardpage_minorder" or "kernelcore", without its value, is set in command line and thus causes the following panic. PANIC: early ex

[PATCH v2 2/2] mm/page_alloc: Add KBUILD_MODNAME

2018-09-22 Thread zhe.he
From: He Zhe Add KBUILD_MODNAME to make prints more clear. Signed-off-by: He Zhe Cc: a...@linux-foundation.org Cc: mho...@suse.com Cc: vba...@suse.cz Cc: pasha.tatas...@oracle.com Cc: mgor...@techsingularity.net Cc: aaron...@intel.com Cc: osalva...@suse.de Cc: iamjoonsoo@lge.com --- v2: Spl

Re: [PATCH] framewarn: expand KASAN_EXTRA exception to KASAN

2018-09-22 Thread Arnd Bergmann
On Fri, Sep 21, 2018 at 2:45 AM Dmitry Vyukov wrote: > > On Fri, Sep 21, 2018 at 11:25 AM, Andrey Ryabinin > wrote: > > On 09/21/2018 04:50 AM, Andy Lutomirski wrote: > >> This patch seems reasonable, but you emailed the wrong people :) > >> > >> On Thu, Sep 20, 2018 at 5:15 PM Jason A. Donenfeld

Re: [PATCH v6 1/2] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-22 Thread Himanshu Jha
On Sat, Sep 22, 2018 at 03:46:58PM +0100, Jonathan Cameron wrote: > On Tue, 18 Sep 2018 16:24:21 +0800 > Song Qiang wrote: > > > This driver was originally written by ST in 2016 as a misc input device > > driver, and hasn't been maintained for a long time. I grabbed some code > > from it's API an

Re: [PATCH v6 2/2] iio: proximity: vl53l0x: add interrupt support

2018-09-22 Thread Jonathan Cameron
On Tue, 18 Sep 2018 16:24:22 +0800 Song Qiang wrote: > The first version of this driver issues a measuring request and polling > for a status register in the device for measuring completes. > vl53l0x support configuring GPIO1 on it to generate interrupt to > indicate that new measurement is ready

Re: [PATCH v6 1/2] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-22 Thread Jonathan Cameron
On Sat, 22 Sep 2018 20:26:58 +0530 Himanshu Jha wrote: > On Sat, Sep 22, 2018 at 03:46:58PM +0100, Jonathan Cameron wrote: > > On Tue, 18 Sep 2018 16:24:21 +0800 > > Song Qiang wrote: > > > > > This driver was originally written by ST in 2016 as a misc input device > > > driver, and hasn't be

Re: [PATCH 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread Jonathan Cameron
On Fri, 21 Sep 2018 17:34:21 +0200 Tomasz Duszynski wrote: > On Thu, Sep 20, 2018 at 09:37:21PM -0400, r yang wrote: > > On Wed, Sep 19, 2018 at 09:22:39PM +0200, Tomasz Duszynski wrote: > > > Comments inline. > > > > > > On Sat, Sep 15, 2018 at 01:42:14PM -0400, ryang wrote: > > > > Add devi

Re: [PATCH 2/2] iio: light: bh1750: Add device tree support

2018-09-22 Thread Jonathan Cameron
On Mon, 17 Sep 2018 21:57:33 -0400 r yang wrote: > On Sun, Sep 16, 2018 at 10:45:26AM +0100, Jonathan Cameron wrote: > > On Sat, 15 Sep 2018 13:42:14 -0400 > > ryang wrote: > > > > > Add device tree support for ROHM BH1750 series ambient light sensors. > > > > > > Signed-off-by: ryang > >

Re: [PATCH v5] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-22 Thread Jonathan Cameron
... > > > > .../bindings/iio/proximity/vl53l0x.txt| 12 ++ > > MAINTAINERS | 7 + > > Otherwise, > > Reviewed-by: Rob Herring Hi Song, Please make sure to pick up the various Acks, Reviewed-bys etc for later versions. I've added this to the vers

Re: [PATCH v6 1/2] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-22 Thread Song Qiang
On Sat, Sep 22, 2018 at 03:46:58PM +0100, Jonathan Cameron wrote: > On Tue, 18 Sep 2018 16:24:21 +0800 > Song Qiang wrote: > > > This driver was originally written by ST in 2016 as a misc input device > > driver, and hasn't been maintained for a long time. I grabbed some code > > from it's API an

Re: [PATCH v4 2/2] mtd: rawnand: meson: add support for Amlogic NAND flash controller

2018-09-22 Thread Martin Blumenstingl
Hello, On Thu, Sep 20, 2018 at 10:51 AM Jianxin Pan wrote: [snip] > +static int meson_nfc_clk_init(struct meson_nfc *nfc) > +{ > + int ret; > + > + /* request core clock */ > + nfc->core_clk = devm_clk_get(nfc->dev, "core"); > + if (IS_ERR(nfc->core_clk)) { > +

Re: [PATCH v2 1/2] printk: Fix panic caused by passing log_buf_len to command line

2018-09-22 Thread He Zhe
On 2018年09月21日 15:37, Petr Mladek wrote: > On Thu 2018-09-20 12:30:56, Steven Rostedt wrote: >> On Fri, 21 Sep 2018 00:16:50 +0800 >> He Zhe wrote: >> >>> On 2018年09月19日 10:43, Steven Rostedt wrote: On Wed, 19 Sep 2018 11:39:32 +0900 Sergey Senozhatsky wrote: > On (09/19/1

[PATCH v3 1/2] printk: Fix panic caused by passing log_buf_len to command line

2018-09-22 Thread zhe.he
From: He Zhe log_buf_len_setup does not check input argument before passing it to simple_strtoull. The argument would be a NULL pointer if "log_buf_len", without its value, is set in command line and thus causes the following panic. PANIC: early exception 0xe3 IP 10:aaeacd0d error 0 cr2

[PATCH v3 2/2] printk: Add KBUILD_MODNAME and correct wrong casting

2018-09-22 Thread zhe.he
From: He Zhe Add KBUILD_MODNAME to make prints more clear and correct wrong casting that might cut off the normal output. Signed-off-by: He Zhe Cc: pmla...@suse.com Cc: sergey.senozhat...@gmail.com Cc: rost...@goodmis.org --- v2: Correct one more place v3: Correct wrong casting kernel/printk/

Re: [PATCH v6 1/2] iio: proximity: Add driver support for ST's VL53L0X ToF ranging sensor.

2018-09-22 Thread Jonathan Cameron
On Sat, 22 Sep 2018 23:28:04 +0800 Song Qiang wrote: > On Sat, Sep 22, 2018 at 03:46:58PM +0100, Jonathan Cameron wrote: > > On Tue, 18 Sep 2018 16:24:21 +0800 > > Song Qiang wrote: > > > > > This driver was originally written by ST in 2016 as a misc input device > > > driver, and hasn't been

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-22 Thread David Howells
Christian Brauner wrote: > mount_setattr(int dfd, const char *path, unsigned int atflags, > unsigned int attr_cmd, > unsigned int attr_values, > unsigned int attr_mask); Whilst you can have up to six arguments on a syscall, I seem to remember that 6-arg sysc

Re: [PATCH TRIVIAL] Punctuation fixes

2018-09-22 Thread Diego Viola
On Wed, Sep 12, 2018 at 12:54 AM Diego Viola wrote: > > Signed-off-by: Diego Viola > --- > CREDITS | 2 +- > MAINTAINERS | 2 +- > Makefile| 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/CREDITS b/CREDITS > index 5befd2d71..b82efb36d 100644 > --- a/CREDITS > +

Re: [PATCH 5/6] fsmount: do not use legacy MS_ flags

2018-09-22 Thread Christian Brauner
On Sat, Sep 22, 2018 at 04:48:32PM +0100, David Howells wrote: > Christian Brauner wrote: > > > mount_setattr(int dfd, const char *path, unsigned int atflags, > > unsigned int attr_cmd, > > unsigned int attr_values, > > unsigned int attr_mask); > > Whilst you ca

Re: [PATCH v3 1/2] printk: Fix panic caused by passing log_buf_len to command line

2018-09-22 Thread Steven Rostedt
On Sat, 22 Sep 2018 23:40:51 +0800 wrote: > From: He Zhe > > log_buf_len_setup does not check input argument before passing it to > simple_strtoull. The argument would be a NULL pointer if "log_buf_len", > without its value, is set in command line and thus causes the following > panic. > > PAN

Re: [PATCH v3 3/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-09-22 Thread Marc Zyngier
Hi Lina, On Tue, 04 Sep 2018 22:18:08 +0100, Lina Iyer wrote: > > During suspend the system may power down some of the system rails. As a > result, the TLMM hw block may not be operational anymore and wakeup > capable GPIOs will not be detected. The PDC however will be operational > and the GPIO

Re: [PATCH v5] EDAC, ghes: use CPER module handles to locate DIMMs

2018-09-22 Thread Borislav Petkov
On Wed, Sep 19, 2018 at 01:59:00AM +, Fan Wu wrote: > For platforms whose firmwares provide valid module handles > (SMBIOS type 17) in error records, this patch uses the module > handles to locate corresponding DIMMs and enables per-DIMM > error counter update. > > Signed-off-by: Fan Wu > Rev

Re: [PATCH 2/6] pstore: Add event tracing support

2018-09-22 Thread Sai Prakash Ranjan
On 9/22/2018 2:35 PM, Joel Fernandes wrote: On Sat, Sep 8, 2018 at 4:28 PM Sai Prakash Ranjan wrote: Could you just split the pstore space into a per-cpu event buffer like we are doing for ftrace-on-pstore? Then you don't need to lock. I fear the lock contention will be apparent. The pstore c

Re: [PATCH v3 3/5] drivers: pinctrl: msm: enable PDC interrupt only during suspend

2018-09-22 Thread Lina Iyer
On Sat, Sep 22 2018 at 10:29 -0600, Marc Zyngier wrote: Hi Lina, On Tue, 04 Sep 2018 22:18:08 +0100, Lina Iyer wrote: During suspend the system may power down some of the system rails. As a result, the TLMM hw block may not be operational anymore and wakeup capable GPIOs will not be detected.

Re: [PATCH] PM / suspend: Count suspend-to-idle loop as sleep time

2018-09-22 Thread kbuild test robot
Hi Rafael, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.19-rc4 next-20180921] [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

Re: [Patch v7 21/22] CIFS: SMBD: Upper layer performs SMB read via RDMA write through memory registration

2018-09-22 Thread Tom Talpey
On 9/21/2018 8:56 PM, Stefan Metzmacher wrote: Hi, +    req->Channel = SMB2_CHANNEL_RDMA_V1_INVALIDATE; +    if (need_invalidate) +    req->Channel = SMB2_CHANNEL_RDMA_V1; +    req->ReadChannelInfoOffset = +    offsetof(struct smb2_read_plain_req, Buffer); +    r

Re: [PATCH] iio: adc: Fix potential integer overflow

2018-09-22 Thread Gustavo A. R. Silva
On 9/22/18 8:42 AM, Jonathan Cameron wrote: > On Tue, 18 Sep 2018 07:53:14 -0500 > "Gustavo A. R. Silva" wrote: > >> Cast factor to s64 in order to give the compiler complete information >> about the proper arithmetic to use and avoid a potential integer >> overflow. Notice that such variable

  1   2   >