[PATCH 1/2] mmc: atmel-mci: Switch to using managed resource in probe

2014-09-19 Thread Pramod Gurav
This change uses managed resource APIs to allocate resources such as, clk, gpio, irq in order to simplify the driver unload or failure cases. Hence does away with release statements of the same resorces in error lables and remove function. Cc: Ludovic Desroches Cc: Chris Ball Cc: Ulf Hansson Cc

[PATCH 2/2] mmc: atmel-mci: Release mmc resources on failure in probe

2014-09-19 Thread Pramod Gurav
This change takes care of releasing mmc resources on error cases in probe function which was missing. Also release timer in remove function. Cc: Ludovic Desroches Cc: Chris Ball Cc: Ulf Hansson Cc: linux-...@vger.kernel.org Signed-off-by: Pramod Gurav --- drivers/mmc/host/atmel-mci.c | 13 +++

[PATCH] cgroup: remove redundant variable in cgroup_mount()

2014-09-19 Thread Zefan Li
Both pinned_sb and new_sb indicate if a new superblock is needed, so we can just remove new_sb. Note now we must check if kernfs_tryget_sb() returns NULL, because when it returns NULL, kernfs_mount() may still re-use an existing superblock, which is just allocated by another concurent mount. Sugg

[tip:sched/urgent] sched: Fix end_of_stack() and location of stack canary for architectures using CONFIG_STACK_GROWSUP

2014-09-19 Thread tip-bot for Chuck Ebbert
Commit-ID: a3215fb47c7ecb814dc16815245db4f375841268 Gitweb: http://git.kernel.org/tip/a3215fb47c7ecb814dc16815245db4f375841268 Author: Chuck Ebbert AuthorDate: Fri, 19 Sep 2014 09:35:05 -0500 Committer: Ingo Molnar CommitDate: Sat, 20 Sep 2014 08:38:16 +0200 sched: Fix end_of_stack() a

[ANNOUNCE]: SCST 3.0 released

2014-09-19 Thread Vladislav Bolkhovitin
Hi All, I'm glad to announce that SCST 3.0 has just been released. This release includes SCST core, target drivers iSCSI-SCST for iSCSI, including iSER support (thanks to Mellanox!), qla2x00t for QLogic Fibre Channel adapters, ib_srpt for InfiniBand SRP, fcst for FCoE and scst_local for local

[PATCH] cgroup: fix missing unlock in cgroup_release_agent()

2014-09-19 Thread Zefan Li
The patch 971ff4935538: "cgroup: use a per-cgroup work for release agent" from Sep 18, 2014, leads to the following static checker warning: kernel/cgroup.c:5310 cgroup_release_agent() warn: 'mutex:&cgroup_mutex' is sometimes locked here and sometimes unlocked. Reported-by: Dan Ca

Re: [PATCH v5 4/4] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-09-19 Thread Octavian Purdila
On Sat, Sep 20, 2014 at 5:48 AM, Arnd Bergmann wrote: > On Friday 19 September 2014, Octavian Purdila wrote: >> +struct dln2_gpio_pin { >> + __le16 pin; >> +} __packed; > > This does not need to be marked packed, since it is never embedded in another > structure. > Will do. >> +struct dln2_g

Re: [PATCH v2 4/6] mm: introduce common page state for ballooned memory

2014-09-19 Thread Andrew Morton
On Sat, 20 Sep 2014 09:25:01 +0400 Konstantin Khlebnikov wrote: > > > > So I'm going to send "fix for > > mm-balloon_compaction-use-common-page-ballooning-v2" to Linus > > separately, but it has no changelog at all. > > Probably it would be better if you drop everything except actually > fixes

Re: [PATCH 1/2] x86, gpio: Increase ARCH_NR_GPIOs to 512

2014-09-19 Thread Alexandre Courbot
On Sat, Sep 20, 2014 at 2:48 AM, Linus Walleij wrote: > On Fri, Sep 19, 2014 at 12:20 AM, Alexandre Courbot wrote: >> On Tue, Sep 9, 2014 at 4:24 PM, Linus Walleij >> wrote: > >>> This however makes it *impossible* to use things like desc_to_gpio() >>> and/or gpio_to_desc() so the code has to b

Re: Racy manipulation of task_struct->flags in cgroups code causes hard to reproduce kernel panics

2014-09-19 Thread Zefan Li
> Then, what made current->flags to unexpectedly preserve PF_USED_MATH flag? > The user is running cgrulesengd process in order to utilize cpuset cgroup. > Thus, cpuset_update_task_spread_flag() is called when cgrulesengd process > writes someone's pid to /cgroup/cpuset/$group/tasks interface. > >

lening bieden

2014-09-19 Thread DIAMOND SWISS LOAN COMPANY
-- Goede dag,    We zijn Diamond Zwitserse lening bedrijf geven van leningen per post advertentie. Wij bieden verschillende soorten leningen (korte en lange termijn leningen, persoonlijke leningen, leningen aan bedrijven etc.) met 3% rente. We geven leningen aan mensen in nood nie

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-19 Thread Andy Lutomirski
On Sep 19, 2014 8:46 PM, "Filipe Brandenburger" wrote: > > On Fri, Sep 19, 2014 at 8:27 PM, Andy Lutomirski wrote: > >> I thought of doing that from the prctl but AFAICT remap_pfn_range > >> requires that it's unmapped before the call (remap_pte_range has > >> BUG_ON(!pte_none(*pte));) and doing

[PATCH v2 3/3] percpu-refcount: make percpu_ref based on longs instead of ints

2014-09-19 Thread Tejun Heo
>From e625305b390790717cf2cccf61efb81299647028 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Sat, 20 Sep 2014 01:27:25 -0400 percpu_ref is currently based on ints and the number of refs it can cover is (1 << 31). This makes it impossible to use a percpu_ref to count memory objects or pages on 6

Re: [PATCH 3/3] percpu-refcount: make percpu_ref based on longs instead of ints

2014-09-19 Thread Tejun Heo
On Mon, Sep 08, 2014 at 11:12:22AM +0900, Tejun Heo wrote: > percpu_ref is currently based on ints and the number of refs it can > cover is (1 << 31). This makes it impossible to use a percpu_ref to > count memory objects or pages on 64bit machines as it may overflow. > This forces those users to

Re: [PATCH 2/3] percpu-refcount: implement percpu_ref_set_killed()

2014-09-19 Thread Tejun Heo
On Mon, Sep 08, 2014 at 11:12:21AM +0900, Tejun Heo wrote: > With the recent addition of percpu_ref_reinit(), percpu_ref now can be > used as a persistent switch which can be turned on and off repeatedly > where turning off maps to killing the ref and waiting for it to drain; > however, there curre

Re: [PATCH v2 4/6] mm: introduce common page state for ballooned memory

2014-09-19 Thread Konstantin Khlebnikov
On Sat, Sep 20, 2014 at 1:35 AM, Andrew Morton wrote: > On Sat, 13 Sep 2014 12:22:23 +0400 Konstantin Khlebnikov > wrote: > >> On Sat, Sep 13, 2014 at 9:42 AM, Andrew Morton >> wrote: >> > On Sat, 13 Sep 2014 09:26:49 +0400 Konstantin Khlebnikov >> > wrote: >> > >> >> > >> >> > Did we really

Re: [PATCH] printk: git rid of [sched_delayed] message for printk_deferred

2014-09-19 Thread Jan Kara
On Thu 18-09-14 19:34:14, Peter Zijlstra wrote: > On Wed, Sep 17, 2014 at 08:31:35PM -0400, Steven Rostedt wrote: > > I totally didn't get what you wrote. > > :-) > > > We don't want to know if it got delayed, then the patch to remove that > > print seems correct. > > Why would you not want to k

Re: [PATCH 1/2] mtd: nand: support ONFI timings mode retrieval for non-ONFI NANDs

2014-09-19 Thread Brian Norris
Since you were asking about this series, I have a comment: On Mon, Jul 28, 2014 at 11:16:51AM +0200, Boris BREZILLON wrote: > Add an onfi_timing_mode_ds field to nand_chip and nand_flash_dev in order > to support NAND timings definition for non-ONFI NAND. > > NAND that support better timings mode

Re: [PATCH v4 0/2] mtd: nand: add sunxi NAND flash controller support

2014-09-19 Thread Brian Norris
Hi Boris, On Mon, Aug 18, 2014 at 07:26:26PM +0200, Boris BREZILLON wrote: > This patch series adds support for the sunxi NAND Flash Controller (NFC) > block. > > These two patches only add support for the basic NAND stuff: > - NAND controller operations > - SW and HW ECC handling (with both sy

Re: [PATCH] drivers/usb/host/ehci-xilinx-of.c: Include "linux/of_irq.h" to avoid compiling error

2014-09-19 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. Thanks. On 09/08/2014 01:20 PM, Michal Simek wrote: > On 09/03/2014 05:50 PM, Chen Gang wrote: >> Need include it for irq_of_parse_and_map(), the related error with >> allmodconfig under microblaze: >> >> drivers/usb/host/ehc

Re: [PATCH] arch/microblaze/kernel/setup.c: Add default 'screen_info" for fixing compiling break

2014-09-19 Thread Chen Gang
On 09/15/2014 07:10 PM, Chen Gang wrote: > On 9/15/14 16:50, Jesper Nilsson wrote: >> On Sun, Sep 14, 2014 at 10:45:23AM +0200, Geert Uytterhoeven wrote: [...] >> >> Sounds reasonable, at least it can avoid the specific depends on !*arch* >> cruft. >> > > Thank you very much, next when I try the

[PATCH] Media: USB: usbtv: Fixed all coding style issues in usbtv source files.

2014-09-19 Thread Amber Thrall
Fixed various coding styles, ignoring coding style error on line 5 for all files containing a link that is longer than 80 characters long. Signed-off-by: Amber Thrall --- drivers/media/usb/usbtv/usbtv-audio.c | 1 + drivers/media/usb/usbtv/usbtv-core.c | 1 + drivers/media/usb/usbtv/usbtv-vide

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-19 Thread Filipe Brandenburger
On Fri, Sep 19, 2014 at 8:27 PM, Andy Lutomirski wrote: >> I thought of doing that from the prctl but AFAICT remap_pfn_range >> requires that it's unmapped before the call (remap_pte_range has >> BUG_ON(!pte_none(*pte));) and doing a zap_page_range followed by >> remap_pfn_range might incur a race

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-19 Thread Andy Lutomirski
On Fri, Sep 19, 2014 at 8:10 PM, Filipe Brandenburger wrote: > Hi Andy, > > On Fri, Sep 19, 2014 at 3:31 PM, Andy Lutomirski wrote: >>> Sorry if I wasn't clear... That's the exact point of my patch, to make >>> vm_special_mapping local to the task. >>> >>> I started with an approach of keeping a

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-19 Thread Filipe Brandenburger
Hi Andy, On Fri, Sep 19, 2014 at 3:31 PM, Andy Lutomirski wrote: >> Sorry if I wasn't clear... That's the exact point of my patch, to make >> vm_special_mapping local to the task. >> >> I started with an approach of keeping a struct vm_special_mapping + a >> struct page * array per mm_struct. >>

Re: [PATCH 2/2] watchdog: dw_wdt: add restart handler support

2014-09-19 Thread Guenter Roeck
On 09/18/2014 11:29 PM, Jisheng Zhang wrote: The kernel core now provides an API to trigger a system restart. Register with it to support restarting the system via. watchdog. Signed-off-by: Jisheng Zhang --- drivers/watchdog/dw_wdt.c | 27 +++ 1 file changed, 27 inser

Re: [PATCH v5 4/4] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-09-19 Thread Arnd Bergmann
On Friday 19 September 2014, Octavian Purdila wrote: > +struct dln2_gpio_pin { > + __le16 pin; > +} __packed; This does not need to be marked packed, since it is never embedded in another structure. > +struct dln2_gpio_pin_val { > + __le16 pin; > + u8 value; > +} __packed; It's enoug

Re: linux-next: Tree for Sep 19

2014-09-19 Thread Guenter Roeck
On 09/19/2014 07:08 PM, David Miller wrote: From: Anish Bhatt Date: Sat, 20 Sep 2014 01:43:05 + Original config causing issues can be seen here : https://lkml.org/lkml/2014/9/9/500 As CNIC depends on IPV6, CNIC can be only compiled as a module when IPV6 is compiled as a module. This was t

Re: [PATCH v11 07/10] OF: Introduce helper function for getting PCI domain_nr

2014-09-19 Thread Arnd Bergmann
On Thursday 18 September 2014, Liviu Dudau wrote: > > Add of_pci_get_domain_nr() to retrieve the PCI domain number > of a given device from DT. If the information is not present, > the function can be requested to allocate a new domain number. > > Cc: Bjorn Helgaas > Cc: Arnd Bergmann > Cc: Gra

Re: [PATCH v11 10/10] PCI: Introduce pci_remap_iospace() for remapping PCI I/O bus resources into CPU space

2014-09-19 Thread Arnd Bergmann
On Friday 19 September 2014, Bjorn Helgaas wrote: > On Thu, Sep 18, 2014 at 02:30:25AM +0100, Liviu Dudau wrote: > PCI_IOBASE is a virtual address. So PCI_IOBASE + res->start is also a > virtual address (only for IORESOURCE_IO). > > Since res->start is normally a *physical* address, I think it w

Re: [PATCH v11 03/10] ARM: Define PCI_IOBASE as the base of virtual PCI IO space.

2014-09-19 Thread Arnd Bergmann
On Thursday 18 September 2014, Liviu Dudau wrote: > This is needed for calls into OF code that parses PCI ranges. > It signals support for memory mapped PCI I/O accesses that > are described be device trees. > > Cc: Russell King > Cc: Arnd Bergmann > Cc: Rob Herring > Reviewed-by: Catalin Marin

Re: linux-next: Tree for Sep 19

2014-09-19 Thread David Miller
From: Anish Bhatt Date: Sat, 20 Sep 2014 01:43:05 + > Original config causing issues can be seen here : > https://lkml.org/lkml/2014/9/9/500 > > As CNIC depends on IPV6, CNIC can be only compiled as a module when IPV6 is > compiled as a module. This was the patch I originally commited. Prev

Re: [PATCH V3 3/3] mfd: palmas: Add support for optional wakeup

2014-09-19 Thread Thomas Gleixner
On Fri, 19 Sep 2014, Tony Lindgren wrote: > * Thomas Gleixner [140919 12:47]: > > Why on earth are you wanting tasklets in there? That's just silly, > > really. > > Lack of a framework on driver side to cope with this in a generic > way? :p So instead of creating such a thing we rather have a co

Re: [GIT PULL] KEYS: Changes for keyrings for security/next

2014-09-19 Thread James Morris
On Tue, 16 Sep 2014, David Howells wrote: > Hi James, > > Can you please pull these changes into security/next. They include the fixes > tag I previously requested as there's a dependency between these changes and > the fixes. > I'm getting this warning after pulling your code: CC cryp

Re: [PATCH] ARM: dts: Add initial DTS file for Sony Xperia Z1 phone

2014-09-19 Thread Frank Rowand
On 9/16/2014 4:14 PM, Tim Bird wrote: > > > On 09/16/2014 04:08 PM, Kumar Gala wrote: >> >> On Sep 16, 2014, at 4:03 PM, Tim Bird wrote: >> >>> This DTS has initial support for just a serial console, for the >>> Sony Xperia Z1 phone. This phone uses a QualComm 8074 processor. >>> >> >> Qualcomm

Re: SO_REUSEPORT and Unix domain sockets

2014-09-19 Thread Eduardo Silva
> > How can this be used for sockets of type AF_UNIX? > > I can only get it working with TCP sockets, not Unix domain sockets. > > When using TCP, the incoming clients will get nicely balanced to all > processes listening. With Unix domain sockets, the incoming clients all get > connected only to t

RE: linux-next: Tree for Sep 19

2014-09-19 Thread Anish Bhatt
commit > changes the following configurations. > > e55_defconfig > gpr_defconfig > ip27_defconfig > jazz_defconfig > loongson3_defconfig > malta_defconfig > malta_kvm_defconfig > malta_kvm_guest_defconfig > mtx1_defconfig > nlm_xlp_defconfig > nlm_xlr_defconfig >

Re: [PATCH 1/2] 3c59x: Add dma error checking and recovery

2014-09-19 Thread Neil Horman
On Fri, Sep 19, 2014 at 04:29:19PM -0400, David Miller wrote: > From: Neil Horman > Date: Wed, 17 Sep 2014 09:04:44 -0400 > > > Noted that 3c59x has no checks on transmit for failed DMA mappings, and no > > ability to unmap fragments when a single map fails in the middle of a > > transmit. > > T

Re: linux-next: Tree for Sep 19

2014-09-19 Thread Randy Dunlap
configurations are no longer valid. For mips alone I find that this commit > changes the following configurations. > > e55_defconfig > gpr_defconfig > ip27_defconfig > jazz_defconfig > loongson3_defconfig > malta_defconfig > malta_kvm_defconfig > malta_kvm_guest_defcon

VIRUS DETECTED! UPGRADE YOUR ACCOUNT.

2014-09-19 Thread ONLINE WEBMAIL TEAM
Help Desk onlinewebt...@outlook.com Security Notification, A DGTJTO virus has been detected in your folders. Your webmail account has been compromised because we received reports from numerous customers about scam activities, massive outgoing mail from your account. Simply fill the required de

Re: [PATCH v11 10/10] PCI: Introduce pci_remap_iospace() for remapping PCI I/O bus resources into CPU space

2014-09-19 Thread Rob Herring
On 09/17/2014 08:30 PM, Liviu Dudau wrote: > Introduce a default implementation for remapping PCI bus I/O resources > onto the CPU address space. Architectures with special needs may > provide their own version, but most should be able to use this one. > > Cc: Bjorn Helgaas > Cc: Arnd Bergmann >

Re: [PATCH 4/4] target: Add a user-passthrough backstore

2014-09-19 Thread Andy Grover
On 09/19/2014 04:51 PM, Alex Elsayed wrote: Not sure I follow.. How does the proposed passthrough mode prevent someone from emulating OSDs, media changers, optical disks or anything else in userspace with TCMU..? The main thing that the above comments highlight is why attempting to combine the

Re: [PATCH v11 08/10] OF: PCI: Add support for parsing PCI host bridge resources from DT

2014-09-19 Thread Rob Herring
On 09/19/2014 04:06 PM, Bjorn Helgaas wrote: > On Thu, Sep 18, 2014 at 02:30:23AM +0100, Liviu Dudau wrote: >> Provide a function to parse the PCI DT ranges that can be used to >> create a pci_host_bridge structure together with its associated >> bus. >> >> Cc: Bjorn Helgaas >> Cc: Arnd Bergmann

Re: [RFC v2 2/5] Define new syscalls readv2,preadv2,writev2,pwritev2

2014-09-19 Thread Darrick J. Wong
On Fri, Sep 19, 2014 at 03:52:20AM -0700, Christoph Hellwig wrote: > On Thu, Sep 18, 2014 at 11:48:23AM -0700, Darrick J. Wong wrote: > > A few months ago I was working on extending these interfaces (well, the > > p{read,write}* ones and AIO) to tack on an IO extension buffer at the end of > > the

Re: linux-next: Tree for Sep 19

2014-09-19 Thread Guenter Roeck
On 09/19/2014 02:42 PM, Anish Bhatt wrote: If you're just bisecting, you probably want my very first commit that started this : https://git.kernel.org/cgit/linux/kernel/git/davem/net.git/commit/?id=c99d667e852766afc755fa4430be64bb94e5ea1c Essentially, the bnx2 modules would silently disable ipv

Re: linux-next: Tree for Sep 19

2014-09-19 Thread Guenter Roeck
m_defconfig malta_kvm_guest_defconfig mtx1_defconfig nlm_xlp_defconfig nlm_xlr_defconfig rm200_defconfig e55_defconfig is almost the same as before, but only because CONFIG_NET was not configured for it to start with. For all others, CONFIG_NET is no longer set. This effectively means that out of 55 mips

[for-next][PATCH 1/2] ktest: Add PATCHCHECK_CHERRY

2014-09-19 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add a way to run a patchcheck test on the commits that are in one branch but not in another. This uses git cherry to find a list of commits to test each one with. Signed-off-by: Steven Rostedt --- tools/testing/ktest/ktest.pl| 35 +++

[for-next][PATCH 2/2] ktest: add ability to skip during BISECT_MANUAL

2014-09-19 Thread Steven Rostedt
From: Chris J Arges When doing a manual bisect, a build can fail or a test can be inconclusive. In these cases it would be helpful to be able to skip the test entirely. Link: http://lkml.kernel.org/r/1409164021-2136-1-git-send-email-chris.j.ar...@canonical.com Reviewed-by: Satoru Takeuchi Sig

[for-next][PATCH 0/2] ktest: Updates for 3.18

2014-09-19 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest.git for-next Head SHA1: fee9d3e61d04422628a3d22ed5eb8370dcef259b Chris J Arges (1): ktest: add ability to skip during BISECT_MANUAL Steven Rostedt (Red Hat) (1): ktest: Add PATCHCHECK_CHERRY tools/testing/kte

Re: [PATCH v10 0/6] Add Maxim 77802 RTC support

2014-09-19 Thread Doug Anderson
t; version [1] and changelog are present on each patch when is > applicable. > > The series were tested on an Exynos5250 Snow (max77686) and > Exynos5420 Peach Pit (max77802) machines and applies cleanly > to both 3.17-rc1 and today's linux-next (20140919). > > NOTE: The

Re: [PATCH 4/4] target: Add a user-passthrough backstore

2014-09-19 Thread Alex Elsayed
Nicholas A. Bellinger wrote: > On Fri, 2014-09-19 at 14:43 -0700, Alex Elsayed wrote: >> Nicholas A. Bellinger wrote: >> >> >> > So the idea of allowing the in-kernel CDB emulation to run after >> > user-space has returned unsupported opcode is problematic for a couple >> > of different reasons.

Re: [PATCH v3 1/5] drm/rockchip: Add basic drm driver

2014-09-19 Thread Rob Clark
On Fri, Sep 19, 2014 at 1:47 AM, Mark yao wrote: > diff --git a/include/uapi/drm/rockchip_drm.h b/include/uapi/drm/rockchip_drm.h > new file mode 100644 > index 000..8f8e60e > --- /dev/null > +++ b/include/uapi/drm/rockchip_drm.h > @@ -0,0 +1,97 @@ > +/* > + * > + * Copyright (c) Fuzhou Rockch

Re: [PATCH v2] drm/exynos: switch to universal plane API

2014-09-19 Thread Daniel Drake
On Fri, Sep 19, 2014 at 6:58 AM, Andrzej Hajda wrote: > The patch replaces legacy functions > drm_plane_init() / drm_crtc_init() with > drm_universal_plane_init() and drm_crtc_init_with_planes(). > It allows to replace fake primary plane with the real one. > Additionally the patch leaves cleanup o

[PATCH 1/2] ARM: DT: msm8660: Add sdcc nodes

2014-09-19 Thread Stephen Boyd
Add the sdcc nodes to support the SD card controller using pl180 mmci driver. We also add a temporary fixed regulator until the regulator driver is mainlined. Cc: Srinivas Kandagatla Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8660-surf.dts | 12 arch/arm/boot/dts/qcom-ms

[PATCH 2/2] ARM: DT: msm8960: Add sdcc nodes

2014-09-19 Thread Stephen Boyd
Add the sdcc nodes to support the SD card controller using pl180 mmci driver. We also add a temporary fixed regulator until the regulator driver is mainlined. Cc: Srinivas Kandagatla Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8960-cdp.dts | 12 arch/arm/boot/dts/qcom-msm

Re: [PATCH] kvm: Make init_rmode_tss() return 0 on success.

2014-09-19 Thread Radim Krčmář
2014-09-16 13:38+0200, Paolo Bonzini: > In init_rmode_tss(), there two variables indicating the return > value, r and ret, and it return 0 on error, 1 on success. The function > is only called by vmx_set_tss_addr(), and r is redundant. > > This patch removes the redundant variable, by making init_

Re: [PATCH 4/4] target: Add a user-passthrough backstore

2014-09-19 Thread Nicholas A. Bellinger
On Fri, 2014-09-19 at 14:43 -0700, Alex Elsayed wrote: > Nicholas A. Bellinger wrote: > > > > So the idea of allowing the in-kernel CDB emulation to run after > > user-space has returned unsupported opcode is problematic for a couple > > of different reasons. > > > > First, if the correct featur

Re: [RFC PATCH] rcu: Change use of __this_cpu ops on a bool type

2014-09-19 Thread Pranith Kumar
On Fri, Sep 19, 2014 at 4:57 PM, Josh Triplett wrote: > On Fri, Sep 19, 2014 at 01:26:03PM -0400, Pranith Kumar wrote: >> __this_cpu_{read/write}() uses sizeof() to determine the size of the >> variable. >> Using this operation on a bool type causes sparse to complain. >> >> I checked the generat

Re: [PATCH 7/7] sched: Silence nested-externs warnings

2014-09-19 Thread Rustad, Mark D
On Sep 19, 2014, at 3:54 PM, Peter Zijlstra wrote: > On Fri, Sep 19, 2014 at 08:29:40AM -0700, Jeff Kirsher wrote: >> From: Mark Rustad >> >> Use diagnostic control macros to ignore nested-externs warnings >> in this case. >> >> CC: Ingo Molnar >> CC: Peter Zijlstra >> CC: Brian Norris >> S

Re: [PATCH] usb: dwc2: add T: line to MAINTAINERS showing Felipe's tree

2014-09-19 Thread Greg KH
On Fri, Sep 19, 2014 at 02:49:36PM -0700, Paul Zimmerman wrote: > Starting with v3.18-rc, patches for dwc2 will go through Felipe's > tree. Add a T: line to MAINTAINERS to document this. > > Signed-off-by: Paul Zimmerman Now applied. I've caught up with all pending dwc2 patches that I know of.

Re: [PATCH] staging: lustre: fix undefined references to obd_memory

2014-09-19 Thread Greg KH
On Mon, Sep 15, 2014 at 09:34:53AM -0500, John L. Hammond wrote: > From: "John L. Hammond" > > If CONFIG_PROC_FS=n then obd_memory is not defined. So put the setup > and cleanup of this variable within #ifdef CONFIG_PROC_FS guards. > > Signed-off-by: John L. Hammond > --- > .../staging/lustre/

Re: [PATCH] rtc: pm8xxx: rework to support pm8941 rtc

2014-09-19 Thread Andrew Morton
On Fri, 12 Sep 2014 12:44:04 +0300 Stanimir Varbanov wrote: > Adds support for RTC device inside PM8941 PMIC. The RTC > in this PMIC have two register spaces. Thus the rtc-pm8xxx > is slightly reworked to reflect these differences. > > The register set for different PMIC chips are selected > on

[PATCH] kvm: don't take vcpu mutex for obviously invalid vcpu ioctls

2014-09-19 Thread David Matlack
vcpu ioctls can hang the calling thread if issued while a vcpu is running. If we know ioctl is going to be rejected as invalid anyway, we can fail before trying to take the vcpu mutex. This patch does not change functionality, it just makes invalid ioctls fail faster. Signed-off-by: David Matlack

Re: [RFC][PATCH 6/6] sched: consolidate config options

2014-09-19 Thread Peter Zijlstra
On Fri, Sep 19, 2014 at 12:15:45PM -0700, Dave Hansen wrote: > On 09/18/2014 10:29 AM, Peter Zijlstra wrote: > >> > +config SCHED_BOOK > >> > +def_bool y > >> > +prompt "Book scheduler support" > >> > +depends on ARCH_ENABLE_SCHED_BOOK > >> > +select SCHED_MC > >> >

RE: [PATCH] scsi: fix SCSI_BNX2X_FCOE dependencies and build errors

2014-09-19 Thread Anish Bhatt
Leaves only 1 warning still reproduceable : (LIBFCOE && TCM_QLA2XXX) selects LIBFC which has unmet direct dependencies (SCSI_LOWLEVEL && SCSI && SCSI_FC_ATTRS), so maybe that needs a fix too ? All the other fcoe/scsi menu entries behave as expected. Tested-by: Anish Bhatt

Re: [PATCH V3 RESEND] SYSV: logging update

2014-09-19 Thread Andrew Morton
On Sat, 13 Sep 2014 23:12:36 +0200 Fabian Frederick wrote: > -use current logging functions > -replace no level printk by pr_err > -add debug.c / sysv_err function to include sb->s_id > -use pr_fmt with standard KBUILD_MODNAME ": " > -use __builtin_return_address to display function name > loggin

Re: [PATCH 7/7] sched: Silence nested-externs warnings

2014-09-19 Thread Peter Zijlstra
On Fri, Sep 19, 2014 at 08:29:40AM -0700, Jeff Kirsher wrote: > From: Mark Rustad > > Use diagnostic control macros to ignore nested-externs warnings > in this case. > > CC: Ingo Molnar > CC: Peter Zijlstra > CC: Brian Norris > Signed-off-by: Mark Rustad > Signed-off-by: Jeff Kirsher > ---

[ANNOUNCE] Git v2.1.1

2014-09-19 Thread Junio C Hamano
The latest maintenance release Git v2.1.1 is now available at the usual places. The tarballs are found at: https://www.kernel.org/pub/software/scm/git/ The following public repositories all have a copy of the 'v2.1.1' tag and the 'maint' branch that the tag points at: url = https://kernel

[PATCH 1/3 v2] drivers/bus: Added Freescale Management Complex APIs

2014-09-19 Thread J. German Rivera
From: "J. German Rivera" APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder --- Changes in v2: - Addres

[PATCH 3/3 v2] drivers/bus: Device driver for FSL-MC DPRC devices

2014-09-19 Thread J. German Rivera
From: "J. German Rivera" A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera Signed-off-by: Stuart Yoder --- Changes in v2: - Addressed comme

[PATCH 2/3 v2] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2014-09-19 Thread J. German Rivera
From: "J. German Rivera" Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers. Signed-off-by: J. German Rivera Signe

[PATCH 0/3 v2] drivers/bus: Freescale Management Complex bus driver patch series

2014-09-19 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. This patch series is dependent on the patch series "ARM64: Add support for FSL's LS2085A SoC" (http://thread.gmane.org/gmane.linux.ports.arm.kernel/351829) The fsl-mc is a hardware resource manager t

Re: Racy manipulation of task_struct->flags in cgroups code causes hard to reproduce kernel panics

2014-09-19 Thread Peter Zijlstra
On Fri, Sep 19, 2014 at 08:53:33PM +0900, Tetsuo Handa wrote: > cpuset_update_task_spread_flag() is updating other thread's > "struct task_struct"->flags without exclusion control or atomic > operations! > > -- linux-2.6.32-358.23.2.el6/kernel/cpuset.c -- > 300:/* > 301: * update t

[GIT PULL] target fixes for v3.17-rc6

2014-09-19 Thread Nicholas A. Bellinger
Hi Linus, Here are the target pending fixes for v3.17-rc6. Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master Included are Sagi's long overdue fixes related to iser-target shutdown, along with a couple of fixes from Sebastian related to ALUA Referral

[PATCH] scsi: fix SCSI_BNX2X_FCOE dependencies and build errors

2014-09-19 Thread Randy Dunlap
From: Randy Dunlap Don't enable NETDEVICES when NET is not enabled. That causes build warnings and errors. warning: (SCSI_CXGB3_ISCSI && SCSI_CXGB4_ISCSI && SCSI_BNX2X_FCOE) selects NETDEVICES which has unmet direct dependencies (NET) warning: (SCSI_CXGB3_ISCSI && SCSI_CXGB4_ISCSI && SCSI_BNX2_

Re: x86, microcode: BUG: microcode update that changes x86_capability

2014-09-19 Thread Henrique de Moraes Holschuh
On Fri, 19 Sep 2014, Henrique de Moraes Holschuh wrote: > I'm filling a bug on Debian glibc, asking them to blacklist HLE until > further notice. FWIW, https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762195 -- "One disk to rule them all, One disk to find them. One disk to bring them all an

Re: linux-next: Tree for Sep 19

2014-09-19 Thread Randy Dunlap
On 09/19/14 15:28, Anish Bhatt wrote: > Is it completely acceptable to have default configs that select menu entries > but not their dependencies ? Since essentially earlier the select on > SCSI_NETLINK select used to select NET but no longer does, so I'm wondering > if this was an oversight ear

Re: [PATCH v9 1/4] pci:host: APM X-Gene PCIe host controller driver

2014-09-19 Thread Bjorn Helgaas
On Tue, Sep 16, 2014 at 03:33:41PM -0700, Tanmay Inamdar wrote: > This patch adds the AppliedMicro X-Gene SOC PCIe host controller driver. > X-Gene PCIe controller supports maximum up to 8 lanes and GEN3 speed. > X-Gene SOC supports maximum 5 PCIe ports. > > Reviewed-by: Liviu Dudau > Signed-off-

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-19 Thread Andy Lutomirski
On Fri, Sep 19, 2014 at 3:19 PM, Filipe Brandenburger wrote: > Hi, > > On Fri, Sep 19, 2014 at 3:09 PM, Andy Lutomirski wrote: >> On Fri, Sep 19, 2014 at 3:02 PM, Filipe Brandenburger >> wrote: >>> In case that's useful, I was looking at swapping the vvar page by >>> changing the vm_special_map

RE: linux-next: Tree for Sep 19

2014-09-19 Thread Anish Bhatt
Is it completely acceptable to have default configs that select menu entries but not their dependencies ? Since essentially earlier the select on SCSI_NETLINK select used to select NET but no longer does, so I'm wondering if this was an oversight earlier. Is this something that's supposed to be

Re: [PATCH v4 10/11] ARM: kernel: add support for cpu cache information

2014-09-19 Thread Stephen Boyd
On 09/03/14 10:00, Sudeep Holla wrote: > From: Sudeep Holla > > This patch adds support for cacheinfo on ARM platforms. > > On ARMv7, the cache hierarchy can be identified through Cache Level ID > register(CLIDR) while the cache geometry is provided by Cache Size ID > register(CCSIDR). > > On arch

Re: [PATCH v4 03/11] drivers: base: add cpu_device_create to support per-cpu devices

2014-09-19 Thread Stephen Boyd
On 09/03/14 10:00, Sudeep Holla wrote: > From: Sudeep Holla > > This patch adds a new function to create per-cpu devices. > This helps in: > 1. reusing the device infrastructure to create any cpu related >attributes and corresponding sysfs instead of creating and >dealing with raw kobjects

Re: [PATCH v4 04/11] drivers: base: support cpu cache information interface to userspace via sysfs

2014-09-19 Thread Stephen Boyd
On 09/03/14 10:00, Sudeep Holla wrote: > From: Sudeep Holla > > This patch adds initial support for providing processor cache information > to userspace through sysfs interface. This is based on already existing > implementations(x86, ia64, s390 and powerpc) and hence the interface is > intended t

Re: [PATCH v4 01/11 UPDATE] cpumask: factor out show_cpumap into separate helper function

2014-09-19 Thread Stephen Boyd
On 09/04/14 08:46, Sudeep Holla wrote: > From: Sudeep Holla > > Many sysfs *_show function use cpu{list,mask}_scnprintf to copy cpumap > to the buffer aligned to PAGE_SIZE, append '\n' and '\0' to return null > terminated buffer with newline. > > This patch creates a new helper function cpumap_pri

Re: linux-next: Tree for Sep 19

2014-09-19 Thread Randy Dunlap
On 09/19/14 14:14, Guenter Roeck wrote: > On Fri, Sep 19, 2014 at 04:58:17PM +1000, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20140917: >> >> The fsl tree still had its build failure so I used the version from >> next-20140917. >> >> The v4l-dvb tree lost its build failure. >> >> The s

Re: [GIT PULL v2] USB changes for v3.18 merge window

2014-09-19 Thread Greg KH
On Thu, Sep 18, 2014 at 09:46:11AM -0500, Felipe Balbi wrote: > Hi Greg, > > Here you go. This one should be good to go. Sorry for the last minute > change but it was better to revert those patches than having a broken > v3.17 final. Let me know if you want any changes. > > cheers > > The follow

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-19 Thread Filipe Brandenburger
Hi, On Fri, Sep 19, 2014 at 3:09 PM, Andy Lutomirski wrote: > On Fri, Sep 19, 2014 at 3:02 PM, Filipe Brandenburger > wrote: >> In case that's useful, I was looking at swapping the vvar page by >> changing the vm_special_mapping to change the pages array between the >> actual vvar page and the

Re: [PATCH 2/2 V7] irqchip: gicv2m: Add supports for ARM GICv2m MSI(-X)

2014-09-19 Thread Marc Zyngier
Hi Suravee, On Thu, Sep 18 2014 at 03:14:46 AM, "suravee.suthikulpa...@amd.com" wrote: > From: Suravee Suthikulpanit > > ARM GICv2m specification extends GICv2 to support MSI(-X) with > a new set of register frame. This patch introduces support for > the non-secure GICv2m register frame. Curren

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-19 Thread Andy Lutomirski
On Fri, Sep 19, 2014 at 3:02 PM, Filipe Brandenburger wrote: > Hi Andy, > > On Fri, Sep 19, 2014 at 12:27 PM, Andy Lutomirski wrote: >> I have this (special mapping tracking) 3/4 implemented. I'm planning >> on making it fully functional for 64-bit programs and almost correct >> for 32-bit. (Yo

Re: [PATCH] x86/vdso: Add prctl to set per-process VDSO load

2014-09-19 Thread Filipe Brandenburger
Hi Andy, On Fri, Sep 19, 2014 at 12:27 PM, Andy Lutomirski wrote: > I have this (special mapping tracking) 3/4 implemented. I'm planning > on making it fully functional for 64-bit programs and almost correct > for 32-bit. (You'll still crash if you have multiple threads, you use > sysenter, and

Re: [PATCH v11 00/10] Support for creating generic PCI host bridges from DT

2014-09-19 Thread Bjorn Helgaas
On Thu, Sep 18, 2014 at 02:30:15AM +0100, Liviu Dudau wrote: > This is my version 11 of the attempt at adding support for generic PCI host > bridge controllers that make use of device tree information to > configure themselves. It contains minor cleanups compared with v10 to address > the existing

Re: [GIT PULL 0/3] PHY: Fixes for 3.17 -rc cycle

2014-09-19 Thread Greg KH
On Wed, Sep 17, 2014 at 09:19:47PM +0530, Kishon Vijay Abraham I wrote: > Hi Greg, > > On Friday 12 September 2014 07:36 PM, Kishon Vijay Abraham I wrote: > > Hi Greg, > > > > here's one more PULL REQUEST for this -rc cycle. It consists of only > > three fixes one in miphy365 PHY driver and the o

Re: [PATCH v11 10/10] PCI: Introduce pci_remap_iospace() for remapping PCI I/O bus resources into CPU space

2014-09-19 Thread Bjorn Helgaas
On Thu, Sep 18, 2014 at 02:30:25AM +0100, Liviu Dudau wrote: > Introduce a default implementation for remapping PCI bus I/O resources > onto the CPU address space. Architectures with special needs may > provide their own version, but most should be able to use this one. I see that this is used by

[PATCH] usb: dwc2: add T: line to MAINTAINERS showing Felipe's tree

2014-09-19 Thread Paul Zimmerman
Starting with v3.18-rc, patches for dwc2 will go through Felipe's tree. Add a T: line to MAINTAINERS to document this. Signed-off-by: Paul Zimmerman --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 809ecd6..bffd59c 100644 --- a/MAINTAINERS +++ b

Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-19 Thread Alexander Graf
On 19.09.14 22:41, Scott Wood wrote: > On Fri, 2014-09-19 at 22:32 +0200, Alexander Graf wrote: >> >> On 19.09.14 22:24, Kim Phillips wrote: >>> On Fri, 19 Sep 2014 14:06:32 -0500 >>> Yoder Stuart-B08248 wrote: >>> >>> +/** >>> + * @briefManagement Complex firmware version in

Re: [PATCH v10 5/6] rtc: max77686: Use ffs() to calculate tm_wday

2014-09-19 Thread Javier Martinez Canillas
Hello Joe, On 09/19/2014 09:52 PM, Joe Perches wrote: > On Fri, 2014-09-19 at 21:27 +0200, Javier Martinez Canillas wrote: >> On 09/19/2014 04:39 PM, Joe Perches wrote: >> > On Fri, 2014-09-19 at 12:26 +0200, Javier Martinez Canillas wrote: >> >> The function max77686_rtc_calculate_wday() is used

RE: linux-next: Tree for Sep 19

2014-09-19 Thread Anish Bhatt
link_ack' drivers/scsi/scsi_netlink.c:116: undefined reference to `skb_pull' drivers/scsi/scsi_netlink.c:80: undefined reference to `netlink_capable' drivers/built-in.o: In function `netlink_kernel_create': include/linux/netlink.h:60: undefined reference to `init_net' include/

Re: [v4 PATCH 1/1] init: fix race between rootfs mount and firmware loading

2014-09-19 Thread Greg Kroah-Hartman
On Fri, Sep 19, 2014 at 09:44:24PM +0900, Roman Pen wrote: > The thing is that built-in modules are being inited before > rootfs mount. Some of the modules can request firmware loading > from another thread using async 'request_firmware_nowait' call > on inition, so we can catch this kind of race:

Re: [PATCH v13 net-next 07/11] bpf: verifier (add ability to receive verification log)

2014-09-19 Thread David Miller
From: Alexei Starovoitov Date: Fri, 19 Sep 2014 14:04:50 -0700 > the 'changes requested' status means that you want me to > address this forward compatibility now instead of later? I want you to address this now. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

RE: [PATCH 1/4] drivers/bus: Added Freescale Management Complex APIs

2014-09-19 Thread Stuart Yoder
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Friday, September 19, 2014 3:33 PM > To: Phillips Kim-R1AAHA; Yoder Stuart-B08248 > Cc: Rivera Jose-B46482; ; ; > ; Wood > Scott-B07421; > Subject: Re: [PATCH 1/4] drivers/bus: Added Freescale Management Complex

  1   2   3   4   5   6   >