[PATCH 1/9] resource: Add resource_contains()

2014-02-26 Thread Bjorn Helgaas
We have two identical copies of resource_contains() already, and more places that could use it. This moves it to ioport.h where it can be shared. resource_contains(struct resource *r1, struct resource *r2) returns true iff r1 and r2 are the same type (most callers already checked this

Final: Add 32 bit VDSO time function support

2014-02-26 Thread Stefani Seibold
Hi, i still wait for ACK's for the 32 bit VDSO time function support. Whats the next step? Is there a way to apply it to the linux-git or linux-next in near future? - Stefani -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] net: phy: add suspend_halted module param

2014-02-26 Thread Florian Fainelli
2014-02-26 11:10 GMT-08:00 Andrew Lunn : >> > As to the comment from davem about not using a kernel parameter. How >> > about turning it all around. Put a boolean parameter into DT PHY node >> > to indicate when it is safe to power down an idle phy? >> >> Ah ah, nice try, but I do not think this

CPULoad measurement

2014-02-26 Thread Ronny Meeus
Hello My application consists of several hundreds of threads. I want to create a loadcontrol mechanism at application level so that when the cpuload of a group of threads crosses a certain (configurable) threshold, the threads will voluntary yield until the load condition is over. For this I need

[RFCv3 3/4] xhci: Use completion and status in global command queue

2014-02-26 Thread Mathias Nyman
Remove the per-device command list and handle_cmd_in_cmd_wait_list() and use the completion and status variables found in the command structure in the global command list. Signed-off-by: Mathias Nyman --- drivers/usb/host/xhci-hub.c | 11 --- drivers/usb/host/xhci-mem.c | 1 -

[RFCv3 1/4] xhci: Use command structures when queuing commands on the command ring

2014-02-26 Thread Mathias Nyman
To create a global command queue we require that each command put on the command ring is submitted with a command structure. Functions that queue commands and wait for completion need to allocate a command before submitting it, and free it once completed. The following command queuing functions

[RFCv3 2/4] xhci: Add a global command queue

2014-02-26 Thread Mathias Nyman
Create a list to store command structures, add a structure to it every time a command is submitted, and remove it from the list once we get a command completion event matching the command. Callers that wait for completion will free their command structures themselves. The other command structures

mtip32xx blk-mq status?

2014-02-26 Thread Christoph Hellwig
Hi all, with blk-mq stabilizing in mainline and Jens using mtip32xx as tje major example drivers in the past is there any progress on getting the conversion finished and merged? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[RFCv3 4/4] xhci: rework command timeout and cancellation,

2014-02-26 Thread Mathias Nyman
Use one timer to control command timeout. start/kick the timer every time a command is completed and a new command is waiting, or a new command is added to a empty list. If the timer runs out, then tag the current command as "aborted", and start the xhci command abortion process. Previously

[RFCv3 0/4] xhci: re-work command queue management

2014-02-26 Thread Mathias Nyman
changes since v2: squash first 7 patches together that all just created commands and avoid some nasty mid-patch series memory leaking changes since v1: Fixing smatch warnings and errors. Check for null return from alloc_command, release lock in error path and

Re: + mm-revert-thp-make-madv_hugepage-check-for-mm-def_flags.patch added to -mm tree

2014-02-26 Thread Christian Borntraeger
On 26/02/14 19:06, Oleg Nesterov wrote: > On 02/26, Alex Thorlton wrote: >> >> + * MADV_HUGEPAGE after PRCTL_THP_DISABLE is broken on s390 because >> + * qemu blindly does madvise(MADV_HUGEPAGE) after s390_enable_sie(). >> + */ >> +#ifdef CONFIG_S390 >> + if

Re: [PATCH v3 00/14] perf, x86: Haswell LBR call stack support

2014-02-26 Thread Andy Lutomirski
On Wed, Feb 26, 2014 at 11:19 AM, David Ahern wrote: > On 2/26/14, 11:59 AM, Andy Lutomirski wrote: > >> I wonder if anyone who uses perf for userspace profiling *ever* uses >> FP and gets away with it. There's precious little userspace software >> compiled with frame pointers these days on most

Re: [PATCH v3 00/14] perf, x86: Haswell LBR call stack support

2014-02-26 Thread David Ahern
On 2/26/14, 11:59 AM, Andy Lutomirski wrote: I wonder if anyone who uses perf for userspace profiling *ever* uses FP and gets away with it. There's precious little userspace software compiled with frame pointers these days on most architectures. yes and yes. With control over the entire

Re: [PATCH v4 2/2] ARM hibernation / suspend-to-disk

2014-02-26 Thread Russ Dill
On 02/26/2014 11:10 AM, Sebastian Capella wrote: > From: Russ Dill > > Enable hibernation for ARM architectures and provide ARM > architecture specific calls used during hibernation. > > The swsusp hibernation framework depends on the > platform first having functional suspend/resume. > >

Re: [PATCH] net: phy: add suspend_halted module param

2014-02-26 Thread Andrew Lunn
> > As to the comment from davem about not using a kernel parameter. How > > about turning it all around. Put a boolean parameter into DT PHY node > > to indicate when it is safe to power down an idle phy? > > Ah ah, nice try, but I do not think this belongs in DT, this is purely > a software

[PATCH] devicetree: bindings: Make msm8974-pinctrl documentation match code

2014-02-26 Thread Stephen Boyd
The compatible string doesn't have an x in it. Fix it. Also remove the "qcom" prefix from pins and functions as this binding uses the generic pinctrl bindings for the pins and functions. Cc: Bjorn Andersson Signed-off-by: Stephen Boyd ---

[PATCH v3 0/9] Use regmap+devm+DT in pm8xxx input drivers

2014-02-26 Thread Stephen Boyd
These patches move the pm8xxx input drivers over to use devm_* APIs and regmap. This breaks the dependency of these drivers on the pm8xxx specific read/write calls and also simplifies the probe code a bit. Finally we add devicetree support to these drivers so they can be probed on the platforms

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

2014-02-26 Thread Kumar Gala
On Feb 25, 2014, at 10:01 PM, Stephen Rothwell wrote: > Hi Herbert, > > Today's linux-next merge of the crypto tree got a conflict in > drivers/char/hw_random/Kconfig between commit 2257ffbca73c ("hwrng: msm: > switch Kconfig to ARCH_QCOM depends") from the arm-soc tree and commit >

[PATCH v3 6/9] Input: pmic8xxx-keypad - Migrate to DT

2014-02-26 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd --- drivers/input/keyboard/pmic8xxx-keypad.c | 148 ++- include/linux/input/pmic8xxx-keypad.h| 52 --- 2 files

[PATCH v4 1/2] ARM: avoid tracers in soft_restart

2014-02-26 Thread Sebastian Capella
Use of tracers in local_irq_disable is causes recursive aborts when called with irqs disabled and using a temporary stack (hibernation). Replace local_irq_disable with raw_local_irq_disable instead to avoid tracers. Signed-off-by: Sebastian Capella Cc: Russell King Cc: Andrew Morton Cc: Thomas

Re: [PATCH v2] mm: per-thread vma caching

2014-02-26 Thread Davidlohr Bueso
On Wed, 2014-02-26 at 11:26 +, Mel Gorman wrote: > On Tue, Feb 25, 2014 at 10:16:46AM -0800, Davidlohr Bueso wrote: > > > > struct kioctx_table; > > struct mm_struct { > > - struct vm_area_struct * mmap; /* list of VMAs */ > > + struct vm_area_struct *mmap;/* list

[PATCH 2/4] x86: Use clflushopt in clflush_cache_range

2014-02-26 Thread Ross Zwisler
If clflushopt is available on the system, use it instead of clflush in clflush_cache_range. Signed-off-by: Ross Zwisler Cc: H Peter Anvin Cc: Ingo Molnar Cc: Thomas Gleixner --- arch/x86/mm/pageattr.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v4 2/2] ARM hibernation / suspend-to-disk

2014-02-26 Thread Sebastian Capella
From: Russ Dill Enable hibernation for ARM architectures and provide ARM architecture specific calls used during hibernation. The swsusp hibernation framework depends on the platform first having functional suspend/resume. Then, in order to enable hibernation on a given platform, a

[PATCH 3/4] x86: Use clflushopt in drm_clflush_page

2014-02-26 Thread Ross Zwisler
If clflushopt is available on the system, use it instead of clflush in drm_clflush_page. Signed-off-by: Ross Zwisler Cc: H Peter Anvin Cc: Ingo Molnar Cc: Thomas Gleixner --- drivers/gpu/drm/drm_cache.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git

[PATCH v3 8/9] devicetree: bindings: Document PM8921/8058 power keys

2014-02-26 Thread Stephen Boyd
Document the power key found on PM8921 and PM8058 PMICs. Cc: Signed-off-by: Stephen Boyd --- .../bindings/input/qcom,pm8xxx-pwrkey.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt

[PATCH v4 0/2] hibernation support on ARM

2014-02-26 Thread Sebastian Capella
Patches adding support for hibernation on ARM - ARM hibernation / suspend-to-disk - Change soft_restart to use non-tracing raw_local_irq_disable Patches based on v3.13 tag, verified hibernation on beaglebone black on a branch based on 3.13 merged with initial omap support from Russ Dill which

[PATCH v3 7/9] devicetree: bindings: Document PM8921/8058 keypads

2014-02-26 Thread Stephen Boyd
Document the keypad device found on PM8921 and PM8058 PMICs. Cc: Signed-off-by: Stephen Boyd --- .../bindings/input/qcom,pm8xxx-keypad.txt | 72 ++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/qcom,pm8xxx-keypad.txt

[PATCH v3 9/9] devicetree: bindings: Document PM8921/8058 vibrators

2014-02-26 Thread Stephen Boyd
Document the vibration device found on PM8921 and PM8058 PMICs. Cc: Signed-off-by: Stephen Boyd --- .../devicetree/bindings/input/qcom,pm8xxx-vib.txt| 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/qcom,pm8xxx-vib.txt

Re: [PATCH v5 1/3] x86, mpx: add documentation on Intel MPX

2014-02-26 Thread Dave Hansen
On 02/23/2014 05:27 AM, Qiaowei Ren wrote: > +Bounds Directory (BD) and Bounds Tables (BT) are stored in > +application memory and are allocated by the application (in case > +of kernel use, the structures will be in kernel memory). The > +bound directory and each instance of bound table are in

[PATCH 4/4] x86: Use clflushopt in drm_clflush_virt_range

2014-02-26 Thread Ross Zwisler
If clflushopt is available on the system, use it instead of clflush in drm_clflush_virt_range. Signed-off-by: Ross Zwisler Cc: H Peter Anvin Cc: Ingo Molnar Cc: Thomas Gleixner --- drivers/gpu/drm/drm_cache.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/4] i2o: Use pci_bus_alloc_resource()

2014-02-26 Thread Bjorn Helgaas
i20 currently uses pci_find_parent_resource() followed by allocate_resource() to allocate PCI space. The problem is that this won't work reliably because before we allocate the space, we don't know its address, and therefore we can't find the parent resource. Even if we know the *type* of space

[PATCH 3/4] i2o: Refactor i2o_iop_systab_set() PCI space allocation

2014-02-26 Thread Bjorn Helgaas
Refactor the PCI space allocation in i2o_iop_systab_set(). This might improve readability slightly, but mainly it is to make the next patch simpler. No functional change. Signed-off-by: Bjorn Helgaas --- drivers/message/i2o/iop.c | 89 +++-- 1 file

[PATCH 2/4] i2o: Fix I/O space alignment requirement

2014-02-26 Thread Bjorn Helgaas
When i2o_iop_systab_set() allocates I/O port space, it specifies 1Mb alignment required. This seems unlikely, since most platforms have only 64Kb of I/O space total. I think 4Kb is a more reasonable choice, since that's the minimum alignment of a PCI-PCI bridge I/O window. My guess is that this

[RFA][PATCH 1/4] tracing: Fix event header writeback.h to include tracepoint.h

2014-02-26 Thread Steven Rostedt
[ Request for Ack ] From: "Steven Rostedt (Red Hat)" The trace event headers are required to include tracepoint.h. The only reason they worked now is because module.h included tracepoint.h, and that will soon change. (And the change will be going to the stable tree as well) Fixes: 455b2864686d

[RFA][PATCH 4/4] tracing: Do not add event files for modules that fail tracepoints

2014-02-26 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" If a module fails to add its tracepoints due to module tainting, do not create the module event infrastructure in the debugfs directory. As the events will not work and worse yet, they will silently fail, making the user wonder why the events they enable do not

[PATCH 1/4] i2o: Fix I/O space allocation copy/paste error

2014-02-26 Thread Bjorn Helgaas
When i2o_iop_systab_set() allocates I/O port space, it assigns the base of the new I/O port region to sb->current_mem_base, not sb->current_io_base. This looks like a copy/paste error, because we do use current_io_base, but there's no other place that sets it. Signed-off-by: Bjorn Helgaas ---

[PATCH v3 5/9] Input: pm8xxx-vibrator - Add DT match table

2014-02-26 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd --- drivers/input/misc/pm8xxx-vibrator.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/misc/pm8xxx-vibrator.c

[PATCH v3] staging: android: lowmemorykiller: neglect swap cached pages in other_file

2014-02-26 Thread vinayakm . list
From: Vinayak Menon With ZRAM enabled it is observed that lowmemory killer doesn't trigger properly. swap cached pages are accounted in NR_FILE, and lowmemorykiller considers this as reclaimable and adds to other_file. But these pages can't be reclaimed unless lowmemorykiller triggers. So

[PATCH 1/4] x86: Add support for clflushopt

2014-02-26 Thread Ross Zwisler
Add support for the new clflushopt instruction. This instruction was announced in the document "Intel Architecture Instruction Set Extensions Programming Reference" with Ref # 319433-018. http://download-software.intel.com/sites/default/files/managed/50/1a/319433-018.pdf Signed-off-by: Ross

[RFA][PATCH 0/4] tracing: Request for acks on fixing tracepoint code

2014-02-26 Thread Steven Rostedt
[ Request for Acks ] Due to module tainting, we have tracepoints that silently do not work. That will be solved another way. But the trace event infrastructure should not be created for tainted modules. That is, the debugfs files should not exist for them. By moving the tracepoint module taint

[PATCH 4/4] i2o: Use pci_bus_alloc_resource(), not allocate_resource() directly

2014-02-26 Thread Bjorn Helgaas
Convert i2o_res_alloc() to use pci_bus_alloc_resource() rather than pci_find_parent_resource() and allocate_resource(). We don't have a resource to start with, so pci_find_parent_resource() can't do anything useful: a bus may have several memory resources available, so there might be several

[PATCH v3 4/9] Input: pmic8xxx-pwrkey - Migrate to DT

2014-02-26 Thread Stephen Boyd
The driver is only supported on DT enabled platforms. Convert the driver to DT so that it can probe properly. Signed-off-by: Stephen Boyd --- drivers/input/misc/pmic8xxx-pwrkey.c | 33 - include/linux/input/pmic8xxx-pwrkey.h | 31 ---

Re: + mm-revert-thp-make-madv_hugepage-check-for-mm-def_flags.patch added to -mm tree

2014-02-26 Thread Gerald Schaefer
On Wed, 26 Feb 2014 19:06:03 +0100 Oleg Nesterov wrote: > On 02/26, Alex Thorlton wrote: > > > > + * MADV_HUGEPAGE after PRCTL_THP_DISABLE is broken on s390 because > > + * qemu blindly does madvise(MADV_HUGEPAGE) after s390_enable_sie(). > > + */ > > +#ifdef CONFIG_S390 > > + if

[PATCH 0/4] x86: Add and use support for clflushopt

2014-02-26 Thread Ross Zwisler
This patch series adds support for the new clflushopt instruction and then uses it in a few appropriate places in x86 specific code. It does this using the alternatives mechanism, so any platforms without support for clflushopt will continue to use clflush instead. clflushopt was announced in

[RFA][PATCH 3/4] tracing/module: Remove include of tracepoint.h from module.h

2014-02-26 Thread Steven Rostedt
[ Request for Ack ] From: "Steven Rostedt (Red Hat)" There's nothing in the module.h header that requires tracepoint.h to be included. Soon, tracepoint.h will require struct module, and will have to include module.h. To avoid include hell, we need to remove the include of tracepoint.h from

[RFA][PATCH 2/4] tracing: Fix event header migrate.h to include tracepoint.h

2014-02-26 Thread Steven Rostedt
[ Request for Ack ] From: "Steven Rostedt (Red Hat)" The trace event headers are required to include tracepoint.h. The only reason they worked now is because module.h included tracepoint.h, and that will soon change. (And the change will be going to the stable tree as well) Fixes: 7b2a2d4a18ff

Re: [PATCH 0/5] ARM: davinci: tnetv107x removal

2014-02-26 Thread Sergei Shtylyov
Hello. On 02/26/2014 04:46 PM, Arnd Bergmann wrote: The five patches are completely independent of one another, and applying them out of order is fine since we just want to remove the code. However, I'm looking for an Ack from Cyril Chemparathy and Sekhar Nori first, to be sure we won't need

[PATCH v4 5/8] mfd: pm8921: Use ssbi regmap

2014-02-26 Thread Stephen Boyd
Use a regmap so that the pm8xxx read/write APIs can be removed once all consumer drivers are converted. Reviewed-by: Mark Brown Signed-off-by: Stephen Boyd --- drivers/mfd/Kconfig | 1 + drivers/mfd/pm8921-core.c | 66 +++ 2 files changed, 39

[PATCH v3 3/9] Input: pmic8xxx-keypad - Migrate to regmap APIs

2014-02-26 Thread Stephen Boyd
Use the regmap APIs for this driver instead of custom pm8xxx APIs. This breaks this driver's dependency on the pm8xxx APIs and allows us to easily port it to other bus protocols in the future. Signed-off-by: Stephen Boyd --- drivers/input/keyboard/pmic8xxx-keypad.c | 81

[PATCH v3 2/9] Input: pmic8xxx-keypad - Migrate to devm_* APIs

2014-02-26 Thread Stephen Boyd
Simplify the error paths and reduce the lines of code in this driver by using the devm_* APIs. Signed-off-by: Stephen Boyd --- drivers/input/keyboard/pmic8xxx-keypad.c | 62 +--- 1 file changed, 17 insertions(+), 45 deletions(-) diff --git

[PATCH v4 3/8] mfd: pm8921: Migrate to irqdomains

2014-02-26 Thread Stephen Boyd
Convert this driver to use irqdomains so that the PMIC's child devices can be converted to devicetree. Acked-by: Lee Jones Signed-off-by: Stephen Boyd --- drivers/mfd/Kconfig | 1 + drivers/mfd/pm8921-core.c | 198 +++---

[PATCH v3 1/9] Input: pmic8xxx-pwrkey - Migrate to regmap APIs

2014-02-26 Thread Stephen Boyd
Use the regmap APIs for this driver instead of custom pm8xxx APIs. This breaks this driver's dependency on the pm8xxx APIs and allows us to easily port it to other bus protocols in the future. Signed-off-by: Stephen Boyd --- drivers/input/misc/pmic8xxx-pwrkey.c | 4 1 file changed, 4

[PATCH v4 1/8] mfd: Move pm8xxx-irq.c contents into only driver that uses it

2014-02-26 Thread Stephen Boyd
The pm8xxx-irq.c code is practically mandatory given that the pm8921-core driver will WARN about it missing and the Kconfig marks it as default y when a PM8xxx chips is enabled. The only reason the file was split out was because we planned to support other pm8xxx chips with different pm8xxx-core.c

[PATCH v4 0/2] hibernation support on ARM

2014-02-26 Thread Sebastian Capella
Patches adding support for hibernation on ARM - ARM hibernation / suspend-to-disk - Change soft_restart to use non-tracing raw_local_irq_disable Patches based on v3.13 tag, verified hibernation on beaglebone black on a branch based on 3.13 merged with initial omap support from Russ Dill which

[PATCH v4 7/8] mfd: pm8921: Loosen Kconfig dependency

2014-02-26 Thread Stephen Boyd
Allow this driver to be compiled on all ARM builds as it doesn't rely on anything within arm/mach-msm. Signed-off-by: Stephen Boyd --- drivers/mfd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig index

Re: [PATCH RFC v1 3/3] ARM hibernation / suspend-to-disk

2014-02-26 Thread Lorenzo Pieralisi
On Wed, Feb 26, 2014 at 05:50:55PM +, Sebastian Capella wrote: > Quoting Lorenzo Pieralisi (2014-02-26 02:24:27) > > On Tue, Feb 25, 2014 at 05:55:31PM +, Sebastian Capella wrote: > > > > Please add: > > > > "swsusp_save() is executed in the suspend finisher so that the CPU context > >

Re: [PATCH] sched: fix double normalization of vruntime

2014-02-26 Thread George McCollister
On Wed, Feb 26, 2014 at 7:28 AM, Peter Zijlstra wrote: > On Tue, Feb 18, 2014 at 05:56:51PM -0600, George McCollister wrote: >> dequeue_entity() is called when p->on_rq and sets se->on_rq = 0 >> which appears to guarentee that the !se->on_rq condition is met. >> If the task has done

Re: [GIT PULL] AF_RXRPC fixes and development

2014-02-26 Thread David Miller
From: David Howells Date: Wed, 26 Feb 2014 17:41:45 + > Here are some AF_RXRPC fixes (to tag rxrpc-20140226): You really need to post the patch series along with the pull request so that netdev can review your changes. Thank you. -- To unsubscribe from this list: send the line "uns

[PATCH v4 8/8] devicetree: bindings: Document PM8921/8058 PMICs

2014-02-26 Thread Stephen Boyd
PM8921 and PM8058 are PMICs found paired with MSM8960 and MSM8660 devices respectively. They contain subdevices such as keypads, RTC, regulators, clocks, etc. Cc: Signed-off-by: Stephen Boyd --- .../devicetree/bindings/mfd/qcom,pm8xxx.txt| 63 ++ 1 file changed, 63

Re: [PATCH v4 2/3] x86, mpx: hook #BR exception handler to allocate bound tables

2014-02-26 Thread Andy Lutomirski
On Thu, Feb 20, 2014 at 6:44 PM, Ren Qiaowei wrote: > On 02/13/2014 04:19 AM, Andy Lutomirski wrote: >> >> On 02/12/2014 10:36 AM, Qiaowei Ren wrote: >>> >>> An access to an invalid bound directory entry will cause a #BR >>> exception. This patch hook #BR exception handler to allocate >>> one

[PATCH v4 2/8] mfd: pm8921: Update for genirq changes

2014-02-26 Thread Stephen Boyd
Since this code has been marked broken for some time a few genirq tree wide changes weren't made. set_irq_wake() was renamed to irq_set_irq_wake() in commit a0cd9ca2b (genirq: Namespace cleanup, 2011-02-10) and commit 10a8c383 (irq: introduce entry and exit functions for chained handlers)

[PATCH v4 0/8] Modernize pm8921 with irqdomains, regmap, DT

2014-02-26 Thread Stephen Boyd
These patches lay the groundwork for converting the pm8921 sub-devices to devicetree as well as simplify the API by migrating the core code to use the regmap API instead of the custom pm8xxx read/write wrapper. Changes since v3: * Added irqdomain Kconfig select * New patch to loosen Kconfig on

[PATCH v4 6/8] mfd: pm8921: Add DT match table

2014-02-26 Thread Stephen Boyd
Allow this driver to probe based on devicetree. Acked-by: Lee Jones Signed-off-by: Stephen Boyd --- drivers/mfd/pm8921-core.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mfd/pm8921-core.c b/drivers/mfd/pm8921-core.c index e9340bd6d1ab..3aab6ace5eb5 100644 ---

[PATCH 1/1] fs/befs/linuxvfs.c: add __init to befs_init_inodecache()

2014-02-26 Thread Fabian Frederick
init_inodecache is only called by __init init_befs_fs. Signed-off-by: Fabian Frederick --- fs/befs/linuxvfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index 845d2d6..ab4c61f 100644 --- a/fs/befs/linuxvfs.c +++

Re: [PATCH v3 00/14] perf, x86: Haswell LBR call stack support

2014-02-26 Thread Andy Lutomirski
On Wed, Feb 26, 2014 at 10:55 AM, Andi Kleen wrote: >> I'm suggesting a perf event option, just like the way that PEBS works. > > Right now it's a somewhat experimental feature and just having > the sysctl is fine. If it turns out that is what everyone uses > such an option could be still added

[PATCH v4 4/8] mfd: ssbi: Add regmap read/write helpers

2014-02-26 Thread Stephen Boyd
Add read and write helper functions that the pm8921-core driver can use to read and write ssbi registers via a "no-bus" regmap. Cc: Mark Brown Signed-off-by: Stephen Boyd --- include/linux/ssbi.h | 20 1 file changed, 20 insertions(+) diff --git a/include/linux/ssbi.h

Re: [PATCH v3 00/14] perf, x86: Haswell LBR call stack support

2014-02-26 Thread Andi Kleen
> I'm suggesting a perf event option, just like the way that PEBS works. Right now it's a somewhat experimental feature and just having the sysctl is fine. If it turns out that is what everyone uses such an option could be still added later. I suspect most people would still use FP if they can,

Re: [RFC][PATCH] tracing: Warn and notify if tracepoints are not loaded due to module taint

2014-02-26 Thread Steven Rostedt
On Wed, 26 Feb 2014 17:24:47 + (UTC) Mathieu Desnoyers wrote: > - Original Message - > > From: "Steven Rostedt" > > To: "Mathieu Desnoyers" > > Cc: "Peter Zijlstra" , "LKML" > > , "Ingo Molnar" , > > "Rusty Russell" , "Frederic Weisbecker" > > , "Andrew Morton" > > > > Sent:

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-26 Thread Joseph S. Myers
On Wed, 26 Feb 2014, Torvald Riegel wrote: > On Fri, 2014-02-21 at 22:10 +, Joseph S. Myers wrote: > > On Fri, 21 Feb 2014, Paul E. McKenney wrote: > > > > > This needs to be as follows: > > > > > > [[carries_dependency]] int getzero(int i [[carries_dependency]]) > > > { > > > return i -

[PATCH v2 1/2] [media] rtl28xxu: add USB ID for Genius TVGo DVB-T03

2014-02-26 Thread Jan Vcelak
0458:707f KYE Systems Corp. (Mouse Systems) TVGo DVB-T03 [RTL2832] The USB dongle uses RTL2832U demodulator and FC0012 tuner. Signed-off-by: Jan Vcelak --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c

[PATCH v2 2/2] [media] rtl28xxu: add chipset version comments into device list

2014-02-26 Thread Jan Vcelak
Signed-off-by: Jan Vcelak --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c index b9eb662..ab1deac 100644 --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c +++

Re: [PATCH RFC 1/2] net: macb: Check DMA mappings for error

2014-02-26 Thread Sören Brinkmann
On Sun, 2014-02-23 at 12:13AM +, Ben Hutchings wrote: > On Fri, 2014-02-21 at 11:30 -0800, Soren Brinkmann wrote: > [...] > > --- a/drivers/net/ethernet/cadence/macb.c > > +++ b/drivers/net/ethernet/cadence/macb.c > > @@ -632,11 +632,16 @@ static void gem_rx_refill(struct macb *bp) > >

Re: [PATCH] net: phy: add suspend_halted module param

2014-02-26 Thread Florian Fainelli
2014-02-26 10:21 GMT-08:00 Andrew Lunn : > On Tue, Feb 25, 2014 at 11:38:52PM +0100, Sebastian Hesselbarth wrote: >> On 02/24/2014 08:15 PM, Andrew Lunn wrote: >> >On Sun, Feb 23, 2014 at 05:58:39PM +0100, Sebastian Hesselbarth wrote: >> >>commit 1211ce53077164e0d34641d0ca5fb4d4a7574498 >> >>

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-26 Thread Paul E. McKenney
On Wed, Feb 26, 2014 at 02:04:30PM +0100, Torvald Riegel wrote: > xagsmtp2.20140226130517.3...@vmsdvma.vnet.ibm.com > X-Xagent-Gateway: vmsdvma.vnet.ibm.com (XAGSMTP2 at VMSDVMA) > > On Fri, 2014-02-21 at 11:13 -0800, Paul E. McKenney wrote: > > On Fri, Feb 21, 2014 at 07:35:37PM +0100, Michael

Re: [PATCH] staging: android: lowmemorykiller: neglect swap cached pages in other_file

2014-02-26 Thread Greg KH
On Wed, Feb 26, 2014 at 11:40:33PM +0530, vinayakm.l...@gmail.com wrote: > From: Vinayak Menon > > With ZRAM enabled it is observed that lowmemory killer > doesn't trigger properly. swap cached pages are > accounted in NR_FILE, and lowmemorykiller considers > this as reclaimable and adds to

Re: [PATCH] net: phy: add suspend_halted module param

2014-02-26 Thread Andrew Lunn
On Tue, Feb 25, 2014 at 11:38:52PM +0100, Sebastian Hesselbarth wrote: > On 02/24/2014 08:15 PM, Andrew Lunn wrote: > >On Sun, Feb 23, 2014 at 05:58:39PM +0100, Sebastian Hesselbarth wrote: > >>commit 1211ce53077164e0d34641d0ca5fb4d4a7574498 > >> ("net: phy: resume/suspend PHYs on

[PATCH 2/2] x86: kvm: introduce periodic global clock updates

2014-02-26 Thread Andrew Jones
commit 0061d53daf26f introduced a mechanism to execute a global clock update for a vm. We can apply this periodically in order to propagate host NTP corrections. Also, if all vcpus of a vm are pinned, then without an additional trigger, no guest NTP corrections can propagate either, as the current

[PATCH 0/2] x86: kvm: global clock updates

2014-02-26 Thread Andrew Jones
This patch series addresses two issues with global clock updates. The first fixes a bug found on hosts that have a tsc marked as unstable. As global clock updates get triggered on every vcpu load in these cases, guests with a large number of vcpus have their progress nearly halted. The fix for

[PATCH 1/2] x86: kvm: rate-limit global clock updates

2014-02-26 Thread Andrew Jones
When we update a vcpu's local clock it may pick up an NTP correction. We can't wait an indeterminate amount of time for other vcpus to pick up that correction, so commit 0061d53daf26f introduced a global clock update. However, we can't request a global clock update on every vcpu load either (which

[PATCH] staging: android: lowmemorykiller: neglect swap cached pages in other_file

2014-02-26 Thread vinayakm . list
From: Vinayak Menon With ZRAM enabled it is observed that lowmemory killer doesn't trigger properly. swap cached pages are accounted in NR_FILE, and lowmemorykiller considers this as reclaimable and adds to other_file. But these pages can't be reclaimed unless lowmemorykiller triggers. So

[PATCH] staging: android: lowmemorykiller: neglect swap cached pages in other_file

2014-02-26 Thread vinayakm . list
From: Vinayak Menon With ZRAM enabled it is observed that lowmemory killer doesn't trigger properly. swap cached pages are accounted in NR_FILE, and lowmemorykiller considers this as reclaimable and adds to other_file. But these pages can't be reclaimed unless lowmemorykiller triggers. So

Re: + mm-revert-thp-make-madv_hugepage-check-for-mm-def_flags.patch added to -mm tree

2014-02-26 Thread Oleg Nesterov
On 02/26, Peter Zijlstra wrote: > > On Wed, Feb 26, 2014 at 04:31:44PM +0100, Oleg Nesterov wrote: > > /* > > @@ -1977,8 +1975,12 @@ int hugepage_madvise(struct vm_area_stru > > */ > > if (*vm_flags & (VM_HUGEPAGE | VM_NO_THP)) > > return

[PATCH 1/1] fs/gfs2/quota.c: replace kmalloc - __vmalloc / memset 0

2014-02-26 Thread Fabian Frederick
Use kzalloc and __vmalloc __GFP_ZERO for clean sd_quota_bitmap allocation. Signed-off-by: Fabian Frederick --- fs/gfs2/quota.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/gfs2/quota.c b/fs/gfs2/quota.c index 8bec0e31..1ee4b88 100644 --- a/fs/gfs2/quota.c +++

Re: + mm-revert-thp-make-madv_hugepage-check-for-mm-def_flags.patch added to -mm tree

2014-02-26 Thread Oleg Nesterov
On 02/26, Alex Thorlton wrote: > > + * MADV_HUGEPAGE after PRCTL_THP_DISABLE is broken on s390 because > + * qemu blindly does madvise(MADV_HUGEPAGE) after s390_enable_sie(). > + */ > +#ifdef CONFIG_S390 > + if (mm_has_pgste(vma->vm_mm)) > return -EINVAL; >

Re: [PATCH 2/2] asm-generic: rwsem: de-PPCify rwsem.h

2014-02-26 Thread rkuo
On Fri, Feb 21, 2014 at 05:22:27PM +, Will Deacon wrote: > asm-generic/rwsem.h used to live under arch/powerpc. During its > liberation to common code, a few references to its former home where > preserved, in particular the definition of RWSEM_ACTIVE_MASK is > predicated on CONFIG_PPC64. > >

[RESEND PATCH v11] video: backlight: gpio-backlight: Add DT support.

2014-02-26 Thread Denis Carikli
Cc: Bryan Wu Cc: Jingoo Han Cc: Lee Jones Cc: Eric Bénard Signed-off-by: Denis Carikli --- ChangeLog v11->v11-resend: - Removed the Cc list because it's only one patch. ChangeLog v10->v11: - Shrinked the Cc list. - Fixed the of_match_table warning. ChangeLog v9->v10: - Only the respective

Re: [PATCH] x86: set Pentium M as PAE capable

2014-02-26 Thread H. Peter Anvin
On 02/26/2014 09:10 AM, Matthew Garrett wrote: > On Wed, Feb 26, 2014 at 08:45:41AM -0800, H. Peter Anvin wrote: > >> Yes. Grub can be made to behave sanely by using "linux16" and >> "initrd16", but of course none of the distros do it that way. > > Fedora does as of F20, but yeah, point taken.

Re: [PATCH] sched: put rq's sched_avg under CONFIG_FAIR_GROUP_SCHED

2014-02-26 Thread bsegall
Dietmar Eggemann writes: > On 25/02/14 20:52, Peter Zijlstra wrote: >> On Tue, Feb 25, 2014 at 11:47:42AM +, Dietmar Eggemann wrote: >>> +++ b/kernel/sched/sched.h >>> @@ -630,7 +630,9 @@ struct rq { >>> struct llist_head wake_list; >>> #endif >>> >>> +#ifdef CONFIG_FAIR_GROUP_SCHED

Re: [PATCHv1 0/2] Convert rx51-battery to IIO API and add DT support

2014-02-26 Thread Sebastian Reichel
Hi Pali, On Wed, Feb 26, 2014 at 08:40:54AM +0100, Pali Rohár wrote: > I would like to ask other kernel developers what do you think about > moving ADC channel numbers from rx51_battery.ko driver code to DT. > Driver rx51_battery.ko is platform specific for Nokia RX-51 (N900) so > it is usefull

[PATCH] perf tools: Do not compile with -fstrict-aliasing

2014-02-26 Thread Jiri Olsa
On Wed, Feb 26, 2014 at 06:18:05PM +0100, Peter Zijlstra wrote: > On Wed, Feb 26, 2014 at 06:14:26PM +0100, Jiri Olsa wrote: > > hi, > > got issue below when compiling perf tool on i686 with gcc 4.4, > > but not sure the patch is correct workaround here. > > > > thanks for comments, > > jirka > >

Re: [PATCH 5/8] locking, mutex: Cancelable MCS lock for adaptive spinning

2014-02-26 Thread Jason Low
On Wed, 2014-02-26 at 10:22 +0100, Peter Zijlstra wrote: > On Tue, Feb 25, 2014 at 11:56:19AM -0800, Jason Low wrote: > > On Mon, 2014-02-10 at 20:58 +0100, Peter Zijlstra wrote: > > > + for (;;) { > > > + if (prev->next == node && > > > + cmpxchg(>next, node, NULL) == node) >

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-26 Thread Torvald Riegel
On Mon, 2014-02-24 at 09:28 -0800, Paul E. McKenney wrote: > On Mon, Feb 24, 2014 at 05:55:50PM +0100, Michael Matz wrote: > > Hi, > > > > On Mon, 24 Feb 2014, Linus Torvalds wrote: > > > > > > To me that reads like > > > > > > > > int i; > > > > int *q = > > > > int **p = > > > > > > >

[GIT PULL] AF_RXRPC fixes and development

2014-02-26 Thread David Howells
Here are some AF_RXRPC fixes (to tag rxrpc-20140226): (1) Fix to remove incorrect checksum calculation made during recvmsg(). It's unnecessary to try to do this there since we check the checksum before reading the RxRPC header from the packet. (2) Fix to prevent the sending

Re: [PATCH 1/7] Documentation: dt: iio: improve atmel-adc documentation

2014-02-26 Thread Maxime Ripard
Hi Alexandre, On Wed, Feb 26, 2014 at 06:01:08PM +0100, Alexandre Belloni wrote: > This corrects the example by removing the unit-address, as suggested by Mark > Rutland in > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-February/234184.html I still belive that it's wrong, and Mark

Re: [PATCH 00/16] sleep_on removal, second try

2014-02-26 Thread Jens Axboe
On Wed, Feb 26 2014, Arnd Bergmann wrote: > It's been a while since the first submission of these patches, > but a lot of them have made it into linux-next already, so here > is the stuff that is not merged yet, hopefully addressing all > the comments. > > Geert and Michael: the I was expecting

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-26 Thread Torvald Riegel
On Mon, 2014-02-24 at 09:38 -0800, Linus Torvalds wrote: > On Mon, Feb 24, 2014 at 8:55 AM, Michael Matz wrote: > > > > So, let me try to poke holes into your definition or increase my > > understanding :) . You said "chain of pointers"(dereferences I assume), > > e.g. if p is result of consume

Re: [PATCH] x86: set Pentium M as PAE capable

2014-02-26 Thread Borislav Petkov
On Wed, Feb 26, 2014 at 12:20:10PM -0500, Dave Jones wrote: > Then it's definitely a good idea :-) LOL! -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [RFC][PATCH] tracing: Warn and notify if tracepoints are not loaded due to module taint

2014-02-26 Thread Mathieu Desnoyers
- Original Message - > From: "Steven Rostedt" > To: "Mathieu Desnoyers" > Cc: "Peter Zijlstra" , "LKML" > , "Ingo Molnar" , > "Rusty Russell" , "Frederic Weisbecker" > , "Andrew Morton" > > Sent: Wednesday, February 26, 2014 11:15:42 AM > Subject: Re: [RFC][PATCH] tracing: Warn and

Re: + mm-revert-thp-make-madv_hugepage-check-for-mm-def_flags.patch added to -mm tree

2014-02-26 Thread Alex Thorlton
On Wed, Feb 26, 2014 at 05:57:59PM +0100, Peter Zijlstra wrote: > On Wed, Feb 26, 2014 at 04:31:44PM +0100, Oleg Nesterov wrote: > Do we want a comment here, explaining why s390 is special again? Here's what I've got, with everybody's suggestions spun together: diff --git a/mm/huge_memory.c

Re: [PATCH 2/4] arm: qcom: Split Qualcomm support into legacy and multiplatform

2014-02-26 Thread Kumar Gala
On Feb 26, 2014, at 8:22 AM, Kevin Hilman wrote: > Kumar Gala writes: > >> Introduce a new mach-qcom that will support SoCs that intend to be >> multiplatform compatiable while keeping mach-msm to legacy SoC/board >> support that will not transition over to multiplatform. >> >> As part of

<    1   2   3   4   5   6   7   8   9   10   >