[PATCH v2 04/11] media: rkisp1: add Rockchip MIPI Synopsys DPHY driver

2017-11-23 Thread Jacob Chen
From: Jacob Chen This commit adds a subdev driver for Rockchip MIPI Synopsys DPHY driver. The phy driver is kind of independent compare to the other parts, but i'd like to keep it in rkisp1 driver, unless people want to generalize it Signed-off-by: Jacob Chen Signed-off-by: Shunqian Zheng Sig

[PATCH v2 09/11] arm64: dts: rockchip: add isp0 node for rk3399

2017-11-23 Thread Jacob Chen
From: Shunqian Zheng rk3399 have two ISP, but we havn't test isp1, so just add isp0 at present. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/rockchi

[PATCH v2 11/11] MAINTAINERS: add entry for Rockchip ISP1 driver

2017-11-23 Thread Jacob Chen
From: Jacob Chen Add MAINTAINERS entry for the rockchip isp1 driver. This driver is maintained by rockchip officially and it will be used for rockchip SoC on all linux-kernel based OS. Signed-off-by: Jacob Chen --- MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) diff --git a/MAI

[PATCH v2 10/11] arm64: dts: rockchip: add rx0 mipi-phy for rk3399

2017-11-23 Thread Jacob Chen
From: Shunqian Zheng It's a Designware MIPI D-PHY, used for ISP0 in rk3399. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen --- arch/arm64/boot/dts/rockchip/rk3399.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399.dtsi b/arch/ar

[PATCH v2 05/11] dt-bindings: Document the Rockchip ISP1 bindings

2017-11-23 Thread Jacob Chen
From: Jacob Chen Add DT bindings documentation for Rockchip ISP1 Signed-off-by: Jacob Chen --- .../devicetree/bindings/media/rockchip-isp1.txt| 61 ++ 1 file changed, 61 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/rockchip-isp1.txt diff --

[PATCH v2 01/11] media: videodev2.h, v4l2-ioctl: add rkisp1 meta buffer format

2017-11-23 Thread Jacob Chen
From: Shunqian Zheng Add the Rockchip ISP1 specific processing parameter format V4L2_META_FMT_RK_ISP1_PARAMS and metadata format V4L2_META_FMT_RK_ISP1_STAT_3A for 3A. Signed-off-by: Shunqian Zheng Signed-off-by: Jacob Chen --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 ++ include/uapi/linux/vi

[PATCH v2 07/11] ARM: dts: rockchip: add isp node for rk3288

2017-11-23 Thread Jacob Chen
From: Jacob Chen rk3288 have a Embedded 13M ISP Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index f3e7f98c2724..30677a0167fe 100644 --- a/arch/ar

[PATCH v2 00/11] Rockchip ISP1 Driver

2017-11-23 Thread Jacob Chen
This patch series add a ISP(Camera) v4l2 driver for rockchip rk3288/rk3399 SoC. Kernel Branch: https://github.com/wzyy2/linux/tree/rkisp1/drivers/media/platform/rockchip/isp1 Below are some infomations about driver/hardware: Rockchip ISP1 have many Hardware Blocks(simplied): MIPI --> ISP

[PATCH v2 02/11] media: rkisp1: Add user space ABI definitions

2017-11-23 Thread Jacob Chen
From: Jeffy Chen Add the header for userspace Signed-off-by: Jeffy Chen Signed-off-by: Jacob Chen --- include/uapi/linux/rkisp1-config.h | 554 + 1 file changed, 554 insertions(+) create mode 100644 include/uapi/linux/rkisp1-config.h diff --git a/include/

[PATCH v2 06/11] dt-bindings: Document the Rockchip MIPI RX D-PHY bindings

2017-11-23 Thread Jacob Chen
Add DT bindings documentation for Rockchip MIPI D-PHY RX Signed-off-by: Jacob Chen --- .../bindings/media/rockchip-mipi-dphy.txt | 77 ++ 1 file changed, 77 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt diff --git

[PATCH v2 08/11] ARM: dts: rockchip: add rx0 mipi-phy for rk3288

2017-11-23 Thread Jacob Chen
It's a Designware MIPI D-PHY, used by ISP in rk3288. Signed-off-by: Jacob Chen --- arch/arm/boot/dts/rk3288.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 30677a0167fe..8b7d5a9b521f 100644 --- a/arch/arm/boot/dt

RE: [PATCH] arm: dts: ls1021a: fix the value of TMR_FIPER1

2017-11-23 Thread Y.b. Lu
Any comments? +Shawn Thanks. -Original Message- From: Yangbo Lu [mailto:yangbo...@nxp.com] Sent: 2017年11月10日 9:59 To: devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; Rob Herring ; Mark Rutland ; Russell King Cc: Y.b. Lu Subject: [PATCH

[PATCH] mm,madvise: bugfix of madvise systemcall infinite loop under special circumstances.

2017-11-23 Thread guoxuenan
From: chenjie The madvise() system call supported a set of "conventional" advice values, the MADV_WILLNEED parameter will trigger an infinite loop under direct access mode(DAX). In DAX mode, the function madvise_vma() will return directly without updating the pointer [prev]. For example: Special

[PATCH] MIPS: ralink: Fix platform_get_irq's error checking

2017-11-23 Thread Arvind Yadav
The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav --- changes in v2: Subject spelling was not correct. change FIX in place of 'ix'. changes

Re: regression: 4.13 cannot follow symlinks on some ext3 fs

2017-11-23 Thread Andi Kleen
> As a workaround, you could delete and recreate the symlink with the new I revert the patch for now. Everything seems to work. > kernel to create a proper fast symlink. It would be useful to scan the > image to see if there are other similar symlinks present: > > find /myth/tmp -type l -si

[GIT PULL] security subsystem: keys update for 4.15

2017-11-23 Thread James Morris
rnel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-keys for you to fetch changes up to ce44cd8dfc55110fa7423ceb47a8a70dac65fe89: Merge tag 'keys-next-20171123' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs

CONGRATULATIONS

2017-11-23 Thread BBC
Your E-mail ID has won you (One Million Great Britain Pounds) In BBC NATIONAL END OF YEAR EMAIL LOTTERY DRAW 2017,contact us via Email immediately for claims. BBC ©2017

RE: [RFC PATCH v6 1/3] ACPI / EC: Fix possible driver order issue by moving EC event handling earlier

2017-11-23 Thread Zheng, Lv
Hi, Rui > From: Zhang, Rui > Subject: RE: [RFC PATCH v6 1/3] ACPI / EC: Fix possible driver order issue by > moving EC event handling > earlier > > > > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > > Subject: [RFC PATCH v6 1/3] ACPI / EC: Fix possible driver order issue by > > mo

[PATCH v6,2/2] misc: rtsx: Add support for RTS5260

2017-11-23 Thread rui_feng
From: Rui Feng Add support for new chip rts5260. In order to support rts5260, the definitions of some internal registers and workflow have to be modified and are different from its predecessors and OCP function is added for RTS5260. So we need this patch to ensure RTS5260 can work. Signed-off-by

[PATCH v6,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-23 Thread rui_feng
From: Rui Feng Because Realtek card reader drivers are pcie and usb drivers, and they bridge mmc subsystem and memstick subsystem, they are not mfd drivers. Greg and Lee Jones had a discussion about where to put the drivers, the result is that misc is a good place for them, so I move all files to

XArray documentation

2017-11-23 Thread Matthew Wilcox
Here's the current state of the documentation for the XArray. Suggestions for improvement gratefully received. == XArray == Overview The XArray is an array of ULONG_MAX entries. Each entry can be either a pointer, or an encoded value between 0 and LONG_MAX. It is efficient wh

Re: regression: 4.13 cannot follow symlinks on some ext3 fs

2017-11-23 Thread Andreas Dilger
On Nov 23, 2017, at 4:31 PM, Andi Kleen wrote: > > On Thu, Nov 23, 2017 at 05:23:17PM -0500, Theodore Ts'o wrote: >> On Thu, Nov 23, 2017 at 12:33:30PM -0800, Andi Kleen wrote: >>> >>> I have an older qemu VM image that i sometimes use for testing. It >>> stopped booting with 4.13-4.14 because i

Re: [PATCH] net: usb: hso.c: remove unneeded DRIVER_LICENSE #define

2017-11-23 Thread Joe Perches
On Thu, 2017-11-23 at 15:30 -0800, Joe Perches wrote: > --- /dev/null 2017-11-23 06:19:12.943046739 -0800 > +++ single_use_module.pl 2017-11-23 15:23:11.729812156 -0800 > @@ -0,0 +1,15 @@ [] > +$data =~ s~$var~$string~; this needs to be: $data =~ s~\b$var\b~$string~;

Re: [PATCH 0/2] Handle return value and error checking of platform_get_irq

2017-11-23 Thread Chanwoo Choi
On 2017년 11월 24일 00:55, Arvind Yadav wrote: > The platform_get_irq() function returns negative if an error occurs. > zero or positive number on success. platform_get_irq() error checking > for zero is not correct. > platform_get_irq() can fail here and we must check its return value. > > Arvind Ya

[PATCH] mm: Do not stall register_shrinker

2017-11-23 Thread Minchan Kim
Shakeel Butt reported, he have observed in production system that the job loader gets stuck for 10s of seconds while doing mount operation. It turns out that it was stuck in register_shrinker() and some unrelated job was under memory pressure and spending time in shrink_slab(). Machines have a lot

Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

2017-11-23 Thread Mathieu Desnoyers
- On Nov 23, 2017, at 6:38 PM, Thomas Gleixner t...@linutronix.de wrote: > On Thu, 23 Nov 2017, Mathieu Desnoyers wrote: >> - On Nov 23, 2017, at 5:51 PM, Thomas Gleixner t...@linutronix.de wrote: >> > On Thu, 23 Nov 2017, Mathieu Desnoyers wrote: >> >> - On Nov 22, 2017, at 2:37 PM, W

Re: [PATCH 1/4] staging: lustre: fixed signedness of some socklnd params

2017-11-23 Thread Stefano Manni
On Thu, 2017-11-23 at 15:13 +0300, Dan Carpenter wrote: > I've looked through this series and I feel like none of these are > real > bugs.  It's just about type safety and being consistent.  Which are > good > things.  I'm not sure that I like the parts where we make the > variables > signed. > >

Re: [PATCH 1/2] mm,vmscan: Kill global shrinker lock.

2017-11-23 Thread Minchan Kim
On Thu, Nov 16, 2017 at 12:44:22PM -0500, Johannes Weiner wrote: > On Wed, Nov 15, 2017 at 09:56:02AM +0900, Minchan Kim wrote: > > @@ -498,6 +498,14 @@ static unsigned long shrink_slab(gfp_t gfp_mask, int > > nid, > > sc.nid = 0; > > > > freed += do_shrink_slab(&

Re: [PATCH v2 13/18] x86/asm/64: Use a percpu trampoline stack for IDT entries

2017-11-23 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Andy Lutomirski wrote: > The asm isn't exactly beautiful, Delightful euphemism :) > but I think that fully refactoring > it can wait. > @@ -560,6 +560,14 @@ END(irq_entries_start) > .macro interrupt func > cld > ALLOC_PT_GPREGS_ON_STACK > + > + testb

Re: [PATCH v2 13/13] nubus: Add support for the driver model

2017-11-23 Thread Finn Thain
On Thu, 23 Nov 2017, Greg Kroah-Hartman wrote: > On Thu, Nov 23, 2017 at 11:24:38AM +1100, Finn Thain wrote: > > On Mon, 20 Nov 2017, I wrote: > > > > > > You need to free up the memory allocated, and I don't see that > > > > happening here ... The kernel should yell at you ... > > > > > > > >

Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

2017-11-23 Thread Thomas Gleixner
On Thu, 23 Nov 2017, Mathieu Desnoyers wrote: > - On Nov 23, 2017, at 5:51 PM, Thomas Gleixner t...@linutronix.de wrote: > > On Thu, 23 Nov 2017, Mathieu Desnoyers wrote: > >> - On Nov 22, 2017, at 2:37 PM, Will Deacon will.dea...@arm.com wrote: > >> > On Wed, Nov 22, 2017 at 08:32:19PM +01

linux-next: manual merge of the drm tree with Linus' tree

2017-11-23 Thread Stephen Rothwell
Hi all, FIXME: Add owner of second tree to To: Add author(s)/SOB of conflicting commits. Today's linux-next merge of the drm tree got a conflict in: drivers/gpu/drm/tilcdc/tilcdc_slave_compat.c between commits: 0290c4ca2536 ("of: overlay: rename identifiers to more reflect what they

[PATCH v2 2/2] ASoC: fsl_ssi: add 20-bit sample format for AC'97 and use it for capture

2017-11-23 Thread Maciej S. Szmigiero
When testing AC'97 capture on UDOO board (currently the only user of fsl_ssi driver in the AC'97 mode) it become obvious that there is a massive distortion above certain, small input signal. This problem has been traced to silicon errata ERR003778: "In AC97, 16-bit mode, received data is shifted b

Re: [PATCH 0/4] staging: lustre: fixed some signedness warns from sparse

2017-11-23 Thread Stefano Manni
On Fri, 2017-11-24 at 09:20 +1100, Tobin C. Harding wrote: > On Thu, Nov 23, 2017 at 02:51:38PM +0300, Dan Carpenter wrote: > > On Thu, Nov 23, 2017 at 03:59:26PM +1100, Tobin C. Harding wrote: > > > On Wed, Nov 22, 2017 at 08:38:27PM +0100, Stefano Manni wrote: > > > > Fixed some signedness warnin

[PATCH v2 1/2] ALSA: pcm: add SNDRV_PCM_FORMAT_{S,U}20

2017-11-23 Thread Maciej S. Szmigiero
This format is similar to existing SNDRV_PCM_FORMAT_{S,U}20_3 that keep 20-bit PCM samples in 3 bytes, however i.MX6 platform SSI FIFO does not allow 3-byte accesses (including DMA) so a 4-byte (more conventional) format is needed for it. Signed-off-by: Maciej S. Szmigiero --- Changes from v1: Dr

Re: regression: 4.13 cannot follow symlinks on some ext3 fs

2017-11-23 Thread Andi Kleen
On Thu, Nov 23, 2017 at 05:23:17PM -0500, Theodore Ts'o wrote: > On Thu, Nov 23, 2017 at 12:33:30PM -0800, Andi Kleen wrote: > > > > I have an older qemu VM image that i sometimes use for testing. It > > stopped booting with 4.13-4.14 because it couldn't run init. > > It uses ext3 for the root f

Re: [PATCH] net: usb: hso.c: remove unneeded DRIVER_LICENSE #define

2017-11-23 Thread Joe Perches
On Wed, 2017-11-22 at 18:12 +0100, Greg Kroah-Hartman wrote: > On Wed, Nov 22, 2017 at 09:05:36AM -0800, Joe Perches wrote: > > On Fri, 2017-11-17 at 15:19 +0100, Greg Kroah-Hartman wrote: > > > There is no need to #define the license of the driver, just put it in > > > the MODULE_LICENSE() line di

Re: [PATCH] frv: fix build failure

2017-11-23 Thread Sudip Mukherjee
Hi Alexey, On Thu, Nov 23, 2017 at 05:17:19PM +, Alexey Brodkin wrote: > Hi Sudip, > > On Tue, 2017-11-21 at 22:10 +, Sudip Mukherjee wrote: > > The frv defconfig build is failing with the error: > > lib/mpi/mpih-div.o: In function `mpihelp_divrem': > > mpih-div.c:(.text+0x30c): undefined

Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

2017-11-23 Thread Mathieu Desnoyers
- On Nov 23, 2017, at 5:51 PM, Thomas Gleixner t...@linutronix.de wrote: > On Thu, 23 Nov 2017, Mathieu Desnoyers wrote: >> - On Nov 22, 2017, at 2:37 PM, Will Deacon will.dea...@arm.com wrote: >> > On Wed, Nov 22, 2017 at 08:32:19PM +0100, Peter Zijlstra wrote: >> >> >> >> So what exactly

Respond

2017-11-23 Thread Mavis Wanc
I am giving out my donation to you. Reply

Re: [kernel-hardening] [PATCH v3 2/2] Protected O_CREAT open in sticky directories

2017-11-23 Thread Tobin C. Harding
On Wed, Nov 22, 2017 at 09:01:46AM +0100, Salvatore Mesoraca wrote: Same caveat about this being English language comments only as for patch 1/2. Please ignore if this is too trivial. My grammar is a long way from perfect, especially please feel free to ignore my placement of commas, they are ofte

Re: [RFC PATCH for 4.15 v3 15/22] rseq: selftests: Provide self-tests

2017-11-23 Thread Mathieu Desnoyers
- On Nov 22, 2017, at 4:48 PM, Peter Zijlstra pet...@infradead.org wrote: > On Tue, Nov 21, 2017 at 09:18:53AM -0500, Mathieu Desnoyers wrote: >> diff --git a/tools/testing/selftests/rseq/rseq-x86.h >> b/tools/testing/selftests/rseq/rseq-x86.h >> new file mode 100644 >> index ..63e

[PATCH] dm: use cloned bio as head, not remainder, in __split_and_process_bio()

2017-11-23 Thread NeilBrown
When we use bio_clone_bioset() to split off the front part of a bio and chain the two together and submit the remainder to generic_make_request(), it is important that the newly allocated bio is used as the head to be processed immediately, and the original bio gets "bio_advance()"d and sent to ge

Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

2017-11-23 Thread Thomas Gleixner
On Thu, 23 Nov 2017, Mathieu Desnoyers wrote: > - On Nov 22, 2017, at 2:37 PM, Will Deacon will.dea...@arm.com wrote: > > On Wed, Nov 22, 2017 at 08:32:19PM +0100, Peter Zijlstra wrote: > >> > >> So what exactly is the problem of leaving out the whole cpu_opv thing > >> for now? Pure rseq is us

Re: [kernel-hardening] [PATCH v3 1/2] Protected FIFOs and regular files

2017-11-23 Thread Tobin C. Harding
On Wed, Nov 22, 2017 at 09:01:45AM +0100, Salvatore Mesoraca wrote: Please take these comments in all humility, my English is a long way from perfect. These are English grammar comments only. If this is viewed as trivial please stop reading now and ignore. > Disallows open of FIFOs or regular fil

[GIT PULL] target updates for v4.15-rc1

2017-11-23 Thread Nicholas A. Bellinger
Hello Linus, Here are the target-pending updates for v4.15-rc1. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git for-next This series is predominantly bug-fixes, with a few small improvements that have been outstanding over the last release c

Re: [dm-devel] [PATCH 1/2] swait: export the symbols __prepare_to_swait and __finish_swait

2017-11-23 Thread Mikulas Patocka
On Thu, 23 Nov 2017, Christoph Hellwig wrote: > Please run this past the swait authors. It is supposed to be a simple > and self-contained API so I'd expect this patch to be seen critical. I already sent it to Peter Zijlstra and didn't get a response yet. > You might be better off to just use

Re: regression: 4.13 cannot follow symlinks on some ext3 fs

2017-11-23 Thread Theodore Ts'o
On Thu, Nov 23, 2017 at 12:33:30PM -0800, Andi Kleen wrote: > > I have an older qemu VM image that i sometimes use for testing. It > stopped booting with 4.13-4.14 because it couldn't run init. > It uses ext3 for the root file system. Hmm, do you know roughly when (what krenel version) this ima

Re: [PATCH 0/4] staging: lustre: fixed some signedness warns from sparse

2017-11-23 Thread Tobin C. Harding
On Thu, Nov 23, 2017 at 02:51:38PM +0300, Dan Carpenter wrote: > On Thu, Nov 23, 2017 at 03:59:26PM +1100, Tobin C. Harding wrote: > > On Wed, Nov 22, 2017 at 08:38:27PM +0100, Stefano Manni wrote: > > > Fixed some signedness warnings from sparse on lustre. > > > > > > Stefano Manni (4): > > > s

[PATCH] m68k: macboing: Fix missed timer callback assignment

2017-11-23 Thread Kees Cook
This fixes a missed function prototype callback from the timer conversions. Reported-by: kbuild test robot Signed-off-by: Kees Cook --- 0-day just noticed this missed function prototype conversion. --- arch/m68k/mac/macboing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --gi

Re: [PATCH v2 2/5] mm: memory_hotplug: Remove assumption on memory state before hotremove

2017-11-23 Thread Rafael J. Wysocki
On 11/23/2017 12:14 PM, Andrea Reale wrote: Commit 242831eb15a0 ("Memory hotplug / ACPI: Simplify memory removal") introduced an assumption whereas when control reaches remove_memory the corresponding memory has been already offlined. In that case, the acpi_memhotplug was making sure that the ass

drivers/media/i2c/et8ek8/et8ek8_driver.c:1456: undefined reference to `v4l2_async_register_subdev_sensor_common'

2017-11-23 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c86a6bd85ff0629cd2c5141027fc1c8bb6cde9c commit: d8932f38c10ffb4b604c97d0765b500e8964cbd1 media: et8ek8: Add support for flash and lens devices date: 3 weeks ago config: x86_64-randconfig-s0-11240340 (atta

[GIT PULL] Keyrings bits

2017-11-23 Thread David Howells
nux/kernel/git/dhowells/linux-fs.git tags/keys-next-20171123 for you to fetch changes up to 1e684d3820d8f72d877c0adb521ae17c6fc9bc88: pkcs7: Set the module licence to prevent tainting (2017-11-15 16:38:45 +)

Re: [PATCH] xfs: handle register_shrinker error

2017-11-23 Thread Dave Chinner
On Thu, Nov 23, 2017 at 05:11:37PM +0100, Michal Hocko wrote: > On Fri 24-11-17 01:01:10, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > On Thu 23-11-17 05:26:33, Christoph Hellwig wrote: > > > > Looks good, > > > > > > > > Reviewed-by: Christoph Hellwig > > > > > > Thanks! > > > > > > > I c

Re: [PATCH v2] fs: handle shrinker registration failure in sget_userns

2017-11-23 Thread Tetsuo Handa
Al Viro wrote: > On Fri, Nov 24, 2017 at 12:35:29AM +0900, Tetsuo Handa wrote: > > Al Viro wrote: > > > On Fri, Nov 24, 2017 at 12:04:23AM +0900, Tetsuo Handa wrote: > > > > Al Viro wrote: > > > > > On Thu, Nov 23, 2017 at 03:35:37PM +0100, Michal Hocko wrote: > > > > > > Hopefully less screwed ver

[PATCH] MIPS: TXx9: Add missing iounmap

2017-11-23 Thread Vasyl Gomonovych
Add the missing iounmap() before put_device and return from txx9_sramc_init(). Signed-off-by: Vasyl Gomonovych --- arch/mips/txx9/generic/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index 1791a44ee570..6ef5edb85d68

Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

2017-11-23 Thread Andi Kleen
> Also, turning both line-level and instruction-level single-stepping into > infinite loops looks pretty much like a new kernel facility that breaks > user-space. It's a no-go from my point of view. You could fix it at the debugger level with suitable annotation. Just turn the whole rseq into an e

Re: [PATCH] net-sysfs: export gso_max_size attribute

2017-11-23 Thread Solio Sarabia
On Wed, Nov 22, 2017 at 04:30:41PM -0800, Solio Sarabia wrote: > The netdevice gso_max_size is exposed to allow users fine-control on > systems with multiple NICs with different GSO buffer sizes, and where > the virtual devices like bridge and veth, need to be aware of the GSO > size of the underly

i8k_smm_func() takes enormous of time to execute

2017-11-23 Thread Oleksandr Natalenko
Hi, Jonathan, Mario et al. I've noticed that querying Dell Vostro 3360 hwmon sensor freezes the system completely (like, really completely, even mouse cursor does not move, and sound playback stops) for approx. half of a second. Then, system recovers and runs as usual. Also, sensor readings are

Re: [PATCH v2 2/4] platform/x86: intel_telemetry: Fix suspend stats

2017-11-23 Thread Andy Shevchenko
On Tue, Nov 21, 2017 at 4:36 PM, Souvik Kumar Chakravarty wrote: > Suspend stats are not reported consistently due to a limitation in the PMC > firmware. This limitation causes a delay in updating the s0ix counters and > residencies in the telemetry log upon s0ix exit. As a consequence, reading >

Re: Failed IRQ assignment for INT0002 on Braswell

2017-11-23 Thread Andy Shevchenko
On Thu, Nov 23, 2017 at 11:15 PM, Oleksandr Natalenko wrote: > On čtvrtek 23. listopadu 2017 22:08:29 CET Andy Shevchenko wrote: >> On Wed, Nov 22, 2017 at 8:13 PM, Oleksandr Natalenko >> >> wrote: >> > Hi, Hans. >> > >> > With this patch applied the warning is not emitted anymore with threadirqs

Re: [PATCH v1 1/4] platform/x86: intel_pmc_ipc: Add readq API for GCR

2017-11-23 Thread Andy Shevchenko
On Tue, Nov 21, 2017 at 4:36 PM, Souvik Kumar Chakravarty wrote: > Add intel_pmc_gcr_readq API for reading from 64-bit GCR registers. > This API will be called from intel_telemetry. Rename intel_pmc_gcr_read > to more appropriate intel_pmc_gcr_readl. > int intel_pmc_s0ix_counter_read(u64 *data);

Re: [PATCH] mm, compaction: direct freepage allocation for async direct compaction

2017-11-23 Thread Vlastimil Babka
On 11/23/2017 03:08 PM, Mel Gorman wrote: > > 1. This indirectly uses __rmqueue to allocate a MIGRATE_MOVABLE page but >that is allowed to fallback to other pageblocks and potentially even >steal them. I think it's very bad that an attempt to defragment can >itself indirectly cause mor

Re: Failed IRQ assignment for INT0002 on Braswell

2017-11-23 Thread Oleksandr Natalenko
On čtvrtek 23. listopadu 2017 22:08:29 CET Andy Shevchenko wrote: > On Wed, Nov 22, 2017 at 8:13 PM, Oleksandr Natalenko > > wrote: > > Hi, Hans. > > > > With this patch applied the warning is not emitted anymore with threadirqs > > enabled, and relevant kthread (irq/9-INT0002) is created. > >

Re: [RFC PATCH for 4.15 v3 15/22] rseq: selftests: Provide self-tests

2017-11-23 Thread Mathieu Desnoyers
- On Nov 22, 2017, at 2:38 PM, Peter Zijlstra pet...@infradead.org wrote: > On Tue, Nov 21, 2017 at 09:18:53AM -0500, Mathieu Desnoyers wrote: >> Implements two basic tests of RSEQ functionality, and one more >> exhaustive parameterizable test. >> >> The first, "basic_test" only asserts that

Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

2017-11-23 Thread Mathieu Desnoyers
- On Nov 22, 2017, at 2:37 PM, Will Deacon will.dea...@arm.com wrote: > On Wed, Nov 22, 2017 at 08:32:19PM +0100, Peter Zijlstra wrote: >> On Tue, Nov 21, 2017 at 10:05:08PM +, Mathieu Desnoyers wrote: >> > Other than that, I have not received any concrete alternative proposal to >> > prop

[PATCH 4/4] ASoC: twl4030: Delete an unnecessary variable initialisation in twl4030_get_pdata()

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 21:54:10 +0100 The variable "twl4030_codec_node" will be reassigned by a following statement. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- sound/soc/codecs/twl4030.c | 2 +- 1 file changed, 1 insertion(+),

Re: [PATCH RFC 1/2] sched: Minimize the idle cpu selection race window.

2017-11-23 Thread Atish Patra
On 2017/11/23 10:00 AM, Josef Bacik wrote: On Thu, Nov 23, 2017 at 02:13:01PM +0100, Mike Galbraith wrote: On Thu, 2017-11-23 at 11:52 +0100, Uladzislau Rezki wrote: Hello, Atish, Peter, all. I have a question about if a task's nr_cpus_allowed is 1. In that scenario we do not call select_tas

Re: [RFC PATCH for 4.15 v12 00/22] Restartable sequences and CPU op vector

2017-11-23 Thread Mathieu Desnoyers
- On Nov 22, 2017, at 2:32 PM, Peter Zijlstra pet...@infradead.org wrote: > On Tue, Nov 21, 2017 at 10:05:08PM +, Mathieu Desnoyers wrote: >> Other than that, I have not received any concrete alternative proposal to >> properly handle single-stepping. > > That's not entirely true; amluto

[PATCH 3/4] ASoC: twl4030: Improve a size determination in two functions

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 21:45:55 +0100 Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was detec

[PATCH 2/4] ASoC: twl4030: Use common error handling code in twl4030_get_pdata()

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 21:35:28 +0100 Add a jump target so that a bit of exception handling can be better reused in an if branch of this function. Signed-off-by: Markus Elfring --- sound/soc/codecs/twl4030.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) di

[PATCH 1/4] ASoC: twl4030: Delete an error message for a failed memory allocation in twl4030_get_pdata()

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 21:30:07 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- sound/soc/codecs/twl4030.c | 1 - 1 file changed, 1 deletion(-) diff

Re: Failed IRQ assignment for INT0002 on Braswell

2017-11-23 Thread Andy Shevchenko
On Wed, Nov 22, 2017 at 8:13 PM, Oleksandr Natalenko wrote: > > Hi, Hans. > > With this patch applied the warning is not emitted anymore with threadirqs > enabled, and relevant kthread (irq/9-INT0002) is created. > > Feel free to add Reported-by/Tested-by from me once you do a submission. First o

[PATCH 0/4] ALSA SoC TWL4030: Adjustments for two function implementations

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 22:02:44 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete an error message for a failed memory allocation in twl4030_get_pdata() Use common error handling code in twl4030_get_pdata(

[PATCH v8 2/2] ARM: dts: TS-4600: add basic device tree

2017-11-23 Thread Sebastien Bourdelin
These device trees add support for the TS-4600 by Technologic Systems. More details here: http://wiki.embeddedarm.com/wiki/TS-4600 Signed-off-by: Sebastien Bourdelin --- Changes v7 -> v8: - rebase on master - merge the rev A and B into one device tree based on the last rev B because only

[PATCH v8 1/2] of: documentation: add bindings documentation for TS-4600

2017-11-23 Thread Sebastien Bourdelin
This adds the documentation for the TS-4600 by Technologic Systems. Signed-off-by: Sebastien Bourdelin Acked-by: Rob Herring --- Changes v7 -> v8: - rebase on master Changes v6 -> v7: - rebase on master Changes v5 -> v6: - rebase on master - split the previous patch series into series

Re: [PATCH] fat: Fix sb_rdonly() change

2017-11-23 Thread Joe Perches
On Thu, 2017-11-23 at 15:29 +0900, OGAWA Hirofumi wrote: > Ouch forgot to add stable@ > > -- > commit bc98a42c1f7d0f886c0c1b75a92a004976a46d9f introduced bug. I think your commit message needs a bit more information. It'd be useful to describe that the introduction of sb_rdonly converted the bi

Re: [PATCH] powerpc/xive: store server for masked interrupt in kvmppc_xive_set_xive()

2017-11-23 Thread Benjamin Herrenschmidt
On Thu, 2017-11-23 at 10:06 +0100, Laurent Vivier wrote: > This is needed to map kvmppc_xive_set_xive() behavior > to kvmppc_xics_set_xive(). > > As we store the server, kvmppc_xive_get_xive() can return > the good value and we can also allow kvmppc_xive_int_on(). > > Signed-off-by: Laurent Vivie

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Borislav Petkov
On Thu, Nov 23, 2017 at 12:15:14PM -0800, Andy Lutomirski wrote: > >> diff --git a/arch/x86/kernel/asm-offsets.c b/arch/x86/kernel/asm-offsets.c > >> index b275863128eb..55858b277cf6 100644 > >> --- a/arch/x86/kernel/asm-offsets.c > >> +++ b/arch/x86/kernel/asm-offsets.c > >> @@ -98,4 +98,7 @@ void

regression: 4.13 cannot follow symlinks on some ext3 fs

2017-11-23 Thread Andi Kleen
Hi, I have an older qemu VM image that i sometimes use for testing. It stopped booting with 4.13-4.14 because it couldn't run init. It uses ext3 for the root file system. I instrumented the code and found that it failed to follow the /lib/ld-linux.so.2 -> ld-2.3.6.so symlink for init's ELF in

Project Funding Program

2017-11-23 Thread Austin Jonas
Hello, Can i trust an investment project in your country? accepted please send email for more details. Best Regards Austin Jonas

[PATCH v3 2/2] ARM: dts: TS-7970: add basic device tree

2017-11-23 Thread Sebastien Bourdelin
These device trees add support for TS-7970 by Technologic Systems. More details here: https://wiki.embeddedarm.com/wiki/TS-7970 Signed-off-by: Sebastien Bourdelin --- Changes v2 -> v3: - fix typo in imx6q-ts7970.dts (suggested by Fabio Estevam) - add enable-active-high on regulator (sugge

[PATCH v3 1/2] of: documentation: add bindings documentation for TS-7970

2017-11-23 Thread Sebastien Bourdelin
This adds the documentation for the TS-7970 by Technologic Systems. Signed-off-by: Sebastien Bourdelin --- Changes v1 -> v2: - rebase on master --- Documentation/devicetree/bindings/arm/technologic.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Andy Lutomirski
On Thu, Nov 23, 2017 at 11:55 AM, Borislav Petkov wrote: > On Tue, Nov 21, 2017 at 08:44:05PM -0800, Andy Lutomirski wrote: >> This has a secondary purpose: it puts the entry stack into a region >> with a well-controlled layout. A subsequent patch will take >> advantage of this to streamline the

Re: [PATCH 09/23] x86, kaiser: map dynamically-allocated LDTs

2017-11-23 Thread Andy Lutomirski
On Thu, Nov 23, 2017 at 11:42 AM, Eric Biggers wrote: >> diff -puN arch/x86/kernel/ldt.c~kaiser-user-map-new-ldts >> arch/x86/kernel/ldt.c >> --- a/arch/x86/kernel/ldt.c~kaiser-user-map-new-ldts 2017-11-22 >> 15:45:49.059619739 -0800 >> +++ b/arch/x86/kernel/ldt.c 2017-11-22 15:45:49.06261973

[PATCH 3/3] ASoC: da7218: Improve a size determination in da7218_i2c_probe()

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 20:50:44 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was det

[PATCH 2/3] ASoC: da7218: Use common error handling code in da7218_of_to_pdata()

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 20:48:05 +0100 Add a jump target so that a bit of exception handling can be better reused in an if branch of this function. Signed-off-by: Markus Elfring --- sound/soc/codecs/da7218.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) dif

[PATCH 1/3] ASoC: da7218: Delete two error messages for a failed memory allocation in da7218_of_to_pdata()

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 20:42:20 +0100 Omit extra messages for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- sound/soc/codecs/da7218.c | 6 +- 1 file changed, 1 insertion(+), 5

[PATCH 0/3] ASoC: da7218: Adjustments for two function implementations

2017-11-23 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 23 Nov 2017 21:00:12 +0100 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Delete two error messages for a failed memory allocation in da7218_of_to_pdata() Use common error handling code in da7218_of_t

[GIT] Networking

2017-11-23 Thread David Miller
1) Fix PCI IDs of 9000 series iwlwifi devices, from Luca Coelho. 2) bpf offload bug fixes from Jakub Kicinski. 3) Fix bpf verifier to NOP out code which is dead at run time because due to branch pruning the verifier will not explore such instructions. From Alexei Starovoitov. 4) Fix cras

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Borislav Petkov
On Tue, Nov 21, 2017 at 08:44:05PM -0800, Andy Lutomirski wrote: > This has a secondary purpose: it puts the entry stack into a region > with a well-controlled layout. A subsequent patch will take > advantage of this to streamline the SYSCALL entry code to be able to > find it more easily. > > Si

Re: [PATCH 05/10] x86: jailhouse: Set up timekeeping

2017-11-23 Thread Jan Kiszka
On 2017-11-23 19:36, Thomas Gleixner wrote: > On Mon, 20 Nov 2017, Jan Kiszka wrote: >> On 2017-11-20 12:24, Thomas Gleixner wrote: >>> On Sat, 18 Nov 2017, Jan Kiszka wrote: On 2017-11-17 23:49, Thomas Gleixner wrote: > On Thu, 16 Nov 2017, Jan Kiszka wrote: >> Calibrate the TSC and,

Re: [PATCH 09/23] x86, kaiser: map dynamically-allocated LDTs

2017-11-23 Thread Eric Biggers
> diff -puN arch/x86/kernel/ldt.c~kaiser-user-map-new-ldts arch/x86/kernel/ldt.c > --- a/arch/x86/kernel/ldt.c~kaiser-user-map-new-ldts 2017-11-22 > 15:45:49.059619739 -0800 > +++ b/arch/x86/kernel/ldt.c 2017-11-22 15:45:49.062619739 -0800 > @@ -11,6 +11,7 @@ [...] > + ret = kaiser_add_mapp

Re: [PATCH v2 12/18] x86/espfix/64: Stop assuming that pt_regs is on the entry stack

2017-11-23 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Andy Lutomirski wrote: > When we start using an entry trampoline, a #GP from userspace will > be delivered on the entry stack, not on the task stack. Fix the > espfix64 #DF fixup to set up #GP according to TSS.SP0, rather than > assuming that pt_regs + 1 == SP0. This won't c

Re: [PATCH v2 11/18] x86/asm/64: Separate cpu_current_top_of_stack from TSS.sp0

2017-11-23 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Andy Lutomirski wrote: > On 64-bit kernels, we used to assume that TSS.sp0 was the current > top of stack. With the addition of an entry trampoline, this will > no longer be the case. Store the current top of stack in TSS.sp1, > which is otherwise unused but shares the same

[PATCH net v3] net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts

2017-11-23 Thread Aleksey Makarov
From: Sunil Goutham Don't offload IP header checksum to NIC. This fixes a previous patch which enabled checksum offloading for both IPv4 and IPv6 packets. So L3 checksum offload was getting enabled for IPv6 pkts. And HW is dropping these pkts as it assumes the pkt is IPv4 when IP csum offload

Re: [PATCH v2 10/18] x86/asm: Remap the TSS into the cpu entry area

2017-11-23 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Andy Lutomirski wrote: > This has a secondary purpose: it puts the entry stack into a region > with a well-controlled layout. A subsequent patch will take > advantage of this to streamline the SYSCALL entry code to be able to > find it more easily. > > Signed-off-by: Andy Lu

Re: [PATCH v2 09/18] x86/asm: Move SYSENTER_stack to the beginning of struct tss_struct

2017-11-23 Thread Thomas Gleixner
On Tue, 21 Nov 2017, Andy Lutomirski wrote: > I want SYSENTER_stack to have reliable overflow detection, which > means that it needs to be at the bottom of a page, not the top. > Move it to the beginning of struct tss_struct and page-align it. > > Also add an assertion to make sure that the fixed

[PATCH net v3] net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts

2017-11-23 Thread Aleksey Makarov
From: Sunil Goutham Don't offload IP header checksum to NIC. This fixes a previous patch which enabled checksum offloading for both IPv4 and IPv6 packets. So L3 checksum offload was getting enabled for IPv6 pkts. And HW is dropping these pkts as it assumes the pkt is IPv4 when IP csum offload

[tip:x86/urgent] x86/umip: Fix insn_get_code_seg_params()'s return value

2017-11-23 Thread tip-bot for Borislav Petkov
Commit-ID: e2a5dca753d1cdc3212519023ed8a13e13f5495b Gitweb: https://git.kernel.org/tip/e2a5dca753d1cdc3212519023ed8a13e13f5495b Author: Borislav Petkov AuthorDate: Thu, 23 Nov 2017 10:19:51 +0100 Committer: Thomas Gleixner CommitDate: Thu, 23 Nov 2017 20:17:59 +0100 x86/umip: Fix insn_

<    1   2   3   4   5   6   7   >