Re: [PATCH 3.19.y-ckt 13/86] drm/vmwgfx: Fix up user_dmabuf refcounting

2015-10-28 Thread Kamal Mostafa
On Wed, 2015-10-28 at 07:59 +0100, Thomas Hellstrom wrote: > Kamal, > > On 10/27/2015 10:29 PM, Kamal Mostafa wrote: > > 3.19.8-ckt9 -stable review patch. If anyone has any objections, please let > > me know. > > > > -- > > > > From: Thomas Hellstrom > > > > commit 54c12bc374408

Re: [PATCH 3.19.y-ckt 13/86] drm/vmwgfx: Fix up user_dmabuf refcounting

2015-10-28 Thread Kamal Mostafa
On Wed, 2015-10-28 at 12:16 -0700, Kamal Mostafa wrote: > On Wed, 2015-10-28 at 07:59 +0100, Thomas Hellstrom wrote: > > Kamal, > > > > On 10/27/2015 10:29 PM, Kamal Mostafa wrote: > > > 3.19.8-ckt9 -stable review patch. If anyone has any objections, please > > > let me know. > > > > > > ---

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: > On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > > 28.10.2015 03:04, Toshi Kani пишет: > > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > > On Tue, Oct 27, 2015 at 11:05 PM, Stas Sergeev > > > > wrote: > > > > > > >

Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()

2015-10-28 Thread Leonid Yegoshin
On 10/28/2015 12:04 PM, Alex Smith wrote: On 28 October 2015 at 18:57, Leonid Yegoshin wrote: As I've explained the VDSO will only use the CP0 counter in the same situations that the kernel would when it is the active clocksource. Any issue that makes the counter unreliable affects the kernel

[PATCH] Evdev: Fix bug of comparing clk_type with clkid

2015-10-28 Thread Aniroop Mathur
From: Aniroop Mathur clk_type and clkid stores different predefined clock identification values so they cannot be compared. Therefore, lets fix it to avoid unexpected results. Signed-off-by: Aniroop Mathur Signed-off-by: Aniroop Mathur --- drivers/input/evdev.c | 10 ++ 1 file changed

Klientskie bazi Tel/Viber/WhatsApp +79133913837 Email: mamontova...@gmail.com Skype: prodawez389 ICQ: 6288862 FOTO ONLINE: http://media.xtwind.com/images/2015/10/19/2ba70554b12778c54b6a8ac82a7cc178.pn

2015-10-28 Thread linux-kernel@vger.kernel.org
Klientskie bazi Tel/Viber/WhatsApp +79133913837 Email: mamontova...@gmail.com Skype: prodawez389 ICQ: 6288862 FOTO ONLINE: http://media.xtwind.com/images/2015/10/19/2ba70554b12778c54b6a8ac82a7cc178.png -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

Re: [PATCH 3/4] x86,asm: Re-work smp_store_mb()

2015-10-28 Thread Davidlohr Bueso
On Tue, 27 Oct 2015, Peter Zijlstra wrote: On Wed, Oct 28, 2015 at 06:33:56AM +0900, Linus Torvalds wrote: On Wed, Oct 28, 2015 at 4:53 AM, Davidlohr Bueso wrote: > > Note that this might affect callers that could/would rely on the > atomicity semantics, but there are no guarantees of that for

Re: [PATCH v12 2/6] fpga: add bindings document for simple fpga bus

2015-10-28 Thread atull
On Wed, 28 Oct 2015, Steffen Trumtrar wrote: > On Tue, Oct 27, 2015 at 05:09:11PM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > New bindings document for simple fpga bus. > > > > Signed-off-by: Alan Tull > > --- > > v9: initial version added to this patchset > > v10: s

Re: [PATCH 2/5] iov: Reset resources to 0 if totalVFs increases after enabling ARI

2015-10-28 Thread Bjorn Helgaas
On Wed, Oct 28, 2015 at 11:32:14AM -0700, Alexander Duyck wrote: > On 10/28/2015 09:37 AM, Bjorn Helgaas wrote: > >Hi Alex, > > > >On Tue, Oct 27, 2015 at 01:52:21PM -0700, Alexander Duyck wrote: > >>This patch forces us to reallocate VF BARs if the totalVFs value has > >>increased after enabling A

Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()

2015-10-28 Thread Alex Smith
On 28 October 2015 at 19:28, Leonid Yegoshin wrote: > On 10/28/2015 12:04 PM, Alex Smith wrote: >> >> On 28 October 2015 at 18:57, Leonid Yegoshin >> wrote: >>> >>> >> As I've explained the VDSO will only use the CP0 counter in the same >> situations that the kernel would when it is the active cl

Re: [PATCH v8 06/17] dt-bindings: add document for analogix display port driver

2015-10-28 Thread Heiko Stuebner
Hi Yakir, Am Mittwoch, 28. Oktober 2015, 16:26:33 schrieb Yakir Yang: > diff --git a/Documentation/devicetree/bindings/display/exynos/exynos_dp.txt > b/Documentation/devicetree/bindings/display/exynos/exynos_dp.txt > index 7a3a9cd..9905081 100644 > --- a/Documentation/devicetree/bindings/display/

[PATCH 1/1] cpufreq: interactive: New 'interactive' governor

2015-10-28 Thread Bálint Czobor
From: Mike Chan This governor is designed for latency-sensitive workloads, such as interactive user interfaces. The interactive governor aims to be significantly more responsive to ramp CPU quickly up when CPU-intensive activity begins. Existing governors sample CPU load at a particular rate, t

Re: tools/build: fixdep versus tools/lib/bpf

2015-10-28 Thread Jiri Olsa
On Wed, Oct 28, 2015 at 01:30:40PM -0300, Arnaldo Carvalho de Melo wrote: > Hi Jiri, Wang, > > I'm getting these while doing 'make -C tools/perf build-test': > > LD fixdep-in.o > LINK fixdep > /bin/sh: /home/acme/git/linux/tools/build/fixdep: Permission denied > make[6]: *** [

Re: [v3, 3/3] MIPS: VDSO: Add implementations of gettimeofday() and clock_gettime()

2015-10-28 Thread Leonid Yegoshin
On 10/28/2015 12:55 PM, Alex Smith wrote: On 28 October 2015 at 19:28, Leonid Yegoshin wrote: . Clocksources are not per-CPU. If the CP0 counter is the current clocksource, then both the kernel and VDSO implementations of gettimeofday will read out the CP0 counter from whatever CPU they run on

[PATCH] Evdev: Fix bug in checking duplicate clock change request

2015-10-28 Thread Aniroop Mathur
From: Aniroop Mathur clk_type and clkid stores different predefined clock identification values so they cannot be compared for checking duplicate clock change request. Therefore, lets fix it to avoid unexpected results. Signed-off-by: Aniroop Mathur Signed-off-by: Aniroop Mathur --- drivers/i

Re: [PATCH v2 3/5] block, dax: fix lifetime of in-kernel dax mappings with dax_map_atomic()

2015-10-28 Thread Jeff Moyer
Dan Williams writes: > The DAX implementation needs to protect new calls to ->direct_access() > and usage of its return value against unbind of the underlying block > device. Use blk_queue_enter()/blk_queue_exit() to either prevent > blk_cleanup_queue() from proceeding, or fail the dax_map_atomi

Re: [PATCH v2 4/5] block: introduce bdev_file_inode()

2015-10-28 Thread Jeff Moyer
Dan Williams writes: > Similar to the file_inode() helper, provide a helper to lookup the inode for a > raw block device itself. > > Cc: Al Viro > Suggested-by: Jan Kara > Signed-off-by: Dan Williams Reviewed-by: Jeff Moyer > --- > fs/block_dev.c | 19 --- > 1 file chang

[RESEND PATCH v2] Staging: wilc1000: Prefer eth_broadcast_addr over memset()

2015-10-28 Thread Punit Vara
This patch is to the host_interface.c that fixes up following warning by checkpatch: -prefer eth_broadcast_addr() over memset() Signed-off-by: Punit Vara --- Applied on updated staging tree. drivers/staging/wilc1000/host_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [PATCH] scsi: hpsa: fix multiple issues in path_info_show

2015-10-28 Thread Don Brace
On 10/27/2015 05:16 PM, Rasmus Villemoes wrote: I'm not familiar with this code, but path_info_show() (added in 8270b86243658 "hpsa: add sysfs entry path_info to show box and bay information") seems to be broken in multiple ways. First, there's 817 return snprintf(buf, output_len+1, "%s%s%s%

Re: [PATCH v12 3/6] fpga: add simple-fpga-bus

2015-10-28 Thread Moritz Fischer
[..] > I do not think it's a good fit for the socfpga, or for the lower level > fpga drivers _in general_. Nor do I think that the FPGA Bridge > framework, as written, is a good fit for fpgas in general. Could you elaborate a bit more on why you feel that way? For all configurations that I could

Re: [PATCH] audit: removing unused variable

2015-10-28 Thread Paul Moore
On Wednesday, October 28, 2015 09:40:34 AM Saurabh Sengar wrote: > variavle rc in not required as it is just used for unchanged for return, > and return is always 0 in the function. > > Signed-off-by: Saurabh Sengar > --- > kernel/audit.c | 7 +++ > 1 file changed, 3 insertions(+), 4 deletio

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-28 Thread Patrick Marlier
On 10/28/2015 09:33 AM, Ingo Molnar wrote: * Tejun Heo wrote: Subject: writeback: don't use list_entry_rcu() for pointer offsetting in bdi_split_work_to_wbs() bdi_split_work_to_wbs() uses list_for_each_entry_rcu_continue() to walk @bdi->wb_list. To set up the initial iteration condition,

Re: [PATCH v8 10/17] phy: Add driver for rockchip Display Port PHY

2015-10-28 Thread Heiko Stuebner
Hi Yakir, Am Mittwoch, 28. Oktober 2015, 16:30:33 schrieb Yakir Yang: > +static int rockchip_dp_phy_probe(struct platform_device *pdev) > +{ > + struct device *dev = &pdev->dev; > + struct device_node *np = dev->of_node; > + struct phy_provider *phy_provider; > + struct rockchip_dp

Re: tools/build: fixdep versus tools/lib/bpf

2015-10-28 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 28, 2015 at 09:13:52PM +0100, Jiri Olsa escreveu: > On Wed, Oct 28, 2015 at 01:30:40PM -0300, Arnaldo Carvalho de Melo wrote: > > Hi Jiri, Wang, > > > > I'm getting these while doing 'make -C tools/perf build-test': > > > > LD fixdep-in.o > > LINK fixdep > > /bin/sh:

Re: [PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-28 Thread Marek Vasut
On Wednesday, October 28, 2015 at 05:32:15 PM, Boris Brezillon wrote: > Hi Marek, Hi Boris, > On Wed, 28 Oct 2015 17:11:14 +0100 > > Marek Vasut wrote: > > On Wednesday, October 28, 2015 at 08:58:13 AM, Boris Brezillon wrote: > > > Hi Brian, > > > > Hi, > > > > [...] > > > > > > Are > > > >

[PATCH] 4.4 will be the next longterm kernel

2015-10-28 Thread Greg KH
From: Greg Kroah-Hartman As a result of the discussion at the 2015 Linux Kernel summit, the 4.4 kernel will be the next longterm kernel release, so notify everyone about this on the web site. Signed-off-by: Greg Kroah-Hartman --- content/releases.rst | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH v3 1/2] ASoC: wm9713: convert to regmap

2015-10-28 Thread Robert Jarzmik
Charles Keepax writes: >> @@ -1158,6 +1199,9 @@ static int wm9713_soc_suspend(struct snd_soc_codec >> *codec) >> { >> u16 reg; >> >> +snd_soc_cache_sync(codec); > > There doesn't seem to be much point in syncing the cache at the > start of a suspend, in theory I would expect the cach

Re: tools/build: fixdep versus tools/lib/bpf

2015-10-28 Thread Jiri Olsa
On Wed, Oct 28, 2015 at 05:37:52PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Oct 28, 2015 at 09:13:52PM +0100, Jiri Olsa escreveu: > > On Wed, Oct 28, 2015 at 01:30:40PM -0300, Arnaldo Carvalho de Melo wrote: > > > Hi Jiri, Wang, > > > > > > I'm getting these while doing 'make -C tools/pe

Re: [PATCH v9 1/4] perf,kvm/{x86,s390}: Remove dependency on uapi/kvm_perf.h

2015-10-28 Thread Alexander Yarygin
Hemant Kumar writes: > Hi David, > > > On 10/07/2015 09:41 PM, David Ahern wrote: >> On 10/6/15 8:25 PM, Hemant Kumar wrote: >>> @@ -358,7 +357,12 @@ static bool handle_end_event(struct >>> perf_kvm_stat *kvm, >>> time_diff = sample->time - time_begin; >>> >>> if (kvm->duration && tim

Re: Triggering non-integrity writeback from userspace

2015-10-28 Thread Dave Chinner
Hi Andres, On Wed, Oct 28, 2015 at 10:27:52AM +0100, Andres Freund wrote: > On 2015-10-25 08:39:12 +1100, Dave Chinner wrote: > > Data integrity operations require related file metadata (e.g. block > > allocation trnascations) to be forced to the journal/disk, and a > > device cache flush iss

Re: [PATCH v2 5/5] block: enable dax for raw block devices

2015-10-28 Thread Jeff Moyer
Dan Williams writes: > If an application wants exclusive access to all of the persistent memory > provided by an NVDIMM namespace it can use this raw-block-dax facility > to forgo establishing a filesystem. This capability is targeted > primarily to hypervisors wanting to provision persistent me

hw_breakpoint.c -- a bad idea

2015-10-28 Thread Jeffrey Merkey
Allowing other subsystems to clobber the DR7 register is a bad idea when debuggers are loaded. I realize that this piece of code was written for perf monitors, and poor KGDB and KDB have to use this interface to set and clear hardware breakpoints. Problem with this architecture is that is you are

[tip:core/rcu] fs/writeback, rcu: Don't use list_entry_rcu() for pointer offsetting in bdi_split_work_to_wbs()

2015-10-28 Thread tip-bot for Tejun Heo
Commit-ID: b33e18f61bd18227a456016a77b1a968f5bc1d65 Gitweb: http://git.kernel.org/tip/b33e18f61bd18227a456016a77b1a968f5bc1d65 Author: Tejun Heo AuthorDate: Tue, 27 Oct 2015 14:19:39 +0900 Committer: Ingo Molnar CommitDate: Wed, 28 Oct 2015 13:17:30 +0100 fs/writeback, rcu: Don't use l

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Hugh Dickins
On Wed, 28 Oct 2015, Mike Kravetz wrote: > On 10/27/2015 08:34 PM, Hugh Dickins wrote: > > Thanks for the detailed response Hugh. I will try to address your questions > and provide more reasoning behind the use case and need for this code. And thank you for your detailed response, Mike: that hel

Re: tools/build: fixdep versus tools/lib/bpf

2015-10-28 Thread Arnaldo Carvalho de Melo
Em Wed, Oct 28, 2015 at 09:44:50PM +0100, Jiri Olsa escreveu: > On Wed, Oct 28, 2015 at 05:37:52PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Wed, Oct 28, 2015 at 09:13:52PM +0100, Jiri Olsa escreveu: > > > On Wed, Oct 28, 2015 at 01:30:40PM -0300, Arnaldo Carvalho de Melo wrote: > > > > Hi Jiri

Re: [PATCH v2 1/5] pmem, dax: clean up clear_pmem()

2015-10-28 Thread Jeff Moyer
Dan Williams writes: > On Thu, Oct 22, 2015 at 1:48 PM, Jeff Moyer wrote: >> Dan Williams writes: >> >>> Both, __dax_pmd_fault, and clear_pmem() were taking special steps to >>> clear memory a page at a time to take advantage of non-temporal >>> clear_page() implementations. However, x86_64 do

Re: [PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-28 Thread Robert Jarzmik
Brian Norris writes: >> > >> > Do some sorts of chipselects come into play here ? Ie. you can have one >> > master >> > with multiple NAND chips connected to it. >> >> Most NAND controllers support interacting with several chips (or >> dies in case your chip embeds several NAND dies), but I ke

Re: [PATCH v2 2/5] dax: increase granularity of dax_clear_blocks() operations

2015-10-28 Thread Jeff Moyer
"Williams, Dan J" writes: > The problem is that intervening call to cond_resched(). I later want to > inject an rcu_read_lock()/unlock() pair to allow flushing active > dax_map_atomic() usages at driver teardown time [1]. But, I think the > patch stands alone as a cleanup outside of that admitt

[PATCH 0/2] Remove elm address space from omap4 hwmod

2015-10-28 Thread Franklin S Cooper Jr
This patchset removes elm address entry from omap4 hwmod and adds an elm DT node to omap4.dtsi. Since no omap4 supports nand in mainline this patchset was boot tested on a pandaboard. Franklin S Cooper Jr (2): ARM: dts: omap4: Add elm node ARM: omap4: hwmod: Remove elm address space from hwmo

[PATCH 2/2] ARM: omap4: hwmod: Remove elm address space from hwmod data

2015-10-28 Thread Franklin S Cooper Jr
ELM address information is provided by device tree. No longer need to include this information within hwmod. This patch has only been boot tested. Signed-off-by: Franklin S Cooper Jr --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/ar

[PATCH v5 2/3] USB: serial: cp210x: Relocated private data from USB interface to port

2015-10-28 Thread Konstantin Shkolnyy
This change is preparation for implementing a cp2108 bug workaround. The workaround requires storing some private data. Right now the data is attached to the USB interface and allocated in the attach() callback. The bug detection requires USB I/O which is done easier from port_probe() callback rath

[tip:core/efi] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-28 Thread tip-bot for Taku Izumi
Commit-ID: 78b9bc947b18ed16b6c2c573d774e6d54ad9452d Gitweb: http://git.kernel.org/tip/78b9bc947b18ed16b6c2c573d774e6d54ad9452d Author: Taku Izumi AuthorDate: Fri, 23 Oct 2015 11:48:17 +0200 Committer: Ingo Molnar CommitDate: Wed, 28 Oct 2015 12:28:06 +0100 efi: Fix warning of int-to-po

[tip:core/efi] efi: Use correct type for struct efi_memory_map:: phys_map

2015-10-28 Thread tip-bot for Ard Biesheuvel
Commit-ID: 44511fb9e55ada760822b0b0d7be9d150576f17f Gitweb: http://git.kernel.org/tip/44511fb9e55ada760822b0b0d7be9d150576f17f Author: Ard Biesheuvel AuthorDate: Fri, 23 Oct 2015 11:48:16 +0200 Committer: Ingo Molnar CommitDate: Wed, 28 Oct 2015 12:28:06 +0100 efi: Use correct type for

[PATCH 1/2] ARM: dts: omap4: Add elm node

2015-10-28 Thread Franklin S Cooper Jr
Add device tree entry for the error location module. Signed-off-by: Franklin S Cooper Jr --- arch/arm/boot/dts/omap4.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi index 5a206c1..a40eb23 100644 --- a/arch/arm/boot/dts/

[PATCH v5 3/3] USB: serial: cp210x: Workaround cp2108 GET_LINE_CTL bug

2015-10-28 Thread Konstantin Shkolnyy
cp2108 GET_LINE_CTL returns the 16-bit value with the 2 bytes swapped. However, SET_LINE_CTL functions properly. When the driver tries to modify the register, it reads it, modifies some bits and writes back. Because the read bytes were swapped, this often results in an invalid value to be written.

[PATCH v5 1/3] USB: serial: cp210x: Workaround cp2108 Tx queue bug

2015-10-28 Thread Konstantin Shkolnyy
Occasionally, writing data and immediately closing the port makes cp2108 stop responding. The device has to be unplugged to clear the error. The failure is induced by shutting down the device while its Tx queue still has unsent data. This condition is avoided by issuing PURGE command from the close

Re: [PATCH] arm: dts: qcom: Add board clocks

2015-10-28 Thread Andy Gross
On Mon, Oct 26, 2015 at 06:26:53PM -0700, Stephen Boyd wrote: > These clocks are fixed rate board sources that should be in DT. > Add them. > > Cc: Georgi Djakov > Signed-off-by: Stephen Boyd > --- Reviewed-by: Andy Gross -- Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, In

Mukesh Ambani Charity Donation

2015-10-28 Thread ReserveBank
Dear Email User, This mandate is to inform you that you have been awarded 5crore Indian Rupees in Mukesh Ambani Charity donation held in New Delhi India,For claims send your NAME,ADDRESS AND PHONE NUMBER TO i...@reservebindia.onmicrosoft.com Your sincerely, Mrs. Renna Gupta Reserve Bank Of Indi

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-28 Thread Mike Kravetz
On 10/28/2015 02:00 PM, Hugh Dickins wrote: > On Wed, 28 Oct 2015, Mike Kravetz wrote: >> On 10/27/2015 08:34 PM, Hugh Dickins wrote: >> >> Thanks for the detailed response Hugh. I will try to address your questions >> and provide more reasoning behind the use case and need for this code. > > And

[PATCH 2/5] crypto: AES CBC multi-buffer data structures

2015-10-28 Thread Tim Chen
This patch introduces the data structures and prototypes of functions needed for doing AES CBC encryption using multi-buffer. Included are the structures of the multi-buffer AES CBC job, job scheduler in C and data structure defines in x86 assembly code. Originally-by: Chandramouli Narayanan Sig

[PATCH 0/5] x86 AES-CBC encryption with AVX2 multi-buffer

2015-10-28 Thread Tim Chen
In this patch series, we introduce AES CBC encryption that is parallelized on x86_64 cpu with AVX2. The multi-buffer technique takes advantage of wide AVX2 register and encrypt 8 data streams in parallel with SIMD instructions. Decryption is handled as in the existing AESNI Intel CBC implementatio

Re: [alsa-devel] [PATCH V2 02/10] ASoC: img: Add driver for I2S input controller

2015-10-28 Thread Damien Horsley
On 28/10/15 01:04, Mark Brown wrote: > On Tue, Oct 27, 2015 at 01:55:27PM +, Damien Horsley wrote: >> On 23/10/15 23:57, Mark Brown wrote: > >>> Shouldn't we be doing that flush on stream close instead? If nothing >>> else the flush is going to discard a bit of data if the stream is just >>>

[PATCH 1/5] crypto: Multi-buffer encryptioin infrastructure support

2015-10-28 Thread Tim Chen
In this patch, the infrastructure needed in support of multibuffer encryption implementation is added: a) Enhace mcryptd daemon to support blkcipher requests. b) Update configuration to include multi-buffer encryption build support. c) Add support to crypto scatterwalk that can sleep during enc

[PATCH 5/5] crypto: AES CBC multi-buffer glue code

2015-10-28 Thread Tim Chen
This patch introduces the multi-buffer job manager which is responsible for submitting scatter-gather buffers from several AES CBC jobs to the multi-buffer algorithm. The glue code interfaces with the underlying algorithm that handles 8 data streams of AES CBC encryption in parallel. AES key expan

[PATCH 3/5] crypto: AES CBC multi-buffer scheduler

2015-10-28 Thread Tim Chen
This patch implements in-order scheduler for encrypting multiple buffers in parallel supporting AES CBC encryption with key sizes of 128, 192 and 256 bits. It uses 8 data lanes by taking advantage of the SIMD instructions with AVX2 registers. The multibuffer manager and scheduler is mostly writte

[PATCH 4/5] crypto: AES CBC by8 encryption

2015-10-28 Thread Tim Chen
This patch introduces the assembly routine to do a by8 AES CBC encryption in support of the AES CBC multi-buffer implementation. Encryption of 8 data streams of a key size are done simultaneously. Originally-by: Chandramouli Narayanan Signed-off-by: Tim Chen --- arch/x86/crypto/aes-cbc-mb/aes

[PATCH] vfio: Include No-IOMMU mode

2015-10-28 Thread Alex Williamson
There is really no way to safely give a user full access to a DMA capable device without an IOMMU to protect the host system. There is also no way to provide DMA translation, for use cases such as device assignment to virtual machines. However, there are still those users that want userspace driv

[PATCH v2] arm64: dts: Added syscon-reboot node for FSL's LS2085A SoC

2015-10-28 Thread J. German Rivera
Added sys-reboot node to the FSL's LS2085A SoC DT to leverage the ARM-generic reboot mechanism for this SoC. This mechanism is enabled through CONFIG_POWER_RESET_SYSCON. Signed-off-by: J. German Rivera --- CHANGE HISTORY Changes in v2: - Address comment form Stuart Yoder: * Removed "@" from re

[PATCH 1/2] mm: mmap: Add new /proc tunable for mmap_base ASLR.

2015-10-28 Thread Daniel Cashman
From: dcashman ASLR currently only uses 8 bits to generate the random offset for the mmap base address on 32 bit architectures. This value was chosen to prevent a poorly chosen value from dividing the address space in such a way as to prevent large allocations. This may not be an issue on all pla

[PATCH 2/2] arm: mm: support ARCH_MMAP_RND_BITS.

2015-10-28 Thread Daniel Cashman
From: dcashman arm: arch_mmap_rnd() uses a hard-code value of 8 to generate the random offset for the mmap base address. This value represents a compromise between increased ASLR effectiveness and avoiding address-space fragmentation. Replace it with a Kconfig option, which is sensibly bounded,

Re: [PATCH 1/1] cpufreq: interactive: New 'interactive' governor

2015-10-28 Thread kbuild test robot
Hi Mike, [auto build test ERROR on pm/linux-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/B-lint-Czobor/cpufreq-interactive-New-interactive-governor/20151029-041207 config: i386-allmodconfig (attac

Re: [V5, 2/6] fsl/fman: Add FMan support

2015-10-28 Thread Scott Wood
On Tue, 2015-10-27 at 11:32 -0500, Liberman Igal-B31950 wrote: > > > + > > > +struct device *fman_get_device(struct fman *fman) { > > > + return fman->dev; > > > +} > > > > Is this really necessary? > > > > Fman port needs fman->dev, fman structure is opaque, so yes, it's needed. Why is opacit

Re: [PATCH v2] blktrace: re-write setting q->blk_trace

2015-10-28 Thread Jeff Moyer
Davidlohr Bueso writes: > This is really about simplifying the double xchg patterns into > a single cmpxchg, with the same logic. Other than the immediate > cleanup, there are some subtleties this change deals with: > > (i) While the load of the old bt is fully ordered wrt everything, > ie: > >

Re: [PATCH 2/5] iov: Reset resources to 0 if totalVFs increases after enabling ARI

2015-10-28 Thread Alexander Duyck
On 10/28/2015 12:52 PM, Bjorn Helgaas wrote: On Wed, Oct 28, 2015 at 11:32:14AM -0700, Alexander Duyck wrote: On 10/28/2015 09:37 AM, Bjorn Helgaas wrote: Hi Alex, On Tue, Oct 27, 2015 at 01:52:21PM -0700, Alexander Duyck wrote: This patch forces us to reallocate VF BARs if the totalVFs value

Re: [PATCH] vfio: Include No-IOMMU mode

2015-10-28 Thread Michael S. Tsirkin
On Wed, Oct 28, 2015 at 03:21:45PM -0600, Alex Williamson wrote: > There is really no way to safely give a user full access to a DMA > capable device without an IOMMU to protect the host system. There is > also no way to provide DMA translation, for use cases such as device > assignment to virtual

Re: [PATCH 1/5] iov: Update virtfn_max_buses to validate offset and stride

2015-10-28 Thread Alexander Duyck
On 10/28/2015 11:43 AM, Bjorn Helgaas wrote: On Wed, Oct 28, 2015 at 11:32:16AM -0500, Bjorn Helgaas wrote: Hi Alex, Thanks a lot for cleaning this up. I think this is a great improvement over what I did. On Tue, Oct 27, 2015 at 01:52:15PM -0700, Alexander Duyck wrote: This patch pulls the v

Re: [RFC PATCH] VFIO: Add a parameter to force nonthread IRQ

2015-10-28 Thread Yunhong Jiang
On Wed, Oct 28, 2015 at 12:18:48PM -0600, Alex Williamson wrote: > On Wed, 2015-10-28 at 10:50 -0700, Yunhong Jiang wrote: > > On Wed, Oct 28, 2015 at 01:44:55AM +0100, Paolo Bonzini wrote: > > It's in linux-next via the kvm.git next branch: > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git > >

[PATCH 1/1] cpufreq: interactive: New 'interactive' governor

2015-10-28 Thread Bálint Czobor
From: Mike Chan This governor is designed for latency-sensitive workloads, such as interactive user interfaces. The interactive governor aims to be significantly more responsive to ramp CPU quickly up when CPU-intensive activity begins. Existing governors sample CPU load at a particular rate, t

[PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-10-28 Thread Ross Zwisler
This series implements the very slow but correct handling for blkdev_issue_flush() with DAX mappings, as discussed here: https://lkml.org/lkml/2015/10/26/116 I don't think that we can actually do the on_each_cpu(sync_cache, ...); ...where sync_cache is something like: cache_disable();

[PATCH 2/2] pmem: Add simple and slow fsync/msync support

2015-10-28 Thread Ross Zwisler
Make blkdev_issue_flush() behave correctly according to its required semantics - all volatile cached data is flushed to stable storage. Eventually this needs to be replaced with something much more precise by tracking dirty DAX entries via the radix tree in struct address_space, but for now this g

[PATCH 1/2] pmem: add wb_cache_pmem() to the PMEM API

2015-10-28 Thread Ross Zwisler
The function __arch_wb_cache_pmem() was already an internal implementation detail of the x86 PMEM API, but this functionality needs to be exported as part of the general PMEM API to handle the fsync/msync case for DAX mmaps. Signed-off-by: Ross Zwisler --- arch/x86/include/asm/pmem.h | 11 ++

Re: [RESEND PATCH] scsi_sysfs: Fix queue_ramp_up_period return code

2015-10-28 Thread Matthew R. Ochs
> On Oct 27, 2015, at 4:49 AM, Peter Oberparleiter > wrote: > > Writing a number to /sys/bus/scsi/devices//queue_ramp_up_period > returns the value of that number instead of the number of bytes written. > This behavior can confuse programs expecting POSIX write() semantics. > Fix this by returni

Re: [PATCH] audit: removing unused variable

2015-10-28 Thread Joe Perches
On Wed, 2015-10-28 at 16:35 -0400, Paul Moore wrote: > On Wednesday, October 28, 2015 09:40:34 AM Saurabh Sengar wrote: > > variavle rc in not required as it is just used for unchanged for return, > > and return is always 0 in the function. [] > Thanks, applied with some spelling corrections to the

Re: RFC: 32-bit __data_len and REQ_DISCARD+REQ_SECURE

2015-10-28 Thread Jeff Moyer
Ulf Hansson writes: > I am not sure if this issue is the same as been discussed earlier on > the mmc list regarding "discard/erase". > > Anyway, there have been several attempts to fix bugs related to this. > One of these discussion kind of pointed out a viable solution, but > unfortunate no patc

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-10-28 Thread Jeff Moyer
Ross Zwisler writes: > This series implements the very slow but correct handling for > blkdev_issue_flush() with DAX mappings, as discussed here: > > https://lkml.org/lkml/2015/10/26/116 > > I don't think that we can actually do the > > on_each_cpu(sync_cache, ...); > > ...where sync_cache is

Re: [patch 3/3] vmstat: Create our own workqueue

2015-10-28 Thread Christoph Lameter
On Wed, 28 Oct 2015, Tetsuo Handa wrote: > Christoph Lameter wrote: > > On Wed, 28 Oct 2015, Tejun Heo wrote: > > > > > The only thing necessary here is WQ_MEM_RECLAIM. I don't see how > > > WQ_SYSFS and WQ_FREEZABLE make sense here. > > > I can still trigger silent livelock with this patchset ap

Re: [lustre-devel] [PATCH 08/10] staging: lustre: remove white space in libcfs_hash.h

2015-10-28 Thread Dilger, Andreas
On 2015/10/28, 10:54, "lustre-devel on behalf of James Simmons" wrote: >From: James Simmons > >Cleanup all the unneeded white space in libcfs_hash.h. > >Signed-off-by: James Simmons Minor note - it would be better to keep these two email addresses consistent. >struct cfs_hash_bd { >- str

Re: [lustre-devel] [PATCH 09/10] staging: lustre: fix remaining checkpatch issues for libcfs_hash.h

2015-10-28 Thread Dilger, Andreas
On 2015/10/28, 10:54, "lustre-devel on behalf of James Simmons" wrote: >From: James Simmons > >Final cleanup to make libcfs_hash.h completely kernel standard >compliant. > >Signed-off-by: James Simmons >--- > .../lustre/include/linux/libcfs/libcfs_hash.h | 16 >++-- > 1 files

RE: [Intel-wired-lan] [PATCH] fm10k:Fix error handling in the function fm10k_resume

2015-10-28 Thread Singh, Krishneil K
-Original Message- From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On Behalf Of Nicholas Krause Sent: Saturday, October 17, 2015 9:21 AM To: Kirsher, Jeffrey T Cc: linux-kernel@vger.kernel.org; intel-wired-...@lists.osuosl.org; net...@vger.kernel.org Subject: [I

[PATCH] uapi: mqueue.h: add missing linux/types.h include

2015-10-28 Thread Mike Frysinger
From: Mike Frysinger Commit 63159f5dcccb3858d88aaef800c4ee0eb4cc8577 changed the types from long to __kernel_long_t, but didn't add a linux/types.h include. Code that tries to include this header directly breaks: /usr/include/linux/mqueue.h:26:2: error: unknown type name '__kernel_long_t' __k

Re: [PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-28 Thread Marek Vasut
On Wednesday, October 28, 2015 at 09:55:24 PM, Robert Jarzmik wrote: > Brian Norris writes: > >> > Do some sorts of chipselects come into play here ? Ie. you can have > >> > one master with multiple NAND chips connected to it. > >> > >> Most NAND controllers support interacting with several chips

[PATCH] __div64_32: implement division by multiplication for 32-bit arches

2015-10-28 Thread Alexey Brodkin
Existing default implementation of __div64_32() for 32-bit arches unfolds into huge routine with tons of arithmetics like +, -, * and all of them in loops. That leads to obvious performance degradation if do_div() is frequently used. Good example is extensive TCP/IP traffic. That's what I'm gettin

[PATCH V5 6/9] device property: ACPI: Remove unused DMA APIs

2015-10-28 Thread Suravee Suthikulpanit
These DMA APIs are replaced with the newer versions, which return the enum dev_dma_attr. So, we can safely remove them. Signed-off-by: Suravee Suthikulpanit CC: Rafael J. Wysocki --- drivers/base/property.c | 13 - include/acpi/acpi_bus.h | 34 -- i

[PATCH V5 2/9] device property: Introducing enum dev_dma_attr

2015-10-28 Thread Suravee Suthikulpanit
A device could have one of the following DMA attributes: * DMA not supported * DMA non-coherent * DMA coherent So, this patch introduces enum dev_dma_attribute. This will be used by new APIs introduced in later patches. Signed-off-by: Suravee Suthikulpanit CC: Rafael J. Wysocki CC:

[PATCH V5 9/9] PCI: ACPI: Add support for PCI device DMA coherency

2015-10-28 Thread Suravee Suthikulpanit
This patch adds support for setting up PCI device DMA coherency from ACPI _CCA object that should normally be specified in the DSDT node of its PCI host bridge. Signed-off-by: Suravee Suthikulpanit Acked-by: Bjorn Helgaas Reviewed-by: Hanjun Guo CC: Rafael J. Wysocki --- drivers/pci/probe.c |

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-10-28 Thread Ross Zwisler
On Wed, Oct 28, 2015 at 06:24:29PM -0400, Jeff Moyer wrote: > Ross Zwisler writes: > > > This series implements the very slow but correct handling for > > blkdev_issue_flush() with DAX mappings, as discussed here: > > > > https://lkml.org/lkml/2015/10/26/116 > > > > I don't think that we can actu

[PATCH V5 7/9] of/pci: Fix pci_get_host_bridge_device leak

2015-10-28 Thread Suravee Suthikulpanit
In case of error, the current code return w/o calling pci_put_host_bridge_device. This patch fixes this. Signed-off-by: Suravee Suthikulpanit Acked-by: Bjorn Helgaas --- drivers/of/of_pci.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/of/of_pci.c b/drivers/of

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-28 Thread Andy Lutomirski
On Wed, Oct 28, 2015 at 9:12 AM, Michael S. Tsirkin wrote: > On Wed, Oct 28, 2015 at 11:32:34PM +0900, David Woodhouse wrote: >> > I don't have a problem with extending DMA API to address >> > more usecases. >> >> No, this isn't an extension. This is fixing a bug, on certain platforms >> where the

[PATCH V5 8/9] PCI: OF: Move of_pci_dma_configure() to pci_dma_configure()

2015-10-28 Thread Suravee Suthikulpanit
This patch move of_pci_dma_configure() to a more generic pci_dma_configure(), which can be extended by non-OF code (e.g. ACPI). This has no functional change. Signed-off-by: Suravee Suthikulpanit Acked-by: Rob Herring Acked-by: Bjorn Helgaas Reviewed-by: Hanjun Guo CC: Rafael J. Wysocki ---

[net-next PATCH] RDS: convert bind hash table to re-sizable hashtable

2015-10-28 Thread Santosh Shilimkar
To further improve the RDS connection scalabilty on massive systems where number of sockets grows into tens of thousands of sockets, there is a need of larger bind hashtable. Pre-allocated 8K or 16K table is not very flexible in terms of memory utilisation. The rhashtable infrastructure gives us t

[PATCH V5 3/9] ACPI: Adding DMA Attribute APIs for ACPI Device

2015-10-28 Thread Suravee Suthikulpanit
Adding acpi_get_dma_attr() to query DMA attributes of ACPI devices. It returns the enum dev_dma_attr, which communicates DMA information more clearly. This API replaces the acpi_check_dma(), which will be removed in subsequent patch. This patch also provides a convenient function, acpi_dma_support

[PATCH V5 5/9] device property: ACPI: Make use of the new DMA Attribute APIs

2015-10-28 Thread Suravee Suthikulpanit
Now that we have the new DMA attribute APIs, we can replace the older acpi_check_dma() and device_dma_is_coherent(). Signed-off-by: Suravee Suthikulpanit CC: Rafael J. Wysocki CC: Tom Lendacky CC: Herbert Xu CC: David S. Miller --- drivers/acpi/acpi_platform.c | 7 ++- driv

[PATCH V5 1/9] ACPI: Honor ACPI _CCA attribute setting

2015-10-28 Thread Suravee Suthikulpanit
From: Jeremy Linton ACPI configurations can now mark devices as noncoherent, support that choice. NOTE: This is required to support USB on ARM Juno Development Board. Signed-off-by: Jeremy Linton Signed-off-by: Suravee Suthikulpanit CC: Bjorn Helgaas CC: Catalin Marinas CC: Rob Herring CC:

[PATCH V5 0/9] PCI: ACPI: Setting up DMA coherency for PCI device from _CCA attribute

2015-10-28 Thread Suravee Suthikulpanit
This patch series adds support to setup DMA coherency for PCI device using the ACPI _CCA attribute. According to the ACPI spec, the _CCA attribute is required for ARM64. Therefore, this patch is a pre-req for ACPI PCI support for ARM64 which is currently in development. Also, this should not affec

Re: [PATCH v2 0/4] x86: sigcontext fixes, again

2015-10-28 Thread Toshi Kani
On Wed, 2015-10-28 at 13:22 -0600, Toshi Kani wrote: > On Wed, 2015-10-28 at 10:34 -0600, Toshi Kani wrote: > > On Wed, 2015-10-28 at 12:53 +0300, Stas Sergeev wrote: > > > 28.10.2015 03:04, Toshi Kani пишет: > > > > On Wed, 2015-10-28 at 07:37 +0900, Linus Torvalds wrote: > > > > > On Tue, Oct 27,

[PATCH V5 4/9] device property: Adding DMA Attribute APIs for Generic Devices

2015-10-28 Thread Suravee Suthikulpanit
The function device_dma_is_coherent() does not sufficiently communicate device DMA attributes. Instead, this patch introduces device_get_dma_attr(), which returns enum dev_dma_attr. It replaces the acpi_check_dma(), which will be removed in subsequent patch. This also provides a convenient functio

Re: [PATCH 0/2] "big hammer" for DAX msync/fsync correctness

2015-10-28 Thread Dan Williams
On Thu, Oct 29, 2015 at 7:24 AM, Jeff Moyer wrote: > Ross Zwisler writes: > >> This series implements the very slow but correct handling for >> blkdev_issue_flush() with DAX mappings, as discussed here: >> >> https://lkml.org/lkml/2015/10/26/116 >> >> I don't think that we can actually do the >>

Re: [PATCH 08/10] staging: lustre: remove white space in libcfs_hash.h

2015-10-28 Thread Greg Kroah-Hartman
On Wed, Oct 28, 2015 at 12:54:29PM -0400, James Simmons wrote: > From: James Simmons > > Cleanup all the unneeded white space in libcfs_hash.h. > > Signed-off-by: James Simmons > --- > .../lustre/include/linux/libcfs/libcfs_hash.h | 147 > ++-- > 1 files changed, 73 inse

Re: [PATCH 10/10] staging: lustre: remove white space in hash.c

2015-10-28 Thread Greg Kroah-Hartman
On Wed, Oct 28, 2015 at 12:54:31PM -0400, James Simmons wrote: > From: James Simmons > > Cleanup all the unneeded white space in hash.c. > > Signed-off-by: James Simmons > --- > drivers/staging/lustre/lustre/libcfs/hash.c | 336 > ++- > 1 files changed, 174 insertions

Re: [PATCH 2/2] pmem: Add simple and slow fsync/msync support

2015-10-28 Thread Dan Williams
On Thu, Oct 29, 2015 at 7:09 AM, Ross Zwisler wrote: > Make blkdev_issue_flush() behave correctly according to its required > semantics - all volatile cached data is flushed to stable storage. > > Eventually this needs to be replaced with something much more precise by > tracking dirty DAX entries

<    3   4   5   6   7   8   9   10   >