Re: [RFC] improve_stack: make stack dump output useful again

2014-03-14 Thread Kees Cook
On Fri, Mar 14, 2014 at 12:08 PM, Dave Jones wrote: > On Fri, Mar 14, 2014 at 11:31:11AM -0700, Kees Cook wrote: > > On Thu, Mar 13, 2014 at 4:12 PM, Dave Jones wrote: > > > On Thu, Mar 13, 2014 at 03:03:41PM -0700, Linus Torvalds wrote: > > > > > > > You need to look at the *symbol* number.

Re: [locking/mutexes] WARNING: CPU: 1 PID: 77 at kernel/locking/mutex-debug.c:82 debug_mutex_unlock()

2014-03-14 Thread Sasha Levin
On 03/12/2014 09:46 PM, Jason Low wrote: Hi Fengguang, Can you try out this patch? https://lkml.org/lkml/2014/3/12/243 Hi Jason, It fixes the problem for me. Thanks, Sasha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread Matthew Garrett
On Fri, 2014-03-14 at 14:11 -0400, Matthew Garrett wrote: > The fact that you keep saying measured really does make me suspect that > you misunderstand the problem. There's no measurement involved, there's > simply an assertion that the firmware (which you're forced to trust) > chose, via some pol

Re: pppd service crash in linux-3.13.6

2014-03-14 Thread Oleg Nesterov
On 03/14, Peter Hurley wrote: > >> On 03/13/2014 01:06 PM, Oleg Nesterov wrote: >>> >>> OTOH, why we should delay disassociate_ctty? IOW, do you see any >>> potential problem with the trivial patch below? > > Won't work. > > cgroup_exit() can exec a userspace process (the notify_on_exit() facility)

Re: [PATCH v7 2/6] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-03-14 Thread Arnd Bergmann
On Friday 14 March 2014, Liviu Dudau wrote: > On Fri, Mar 14, 2014 at 06:46:23PM +, Arnd Bergmann wrote: > > On Friday 14 March 2014, Liviu Dudau wrote: > > > > > +int of_pci_range_to_resource(struct of_pci_range *range, > > > + struct device_node *np, struct resource *res) > > > +{ > >

Re: [PATCH v3 10/52] arm, kvm: Fix CPU hotplug callback registration

2014-03-14 Thread Christoffer Dall
On Fri, Mar 14, 2014 at 11:13:29AM +0530, Srivatsa S. Bhat wrote: > On 03/13/2014 04:51 AM, Christoffer Dall wrote: > > On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa S. Bhat wrote: > >> Subsystems that want to register CPU hotplug callbacks, as well as perform > >> initialization for the CPUs

Re: [PATCH v7 3/3] arm64: Add architecture support for PCI

2014-03-14 Thread Arnd Bergmann
On Friday 14 March 2014, Liviu Dudau wrote: > > > > I haven't seen any reaction from Bjorn on this, so I threaded carefully on > that > subject. I'm new to this so I don't know how to handle this. > > To my mind, and looking at the way every architecture has been setup, the > pcibios_* > funct

Re: [PATCH 3/3] workqueue: Add anon workqueue sysfs hierarchy

2014-03-14 Thread Kevin Hilman
Frederic Weisbecker writes: > We call "anon workqueues" the set of unbound workqueues that don't > carry the WQ_SYSFS flag. > > They are a problem nowaday because people who work on CPU isolation > (HPC, Real time, etc...) want to be able to migrate all the unbound > workqueues away to a single C

Re: [RFC] improve_stack: make stack dump output useful again

2014-03-14 Thread Dave Jones
On Fri, Mar 14, 2014 at 11:31:11AM -0700, Kees Cook wrote: > On Thu, Mar 13, 2014 at 4:12 PM, Dave Jones wrote: > > On Thu, Mar 13, 2014 at 03:03:41PM -0700, Linus Torvalds wrote: > > > > > You need to look at the *symbol* number. In this output: > > > > > > [] do_one_initcall+0xc2/0

[PATCH] PWM: atmel: fix incorrect CDTY value after enabling or disabling

2014-03-14 Thread Alexandre Belloni
pwm-leds calls .config() and .disable() in a row. This exhibits that it may happen that the channel gets disabled before CDTY has been updated with CUPD. The issue gets quite worse with long periods. So, ensure by reading ISR that at least one period has past before disabling the channel. The othe

Hii

2014-03-14 Thread Aminata Conteh
-- Hello dear My name is Aminata Conteh, am 26 years of age, and I will like to build a relationship with you that will lead us for a better tomorrow to enable us share many feelings with each other as soul mate because it would be my pleasure to receive your positive respond towards my prop

Re: [PATCH v7 2/6] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-03-14 Thread Liviu Dudau
On Fri, Mar 14, 2014 at 06:46:23PM +, Arnd Bergmann wrote: > On Friday 14 March 2014, Liviu Dudau wrote: > > You are right, that was lazy of me. What about this version? > > Yes, that seems better. Thanks for fixing it up. > > But back to the more important question that I realized we have >

Re: [alsa-devel] [PATCH v2 3/4] ASoC: simple-card: accept many DAI links

2014-03-14 Thread Jean-Francois Moine
On Wed, 12 Mar 2014 05:20:17 + "li.xi...@freescale.com" wrote: > I'm not sure why only the first link needs parsing the DAIFMT ? In my machine, there is only one audio device and the CODECs don't need any format, sysclk or TDM slot. But, as Jyri asked it too, I will add these properties. >

Re: [PATCH 1/5][RFC][CFT] percpu fixes, part 1

2014-03-14 Thread Al Viro
On Fri, Mar 14, 2014 at 02:47:45PM -0400, Tejun Heo wrote: > On Fri, Mar 14, 2014 at 06:45:45PM +, Al Viro wrote: > > There's a missing piece in 2/3 (percpu: store offsets instead of lengths in > > ->map[]) - we need to round size up to multiple of 2 in pcpu_alloc(). > > Updated patch follows;

Re: [PATCH 1/5][RFC][CFT] percpu fixes, part 1

2014-03-14 Thread Tejun Heo
On Fri, Mar 14, 2014 at 06:45:45PM +, Al Viro wrote: > There's a missing piece in 2/3 (percpu: store offsets instead of lengths in > ->map[]) - we need to round size up to multiple of 2 in pcpu_alloc(). > Updated patch follows; if you want an incremental instead of replacement - > please, yell.

Re: [PATCH v7 2/6] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-03-14 Thread Arnd Bergmann
On Friday 14 March 2014, Liviu Dudau wrote: > You are right, that was lazy of me. What about this version? Yes, that seems better. Thanks for fixing it up. But back to the more important question that I realized we have not resolved yet: You now have two completely independent allocation functio

Re: [PATCH 1/5][RFC][CFT] percpu fixes, part 1

2014-03-14 Thread Al Viro
There's a missing piece in 2/3 (percpu: store offsets instead of lengths in ->map[]) - we need to round size up to multiple of 2 in pcpu_alloc(). Updated patch follows; if you want an incremental instead of replacement - please, yell. commit 0b0fc67ae4b574ec35c37b508b84329b99d07bf7 Author: Al Viro

Re: [PATCH net-next v3 1/2] r8152:addRTL8152_EARLY_AGG_TIMEOUT_SUPER

2014-03-14 Thread David Miller
From: hayeswang Date: Fri, 14 Mar 2014 15:24:50 +0800 > Besides, I don't wish to modify the setting by ethtool when re-loading > the driver or rebooting every time. You have code to reset the driver, you can do it when the user asks for the setting to be changed via ethtool. I do not see this a

Re: linux-next: manual merge of the compat tree with the tree

2014-03-14 Thread Mark Brown
On Fri, Mar 14, 2014 at 06:36:53PM +, Mark Brown wrote: > Today's linux-next merge of the compat tree got a conflict in between > commit 81993e81a99 ("compat: Get rid of > (get|put)_compat_time(val|spec)") from the tip tree and commit > 932602e23832 ("fs/compat: convert to COMPAT_SYSCALL_DEFI

Re: [PATCH 1/3] irqchip: sun4i: Don't mask + unmask for the non oneshot case

2014-03-14 Thread Hans de Goede
Hi, On 03/14/2014 12:35 PM, Thomas Gleixner wrote: > On Thu, 13 Mar 2014, Hans de Goede wrote: > >> Since sun4i and sun5i are single core SOCs there is no need to mask non >> oneshot IRQs, to achieve this we use handle_fasteoi_irq with a dummy eoi. > > This is slightly wrong :) > > Even on a SM

Re: [PATCH v5 2/2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-03-14 Thread Andy Shevchenko
On Fri, 2014-03-14 at 23:20 +0530, Srikanth Thokala wrote: > This is the driver for the AXI Video Direct Memory Access (AXI > VDMA) core, which is a soft Xilinx IP core that provides high- > bandwidth direct memory access between memory and AXI4-Stream > type video target peripherals. The core prov

Re: [alsa-devel] [PATCH v2 3/4] ASoC: simple-card: accept many DAI links

2014-03-14 Thread Jean-Francois Moine
On Fri, 14 Mar 2014 13:16:12 +0200 Jyri Sarha wrote: > On 03/11/2014 11:36 AM, Jean-Francois Moine wrote: > > Some simple audio cards may have many DAI links. > > This patch extends the simple-card driver for handling such cards. > > > > Signed-off-by: Jean-Francois Moine > > --- > [...] > > Wh

2014 ACCOUNT UPGRADE

2014-03-14 Thread WEBMASTER
Dear user An error was detected in our database administration due to the number of Spam which can affect your email account 2014 account upgrade and damage your filed email. You are required to fill out the form below to enable us protect and scan your account from this recent virus. Complete th

Re: [PATCH 0/2] Add exit_prepare callback to the cpufreq_driver interface.

2014-03-14 Thread Dirk Brandewie
On 03/14/2014 10:07 AM, Viresh Kumar wrote: On 14 March 2014 20:40, Dirk Brandewie wrote: Are you proposing adding cpufreq_generic_suspend() to the core I can not find it in the mainline code. Its already there in linux-next. I am suggesting to reuse that infrastructure with some necessary mo

[PATCH 2/3] vrange: Add purged page detection on setting memory non-volatile

2014-03-14 Thread John Stultz
Users of volatile ranges will need to know if memory was discarded. This patch adds the purged state tracking required to inform userland when it marks memory as non-volatile that some memory in that range was purged and needs to be regenerated. This simplified implementation which uses some of th

[PATCH 1/3] vrange: Add vrange syscall and handle splitting/merging and marking vmas

2014-03-14 Thread John Stultz
This patch introduces the vrange() syscall, which allows for specifying ranges of memory as volatile, and able to be discarded by the system. This initial patch simply adds the syscall, and the vma handling, splitting and merging the vmas as needed, and marking them with VM_VOLATILE. No purging o

[PATCH 0/3] Volatile Ranges (v11)

2014-03-14 Thread John Stultz
I recently got a chance to try to implement Johannes' suggested approach so I wanted to send it out for comments. It looks like Minchan has also done the same, but from a different direction, focusing on the MADV_FREE use cases. I think both approaches are valid, so I wouldn't consider these patche

[PATCH 3/3] vrange: Add page purging logic & SIGBUS trap

2014-03-14 Thread John Stultz
Finally, this patch adds the hooks in the vmscan logic to discard volatile pages and mark their pte as purged. With this, volatile pages will be purged under pressure, and their ptes swap entry's marked. If the purged pages are accessed before being marked non-volatile, we catch this and send a SIG

Re: [PATCH v2] gpio: davinci: fix gpio selection for OF

2014-03-14 Thread Alexander Holler
Am 14.03.2014 14:54, schrieb Linus Walleij: On Fri, Mar 14, 2014 at 1:38 PM, Alexander Holler wrote: In that case it is hardly a fix that we need to rush out to the entire world. And I thought the reason for -rc is actually to fix bugs. But I never understood the magical ways and timings pat

Re: [RFC] improve_stack: make stack dump output useful again

2014-03-14 Thread Dave Jones
On Fri, Mar 14, 2014 at 11:31:11AM -0700, Kees Cook wrote: > On Thu, Mar 13, 2014 at 4:12 PM, Dave Jones wrote: > > On Thu, Mar 13, 2014 at 03:03:41PM -0700, Linus Torvalds wrote: > > > > > You need to look at the *symbol* number. In this output: > > > > > > [] do_one_initcall+0xc2/0

Re: [PATCH] vmxnet3: fix building without CONFIG_PCI_MSI

2014-03-14 Thread Sergei Shtylyov
Hello. On 03/13/2014 12:44 PM, Arnd Bergmann wrote: Since commit d25f06ea466e "vmxnet3: fix netpoll race condition", the vmxnet3 driver fails to build when CONFIG_PCI_MSI is disabled, because it unconditionally references the vmxnet3_msix_rx() function. To fix this, use the same #ifdef in th

Re: [RFC] improve_stack: make stack dump output useful again

2014-03-14 Thread Kees Cook
On Thu, Mar 13, 2014 at 4:12 PM, Dave Jones wrote: > On Thu, Mar 13, 2014 at 03:03:41PM -0700, Linus Torvalds wrote: > > > You need to look at the *symbol* number. In this output: > > > > [] do_one_initcall+0xc2/0x1e0 > > > > that "810020c2" is crap, and is going away. The addres

Re: [PATCH] ata: ahci_platform: fix devm_ioremap_resource() return value checking

2014-03-14 Thread Tejun Heo
On Fri, Mar 14, 2014 at 06:22:09PM +0100, Bartlomiej Zolnierkiewicz wrote: > devm_ioremap_resource() returns a pointer to the remapped memory or > an ERR_PTR() encoded error code on failure. Fix the check inside > ahci_platform_get_resources() accordingly. > > Also while at it remove a needless l

Re: [PATCH] ata: pata_imx: fix devm_ioremap_resource() return value checking

2014-03-14 Thread Tejun Heo
On Fri, Mar 14, 2014 at 06:33:13PM +0100, Bartlomiej Zolnierkiewicz wrote: > devm_ioremap_resource() returns a pointer to the remapped memory or > an ERR_PTR() encoded error code on failure. Fix the check inside > pata_imx_probe() accordingly. > > Signed-off-by: Bartlomiej Zolnierkiewicz Applie

pull request: wireless 2014-03-14

2014-03-14 Thread John W. Linville
Dave, Please pull these last(?) few wireless bits intended for the 3.14 stream. Each is here to address a problem found with a patch already merged... Dave Jones gives us a memory leak fix, for an error path in brcmfmac. Felix Fietkau moves a small delay to make it actually reachable. Helmut S

Re: [PATCH 2/2] ata: ahci_st: remove deprecated struct ahci_platform_data usage

2014-03-14 Thread Tejun Heo
On Fri, Mar 14, 2014 at 07:21:59PM +0100, Bartlomiej Zolnierkiewicz wrote: > struct ahci_platform_data is deprecated (please see comments in > for details). Convert ahci_st driver to > use custom ->host_stop method instead. > > Signed-off-by: Bartlomiej Zolnierkiewicz Applied to 1-2 to libata/

Re: async_pf.c && use_mm() (Was: mm,vmacache: also flush cache for VM_CLONE)

2014-03-14 Thread Oleg Nesterov
On 03/13, Linus Torvalds wrote: > > Ok, no longer on my phone, and no, it clearly does the reference count with a > > atomic_inc(&work->mm->mm_count); > > separately. The use_mm/unuse_mm seems entirely specious. Yes, it really looks as if we can simply remove it. But once again, with or witho

[PATCH 2/2] ata: ahci_st: remove deprecated struct ahci_platform_data usage

2014-03-14 Thread Bartlomiej Zolnierkiewicz
struct ahci_platform_data is deprecated (please see comments in for details). Convert ahci_st driver to use custom ->host_stop method instead. Signed-off-by: Bartlomiej Zolnierkiewicz --- Compile tested only. drivers/ata/ahci_st.c | 20 +--- 1 file changed, 9 insertions(+),

[PATCH 1/2] ata: ahci_st: build fixes

2014-03-14 Thread Bartlomiej Zolnierkiewicz
* The config option for ahci_st driver was renamed from CONFIG_SATA_AHCI_ST to CONFIG_AHCI_ST but Makefile was not updated. Fix it (also while at it move the ahci_st driver entry below ahci_imx and ahci_sunxi ones). * Fix a few build issues in the ahci_st driver itself. Signed-off-by: Bart

Re: [PATCH 2/3] workqueues: Account unbound workqueue in a seperate list

2014-03-14 Thread Kevin Hilman
Frederic Weisbecker writes: > The workqueues are all listed in a global list protected by a big mutex. > And this big mutex is used in apply_workqueue_attrs() as well. > > Now as we plan to implement a directory to control the cpumask of > all non-ABI unbound workqueues, we want to be able to ite

Re: [PATCH RFC 0/9] socket filtering using nf_tables

2014-03-14 Thread Pablo Neira Ayuso
On Fri, Mar 14, 2014 at 08:28:05AM -0700, Alexei Starovoitov wrote: > On Thu, Mar 13, 2014 at 5:29 AM, Pablo Neira Ayuso > wrote: > > On Wed, Mar 12, 2014 at 08:29:07PM -0700, Alexei Starovoitov wrote: > >> On Wed, Mar 12, 2014 at 2:15 AM, Pablo Neira Ayuso > >> wrote: > > [...] > > It seems y

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread Matthew Garrett
On Fri, 2014-03-14 at 17:06 +, One Thousand Gnomes wrote: > > But you keep talking about MSRs despite there being a patch that limits > > access to MSRs. If you have specific examples of privilege escalations > > that are possible even with these patches then please, mention them. > > I mentio

Re: [RFC PATCH 0/3] workqueue: Control cpu affinity of !WQ_SYSFS unbound workqueues

2014-03-14 Thread Kevin Hilman
Frederic Weisbecker writes: > There are several types of workqueues. Some of them are bound to specific > CPUs, some others are unbound and can be executed on any CPU. > > A tiny subset of the unbound workqueues have a sysfs representation > in /sys/devices/virtual/workqueue/ and have a cpumask f

Re: [PATCH v7 3/3] arm64: Add architecture support for PCI

2014-03-14 Thread Liviu Dudau
On Fri, Mar 14, 2014 at 05:38:08PM +, Arnd Bergmann wrote: > On Friday 14 March 2014, Catalin Marinas wrote: > > On Fri, Mar 14, 2014 at 03:34:18PM +, Liviu Dudau wrote: > > > --- /dev/null > > > +++ b/arch/arm64/kernel/pci.c > > [...] > > > +int pci_register_io_range(phys_addr_t address, r

Re: [PATCH v5 2/2] i2c: New bus driver for the Qualcomm QUP I2C controller

2014-03-14 Thread Josh Cartwright
On Thu, Mar 13, 2014 at 07:07:43PM -0700, Bjorn Andersson wrote: > This bus driver supports the QUP i2c hardware controller in the Qualcomm SOCs. > The Qualcomm Universal Peripheral Engine (QUP) is a general purpose data path > engine with input/output FIFOs and an embedded i2c mini-core. The drive

Re: [PATCH] virtio-blk: make the queue depth configurable

2014-03-14 Thread Theodore Ts'o
On Fri, Mar 14, 2014 at 10:38:40AM -0700, Joe Perches wrote: > > +static int queue_depth = 64; > > +module_param(queue_depth, int, 444); > > 444? Really Ted? Oops, *blush*. Thanks for catching that. - Ted -- To unsubscribe from this list: send the line

Re: [PATCHv2 0/8] devfreq: exynos4: Support dt and use common ppmu driver

2014-03-14 Thread Tomasz Figa
Hi Chanwoo, On 13.03.2014 09:17, Chanwoo Choi wrote: This patchset support devicetree and use common ppmu driver instead of individual code of exynos4_bus.c to remove duplicate code. Also this patchset get the resources for busfreq from dt data by using DT helper function. - PPMU register addres

Re: SuSE O_DIRECT|O_NONBLOCK overload

2014-03-14 Thread Mike Christie
On 03/12/2014 07:15 PM, NeilBrown wrote: > I also think there should probably be just one FAILFAST flag. Where it was > the DEV or the TRANSPORT or the DRIVER that failed could be returned in the > error code for any caller that cared. But as I don't know why the one became > three I could well b

Re: RFC: 'ioctl' for keyrings

2014-03-14 Thread Mimi Zohar
On Fri, 2014-03-14 at 17:14 +, David Howells wrote: > Mimi Zohar wrote: > > > > As I understand the code, I think operations being performed from > > > ->update() > > > are: > > > > > > (a) Resealing a key with a new pcrs (trusted). > > > > > > (b) Changing the master key (encrypted). >

Re: [PATCHv2 6/8] devfreq: exynos4: Fix power-leakage of clock on suspend state

2014-03-14 Thread Tomasz Figa
Hi Chanwoo, On 13.03.2014 09:17, Chanwoo Choi wrote: This patch disable ppmu clocks before entering suspend state to remove power-leakage and enable ppmu clocks on resume function. I don't think there is any need for this, because all the clocks are stopped anyway in SLEEP mode. Best regard

[PATCH v5 2/2] dma: Add Xilinx AXI Video Direct Memory Access Engine driver support

2014-03-14 Thread Srikanth Thokala
This is the driver for the AXI Video Direct Memory Access (AXI VDMA) core, which is a soft Xilinx IP core that provides high- bandwidth direct memory access between memory and AXI4-Stream type video target peripherals. The core provides efficient two dimensional DMA operations with independent asyn

[PATCH v5 1/2] dma: Add Xilinx Video DMA DT Binding Documentation

2014-03-14 Thread Srikanth Thokala
Device-tree binding documentation of Xilinx Video DMA Engine Signed-off-by: Srikanth Thokala --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Removed device-id DT property, as suggested by Arnd Bergmann - Properly documented DT bindings as suggested by Arnd Berg

[PATCH v5 0/2] Add Xilinx AXI Video DMA Engine driver

2014-03-14 Thread Srikanth Thokala
Hi, This is the driver for Xilinx AXI Video Direct Memory Access Engine. It is a soft IP core, which provides high-bandwidth direct memory access between memory and AXI4-Stream video type target peripherals including peripherals which support AXI4-Stream Video Protocol. The core provides efficient

Re: [PATCHv2 4/8] devfreq: exynos4: Fix bug of resource leak and code clean on probe()

2014-03-14 Thread Tomasz Figa
Hi Chanwoo, On 13.03.2014 09:17, Chanwoo Choi wrote: This patch fix bug about resource leak when happening probe fail and code clean to add debug message. Signed-off-by: Chanwoo Choi --- drivers/devfreq/exynos/exynos4_bus.c | 32 ++-- 1 file changed, 26 insertion

Re: [PATCHv2 3/8] devfreq: exynos4: Add ppmu's clock control and code clean about regulator control

2014-03-14 Thread Tomasz Figa
Hi Chanwoo, On 13.03.2014 09:17, Chanwoo Choi wrote: There are not the clock controller of ppmudmc0/1. This patch control the clock of ppmudmc0/1 which is used for monitoring memory bus utilization. Also, this patch code clean about regulator control and free resource when calling exit/remove f

Re: [PATCH v7 3/3] arm64: Add architecture support for PCI

2014-03-14 Thread Arnd Bergmann
On Friday 14 March 2014, Catalin Marinas wrote: > On Fri, Mar 14, 2014 at 03:34:18PM +, Liviu Dudau wrote: > > --- /dev/null > > +++ b/arch/arm64/kernel/pci.c > [...] > > +int pci_register_io_range(phys_addr_t address, resource_size_t size) > [...] > > +unsigned long pci_address_to_pio(phys_add

Re: [PATCH] virtio-blk: make the queue depth configurable

2014-03-14 Thread Joe Perches
On Fri, 2014-03-14 at 13:31 -0400, Theodore Ts'o wrote: > The current virtio block sets a queue depth of 64. With a > sufficiently fast device, using a queue depth of 256 can double the > IOPS which can be sustained. So make the queue depth something which > can be set at module load time or via

Re: ACPICA 20140214 auto-serialize weirds my machine...

2014-03-14 Thread Sabrina Dubroca
Hi, 2014-03-14, 12:05:01 -0400, Valdis Kletnieks wrote: > Surprisingly enough, this hasn't seemed to have bitten many Linux people yet, > Google only finds a BSD thread (where the same ACPICA code is in use): > > http://comments.gmane.org/gmane.os.dragonfly-bsd.user/1817 I was about to report th

Re: [PATCHv2 8/8] devfreq: exynos4: Add busfreq driver for exynos4210/exynos4x12

2014-03-14 Thread Tomasz Figa
Hi Chanwoo, Mark, On 14.03.2014 11:56, Chanwoo Choi wrote: Hi Mark, On 03/14/2014 07:35 PM, Mark Rutland wrote: On Fri, Mar 14, 2014 at 07:14:37AM +, Chanwoo Choi wrote: Hi Mark, On 03/14/2014 02:53 AM, Mark Rutland wrote: On Thu, Mar 13, 2014 at 08:17:29AM +, Chanwoo Choi wrote: T

[PATCH] ata: pata_imx: fix devm_ioremap_resource() return value checking

2014-03-14 Thread Bartlomiej Zolnierkiewicz
devm_ioremap_resource() returns a pointer to the remapped memory or an ERR_PTR() encoded error code on failure. Fix the check inside pata_imx_probe() accordingly. Signed-off-by: Bartlomiej Zolnierkiewicz --- Compile tested only. drivers/ata/pata_imx.c |4 ++-- 1 file changed, 2 insertions(

[PATCH] virtio-blk: make the queue depth configurable

2014-03-14 Thread Theodore Ts'o
The current virtio block sets a queue depth of 64. With a sufficiently fast device, using a queue depth of 256 can double the IOPS which can be sustained. So make the queue depth something which can be set at module load time or via a kernel boot-time parameter. Signed-off-by: "Theodore Ts'o" C

[PATCH] ds3000: fix array out of bounds access

2014-03-14 Thread Colin King
From: Colin Ian King cppcheck reports an array out of bounds access: [drivers/media/dvb-frontends/ds3000.c:619]: (error) Array 'dvbs2_snr_tab[80]' accessed at index 80, which is out of bounds. the index check is off by one, so fix this to avoid the error. Signed-off-by: Colin Ian King --- d

Re: [PATCH 3/3] ath10k: add firmware files

2014-03-14 Thread Luis R. Rodriguez
On Fri, Mar 14, 2014 at 10:07 AM, Kalle Valo wrote: > "Luis R. Rodriguez" writes: > >> On Fri, Mar 14, 2014 at 1:45 AM, Kalle Valo wrote: >> >>> + NO LICENSES OR OTHER RIGHTS, >>> +WHETHER EXPRESS, IMPLIED, BASED ON ESTOPPEL OR OTHERWISE, ARE GRANTED >>> +TO ANY PARTY'S PATENTS, PATENT APPLICATI

Re: [PATCH 4/7] of: configure the platform device dma_mask and dma_pfn_offset

2014-03-14 Thread Arnd Bergmann
On Friday 14 March 2014, Rob Herring wrote: > On Wed, Mar 12, 2014 at 11:58 AM, Arnd Bergmann wrote: > > On Wednesday 12 March 2014 15:19:48 Grygorii Strashko wrote: > >> > Isn't the question here how do we handle restrictions added by the > >> > bus? It seems while this series adds support for ha

[GIT PULL 0/2] perf/urgent 'perf bench' fixes

2014-03-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit b7b4839d93e50adccef29eccb694807cdcb8bee3: perf/x86: Fix leak in uncore_type_init failure paths (2014-03-11 11:59:34 +0100) are available in the git repository at: git:/

[PATCH 1/2] perf bench numa: Make no args mean 'run all tests'

2014-03-14 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo If we call just: perf bench numa mem it will present the same output as: perf bench numa mem -h i.e. ask for instructions about what to run. While that is kinda ok, using 'run all tests' as the default, i.e. making 'no parms' be equivalent to: perf bench

Re: ACPICA 20140214 auto-serialize weirds my machine...

2014-03-14 Thread Valdis . Kletnieks
On Fri, 14 Mar 2014 17:10:46 +0100, "Rafael J. Wysocki" said: > We have a commit that removes this command line argument already. Oh, OK.. > But those messages: > > > > > [0.119344] ACPI: Executed 1 blocks of module-level executable AML code > > [0.135282] ACPI Error: Cannot acquire Mute

[PATCH 2/2] perf bench: Fix NULL pointer dereference in "perf bench all"

2014-03-14 Thread Arnaldo Carvalho de Melo
From: Patrick Palka The for_each_bench() macro must check that the "benchmarks" field of a collection is not NULL before dereferencing it because the "all" collection in particular has a NULL "benchmarks" field (signifying that it has no benchmarks to iterate over). This fixes this NULL pointer

Re: [PATCH] ARM: dts: exynos4210-trats: add max8997 IRQ

2014-03-14 Thread Tomasz Figa
Hi Robert, On 14.03.2014 11:13, Robert Baldyga wrote: This patch adds device tree node for IRQ used by max8997. Generally, this patch does not add just a node, but rather "IRQ line specification for the MAX8997 PMIC chip and necessary pinctrl group to configure pull-up and driver strength o

[PATCH] ata: ahci_platform: fix devm_ioremap_resource() return value checking

2014-03-14 Thread Bartlomiej Zolnierkiewicz
devm_ioremap_resource() returns a pointer to the remapped memory or an ERR_PTR() encoded error code on failure. Fix the check inside ahci_platform_get_resources() accordingly. Also while at it remove a needless line break. Signed-off-by: Bartlomiej Zolnierkiewicz --- Compile tested only. driv

Re: [PATCH v2] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

2014-03-14 Thread Viresh Kumar
On Fri, Mar 14, 2014 at 4:58 PM, Andy Shevchenko wrote: > On Sat, 2014-03-15 at 02:02 +0800, Chew Chiau Ee wrote: >> From: Chew, Chiau Ee >> >> This is to disable/enable DW_DMAC hw during late suspend/early resume. >> Since DMA is providing service to other clients (eg: SPI, HSUART), >> we need t

Re: [PATCH v7 2/6] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-03-14 Thread Liviu Dudau
On Fri, Mar 14, 2014 at 05:05:28PM +, Arnd Bergmann wrote: > On Friday 14 March 2014, Liviu Dudau wrote: > > +int of_pci_range_to_resource(struct of_pci_range *range, > > + struct device_node *np, struct resource *res) > > +{ > > + res->flags = range->flags; > > + if (res->fla

Re: [PATCH] ARM: dts: exynos5250: turn on the LDO10 on SMDK5250

2014-03-14 Thread Tomasz Figa
Hi Yuvaraj, On 14.03.2014 09:26, Yuvaraj Kumar wrote: Any comments on this? On Mon, Mar 3, 2014 at 4:45 PM, Yuvaraj Kumar C D wrote: Commit 275dcd2 "ARM: dts: add max77686 pmic node for smdk5250" added required LDO's for SMDK5250 boards.Currently LDO10 is turned off.As LDO10, enable/disable t

Re: RESEND [PATCH V9 2/2] ARM: dts: exynos5250: Enable ahci sata and sata phy

2014-03-14 Thread Tomasz Figa
Hi Yuvaraj, On 14.03.2014 09:25, Yuvaraj Kumar wrote: kgene, Please pick this patch. On Tue, Mar 4, 2014 at 7:02 PM, Kishon Vijay Abraham I wrote: On Tuesday 04 March 2014 04:40 PM, Yuvaraj Kumar C D wrote: This patch adds dt entry for ahci sata controller and its corresponding phy contro

Re: [PATCH] block: Force sector and nr_sects to device alignment and granularity.

2014-03-14 Thread Frank Mayhar
On Wed, 2014-03-12 at 21:47 -0400, Martin K. Petersen wrote: > I'm no big fan of dropping information. > > My original intent with the discard granularity and alignment was to > allow filesystems to use them to influence block allocation and layout. > Not to affect how we issue commands at runtime

Re: [PATCH v7 3/3] arm64: Add architecture support for PCI

2014-03-14 Thread Catalin Marinas
On Fri, Mar 14, 2014 at 03:34:18PM +, Liviu Dudau wrote: > --- /dev/null > +++ b/arch/arm64/kernel/pci.c [...] > +int pci_register_io_range(phys_addr_t address, resource_size_t size) [...] > +unsigned long pci_address_to_pio(phys_addr_t address) [...] > +void pcibios_fixup_bus(struct pci_bus *b

Hyper-V balloon memory hotplug deadlock?

2014-03-14 Thread Andy Whitcroft
We are seeing machines lockup with what appears to be an ABBA deadlock in the memory hotplug system. These are from the 3.13.6 based Ubuntu kernels. The hv_balloon driver is adding memory using add_memory() which takes the hotplug lock, and then emits a udev event, and then attempts to lock the sy

Re: [BUG?] Interrupts enabled after xen_acpi_processor_resume+0x0/0x34 [xen_acpi_processor]

2014-03-14 Thread Konrad Rzeszutek Wilk
On Wed, Feb 26, 2014 at 11:26:21AM +0100, Stanislaw Gruszka wrote: > On Mon, Feb 10, 2014 at 09:37:27AM -0500, Konrad Rzeszutek Wilk wrote: > > > > But I'm not sure if that is good solution. It crate some not necessery > > > > sysfs directories and files. Additionaly it can restore CPU C-states > >

Re: RFC: 'ioctl' for keyrings

2014-03-14 Thread David Howells
Mimi Zohar wrote: > > As I understand the code, I think operations being performed from ->update() > > are: > > > > (a) Resealing a key with a new pcrs (trusted). > > > > (b) Changing the master key (encrypted). > > > > Mimi, Dmitry: is this list right? > > In addition to resealing trusted

[RFC v3 0/3] Add aliases parsing to of_find_node_by_path()

2014-03-14 Thread Grant Likely
Searching for a node by path should also take into account an /aliases reference. This series reworks the of_find_node_by_path() code to handle that use-case easily. It also makes it possible to start a search at a child node, which Pantelis needs for the FDT overlay work. I've done some simple te

[RFC v3 2/3] lib: add glibc style strchrnul() variant

2014-03-14 Thread Grant Likely
The strchrnul() variant helpfully returns a the end of the string instead of a NULL if the requested character is not found. This can simplify string parsing code since it doesn't need to expicitly check for a NULL return. If a valid string pointer is passed in, then a valid null terminated string

[RFC v3 3/3] of: Make of_find_node_by_path() handle /aliases

2014-03-14 Thread Grant Likely
Make of_find_node_by_path() handle aliases as prefixes. To make this work the name search is refactored to search by path component instead of by full string. This should be a more efficient search, and it makes it possible to start a search at a subnode of a tree. Signed-off-by: David Daney Sign

[RFC v3 1/3] of: Add a testcase for of_find_node_by_path()

2014-03-14 Thread Grant Likely
Add a testcase for the find_node_by_path() function to make sure it handles all the valid scenarios. Signed-off-by: Grant Likely --- drivers/of/selftest.c | 39 + drivers/of/testcase-data/tests-phandle.dtsi | 6 - 2 files changed, 44 inserti

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

2014-03-14 Thread Catalin Marinas
On Thu, Mar 13, 2014 at 10:17:01AM +, 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. > > Signed-off-by: AKASHI Takahiro >

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-14 Thread Rafael Aquini
On Fri, Mar 14, 2014 at 11:35:02AM -0400, Johannes Weiner wrote: > Page reclaim force-scans / swaps anonymous pages when file cache drops > below the high watermark of a zone in order to prevent what little > cache remains from thrashing. > > However, on bigger machines the high watermark value ca

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-14 Thread Mel Gorman
On Fri, Mar 14, 2014 at 12:06:25PM -0400, Rik van Riel wrote: > On 03/14/2014 11:35 AM, Johannes Weiner wrote: > > Page reclaim force-scans / swaps anonymous pages when file cache drops > > below the high watermark of a zone in order to prevent what little > > cache remains from thrashing. > > > >

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread One Thousand Gnomes
> But you keep talking about MSRs despite there being a patch that limits > access to MSRs. If you have specific examples of privilege escalations > that are possible even with these patches then please, mention them. I mentioned MSRs once, and then you kept going on about it. Your patches are a

Re: [PATCH 0/2] Add exit_prepare callback to the cpufreq_driver interface.

2014-03-14 Thread Viresh Kumar
On 14 March 2014 20:40, Dirk Brandewie wrote: > Are you proposing adding cpufreq_generic_suspend() to the core I can not > find > it in the mainline code. Its already there in linux-next. I am suggesting to reuse that infrastructure with some necessary modification to support both suspend and hot

Re: [PATCH 3/3] ath10k: add firmware files

2014-03-14 Thread Kalle Valo
"Luis R. Rodriguez" writes: > On Fri, Mar 14, 2014 at 1:45 AM, Kalle Valo wrote: > >> + NO LICENSES OR OTHER RIGHTS, >> +WHETHER EXPRESS, IMPLIED, BASED ON ESTOPPEL OR OTHERWISE, ARE GRANTED >> +TO ANY PARTY'S PATENTS, PATENT APPLICATIONS, OR PATENTABLE INVENTIONS >> +BY VIRTUE OF THIS LICENSE O

linux-next: manual merge of the compat tree with the file-private-locks tree

2014-03-14 Thread Mark Brown
Hi Heiko, Today's linux-next merge of the compat tree got a conflict in fs/compat.c between commit 1ed1950c412f1b ("locks: add new fcntl cmd values for handling file private locks") from the file-private-locks tree and commit 932602e238329 ("fs/compat: convert to COMPAT_SYSCALL_DEFINE with chan

Re: [PATCH v7 2/6] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-03-14 Thread Arnd Bergmann
On Friday 14 March 2014, Liviu Dudau wrote: > +int of_pci_range_to_resource(struct of_pci_range *range, > + struct device_node *np, struct resource *res) > +{ > + res->flags = range->flags; > + if (res->flags & IORESOURCE_IO) { > + unsigned long port = -1; > +

Re: [PATCH v11 15/27] iommu/exynos: use convenient macro to handle gate clocks

2014-03-14 Thread Sachin Kamat
Hi KyongHo, On 14 March 2014 19:13, Tomasz Figa wrote: > Hi KyongHo, > > > On 14.03.2014 06:09, Cho KyongHo wrote: >> >> exynos-iommu driver must care about master H/W's gate clock as well as >> System MMU's gate clock. To enhance readability of the source code, >> macros to gate/ungate those cl

Re: [PATCH] perf/x86/intel: Use rdmsrl_safe when initializing RAPL PMU.

2014-03-14 Thread David Ahern
On 3/14/14, 10:17 AM, Andi Kleen wrote: The Intel ISR section for RDMSR seems to say: "Specifying a reserved or unimplemented MSR address in ECX will also cause a general protection exception". From a guest's perspective, MSR_RAPL_POWER_UNIT is unimplemented; kvm matches this behavior. MSRs a

Re: [PATCH 2/2] arm/xen: Don't use xen DMA ops when the device is protected by an IOMMU

2014-03-14 Thread Julien Grall
On 02/24/2014 08:49 PM, Stefano Stabellini wrote: > On Mon, 24 Feb 2014, gre...@linuxfoundation.org wrote: > Julien is proposing to store the list of "safe" devices on an hash table > in the Xen specific code (in arch/arm/xen/enlighten.c, see > http://marc.info/?l=linux-kernel&m=139291370526082&w=

Re: [PATCH] ARM: dts: bcm28155-ap: leave camldo1 on to fix reboot

2014-03-14 Thread Matt Porter
On Wed, Mar 12, 2014 at 09:14:39AM -0400, Matt Porter wrote: > The BCM28155-AP board has a bootloader that expects the camldo1 > regulator to be enabled on entry. Currently, the camldo1 regulator > is disabled when no longer in use as is the case during a reboot / > warm reset. This causes the earl

Re: [PATCH v5 5/5] ARM: dts: add bcm590xx pmu support and enable for bcm28155-ap

2014-03-14 Thread Matt Porter
On Wed, Mar 12, 2014 at 10:07:17AM -0400, Matt Porter wrote: > Add a dtsi to support the BCM590xx PMUs used by the BCM281xx family > of SoCs. Enable regulators for use with the dwc2 and sdhci on > bcm28155-ap. > > Signed-off-by: Tim Kryger > Signed-off-by: Matt Porter > Reviewed-by: Markus Mayer

Re: [PATCH v4 2/3] arm64: split syscall_trace() into separate functions for enter/exit

2014-03-14 Thread AKASHI Takahiro
On 03/14/2014 03:41 AM, Will Deacon wrote: On Thu, Mar 13, 2014 at 10:11:30AM +, AKASHI Takahiro wrote: As done in arm, this change makes it easy to confirm we invoke syscall related hooks, including syscall tracepoint, audit and seccomp which would be implemented later, in correct order. Th

Re: Zynq macb

2014-03-14 Thread Sören Brinkmann
On Fri, 2014-03-14 at 06:37AM +0100, Michal Simek wrote: > On 03/13/2014 11:33 PM, Sören Brinkmann wrote: > > On Thu, 2014-03-13 at 03:16PM -0700, Sören Brinkmann wrote: > >> Hi Nicolas, > >> > >> I did some testing on the current linux-next tree and ran iperf on Zynq. > >> It seems that network an

Re: [PATCH v2 0/3] ARM: bcm21664: Add initial support.

2014-03-14 Thread Matt Porter
On Thu, Mar 06, 2014 at 05:18:11PM +0800, Markus Mayer wrote: > This series adds initial support for the Broadcom BCM21664 mobile SoC. > > The series depends on the series "ARM: bcm281xx: Consolidate code": > https://lkml.org/lkml/2014/2/25/548 > > Changes since v1: > > - Fixed typo ("21644"

[PATCH] gpio: gpio-dwapb size-cells should be two

2014-03-14 Thread Alan Tull
From: Alan Tull Fix size-cells to show use of OF_GPIO_ACTIVE_LOW flag. Signed-off-by: Alan Tull --- .../devicetree/bindings/gpio/snps-dwapb-gpio.txt |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt b/Docume

<    1   2   3   4   5   6   >