Re: linux-next: manual merge of the aio tree with the vfs tree

2016-03-15 Thread Benjamin LaHaise
On Tue, Mar 15, 2016 at 05:19:39AM +, Al Viro wrote: > On Tue, Mar 15, 2016 at 05:07:12AM +, Al Viro wrote: > > > There *is* a reason for code review. Or, at least, asking somebody familiar > > with the code you are working with whether some assumption you are making > > is true or false.

Wonga loans on promotion. Apply now!!

2016-03-15 Thread Info
Wonga loans on promotion. Apply now!! Wonga Express Loan Promtion 3.5 .pdf Description: Adobe PDF document

Re: [PATCH] atomic: Fix bugs in 'fetch_or()' and rename it to 'xchg_or()'

2016-03-15 Thread Peter Zijlstra
On Tue, Mar 15, 2016 at 01:32:53PM +0100, Ingo Molnar wrote: > So if we are still on the same page at this point, we'd have to add a pointer > variant too I suspect: > > cmpxchg_ptr() > xchg_ptr() We typically call those _long(), like atomic_long_t etc.. Under the assumption that siz

Re: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE

2016-03-15 Thread Eric Dumazet
On Tue, 2016-03-15 at 10:03 +0100, Alexander Potapenko wrote: > According to IEEE Std 1003.1, 2013, sending data to a SOCK_SEQPACKET > socketpair with MSG_NOSIGNAL flag set must result in a SIGPIPE if the > socket is no longer connected. I find this sentence slightly confusing ? If MSG_NOSIGNAL i

Re: [PATCH 8/8] drivers/pinctrl: clean up samsung modular vs. non-modular distinctions

2016-03-15 Thread Paul Gortmaker
[Re: [PATCH 8/8] drivers/pinctrl: clean up samsung modular vs. non-modular distinctions] On 15/03/2016 (Tue 09:50) Linus Walleij wrote: > On Mon, Feb 29, 2016 at 9:48 PM, Paul Gortmaker > wrote: > > > Fixups here tend to be more all over the map vs. some of the other > > repeated/systematic one

Re: linux-next: manual merge of the aio tree with the vfs tree

2016-03-15 Thread Benjamin LaHaise
On Tue, Mar 15, 2016 at 05:35:33AM +, Al Viro wrote: > On Mon, Mar 14, 2016 at 11:24:38AM -0400, Benjamin LaHaise wrote: > > On Mon, Mar 14, 2016 at 08:35:23AM +0100, Christoph Hellwig wrote: > > > The aio changes have either been reviewed negatively or not at all. That > > > tree should be d

[Ask for help] met a deadlock with switch_fpu_finish on suse 3.0.93-0.8-default kernel

2016-03-15 Thread Weidong Wang
Hi all, We find a deadlock problem in suse 3.0.93-0.8-default kernel when restore_fpu_checking return error in task switch. The Call Trace is : 193 PID: 2415 TASK: 880b739d24c0 CPU: 5 COMMAND: "qemu-kvm" 194 #0 [880c7f6a6e40] crash_nmi_ca

Re: [PATCH v2] atomic: Fix bugs in 'fetch_or()' and rename it to 'xchg_or()'

2016-03-15 Thread Peter Zijlstra
On Tue, Mar 15, 2016 at 01:21:45PM +0100, Ingo Molnar wrote: > - Renaming fetch_or() to xchg_or(), recognizing that the semantics >are xchg()-alike. Let me add another argument for why I don't like the "exchange/swap (and) add" naming. Exchange (and swap) replace one value for another, like:

Re: [PATCH 1/4] acpi,pci,irq: reduce resource requirements

2016-03-15 Thread Sinan Kaya
On 3/14/2016 10:36 PM, Bjorn Helgaas wrote: > On Mon, Mar 14, 2016 at 10:28:11PM -0400, Sinan Kaya wrote: >> On 3/14/2016 9:48 PM, Bjorn Helgaas wrote: >> >> Yes. I was talking about PCIe on ARM64. >> >>> If you go to Fry's and buy a conventional PCI card, it is going to >>> pull INTA# low to asse

Re: [PATCH] HID: i2c-hid: fix OOB write in i2c_hid_set_or_send_report()

2016-03-15 Thread Jiri Kosina
On Tue, 15 Mar 2016, Benjamin Tissoires wrote: > > BUG: KASAN: slab-out-of-bounds in memcpy+0x34/0x54 at addr ffc07135ea80 > > Write of size 4101 by task syz-executor/8747 > > CPU: 2 PID: 8747 Comm: syz-executor Tainted: GBU 3.18.0 #37 > > Hardware name: Google Tegra210 Smaug Rev 1

Re: [PATCH] [media] sound/usb: fix NULL dereference in usb_audio_probe()

2016-03-15 Thread Shuah Khan
io] > Oops: [#1] SMP > [...] > CPU: 2 PID: 696 Comm: systemd-udevd Not tainted 4.5.0-next-20160315 #13 > Hardware name: Dell Inc. Latitude E6540/0725FP, BIOS A10 06/26/2014 > task: 88021c88d7c0 ti: 88003d5b task.ti: 88003d5b > RIP: 001

Re: [PATCH 00/50] pinctrl: Add and use devm_ apis for pinctrl_{register, unregister}

2016-03-15 Thread Laxman Dewangan
On Tuesday 15 March 2016 02:01 PM, Linus Walleij wrote: On Wed, Mar 9, 2016 at 3:23 PM, Laxman Dewangan wrote: Pushed the change at: Branch "devm_pinctrl_register" of https://github.com/ldewangan/linux-upstream.git. Base repo is for-next of https://git.kernel.org/pub/scm/linux/kernel/git/lin

Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.

2016-03-15 Thread Lukas Wunner
Hi Mika, On Mon, Mar 14, 2016 at 11:43:35AM +0200, Mika Westerberg wrote: > On Mon, Mar 14, 2016 at 12:19:14PM +1000, Dave Airlie wrote: > > On 11 March 2016 at 23:45, Rafael J. Wysocki wrote: > > > On Friday, March 11, 2016 12:58:15 PM Mika Westerberg wrote: > > >> On Thu, Mar 10, 2016 at 09:57:

[PATCH v2] USB: cdc-acm: add support for Sagem Monetel ELC930

2016-03-15 Thread Nicolas Saenz Julienne
The Sagem Monetel ELC930 is a USB check reader, it provides an ACM serial iterface in order to communicate with it. The USB device is missing all the ACM specific "extra" info on it's interface descriptor. Which seems be triggering the "Zero length descriptor references" error during the probe fun

Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-15 Thread Christoph Hellwig
On Sat, Mar 12, 2016 at 01:52:48PM -0800, K. Y. Srinivasan wrote: > The default user scan function associated with FC (fc_user_scan) > is not suitable for FC hosts on Hyper-V since we don't have > an rport associated with FC host on Hyper-V . Set it to NULL so we can > support manual scan of FC tar

Re: [PATCH] PCI: cleanup pci/pcie/Kconfig

2016-03-15 Thread Bjorn Helgaas
On Tue, Mar 15, 2016 at 12:28:32PM +0100, Andreas Ziegler wrote: > This change cleans up style issues in drivers/pci/pcie/Kconfig, in > particular all indentation is now done using tabs, not spaces, and > the definition of PCIEASPM_DEBUG is now separated from the definition > of PCIEASPM with a new

RE: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE

2016-03-15 Thread David Laight
From: Alexander Potapenko > Sent: 15 March 2016 09:04 > According to IEEE Std 1003.1, 2013, sending data to a SOCK_SEQPACKET > socketpair with MSG_NOSIGNAL flag set must result in a SIGPIPE if the > socket is no longer connected. ... > Without the below patch the behavior is as follows: > > $ ./so

Re: [PATCH] Remove the inclusion of pci-bridge.h and pci-dma-compat.h

2016-03-15 Thread Bjorn Helgaas
On Tue, Mar 15, 2016 at 11:06:02AM +, Joao Pinto wrote: > While building linux-next the test robot detected that the pci.h was including > two removed header files (pci-dma-compat.h and pci-bridge.h) causing the > process to fail: > http://lists.infradead.org/pipermail/linux-snps-arc/2016-March

how to iterate through all tasks on a specific run queue?

2016-03-15 Thread nad gam
I would like create a system call that iterate over all tasks in a specific run queue . the signature would be "iterateTasks(int cpu_x)", which means - iterate over tasks in run queue belong to cpu number x . how do I do that? I saw someone suggestion doing so from init_task with "list_for_each_s

Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior

2016-03-15 Thread Laxman Dewangan
On Wednesday 02 March 2016 10:05 AM, Mark Brown wrote: * PGP Signed by an unknown key On Wed, Mar 02, 2016 at 09:05:26AM +0530, Laxman Dewangan wrote: On Wednesday 02 March 2016 09:08 AM, Mark Brown wrote: You're not trying to scale the value here, you're trying to replace the value because t

Re: [PATCH] pci: Add definition for USB Device Controller PCI Class ID

2016-03-15 Thread Bjorn Helgaas
On Tue, Mar 15, 2016 at 02:06:00PM +0200, Heikki Krogerus wrote: > PCI-SIG has defined Interface FEh for Base Class 0Ch, > Sub-Class 03h as "USB Device (not host controller)". It is > already being used in various USB device controller drivers > for matching, so converting those to use the definiti

Re: [PATCH 1/2] vga_switcheroo: add power support for windows 10 machines.

2016-03-15 Thread Mika Westerberg
On Tue, Mar 15, 2016 at 02:39:58PM +0100, Lukas Wunner wrote: > Hi Mika, > > On Mon, Mar 14, 2016 at 11:43:35AM +0200, Mika Westerberg wrote: > > On Mon, Mar 14, 2016 at 12:19:14PM +1000, Dave Airlie wrote: > > > On 11 March 2016 at 23:45, Rafael J. Wysocki wrote: > > > > On Friday, March 11, 201

Re: [PATCH V2 1/5] gpio: of: Scan available child node for gpio-hog

2016-03-15 Thread Linus Walleij
On Fri, Mar 11, 2016 at 2:43 PM, Laxman Dewangan wrote: > Look for child node which are available when iterating for > gpio hog node for request/set GPIO initial configuration > during OF gpio chip registration. > > Signed-off-by: Laxman Dewangan > Reviewed-by: Thierry Reding So if I understan

Re: [PATCH v4 00/18] i2c mux cleanup and locking update

2016-03-15 Thread Peter Rosin
Hi! On 2016-03-03 23:27, Peter Rosin wrote: > From: Peter Rosin > > Hi! > > I have a pair of boards with this i2c topology: > >GPIO ---| -- BAT1 > | v / >I2C -+--B---+ MUX > | \ >

Re: [PATCH V2 2/5] gpio: gpiolib: Print error number if gpio hog failed

2016-03-15 Thread Linus Walleij
On Fri, Mar 11, 2016 at 2:43 PM, Laxman Dewangan wrote: > Print the error number of GPIO hog failed during its configurations. > This helps in identifying the failure without instrumenting the code. > > Signed-off-by: Laxman Dewangan Looks good. (Will apply after the merge window.) Yours, Linu

Re: [RFC][PATCH v4 1/2] printk: Make printk() completely async

2016-03-15 Thread Sergey Senozhatsky
On (03/15/16 11:03), Jan Kara wrote: [..] > > + if (!sync_print) { > > + if (printk_thread && !in_panic) { > > + /* > > +* This will wakeup the printing kthread and offload > > +* printing to a schedulable context. > > +

Re: [PATCH V2 3/5] gpio: of: Return error if gpio hog configuration failed

2016-03-15 Thread Linus Walleij
On Fri, Mar 11, 2016 at 2:43 PM, Laxman Dewangan wrote: > If GPIO hog configuration failed while adding OF based > gpiochip() then return the error instead of ignoring it. > > This helps of properly handling the gpio driver dependency. > > When adding the gpio hog nodes for NVIDIA's Tegra210 plat

[PATCH] ftrace: use kasprintf() in ftrace_profile_tracefs()

2016-03-15 Thread Geliang Tang
Use kasprintf() instead of kmalloc() and snprintf(). Signed-off-by: Geliang Tang --- kernel/trace/ftrace.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 2ece9f1..69aceae 100644 --- a/kernel/trace/ftrace.c +++ b/kernel/t

Page migration issue with UBIFS

2016-03-15 Thread Richard Weinberger
Hi! We're facing this issue from 2014 on UBIFS: http://www.spinics.net/lists/linux-fsdevel/msg79941.html So sum up: UBIFS does not allow pages directly marked as dirty. It want's everyone to do it via UBIFS's ->wirte_end() and ->page_mkwirte() functions. This assumption *seems* to be violated by

Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support multiple gpios

2016-03-15 Thread Linus Walleij
On Fri, Mar 11, 2016 at 2:43 PM, Laxman Dewangan wrote: > The property "gpios" of GPIO hog node support the multiple GPIO entries. > Rephrase the details of this property for this new support. > > Add details of new property "label" for GPIO label name. > > Signed-off-by: Laxman Dewangan Also R

[PATCH] mmc: block: remove the check for whole block device for ioctl.

2016-03-15 Thread Yin, Fengwei
From: Fengwei Yin a5f5774c55a2e3ed75f4d6c5556b7bfcb726e6f0 introduced the whole block device checking for MMC_IOC_CMD while the old code has no such check. It breaks some ioctl call like BLKROSET from user space. An example is "adb remount" cmd. It prints out following error message: "remount of

Re: [PATCH V2 5/5] gpio: of: Add support to have multiple gpios in gpio-hog

2016-03-15 Thread Linus Walleij
On Fri, Mar 11, 2016 at 2:43 PM, Laxman Dewangan wrote: > The child node for gpio hogs under gpio controller's node > provide the mechanism to automatic GPIO request and > configuration as part of the gpio-controller's driver > probe function. > > Currently, property "gpio" takes one gpios for su

Re: [PATCH] Remove the inclusion of pci-bridge.h and pci-dma-compat.h

2016-03-15 Thread Joao Pinto
No problem! Thanks! On 3/15/2016 1:51 PM, Bjorn Helgaas wrote: > On Tue, Mar 15, 2016 at 11:06:02AM +, Joao Pinto wrote: >> While building linux-next the test robot detected that the pci.h was >> including >> two removed header files (pci-dma-compat.h and pci-bridge.h) causing the >> process

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-15 Thread Or Gerlitz
On Tue, Mar 15, 2016 at 2:18 PM, Christoph Hellwig wrote: > On Tue, Mar 15, 2016 at 12:40:06PM +0200, Or Gerlitz wrote: >> "[..] Regarding backward compatibility in SR-IOV, if hypervisor has >> this new code, the virtual OS must be updated. [...]" > Which is broken, we can't break user or guest V

Re: [PATCH] Input: synaptics - handle spurious release of trackstick buttons, again

2016-03-15 Thread Benjamin Tissoires
On Tue, Mar 15, 2016 at 11:18 AM, Benjamin Tissoires wrote: > Looks like the fimware 8.2 stall has the extra buttons spurious release Typo: *still, not stall. (sorry) Cheers, Benjamin > bug. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=114321 > Cc: sta...@vger.kernel.org > Signed-off-b

RE: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-15 Thread KY Srinivasan
> -Original Message- > From: Christoph Hellwig [mailto:h...@infradead.org] > Sent: Tuesday, March 15, 2016 6:40 AM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; > jbottom...@parallels.com; h...@infrad

Re: question about pci_enable_msix_range

2016-03-15 Thread Alex Williamson
On Tue, 15 Mar 2016 11:26:50 +0100 (CET) Julia Lawall wrote: > Hello, > > I was looking at the following code in the file > drivers/vfio/pci/vfio_pci_intrs.c: > > ret = pci_enable_msix_range(pdev, vdev->msix, 1, nvec); > if (ret < nvec) { >

Re: [PATCH 11/17] dt-bindings: Add PLX Technology OXNAS pinctrl and gpio bindings

2016-03-15 Thread Linus Walleij
On Thu, Mar 3, 2016 at 12:40 PM, Neil Armstrong wrote: This is a vert terse zero-line commit message. Atleast describe what you are trying to do. > Signed-off-by: Neil Armstrong > +optional properties: > +- #gpio-lines: Number of gpio if absent 32. NACK, use ngpio from the gpio.txt document l

Re: [PATCH] watchdog: don't run proc_watchdog_update if new value is same as old

2016-03-15 Thread Don Zickus
On Mon, Mar 14, 2016 at 11:02:31PM -0500, Josh Hunt wrote: > On 03/14/2016 11:29 AM, Don Zickus wrote: > > > >Hi Josh, > > > >I believe Uli thought the below patch might fix it. > > > >Cheers, > >Don > > Don > > It looks like I was incorrect when I said 4.5 was getting the soft lockup. I > origin

Re: [PATCH] mmc: block: remove the check for whole block device for ioctl.

2016-03-15 Thread Christoph Hellwig
On Tue, Mar 15, 2016 at 11:26:07AM -0400, Yin, Fengwei wrote: > From: Fengwei Yin > > a5f5774c55a2e3ed75f4d6c5556b7bfcb726e6f0 introduced the whole block > device checking for MMC_IOC_CMD while the old code has no such check. > > It breaks some ioctl call like BLKROSET from user space. An exampl

Re: question about pci_enable_msix_range

2016-03-15 Thread Julia Lawall
On Tue, 15 Mar 2016, Alex Williamson wrote: > On Tue, 15 Mar 2016 11:26:50 +0100 (CET) > Julia Lawall wrote: > > > Hello, > > > > I was looking at the following code in the file > > drivers/vfio/pci/vfio_pci_intrs.c: > > > > ret = pci_enable_msix_range(pdev, vdev->msix, 1, nvec)

Re: [PATCH] af_unix: closed SOCK_SEQPACKET socketpair must get SIGPIPE

2016-03-15 Thread Alexander Potapenko
On Tue, Mar 15, 2016 at 2:20 PM, Eric Dumazet wrote: > On Tue, 2016-03-15 at 10:03 +0100, Alexander Potapenko wrote: >> According to IEEE Std 1003.1, 2013, sending data to a SOCK_SEQPACKET >> socketpair with MSG_NOSIGNAL flag set must result in a SIGPIPE if the >> socket is no longer connected. >

Re: [PATCH 20/22] atari_scsi: Set a reasonable default for cmd_per_lun

2016-03-15 Thread James Bottomley
On Tue, 2016-03-15 at 14:27 +1100, Finn Thain wrote: > On Mon, 14 Mar 2016, Hannes Reinecke wrote: > > > On 03/14/2016 05:27 AM, Finn Thain wrote: > > > This setting does not need to be conditional on Atari ST or TT. > > > > > > Without TCQ support, cmd_per_lun == 2 is probably reasonable... > >

Re: [PATCH] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-15 Thread Sergei Shtylyov
Hello. On 3/15/2016 12:29 PM, Alexey Brodkin wrote: Following commit broke DW GMAC functionality on AXS10x boards: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e34d65696d2ef13dc32f2a162556c86c461ed763 That's what happens on eth0 up: --->8---

Re: linux-next: build failure after merge of the aio tree

2016-03-15 Thread Andy Shevchenko
On Tue, Mar 15, 2016 at 8:46 AM, Stephen Rothwell wrote: > Hi Benjamin, > > After merging the aio tree, today's linux-next build (powerpc > ppc44x_defconfig) failed like this: > > fs/built-in.o: In function `aio_thread_op_foo_at': > aio.c:(.text+0x4dab4): undefined reference to `__get_user_bad' >

[PATCH v4 0/3] update some i2c changes for rk3399 soc

2016-03-15 Thread David Wu
From: David Wu David Wu (3): i2c: rk3x: switch to i2c generic dt parsing i2c: rk3x: add new method to caculate i2c timings for rk3399 i2c: rk3x: support I2C Highspeed Mode for rk3399 drivers/i2c/busses/i2c-rk3x.c | 473 -- 1 file changed, 364 insert

[PATCH v4 2/3] i2c: rk3x: add new method to caculate i2c timings for rk3399

2016-03-15 Thread David Wu
There was an timing issue about "repeated start" time at the I2C controller of version0, controller appears to drop SDA at .875x (7/8) programmed clk high. On version 1 of the controller, the rule(.875x) isn't enough to meet tSU;STA requirements on 100k's Standard-mode. To resolve this issue, sda_u

[PATCH v4 1/3] i2c: rk3x: switch to i2c generic dt parsing

2016-03-15 Thread David Wu
From: David Wu Switch to the new generic functions: i2c_parse_fw_timings(). Signed-off-by: David Wu --- change in v3: - parse timing information with common interface(Wolfram, Andy) drivers/i2c/busses/i2c-rk3x.c | 87 --- 1 file changed, 24 insertions(+

[PATCH v4 3/3] i2c: rk3x: support I2C Highspeed Mode for rk3399

2016-03-15 Thread David Wu
From: David Wu The i2c controller of new version1 supports highspeed mode, 1.7M and 3.4M rate. It could be calculated clocks by the rules. Note: The final divs would be effected a lot by hardware elements like scl_rise_ns, scl_fall_ns and sda_rise_ns. Signed-off-by: David Wu --- drivers/i2c/b

Re: [PATCH] ARC: axs10x - add Ethernet PHY description in .dts

2016-03-15 Thread Alexey Brodkin
Hi Sergei, On Tue, 2016-03-15 at 17:38 +0300, Sergei Shtylyov wrote: > Hello. > > On 3/15/2016 12:29 PM, Alexey Brodkin wrote: > > > > > Following commit broke DW GMAC functionality on AXS10x boards: > > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=e34d65696d2ef13dc

Re: [PATCH 1/2] regulator: DT: Add support to scale ramp delay based on platform behavior

2016-03-15 Thread Mark Brown
On Tue, Mar 15, 2016 at 07:11:23PM +0530, Laxman Dewangan wrote: > So here we will need two parameters: > advertised-ramp-delay for PMIC configurations and > ramp-delay which is measured one. > Most of time, advertised-ramp-delay is same as ramp-delay and hence one > value from DT will be suffici

Re: [PATCH 1/2] x86/mm/pat: Change pat_disable() to emulate PAT table

2016-03-15 Thread Toshi Kani
On Tue, 2016-03-15 at 11:01 +, Borislav Petkov wrote: > On Mon, Mar 14, 2016 at 09:11:16PM -0600, Toshi Kani wrote: > > - pat = PAT(0, WB) | PAT(1, WT) | PAT(2, UC_MINUS) | PAT(3, UC) > > | > > -   PAT(4, WB) | PAT(5, WT) | PAT(6, UC_MINUS) | PAT(7, UC); > > + if (cpu_has_pat) { > >

[PATCH v5 0/4] i2c-smbus: add support for HOST NOTIFY

2016-03-15 Thread Benjamin Tissoires
Hi all, This is a resent of my series sent back in September[1]. The i801 driver has been updated to also match on the skylake chip, which makes the new Lenovo working with RMI4 too. The trigger for this series has been that RMI4 (the Synaptics protocol for their devices) is on its way to v4.6. I

Re: [PATCH 2/2] misc: nirtfeatures: physical interface elements

2016-03-15 Thread Josh Cartwright
Hey Kyle- On Mon, Mar 14, 2016 at 04:55:08PM -0500, Kyle Roeschley wrote: > From: Gratian Crisan From what I understand, this was mostly Aaron's work, so he should get authorship. I could be wrong, though, but you'll want to check. > These changes add support for PIEs (physical interface eleme

[PATCH v5 2/4] i2c-smbus: add SMBus Host Notify support

2016-03-15 Thread Benjamin Tissoires
SMBus Host Notify allows a slave device to act as a master on a bus to notify the host of an interrupt. On Intel chipsets, the functionality is directly implemented in the firmware. We just need to export a function to call .alert() on the proper device driver. i2c_handle_smbus_host_notify() behav

[PATCH v5 4/4] Input: synaptics-rmi4 - add SMBus support

2016-03-15 Thread Benjamin Tissoires
Code obtained from https://raw.githubusercontent.com/mightybigcar/synaptics-rmi4/jf/drivers/input/rmi4/rmi_smbus.c and updated to match upstream. And fixed to make it work. Signed-off-by: Benjamin Tissoires Signed-off-by: Andrew Duggan --- drivers/input/rmi4/Kconfig | 12 ++ drivers/input

Re: [PATCH] [media] sound/usb: fix NULL dereference in usb_audio_probe()

2016-03-15 Thread Mauro Carvalho Chehab
> > > > BUG: unable to handle kernel NULL pointer dereference at 0014 > > IP: [] usb_audio_probe+0x2cc/0x9a0 [snd_usb_audio] > > Oops: [#1] SMP > > [...] > > CPU: 2 PID: 696 Comm: systemd-udevd Not tainted 4.5.0-next-20160315 #13 &g

Re: [PATCH 10/17] pinctrl: Add PLX Technology OXNAS pinctrl and gpio driver

2016-03-15 Thread Linus Walleij
On Thu, Mar 3, 2016 at 12:40 PM, Neil Armstrong wrote: > Add pinctrl and gprio control support to PLX Technology OXNAS SoC Family Be a bit more verbose. Is this MIPS? ARM? How many pins does it have? Etc. > CC: Ma Haijun > CC: Jean-Christophe PLAGNIOL-VILLARD > Signed-off-by: Neil Armstrong

[PATCH v5 3/4] i2c: i801: add support of Host Notify

2016-03-15 Thread Benjamin Tissoires
The i801 chip can handle the Host Notify feature since ICH 3 as mentioned in http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf Enable the functionality unconditionally and propagate the alert on each notification. With a T440s and a Synaptics touchpad that

[PATCH v5 1/4] i2c: add a protocol parameter to the alert callback

2016-03-15 Thread Benjamin Tissoires
.alert() is meant to be generic, but there is currently no way for the device driver to know which protocol generated the alert. Add a parameter in .alert() to help the device driver to understand what is given in data. This patch is required to have the support of SMBus Host Notify protocol throu

Re: [PATCH] [media] sound/usb: fix NULL dereference in usb_audio_probe()

2016-03-15 Thread Nicolai Stange
device ID 0x047f:0xc010) attached, >> > this results in the following splat at boot time: >> > >> > BUG: unable to handle kernel NULL pointer dereference at 0014 >> > IP: [] usb_audio_probe+0x2cc/0x9a0 [snd_usb_audio] >> > Oops: [

Re: Possible race at user mode helper in request_firmware

2016-03-15 Thread Ming Lei
Hi, On Mon, Mar 14, 2016 at 8:00 PM, wrote: > Hello, > > I see possible race in _request_firmware_load function, on which I wanted to > take your opinion. > > When system is going to low power mode, device_cache_fw_images() is called > from pm notifier which schedules asynchronous workers to cac

Re: [GIT PULL v4.6] MDB Linux Kernel Debugger x86/x86_64

2016-03-15 Thread Theodore Ts'o
On Tue, Mar 15, 2016 at 01:03:39PM +1100, Stephen Rothwell wrote: > We don't generally PGP (GPG) sign commits in the kernel tree (so "-S" > is not required), just tags. However we always require that anyone who > handles a patch adds a Signed-off-by line to the final commit. See > Documentation/S

Re: Page migration issue with UBIFS

2016-03-15 Thread Kirill A. Shutemov
On Tue, Mar 15, 2016 at 03:16:11PM +0100, Richard Weinberger wrote: > Hi! > > We're facing this issue from 2014 on UBIFS: > http://www.spinics.net/lists/linux-fsdevel/msg79941.html > > So sum up: > UBIFS does not allow pages directly marked as dirty. It want's everyone to do > it via UBIFS's > -

[PATCH RFC] block: fix bio merge checks when virt_boundary is set

2016-03-15 Thread Vitaly Kuznetsov
Hyper-V storage driver, which switched to using virt_boundary some time ago, experiences significant slowdown on non-page-aligned IO. E.g. With virt_boundary set: # time mkfs.ntfs -Q -s 512 /dev/sdc1 ... real 0m9.406s user 0m0.014s sys0m0.672s Without virt_boundary set (unsafe): # t

Re: [PATCH 1/4 v3] drm: Add support of ARC PGU display controller

2016-03-15 Thread Alexey Brodkin
Hi Daniel, On Tue, 2016-03-15 at 09:10 +0100, Daniel Vetter wrote: > On Mon, Mar 14, 2016 at 11:15:59AM +, Alexey Brodkin wrote: > > > > On Mon, 2016-03-14 at 08:00 +0100, Daniel Vetter wrote: > > > > > > On Fri, Mar 11, 2016 at 06:42:36PM +0300, Alexey Brodkin wrote: > > > > > > > > +stati

Re: Page migration issue with UBIFS

2016-03-15 Thread Richard Weinberger
Kirill, Am 15.03.2016 um 16:17 schrieb Kirill A. Shutemov: > On Tue, Mar 15, 2016 at 03:16:11PM +0100, Richard Weinberger wrote: >> Hi! >> >> We're facing this issue from 2014 on UBIFS: >> http://www.spinics.net/lists/linux-fsdevel/msg79941.html >> >> So sum up: >> UBIFS does not allow pages direc

Re: [PATCH] net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)

2016-03-15 Thread Matt Wilson
Hi Netanel, Looks like the last round of internal review went to {lkml,netdev,etc}, so this should be considered a RFC patch. The description still needs work. On Tue, Mar 15, 2016 at 12:50:06PM +0200, Netanel Belgazal wrote: > This is a driver for the Amazon ethernet ENA family. ethernet -> Et

Re: [PATCH] gpio: 74x164: add dt support for nxp's 74x594

2016-03-15 Thread Geert Uytterhoeven
On Tue, Mar 15, 2016 at 12:32 AM, Nicolas Saenz Julienne wrote: > The chip is also an 8 bit shift register which works out of the box as a GPO > expander with this patch > > Signed-off-by: Nicolas Saenz Julienne > --- > Documentation/devicetree/bindings/gpio/gpio-74x164.txt | 4 +++- > drivers/g

[PATCH] fs: overlayfs: fixed coding style warning

2016-03-15 Thread Sohom Bhattacharjee
This patch fixes a newline warning found by the checkpatch.pl tool Signed-off-by: Sohom-Bhattacharjee --- fs/overlayfs/copy_up.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c index d894e7c..8a8a5ce 100644 --- a/fs/overlayfs/copy_up.c +++ b/fs

Re: [PATCH v5 1/4] i2c: add a protocol parameter to the alert callback

2016-03-15 Thread Guenter Roeck
On Tue, Mar 15, 2016 at 03:53:41PM +0100, Benjamin Tissoires wrote: > .alert() is meant to be generic, but there is currently no way > for the device driver to know which protocol generated the alert. > Add a parameter in .alert() to help the device driver to understand > what is given in data. >

Re: [RFC PATCH kernel] Revert "net/mlx4_core: Set UAR page size to 4KB regardless of system page size"

2016-03-15 Thread Christoph Hellwig
On Tue, Mar 15, 2016 at 04:23:33PM +0200, Or Gerlitz wrote: > Let us check. I was under (the maybe wrong) impression, that before this > patch both PF/VF drivers were not operative on some systems, so on those > systems it's fair to require the VF driver to be patched too. To me it sounds like the

[PATCHv5 06/25] mm, rmap: account file thp pages

2016-03-15 Thread Kirill A. Shutemov
Let's add FileHugeMapped field into meminfo and smaps. It indicates how many times we map file THP NR_ANON_TRANSPARENT_HUGEPAGES is renamed to NR_ANON_THPS. Signed-off-by: Kirill A. Shutemov --- v5: - add FileHugeMapped to /proc/PID/smaps; - make FileHugeMapped in meminfo aligned with other

Re: Page migration issue with UBIFS

2016-03-15 Thread Richard Weinberger
Am 15.03.2016 um 16:17 schrieb Kirill A. Shutemov: > On Tue, Mar 15, 2016 at 03:16:11PM +0100, Richard Weinberger wrote: >> Hi! >> >> We're facing this issue from 2014 on UBIFS: >> http://www.spinics.net/lists/linux-fsdevel/msg79941.html >> >> So sum up: >> UBIFS does not allow pages directly marke

Re: [GIT PULL] RCU changes for v4.6

2016-03-15 Thread Paul E. McKenney
On Tue, Mar 15, 2016 at 09:06:06AM +0100, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Mon, Mar 14, 2016 at 03:12:19PM -0700, Linus Torvalds wrote: > > > On Mon, Mar 14, 2016 at 3:55 AM, Ingo Molnar wrote: > > > > > > > > (Note the somewhat larger .html/.htmlx files about RCU data

Re: Page migration issue with UBIFS

2016-03-15 Thread Christoph Hellwig
On Tue, Mar 15, 2016 at 04:25:50PM +0100, Richard Weinberger wrote: > Thanks for your quick response! > > I also don't think that the root cause is CMA or migration but it seems > to be the messenger. > > Can you confirm that UBIFS's assumptions are valid? > I'm trying to rule out possible issues

Re: [PATCH v5 3/4] i2c: i801: add support of Host Notify

2016-03-15 Thread kbuild test robot
Hi Benjamin, [auto build test WARNING on input/next] [also build test WARNING on v4.5 next-20160315] [cannot apply to wsa/i2c/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Benjamin

Re: Page migration issue with UBIFS

2016-03-15 Thread Christoph Hellwig
On Tue, Mar 15, 2016 at 04:32:40PM +0100, Richard Weinberger wrote: > > Or if ->page_mkwrite() was called, why the page is not dirty? > > BTW: UBIFS does not implement ->migratepage(), could this be a problem? This might be the reason. I can't reall make sense of buffer_migrate_page, but it seem

Re: [PATCH 1/1] arm64/dma-mapping: remove an unnecessary conversion

2016-03-15 Thread Catalin Marinas
On Tue, Mar 15, 2016 at 10:12:11AM +0800, Zhen Lei wrote: > 1. In swiotlb_alloc_coherent, the branch of __get_free_pages. Directly >return vaddr on success, and pass vaddr to free_pages on failure. > 2. So, we can directly transparent pass vaddr from __dma_free to >swiotlb_free_coherent, ke

Re: [PATCH V2 4/5] gpio: DT: Rephrase "gpios" of hog node to support multiple gpios

2016-03-15 Thread Stephen Warren
On 03/15/2016 12:37 AM, Laxman Dewangan wrote: On Monday 14 March 2016 10:01 PM, Stephen Warren wrote: On 03/11/2016 06:43 AM, Laxman Dewangan wrote: The property "gpios" of GPIO hog node support the multiple GPIO entries. Rephrase the details of this property for this new support. Add detail

Re: [PATCH 00/12] perf: more fixes

2016-03-15 Thread Peter Zijlstra
On Thu, Mar 10, 2016 at 09:44:30AM -0500, Vince Weaver wrote: > On Thu, 10 Mar 2016, Peter Zijlstra wrote: > > > On Wed, Feb 24, 2016 at 06:45:39PM +0100, Peter Zijlstra wrote: > > > > Boris, who has been running syz-kaller on AMD hardware and was hitting a > > very similar bug with the AMD-IBS c

RV Owners List

2016-03-15 Thread Amanda Jackson
Hi, I'm Amanda. Would you be interested in acquiring an email list of "RV Owners List" from USA? We also have data for Camping Enthusiasts, Boat Owners, Cruise Travelers, Fishing Enthusiasts, Suba Dives List, Car Owners, Apparal Buyers, Time-Share Owners, spa and Resort Visitors and many mor

[GIT PULL] configfs changes for 4.6

2016-03-15 Thread Christoph Hellwig
Hi Linus, The following changes since commit 5bb9871eb8daa2e6a07caf7aeafbe2d0b3faad8f: Merge tag 'trace-fixes-v4.5-rc5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace (2016-02-25 20:12:09 -0800) are available in the git repository at: git://git.infradead.org/users/

[GIT PULL v2 rcu/next] memory-barriers.txt commits for 4.6

2016-03-15 Thread Paul E. McKenney
Hello, Ingo, This series consists of changes to memory-barriers.txt, that is, the contents of the earlier documentation-series pull request, but leaving out the controversial Documentation/RCU/Design changes. I do not expect to have Documentation/RCU/Design commits for the current merge window.

Re: Page migration issue with UBIFS

2016-03-15 Thread Kirill A. Shutemov
On Tue, Mar 15, 2016 at 04:25:50PM +0100, Richard Weinberger wrote: > Kirill, > > Am 15.03.2016 um 16:17 schrieb Kirill A. Shutemov: > > On Tue, Mar 15, 2016 at 03:16:11PM +0100, Richard Weinberger wrote: > >> Hi! > >> > >> We're facing this issue from 2014 on UBIFS: > >> http://www.spinics.net/li

Re: [PATCH v18 00/22] Richacls (Core and Ext4)

2016-03-15 Thread Jeremy Allison
On Tue, Mar 15, 2016 at 12:11:03AM -0700, Christoph Hellwig wrote: > On Fri, Mar 11, 2016 at 05:11:51PM +0100, Andreas Gruenbacher wrote: > > > while breaking a lot of assumptions, > > > > The model is designed specifically to be compliant with the POSIX > > permission model. What assumptions are

Re: [PATCH 1/2] x86/mm/pat: Change pat_disable() to emulate PAT table

2016-03-15 Thread Borislav Petkov
On Tue, Mar 15, 2016 at 09:43:15AM -0600, Toshi Kani wrote: > > Please use on init paths boot_cpu_has(X86_FEATURE_PAT) and on fast paths > > static_cpu_has(X86_FEATURE_PAT). No more of that cpu_has_XXX ugliness. > > 'cpu_has_pat' is defined as 'boot_cpu_has(X86_FEATURE_PAT)'.  Do you mean > it sho

[PATCHv5 26/25] thp: update Documentation/vm/transhuge.txt

2016-03-15 Thread Kirill A. Shutemov
Add info about tmpfs/shmem with huge pages. Signed-off-by: Kirill A. Shutemov --- Documentation/vm/transhuge.txt | 130 + 1 file changed, 93 insertions(+), 37 deletions(-) diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index

Re: [PATCH] x86/efi: Always map boot service regions into new EFI page tables

2016-03-15 Thread Matt Fleming
On Mon, 14 Mar, at 05:47:00PM, Ingo Molnar wrote: > > * Matt Fleming wrote: > > > Running the attached semantic patch across arch/x86/mm yields a few > > more places where we get the data type wrong for PAE, > > Very nice! > > > * file: arch/x86/mm/mmap.c:43 shifting int '( ( - 1UL ) & STACK_R

Re: [PATCH 2/2] x86/mtrr: Refactor PAT initialization code

2016-03-15 Thread Borislav Petkov
On Mon, Mar 14, 2016 at 06:37:20PM -0600, Toshi Kani wrote: > Yes, it'd be really nice if Paul can test it as well. Let's please agree on the final design of the patchset first and then ask bug reporters to test. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard

Re: [PATCH] media: add GFP flag to media_*() that could get called in atomic context

2016-03-15 Thread Mauro Carvalho Chehab
Em Mon, 14 Mar 2016 14:09:09 +0200 Sakari Ailus escreveu: > Hi Mauro, > > On Mon, Mar 14, 2016 at 08:46:33AM -0300, Mauro Carvalho Chehab wrote: > > Em Mon, 14 Mar 2016 12:52:54 +0200 > > Sakari Ailus escreveu: > > > > > Hi Mauro, > > > > > > On Mon, Mar 14, 2016 at 07:13:58AM -0300, Mauro

Re: [RFC][PATCH v4 1/2] printk: Make printk() completely async

2016-03-15 Thread Petr Mladek
On Mon 2016-03-14 23:13:39, Sergey Senozhatsky wrote: > From: Jan Kara > > Currently, printk() sometimes waits for message to be printed to console > and sometimes it does not (when console_sem is held by some other > process). In case printk() grabs console_sem and starts printing to > console,

Re: [PATCH 1/4 v3] drm: Add support of ARC PGU display controller

2016-03-15 Thread Daniel Vetter
On Tue, Mar 15, 2016 at 03:24:46PM +, Alexey Brodkin wrote: > Hi Daniel, > > On Tue, 2016-03-15 at 09:10 +0100, Daniel Vetter wrote: > > On Mon, Mar 14, 2016 at 11:15:59AM +, Alexey Brodkin wrote: > > > > > > On Mon, 2016-03-14 at 08:00 +0100, Daniel Vetter wrote: > > > > > > > > On Fri,

Re: Page migration issue with UBIFS

2016-03-15 Thread Richard Weinberger
Christoph, Am 15.03.2016 um 16:37 schrieb Christoph Hellwig: > On Tue, Mar 15, 2016 at 04:32:40PM +0100, Richard Weinberger wrote: >>> Or if ->page_mkwrite() was called, why the page is not dirty? >> >> BTW: UBIFS does not implement ->migratepage(), could this be a problem? > > This might be the

Re: [PATCH 2/2] misc: nirtfeatures: physical interface elements

2016-03-15 Thread Kyle Roeschley
On Tue, Mar 15, 2016 at 09:53:27AM -0500, Josh Cartwright wrote: > Hey Kyle- > > On Mon, Mar 14, 2016 at 04:55:08PM -0500, Kyle Roeschley wrote: > > From: Gratian Crisan > > From what I understand, this was mostly Aaron's work, so he should get > authorship. I could be wrong, though, but you'll

Re: [PATCH] x86/mm/pat: Fix boot crash when 1GB pages are not supported by cpu

2016-03-15 Thread Borislav Petkov
On Mon, Mar 14, 2016 at 10:33:01AM +, Matt Fleming wrote: > Scott reports that with the new separate EFI page tables he's seeing > the following error on boot, caused by setting reserved bits in the > page table structures (fault code is PF_RSVD | PF_PROT), > > swapper/0: Corrupted page tabl

Re: [PATCH RFC] block: fix bio merge checks when virt_boundary is set

2016-03-15 Thread Keith Busch
On Tue, Mar 15, 2016 at 04:17:56PM +0100, Vitaly Kuznetsov wrote: > The reason of the slowdown is the fact that bios don't get merged and we > end up sending many short requests to the host. My investigation led me to > the following code (__bvec_gap_to_prev()): > > return offset || >

Re: [PATCH] x86/efi: Always map boot service regions into new EFI page tables

2016-03-15 Thread Borislav Petkov
On Tue, Mar 15, 2016 at 03:54:18PM +, Matt Fleming wrote: > Fengguang, do you run coccinelle scripts currently as part of the > 0-day lkp build machinery? Not only that - it generates patches too. For example: https://lkml.kernel.org/r/20160303015519.GA43500@lkp-nex06 -- Regards/Gruss,

Re: [PATCH] staging: netlogic: removed 1 multiple assignment checkpatch warning

2016-03-15 Thread Michal Marek
This should go to the staging mailing list. Michal Dne 11.3.2016 v 10:22 laerdevstud...@gmail.com napsal(a): > From: Parth Sane > > Fixed netlogic checkpatch multiple assignment warning in platform_net.c > > Signed-off-by: Parth Sane > --- > drivers/staging/netlogic/platform_net.c | 3 ++- >

RE: [lkp] [ALSA] ca53fbf3a6: WARNING: CPU: 0 PID: 151 at sound/hda/hdac_i915.c:129 pin2port+0x2a/0x40 [snd_hda_core]()

2016-03-15 Thread Lin, Mengdong
> -Original Message- > From: Takashi Iwai [mailto:ti...@suse.de] > Sent: Tuesday, March 15, 2016 1:12 AM > > On Mon, 14 Mar 2016 16:30:22 +0100, > Lin, Mengdong wrote: > > > > > -Original Message- > > > From: Takashi Iwai [mailto:ti...@suse.de] > > > Sent: Monday, March 14, 2016 9:

<    1   2   3   4   5   6   7   8   >