Re: [PATCH 1/3] lightnvm: make core.c explicitly non-modular

2016-10-29 Thread Paul Gortmaker
[Re: [PATCH 1/3] lightnvm: make core.c explicitly non-modular] On 30/10/2016 (Sun 06:01) kbuild test robot wrote: > Hi Paul, > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.9-rc3 next-20161028] > [if your patch is applied to the wrong git tree, please drop us a note to

Re: [PATCH 23/60] block: introduce flag QUEUE_FLAG_NO_MP

2016-10-29 Thread Ming Lei
On Sat, Oct 29, 2016 at 11:29 PM, Christoph Hellwig wrote: > On Sat, Oct 29, 2016 at 04:08:22PM +0800, Ming Lei wrote: >> MD(especially raid1 and raid10) is a bit difficult to support >> multipage bvec, so introduce this flag for not enabling multipage >> bvec, then MD can still accept singlepage

Re: [RFC v1 02/14] bus1: provide stub cdev /dev/bus1

2016-10-29 Thread Arnd Bergmann
On Thursday 27 October 2016, Tom Gundersen wrote: > On Thu, Oct 27, 2016 at 11:11 AM, Arnd Bergmann wrote: > > On Thursday, October 27, 2016 1:54:05 AM CEST Tom Gundersen wrote: > >> On Thu, Oct 27, 2016 at 1:19 AM, Andy Lutomirski > >> wrote: > >> > This may have been covered elsewhere, but cou

Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list

2016-10-29 Thread Yury Norov
On Sat, Oct 29, 2016 at 11:54:08PM +0200, Arnd Bergmann wrote: > On Saturday, October 22, 2016 3:14:04 PM CEST Yury Norov wrote: > > The newer prlimit64 syscall provides all the functionality provided by > > the getrlimit and setrlimit syscalls and adds the pid of target process, > > so future arch

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Daniel Gruss
On 30.10.2016 00:01, Pavel Machek wrote: Hmm, maybe I'm glad I don't have a new machine :-). I assume you still get _some_ bitflips with generic "rowhammer"? 1 or 2 every 20-30 minutes...

Re: [PATCH 1/3] lightnvm: make core.c explicitly non-modular

2016-10-29 Thread kbuild test robot
Hi Paul, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc3 next-20161028] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Pavel Machek
On Sat 2016-10-29 23:49:57, Daniel Gruss wrote: > On 29.10.2016 23:45, Pavel Machek wrote: > >indy/sandy/haswell/skylake, so I'll just use the generic version...?) > > yes, generic might work, but i never tested it on anything that old... > > on my system i have >30 bit flips per second (ivy brid

Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list

2016-10-29 Thread Arnd Bergmann
On Saturday, October 22, 2016 3:14:04 PM CEST Yury Norov wrote: > The newer prlimit64 syscall provides all the functionality provided by > the getrlimit and setrlimit syscalls and adds the pid of target process, > so future architectures won't need to include getrlimit and setrlimit. > > Therefore

Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list

2016-10-29 Thread Arnd Bergmann
On Sunday, October 30, 2016 12:45:41 AM CEST Yury Norov wrote: > On Sat, Oct 29, 2016 at 11:02:40PM +0200, Arnd Bergmann wrote: > > On Saturday, October 22, 2016 3:14:04 PM CEST Yury Norov wrote: > > > The newer prlimit64 syscall provides all the functionality provided by > > > the getrlimit and se

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Daniel Gruss
On 29.10.2016 23:45, Pavel Machek wrote: indy/sandy/haswell/skylake, so I'll just use the generic version...?) yes, generic might work, but i never tested it on anything that old... on my system i have >30 bit flips per second (ivy bridge i5-3xxx) with the rowhammer-ivy test... sometimes even

Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list

2016-10-29 Thread Yury Norov
On Sat, Oct 29, 2016 at 11:02:40PM +0200, Arnd Bergmann wrote: > On Saturday, October 22, 2016 3:14:04 PM CEST Yury Norov wrote: > > The newer prlimit64 syscall provides all the functionality provided by > > the getrlimit and setrlimit syscalls and adds the pid of target process, > > so future arch

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Pavel Machek
On Sat 2016-10-29 23:07:59, Daniel Gruss wrote: > On 29.10.2016 23:05, Pavel Machek wrote: > >So far I did bzip2 and kernel compilation. I believe I can prevent > >flips in rowhammer-test with bzip2 going from 4 seconds to 5 > >seconds... let me see. > > can you prevent bitflips in this one? > htt

Re: [v2 2/2] fpga: Add support for Lattice iCE40 FPGAs

2016-10-29 Thread Joel Holdsworth
I just submitted a version of the driver without copy-pasted chip-select code. The PATCH v4 version uses a pair of zero-byte SPI transfers to control the CS line. I didn't get a response from the linux-spi mailing list, but in my opinion they're probably not going to want spi_set_cs to become

sound: bebop: strncmp length oddity

2016-10-29 Thread Joe Perches
15 isn't the length of the string, is that really what's desired? linux/next/sound/firewire/bebob/bebop.c - static bool check_audiophile_booted(struct fw_unit *unit) { char name[24] = {0}; if (fw_csr_string(unit->directory, CSR_MODEL, name, sizeof(nam

[PATCH v4 1/2] of: Add vendor prefix for Lattice Semiconductor

2016-10-29 Thread Joel Holdsworth
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 1992aa9..d64a835 100644 --- a/Documentation/devicetree/bindings/vendor-

[PATCH v4 2/2] fpga: Add support for Lattice iCE40 FPGAs

2016-10-29 Thread Joel Holdsworth
The Lattice iCE40 is a family of FPGAs with a minimalistic architecture and very regular structure, designed for low-cost, high-volume consumer and system applications. This patch adds support to the FPGA manager for configuring the SRAM of iCE40LM, iCE40LP, iCE40HX, iCE40 Ultra, iCE40 UltraLite a

Re: linux-next: build warning in Linus' tree

2016-10-29 Thread Geert Uytterhoeven
Hi Linus, On Fri, Oct 28, 2016 at 1:01 AM, Linus Torvalds wrote: > On Thu, Oct 27, 2016 at 3:48 PM, Linus Torvalds > wrote: >> >> I wonder if we should make KASAN depend on !COMPILE_TEST, because it >> does seem to disable a lot of build-time testing. > > Actually, we should probably just make t

Re: [PATCH/RFC 4/4] soc: renesas: Identify SoC and register with the SoC bus

2016-10-29 Thread Arnd Bergmann
On Saturday, October 22, 2016 9:44:11 AM CEST Geert Uytterhoeven wrote: > Hi Arnd, > > On Fri, Oct 21, 2016 at 11:16 PM, Arnd Bergmann wrote: > > On Friday, October 21, 2016 8:16:00 PM CEST Geert Uytterhoeven wrote: > >> On Wed, Oct 19, 2016 at 12:59 PM, Arnd Bergmann wrote: > >> > On Wednesday,

[PATCH] Staging: ks7010: ks7010_sdio.c: Fixed a coding style issue.

2016-10-29 Thread Manoj Sawai
Fixed a coding style error involving use of spaces instead of tabs. Signed-off-by: Manoj Sawai --- drivers/staging/ks7010/ks7010_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ks7010/ks7010_sdio.c b/drivers/staging/ks7010/ks7010_sdio.c index 81c46f4..

Re: [PATCH] net: phy: dp83848: add dp83822 PHY support

2016-10-29 Thread David Miller
From: Roger Quadros Date: Fri, 28 Oct 2016 12:40:20 +0300 > This PHY has a compatible register set with DP83848x so > add support for it. > > Acked-by: Andrew F. Davis > Signed-off-by: Roger Quadros Applied.

Linux 4.9-rc3

2016-10-29 Thread Linus Torvalds
Releasing rc3 on a Saturday, not to catch any people trying to game the rc release timing, but simply because I'll be traveling for the kernel summit tomorrow. It turns out that the bug that we thought was due to the new virtually mapped stacks during the rc2 release wasn't due to that at all, but

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-29 Thread Sven Joachim
On 2016-10-29 21:21 +0200, Tomas Janousek wrote: > On Sat, Oct 29, 2016 at 07:03:30PM +0200, Sven Joachim wrote: >> I cannot reproduce that, FWIW. Also, arch/x86/entry/vdso/Makefile seems >> to explicitly filter out -mfentry from the compiler flags, but maybe I >> misunderstand something. > > Com

Re: console issue since 3.6, console=ttyS1 hangs

2016-10-29 Thread Sean Young
On Fri, Oct 28, 2016 at 02:42:25PM -0500, Nathan Zimmer wrote: > On Thu, Oct 27, 2016 at 09:19:16PM +0100, Sean Young wrote: > > On Wed, Oct 26, 2016 at 01:16:16PM -0500, Nathan Zimmer wrote: > > > On 10/25/2016 03:41 PM, Sean Young wrote: > > > >On Mon, Oct 24, 2016 at 04:49:25PM -0500, Nathan Zim

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Daniel Gruss
On 29.10.2016 23:05, Pavel Machek wrote: So far I did bzip2 and kernel compilation. I believe I can prevent flips in rowhammer-test with bzip2 going from 4 seconds to 5 seconds... let me see. can you prevent bitflips in this one? https://github.com/IAIK/rowhammerjs/tree/master/native Ok, le

Re: [PATCH] [media] dib0700: fix nec repeat handling

2016-10-29 Thread Arnd Bergmann
On Thursday, October 13, 2016 10:28:44 PM CEST Sean Young wrote: > When receiving a nec repeat, ensure the correct scancode is repeated > rather than a random value from the stack. This removes the need > for the bogus uninitialized_var() and also fixes the warnings: > > drivers/media/usb/dvb-

Re: Linux-4.X-rcY patches can't be applied with git?

2016-10-29 Thread Linus Torvalds
On Mon, Oct 24, 2016 at 5:06 PM, Linus Torvalds wrote: > > Then I could just enable "--binary" and "-M", and see what happens. Let's see what happens with 4.9-rc3. Will anybody notice? Did I do it right? Linus

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Pavel Machek
Hi! On Sat 2016-10-29 22:05:16, Daniel Gruss wrote: > On 29.10.2016 21:42, Pavel Machek wrote: > >Congratulations. Now I'd like to take away your toys :-). > > I'm would like you to do that, but I'm very confident you're not successful > the way your starting ;) :-). Lets see. > >Not in my test

Re: [RFC v1 00/14] Bus1 Kernel Message Bus

2016-10-29 Thread Josh Triplett
On Thu, Oct 27, 2016 at 03:45:24AM +0300, Kirill A. Shutemov wrote: > On Wed, Oct 26, 2016 at 10:34:30PM +0200, David Herrmann wrote: > > Long story short: We have uid<->uid quotas so far, which prevent DoS > > attacks, unless you get access to a ridiculous amount of local UIDs. > > Details on whic

Re: [PATCH] asm-generic: Drop getrlimit and setrlimit syscalls from default list

2016-10-29 Thread Arnd Bergmann
On Saturday, October 22, 2016 3:14:04 PM CEST Yury Norov wrote: > The newer prlimit64 syscall provides all the functionality provided by > the getrlimit and setrlimit syscalls and adds the pid of target process, > so future architectures won't need to include getrlimit and setrlimit. > > Therefore

[PATCH 2/3] blackfin: make-bf561/coreb.c explicitly non-modular

2016-10-29 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: config BF561_COREB bool "Enable Core B loader" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the driver there is no doub

[PATCH 3/3] s390: char: make slp_ctl explicitly non-modular

2016-10-29 Thread Paul Gortmaker
The Makefile currently controlling compilation of this code is obj-y, meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modular usage, so that when reading the driver there is no doubt it is builtin-only. Since module_misc_device translates to de

[GIT pull] x86 fix for 4.9

2016-10-29 Thread Thomas Gleixner
Linus, please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus A single bugfix for the recent changes related to registering the boot cpu when this has not happened before prefill_possible_map(). The main probl

[PATCH 0/3] Add new builtin_misc_device users

2016-10-29 Thread Paul Gortmaker
The new macro builtin_misc_device doesn't currently exist anywhere other than Greg's char-misc tree. As such I was going to stagger the patches containing users of it by a merge window to avoid any dependency issues, but Greg offered to take the users in via the char-misc tree which also solves th

[PATCH 1/3] lightnvm: make core.c explicitly non-modular

2016-10-29 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/lightnvm/Kconfig:menuconfig NVM drivers/lightnvm/Kconfig: bool "Open-Channel SSD target support" ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially or

Re: [RFC v1 00/14] Bus1 Kernel Message Bus

2016-10-29 Thread Kirill A. Shutemov
On Wed, Oct 26, 2016 at 10:34:30PM +0200, David Herrmann wrote: > Long story short: We have uid<->uid quotas so far, which prevent DoS > attacks, unless you get access to a ridiculous amount of local UIDs. > Details on which resources are accounted can be found in the wiki [1]. Does only root user

Re: [RFC v1 01/14] bus1: add bus1(7) man-page

2016-10-29 Thread Kirill A. Shutemov
On Wed, Oct 26, 2016 at 09:17:57PM +0200, David Herrmann wrote: > +To receive messag payloads, each peer has an associated shmem-backed s/messag/message/ -- Kirill A. Shutemov

Re: [PATCH v2 01/10] phy: qcom-ufs: remove failure when rx/tx_iface_clk are absent

2016-10-29 Thread Vivek Gautam
Hi, On Wed, Oct 19, 2016 at 10:50 PM, Vivek Gautam wrote: > Hi, > > > On Wed, Oct 19, 2016 at 2:48 AM, Stephen Boyd wrote: >> On 10/18/2016 07:28 AM, Vivek Gautam wrote: >>> From: Yaniv Gardi >>> >>> Since in future UFS Phy's the tx_iface_clk and rx_iface_clk >>> are no longer exist, we should

[PATCH net-next] firewire: net: really fix maximum possible MTU

2016-10-29 Thread Stefan Richter
The maximum unicast datagram size /without/ link fragmentation is 4096 - 4 = 4092 (max IEEE 1394 async payload size at >= S800 bus speed, minus unfragmented encapssulation header). Max broadcast datagram size without fragmentation is 8 bytes less than that (due to GASP header). The maximum datagr

Re: [PATCH v2 04/10] phy: qcom-ufs-qmp-xx: Discard remove callback for drivers.

2016-10-29 Thread Vivek Gautam
Hi, On Thu, Oct 27, 2016 at 1:50 AM, Kishon Vijay Abraham I wrote: > > > On Tuesday 18 October 2016 07:58 PM, Vivek Gautam wrote: >> remove() callback does a phy_exit() only and nothing else now. > > remove callback calls a phy_power_off() ;-) Yea, correct. My bad. :) Will correct. [snip] T

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Linus Torvalds
On Sat, Oct 29, 2016 at 12:17 PM, Al Viro wrote: > > AFAICS, the possibility of dropping the last reference to struct file > before ->write_iter() has returned is fundamentally broken. I might be > missing something subtle here, but... Ok, let's add a get_file(); fput(); around that whole iter c

Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Daniel Gruss
On 29.10.2016 21:42, Pavel Machek wrote: Congratulations. Now I'd like to take away your toys :-). I'm would like you to do that, but I'm very confident you're not successful the way your starting ;) Not in my testing. Have you tried music/video reencoding? Games? Anything that works with

[PATCH 05/15] MIPS: TXx9: 7segled: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_WO for write only attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @wo@ declarer name DEVICE_ATTR; identifier x,x_store; @@ DEVIC

[PATCH 02/15] wusbcore: wusbhc: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RW for read-write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @rw@ declarer name DEVICE_ATTR; identifier x,x_show,x_store; @@

[PATCH 03/15] wm8350_power: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RO for read only attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @ro@ declarer name DEVICE_ATTR; identifier x,x_show; @@ DEVICE_

[PATCH 11/15] ASoC: dapm: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RO for read only attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @ro@ declarer name DEVICE_ATTR; identifier x,x_show; @@ DEVICE_

[PATCH 07/15] thermal: hwmon: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RO for read only attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @ro@ declarer name DEVICE_ATTR; identifier x,x_show; @@ DEVICE_

[PATCH 09/15] arch/tile: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RO for read only attributes and DEVICE_ATTR_RW for read-write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case is as follows: (http://coccinelle.lip6.fr/) // @ro@ declarer name DEVICE_

[PATCH 06/15] thermal: int340x_thermal: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RW for read-write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @rw@ declarer name DEVICE_ATTR; identifier x,x_show,x_store; @@

[PATCH 00/15] use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RO etc. for read only attributes etc. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The complete semantic patch is as follows: (http://coccinelle.lip6.fr/) // @ro@ declarer name DEVICE_ATTR; identifier x,x_show; @@ DEVICE_ATTR

[PATCH 12/15] ptp: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RO for read only attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @ro@ declarer name DEVICE_ATTR; identifier x,x_show; @@ DEVICE_

[PATCH 08/15] powerpc/iommu: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RW for read-write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @rw@ declarer name DEVICE_ATTR; identifier x,x_show,x_store; @@

[PATCH 04/15] video: fbdev: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RW for read-write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @rw@ declarer name DEVICE_ATTR; identifier x,x_show,x_store; @@

[PATCH 13/15] PCI/ASPM: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RW for read-write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @rw@ declarer name DEVICE_ATTR; identifier x,x_show,x_store; @@

[PATCH 15/15] solos-pci: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RW for read-write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @rw@ declarer name DEVICE_ATTR; identifier x,x_show,x_store; @@

[PATCH 14/15] tty: nozomi: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RO for read only attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @ro@ declarer name DEVICE_ATTR; identifier x,x_show; @@ DEVICE_

[PATCH 10/15] ASoC: omap-mcbsp: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_RW for read-write attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // @rw@ declarer name DEVICE_ATTR; identifier x,x_show,x_store; @@

[PATCH 01/15] wusbcore: dev-sysfs: use permission-specific DEVICE_ATTR variants

2016-10-29 Thread Julia Lawall
Use DEVICE_ATTR_WO for write ony attributes and DEVICE_ATTR_RO for read only attributes. This simplifies the source code, improves readbility, and reduces the chance of inconsistencies. The semantic patch for the RO case is as follows: (http://coccinelle.lip6.fr/) // @ro@ declarer name DEVICE_A

Re: Re: [kernel-hardening] rowhammer protection [was Re: Getting interrupt every million cache misses]

2016-10-29 Thread Pavel Machek
Hi! > I think that this idea to mitigate Rowhammer is not a good approach. Well.. it does not have to be good if it is the best we have. > I wrote Rowhammer.js (we published a paper on that) and I had the first > reproducible bit flips on DDR4 at both, increased and default refresh rates > (publ

[PATCH v2] ARM: pxa: em-x270: use the new pxa_camera platform_data

2016-10-29 Thread Robert Jarzmik
pxa_camera has transitioned from a soc_camera driver to a standalone v4l2 driver. Amend the device declaration accordingly. Signed-off-by: Robert Jarzmik --- Since v1: add regulator platform_device and missing include --- arch/arm/mach-pxa/em-x270.c | 89 +++--

[patch added to 3.12-stable] cfq: fix starvation of asynchronous writes

2016-10-29 Thread Jiri Slaby
From: Glauber Costa This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 3932a86b4b9d1f0b049d64d4591ce58ad18b44ec upstream. While debugging timeouts happening in my application workload (ScyllaDB), I have observed calls to op

[PATCH] unix: escape all null bytes in abstract unix domain socket

2016-10-29 Thread Isaac Boukris
Abstract unix domain socket may embed null characters, these should be translated to '@' when printed out to proc the same way the null prefix is currently being translated. This helps for tools such as netstat, lsof and the proc based implementation in ss to show all the significant bytes of the

[PATCH] iproute2: ss: escape all null bytes in abstract unix domain socket

2016-10-29 Thread Isaac Boukris
Abstract unix domain socket may embed null characters, these should be translated to '@' when printed by ss the same way the null prefix is currently being translated. Signed-off-by: Isaac Boukris --- misc/ss.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/misc/ss.c b/mi

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-29 Thread Tomas Janousek
On Sat, Oct 29, 2016 at 07:03:30PM +0200, Sven Joachim wrote: > I cannot reproduce that, FWIW. Also, arch/x86/entry/vdso/Makefile seems > to explicitly filter out -mfentry from the compiler flags, but maybe I > misunderstand something. Compiler flags, yes; assembler flags, no. Perhaps adding

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Al Viro
On Sat, Oct 29, 2016 at 12:07:07PM -0700, Linus Torvalds wrote: > On Sat, Oct 29, 2016 at 11:52 AM, Al Viro wrote: > > > > And that call can happen as soon as we return from __blockdev_direct_IO() > > (even earlier, actually). As soon as that happens, the reference to > > struct file we'd acquire

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Linus Torvalds
On Sat, Oct 29, 2016 at 11:52 AM, Al Viro wrote: > > And that call can happen as soon as we return from __blockdev_direct_IO() > (even earlier, actually). As soon as that happens, the reference to > struct file we'd acquired in io_submit_one() is dropped. If descriptor > table had been shared, a

[GIT PULL] UBI/UBIFS fixes for 4.9-rc3

2016-10-29 Thread Richard Weinberger
Linus, The following changes since commit 14970f204b1993af7459d5bd34aaff38dfee6670: Merge branch 'akpm' (patches from Andrew) (2016-10-27 19:58:39 -0700) are available in the git repository at: git://git.infradead.org/linux-ubifs.git tags/upstream-4.9-rc3 for you to fetch changes up to a00

[GIT PULL] ARM: SoC fixes

2016-10-29 Thread Olof Johansson
Hi Linus, The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git tags/armsoc-fixes for you to fetch changes up to b70e8beb

Re: [PATCH] [net-next] net: ip, diag: include net/inet_sock.h

2016-10-29 Thread David Miller
From: Arnd Bergmann Date: Tue, 25 Oct 2016 17:53:22 +0200 > The newly added raw_diag.c fails to build in some configurations > unless we include this header: > > In file included from net/ipv4/raw_diag.c:6:0: > include/net/raw.h:71:21: error: field 'inet' has incomplete type > net/ipv4/raw_diag.

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Al Viro
On Sat, Oct 29, 2016 at 10:47:58AM -0700, Linus Torvalds wrote: > Also, honestly, make it use a helper: "aio_file_start_write()" and > "aio_file_end_write()" that has the comments and the lockdep games. > > Because that patch is just too effing ugly. > > Does something like the attached work for

Applied "spi: dspi: clear SPI_SR before enable interrupt" to the spi tree

2016-10-29 Thread Mark Brown
The patch spi: dspi: clear SPI_SR before enable interrupt has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Re: [RFC 1/3] regulator: core: Add over current changed event

2016-10-29 Thread Mark Brown
On Fri, Oct 28, 2016 at 09:41:44PM +0200, Axel Haslam wrote: > i think today each time an event occurs a notification is sent with the > corresponding flag(s) set. Right, so I think the problem here is actually that you called this REGULATOR_EVENT_OVER_CURRENT_CHANGE with the _CHANGE on the end

Re: [PATCH v4 6/8] dt-bindings: Add support for Amlogic GXBB SCPI Interface

2016-10-29 Thread Olof Johansson
Hi, On Wed, Oct 5, 2016 at 12:33 AM, Neil Armstrong wrote: > Acked-by: Rob Herring > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/arm/arm,scpi.txt | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/arm/

Re: [PATCH v10 01/19] vfio: Mediated device Core driver

2016-10-29 Thread Jike Song
On 10/29/2016 06:06 PM, Kirti Wankhede wrote: > > > On 10/29/2016 10:00 AM, Jike Song wrote: >> On 10/27/2016 05:29 AM, Kirti Wankhede wrote: >>> +int mdev_register_device(struct device *dev, const struct parent_ops *ops) >>> +{ >>> + int ret; >>> + struct parent_device *parent; >>> + >>> +

Applied "spi: sun4i: Allow transfers larger than FIFO size" to the spi tree

2016-10-29 Thread Mark Brown
The patch spi: sun4i: Allow transfers larger than FIFO size has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "ASoC: wm8580: Fix non static symbol warnings" to the asoc tree

2016-10-29 Thread Mark Brown
The patch ASoC: wm8580: Fix non static symbol warnings has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Re: [PATCH V2] pinctrl: qcom: Add msm8994 pinctrl driver

2016-10-29 Thread Bjorn Andersson
On Wed 26 Oct 16:32 PDT 2016, Michael Scott wrote: > Initial pinctrl driver for QCOM msm8994 platforms. > > In order to continue the initial board support for QCOM msm8994/msm8992 > presented in patches from Jeremy McNicoll , let's put > a proper pinctrl driver in place. > > Currently, the DT fo

Re: net/dccp: warning in dccp_feat_clone_sp_val/__might_sleep

2016-10-29 Thread Eric Dumazet
On Sat, 2016-10-29 at 19:59 +0200, Andrey Konovalov wrote: > Hi Eric, > > Tested with both patches applied, still seeing the warning. > > Thanks! Arg, sorry, this was at the wrong place. Thanks for testing ! diff --git a/net/dccp/output.c b/net/dccp/output.c index b66c84db0766..2548edff86ff 10

Re: [GIT PULL] STi DT update for v4.10 round 1

2016-10-29 Thread Olof Johansson
Hi, On Thu, Oct 20, 2016 at 04:27:10PM +0200, Patrice Chotard wrote: > Hi Arnd, Kevin, Olof > > PLease consider this first round of STi dts update for v4.10 : > > > The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: > > Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) > >

Re: [GIT PULL] STi defconfig updates for v4.10

2016-10-29 Thread Olof Johansson
On Thu, Oct 20, 2016 at 05:20:27PM +0200, Patrice Chotard wrote: > Hi Olof, Arnd and Kevin, > > Please consider this first round of multi_v7_defconfig updates for v4.10 : > > The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: > > Linux 4.9-rc1 (2016-10-15 12:17:50 -07

Re: net/dccp: warning in dccp_feat_clone_sp_val/__might_sleep

2016-10-29 Thread Andrey Konovalov
Hi Eric, Tested with both patches applied, still seeing the warning. Thanks! On Sat, Oct 29, 2016 at 7:43 PM, Eric Dumazet wrote: > On Sat, 2016-10-29 at 19:06 +0200, Andrey Konovalov wrote: >> Hi Cong, >> >> Tested with your patch, still getting a warning, though it's a little >> different: >

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Linus Torvalds
On Sat, Oct 29, 2016 at 8:20 AM, Christoph Hellwig wrote: > > We can't as that would not fix the use after free (at least for the lockdep > case - otherwise the call is a no-op). Once iter_op returns aio_complete > might have dropped our reference to the file, and another thread might > have clos

Re: net/dccp: warning in dccp_feat_clone_sp_val/__might_sleep

2016-10-29 Thread Eric Dumazet
On Sat, 2016-10-29 at 19:06 +0200, Andrey Konovalov wrote: > Hi Cong, > > Tested with your patch, still getting a warning, though it's a little > different: > > [ cut here ] > WARNING: CPU: 1 PID: 3876 at kernel/sched/core.c:7724 > __might_sleep+0x14c/0x1a0 kernel/sched/c

Re: [PATCH 00/14] introduce the BFQ-v0 I/O scheduler as an extra scheduler

2016-10-29 Thread Manuel Krause
Hey, people, don't you annoy yourselves all the time? The BFQ patches provide a useful alternative for the code called "legacy" by you, while you're not maintaining the base any more, and just about to invent something new, again. ?! When blk-mq has no scheduler -> work on it. When you want to

Re: net/dccp: warning in dccp_feat_clone_sp_val/__might_sleep

2016-10-29 Thread Andrey Konovalov
Hi Cong, Tested with your patch, still getting a warning, though it's a little different: [ cut here ] WARNING: CPU: 1 PID: 3876 at kernel/sched/core.c:7724 __might_sleep+0x14c/0x1a0 kernel/sched/core.c:7719 do not call blocking ops when !TASK_RUNNING; state=1 set at [] pr

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-29 Thread Sven Joachim
On 2016-10-29 12:10 +0200, Tomas Janousek wrote: > On Mon, Oct 24, 2016 at 07:32:30PM +0200, Sven Joachim wrote: >> The attached patch works for me with Debian's gcc-6 package. > > I tried your patch when building 4.8.5 on an up-to-date Debian testing and > still got this: > > AS arch/x86/e

Re: [PATCH v6 02/11] locking/osq: Drop the overload of osq_lock()

2016-10-29 Thread Davidlohr Bueso
On Fri, 28 Oct 2016, Pan Xinhui wrote: /* * If we need to reschedule bail... so we can block. +* Use vcpu_is_preempted to detech lock holder preemption issue ^^ detect + * and break. Could you please

[GIT PULL] Driver core fixes for 4.9-rc3

2016-10-29 Thread Greg KH
The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-4.9-rc3 for you to fetch changes up to 248ff

[GIT PULL] Char/Misc driver fixes for 4.9-rc3

2016-10-29 Thread Greg KH
The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-4.9-rc3 for you to fetch changes up to a7d5afe82

[GIT PULL] Staging/IIO driver fixes for 4.9-rc3

2016-10-29 Thread Greg KH
The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.9-rc3 for you to fetch changes up to e866dd8aab76b

[GIT PULL] TTY/Serial driver fixes for 4.9-rc3

2016-10-29 Thread Greg KH
The following changes since commit 07d9a380680d1c0eb51ef87ff2eab5c994949e69: Linux 4.9-rc2 (2016-10-23 17:10:14 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.9-rc3 for you to fetch changes up to d0f4bce2bce7e998abc906

[GIT PULL] USB driver fixes for 4.9-rc3

2016-10-29 Thread Greg KH
The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.9-rc3 for you to fetch changes up to c1aa67729a1d94373fb982

Re: Section mismatch in reference from the function generic_NCR5380_isa_match()

2016-10-29 Thread Johannes Thumshirn
On Sat, Oct 29, 2016 at 12:12:21PM +0200, Borislav Petkov wrote: > Hi, > > I'm seeing this during randconfig builds: > > WARNING: vmlinux.o(.text+0x1588439): Section mismatch in reference from the > function generic_NCR5380_isa_match() to the function .init.text:probe_intr() > The function gener

Re: [PATCH V2] pinctrl: qcom: Add msm8994 pinctrl driver

2016-10-29 Thread Michael Scott
Resending: The mailing lists bounced due me being silly and replying on my phone. Please reply to this email instead of the last one. On 10/29/2016 01:27 AM, Linus Walleij wrote: On Thu, Oct 27, 2016 at 1:32 AM, Michael Scott wrote: Initial pinctrl driver for QCOM msm8994 platforms. In ord

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Al Viro
On Sat, Oct 29, 2016 at 05:12:30PM +0100, Al Viro wrote: > NAK, with apologies for not having looked at that earlier. The bug is real, > all right, but this is not a solution - both incomplete and far too brittle. > > Why do we play that kind of insane games, anyway? Why not e.g. refcount > the

[PATCH -next] ASoC: wm8580: Fix non static symbol warnings

2016-10-29 Thread Wei Yongjun
From: Wei Yongjun Fixes the following sparse warnings: sound/soc/codecs/wm8580.c:988:33: warning: symbol 'wm8580_data' was not declared. Should it be static? sound/soc/codecs/wm8580.c:992:33: warning: symbol 'wm8581_data' was not declared. Should it be static? Signed-off-by: Wei Yongjun ---

[PATCH -next] ASoC: wm8580: Fix non static symbol warnings

2016-10-29 Thread Wei Yongjun
From: Wei Yongjun Fixes the following sparse warnings: sound/soc/codecs/wm8580.c:988:33: warning: symbol 'wm8580_data' was not declared. Should it be static? sound/soc/codecs/wm8580.c:992:33: warning: symbol 'wm8581_data' was not declared. Should it be static? Signed-off-by: Wei Yongjun ---

Re: [PATCH 2/3] ASoC: lpass-platform: Fix broken pcm data usage

2016-10-29 Thread Kenneth Westfield
On Fri, Oct 28, 2016 at 04:32:19PM +0100, Srinivas Kandagatla wrote: > This patch fixes lpass-platform driver which was broken in v4.9-rc1. > lpass_pcm_data data structure holds information specific to stream. > Holding a single private pointer to it in global lpass_data > will not work, because it

Re: [PATCH 1/3] ASoC: lpass-platform: use dma_ch instead of rdma_ch/wrdma_ch

2016-10-29 Thread Kenneth Westfield
On Fri, Oct 28, 2016 at 04:32:18PM +0100, Srinivas Kandagatla wrote: > This patch cleans up usage of wrdma_ch and rdma_ch variables into a > common variable dma_ch, As there is no real use of tracking the dma > channel in two different variables based on stream direction. > > Signed-off-by: Sriniv

Re: [PATCH] aio: fix a user triggered use after free (and fix freeze protection of aio writes)

2016-10-29 Thread Al Viro
On Sat, Oct 29, 2016 at 05:20:17PM +0200, Christoph Hellwig wrote: > On Sat, Oct 29, 2016 at 01:24:51PM +0100, Al Viro wrote: > > How about taking this chunk (i.e. telling lockdep that we are not holding > > this > > thing) past the iter_op() call, where file_end_write() used to be? > > We can't

[PATCH -next] brd: make symbol rd_size static

2016-10-29 Thread Wei Yongjun
From: Wei Yongjun Fixes the following sparse warning: drivers/block/brd.c:411:15: warning: symbol 'rd_size' was not declared. Should it be static? Signed-off-by: Wei Yongjun --- drivers/block/brd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/brd.c b/driv

<    1   2   3   4   5   6   >