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

2016-03-15 Thread Alexander Potapenko
On Tue, Mar 15, 2016 at 2:46 PM, David Laight wrote: > 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. > ... >>

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 16:47 +0100, Borislav Petkov wrote: > 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

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

2016-03-15 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 2:32 AM, Ingo Molnar wrote: > > I can see two other problems with it as well: > > 1) 'ptr' may get evaluated multiple times as well, not just 'mask'. Right you are. > 2) its naming sucks. "fetch_or()" does not really signal that it's a > fundamentally atomic operati

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

2016-03-15 Thread Sudip Mukherjee
don't use __get_user() for 64 bit values") > > This is due to a bug in the powerpc __get_user_check() macro (the return > value is defined to be "unsigned long" which is only 32 bits on a 32 > bit platform). m68k allmodconfig and all defs of m32r fails while building next-20160315. regards sudip

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

2016-03-15 Thread Benjamin LaHaise
1 ("aio: add support for async openat()") > > > > despite commit > > > > d2f7a973e11e ("aio: don't use __get_user() for 64 bit values") > > > > This is due to a bug in the powerpc __get_user_check() macro (the return > > valu

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

2016-03-15 Thread Julia Lawall
On Tue, 15 Mar 2016, Matt Fleming wrote: > 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! > > > > > * fil

Re: [PATCH] nohz: Change tick_dep_mask from 'unsigned long' to 'unsigned int'

2016-03-15 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 5:15 AM, Ingo Molnar wrote: > > Hm, so the problem I did not consider is the following: > > triton:~/tip> git grep tick_dep_mask kernel | grep _bit > kernel/time/tick-sched.c: clear_bit(bit, &ts->tick_dep_mask); > kernel/time/tick-sched.c: clear_bit(bit, &tsk

Re: [PATCH] cred/userns: define current_user_ns() as a function

2016-03-15 Thread Serge E. Hallyn
On Mon, Mar 14, 2016 at 10:47:33PM +0100, Arnd Bergmann wrote: > The current_user_ns() macro currently returns &init_user_ns when > user namespaces are disabled, and that causes several warnings > when building with gcc-6.0 in code that compares the result of > the macro to &init_user_ns itself: >

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 11:11:23AM -0600, Toshi Kani wrote: > While cpu_has_pat is the same as boot_cpu_has(X86_FEATURE_PAT), cpu_has_XXX > should not be used.  So, this code needs to be changed to use > boot_cpu_has(X86_FEATURE_PAT) directly. > > Is this right? Yes. -- Regards/Gruss, Boris

[GIT PULL] Score: Fix the check condition of get_sigframe

2016-03-15 Thread Lennox Wu
Hi Linus, Please pull the patch issued by Stas Sergeev for a signal issue. The following changes since commit 67944024c1cdd897e49a09b0d6af3ea38d1388ca: Merge tag 'sound-4.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2016-03-05 12:35:48 -0800) are available in the git

[PATCH] iommu/vt-d: Ratelimit fault handler

2016-03-15 Thread Alex Williamson
Fault rates can easily overwhelm the console and make the system unresponsive. Ratelimit to allow an opportunity for maintenance. Signed-off-by: Alex Williamson --- drivers/iommu/dmar.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/drivers/

Re: [PATCH] f2fs: support access control via key management

2016-03-15 Thread Jaegeuk Kim
Hello, On Tue, Mar 15, 2016 at 12:24:22AM -0700, Christoph Hellwig wrote: > On Wed, Mar 09, 2016 at 04:52:48PM -0800, Jaegeuk Kim wrote: > > Through this patch, user can assign its key into a specific normal files. > > Then, other users who do not have that key cannot open the files. > > Later, ow

Re: [PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-15 Thread Mark Brown
On Mon, Feb 29, 2016 at 11:22:12PM +0900, Mark Brown wrote: > On Mon, Jan 04, 2016 at 11:04:26AM +0800, Baolin Wang wrote: I see Felipe is no longer at TI so his e-mail was bouncing - let's resend this with his kernel.org address: > > Currently the Linux kernel does not provide any standard integ

Re: Fix suspicious RCU usage in msr tracing.

2016-03-15 Thread Andi Kleen
> Back in January, Andi suggested swapping the order in which > we ack the APIC irq, so it too is protected by rcu. > There was no follow-up, and it seems to work for me. > > Cc: Andi Kleen Reviewed-by: Andi Kleen -Andi > Signed-off-by: Dave Jones > > diff --git a/arch/x86/include/asm/apic.

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

2016-03-15 Thread Arnd Bergmann
On Tuesday 15 March 2016 16:38:51 Andy Shevchenko wrote: > 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_fo

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

2016-03-15 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 8:33 AM, Paul E. McKenney wrote: > > Good point! I will send a pull of the documentation commits that do not > involve Documentation/RCU/Design. Note that I have no objections what-so-ever with the html in the Design doc directory: I think using html and svg's to do the b

[PATCH 01/04] iommu/ipmmu-vmsa: 32-bit ARM may have CONFIG_IOMMU_DMA=y

2016-03-15 Thread Magnus Damm
From: Magnus Damm Instead of assuming that CONFIG_ARM=y also means CONFIG_IOMMU_DMA=n, convert the #ifdefs to take CONFIG_IOMMU_DMA into consideration so 32-bit ARM can make use of CONFIG_IOMMU_DMA=y as well once those bits are in place. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa

[PATCH 00/04] iommu/ipmmu-vmsa: IPMMU CONFIG_IOMMU_DMA update

2016-03-15 Thread Magnus Damm
series based on code earlier included in the series below but has been reworked to also fit on 32-bit ARM: [PATCH/RFC 00/10] iommu/ipmmu-vmsa: Experimental r8a7795 support Signed-off-by: Magnus Damm --- Built on top of next-20160315 Depends on [PATCH v2 00/04] iommu/ipmmu-vmsa: IPMMU multi

[PATCH 02/04] iommu/ipmmu-vmsa: Break out utlb parsing code

2016-03-15 Thread Magnus Damm
From: Magnus Damm Break out the utlb parsing code and dev_data allocation into a separate function. This is preparation for future code sharing. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa.c | 125 1 file changed, 70 insertions(+), 55

[PATCH 03/04] iommu/ipmmu-vmsa: Break out domain allocation code

2016-03-15 Thread Magnus Damm
From: Magnus Damm Break out the domain allocation code into a separate function. This is preparation for future code sharing. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) --- 0014/drivers/iommu/ipmmu-vmsa.c ++

[PATCH 04/04] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-03-15 Thread Magnus Damm
From: Magnus Damm Introduce a new set of iommu_ops suitable for 64-bit ARM as well as 32-bit ARM when CONFIG_IOMMU_DMA=y. The ->of_xlate() callback is needed by the code exported by of_iommu.h and it is wrapped in #ifdefs to also compile of x86_64. Signed-off-by: Magnus Damm --- drivers/iommu

Re: [PATCH V2 2/2] mailbox: Introduce TI message manager driver

2016-03-15 Thread Nishanth Menon
On Tue, Mar 15, 2016 at 12:31 AM, Jassi Brar wrote: > On Tue, Mar 8, 2016 at 8:07 PM, Nishanth Menon wrote: >> Jassi, >> >> On Tue, Mar 8, 2016 at 1:10 AM, Jassi Brar wrote: >>> On Tue, Mar 8, 2016 at 2:18 AM, Nishanth Menon wrote: On 03/07/2016 12:31 PM, Jassi Brar wrote: > On Fri, Ma

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

2016-03-15 Thread Frederic Weisbecker
Thanks a lot for fixing this! Some comments below: On Tue, Mar 15, 2016 at 01:21:45PM +0100, Ingo Molnar wrote: > Linus noticed a couple of problems with the fetch_or() implementation > introduced > by 5fd7a09cfb8c ("atomic: Export fetch_or()"): > > - Sloppy macro implementation: 'mask' and 'p

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

2016-03-15 Thread Antti Palosaari
On 03/15/2016 04:09 PM, Peter Rosin wrote: The series will be posted again for review. This is just a heads up. v5 compared to v4: - Rebase on top of v4.5-rc7. - A new patch making me maintainer of i2c muxes (also sent separately). - A new file Documentation/i2c/i2c-topology that describes vari

Re: [PART1 RFC v2 05/10] KVM: x86: Detect and Initialize AVIC support

2016-03-15 Thread Suravee Suthikulpanit
Hi On 03/07/2016 11:41 PM, Paolo Bonzini wrote: On 04/03/2016 21:46, Suravee Suthikulpanit wrote: > [] +/* Note: This structure is per VM */ +struct svm_vm_data { + atomic_t count; + u32 ldr_mode; + u32 avic_max_vcpu_id; + u32 avic_tag; + + struct page *avic_l

Re: [PATCH] iommu/vt-d: Ratelimit fault handler

2016-03-15 Thread Joe Perches
On Tue, 2016-03-15 at 10:35 -0600, Alex Williamson wrote: > Fault rates can easily overwhelm the console and make the system > unresponsive.  Ratelimit to allow an opportunity for maintenance. A few suggestions: o Use a single ratelimit state. o The multiple lines output are unnecessary and hard

Re: [PATCH v2 4/5] mmc: davinci: don't use dma platform resources

2016-03-15 Thread David Lechner
On 03/15/2016 03:54 AM, Peter Ujfalusi wrote: On 03/15/16 00:54, David Lechner wrote: host->dma_tx = - dma_request_slave_channel_compat(mask, edma_filter_fn, - &host->txdma, mmc_dev(host->mmc), "tx"); + dma_request_slave_channel(

Re: [PATCH v6 2/2] clk: qcom: Add support for RPM Clocks

2016-03-15 Thread Georgi Djakov
On 03/13/2016 03:06 PM, Bjorn Andersson wrote: > On Tue 15 Dec 04:30 PST 2015, Georgi Djakov wrote: > > [..] >> diff --git a/drivers/clk/qcom/clk-rpm.c b/drivers/clk/qcom/clk-rpm.c > [..] >> + >> +static struct clk_rpm *apq8064_clks[] = { >> +[QCOM_RPM_PXO_CLK] = &apq8064_pxo, >> +[QCOM_RP

Re: [PATCHSET RFC cgroup/for-4.6] cgroup, sched: implement resource group and PRIO_RGRP

2016-03-15 Thread Michal Hocko
On Fri 11-03-16 10:41:18, Tejun Heo wrote: > Hello, > > This patchset extends cgroup v2 to support rgroup (resource group) for > in-process hierarchical resource control and implements PRIO_RGRP for > setpriority(2) on top to allow in-process hierarchical CPU cycle > control in a seamless way. >

Re: [PART1 RFC v2 05/10] KVM: x86: Detect and Initialize AVIC support

2016-03-15 Thread Paolo Bonzini
On 15/03/2016 18:09, Suravee Suthikulpanit wrote: > Hi > > On 03/07/2016 11:41 PM, Paolo Bonzini wrote: >> On 04/03/2016 21:46, Suravee Suthikulpanit wrote: >> > [] >>> +/* Note: This structure is per VM */ >>> +struct svm_vm_data { >>> +atomic_t count; >>> +u32 ldr_mode; >>> +u

[PATCH 4/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Direct Memory Access Engine

2016-03-15 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for adding support for AXI DMA. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_vdma.txt | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings

[PATCH 7/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Central Direct Memory Access Engine

2016-03-15 Thread Kedareswara rao Appana
This patch updates the device-tree binding doc for adding support for AXI CDMA. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_vdma.txt| 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/dma/xilinx/xi

[PATCH 3/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Direct Memory Access Engine

2016-03-15 Thread Kedareswara rao Appana
This patch adds support for the AXI Direct Memory Access (AXI DMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type target peripherals. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 385

[PATCH 6/7] dmaengine: xilinx_vdma: Add Support for Xilinx AXI Central Direct Memory Access Engine

2016-03-15 Thread Kedareswara rao Appana
This patch adds support for the AXI Central Direct Memory Access (AXI CDMA) core, which is a soft Xilinx IP core that provides high-bandwidth Direct Memory Access (DMA) between a memory-mapped source address and a memory-mapped destination address. Signed-off-by: Kedareswara rao Appana --- drive

[PATCH 5/7] dmaengine: xilinx_vdma: Remove unnecessary axi dma device-tree binding doc

2016-03-15 Thread Kedareswara rao Appana
AXI DMA support is added to the existing AXI VDMA driver. The binding doc for AXI DMA should also be updated in the VDMA device-tree binding doc. Signed-off-by: Kedareswara rao Appana --- .../devicetree/bindings/dma/xilinx/xilinx_dma.txt | 65 -- 1 file changed, 65 deletions

[PATCH 0/7] dmaengine: xilinx_vdma: AXI DMA's enhancments

2016-03-15 Thread Kedareswara rao Appana
This patch series does some enhancments to the VDMA driver which includes --> Adding support for AXI DMA IP. --> Adding support for AXI CDMA IP. --> Fixing checkpatch warnings. Kedareswara rao Appana (7): dmaengine: xilinx_vdma: Fix checkpatch.pl warnings dmaengine: xilinx_vdma: Add quirks sup

[PATCH 2/7] dmaengine: xilinx_vdma: Add quirks support to differentiate differnet IP cores

2016-03-15 Thread Kedareswara rao Appana
This patch adds quirks support in the driver to differentiate differnet IP cores. Signed-off-by: Kedareswara rao Appana --- drivers/dma/xilinx/xilinx_vdma.c | 36 ++-- 1 file changed, 30 insertions(+), 6 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_vdma.c

[PATCH 1/7] dmaengine: xilinx_vdma: Fix checkpatch.pl warnings

2016-03-15 Thread Kedareswara rao Appana
This patch fixes the below checkpatch.pl warnings. WARNING: void function return statements are not generally useful + return; +} WARNING: void function return statements are not generally useful + return; +} WARNING: Missing a blank line after declarations + u32 errors

Re: [PATCH] nohz: Change tick_dep_mask from 'unsigned long' to 'unsigned int'

2016-03-15 Thread Frederic Weisbecker
On Tue, Mar 15, 2016 at 09:30:49AM -0700, Linus Torvalds wrote: > On Tue, Mar 15, 2016 at 5:15 AM, Ingo Molnar wrote: > > > > Hm, so the problem I did not consider is the following: > > > > triton:~/tip> git grep tick_dep_mask kernel | grep _bit > > kernel/time/tick-sched.c: clear_bit(bit,

Re: Thunderbolt 3 (Skylake / Alpine Ridge) hotplug

2016-03-15 Thread Bjorn Helgaas
[+cc Rafael, linux-acpi] Hi Jack, On Fri, Feb 26, 2016 at 07:10:03PM +1100, Jack Coulter wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Andreas, > > I was asking around on #linux-pci on OFTC and it was mentioned that you > were the maintainer for Linux Thunderbolt support,

Re: [PATCH] nohz: Change tick_dep_mask from 'unsigned long' to 'unsigned int'

2016-03-15 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 10:28 AM, Frederic Weisbecker wrote: >> >> And wouldn't it be so nice if "thread_info->flags" would just be >> atomic_t too. Right now we use a mixture of bit-ops and ACCESS_ONCE() >> (and many codepaths then doing neither, and just accessing it >> directly, ignoring any ra

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

2016-03-15 Thread Matt Wilson
On Tue, Mar 15, 2016 at 12:50:06PM +0200, Netanel Belgazal wrote: [...] > diff --git a/drivers/net/ethernet/amazon/Kconfig > b/drivers/net/ethernet/amazon/Kconfig > new file mode 100644 > index 000..bc4f240d > --- /dev/null > +++ b/drivers/net/ethernet/amazon/Kconfig > @@ -0,0 +1,27 @@ > +# >

Re: [PATCH v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older compilers

2016-03-15 Thread Scott Wood
On Tue, 2016-03-15 at 14:07 +0100, Christophe Leroy wrote: > Some versions of GCC, reportedly before 4.8, fail with > arch/powerpc/mm/8xx_mmu.c:139:2: error: memory input 1 is not directly > addressable "before 4.8" means "< 4.8", not "<= 4.8" -- did you mean "before 4.9"? > Change the one-elemen

Re: [PATCH 1/7] dmaengine: xilinx_vdma: Fix checkpatch.pl warnings

2016-03-15 Thread Moritz Fischer
Hi, this patch looks fine to me. On Tue, Mar 15, 2016 at 10:23 AM, Kedareswara rao Appana wrote: > This patch fixes the below checkpatch.pl warnings. > > WARNING: void function return statements are not generally useful > + return; > +} > > WARNING: void function return statements are not

Re: [PATCH] iommu/vt-d: Ratelimit fault handler

2016-03-15 Thread Joe Perches
On Tue, 2016-03-15 at 10:10 -0700, Joe Perches wrote: > o Use a single ratelimit state. [] > diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c [] > + if (__ratelimit(&rs)) > + return 0; That of course should be: if (!__ratelimit(&rs)) return 0;

Re: [PATCH] sctp: consolidate local_bh_disable/enable + spin_lock/unlock to _bh variant

2016-03-15 Thread Marcelo Ricardo Leitner
On Sun, Mar 13, 2016 at 11:48:24AM +0100, Nicholas Mc Guire wrote: > local_bh_disable() + spin_lock() is equivalent to spin_lock_bh(), same for > the unlock/enable case, so replace the calls by the appropriate wrappers. > > Signed-off-by: Nicholas Mc Guire Acked-by: Marcelo Ricardo Leitner > -

Re: Thunderbolt 3 (Skylake / Alpine Ridge) hotplug

2016-03-15 Thread Andreas Noever
Hi Jack, On Fri, Feb 26, 2016 at 9:10 AM, Jack Coulter wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Andreas, > > I was asking around on #linux-pci on OFTC and it was mentioned that you > were the maintainer for Linux Thunderbolt support, and that I should > direct my query

Re: [PATCH v2] powerpc/8xx: Fix do_mtspr_cpu6 build on older compilers

2016-03-15 Thread christophe leroy
Le 15/03/2016 18:41, Scott Wood a écrit : On Tue, 2016-03-15 at 14:07 +0100, Christophe Leroy wrote: Some versions of GCC, reportedly before 4.8, fail with arch/powerpc/mm/8xx_mmu.c:139:2: error: memory input 1 is not directly addressable "before 4.8" means "< 4.8", not "<= 4.8" -- did you me

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

2016-03-15 Thread Dan Williams
On Tue, 2016-03-15 at 12:50 +0200, Netanel Belgazal wrote: > This is a driver for the Amazon ethernet ENA family. > The driver operates variety of ENA adapters through > feature negotiation with the adapter and upgradable commands set. > ENA driver handles PCI Physical and Virtual ENA functions. >

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

2016-03-15 Thread Don Zickus
On Tue, Mar 15, 2016 at 12:19:44AM -0400, Joshua Hunt wrote: > > > While working on a script to restore all sysctl params before a series of > tests I found that writing any value into the > /proc/sys/kernel/{nmi_watchdog,soft_watchdog,watchdog,watchdog_thresh} > causes them to call proc_watchdog

Re: [PATCH] devpts: Make ptmx be owned by the userns owner instead of userns-local 0

2016-03-15 Thread Andy Lutomirski
On Mar 14, 2016 1:35 AM, "Serge Hallyn" wrote: > > Quoting Andy Lutomirski (l...@kernel.org): > > We used to have ptmx be owned by the inner uid and gid 0. Change > > this: if the owner and group are both mapped but are not both 0, > > then use the owner instead. > > > > For container-style names

Re: [PATCH 1/1] KVM: don't allow irq_fpu_usable when the VCPU's XCR0 is loaded

2016-03-15 Thread Andy Lutomirski
On Mon, Mar 14, 2016 at 6:17 AM, Paolo Bonzini wrote: > > > On 11/03/2016 22:33, David Matlack wrote: >> > Is this better than just always keeping the host's XCR0 loaded outside >> > if the KVM interrupts-disabled region? >> >> Probably not. AFAICT KVM does not rely on it being loaded outside that

Re: [PATCH] kbuild: drop FORCE from PHONY targets

2016-03-15 Thread Andy Lutomirski
On Mar 13, 2016 11:26 PM, "Masahiro Yamada" wrote: > > Hi Andy, > > > 2016-03-14 13:44 GMT+09:00 Andy Lutomirski : > > On Sun, Mar 13, 2016 at 9:36 PM, Masahiro Yamada > > wrote: > >> 2016-03-14 13:28 GMT+09:00 Andy Lutomirski : > >>> On Sun, Mar 13, 2016 at 9:08 PM, Masahiro Yamada > >>> wrote:

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

2016-03-15 Thread Matt Wilson
On Tue, Mar 15, 2016 at 01:19:07PM -0500, Dan Williams wrote: > On Tue, 2016-03-15 at 12:50 +0200, Netanel Belgazal wrote: > > + > > +The ENA driver supports industry standard TCP/IP offload features > > such > > +as checksum offload and TCP transmit segmentation offload (TSO). > > + > > +Receive-s

[RFC][PATCH] rtsx_usb_ms: Use msleep_interruptible() in polling loop

2016-03-15 Thread Oleksandr Natalenko
This patch has already been posted to LKML by Ben Hutchings ~5 months ago, but AFAIK no further action were performed. However, this patch really fixes weird loadavg with RTS5129 card reader, so I would wonder if this could be merged. AFAIK, it has been applied to some distros' kernels, e.g., U

Re: [PATCH 2/3] [media] am437x-vfpe: fix typo in vpfe_get_app_input_index

2016-03-15 Thread Lad, Prabhakar
Hi Arnd, Thanks for the patch. On Mon, Mar 14, 2016 at 10:40 PM, Arnd Bergmann wrote: > gcc-6 points out an obviously silly comparison in vpfe_get_app_input_index(): > > drivers/media/platform/am437x/am437x-vpfe.c: In function > 'vpfe_get_app_input_index': > drivers/media/platform/am437x/am437x

Re: [PATCH v2 8/9] clk: rockchip: associate SCLK_MAC_PLL and disable reparenting on rk3036

2016-03-15 Thread Stephen Boyd
On 03/13, Caesar Wang wrote: > From: Heiko Stuebner > > The emac needs constant and very specific rate but the possible PLL-sources > are very limited, so we expect the PLL source to be set manually on per > board and don't want it to get changed in an automatic way later. > So add the necessary

Re: [PATCH v2 6/9] clk: rockchip: associate the rk3036 HCLK_EMAC clock-id

2016-03-15 Thread Stephen Boyd
On 03/13, Caesar Wang wrote: > From: Xing Zheng > > Associate the new clock id the clock. > > Signed-off-by: Xing Zheng > Signed-off-by: Caesar Wang > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

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

2016-03-15 Thread Paul E. McKenney
On Tue, Mar 15, 2016 at 09:58:19AM -0700, Linus Torvalds wrote: > On Tue, Mar 15, 2016 at 8:33 AM, Paul E. McKenney > wrote: > > > > Good point! I will send a pull of the documentation commits that do not > > involve Documentation/RCU/Design. > > Note that I have no objections what-so-ever with

Re: [PATCH v11 3/9] arm64: add copy_to/from_user to kprobes blacklist

2016-03-15 Thread James Morse
Hi David, On 09/03/16 05:32, David Long wrote: > From: "David A. Long" > diff --git a/arch/arm64/lib/copy_from_user.S b/arch/arm64/lib/copy_from_user.S > index 4699cd7..0ac2131 100644 > --- a/arch/arm64/lib/copy_from_user.S > +++ b/arch/arm64/lib/copy_from_user.S > @@ -66,6 +66,7 @@ > .endm

[GIT PULL] libnvdimm for 4.6

2016-03-15 Thread Williams, Dan J
Hi Linus, please pull from...   git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm tags/libnvdimm-for-4.6 ...to receive the libnvdimm update for 4.6. This has appeared in -next with no reported issues, and a test merge with latest master passes the regression tests.  Note that this inc

[PATCH RFC] clocksource: Detect a watchdog overflow

2016-03-15 Thread Gratian Crisan
The clocksource watchdog can falsely trigger and disable the main clocksource when the watchdog wraps around. The reason is that an interrupt storm and/or high priority (FIFO/RR) tasks can preempt the timer softirq long enough for the watchdog to wrap around if it has a limited number of bits avai

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

2016-03-15 Thread kbuild test robot
Hi Benjamin, [auto build test ERROR on input/next] [also build test ERROR 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: [PATCH 0/1] KVM: x86: using the fpu in interrupt context with a guest's xcr0

2016-03-15 Thread David Matlack
On Mon, Mar 14, 2016 at 12:46 AM, Xiao Guangrong wrote: > > > On 03/12/2016 04:47 AM, David Matlack wrote: > >> I have not been able to trigger this bug on Linux 4.3, and suspect >> it is due to this commit from Linux 4.2: >> >> 653f52c kvm,x86: load guest FPU context more eagerly >> >> With this

Re: [PATCH v1 01/19] mm: use put_page to free page instead of putback_lru_page

2016-03-15 Thread Vlastimil Babka
On 15.3.2016 2:16, Minchan Kim wrote: > On Mon, Mar 14, 2016 at 09:48:33AM +0100, Vlastimil Babka wrote: >> On 03/11/2016 08:30 AM, Minchan Kim wrote: >> >> Yeah, and compaction (perhaps also other migration users) has to >> drain the lru pvec... Getting rid of this stuff is worth even by >> itself

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

2016-03-15 Thread Linus Torvalds
On Tue, Mar 15, 2016 at 11:48 AM, Paul E. McKenney wrote: > > On the quick quizzes, if you want me to get rid of them, they are gone. You don't have to remove them (but I do think cartoons etc should be). But dammit, you don't need to duplicate a big file or use a non-standard format for somethi

Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking support

2016-03-15 Thread Dietmar Eggemann
Hi Mike, On 14/03/16 05:22, Michael Turquette wrote: > From: Dietmar Eggemann > > Implements cpufreq_scale_freq_capacity() to provide the scheduler with a > frequency scaling correction factor for more accurate load-tracking. > > The factor is: > > current_freq(cpu) << SCHED_CAPACITY_SHI

Re: [PATCH 8/8] sched: prefer cpufreq_scale_freq_capacity

2016-03-15 Thread Dietmar Eggemann
On 14/03/16 05:22, Michael Turquette wrote: > arch_scale_freq_capacity is weird. It specifies an arch hook for an > implementation that could easily vary within an architecture or even a > chip family. > > This patch helps to mitigate this weirdness by defaulting to the > cpufreq-provided implemen

[REGRESSION] Headphones no longer working on MacPro6,1 with 4.4

2016-03-15 Thread Laura Abbott
Hi, We received a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1316119 that the headphone jack on a MacPro6,1 stopped working on an upgrade from 4.3 to 4.4. The bugzilla has the alsainfo, diffing shows that the Amp-Out vals are different. I tried a revert of 9f660a1c4 (" ALSA: hda/real

[PATCH 2/2] Staging: wlan-ng: convert p80211_stt_findproto() to static inline functions

2016-03-15 Thread Claudiu Beznea
This patch convert p80211_stt_findproto() to "static inline" since it is used only in p80211conv.c file and also has few instructins. After the scope was changed to static the function definition was moved at the beginning of the file to avoid undefined references. Signed-off-by: Claudiu Beznea -

[PATCH 1/2] Staging: wlan-ng: removed prototype of p80211_stt_findproto() from this file.

2016-03-15 Thread Claudiu Beznea
This patch removes the prototype of p80211_stt_findproto() from p80211conv.h since global scope is not necessary. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-ng/p80211conv.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/wlan-ng/p80211conv.h b/drivers/staging/wl

Re: [PATCH 1/1] KVM: don't allow irq_fpu_usable when the VCPU's XCR0 is loaded

2016-03-15 Thread Paolo Bonzini
On 15/03/2016 19:27, Andy Lutomirski wrote: > On Mon, Mar 14, 2016 at 6:17 AM, Paolo Bonzini wrote: >> >> >> On 11/03/2016 22:33, David Matlack wrote: Is this better than just always keeping the host's XCR0 loaded outside if the KVM interrupts-disabled region? >>> >>> Probably not. AFA

Re: [REGRESSION] Headphones no longer working on MacPro6,1 with 4.4

2016-03-15 Thread Takashi Iwai
On Tue, 15 Mar 2016 20:23:09 +0100, Laura Abbott wrote: > > Hi, > > We received a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1316119 > that the headphone jack on a MacPro6,1 stopped working on an upgrade from 4.3 > to 4.4. > > The bugzilla has the alsainfo, diffing shows that the Amp

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

2016-03-15 Thread Paul E. McKenney
On Tue, Mar 15, 2016 at 12:10:03PM -0700, Linus Torvalds wrote: > On Tue, Mar 15, 2016 at 11:48 AM, Paul E. McKenney > wrote: > > > > On the quick quizzes, if you want me to get rid of them, they are gone. > > You don't have to remove them (but I do think cartoons etc should be). > > But dammit,

[PATCH 3/3] block: implement (some of) fallocate for block devices

2016-03-15 Thread Darrick J. Wong
After much discussion, it seems that the fallocate feature flag FALLOC_FL_ZERO_RANGE maps nicely to SCSI WRITE SAME; and the feature FALLOC_FL_PUNCH_HOLE maps nicely to the devices that have been whitelisted for zeroing SCSI UNMAP. Punch still requires that FALLOC_FL_KEEP_SIZE is set. A length th

[PATCH 2/3] block: require write_same and discard requests align to logical block size

2016-03-15 Thread Darrick J. Wong
Make sure that the offset and length arguments that we're using to construct WRITE SAME and DISCARD requests are actually aligned to the logical block size. Failure to do this causes other errors in other parts of the block layer or the SCSI layer because disks don't support partial logical block

[PATCH 1/3] block: invalidate the page cache when issuing BLKZEROOUT.

2016-03-15 Thread Darrick J. Wong
Invalidate the page cache (as a regular O_DIRECT write would do) to avoid returning stale cache contents at a later time. v5: Refactor the 4.4 refactoring of the ioctl code into separate functions. Split the page invalidation and the new ioctl into separate patches. Signed-off-by: Darrick J. Wong

Re: [PATCH 4/5] ftrace: Make ftrace_hash_rec_enable return update bool

2016-03-15 Thread Steven Rostedt
On Sat, 12 Mar 2016 17:35:02 +0900 Namhyung Kim wrote: > Hi Jiri, > > On Fri, Mar 11, 2016 at 07:15:06PM +0100, Jiri Olsa wrote: > > On Fri, Mar 11, 2016 at 11:28:00PM +0900, Namhyung Kim wrote: > > > > SNIP > > > > > > @@ -1694,7 +1695,7 @@ static void __ftrace_hash_rec_update(struct > > >

[PATCH v7 0/3] fallocate for block devices to provide zero-out

2016-03-15 Thread Darrick J. Wong
Hi, This is a redesign of the patch series that fixes various interface problems with the existing "zero out this part of a block device" code. BLKZEROOUT2 is gone. The first patch is still a fix to the existing BLKZEROOUT ioctl to invalidate the page cache if the zeroing command to the underlyi

Re: [PATCH V7 11/12] arm64: tegra: add soctherm node for Tegra210

2016-03-15 Thread Eduardo Valentin
On Tue, Mar 15, 2016 at 06:43:00PM +0800, Wei Ni wrote: > > > On 2016年03月15日 03:25, Eduardo Valentin wrote: > > * PGP Signed by an unknown key > > > > On Fri, Mar 11, 2016 at 11:11:34AM +0800, Wei Ni wrote: > >> Adds soctherm node for Tegra210, and add cpu, > >> gpu, mem, pllx as thermal-zones.

Re: [PATCH 1/2] Staging: wlan-ng: removed prototype of p80211_stt_findproto() from this file.

2016-03-15 Thread kbuild test robot
Hi Claudiu, [auto build test ERROR on staging/staging-testing] [also build test ERROR on v4.5 next-20160315] [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/Claudiu-Beznea/Staging-wlan-ng

Re: [PATCH] iommu/vt-d: Ratelimit fault handler

2016-03-15 Thread David Woodhouse
On Tue, 2016-03-15 at 10:35 -0600, Alex Williamson wrote: > Fault rates can easily overwhelm the console and make the system > unresponsive.  Ratelimit to allow an opportunity for maintenance. > > Signed-off-by: Alex Williamson Rather than just rate-limiting the printk, I'd prefer to handle this

Re: [REGRESSION] Headphones no longer working on MacPro6,1 with 4.4

2016-03-15 Thread Takashi Iwai
On Tue, 15 Mar 2016 20:38:41 +0100, Takashi Iwai wrote: > > On Tue, 15 Mar 2016 20:23:09 +0100, > Laura Abbott wrote: > > > > Hi, > > > > We received a bug report https://bugzilla.redhat.com/show_bug.cgi?id=1316119 > > that the headphone jack on a MacPro6,1 stopped working on an upgrade from >

Re: [PATCH V7 09/12] thermal: tegra: add thermtrip function

2016-03-15 Thread Eduardo Valentin
On Tue, Mar 15, 2016 at 05:12:12PM +0800, Wei Ni wrote: > > > On 2016年03月15日 03:16, Eduardo Valentin wrote: > > * PGP Signed by an unknown key > > > > On Fri, Mar 11, 2016 at 11:11:12AM +0800, Wei Ni wrote: > >> Add support for hardware critical thermal limits to the > >> SOC_THERM driver. It us

Re: [PATCH V7 08/12] of: add notes of critical trips for soctherm

2016-03-15 Thread Eduardo Valentin
On Tue, Mar 15, 2016 at 04:14:15PM +0800, Wei Ni wrote: > > > On 2016年03月15日 15:49, Wei Ni wrote: > > > > > > On 2016年03月15日 05:00, Eduardo Valentin wrote: > >> * PGP Signed by an unknown key > >> > >> On Fri, Mar 11, 2016 at 11:11:00AM +0800, Wei Ni wrote: > >>> The "critical" type trip in the

[PATCH] Staging: wlan-ng: moved memset() calls after copy_from_user() call

2016-03-15 Thread Claudiu Beznea
This patch moves memset() calls from p80211netdev_ethtool() after copy_from_user() call in order to avoid unnecessary instruction in case copy_from_user() fails. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-ng/p80211netdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [PATCH V7 05/12] thermal: tegra: add Tegra210 specific SOC_THERM driver

2016-03-15 Thread Eduardo Valentin
On Tue, Mar 15, 2016 at 02:59:52PM +0800, Wei Ni wrote: > > > On 2016年03月15日 02:57, Eduardo Valentin wrote: > > * PGP Signed by an unknown key > > > > On Fri, Mar 11, 2016 at 11:10:25AM +0800, Wei Ni wrote: > >> Add Tegra210 specific SOC_THERM driver. > >> > >> Signed-off-by: Wei Ni > >> --- >

Re: [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-15 Thread Dr. David Alan Gilbert
* Li, Liang Z (liang.z...@intel.com) wrote: > > On Mon, Mar 14, 2016 at 05:03:34PM +, Dr. David Alan Gilbert wrote: > > > * Li, Liang Z (liang.z...@intel.com) wrote: > > > > > > > > > > Hi, > > > > > I'm just catching back up on this thread; so without reference > > > > > to any particular pr

Re: [PATCH V7 03/12] thermal: tegra: get rid of PDIV/HOTSPOT hack

2016-03-15 Thread Eduardo Valentin
On Tue, Mar 15, 2016 at 02:21:53PM +0800, Wei Ni wrote: > > > On 2016年03月15日 04:05, Eduardo Valentin wrote: > > * PGP Signed by an unknown key > > > > On Fri, Mar 11, 2016 at 11:09:14AM +0800, Wei Ni wrote: > >> Get rid of T124-specific PDIV/HOTSPOT hack. > >> tegra-soctherm.c contained a hack t

[PATCH v2] devpts: Make ptmx be owned by the userns owner as a fallback

2016-03-15 Thread Andy Lutomirski
New devpts instances have ptmx owned by the inner uid and gid 0. For container-style namespaces (LXC, etc), this should have no effect, this is fine. For sandbox-style namespaces (xdg-app and similar), this is problematic -- there may not be an inner 0:0. If that happens, devpts mounts will fail

Re: [PATCH 1/5] ftrace perf: Check sample types only for sampling events

2016-03-15 Thread Steven Rostedt
On Wed, 9 Mar 2016 21:46:41 +0100 Jiri Olsa wrote: > Currently we check sample type for ftrace:function event > even if it's not created as sampling event. That prevents > creating ftrace_function event in counting mode. > > Making sure we check sample types only for sampling events. > > Befor

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

2016-03-15 Thread Benjamin Tissoires
On Mar 15 2016 or thereabouts, Guenter Roeck wrote: > 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

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-15 Thread Dave Chinner
On Mon, Mar 14, 2016 at 10:46:03AM -0400, Theodore Ts'o wrote: > On Mon, Mar 14, 2016 at 06:34:00AM -0400, Ric Wheeler wrote: > > I think that once we enter this mode, the local file system has effectively > > ceded its role to prevent stale data exposure to the upper layer. In effect, > > this cea

[PATCH] kvm-pr: manage illegal instructions

2016-03-15 Thread Laurent Vivier
While writing some instruction tests for kvm-unit-tests for powerpc, I've found that illegal instructions are not managed correctly with kvm-pr, while it is fine with kvm-hv. When an illegal instruction (like ".long 0") is processed by kvm-pr, the kernel logs are filled with: Couldn't emulat

Re: [PATCH 7/8] cpufreq: Frequency invariant scheduler load-tracking support

2016-03-15 Thread Michael Turquette
Quoting Dietmar Eggemann (2016-03-15 12:13:46) > Hi Mike, > > On 14/03/16 05:22, Michael Turquette wrote: > > From: Dietmar Eggemann > > > > Implements cpufreq_scale_freq_capacity() to provide the scheduler with a > > frequency scaling correction factor for more accurate load-tracking. > > > >

[RESEND PATCH v2] ARM64: ACPI: Update documentation for latest specification version

2016-03-15 Thread Al Stone
The ACPI 6.1 specification was recently released at the end of January 2016, but the arm64 kernel documentation for the use of ACPI was written for the 5.1 version of the spec. There were significant additions to the spec that had not yet been mentioned -- for example, the 6.0 mechanisms added to

Re: [PATCH v6 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-15 Thread Michal Marek
Dne 14.3.2016 v 03:42 Nicolas Pitre napsal(a): > +# Filter out exported kernel symbol names from the preprocessor output. > +# See also __KSYM_DEPS__ in include/linux/export.h. > +# We disable the depfile generation here, so as not to overwrite the existing > +# depfile while fixdep is parsing it >

Re: [PATCH v6 5/8] kbuild: add fine grained build dependencies for exported symbols

2016-03-15 Thread Michal Marek
Dne 15.3.2016 v 21:33 Michal Marek napsal(a): > Dne 14.3.2016 v 03:42 Nicolas Pitre napsal(a): >> +# Filter out exported kernel symbol names from the preprocessor output. >> +# See also __KSYM_DEPS__ in include/linux/export.h. >> +# We disable the depfile generation here, so as not to overwrite the

[PATCH] Staging: speakup: Clear hi font bit from attributes

2016-03-15 Thread Samuel Thibault
Previously, speakup would see the hi-font bit in attributes. Since this bit has nothing to do with attributes, we need to clear it. Signed-off-by: Samuel Thibault --- a/drivers/staging/speakup/main.c +++ b/drivers/staging/speakup/main.c @@ -267,7 +267,7 @@ static struct notifier_block vt_notifie

[PATCH] regulator: Don't print error in devm_regulator_bulk_get() on -EPROBE_DEFER

2016-03-15 Thread Javier Martinez Canillas
The regulators may not be available just because their driver's probe was not executed and the regulators were not registered yet. So don't print an error in this case to avoid polluting the kernel log and confuse the users. Signed-off-by: Javier Martinez Canillas --- drivers/regulator/devres.

<    1   2   3   4   5   6   7   8   >