Re: [PATCH v3 1/3] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Jason A. Donenfeld
Hey Tom, On Wed, Dec 14, 2016 at 10:35 PM, Tom Herbert wrote: > Those look good, although I would probably just do 1,2,3 words and > then have a function that takes n words like jhash. Might want to call > these dword to distinguish from 32 bit words in jhash. So actually jhash_Nwords makes no s

Re: [PATCH] vfio/pci: Support error recovery

2016-12-14 Thread Alex Williamson
On Thu, 15 Dec 2016 00:20:20 +0200 "Michael S. Tsirkin" wrote: > On Tue, Dec 13, 2016 at 08:00:22PM -0700, Alex Williamson wrote: > > On Wed, 14 Dec 2016 03:58:17 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Tue, Dec 13, 2016 at 09:27:59AM -0700, Alex Williamson wrote: > > > > On Tue,

[PATCH perf/core REBASE 0/5] Reuse libbpf from samples/bpf

2016-12-14 Thread Joe Stringer
Arnaldo, here's the refresh of this series that you requested after the merge with net-next. It is based on commit 1f125a4aa4d8 ("tools lib bpf: Add flags to bpf_create_map()") from perf/core today. Patch #3 is new, but trivial. It has the biggest changes compared to the version that you previousl

[PATCH perf/core REBASE 2/5] samples/bpf: Switch over to libbpf

2016-12-14 Thread Joe Stringer
Now that libbpf under tools/lib/bpf/* is synced with the version from samples/bpf, we can get rid most of the libbpf library here. Signed-off-by: Joe Stringer Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Wang Nan Link: http://lkml.kernel.org/r/20161209024620.31660-6-...@ovn.org [ Use -I$(src

Re: linux-next: build warning after merge of the drivers-x86 tree

2016-12-14 Thread Darren Hart
On Wed, Dec 14, 2016 at 02:21:38PM -0800, Darren Hart wrote: > On Wed, Dec 14, 2016 at 01:50:44PM +1100, Stephen Rothwell wrote: > > Hi Darren, > > > > After merging the drivers-x86 tree, today's linux-next build (x86_64 > > allmodconfig) produced this warning: > > > > In file included from inclu

Re: [PATCH] vfio/pci: Support error recovery

2016-12-14 Thread Michael S. Tsirkin
On Wed, Dec 14, 2016 at 03:47:43PM -0700, Alex Williamson wrote: > On Thu, 15 Dec 2016 00:20:20 +0200 > "Michael S. Tsirkin" wrote: > > > On Tue, Dec 13, 2016 at 08:00:22PM -0700, Alex Williamson wrote: > > > On Wed, 14 Dec 2016 03:58:17 +0200 > > > "Michael S. Tsirkin" wrote: > > > > > > > O

[PATCH perf/core REBASE 1/5] samples/bpf: Make samples more libbpf-centric

2016-12-14 Thread Joe Stringer
Switch all of the sample code to use the function names from tools/lib/bpf so that they're consistent with that, and to declare their own log buffers. This allow the next commit to be purely devoted to getting rid of the duplicate library in samples/bpf. Signed-off-by: Joe Stringer Cc: Alexei Sta

[PATCH perf/core REBASE 3/5] tools lib bpf: Add bpf_prog_{attach,detach}

2016-12-14 Thread Joe Stringer
Commit d8c5b17f2bc0 ("samples: bpf: add userspace example for attaching eBPF programs to cgroups") added these functions to samples/libbpf, but during this merge all of the samples libbpf functionality is shifting to tools/lib/bpf. Shift these functions there. Signed-off-by: Joe Stringer --- Arna

[PATCH perf/core REBASE 4/5] samples/bpf: Remove perf_event_open() declaration

2016-12-14 Thread Joe Stringer
This declaration was made in samples/bpf/libbpf.c for convenience, but there's already one in tools/perf/perf-sys.h. Reuse that one. Committer notes: Testing it: $ make -j4 O=../build/v4.9.0-rc8+ samples/bpf/ make[1]: Entering directory '/home/build/v4.9.0-rc8+' CHK include/config/ke

[PATCH perf/core REBASE 5/5] samples/bpf: Move open_raw_sock to separate header

2016-12-14 Thread Joe Stringer
This function was declared in libbpf.c and was the only remaining function in this library, but has nothing to do with BPF. Shift it out into a new header, sock_example.h, and include it from the relevant samples. Signed-off-by: Joe Stringer Cc: Alexei Starovoitov Cc: Daniel Borkmann Cc: Wang N

[PATCH] platform/x86: thinkpad_acpi: Initialize local in_tablet_mode

2016-12-14 Thread Darren Hart
linux-next reported in_tablet_mode may be used uninitialized after: b31800283868 ("platform/x86: thinkpad_acpi: Move tablet detection into separate function") This turns out to be a false positive as the pr_info call cannot be reached if tp_features.hotkey_tablet (global scope) is 0, and in_tabl

[PATCH] net: sfc: use new api ethtool_{get|set}_link_ksettings

2016-12-14 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/sfc/ethtool.c| 35 --- drivers/net/ethernet/sfc/mcdi_port.c | 60 drivers/n

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

2016-12-14 Thread Sebastien Bourdelin
These device trees add support for the TS-4600 by Technologic Systems. More details here: http://wiki.embeddedarm.com/wiki/TS-4600 Signed-off-by: Sebastien Bourdelin --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx28-ts4600-common.dtsi | 78

[PATCH 0/6] Add board support for TS-4600

2016-12-14 Thread Sebastien Bourdelin
This patch serie adds support for the TS-4600 boards rev A and B. These boards, manufactured by Technologic Systems, are based on an i.MX28. This serie include the support for the watchdog which could be enable at Linux boot time depending on the bootloader. The watchdog and few peripherals are i

[PATCH 6/6] watchdog: ts4600: add driver for TS-4600 watchdog

2016-12-14 Thread Sebastien Bourdelin
This watchdog is instantiated in a FPGA and can only be access using a GPIOs bit-banged bus, called the NBUS by Technologic Systems. The watchdog is made of only one register, called the feed register. Writing to this register will re-arm the watchdog for a given time (and enable it if it was disab

[PATCH 5/6] ARM: dts: TS-4600: add NBUS support

2016-12-14 Thread Sebastien Bourdelin
This commit enables the NBUS on the TS-4600, using the ts-nbus driver. Signed-off-by: Sebastien Bourdelin --- arch/arm/boot/dts/imx28-ts4600-common.dtsi | 43 ++ 1 file changed, 43 insertions(+) diff --git a/arch/arm/boot/dts/imx28-ts4600-common.dtsi b/arch/arm/boot

[PATCH 3/6] dt-bindings: bus: Add documentation for the Technologic Systems NBUS

2016-12-14 Thread Sebastien Bourdelin
Add binding documentation for the Technologic Systems NBUS that is used to interface with peripherals in the FPGA of the TS-4600 SoM. Signed-off-by: Sebastien Bourdelin --- Documentation/devicetree/bindings/bus/ts-nbus.txt | 50 +++ 1 file changed, 50 insertions(+) create mo

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

2016-12-14 Thread Sebastien Bourdelin
These device trees add support for the TS-4600 by Technologic Systems. More details here: http://wiki.embeddedarm.com/wiki/TS-4600 Signed-off-by: Sebastien Bourdelin --- arch/arm/boot/dts/Makefile | 2 + arch/arm/boot/dts/imx28-ts4600-common.dtsi | 78

Re: [PATCH v3 1/3] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Tom Herbert
On Wed, Dec 14, 2016 at 2:56 PM, Jason A. Donenfeld wrote: > Hey Tom, > > On Wed, Dec 14, 2016 at 10:35 PM, Tom Herbert wrote: >> Those look good, although I would probably just do 1,2,3 words and >> then have a function that takes n words like jhash. Might want to call >> these dword to distingu

[PATCH 4/6] bus: add driver for the Technologic Systems NBUS

2016-12-14 Thread Sebastien Bourdelin
This driver implements a GPIOs bit-banged bus, called the NBUS by Technologic Systems. It is used to communicate with the peripherals in the FPGA on the TS-4600 SoM. Signed-off-by: Sebastien Bourdelin --- drivers/bus/Kconfig | 9 + drivers/bus/Makefile| 1 + drivers/bus/ts-nbus.c |

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

2016-12-14 Thread Sebastien Bourdelin
This adds the documentation for the TS-4600 by Technologic Systems. Signed-off-by: Sebastien Bourdelin --- Documentation/devicetree/bindings/arm/technologic.txt | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/technologic.txt b/Documentation/devicet

Re: [PATCH] Add +~800M crashkernel explaination

2016-12-14 Thread Xunlei Pang
On 12/15/2016 at 01:50 AM, Robert LeBlanc wrote: > On Tue, Dec 13, 2016 at 8:08 PM, Xunlei Pang wrote: >> On 12/10/2016 at 01:20 PM, Robert LeBlanc wrote: >>> On Fri, Dec 9, 2016 at 7:49 PM, Baoquan He wrote: On 12/09/16 at 05:22pm, Robert LeBlanc wrote: > When trying to configure crashk

Re: [kernel-hardening] [RFC 0/4] make call_usermodehelper a bit more "safe"

2016-12-14 Thread Greg Kroah-Hartman
On Wed, Dec 14, 2016 at 10:28:18PM +0100, Jason A. Donenfeld wrote: > Hi Greg, > > On Wed, Dec 14, 2016 at 7:50 PM, Greg KH wrote: > > So, anyone have any better ideas? Is this approach worth it? Or should > > we just go down the "whitelist" path? > > I think your approach is generally better

Re: [PATCH v3 1/3] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Jason A. Donenfeld
Hey Tom, On Thu, Dec 15, 2016 at 12:14 AM, Tom Herbert wrote: > I'm confused, doesn't 2dword == 1qword? Anyway, I think the qword > functions are good enough. If someone needs to hash over some odd > length they can either put them in a structure padded to 64 bits or > call the hash function that

Re: page allocation stall in kernel 4.9 when copying files from one btrfs hdd to another

2016-12-14 Thread Xin Zhou
Hi, The dirty data is in large amount, probably unable to commit to disk. And this seems to happen when copying from 7200rpm to 5600rpm disks, according to previous post. Probably the I/Os are buffered and pending, unable to get finished in-time. It might be helpful to know if this only happens

Re: [PATCH] genirq/affinity: fix node generation from cpumask

2016-12-14 Thread Gavin Shan
On Wed, Dec 14, 2016 at 04:01:12PM -0200, Guilherme G. Piccoli wrote: >Commit 34c3d9819fda ("genirq/affinity: Provide smarter irq spreading >infrastructure") introduced a better IRQ spreading mechanism, taking >account of the available NUMA nodes in the machine. > >Problem is that the algorithm of

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

2016-12-14 Thread Stephen Rothwell
Hi David, Today's linux-next merge of the btrfs-kdave tree got a conflict in: fs/btrfs/inode.c between commit: 70fd76140a6c ("block,fs: use REQ_* flags directly") from Linus' tree and commit: da17066c4047 ("btrfs: pull node/sector/stripe sizes out of root and into fs_info") from the b

Re: [PATCH 3/3] hv_netvsc: Implement VF matching based on serial numbers

2016-12-14 Thread Greg KH
On Wed, Dec 14, 2016 at 11:18:59PM +, Haiyang Zhang wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Saturday, December 10, 2016 7:21 AM > > To: Stephen Hemminger > > Cc: Haiyang Zhang ; o...@aepfle.de; > > jasow...@redhat.com; linux-k

Re: [PATCH v2 1/4] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Jason A. Donenfeld
Hi Hannes, On Wed, Dec 14, 2016 at 11:03 PM, Hannes Frederic Sowa wrote: > I fear that the alignment requirement will be a source of bugs on 32 bit > machines, where you cannot even simply take a well aligned struct on a > stack and put it into the normal siphash(aligned) function without > addin

Re: CVE-2016-7097 causes acl leak

2016-12-14 Thread Greg KH
On Wed, Dec 14, 2016 at 12:20:50PM -0800, Mark Salyzyn wrote: > On 12/13/2016 04:00 PM, Greg KH wrote: > > On Tue, Dec 13, 2016 at 03:42:58PM -0800, Mark Salyzyn wrote: > > > On 12/12/2016 10:26 PM, Cong Wang wrote: > > > > On Mon, Dec 12, 2016 at 4:26 PM, Mark Salyzyn > > > > wrote: > > > > > Th

Re: [PATCH v3 1/3] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Linus Torvalds
On Wed, Dec 14, 2016 at 2:56 PM, Jason A. Donenfeld wrote: > > So actually jhash_Nwords makes no sense, since it takes dwords > (32-bits) not words (16-bits). The siphash analog should be called > siphash24_Nqwords. No. The bug is talking about "words" in the first place. Depending on your backg

Re: [PATCH] vfio/pci: Support error recovery

2016-12-14 Thread Alex Williamson
On Thu, 15 Dec 2016 01:00:06 +0200 "Michael S. Tsirkin" wrote: > On Wed, Dec 14, 2016 at 03:47:43PM -0700, Alex Williamson wrote: > > On Thu, 15 Dec 2016 00:20:20 +0200 > > "Michael S. Tsirkin" wrote: > > > > > On Tue, Dec 13, 2016 at 08:00:22PM -0700, Alex Williamson wrote: > > > > On Wed,

Re: [PATCH v3 1/3] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Jason A. Donenfeld
Hey Linus, On Thu, Dec 15, 2016 at 12:30 AM, Linus Torvalds wrote: > No. The bug is talking about "words" in the first place. > > Depending on your background, a "word" can be generally be either 16 > bits or 32 bits (or, in some cases, 18 bits). > > In theory, a 64-bit entity can be a "word" too

Re: 4.9.0 build error on Alpha

2016-12-14 Thread Bob Tracy
Quick followup: tried another "from scratch" build with a stable compilation environment. No difference. Current gcc and binutils versions are as follows: gcc version 6.2.1 20161212 (Debian 6.2.1-6) GNU ld (GNU Binutils for Debian) 2.27.51.20161212 As always, thanks in advance for any help in r

Re: [PATCH v2 01/46] mtdpart: Propagate _get/put_device()

2016-12-14 Thread Brian Norris
On Wed, Dec 14, 2016 at 10:12:42PM +0100, Richard Weinberger wrote: > On 14.12.2016 22:09, Brian Norris wrote: > > Also, note that this isn't a regression; it's been broken forever and > > apparently no one noticed. IMO that raises the bar a bit (but not > > impossibly so) for -stable. > > Yes. AF

[PATCHv2] x86/mm: drop unused argument sync_global_pgds()

2016-12-14 Thread Kirill A. Shutemov
There's no users that want sync_global_pgd(.remove=1) since af2cf278ef4f ("x86/mm/hotplug: Don't remove PGD entries in remove_pagetable()"). Let's drop 'removed'. Signed-off-by: Kirill A. Shutemov --- arch/x86/include/asm/pgtable_64.h | 3 +-- arch/x86/mm/fault.c | 2 +- arch/x8

Re: Moratorium on coding style patches (was Re: [PATCH] include/linux/kernel.h: fixed coding style issues)

2016-12-14 Thread Joe Perches
On Wed, 2016-12-14 at 18:13 +, Måns Rullgård wrote: > Alexey Dobriyan writes: > > I call for a tree wide moratorium on pure coding style changes. [] > I'd relax this slightly and say don't do style > patches unless as a prelude to some real work. And exclude drivers/staging

Re: jemalloc testsuite stalls in memset

2016-12-14 Thread Minchan Kim
Hello, First of all, thanks for the report and sorry I have no time now so maybe I should investigate the problem next week. On Wed, Dec 14, 2016 at 03:34:54PM +0100, Andreas Schwab wrote: > When running the jemalloc-4.4.0 testsuite on aarch64 with glibc 2.24 the > test/unit/junk test hangs in me

Re: [PATCH 3/3] hv_netvsc: Implement VF matching based on serial numbers

2016-12-14 Thread Stephen Hemminger
On Wed, 14 Dec 2016 15:27:58 -0800 Greg KH wrote: > On Wed, Dec 14, 2016 at 11:18:59PM +, Haiyang Zhang wrote: > > > > > > > -Original Message- > > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > > Sent: Saturday, December 10, 2016 7:21 AM > > > To: Stephen Hemminger > >

[PATCH 05/37] ARM: dts: imx6*-nitrogen6x: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Dong Aisheng Cc: Eric Nelson Cc: Gary Bisson Cc: Lucas Stach Cc: Markus Pargmann Cc: Michael Olbrich Cc: Peter Seid

[PATCH 18/37] ARM: dts: imx6qdl-nit6xlite: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Gary Bisson Cc: Geert Uytterhoeven Cc: Lucas Stach Cc: Uwe Kleine-König Signed-off-by: Alexandre Belloni --- arch/a

[PATCH 14/37] ARM: dts: imx6q-cm-fx6: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Christopher Spinrath Cc: Igor Grinberg Cc: Uwe Kleine-König Cc: Valentin Raevsky Signed-off-by: Alexandre Belloni --

[PATCH 36/37] ARM: dts: vf610-zii-dev-rev-b: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Andrew Lunn Cc: Cory Tusar Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/vf610-zii-dev-rev-b.dts | 10 +-

[PATCH 29/37] ARM: dts: imx6ul-pico-hobbit: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Diego Dorta Cc: Geert Uytterhoeven Cc: Vanessa Maegima Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6ul

[PATCH 34/37] ARM: dts: vf610m4: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Arnd Bergmann Cc: Joachim Eastwood Cc: Stefan Agner Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/vf610m4.d

[PATCH 27/37] ARM: dts: imx6sx-sdb-sai: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6sx-sdb-sai.dts | 10 +- 1 file changed, 5 insertions(+),

Re: [PATCH] arm: dt: Initialize boot_command_line from CONFIG_CMDLINE in case DT does not provide /chosen/bootargs

2016-12-14 Thread Russell King - ARM Linux
On Wed, Dec 14, 2016 at 10:12:43PM +0100, Pali Rohár wrote: > Commit 008a2ebcd677 ("ARM: dts: omap3: Remove skeleton.dtsi usage") broke > support for setting cmdline on Nokia N900 via CONFIG_CMDLINE. > > It is because arm code booted in DT mode parse cmdline only via function > early_init_dt_scan_

[PATCH 35/37] ARM: dts: vf610-twr: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Bill Pringlemeir Cc: Chao Fu Cc: Chircu Bogdan Cc: Cory Tusar Cc: Cosmin Stoica Cc: Eddy Petrisor Cc: Fugang Duan

[PATCH 37/37] ARM: dts: vfxxx: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Bhuvanchandra DV Cc: Bill Pringlemeir Cc: Cory Tusar Cc: Frank Li Cc: Guenter Roeck Cc: Sanchayan Maity Cc: Stefan

[PATCH 33/37] ARM: dts: vf610m4-cosmic: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Afzal Mohammed Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/vf610m4-cosmic.dts | 10 +- 1 file chang

[PATCH 22/37] ARM: dts: imx6q-h100: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Lucas Stach Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6q-h100.dts | 10 +- 1 file changed, 5 i

[PATCH 26/37] ARM: dts: imx6sx-nitrogen6sx: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Gary Bisson Cc: Geert Uytterhoeven Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6sx-nitrogen6sx.dts | 10

[PATCH 25/37] ARM: dts: imx6q-ts4900: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Lucile Quirion Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6q-ts4900.dts | 10 +- 1 file changed

[PATCH 31/37] ARM: dts: vf500: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Bhuvanchandra DV Cc: Sanchayan Maity Cc: Stefan Agner Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/vf500.d

[PATCH 23/37] ARM: dts: imx6q-icore-rqs: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Michael Trimarchi Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6q-icore-rqs.dts | 10 +- 1 file c

Re: [PATCH v3 1/4] pinctrl: aspeed: Read and write bits in LPC and GFX controllers

2016-12-14 Thread Andrew Jeffery
On Wed, 2016-12-14 at 10:46 -0600, Rob Herring wrote: > >> > +   compatible = "aspeed,g5-pinctrl"; > >> > >> There's no register range for pinctrl? > > > > This may be a mistake on my part; when I wrote this I had no experience > > with writing devicetree bindings (and still don't h

[PATCH 16/37] ARM: dts: imx6qdl-icore-rqs: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Michael Trimarchi Cc: Uwe Kleine-König Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6qdl-icore-rqs.dtsi

[PATCH 30/37] ARM: dts: vf*-colibri: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Arnd Bergmann Cc: Bhuvanchandra DV Cc: Cory Tusar Cc: Sanchayan Maity Cc: Stefan Agner Signed-off-by: Alexandre Bell

[PATCH 32/37] ARM: dts: vf610: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Bhuvanchandra DV Cc: Chao Fu Cc: Chircu Bogdan Cc: Cosmin Stoica Cc: Daniel Lezcano Cc: Eddy Petrisor Cc: Fugang Du

[PATCH 15/37] ARM: dts: imx6qdl-apalis: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Geert Uytterhoeven Cc: Marcel Ziswiler Cc: Petr Štetiar Cc: Uwe Kleine-König Signed-off-by: Alexandre Belloni --- a

[PATCH 19/37] ARM: dts: imx6*-nitrogen6_max: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Gary Bisson Cc: Lucas Stach Cc: Sudeep Holla Cc: Uwe Kleine-König Signed-off-by: Alexandre Belloni --- arch/arm/boo

[PATCH 20/37] ARM: dts: imx6*-sabrelite: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Dong Aisheng Cc: Eric Nelson Cc: Gary Bisson Cc: Hui Wang Cc: Lucas Stach Cc: Marek Vasut Cc: Markus Pargmann Cc:

[PATCH 17/37] ARM: dts: imx6*-microsom: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Geert Uytterhoeven Cc: Rabeeh Khoury Cc: Russell King Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6qdl

[PATCH 21/37] ARM: dts: imx6qdl-ts4900: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Lucile Quirion Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6qdl-ts4900.dtsi | 10 +- 1 file chan

[PATCH 24/37] ARM: dts: imx6q-marsboard: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Sergio Prado Cc: Uwe Kleine-König Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6q-marsboard.dts | 10 +++

Re: linux-next: build warning after merge of the drivers-x86 tree

2016-12-14 Thread Stephen Rothwell
Hi Darren, On Wed, 14 Dec 2016 14:59:14 -0800 Darren Hart wrote: > > On Wed, Dec 14, 2016 at 02:21:38PM -0800, Darren Hart wrote: > > On Wed, Dec 14, 2016 at 01:50:44PM +1100, Stephen Rothwell wrote: > > > > > > After merging the drivers-x86 tree, today's linux-next build (x86_64 > > > allmodc

[PATCH 28/37] ARM: dts: imx6ul-geam: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Jagan Teki Cc: Matteo Lisi Cc: Michael Trimarchi Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6ul-geam-

[PATCH 12/37] ARM: dts: imx6q-ba16: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Akshay Bhat Cc: Geert Uytterhoeven Cc: Justin Waters Cc: Uwe Kleine-König Signed-off-by: Alexandre Belloni --- arch

[PATCH 13/37] ARM: dts: imx6q-bx50v3: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Akshay Bhat Cc: Justin Waters Cc: Ken Lin Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6q-bx50v3.dtsi |

[PATCH 10/37] ARM: dts: imx6q-b650v3: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Akshay Bhat Cc: Ken Lin Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6q-b650v3.dts | 10 +- 1 fi

[PATCH 03/37] ARM: dts: imx6*-hummingboard: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Dong Aisheng Cc: Rabeeh Khoury Cc: Russell King Cc: Ulf Hansson Signed-off-by: Alexandre Belloni --- arch/arm/boot/

[PATCH] ARM: dts: tegra124-apalis: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Marcel Ziswiler Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/tegra124-apalis-emc.dtsi | 10 +- arch/

[PATCH 11/37] ARM: dts: imx6q-b850v3: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Akshay Bhat Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6q-b850v3.dts | 10 +- 1 file changed, 5

[PATCH 08/37] ARM: dts: imx6q-apalis-ixora: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Bjorn Helgaas Cc: Juergen Borleis Cc: Lucas Stach Cc: Marcel Ziswiler Cc: Petr Štetiar Signed-off-by: Alexandre Bell

[PATCH 09/37] ARM: dts: imx6q-b450v3: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Akshay Bhat Cc: Ken Lin Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6q-b450v3.dts | 10 +- 1 fi

[PATCH 06/37] ARM: dts: imx6dl-sabrelite: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Gary Bisson Cc: Troy Kisky Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6dl-sabrelite.dts | 10 +

[PATCH 01/37] ARM: dts: imx6dl-aristainetos2: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Dong Aisheng Cc: Geert Uytterhoeven Cc: Heiko Schocher Cc: Rafał Miłecki Cc: Ulf Hansson Signed-off-by: Alexandre Be

[PATCH 07/37] ARM: dts: imx6dl-ts4900: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Lucile Quirion Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6dl-ts4900.dts | 10 +- 1 file change

[PATCH 04/37] ARM: dts: imx6dl-nit6xlite: Correct license text

2016-12-14 Thread Alexandre Belloni
The license test has been mangled at some point then copy pasted across multiple files. Restore it to what it should be. Note that this is not intended as a license change. Cc: Gary Bisson Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6dl-nit6xlite.dts | 10 +- 1 file change

[PATCH 02/37] ARM: dts: imx6*-cubox-i: Correct license text

2016-12-14 Thread Alexandre Belloni
Cc: Dong Aisheng Cc: George Joseph Cc: Philipp Zabel Cc: Russell King Cc: Ulf Hansson Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/imx6dl-cubox-i.dts | 10 +- arch/arm/boot/dts/imx6q-cubox-i.dts| 10 +- arch/arm/boot/dts/imx6qdl-cubox-i.dtsi | 10 +- 3

[RFC PATCH 4/4] staging: android: ion: Call dma_map_sg for syncing and mapping

2016-12-14 Thread Laura Abbott
Technically, calling dma_buf_map_attachment should return a buffer properly dma_mapped. Add calls to dma_map_sg to begin_cpu_access to ensure this happens. As a side effect, this lets Ion buffers take advantage of the dma_buf sync ioctls. Not-signed-off-by: Laura Abbott --- drivers/staging/andr

[RFC PATCH 2/4] staging: android: ion: Duplicate sg_table

2016-12-14 Thread Laura Abbott
Ion currently returns a single sg_table on each dma_map call. This is incorrect for later usage. Not-signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.c | 32 +++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/drivers/staging/android/ion

[RFC PATCH 1/4] staging: android: ion: Some cleanup

2016-12-14 Thread Laura Abbott
- dmap_cnt isn't used. Remove it. - Ion has been using dma apis incorrectly to sync the caches. Remove bad usage in preparation for something better. - The alignment field doesn't actually change the alignment of an allocation, it only serves as an error check. This is basically pointless. R

[RFC PATCH 0/4] Ion caching (yet again) proof of concept

2016-12-14 Thread Laura Abbott
Hi, I've been (once again) looking at alternate caching models for Ion. Part of this work is also to make Ion fit better in to the dma_buf model. Ion is a bit unusual for dma_buf. Most drivers that support dma_buf have two parts: exporting buffers that a driver allocates and importing buffers al

[RFC PATCH 3/4] staging: android: ion: Remove page faulting support

2016-12-14 Thread Laura Abbott
Unclear if this is wanted or needed? Not-signed-off-by: Laura Abbott --- drivers/staging/android/ion/ion.c | 74 --- 1 file changed, 74 deletions(-) diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 76b874a0..86dba07 1

Re: [PATCH] arm: dt: Initialize boot_command_line from CONFIG_CMDLINE in case DT does not provide /chosen/bootargs

2016-12-14 Thread Pali Rohár
On Thursday 15 December 2016 00:52:24 Russell King - ARM Linux wrote: > On Wed, Dec 14, 2016 at 10:12:43PM +0100, Pali Rohár wrote: > > Commit 008a2ebcd677 ("ARM: dts: omap3: Remove skeleton.dtsi usage") > > broke support for setting cmdline on Nokia N900 via > > CONFIG_CMDLINE. > > > > It is beca

Re: [PATCH 3/3] arm64: dts: rockchip: add clk-480m for ehci and ohci of rk3399

2016-12-14 Thread Doug Anderson
Hi, On Wed, Dec 14, 2016 at 2:11 AM, Xing Zheng wrote: > From: William wu > > We found that the suspend process was blocked when it run into > ehci/ohci module due to clk-480m of usb2-phy was disabled. > > The root cause is that usb2-phy suspended earlier than ehci/ohci > (usb2-phy will be auto

mmotm 2016-12-14-16-01 uploaded

2016-12-14 Thread akpm
The mm-of-the-moment snapshot 2016-12-14-16-01 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

Re: [rcu:rcu/next 25/36] include/linux/irqflags.h:79:3: error: implicit declaration of function 'arch_irqs_disabled_flags'

2016-12-14 Thread Paul E. McKenney
On Wed, Dec 14, 2016 at 10:54:54PM +0100, Richard Weinberger wrote: > Paul, > > On 08.08.2016 22:35, Paul E. McKenney wrote: > > On Mon, Aug 08, 2016 at 10:12:11PM +0200, Richard Weinberger wrote: > >> Paul, > >> > >> Am 15.06.2016 um 14:45 schrieb Paul E. McKenney: > >>> On Wed, Jun 15, 2016 at 0

Re: [PATCH v3 1/3] siphash: add cryptographically secure hashtable function

2016-12-14 Thread Linus Torvalds
On Wed, Dec 14, 2016 at 3:34 PM, Jason A. Donenfeld wrote: > > Or does your reasonable dislike of "word" still allow for the use of > dword and qword, so that the current function names of: dword really is confusing to people. If you have a MIPS background, it means 64 bits. While to people with

Re: [PATCH 1/3] clk: rockchip: rk3399: add USBPHYx_480M_SRC clock IDs

2016-12-14 Thread Doug Anderson
Hi, On Wed, Dec 14, 2016 at 2:11 AM, Xing Zheng wrote: > This patch add two clock IDs for the usb phy 480m source clocks. > > Signed-off-by: Xing Zheng > --- > > include/dt-bindings/clock/rk3399-cru.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/dt-bindings/clock/rk3399-cr

Re: [RFC] block: check partition alignment

2016-12-14 Thread Damien Le Moal
Stefan, On 12/15/16 01:47, Stefan Haberland wrote: > Partitions that are not aligned to the blocksize of a device may cause > invalid I/O requests because the blocklayer cares only about alignment > within the partition when building requests on partitions. > > device > |4096|

Re: [PATCH 2/3] clk: rockchip: rk3399: export 480M_SRC clocks id for usbphy0/usbphy1

2016-12-14 Thread Doug Anderson
Hi, On Wed, Dec 14, 2016 at 2:11 AM, Xing Zheng wrote: > This patch exports USBPHYx_480M_SRC clocks for usbphy. > > Signed-off-by: Xing Zheng > --- > > drivers/clk/rockchip/clk-rk3399.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) As mentioned in the dts patch, I don't think you

Re: [f2fs-dev] [GIT PULL] f2fs update for 4.10

2016-12-14 Thread Linus Torvalds
On Wed, Dec 14, 2016 at 11:18 AM, Jaegeuk Kim wrote: > > BTW, I just downloaded mainline, and tried to build a debian package but > failed due to missing Documentation/Changes. > > I've found out that it was renamed by commit 186128f753 > ("docs-rst: add documents to development-process") > > And

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

2016-12-14 Thread Stephen Rothwell
Hi Doug, Today's linux-next merge of the rdma tree got a conflict in: drivers/infiniband/sw/rxe/rxe_req.c between commit: 002e062e13db ("IB/rxe: Fix handling of erroneous WR") from Linus' tree and commit: 37f69f43fb5a ("IB/rxe: Hold refs when running tasklets") from the rdma tree. I f

Re: [PATCH 3/3] arm64: dts: rockchip: add clk-480m for ehci and ohci of rk3399

2016-12-14 Thread Brian Norris
Hi, I think Doug is probably right on most accounts, and I haven't thoroughly investigated all the claims. But a few thoughts: On Wed, Dec 14, 2016 at 04:10:38PM -0800, Doug Anderson wrote: > On Wed, Dec 14, 2016 at 2:11 AM, Xing Zheng wrote: > > From: William wu > > > > We found that the suspe

RE: [Qemu-devel] [PATCH v7 1/1] crypto: add virtio-crypto driver

2016-12-14 Thread Gonglei (Arei)
> > > On 12/14/2016 12:50 PM, Gonglei wrote: > > diff --git a/drivers/crypto/virtio/virtio_crypto_core.c > b/drivers/crypto/virtio/virtio_crypto_core.c > > new file mode 100644 > > index 000..c0854a1 > > --- /dev/null > > +++ b/drivers/crypto/virtio/virtio_crypto_core.c > > @@ -0,0 +1,474 @@

[PATCH 0/6] storvsc: Miscellaneous fixes and enhancements

2016-12-14 Thread kys
From: K. Y. Srinivasan Miscellaneous fixes and enhancements. K. Y. Srinivasan (3): storvsc: Enable tracking of queue depth storvsc: Remove the restriction on max segment size storvsc: Enable multi-queue support Long Li (3): storvsc: use tagged SRB requests if supported by the device s

[PATCH 3/6] storvsc: Enable multi-queue support

2016-12-14 Thread kys
From: K. Y. Srinivasan Enable multi-q support. We will allocate the outgoing channel using the following policy: 1. We will make every effort to pick a channel that is in the same NUMA node that is initiating the I/O 2. The mapping between the guest CPU and the outgoin

[PATCH 1/6] storvsc: Enable tracking of queue depth

2016-12-14 Thread kys
From: K. Y. Srinivasan Enable tracking of queue depth. Signed-off-by: K. Y. Srinivasan Reviewed-by: Long Li --- drivers/scsi/storvsc_drv.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c index 05526b7..ccb2101 10

<    2   3   4   5   6   7   8   9   >