Linux 3.12.25

2014-07-23 Thread Jiri Slaby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm announcing the release of the 3.12.25 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be bro

Re: [PATCH V3 2/3] powerpc, ptrace: Enable support for transactional memory register sets

2014-07-23 Thread Sam Bobroff
On 24/05/14 01:15, Anshuman Khandual wrote: > This patch enables get and set of transactional memory related register > sets through PTRACE_GETREGSET/PTRACE_SETREGSET interface by implementing > four new powerpc specific register sets i.e REGSET_TM_SPR, REGSET_TM_CGPR, > REGSET_TM_CFPR, REGSET_CVMX

Re: [PATCH 31/43] blackfin: Use sigsp()

2014-07-23 Thread Steven Miao
Acked-by: Steven Miao Thanks. On Mon, Jul 21, 2014 at 10:03 PM, Richard Weinberger wrote: > From: Richard Weinberger > > Use sigsp() instead of the open coded variant. > > Signed-off-by: Richard Weinberger > --- > arch/blackfin/kernel/signal.c | 14 +++--- > 1 file changed, 3 inserti

Re: [PATCH 04/43] blackfin: Use get_signal() signal_setup_done()

2014-07-23 Thread Steven Miao
Acked-by: Steven Miao Thanks. On Mon, Jul 21, 2014 at 10:02 PM, Richard Weinberger wrote: > From: Richard Weinberger > > Use the more generic functions get_signal() signal_setup_done() > for signal delivery. > > Signed-off-by: Richard Weinberger > --- > arch/blackfin/kernel/signal.c | 39 +++

Re: [PATCH v4] Lattice ECP3 FPGA: Correct endianness

2014-07-23 Thread Jean-Michel Hautbois
> Your email client ate all the tabs and spit out spaces and then > line-wrapped the patch, making it impossible to apply :( > > Can you fix it up and resend it in a format we can use? > > thanks, > > greg k-h GMail GUI is a nightmare, I can't find an option to tell it to let me send whatever I wa

Re: [PATCH V3 0/3] Add new PowerPC specific ELF core notes

2014-07-23 Thread Sam Bobroff
On 24/05/14 01:15, Anshuman Khandual wrote: > This patch series adds five new ELF core note sections which can be > used with existing ptrace request PTRACE_GETREGSET/SETREGSET for accessing > various transactional memory and miscellaneous register sets on PowerPC > platform. Please find a te

Re: [PATCH] ARM: zynq: DT: Add CAN node

2014-07-23 Thread Michal Simek
On 07/23/2014 06:07 PM, Sören Brinkmann wrote: > On Wed, 2014-07-23 at 03:05PM +0200, Michal Simek wrote: >> Add node describing Zynq's CAN controller. >> >> Signed-off-by: Michal Simek >> --- >> >> arch/arm/boot/dts/zynq-7000.dtsi | 13 - >> 1 file changed, 12 insertions(+), 1 deleti

Re: Linux 3.16-rc6

2014-07-23 Thread Peter Zijlstra
On Wed, Jul 23, 2014 at 05:37:43PM -0700, Linus Torvalds wrote: > On Wed, Jul 23, 2014 at 2:53 AM, Borislav Petkov wrote: > > > > Well, it looks like we f*cked up something after -rc5 since I'm starting > > to see lockdep splats all over the place which I didn't see before. I'm > > running rc6 + t

Re: linux-next: manual merge of the usb tree with the arm-soc tree

2014-07-23 Thread Greg KH
On Thu, Jul 24, 2014 at 04:33:29PM +1000, Stephen Rothwell wrote: > Hi Greg, > > On Thu, 24 Jul 2014 16:28:11 +1000 Stephen Rothwell > wrote: > > > > Today's linux-next merge of the usb tree got a conflict in > > drivers/phy/Kconfig between commit 64562e99477f ("phy: Add drivers for > > PCIe and

Re: [PATCH v2 1/2] clk: samsung: exynos4: Enable ARMCLK down feature

2014-07-23 Thread Krzysztof Kozlowski
On śro, 2014-07-23 at 17:18 -0700, Mike Turquette wrote: > Quoting Krzysztof Kozlowski (2014-07-18 07:36:32) > > Enable ARMCLK down feature on all Exynos4 SoCs. The frequency of > > ARMCLK will be reduced upon entering idle mode (WFI or WFE). > > > > The feature behaves like very fast cpufreq onde

linux-next: manual merge of the usb tree with the samsung tree

2014-07-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in drivers/phy/phy-samsung-usb2.c between commit 949ccc3a9363 ("phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver") from the samsung tree and commit 016e0d3cb72c ("drivers: phy: exynos-usb2: add support for Exynos 3250")

Re: [RFC PATCH] gpiolib: Provide and export gpiod_export_name

2014-07-23 Thread Guenter Roeck
On 07/23/2014 11:29 PM, Jiří Prchal wrote: Hi, just to append to this: is in plan some kind of exporting named GPIOs from device tree to /sys/* or /dev/*? It would be very useful not only for me. Because I thing what GPIO is used for what is hardware design dependent same as for example what S

Re: [PATCH V2 1/2] power: twl4030_charger: detect battery presence prior to enabling charger

2014-07-23 Thread Tony Lindgren
* Sebastian Reichel [140723 05:05]: > On Wed, Jul 23, 2014 at 02:24:20AM -0700, Tony Lindgren wrote: > > * Nishanth Menon [140528 14:48]: > > > TWL4030's Battery Charger seems to be designed for non-hotpluggable > > > batteries. > > > > > > If battery is not present in the system, BATSTS is alwa

Re: [RFC PATCH] gpiolib: Provide and export gpiod_export_name

2014-07-23 Thread Guenter Roeck
On 07/23/2014 10:44 PM, Alexandre Courbot wrote: On Thu, Jul 24, 2014 at 3:12 AM, Guenter Roeck wrote: gpiod_export_name is similar to gpiod_export, but lets the user determine the name used to export a gpio pin. Currently, the pin name is determined by the chip driver with the 'names' array i

Re: linux-next: manual merge of the usb tree with the arm-soc tree

2014-07-23 Thread Stephen Rothwell
Hi Greg, On Thu, 24 Jul 2014 16:28:11 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the usb tree got a conflict in > drivers/phy/Kconfig between commit 64562e99477f ("phy: Add drivers for > PCIe and SATA phy on SPEAr13xx") from the arm-soc tree and commit > 1de990d8a169 ("phy: qc

Re: [RFC PATCH] gpiolib: Provide and export gpiod_export_name

2014-07-23 Thread Jiří Prchal
Hi, just to append to this: is in plan some kind of exporting named GPIOs from device tree to /sys/* or /dev/*? It would be very useful not only for me. Because I thing what GPIO is used for what is hardware design dependent same as for example what SPI chips are used. And SPI chips are in DT.

linux-next: manual merge of the usb tree with the arm-soc tree

2014-07-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in drivers/phy/Kconfig between commit 64562e99477f ("phy: Add drivers for PCIe and SATA phy on SPEAr13xx") from the arm-soc tree and commit 1de990d8a169 ("phy: qcom: Add driver for QCOM APQ8064 SATA PHY") from the usb tree. I fixed

Re: linux-next: manual merge of the driver-core tree with the drm tree

2014-07-23 Thread Greg KH
On Thu, Jul 24, 2014 at 03:56:30PM +1000, Stephen Rothwell wrote: > Hi Greg, > > Today's linux-next merge of the driver-core tree got a conflict in > drivers/gpu/drm/armada/armada_crtc.c between commit d8c96083cf5e > ("drm/armada: permit CRTCs to be registered as separate devices") from > the drm

linux-next: manual merge of the usb tree with the samsung tree

2014-07-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the usb tree got a conflict in Documentation/devicetree/bindings/phy/samsung-phy.txt between commit 949ccc3a9363 ("phy: Add support for S5PV210 to the Exynos USB 2.0 PHY driver") from the samsung tree and commit 016e0d3cb72c ("drivers: phy: exynos-usb2: add sup

Re: [PATCH v4 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-07-23 Thread Herbert Xu
On Sat, Jul 12, 2014 at 02:59:13PM +0200, LABBE Corentin wrote: > > +/* sunxi_hash_init: initialize request context > + * Activate the SS, and configure it for MD5 or SHA1 > + */ > +int sunxi_hash_init(struct ahash_request *areq) > +{ > + const char *hash_type; > + struct crypto_ahash *tfm

Re: [PATCH v4] fs: umount on symlink leaks mnt count

2014-07-23 Thread Vasily Averin
CVE-2014-5045 was assigned for this issue On 07/23/2014 10:06 AM, Ian Kent wrote: > On Mon, 2014-07-21 at 12:30 +0400, Vasily Averin wrote: >> Currently umount on symlink blocks following umount: >> >> /vz is separate mount >> >> # ls /vz/ -al | grep test >> drwxr-xr-x. 2 root root 4096 Jul

Re: [PATCH v5 1/3] arm64: ptrace: reload a syscall number after ptrace operations

2014-07-23 Thread AKASHI Takahiro
On 07/24/2014 12:54 PM, Andy Lutomirski wrote: On 07/22/2014 02:14 AM, AKASHI Takahiro wrote: Arm64 holds a syscall number in w8(x8) register. Ptrace tracer may change its value either to: * any valid syscall number to alter a system call, or * -1 to skip a system call This patch implemen

linux-next: manual merge of the driver-core tree with the drm tree

2014-07-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/gpu/drm/armada/armada_crtc.c between commit d8c96083cf5e ("drm/armada: permit CRTCs to be registered as separate devices") from the drm tree and commit c9d53c0f2d23 ("devres: remove devm_request_and_ioremap()") fro

Re: [dm-devel] [PATCH] md/dm-ioctl.c: optimize memory allocation in copy_params

2014-07-23 Thread Zhang, Yanmin
On 2014/7/24 1:14, Mikulas Patocka wrote: On Wed, 23 Jul 2014, Alasdair G Kergon wrote: On Wed, Jul 23, 2014 at 08:16:58AM -0400, Mikulas Patocka wrote: So, it means that you do not use device mapper at all. So, why are you trying to change memory allocation in device mapper? So the *test*

[PATCH] gpio: remove gpio_ensure_requested()

2014-07-23 Thread Alexandre Courbot
gpio_ensure_requested() has been introduced in Feb. 2008 by commit d2876d08d86f2 to force users of the GPIO API to explicitly request GPIOs before using them. Hopefully by now all GPIOs are correctly requested and this extra check can be omitted ; in any case the GPIO maintainers won't feel bad if

Re: [RFC PATCH] gpiolib: Provide and export gpiod_export_name

2014-07-23 Thread Alexandre Courbot
On Thu, Jul 24, 2014 at 3:12 AM, Guenter Roeck wrote: > gpiod_export_name is similar to gpiod_export, but lets the user > determine the name used to export a gpio pin. > > Currently, the pin name is determined by the chip driver with > the 'names' array in the gpio_chip data structure, or it is se

Re: [PATCH v5 3/3] arm64: Add seccomp support

2014-07-23 Thread AKASHI Takahiro
On 07/24/2014 12:52 PM, Andy Lutomirski wrote: On 07/22/2014 02:14 AM, AKASHI Takahiro wrote: secure_computing() should always be called first in syscall_trace_enter(). If secure_computing() returns -1, we should stop further handling. Then that system call may eventually fail with a specified

Re: [PATCH 1/1] Drivers: scsi: storvsc: Add blist flags

2014-07-23 Thread Hannes Reinecke
On 07/22/2014 01:06 AM, K. Y. Srinivasan wrote: Add blist flags to permit the reading of the VPD pages even when the target may claim SPC-2 compliance. MSFT targets currently claim SPC-2 compliance while they implement post SPC-2 features. With this patch we can correctly handle WRITE_SAME_16 iss

RE: [PATCH v7 03/10] x86, mpx: add macro cpu_has_mpx

2014-07-23 Thread Ren, Qiaowei
On 2014-07-24, Hansen, Dave wrote: > On 07/23/2014 05:56 PM, Ren, Qiaowei wrote: >> On 2014-07-24, Hansen, Dave wrote: >>> On 07/22/2014 07:35 PM, Ren, Qiaowei wrote: The checking about MPX feature should be as follow: if (pcntxt_mask & XSTATE_EAGER) {

Re: [PATCH v5 2/3] asm-generic: Add generic seccomp.h for secure computing mode 1

2014-07-23 Thread AKASHI Takahiro
On 07/24/2014 01:41 PM, Kees Cook wrote: On Wed, Jul 23, 2014 at 8:40 PM, Andy Lutomirski wrote: On 07/22/2014 02:14 AM, AKASHI Takahiro wrote: Those values (__NR_seccomp_*) are used solely in secure_computing() to identify mode 1 system calls. If compat system calls have different syscall nu

Re: [PATCH] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-23 Thread Viresh Kumar
On 24 July 2014 08:32, Saravana Kannan wrote: > Ok, I think I've figured this out. But one question. Is it possible to > physically remove one CPU in a bunch of "related cpus" without also > unplugging the rest? Put another way, can you unplug one core from a > cluster? Are we talking about doing

Re: [PATCH RFC v2 net-next 10/16] bpf: add eBPF verifier

2014-07-23 Thread Alexei Starovoitov
On Wed, Jul 23, 2014 at 5:48 PM, Alexei Starovoitov wrote: > check_reg_arg() is indeed incorrect here. Will fix. That was a good catch. > Thank you for review! I fixed this missing check_reg_arg() check, addressed feedback for other patches, rebased it and pushed it: https://git.kernel.org/cgit/l

[PATCH v5 3/5] x86,random: Add an x86 implementation of arch_get_rng_seed

2014-07-23 Thread Andy Lutomirski
This does the same thing as the generic implementation, except that it logs how many bits of each type it collected. I want to know whether the initial seeding is working and, if so, whether the RNG is fast enough. (I know that hpa assures me that the hardware RNG is more than fast enough, but I

[PATCH v5 4/5] x86,random,kvm: Use KVM_GET_RNG_SEED in arch_get_rng_seed

2014-07-23 Thread Andy Lutomirski
This is a straightforward implementation: for each bit of internal RNG state, request one bit from KVM_GET_RNG_SEED. This is done even if RDSEED/RDRAND worked, since KVM_GET_RNG_SEED is likely to provide cryptographically secure output even if the CPU's RNG is weak or compromised. Signed-off-by:

[PATCH v5 0/5] random,x86,kvm: Rework arch RNG seeds and get some from kvm

2014-07-23 Thread Andy Lutomirski
This introduces and uses a very simple synchronous mechanism to get /dev/urandom-style bits appropriate for initial KVM PV guest RNG seeding. It also re-works the way that architectural random data is fed into random.c's pools. I added a new arch hook called arch_get_rng_seed. The default impleme

[PATCH v5 5/5] x86,kaslr: Use MSR_KVM_GET_RNG_SEED for KASLR if available

2014-07-23 Thread Andy Lutomirski
It's considerably better than any of the alternatives on KVM. Rather than reinventing all of the cpu feature query code, this fixes native_cpuid to work in PIC objects. I haven't combined it with boot/cpuflags.c's cpuid implementation: including asm/processor.h from boot/cpuflags.c results in a f

[PATCH v5 2/5] random: Add and use arch_get_rng_seed

2014-07-23 Thread Andy Lutomirski
Currently, init_std_data contains its own logic for using arch random sources. This replaces that logic with a generic function arch_get_rng_seed that allows arch code to supply its own logic. The default implementation tries arch_get_random_seed_long and arch_get_random_long individually. The on

[PATCH v5 1/5] x86,kvm: Add MSR_KVM_GET_RNG_SEED and a matching feature bit

2014-07-23 Thread Andy Lutomirski
This adds a simple interface to allow a guest to request 64 bits of host nonblocking entropy. This is independent of virtio-rng for a couple of reasons: - It's intended to be usable during early boot, when a trivial synchronous interface is needed. - virtio-rng gives blocking entropy, and m

Re: [PATCH 00/14] arm64: eBPF JIT compiler

2014-07-23 Thread Z Lim
On Wed, Jul 23, 2014 at 3:32 AM, Catalin Marinas wrote: > On Mon, Jul 21, 2014 at 04:49:29PM +0100, Alexei Starovoitov wrote: >> On Mon, Jul 21, 2014 at 2:16 AM, Will Deacon wrote: >> > On Fri, Jul 18, 2014 at 07:28:06PM +0100, Zi Shen Lim wrote: [...] >> >> This series applies against net-next a

Re: [PATCH v4 0/6] File Sealing & memfd_create()

2014-07-23 Thread Hugh Dickins
On Sun, 20 Jul 2014, David Herrmann wrote: > Hi > > This is v4 of the File-Sealing and memfd_create() patches. You can find v1 > with > a longer introduction at gmane [1], there's also v2 [2] and v3 [3] available. > See also the article about sealing on LWN [4], and a high-level introduction >

Re: [PATCH v7 03/10] x86, mpx: add macro cpu_has_mpx

2014-07-23 Thread Dave Hansen
On 07/23/2014 05:56 PM, Ren, Qiaowei wrote: > On 2014-07-24, Hansen, Dave wrote: >> On 07/22/2014 07:35 PM, Ren, Qiaowei wrote: >>> The checking about MPX feature should be as follow: >>> >>> if (pcntxt_mask & XSTATE_EAGER) { >>> if (eagerfpu == DISABLE) { >>>

Re: arc: FIXME in file uwind.c

2014-07-23 Thread Nick Krause
On Thu, Jul 24, 2014 at 12:38 AM, Vineet Gupta wrote: > Hi Nick, > > On Saturday 05 July 2014 08:05 AM, Nick Krause wrote: >> When using cscope I get a FIX ME message in uwind.c , it seems to have >> four NULL returns. >> I am wondering since I am new to part of the kernel what would you >> like m

Re: [PATCH v5 2/3] asm-generic: Add generic seccomp.h for secure computing mode 1

2014-07-23 Thread Kees Cook
On Wed, Jul 23, 2014 at 8:40 PM, Andy Lutomirski wrote: > On 07/22/2014 02:14 AM, AKASHI Takahiro wrote: >> >> Those values (__NR_seccomp_*) are used solely in secure_computing() >> to identify mode 1 system calls. If compat system calls have different >> syscall numbers, asm/seccomp.h may overrid

Re: arc: FIXME in file uwind.c

2014-07-23 Thread Vineet Gupta
Hi Nick, On Saturday 05 July 2014 08:05 AM, Nick Krause wrote: > When using cscope I get a FIX ME message in uwind.c , it seems to have > four NULL returns. > I am wondering since I am new to part of the kernel what would you > like me to return here? > Cheers Nick The issues were related to inco

Re: [PATCH v4 6/6] shm: wait for pins to be released when sealing

2014-07-23 Thread Hugh Dickins
On Sun, 20 Jul 2014, David Herrmann wrote: > If we set SEAL_WRITE on a file, we must make sure there cannot be any > ongoing write-operations on the file. For write() calls, we simply lock > the inode mutex, for mmap() we simply verify there're no writable > mappings. However, there might be pages

Re: [PATCH v4 5/6] selftests: add memfd/sealing page-pinning tests

2014-07-23 Thread Hugh Dickins
On Sun, 20 Jul 2014, David Herrmann wrote: > Setting SEAL_WRITE is not possible if there're pending GUP users. This > commit adds selftests for memfd+sealing that use FUSE to create pending > page-references. FUSE is very helpful here in that it allows us to delay > direct-IO operations for an arb

[PATCH 1/1] alienware-wmi: make hdmi_mux enabled on case-by-case basis

2014-07-23 Thread Mario Limonciello
Not all HW supporting WMAX method will support the HDMI mux feature. Explicitly quirk the HW that does support it. Signed-off-by: Mario Limonciello --- drivers/platform/x86/alienware-wmi.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/platfor

Re: [PATCH v2] fb: backlight: add driver for iPAQ micro backlight

2014-07-23 Thread Jingoo Han
On Wednesday, July 23, 2014 6:04 PM, Linus Walleij wrote: > > This adds a driver for the backlight controlled by the microcontroller > on the Compaq iPAQ series of handheld computers: h3100, h3600 > and h3700. > > Signed-off-by: Linus Walleij > --- > ChangeLog v1->v2: > - Add a comment to clarif

Re: [PATCH tip/core/rcu] Do not keep timekeeping CPU tick running for non-nohz_full= CPUs

2014-07-23 Thread Mike Galbraith
On Wed, 2014-07-23 at 18:02 +0200, Frederic Weisbecker wrote: > Yes. Distros seem to want to make full dynticks available for users but they > also want the off case (when nohz_full= isn't passed) to keep the lowest > overhead > as possible. Yup, zero being the _desired_ number. The general cas

Re: [PATCH v4 3/6] shm: add memfd_create() syscall

2014-07-23 Thread Hugh Dickins
On Sun, 20 Jul 2014, David Herrmann wrote: > memfd_create() is similar to mmap(MAP_ANON), but returns a file-descriptor > that you can pass to mmap(). It can support sealing and avoids any > connection to user-visible mount-points. Thus, it's not subject to quotas > on mounted file-systems, but ca

Re: [PATCH v4 4/6] selftests: add memfd_create() + sealing tests

2014-07-23 Thread Hugh Dickins
On Sun, 20 Jul 2014, David Herrmann wrote: > Some basic tests to verify sealing on memfds works as expected and > guarantees the advertised semantics. > > Signed-off-by: David Herrmann Acked-by: Hugh Dickins > --- > tools/testing/selftests/Makefile | 1 + > tools/testing/selftest

Re: [PATCH v5 0/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Marek Vasut
On Thursday, July 24, 2014 at 05:36:34 AM, Yao Yuan wrote: > Hi, > > Marek Vasut wrote: > > On Wednesday, July 23, 2014 at 10:24:41 AM, Yuan Yao wrote: > > > Changed in v5: > > > - add "*chan_dev = dma->chan_using->device->dev" for reduce the call > > > time. > > > > Did you check if the compiler

Re: [PATCH v4 1/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Marek Vasut
On Thursday, July 24, 2014 at 05:19:27 AM, Yao Yuan wrote: > On Fri, May 21, 2014 at 4:01 PM +0200, Wolfram Sang wrote: > > Ping. Any updates? I think this was pretty close to inclusion? > > Hi, Wolfram > Thanks for your concern. Sorry for my reply so late. I had on a business > trip for mon

Re: [PATCH v4 2/6] shm: add sealing API

2014-07-23 Thread Hugh Dickins
On Sun, 20 Jul 2014, David Herrmann wrote: > If two processes share a common memory region, they usually want some > guarantees to allow safe access. This often includes: > - one side cannot overwrite data while the other reads it > - one side cannot shrink the buffer while the other accesses

Re: [PATCH v4 1/6] mm: allow drivers to prevent new writable mappings

2014-07-23 Thread Hugh Dickins
On Sun, 20 Jul 2014, David Herrmann wrote: > The i_mmap_writable field counts existing writable mappings of an > address_space. To allow drivers to prevent new writable mappings, make > this counter signed and prevent new writable mappings if it is negative. > This is modelled after i_writecount a

Re: [PATCH net-next 0/2] net: filter: split eBPF interpreter out of core networking

2014-07-23 Thread David Miller
From: Alexei Starovoitov Date: Tue, 22 Jul 2014 23:01:57 -0700 > I believe my recent set of RFC/patches [1] provided good visibility on where > I would like to take eBPF subsystem. These two trivial patches is a first step > in that direction: > patch 1 - mechanical split of eBPF interpreter out

[PATCH] sched_clock: Avoid corrupting hrtimer tree during suspend

2014-07-23 Thread John Stultz
From: Stephen Boyd During suspend we call sched_clock_poll() to update the epoch and accumulated time and reprogram the sched_clock_timer to fire before the next wrap-around time. Unfortunately, sched_clock_poll() doesn't restart the timer, instead it relies on the hrtimer layer to do that and du

Re: [PATCH 11/16] rcu: Check for spurious wakeup using return value

2014-07-23 Thread Pranith Kumar
On Wed, Jul 23, 2014 at 11:43 PM, Paul E. McKenney wrote: > On Wed, Jul 23, 2014 at 10:36:19PM -0400, Pranith Kumar wrote: >> On Wed, Jul 23, 2014 at 8:26 AM, Paul E. McKenney >> wrote: >> > On Wed, Jul 23, 2014 at 01:09:48AM -0400, Pranith Kumar wrote: >> >> When the gp_kthread wakes up from the

Re: [PATCH 2/2] ARM: mvebu: Added dts defintion for Lenovo Iomega ix4-300d NAS

2014-07-23 Thread Baruch Siach
Hi Benoit, On Wed, Jul 23, 2014 at 03:52:53PM -0700, Benoit Masson wrote: > The Lenovo Iomega ix4-300d is a 4-Bay sata NAS with dual Gb, > USB2.0 & 3.0, powered by a Marvell Armada XP MV78230 dual core CPU. > > http://shop.lenovo.com/fr/fr/servers/network-storage/lenovoemc/ix4-300d/ I guess mos

Re: [PATCH RFC] suspend/hibernation: Fix racing timers

2014-07-23 Thread John Stultz
On 07/21/2014 10:35 AM, Soren Brinkmann wrote: > On platforms that do not power off during suspend, successfully entering > suspend races with timers. > > The race happening in a couple of location is: > > 1. disable IRQs (e.g. arch_suspend_disable_irqs()) > ... > 2. syscore_suspend()

Re: [PATCH 9/9] fs: dlm: lockd: Convert int result to unsigned char type

2014-07-23 Thread Joe Perches
On Wed, 2014-07-23 at 14:11 -0400, Jeff Layton wrote: > On Sun, 20 Jul 2014 11:23:43 -0700 Joe Perches wrote: > > op->info.rv is an s32, but it's only used as a u8. > I don't understand this patch. info.rv is s32 (and I assume that "rv" > stands for "return value"). In this case it's not a return

Re: [PATCH v3] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-07-23 Thread gre...@linuxfoundation.org
On Thu, Jul 24, 2014 at 01:54:58AM +, Dexuan Cui wrote: > Ping again -- any one has further comment for the v3 version? > > It looks the framebuffer layer's Tomi and Jean-Christophe are out recently? > Recently I don't see mail from them since Jul 1 and Jul 8 in the lists. > > Though the patc

Re: [PATCH v5 1/3] arm64: ptrace: reload a syscall number after ptrace operations

2014-07-23 Thread Andy Lutomirski
On 07/22/2014 02:14 AM, AKASHI Takahiro wrote: Arm64 holds a syscall number in w8(x8) register. Ptrace tracer may change its value either to: * any valid syscall number to alter a system call, or * -1 to skip a system call This patch implements this behavior by reloading that value into sy

Re: [PATCH v5 3/3] arm64: Add seccomp support

2014-07-23 Thread Andy Lutomirski
On 07/22/2014 02:14 AM, AKASHI Takahiro wrote: secure_computing() should always be called first in syscall_trace_enter(). If secure_computing() returns -1, we should stop further handling. Then that system call may eventually fail with a specified return value (errno), be trapped or the process

[PATCH] staging: Remove checkpatch errors in InterfaceMarcos.h

2014-07-23 Thread Nicholas Krause
This removes the two errors I get when running checkpatch on this file. The first being not to use C99 comments and the second to remove spacing issues with the define statement on line 7. Signed-off-by: Nicholas Krause --- drivers/staging/bcm/InterfaceMacros.h | 4 ++-- 1 file changed, 2 insert

Re: [PATCH 11/16] rcu: Check for spurious wakeup using return value

2014-07-23 Thread Paul E. McKenney
On Wed, Jul 23, 2014 at 10:36:19PM -0400, Pranith Kumar wrote: > On Wed, Jul 23, 2014 at 8:26 AM, Paul E. McKenney > wrote: > > On Wed, Jul 23, 2014 at 01:09:48AM -0400, Pranith Kumar wrote: > >> When the gp_kthread wakes up from the wait event, it returns 0 if the wake > >> up is > >> due to the

Re: [PATCH v5 2/3] asm-generic: Add generic seccomp.h for secure computing mode 1

2014-07-23 Thread Andy Lutomirski
On 07/22/2014 02:14 AM, AKASHI Takahiro wrote: Those values (__NR_seccomp_*) are used solely in secure_computing() to identify mode 1 system calls. If compat system calls have different syscall numbers, asm/seccomp.h may override them. Acked-by: Arnd Bergmann Signed-off-by: AKASHI Takahiro ---

RE: [PATCH v5 0/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Yao Yuan
Hi, Marek Vasut wrote: > On Wednesday, July 23, 2014 at 10:24:41 AM, Yuan Yao wrote: > > Changed in v5: > > - add "*chan_dev = dma->chan_using->device->dev" for reduce the call time. > > Did you check if the compiler generates different code ? > Sorry, I didn't compare the assembly code. It's a

[PATCH] staging: Join lines in IntefaceIdleMode.c

2014-07-23 Thread Nicholas Krause
This joins two lines that need to be joined as this improves the coding style and makes it much easier to read. Signed-off-by: Nicholas Krause --- drivers/staging/bcm/InterfaceIdleMode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/bcm/InterfaceIdleMode.c

Re: [PATCHv3 1/2] mm: introduce vm_ops->map_pages()

2014-07-23 Thread Sasha Levin
(null) index:0x0 [ 663.277061] page flags: 0xaf80008000(tail) [ 663.278759] page dumped because: kasan error [ 663.280645] CPU: 6 PID: 9262 Comm: trinity-c104 Not tainted 3.16.0-rc6-next-20140723-sasha-00047-g289342b-dirty #929 [ 663.282898] 00fb

[PATCH] staging: Fix space issues for header of headers.h

2014-07-23 Thread Nicholas Krause
This patch fixes the space errors checkpatch gives on this file for the header of this file. Signed-off-by: Nicholas Krause --- drivers/staging/bcm/headers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/bcm/headers.h b/drivers/staging/bcm/headers.h index 6f

RE: [PATCH v4 1/2] i2c: add DMA support for freescale i2c driver

2014-07-23 Thread Yao Yuan
On Fri, May 21, 2014 at 4:01 PM +0200, Wolfram Sang wrote: > > Ping. Any updates? I think this was pretty close to inclusion? Hi, Wolfram Thanks for your concern. Sorry for my reply so late. I had on a business trip for months. At that time I have no device to debug it. Now, I'm come bac

Re: [PATCH 9/9] block: loop: support to submit I/O via kernel aio based

2014-07-23 Thread Ming Lei
On Thu, Jul 24, 2014 at 6:55 AM, Ming Lei wrote: > Part of the patch is based on Dave's previous post. > > It is easy to observe that loop block device thoughput > can be increased by > 100% in single job randread, > libaio engine, direct I/O fio test. > > Cc: Zach Brown > Cc: Dave Kleikamp > Cc

linux-next: build failure after merge of the crypto tree

2014-07-23 Thread Stephen Rothwell
(NEW) aborted! Console input/output is redirected. Run 'make oldconfig' to update configuration. I am not sure exactly what caused all this, but it is probably commit 126ae9adc1ec ("crypto: ccp - Base AXI DMA cache settings on device tree"). I have used the version of the crypt

Re: [PATCH] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-23 Thread Saravana Kannan
On 07/16/2014 03:02 PM, Rafael J. Wysocki wrote: On Wednesday, July 09, 2014 07:37:30 PM Saravana Kannan wrote: Preliminary patch. Not tested. Just sending out to give an idea of what I'm looking to do. Expect a lot more simplification when it's done. Benefits: * A lot more simpler code. * Less

[PATCH] staging: Add blank line in sync.c

2014-07-23 Thread Nicholas Krause
This patch adds a blank line after line 708 as declared when running checkpatch on this file. Signed-off-by: Nicholas Krause --- drivers/staging/android/sync.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/sync.c b/drivers/staging/android/sync.c index e7b2e02..0d374

[PATCH] staging: Add blank lines in sw_sync.c

2014-07-23 Thread Nicholas Krause
This adds two blank lines as stated by checkpatch before lines, 100 and 159 respectively. Signed-off-by: Nicholas Krause --- drivers/staging/android/sw_sync.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/android/sw_sync.c b/drivers/staging/android/sw_sync.c index a76db3

linux-next: manual merge of the net-next tree with the wireless tree

2014-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/mac80211/cfg.c between commit fa8f136fe9a8 ("mac80211: fix crash on getting sta info with uninitialized rate control") from the wireless tree and commit b7ffbd7ef675 ("cfg80211: make ethtool the driver's responsibility") f

Re: WARNING: at kernel/cpuset.c:1139

2014-07-23 Thread Mike Qiu
On 07/24/2014 08:27 AM, Li Zefan wrote: On 2014/7/23 23:12, Tejun Heo wrote: On Wed, Jul 23, 2014 at 10:50:29AM +0800, Mike Qiu wrote: commit 734d45130cb ("cpuset: update cs->effective_{cpus, mems} when config changes") introduce the below warning in my server. [ 35.652137] [ cut

[PATCH] staging: Remove checkpatch error from ion.c

2014-07-23 Thread Nicholas Krause
This patch removes a checkpatch error by adding a line below the definitions of the character array buf and the pointer path. Signed-off-by: Nicholas Krause --- drivers/staging/android/ion/ion.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/android/ion/ion.c b/drivers/stag

Re: [PATCH 11/16] rcu: Check for spurious wakeup using return value

2014-07-23 Thread Pranith Kumar
On Wed, Jul 23, 2014 at 8:26 AM, Paul E. McKenney wrote: > On Wed, Jul 23, 2014 at 01:09:48AM -0400, Pranith Kumar wrote: >> When the gp_kthread wakes up from the wait event, it returns 0 if the wake >> up is >> due to the condition having been met. This commit checks this return value >> for a s

iommu/vt-d: Fix build error caused by unknown definition of acpi_handle

2014-07-23 Thread Jiang Liu
When both CONFIG_ACPI and CONFIG_DMAR_TABLE are disabled, commit "Implement DMAR unit hotplug framework" causes build failure as below: CC arch/x86/kernel/pci-dma.o In file included from arch/x86/kernel/pci-dma.c:3:0: include/linux/dmar.h:168:35: error: unknown type name ‘acpi_handle’ stati

Re: [PATCH v3 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-07-23 Thread caesar
Hi Heiko & thierry, Thank you for your suggestion. 于 2014年07月24日 00:01, Heiko Stübner 写道: Hi Caesar. Am Mittwoch, 23. Juli 2014, 14:38:41 schrieb Caesar Wang: This patch added to support the PWM controller found on RK3288 SoC. Signed-off-by: Caesar Wang --- drivers/pwm/pwm-rockchip.c | 14

Re: [RFC PATCH v1 12/70] x86, pci, amd_bus: _FROZEN Cleanup

2014-07-23 Thread Chen, Gong
On Wed, Jul 23, 2014 at 08:07:18PM +0200, Borislav Petkov wrote: > Date: Wed, 23 Jul 2014 20:07:18 +0200 > From: Borislav Petkov > To: "Chen, Gong" > Cc: linux-kernel@vger.kernel.org, mi...@kernel.org, t...@linutronix.de, > pau...@samba.org, b...@kernel.crashing.org, tony.l...@intel.com, > h...

Re: [RFC PATCH] PM/CPU: Parallel enabling nonboot cpus with resume devices

2014-07-23 Thread Lan Tianyu
On 2014年07月23日 18:53, Pavel Machek wrote: > Hi! > >> In the current world, all nonboot cpus are enabled serially during system >> resume. System resume sequence is that boot cpu enables nonboot cpu one by >> one and then resume devices. Before resuming devices, there are few tasks >> assigned to n

Re: [PATCH 7/9] aio: add aio_kernel_() interface

2014-07-23 Thread Ming Lei
On Thu, Jul 24, 2014 at 7:16 AM, Zach Brown wrote: > On Thu, Jul 24, 2014 at 06:55:28AM +0800, Ming Lei wrote: >> From: Dave Kleikamp >> >> This adds an interface that lets kernel callers submit aio iocbs without >> going through the user space syscalls. This lets kernel callers avoid >> the man

RE: [PATCH v3] video: hyperv: hyperv_fb: refresh the VM screen by force on VM panic

2014-07-23 Thread Dexuan Cui
Ping again -- any one has further comment for the v3 version? It looks the framebuffer layer's Tomi and Jean-Christophe are out recently? Recently I don't see mail from them since Jul 1 and Jul 8 in the lists. Though the patch belongs to driver/video/fbdev/, it only changes hyper-v stuff and only

Re: [PATCH 3.8 076/116] xfs: ioctl check for capabilities in the current user namespace

2014-07-23 Thread Eric W. Biederman
Kamal Mostafa writes: > On Wed, 2014-07-23 at 09:12 +1000, Dave Chinner wrote: >> On Tue, Jul 22, 2014 at 03:21:27PM -0700, Kamal Mostafa wrote: >> > 3.8.13.27 -stable review patch. If anyone has any objections, please let >> > me know. >> > >> > -- >> > >> > From: Dwight Enge

Re: Linux 3.16-rc6

2014-07-23 Thread David Rientjes
On Wed, 23 Jul 2014, Linus Torvalds wrote: > > Well, it looks like we f*cked up something after -rc5 since I'm starting > > to see lockdep splats all over the place which I didn't see before. I'm > > running rc6 + tip/master. > > > > There was one in r8169 yesterday: > > > > https://lkml.kernel.or

Re: [PATCH] Input: synaptics-rmi4 - fix compiler warnings in F11

2014-07-23 Thread Christopher Heiny
On 07/22/2014 11:11 PM, Dmitry Torokhov wrote: Signed-off-by: Dmitry Torokhov I've reviewed this, and can say: Acked-by: Christopher Heiny but I haven't had a chance to apply it to my build tree. Andrew - I'll be OOO for a couple of days. Can you do that, and add a Tested-by: or rev the

Re: Scheduler regression from caffcdd8d27ba78730d5540396ce72ad022aff2c

2014-07-23 Thread Bruno Wolff III
On Wed, Jul 23, 2014 at 17:11:40 +0200, Peter Zijlstra wrote: OK, so that's become the below patch. I'll feed it to Ingo if that's OK with hpa. I tested this patch on 3 machines and it continued to fix the one that was broken and didn't seem to break anything on the two that weren't broken

Re: [PATCH 3/3] crypto: Add Allwinner Security System crypto accelerator

2014-07-23 Thread Herbert Xu
On Wed, Jul 23, 2014 at 09:38:35PM +0200, Marek Vasut wrote: > On Wednesday, July 23, 2014 at 08:52:12 PM, Corentin LABBE wrote: > > Le 23/07/2014 17:51, Marek Vasut a écrit : > > > On Wednesday, July 23, 2014 at 04:13:09 PM, Herbert Xu wrote: > > >> On Wed, Jul 23, 2014 at 04:07:20PM +0200, Marek

RE: [PATCH v8 05/22] Add vm_replace_mixed()

2014-07-23 Thread Zhang, Tianfei
It is double page_table_lock issue, should be free-and-realloc will be simple and readability? + if (!pte_none(*pte)) { + if (!replace) + goto out_unlock; + VM_BUG_ON(!mutex_is_locked(&vma->vm_file->f_mapping->i_mmap_mutex)); + pte_unm

Re: Subject: [PATCH 1/1] mtd:nand:fix nand_lock/unlock() function

2014-07-23 Thread Brian Norris
On Wed, Jul 23, 2014 at 06:27:30PM -0700, Brian Norris wrote: > Hi White, > > On Thu, Jul 24, 2014 at 01:00:01AM +, bpqw wrote: [...] And...I just got a rejection email from micron.com: The error that the other server returned was: 550 5.1.1 ... ... User unknown I'm not sure how to get

Re: [RESEND PATCH 4/4] aio: use iovec array rather than the single one

2014-07-23 Thread Gu Zheng
Hi Jeff, On 07/23/2014 09:25 PM, Jeff Moyer wrote: > Gu Zheng writes: > >> Previously, we only offer a single iovec to handle all the read/write cases, >> so >> the PREADV/PWRITEV request always need to alloc more iovec buffer when >> copying >> user vectors. >> If we use a tmp iovec array rat

RE: [PATCH v7 09/10] x86, mpx: cleanup unused bound tables

2014-07-23 Thread Ren, Qiaowei
On 2014-07-24, Hansen, Dave wrote: > On 07/23/2014 05:49 PM, Ren, Qiaowei wrote: >> I can check a lot of debug information when one VMA and related >> bounds tables are allocated and freed through adding a lot of >> print() like log into kernel/runtime. Do you think this is enough? > > I thought

Re: Subject: [PATCH 1/1] mtd:nand:fix nand_lock/unlock() function

2014-07-23 Thread Brian Norris
Hi White, On Thu, Jul 24, 2014 at 01:00:01AM +, bpqw wrote: > Do nand reset before write protect check > If we want to check the WP# low or high through STATUS READ and check bit 7, > we must reset the device, other operation (eg.erase/program a locked block) > can > also clear the bit 7 of s

Re: [PATCH v2 1/2] staging: cxt1e1: Prefix ambiguous variable names with 'cxt1e1_' for clarity

2014-07-23 Thread Greg KH
On Tue, Jul 22, 2014 at 08:34:55PM -0400, Jeff Oczek wrote: > Changed names of ambiguous sounding variable names as follows > > error_flag -> cxt1e1_error_flag > max_mtu_default -> cxt1e1_max_mtu_default > max_txdesc_used -> cxt1e1_max_txdesc_used > max_txdesc_default -> cxt1

Re: [PATCH] staging: lustre: obdclass: fix sparse warnings about static declaration

2014-07-23 Thread Greg KH
On Wed, Jul 23, 2014 at 07:23:43PM +0400, Andrey Skvortsov wrote: > Signed-off-by: Andrey Skvortsov > --- > .../lustre/lustre/obdclass/linux/linux-sysctl.c| 28 > ++-- > 1 file changed, 14 insertions(+), 14 deletions(-) You obviously did not build with your patch applied,

[patch 3/3] mm, oom: rename zonelist locking functions

2014-07-23 Thread David Rientjes
try_set_zonelist_oom() and clear_zonelist_oom() are not named properly to imply that they require locking semantics to avoid out_of_memory() being reordered. zone_scan_lock is required for both functions to ensure that there is proper locking synchronization. Rename try_set_zonelist_oom() to oo

  1   2   3   4   5   6   7   8   9   >