[PATCH] pwm: atmel-pwm: fix calculation of prescale value

2014-09-24 Thread Nikolaus Voss
The prescale value used for calculating the period was incremented afterwards, thus the resulting prescale value is by one too high. This resulted in a pwm frequency only half as high as requested. This patch moves the 64 bit division out of the prescale loop to correct the above issue and make

[PATCH v2] zsmalloc: merge size_class to reduce fragmentation

2014-09-24 Thread Joonsoo Kim
zsmalloc has many size_classes to reduce fragmentation and they are in 16 bytes unit, for example, 16, 32, 48, etc., if PAGE_SIZE is 4096. And, zsmalloc has constraint that each zspage has 4 pages at maximum. In this situation, we can see interesting aspect. Let's think about size_class for 1488,

Re: [PATCH v4 0/8] asm-generic/io.h overhaul

2014-09-24 Thread Thierry Reding
On Mon, Aug 25, 2014 at 01:26:33PM +0200, Thierry Reding wrote: On Wed, Aug 13, 2014 at 12:28:50PM +0200, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Hi, Here is the fourth version of a series that started out as an attempt to provide string versions of the read*()

Re: [PATCH v2 2/2] perf: Userspace event

2014-09-24 Thread Namhyung Kim
On Tue, 23 Sep 2014 18:03:07 +0100, Pawel Moll wrote: This patch adds a new PERF_COUNT_SW_UEVENT software event and a related PERF_SAMPLE_UEVENT sample. User can now write to the the perf file descriptor, injecting such event in the perf buffer. It seems the PERF_SAMPLE_UEVENT sample can be

Re: [PATCH] net: stmmac: fix stmmac_pci_probe failed when CONFIG_HAVE_CLK is selected

2014-09-24 Thread Giuseppe CAVALLARO
On 9/23/2014 9:03 AM, Kweh, Hock Leong wrote: -Original Message- From: Giuseppe CAVALLARO [mailto:peppe.cavall...@st.com] Sent: Tuesday, September 23, 2014 2:10 PM the logic is: the priv-stmmac_clk must be always provided from the platform then we have two cases: 1) if

Re: mmotm 2014-09-22-16-57 uploaded

2014-09-24 Thread David Miller
From: Guenter Roeck li...@roeck-us.net Date: Tue, 23 Sep 2014 21:34:23 -0700 On Tue, Sep 23, 2014 at 02:53:56PM -0700, Guenter Roeck wrote: Neither of these patches enables CONFIG_NET. They just add dependencies. This means CONFIG_NET is now disabled in at least 31 configurations where

Re: [PATCH] net_dma: fix memory leak in dma_pin_iocvec_pages

2014-09-24 Thread Dan Williams
On Tue, Sep 23, 2014 at 9:57 PM, Vinod Koul vinod.k...@intel.com wrote: On Wed, Sep 03, 2014 at 01:28:59PM +0400, Roman Gushchin wrote: dma_pin_iovec_pages() calls get_user_pages() for each iovec. If get_user_pages() returns a number smaller than the requested number, dma_pin_iovec_pages()

RE: [PATCH] ata: Disabling the async PM for JMicron chips

2014-09-24 Thread Liu, Chuansheng
-Original Message- From: Tejun Heo [mailto:hte...@gmail.com] On Behalf Of Tejun Heo Sent: Tuesday, September 23, 2014 10:01 PM To: Liu, Chuansheng Cc: r...@rjwysocki.net; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; mister.free...@laposte.net; Zhang, Rui Subject: Re:

Re: [PATCH 2/4] ACPI / platform: provide default DMA mask

2014-09-24 Thread Heikki Krogerus
On Tue, Sep 23, 2014 at 06:05:36PM +0200, Rafael J. Wysocki wrote: On Tuesday, September 23, 2014 10:29:45 AM Felipe Balbi wrote: On Tue, Sep 23, 2014 at 05:17:03PM +0200, Rafael J. Wysocki wrote: On Tuesday, September 23, 2014 09:52:21 AM Felipe Balbi wrote: On Tue, Sep 23, 2014 at

Re: [PATCH 2/6] ARM: sunxi: Add debug uart used by sun9i (Allwinner A80)

2014-09-24 Thread Maxime Ripard
On Sun, Sep 21, 2014 at 10:58:09PM +0800, Chen-Yu Tsai wrote: The uarts on sun9i are still compatible with the dw_8250, but are located at different addresses. Signed-off-by: Chen-Yu Tsai w...@csie.org --- arch/arm/Kconfig.debug | 10 ++ 1 file changed, 10 insertions(+) diff

Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-09-24 Thread Maxime Ripard
Hi, Thanks, a lot for your patches :) On Sun, Sep 21, 2014 at 10:58:10PM +0800, Chen-Yu Tsai wrote: The Allwinner A80 is a new multi-purpose SoC with 4 Cortex-A7 and 4 Cortex-A15 cores in a big.LITTLE architecture, and a 64-core PowerVR G6230 GPU. Signed-off-by: Chen-Yu Tsai w...@csie.org

[PATCH 2/5] DMA: Remove .owner field for driver

2014-09-24 Thread Kiran Padwal
There is no need to init .owner field. Based on the patch from Peter Griffin peter.grif...@linaro.org mmc: remove .owner field for drivers using module_platform_driver This patch removes the superflous .owner field for drivers which use the module_platform_driver API, as this is overriden in

Re: [PATCH 0/6] ARM: sunxi: Add basic support for Allwinner A80 SoC

2014-09-24 Thread Maxime Ripard
Hi Chen-Yu, On Sun, Sep 21, 2014 at 10:58:07PM +0800, Chen-Yu Tsai wrote: Hi everyone, This patch series adds very basic support for Allwinner's A80 SoC, a big.LITTLE architecture with 4 Cortex-A7s and 4 Cortex-A15s. Development is done on the A80 Optimus Board, the defacto development

RE: [PATCH] fbdev: fsl-sii902x: HDMI support for Freescale SoCs

2014-09-24 Thread li.xi...@freescale.com
Hi, [...] 4 files changed, 551 insertions(+) create mode 100644 Documentation/devicetree/bindings/video/fsl- sii902x.txt create mode 100644 drivers/video/fbdev/fsl-sii902x.c I don't know how you picked the names of the people you sent this patch to, but looks to me that most of

[PATCH] usb: gadget: f_rndis: fix usb_interface_descriptor for rndis

2014-09-24 Thread Heiko Schocher
use the values for RNDIS over Ethernet as defined in http://www.usb.org/developers/defined_class (search for RDNIS): - baseclass: 0xef (miscellaneous) - subclass: 0x04 - protocol: 0x01 with this setings the file in Documentation/usb/linux.inf is obsolete. Signed-off-by: Heiko Schocher

Re: linux-next: build failure after merge of the kvm-arm tree

2014-09-24 Thread Stephen Rothwell
Hi all, On Mon, 22 Sep 2014 14:06:45 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) failed like this: arch/x86/kvm/../../../virt/kvm/eventfd.c: In function 'kvm_register_irq_ack_notifier':

Re: [RFC Part2 v1 01/21] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-09-24 Thread Yasuaki Ishimatsu
(2014/09/11 23:03), Jiang Liu wrote: We plan to use hierarchy irqdomain to suppport CPU vector assignment, interrupt remapping controller, IO-APIC controller, MSI interrupt and hypertransport interrupt etc on x86 platforms. So extend irqdomain interfaces to support hierarchy irqdomain.

[PATCH] NULL pointer dereference in ecryptfs (ecryptfs_setxattr)

2014-09-24 Thread Priya Bansal
This patch fixes the issue which was found in ecryptfs_setxattr(). Previously, while trying to create a file when ecryptfs is mounted over ext4 filesystem with encrypted view enabled, the kernel crashes. the reason being the function fsstack_copy_attr_all was trying to access dentry-d_inode

Re: [PATCH 1/1] kvm, mem-hotplug: Add arch specific mmu notifier to handle apic access migration.

2014-09-24 Thread Paolo Bonzini
Il 24/09/2014 04:09, Tang Chen ha scritto: Hi Paolo, I'm not sure if this patch is following your comment. Please review. And all the other comments are followed. If this patch is OK, I'll send v8 soon. Thanks. We are handling L1 and L2 share one apic access page situation when

Re: [PATCH v4] kvm: Fix page ageing bugs

2014-09-24 Thread Paolo Bonzini
Il 24/09/2014 04:27, Wanpeng Li ha scritto: Hi Andres, On Mon, Sep 22, 2014 at 02:54:42PM -0700, Andres Lagar-Cavilla wrote: 1. We were calling clear_flush_young_notify in unmap_one, but we are within an mmu notifier invalidate range scope. The spte exists no more (due to range_start) and the

Re: [PATCH 1/5] SCHED: add some wait..on_bit...timeout() interfaces.

2014-09-24 Thread Ingo Molnar
* NeilBrown ne...@suse.de wrote: @@ -859,6 +860,8 @@ int wake_bit_function(wait_queue_t *wait, unsigned mode, int sync, void *key); extern int bit_wait(struct wait_bit_key *); extern int bit_wait_io(struct wait_bit_key *); +extern int bit_wait_timeout(struct wait_bit_key *); +extern

Re: linux-next: build failure after merge of the kvm-arm tree

2014-09-24 Thread Christoffer Dall
On Wed, Sep 24, 2014 at 04:50:30PM +1000, Stephen Rothwell wrote: Hi all, On Mon, 22 Sep 2014 14:06:45 +1000 Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, After merging the kvm-arm tree, today's linux-next build (x86_64 allmodconfig) failed like this:

RE: [PATCH v4 1/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-09-24 Thread Dudley Du
Hi Dmitry, Thanks for your careful consideration. I added my idea and comments below. Thanks, Dudley -Original Message- From: linux-input-ow...@vger.kernel.org [mailto:linux-input- ow...@vger.kernel.org] On Behalf Of Dmitry Torokhov Sent: Wednesday, September 24, 2014 8:19 AM To:

Re: [PATCH 1/1] kvm, mem-hotplug: Add arch specific mmu notifier to handle apic access migration.

2014-09-24 Thread Jan Kiszka
On 2014-09-24 04:09, Tang Chen wrote: Hi Paolo, I'm not sure if this patch is following your comment. Please review. And all the other comments are followed. If this patch is OK, I'll send v8 soon. Thanks. We are handling L1 and L2 share one apic access page situation when

Re: [PATCH] mm, debug: mm-introduce-vm_bug_on_mm-fix-fix.patch

2014-09-24 Thread Michal Hocko
On Tue 23-09-14 13:52:58, Andrew Morton wrote: On Tue, 23 Sep 2014 12:19:49 -0400 valdis.kletni...@vt.edu wrote: On Tue, 23 Sep 2014 13:28:48 +0200, Michal Hocko said: And there is another one hitting during randconfig. The patch makes my eyes bleed Amen. But I'm not seeing a

Re: [linux-sunxi] Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-09-24 Thread Chen-Yu Tsai
On Wed, Sep 24, 2014 at 2:37 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi, Thanks, a lot for your patches :) On Sun, Sep 21, 2014 at 10:58:10PM +0800, Chen-Yu Tsai wrote: The Allwinner A80 is a new multi-purpose SoC with 4 Cortex-A7 and 4 Cortex-A15 cores in a big.LITTLE

Re: [linux-sunxi] Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-09-24 Thread Gregory CLEMENT
Hi Chen-Yu, + + memory { + reg = 0x2000 0x4000; Usually, what we put there was the maximum amount of RAM that can be handled by the SoC. I think that it can go above 1GB With LPAE, it can handle 8GB. But the DT won't take 64bit values. I'm not sure how to get it

Re: mmotm 2014-09-22-16-57 uploaded

2014-09-24 Thread Geert Uytterhoeven
On Wed, Sep 24, 2014 at 6:34 AM, Guenter Roeck li...@roeck-us.net wrote: On Tue, Sep 23, 2014 at 02:53:56PM -0700, Guenter Roeck wrote: Neither of these patches enables CONFIG_NET. They just add dependencies. This means CONFIG_NET is now disabled in at least 31 configurations where it used

Re: [PATCH 5/6] fuse: fix synchronous case of fuse_file_put()

2014-09-24 Thread Maxim Patlasov
On 09/16/2014 12:19 PM, Miklos Szeredi wrote: On Thu, Sep 11, 2014 at 6:14 PM, Maxim Patlasov mpatla...@parallels.com wrote: I really need your help to proceed with this patch. Could you please explain what those places are where we should allow interruption. BTW, as for just an optimization,

Re: [PATCH v4] kvm: Fix page ageing bugs

2014-09-24 Thread Wanpeng Li
Hi Paolo, 于 9/24/14, 3:04 PM, Paolo Bonzini 写道: Il 24/09/2014 04:27, Wanpeng Li ha scritto: Hi Andres, On Mon, Sep 22, 2014 at 02:54:42PM -0700, Andres Lagar-Cavilla wrote: 1. We were calling clear_flush_young_notify in unmap_one, but we are within an mmu notifier invalidate range scope. The

Re: [PATCH v2 2/2] perf: Userspace event

2014-09-24 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: On Tue, 23 Sep 2014 18:03:07 +0100, Pawel Moll wrote: This patch adds a new PERF_COUNT_SW_UEVENT software event and a related PERF_SAMPLE_UEVENT sample. User can now write to the the perf file descriptor, injecting such event in the perf buffer.

Re: [RFC Part2 v1 01/21] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-09-24 Thread Jiang Liu
On 2014/9/24 14:55, Yasuaki Ishimatsu wrote: (2014/09/11 23:03), Jiang Liu wrote: +static void irq_domain_free_irq_data(unsigned int virq, unsigned int nr_irqs) +{ +int i; +struct irq_data *irq_data, *tmp; + +for (i = 0; i nr_irqs; i++) { +irq_data =

Re: [PATCH 0/5] pinctrl: samsung: Data structure clean-up

2014-09-24 Thread Marek Szyprowski
Hello, On 2014-09-23 21:05, Tomasz Figa wrote: This series intends to clean up data structures used by pinctrl-samsung driver. More specifically, it separates initial compile time constants from data used at runtime, allowing unused variant data to be dropped and selected structures constified

Re: [GIT PULL] x86 fixes

2014-09-24 Thread Ingo Molnar
* Matt Fleming m...@console-pimps.org wrote: @@ -1394,10 +1394,7 @@ struct boot_params *efi_main(struct efi_config *c, setup_graphics(boot_params); - status = setup_efi_pci(boot_params); - if (status != EFI_SUCCESS) { - efi_printk(sys_table, setup_efi_pci()

Re: [linux-sunxi] Re: [PATCH 3/6] ARM: dts: sunxi: Add Allwinner A80 dtsi

2014-09-24 Thread Chen-Yu Tsai
On Wed, Sep 24, 2014 at 3:18 PM, Gregory CLEMENT gregory.clem...@free-electrons.com wrote: Hi Chen-Yu, + + memory { + reg = 0x2000 0x4000; Usually, what we put there was the maximum amount of RAM that can be handled by the SoC. I think that it can go above 1GB

Re: [PATCH 0/5] x86/PCI: Minor size reduction by marking init code and data as such

2014-09-24 Thread Ingo Molnar
* Bjorn Helgaas bhelg...@google.com wrote: [+cc x86 folks] On Mon, Sep 22, 2014 at 02:27:48PM -0600, Bjorn Helgaas wrote: On Mon, Aug 25, 2014 at 11:26:34PM +0200, Mathias Krause wrote: Hi Bjorn, this series is a collection of patches trying to mark initialization code and

Re: [PATCH 1/1] kvm, mem-hotplug: Add arch specific mmu notifier to handle apic access migration.

2014-09-24 Thread Tang Chen
On 09/24/2014 03:08 PM, Jan Kiszka wrote: On 2014-09-24 04:09, Tang Chen wrote: Hi Paolo, I'm not sure if this patch is following your comment. Please review. And all the other comments are followed. If this patch is OK, I'll send v8 soon. Thanks. We are handling L1 and L2 share one apic

Re: linux-next: manual merge of the tip tree with the nfs tree

2014-09-24 Thread Ingo Molnar
* Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, Today's linux-next merge of the tip tree got conflicts in fs/nfs/blocklayout/blocklayoutdev.c and fs/nfs/blocklayout/blocklayoutdm.c between commit 871760ce97a9 (pnfs/blocklayout: move all rpc_pipefs related code into a single file)

Re: [PATCH v4] perf tools: Fix build-id matching on vmlinux

2014-09-24 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: There's a problem on finding correct kernel symbols when perf report runs on a different kernel. Although a part of the problem was solved by the prior commit 0a7e6d1b6844 (perf tools: Check recorded kernel version when finding vmlinux), there's a

[PATCH] x86-64: improve cmpxchg16b_emu.S

2014-09-24 Thread Jan Beulich
- don't include unneeded headers - don't open-code PER_CPU_VAR() - drop redundant entry point label - complete unwind annotations - use .L prefix on local label to not clutter the symbol table Signed-off-by: Jan Beulich jbeul...@suse.com --- arch/x86/lib/cmpxchg16b_emu.S | 32

[PATCH V2] ata: Disabling the async PM for JMicron chips

2014-09-24 Thread Chuansheng Liu
Like the commit e6b7e41cdd8c (ata: Disabling the async PM for JMicron chip 363/361), Barto found the similar issue for JMicron chip 368, that 363/368 has no parent-children relationship, but they have the power dependency. So here we can exclude the JMicron chips out of pm_async method directly,

[PATCH] ix86: improve cmpxchg8b_emu.S

2014-09-24 Thread Jan Beulich
- don't include unneeded headers - drop redundant entry point label - complete unwind annotations - use .L prefix on local labels to not clutter the symbol table Signed-off-by: Jan Beulich jbeul...@suse.com --- arch/x86/lib/cmpxchg8b_emu.S | 20 +--- 1 file changed, 9

Re: [PATCH net-next] bluetooth: Convert bt_level logging functions to return void

2014-09-24 Thread Marcel Holtmann
Hi Joe, No caller or macro uses the return value so make all the functions return void. Signed-off-by: Joe Perches j...@perches.com --- This change is associated to a desire to eventually change printk to return void. include/net/bluetooth/bluetooth.h | 4 ++-- net/bluetooth/lib.c

[PATCH] ix86: unwind-annotate thunk_32.S

2014-09-24 Thread Jan Beulich
Signed-off-by: Jan Beulich jbeul...@suse.com --- arch/x86/lib/thunk_32.S | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) --- 3.17-rc6/arch/x86/lib/thunk_32.S +++ 3.17-rc6-ix86-annotate-thunks/arch/x86/lib/thunk_32.S @@ -6,22 +6,31 @@ */ #include

Re: [PATCH] sched: Remove nested extern

2014-09-24 Thread Ingo Molnar
* Rustad, Mark D mark.d.rus...@intel.com wrote: On Sep 22, 2014, at 2:21 PM, Peter Zijlstra pet...@infradead.org wrote: On Mon, Sep 22, 2014 at 08:59:32PM +, Rustad, Mark D wrote: Because I have found that enabling many warnings helps identify problems in code and it has been my

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-24 Thread Arnd Bergmann
On Wednesday 24 September 2014 10:27:52 Peter Chen wrote: Antoine is adding a generic chipdea glue layer driver, which like ehci generic platform driver: drivers/usb/host/ehci-platform.c, since other architectures like MIPS (Someone submitted mips chipidea driver before) may not have device

Re: [PATCH 0/3] Introduce of_match_machine() helper

2014-09-24 Thread Peter De Schrijver
On Fri, Sep 19, 2014 at 04:12:45PM +0300, Peter De Schrijver wrote: On Mon, Aug 25, 2014 at 07:45:38PM +0200, Stephen Warren wrote: On 08/07/2014 05:01 PM, Tuomas Tynkkynen wrote: Some mach-specific drivers that don't require their own node in the device tree (for example

Re: [PATCHv2 2/3] x86, ptdump: Simplify page flag evaluation code

2014-09-24 Thread Ingo Molnar
* Mathias Krause mini...@googlemail.com wrote: On 21 September 2014 21:49, Arjan van de Ven ar...@linux.intel.com wrote: On 9/21/2014 8:26 AM, Mathias Krause wrote: - if (pr _PAGE_PCD) - pt_dump_cont_printf(m, dmsg, PCD ); - else -

Re: [PATCH] perf, x86: Disallow flags for most Core2/Atom/Nehalem/Westmere events

2014-09-24 Thread Peter Zijlstra
On Tue, Sep 23, 2014 at 02:54:24PM -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com Disallow setting inv/cmask/etc. flags for all PEBS events on these CPUs, except for the UOPS_RETIRED.* events on Nehalem/Westmere, which are needed for cycles:p. This avoids an undefined

Re: [PATCH v6 0/6] perf: add ability to sample interrupted machine state

2014-09-24 Thread Peter Zijlstra
On Tue, Sep 23, 2014 at 04:57:43PM +0200, Stephane Eranian wrote: In V6, we added the missing copy of the eflags from the PEBS mahcine state (reported by Andi). We fixed some formatting issues. We rebased to 3.17-rc6. ../arch/x86/kernel/cpu/perf_event_intel_ds.c: In function

Re: [PATCH v6 2/6] perf/x86: add support for sampling PEBS machine state registers

2014-09-24 Thread Peter Zijlstra
On Tue, Sep 23, 2014 at 04:57:45PM +0200, Stephane Eranian wrote: PEBS can capture machine state regs at retiremnt of the sampled instructions. When precise sampling is enabled on an event, PEBS is used, so substitute the interrupted state with the PEBS state. Note that not all registers are

Re: [PATCH 2/2] perf: Userspace software event and ioctl

2014-09-24 Thread Ingo Molnar
* Pawel Moll pawel.m...@arm.com wrote: On Thu, 2014-09-18 at 15:34 +0100, Pawel Moll wrote: This patch adds a PERF_COUNT_SW_USERSPACE_EVENT type, which can be generated by user with PERF_EVENT_IOC_ENTRY ioctl command, which injects an event of said type into the perf buffer. It

Re: [PATCH] ARM: cacheflush: Fix exynos build breakage on ARMv6 by using macros for ISB/DSB

2014-09-24 Thread Krzysztof Kozlowski
On wto, 2014-09-23 at 12:54 -0400, Nicolas Pitre wrote: On Wed, 24 Sep 2014, Kukjin Kim wrote: On 09/16/14 21:52, Krzysztof Kozlowski wrote: This fixes build breakage of platsmp.c if ARMv6 was chosen for compile time options (e.g. by building allmodconfig): $ make allmodconfig

Re: [PATCH] lib: string.c: Added a funktion function strzcpy

2014-09-24 Thread Dan Carpenter
On Tue, Sep 23, 2014 at 06:17:53PM -0700, Andi Kleen wrote: On Wed, Sep 24, 2014 at 12:13:36AM +0200, Rickard Strandqvist wrote: Added a function strzcpy which works the same as strncpy, but guaranteed to produce the trailing null character. Do we really need the bizarre strncpy padding

Re: [PATCH v5] x86, cpu-hotplug: fix llc shared map unreleased during cpu hotplug

2014-09-24 Thread Ingo Molnar
* Wanpeng Li kernel...@gmail.com wrote: 于 14-9-23 下午5:37, Borislav Petkov 写道: On Wed, Sep 17, 2014 at 03:17:52PM +0800, Wanpeng Li wrote: BUG: unable to handle kernel NULL pointer dereference at 0004 IP: [..] find_busiest_group PGD 5a9d5067 PUD 13067 PMD 0 Oops: [#3] SMP

Re: [PATCH] sched: Remove nested extern

2014-09-24 Thread Peter Zijlstra
On Wed, Sep 24, 2014 at 09:41:44AM +0200, Ingo Molnar wrote: * Rustad, Mark D mark.d.rus...@intel.com wrote: On Sep 22, 2014, at 2:21 PM, Peter Zijlstra pet...@infradead.org wrote: On Mon, Sep 22, 2014 at 08:59:32PM +, Rustad, Mark D wrote: Because I have found that enabling

Unifying XFS_IOC_SWAPEXT and EXT4_IOC_MOV_EXT (was Re: [PATCH 2/3] xfs: Add support IOC_MOV_DATA ioctl)

2014-09-24 Thread Namjae Jeon
FWIW, what we ideally need for these sorts of defrag programs is per-file freezing. i.e. we freeze the file to be defragged, then do the copy in userspace, swap/move the copied range and then unfreeze it once complete. That guarantees that the file is not modified in any way while

Re: [PATCH v3 0/5] Firmware-assisted suspend/resume of Exynos SoCs

2014-09-24 Thread Kukjin Kim
On 09/15/14 09:21, Kukjin Kim wrote: Tomasz Figa wrote: Hi Kukjin, Hi, On 26.08.2014 16:10, Tomasz Figa wrote: On Exynos-based boards running secure firmware the sequence of low level operations to enter and leave system-wide sleep mode is different than on those without the firmware.

Re: [PATCH 09/16] tty: serial: 8250_dma: Add a TX trigger workaround for AM33xx

2014-09-24 Thread Sebastian Andrzej Siewior
* Peter Hurley | 2014-09-23 13:03:51 [-0400]: readline() does this; it 'saves' the caller's termios, sets termios for non-canonical reads, reads one char, and 'restores' the caller's termios. interresting, thanks. I guess I would need to opimize this a little so the baudrate isn't going to 0 and

[PATCH 1/2] tty: omap-serial: fix division by zero

2014-09-24 Thread Frans Klaver
If the chosen baud rate is large enough (e.g. 3.5 megabaud), the calculated n values in serial_omap_is_baud_mode16() may become 0. This causes a division by zero when calculating the difference between calculated and desired baud rates. To prevent this, cap the n13 and n16 values on 1. Division

Re: [RFC PATCH v2 09/16] leds: leds-gpio: Add support for GPIO descriptors

2014-09-24 Thread Linus Walleij
On Tue, Sep 16, 2014 at 1:52 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: GPIO descriptors are the preferred way over legacy GPIO numbers nowadays. Convert the driver to use GPIO descriptors internally but still allow passing legacy GPIO numbers from platform data to support

[PATCH v2 0/2]

2014-09-24 Thread Frans Klaver
On Tue, Sep 23, 2014 at 11:58 PM, Greg Kroah-Hartman wrote: So both would be needed to be backported to stable kernels? Why not just do the fix first, then the cleanup afterward, to make backporting easier? Sure thing. I read something about cleaning up first, then actually changing stuff,

Re: [PATCH v7 0/3] Qualcomm Resource Power Manager driver

2014-09-24 Thread Lee Jones
On Tue, 23 Sep 2014, Bjorn Andersson wrote: On Tue 23 Sep 01:17 PDT 2014, Srinivas Kandagatla wrote: Hi Bjorn, Thankyou for the new patchset. I got few device-tree patches for apq8064 usb, sata, phy and hdmi which depend on rpm header file. It will be nice to get this

Re: [PATCH v1 2/5] mm: add full variable in swap_info_struct

2014-09-24 Thread Minchan Kim
On Tue, Sep 23, 2014 at 10:53:05PM -0400, Dan Streetman wrote: On Sun, Sep 21, 2014 at 8:03 PM, Minchan Kim minc...@kernel.org wrote: Now, swap leans on !p-highest_bit to indicate a swap is full. It works well for normal swap because every slot on swap device is used up when the swap is

[PATCH 2/2] tty: omap-serial: pull out calculation from baud_is_mode16

2014-09-24 Thread Frans Klaver
To determine the correct divisor, we need to know the difference between the desired baud rate and the actual baud rate. The calculation for this difference is implemented twice within omap_serial_baud_is_mode16(). Pull out the calculation for easier maintenance. While at it, remove the

Re: [RFC PATCH v2 07/16] gpio: Add support for unified device properties interface

2014-09-24 Thread Arnd Bergmann
On Tuesday 23 September 2014 22:47:36 Rafael J. Wysocki wrote: Quite frankly, I'm not sure what you're asking for. It seems to mean I kind of don't like the current implementation, but then the last part is quite unclear to me. Are you suggesting to add more if (IS_ENABLED(CONFIG_OF)

Re: [PATCH v1 4/5] zram: add swap full hint

2014-09-24 Thread Minchan Kim
On Tue, Sep 23, 2014 at 02:17:55PM -0700, Andrew Morton wrote: On Tue, 23 Sep 2014 13:56:02 +0900 Minchan Kim minc...@kernel.org wrote: +#define ZRAM_FULLNESS_PERCENT 80 We've had problems in the past where 1% is just too large an increment for large systems. So, do you

[PATCH v8 1/8] kvm: Use APIC_DEFAULT_PHYS_BASE macro as the apic access page address.

2014-09-24 Thread Tang Chen
We have APIC_DEFAULT_PHYS_BASE defined as 0xfee0, which is also the address of apic access page. So use this macro. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com Reviewed-by: Gleb Natapov g...@kernel.org --- arch/x86/kvm/svm.c | 3 ++- arch/x86/kvm/vmx.c | 6 +++--- 2 files changed, 5

[PATCH v8 2/8] kvm: Remove ept_identity_pagetable from struct kvm_arch.

2014-09-24 Thread Tang Chen
kvm_arch-ept_identity_pagetable holds the ept identity pagetable page. But it is never used to refer to the page at all. In vcpu initialization, it indicates two things: 1. indicates if ept page is allocated 2. indicates if a memory slot for identity page is initialized Actually,

[PATCH v8 0/8] kvm, mem-hotplug: Do not pin ept identity pagetable and apic access page.

2014-09-24 Thread Tang Chen
ept identity pagetable and apic access page in kvm are pinned in memory. As a result, they cannot be migrated/hot-removed. But actually they don't need to be pinned in memory. [For ept identity page] Just do not pin it. When it is migrated, guest will be able to find the new page in the next ept

Re: [PATCH 09/16] tty: serial: 8250_dma: Add a TX trigger workaround for AM33xx

2014-09-24 Thread Sebastian Andrzej Siewior
* Frans Klaver | 2014-09-22 11:28:54 [+0200]: Wow, thanks for your work here. This does indeed sound hard to trap. I guess then we'd still have to answer the question why the yocto build calls set_termios() so often, but that's not on you then. Did you notice it even changing settings? We might

[PATCH v8 6/8] kvm, mem-hotplug: Reload L1's apic access page on migration when L2 is running.

2014-09-24 Thread Tang Chen
We are handling L1 and L2 share one apic access page situation when migrating apic access page. We should do some handling when migration happens in the following situations: 1) when L0 is running: Update L1's vmcs in the next L0-L1 entry and L2's vmcs in the next L1-L2 entry. 2)

[PATCH v8 7/8] kvm, mem-hotplug: Add arch specific mmu notifier to handle apic access migration.

2014-09-24 Thread Tang Chen
We are handling L1 and L2 share one apic access page situation when migrating apic access page. We should do some handling when migration happens in the following situations: 1) when L0 is running: Update L1's vmcs in the next L0-L1 entry and L2's vmcs in the next L1-L2 entry. 2)

[PATCH v8 4/8] kvm, mem-hotplug: Reload L1's apic access page in vcpu_enter_guest().

2014-09-24 Thread Tang Chen
We wants to migrate apic access page pinned by guest (L1 and L2) to make memory hotplug available. There are two situations need to be handled for apic access page used by L2 vm: 1. L1 prepares a separate apic access page for L2. L2 pins a lot of pages in memory. Even if we can migrate apic

[tip:x86/vdso] x86/vdso: Fix vdso2c's special_pages[] error checking

2014-09-24 Thread tip-bot for Andy Lutomirski
Commit-ID: f12c1f9002d27374fd205f6e692891116ca22272 Gitweb: http://git.kernel.org/tip/f12c1f9002d27374fd205f6e692891116ca22272 Author: Andy Lutomirski l...@amacapital.net AuthorDate: Wed, 30 Jul 2014 14:59:49 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 24 Sep 2014

[tip:sched/core] sched/numa: Kill the wrong/ dead TASK_DEAD check in task_numa_fault()

2014-09-24 Thread tip-bot for Oleg Nesterov
Commit-ID: be34f0f3e6aed6e828a8059247d169d38da128d7 Gitweb: http://git.kernel.org/tip/be34f0f3e6aed6e828a8059247d169d38da128d7 Author: Oleg Nesterov o...@redhat.com AuthorDate: Sun, 21 Sep 2014 21:47:43 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 24 Sep 2014 09:35:05

Re: [PATCH] sched: Remove nested extern

2014-09-24 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Wed, Sep 24, 2014 at 09:41:44AM +0200, Ingo Molnar wrote: * Rustad, Mark D mark.d.rus...@intel.com wrote: On Sep 22, 2014, at 2:21 PM, Peter Zijlstra pet...@infradead.org wrote: On Mon, Sep 22, 2014 at 08:59:32PM +, Rustad,

Re: [RFC Part2 v1 00/21] Enable hierarchy irqdomian on x86 platforms

2014-09-24 Thread Yasuaki Ishimatsu
(2014/09/11 23:03), Jiang Liu wrote: We plan to restructure x86 interrupt code based on hierarchy irqdomain, that is to build irqdomains for CPU vector, interrupt remapping unit, IOAPIC, MSI and HPET etc and organize those irqdomains in hierarchy mode. Each irqdomain manages corresponding

[PATCH v8 8/8] kvm, mem-hotplug: Unpin and remove kvm_arch-apic_access_page.

2014-09-24 Thread Tang Chen
To make apic access page migratable, we do not pin it in memory now. When it is migrated, we should reload its physical address for all vmcses. But when we tried to do this, all vcpu will access kvm_arch-apic_access_page without any locking. This is not safe. Actually, we do not need

[resend PATCH 2/3] usb: dwc3: core: only setting the dma_mask when needed

2014-09-24 Thread Heikki Krogerus
If the probe drivers have already set the dma_mask, not replacing the value. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- drivers/usb/dwc3/core.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c

[resend PATCH 0/3] usb: dwc3: ACPI support

2014-09-24 Thread Heikki Krogerus
Hi, The original series included patch that adds Braswell PCI ID, but I send it separately. The DMA mask caused a problem as our acpi platform code does not provide anything for us. Instead of trying to fix it in dwc3 I decided to suggest the first patch in this series where I provide default

[resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-09-24 Thread Heikki Krogerus
Most devices are configured for 32-bit DMA addresses. Setting the mask to 32-bit here removes the need for the drivers to do it separately. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Cc: Rafael J. Wysocki r...@rjwysocki.net --- drivers/acpi/acpi_platform.c | 2 ++ 1 file

[resend PATCH 3/3] usb: dwc3: add ACPI support

2014-09-24 Thread Heikki Krogerus
Adds ACPI ID used on newer Intel SoCs. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- drivers/usb/dwc3/core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index d08cac5..c2cf2d8 100644 ---

Re: [PATCH 1/1] Added support for Seluxit USB dongle to cp210x driver.

2014-09-24 Thread Greg KH
On Mon, Sep 22, 2014 at 10:52:56AM +0200, Johan Hovold wrote: On Mon, Sep 22, 2014 at 09:50:43AM +0200, Andreas Bomholtz wrote: Added the Seluxit ApS USB Serial Dongle to cp210x driver. Signed-off-by: Andreas Bomholtz andr...@seluxit.com --- Thanks for resending. Applied just fine

Re: [RFC PATCH v2 12/16] input: gpio_keys_polled - Add support for GPIO descriptors

2014-09-24 Thread Linus Walleij
On Tue, Sep 16, 2014 at 1:52 PM, Mika Westerberg mika.westerb...@linux.intel.com wrote: From: Aaron Lu aaron...@intel.com GPIO descriptors are the preferred way over legacy GPIO numbers nowadays. Convert the driver to use GPIO descriptors internally but still allow passing legacy GPIO

Re: [patch] mm: memcontrol: lockless page counters

2014-09-24 Thread Vladimir Davydov
On Tue, Sep 23, 2014 at 01:05:25PM -0400, Johannes Weiner wrote: On Tue, Sep 23, 2014 at 07:21:50PM +0400, Vladimir Davydov wrote: On Tue, Sep 23, 2014 at 09:28:01AM -0400, Johannes Weiner wrote: On Tue, Sep 23, 2014 at 03:06:34PM +0400, Vladimir Davydov wrote: [...] Anyway, I still

Re: [PATCH 0/4] ipc/shm.c: increase the limits for SHMMAX, SHMALL

2014-09-24 Thread Davidlohr Bueso
On Tue, 2014-09-23 at 07:24 +0200, Michael Kerrisk (man-pages) wrote: David, I applied various pieces from your patch on top of material that I already had, so that now we have the text below describing these limits. Comments/suggestions/improvements from all welcome. Looks good, thanks!

[PATCH v8 5/8] kvm: Rename make_all_cpus_request() to kvm_make_all_cpus_request() and make it non-static.

2014-09-24 Thread Tang Chen
Since different architectures need different handling, we will add some arch specific code later. The code may need to make cpu requests outside kvm_main.c, so make it non-static and rename it to kvm_make_all_cpus_request(). Reviewed-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Tang

[PATCH v8 3/8] kvm: Make init_rmode_identity_map() return 0 on success.

2014-09-24 Thread Tang Chen
In init_rmode_identity_map(), 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_create_vcpu(), and r is redundant. This patch removes the redundant variable r, and make init_rmode_identity_map() return 0 on

Re: [PATCH v5 1/2] usb: rename phy to usb_phy in HCD

2014-09-24 Thread Greg KH
On Fri, Sep 05, 2014 at 01:42:09AM +0400, Sergei Shtylyov wrote: From: Antoine Tenart antoine.ten...@free-electrons.com The USB PHY member of the HCD structure is renamed to 'usb_phy' and modifications are done in all drivers accessing it. This is in preparation to adding the generic PHY

Re: [PATCH v2] usb: core: downgrade log severity to info when descriptor unavailable

2014-09-24 Thread Greg Kroah-Hartman
On Tue, Sep 23, 2014 at 07:12:40PM +, Scot Doyle wrote: According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0 USB: fix LANGID=0 regression usb devices are not required to report string descriptors. Since they are optional, log an info message instead of an error message.

[PATCHv2] dmaengine: fsl-edma: fixup reg offset and hw S/G support in big-endian model

2014-09-24 Thread Jingchang Lu
The offset of all 8-/16-bit register in big-endian eDMA model are swapped in a 32-bit size opposite those in the little-endian model. The hardware Scatter/Gather requires the subsequent TCDs in memory to be auto loaded should retain little endian independent of the register endian model, the dma

Re: [PATCH v3 0/6] usb: hub: convert khubd into workqueue

2014-09-24 Thread Greg Kroah-Hartman
On Sat, Sep 20, 2014 at 08:41:21PM +, Paul Zimmerman wrote: From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of Alan Stern Sent: Friday, September 19, 2014 12:39 PM On Fri, 19 Sep 2014, Petr Mladek wrote: The 3rd version of the patchset

Re: [RFC PATCH] usb: core: log more general message on malformed LANGID descriptor

2014-09-24 Thread Greg Kroah-Hartman
On Tue, Sep 23, 2014 at 10:28:49PM +, Scot Doyle wrote: I'd like to change this error message: [3.325837] usb 1-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409 into an error message followed by a debug message: [3.324726] usb 1-4: malformed string descriptor;

Re: [PATCH 01/11 v6] coresight: add CoreSight core layer framework

2014-09-24 Thread Greg KH
On Thu, Sep 18, 2014 at 05:09:11PM -0600, Mathieu Poirier wrote: On 12 September 2014 12:16, Greg KH gre...@linuxfoundation.org wrote: On Fri, Sep 12, 2014 at 11:41:44AM -0600, Mathieu Poirier wrote: Good morning and thanks for the review. Pls see comments below. Mathieu On 11

Re: [PATCH v2 1/7] selftests: add kselftest framework for uniform test reporting

2014-09-24 Thread Davidlohr Bueso
On Tue, 2014-09-23 at 15:32 -0600, Shuah Khan wrote: Add kselftest framework for tests to use. This is a light weight framework provides a set of interfaces to report test results. Tests can use these interfaces to report pass, and fail cases as well as when failure is due to configuration

[PATCH] powerpc/8xx: Remove Kconfig symbol FADS

2014-09-24 Thread Paul Bolle
Commit 39eb56da2b53 (pcmcia: Remove m8xx_pcmcia driver) removed the only driver that used CONFIG_FADS. Setting the Kconfig symbol FADS is pointless since that commit. Remove it. Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Done on top of next-20140923. Tested with git grep only. Another

Re: [RFC Part2 v1 00/21] Enable hierarchy irqdomian on x86 platforms

2014-09-24 Thread Jiang Liu
On 2014/9/24 15:59, Yasuaki Ishimatsu wrote: (2014/09/11 23:03), Jiang Liu wrote: We plan to restructure x86 interrupt code based on hierarchy irqdomain, that is to build irqdomains for CPU vector, interrupt remapping unit, IOAPIC, MSI and HPET etc and organize those irqdomains in hierarchy

Re: [char-misc-next 01/10] mei: enable adding more IOCTL handlers

2014-09-24 Thread Greg KH
On Tue, Aug 26, 2014 at 12:53:19AM +0300, Tomas Winkler wrote: Handle ioctls in a switch statement so we can add more commands easily Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/main.c | 53 ++--- 1 file changed,

Re: [PATCH v2] zsmalloc: merge size_class to reduce fragmentation

2014-09-24 Thread Minchan Kim
Hi Joonsoo, On Wed, Sep 24, 2014 at 03:03:46PM +0900, Joonsoo Kim wrote: zsmalloc has many size_classes to reduce fragmentation and they are in 16 bytes unit, for example, 16, 32, 48, etc., if PAGE_SIZE is 4096. And, zsmalloc has constraint that each zspage has 4 pages at maximum. In this

  1   2   3   4   5   6   7   8   9   10   >