[PATCH v2] stable_kernel_rules: reorganize and update submission options

2014-12-18 Thread Brian Norris
The current organization of Documentation/stable_kernel_rules.txt doesn't clearly differentiate the mutually exclusive options for submission to the -stable review process. As I understand it, patches are not actually required to be mailed directly to sta...@vger.kernel.org, but the instructions do

Re: [PATCH RESEND v4] sched/fair: Add advisory flag for borrowing a timeslice

2014-12-18 Thread Thomas Gleixner
On Thu, 18 Dec 2014, Khalid Aziz wrote: > On 12/18/2014 03:28 PM, Peter Zijlstra wrote: > > On Thu, Dec 18, 2014 at 11:44:19AM -0700, Khalid Aziz wrote: > > > sched/fair: Add advisory flag for borrowing a timeslice > > > > yuck hatred and much of that. > > > > Also, you fail to explain why a kern

Re: [PATCH v2] stable_kernel_rules: reorganize and update submission options

2014-12-18 Thread Greg Kroah-Hartman
On Thu, Dec 18, 2014 at 02:55:53PM -0800, Brian Norris wrote: > The current organization of Documentation/stable_kernel_rules.txt > doesn't clearly differentiate the mutually exclusive options for > submission to the -stable review process. As I understand it, patches > are not actually required to

Re: [RFC PATCH net-next v2 1/1] net: Support for switch port configuration

2014-12-18 Thread Roopa Prabhu
On 12/18/14, 11:21 AM, John Fastabend wrote: On 12/18/2014 10:14 AM, Roopa Prabhu wrote: On 12/18/14, 10:02 AM, Varlese, Marco wrote: Removed unnecessary content for ease of reading... +/* Switch Port Attributes section */ + +enum { +IFLA_ATTR_UNSPEC, +IFLA_ATTR_LEARNING, Any reason

Re: [PATCH] genirq: fix symbol export for __irq_set_affinity

2014-12-18 Thread Thomas Gleixner
On Thu, 18 Dec 2014, Jesse Brandeburg wrote: > On Thu, 18 Dec 2014 23:42:03 +0100 > Thomas Gleixner wrote: > > > On Thu, 18 Dec 2014, Jesse Brandeburg wrote: > > > Enabling this function means that kernel drivers can include > > > an initial affinity setting for the interrupt, instead of all > >

Re: [PATCH] fs: make generic_block_fiemap sig-tolerant PING2...

2014-12-18 Thread Andrew Morton
On Wed, 10 Dec 2014 16:49:18 +0300 Dmitry Monakhov wrote: > > Hello. Someone please take care of this patch. > > W/o that patch unprivileged user may abuse system resources simply by spawning > wast number of unkilable busyloops (works on ext2/ext3): > > truncate --size 1T test > for ((i=0;i<1

[PATCH] ALSA: atmel: fix building the ac97 driver for at91-multiplatform

2014-12-18 Thread Alexandre Belloni
From: Arnd Bergmann at91 will no longer export the mach/cpu.h and mach/hardware.h header files in the future, which would break building the atmel ac97c driver. Since the cpu_is_* check is only used to find out whether we are running on avr32 or arm/at91, we can hardcode that check in the ARM ca

Re: [RFC PATCH net-next v2 1/1] net: Support for switch port configuration

2014-12-18 Thread Samudrala, Sridhar
On 12/18/2014 3:07 PM, Roopa Prabhu wrote: On 12/18/14, 11:21 AM, John Fastabend wrote: On 12/18/2014 10:14 AM, Roopa Prabhu wrote: On 12/18/14, 10:02 AM, Varlese, Marco wrote: Removed unnecessary content for ease of reading... +/* Switch Port Attributes section */ + +enum { +IFLA_ATTR_

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2014-12-18 Thread Andy Lutomirski
On Wed, Dec 17, 2014 at 3:12 PM, Shaohua Li wrote: > This primarily speeds up clock_gettime(CLOCK_THREAD_CPUTIME_ID, ..). We > use the following method to compute the thread cpu time: > > t0 = process start > t1 = most recent context switch time > t2 = time at which the vsyscall is inv

Re: rfc: remove early_printk from a few arches? (blackfin, m68k, mips)

2014-12-18 Thread Thomas Gleixner
On Wed, 17 Dec 2014, Joe Perches wrote: > It seems like early_printk can be configured into > a few architectures but also appear not to be used. > > $ git grep -w "early_printk" ... > These seem to the only uses: ... > So blackfin, m68k, and mips seems to have it possible to enable, > but also d

Re: [PATCH 1/2] leds: add DT binding for Qualcomm PM8941 WLED block

2014-12-18 Thread Bjorn
On Tue 16 Dec 17:15 PST 2014, Stephen Boyd wrote: > On 12/08/2014 04:22 PM, Bjorn Andersson wrote: > [..] > > +- qcom,current-limit: mA; per-string current limit; value from 0 to 25 > > + default: 20mA > > +- qcom,current-boost-limit: mA; boost current limit; one of: > > + 105, 385, 525, 805,

Good luck

2014-12-18 Thread NEIL TROTTER
-- I Neil Trotter voluntarily decided to donate the sum $800,000.00 USD to you as part of charity project to improve lucky individuals worldwide.You can also verify the link below http://www.theguardian.com/uk-news/2014/mar/18/euromillions-jackpot-winner-named-neil-trotter Good luck, Neil Tr

[PATCH] net: eth: xgene: change APM X-Gene SoC platform ethernet to support ACPI

2014-12-18 Thread Feng Kan
This adds support for APM X-Gene ethernet driver to use ACPI table to derive ethernet driver parameter. Signed-off-by: Feng Kan --- drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 94 +-- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 96 +++- drive

Re: [PATCH RESEND v4] sched/fair: Add advisory flag for borrowing a timeslice

2014-12-18 Thread Khalid Aziz
On 12/18/2014 04:02 PM, Thomas Gleixner wrote: On Thu, 18 Dec 2014, Khalid Aziz wrote: On 12/18/2014 03:28 PM, Peter Zijlstra wrote: On Thu, Dec 18, 2014 at 11:44:19AM -0700, Khalid Aziz wrote: sched/fair: Add advisory flag for borrowing a timeslice yuck hatred and much of that. Also, you f

Re: [PATCH 2/2] mm/zsmalloc: add statistics support

2014-12-18 Thread Minchan Kim
Hello Ganesh, On Wed, Dec 17, 2014 at 03:05:19PM +0800, Ganesh Mahendran wrote: > Hello, Minchan > > Thanks for your review. > > 2014-12-16 10:45 GMT+08:00 Minchan Kim : > > On Sat, Dec 13, 2014 at 09:45:14PM +0800, Ganesh Mahendran wrote: > >> As a ram based memory allocator, keep the fragmenta

Re: [PATCH 2/2] leds: add Qualcomm PM8941 WLED driver

2014-12-18 Thread Bjorn
On Tue 16 Dec 16:54 PST 2014, Bryan Wu wrote: > On Mon, Dec 8, 2014 at 4:22 PM, Bjorn Andersson [..] > > diff --git a/drivers/leds/Kconfig b/drivers/leds/Kconfig [..] > > +config LEDS_PM8941_WLED > > + tristate "LED support for the Qualcomm PM8941 WLED block" > > + depends on LEDS_

Re: [RFC PATCH net-next v2 1/1] net: Support for switch port configuration

2014-12-18 Thread Roopa Prabhu
On 12/18/14, 3:26 PM, Samudrala, Sridhar wrote: On 12/18/2014 3:07 PM, Roopa Prabhu wrote: On 12/18/14, 11:21 AM, John Fastabend wrote: On 12/18/2014 10:14 AM, Roopa Prabhu wrote: On 12/18/14, 10:02 AM, Varlese, Marco wrote: Removed unnecessary content for ease of reading... +/* Switch Por

[PATCH] block: pass correct seed to integrity metadata generation function

2014-12-18 Thread Sam Bradshaw
The seed value passed to the blk integrity metadata generation function was wrong depending on the device block size (interval) and how many blocks comprised the bvec. This patch converts the seed to 'interval' units and increments it correctly for each iteration. Tested against a 4k+8 (w/ typ

Re: [PATCH 2/2] leds: add Qualcomm PM8941 WLED driver

2014-12-18 Thread Bjorn
On Tue 16 Dec 17:15 PST 2014, Stephen Boyd wrote: > On 12/08/2014 04:22 PM, Bjorn Andersson wrote: > > diff --git a/drivers/leds/leds-pm8941-wled.c > > b/drivers/leds/leds-pm8941-wled.c [..] > > +#include > > +#include > > +#include > > +#include > > +#include > > Missing for container_o

Re: [PATCH] clocksource: sh_tmu: Set cpu_possible_mask to fix SMP broadcast

2014-12-18 Thread Magnus Damm
red to before I've been a bit more lazy, so I've kept the timer config to default which means TWD and TMU enabled. The kernel tree is renesas-devel-20141218-v3.18 which is v3.18 plus local integration stuff including TWD DT. I've applied this patch too. Thanks, / magnus -- To u

[GIT PULL] please pull infiniband.git

2014-12-18 Thread Roland Dreier
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git tags/rdma-for-linus Main batch of InfiniBand/RDMA changes for 3.19: - On-demand paging support in core midlayer and mlx5 driver.

Re: [PATCH] ARM: shmobile: r8a7740: Instantiate GIC from C board code in legacy builds

2014-12-18 Thread Simon Horman
On Thu, Dec 18, 2014 at 09:14:46AM +0100, Geert Uytterhoeven wrote: > Hi Simon, > > On Thu, Dec 18, 2014 at 1:33 AM, Simon Horman wrote: > > On Wed, Dec 17, 2014 at 02:20:09PM +, Marc Zyngier wrote: > >> On 17/12/14 13:40, Geert Uytterhoeven wrote: > >> > As of commit 9a1091ef0017c40a ("irqch

[PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks

2014-12-18 Thread Dmitry Torokhov
From: Huang Lin Process-Voltage-Temperature Monitor has two clocks, PVTM_CORE and PVTM_GPU. Signed-off-by: Huang Lin Signed-off-by: Dmitry Torokhov --- Note that I left a hole at 122 for SCLK_USBPHY480M_SRC which is floating around. include/dt-bindings/clock/rk3288-cru.h | 3 +++ 1 file cha

[PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288

2014-12-18 Thread Dmitry Torokhov
From: huang lin Process-Voltage-Temperatiure Monitor block on RK3288 has two clocks: PVTM_CORE and PVTM_GPU. Signed-off-by: Huang Lin Signed-off-by: Dmitry Torokhov --- drivers/clk/rockchip/clk-rk3288.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/rockch

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2014-12-18 Thread Andy Lutomirski
On Thu, Dec 18, 2014 at 3:30 PM, Andy Lutomirski wrote: > On Wed, Dec 17, 2014 at 3:12 PM, Shaohua Li wrote: >> This primarily speeds up clock_gettime(CLOCK_THREAD_CPUTIME_ID, ..). We >> use the following method to compute the thread cpu time: >> >> t0 = process start >> t1 = most recent

Re: [PATCH RESEND v4] sched/fair: Add advisory flag for borrowing a timeslice

2014-12-18 Thread Thomas Gleixner
On Thu, 18 Dec 2014, Khalid Aziz wrote: > On 12/18/2014 04:02 PM, Thomas Gleixner wrote: > > If we can solve it with a proper designed and well thought out > > functionality in the kernel based on a futex like mechanism, why cant > > java and databases not switch over to that and simply use it? > >

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2014-12-18 Thread Shaohua Li
On Thu, Dec 18, 2014 at 04:22:59PM -0800, Andy Lutomirski wrote: > On Thu, Dec 18, 2014 at 3:30 PM, Andy Lutomirski wrote: > > On Wed, Dec 17, 2014 at 3:12 PM, Shaohua Li wrote: > >> This primarily speeds up clock_gettime(CLOCK_THREAD_CPUTIME_ID, ..). We > >> use the following method to compute t

[PATCH] Fixed TPACKET V3 to signal poll when block is closed rather than every packet

2014-12-18 Thread Dan Collins
From: Dan Make TPACKET_V3 signal poll when block is closed rather than for every packet. Side effect is that poll will be signaled when block retire timer expires which didn't previously happen. Issue was visible when sending packets at a very low frequency such that all blocks are retired before

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2014-12-18 Thread Andy Lutomirski
On Thu, Dec 18, 2014 at 4:30 PM, Shaohua Li wrote: > On Thu, Dec 18, 2014 at 04:22:59PM -0800, Andy Lutomirski wrote: >> On Thu, Dec 18, 2014 at 3:30 PM, Andy Lutomirski wrote: >> > On Wed, Dec 17, 2014 at 3:12 PM, Shaohua Li wrote: >> >> This primarily speeds up clock_gettime(CLOCK_THREAD_CPUTI

Re: [PATCH 1/2] CHROMIUM: clk: rockchip: add clock IDs for the PVTM clocks

2014-12-18 Thread Doug Anderson
Dmitry, On Thu, Dec 18, 2014 at 4:13 PM, Dmitry Torokhov wrote: > From: Huang Lin > > Process-Voltage-Temperature Monitor has two clocks, PVTM_CORE and > PVTM_GPU. > > Signed-off-by: Huang Lin > Signed-off-by: Dmitry Torokhov > --- > > Note that I left a hole at 122 for SCLK_USBPHY480M_SRC whi

Re: [PATCH v2 3/3] X86: Add a thread cpu time implementation to vDSO

2014-12-18 Thread Thomas Gleixner
On Thu, 18 Dec 2014, Shaohua Li wrote: > On Thu, Dec 18, 2014 at 04:22:59PM -0800, Andy Lutomirski wrote: > > Bad news: this patch is incorrect, I think. Take a look at > > update_rq_clock -- it does fancy things involving irq time and > > paravirt steal time. So this patch could result in extrem

Re: [RFC PATCH net-next v3 1/1] net: Support for switch port configuration

2014-12-18 Thread Thomas Graf
On 12/18/14 at 08:03am, John Fastabend wrote: > On 12/18/2014 07:30 AM, Varlese, Marco wrote: > Could you also document the attributes. I think they are mostly > clear but what is IFLA_SW_LOOPBACK. It will help later when we > try to read the code in 6months and implement drivers. > > I am thinkin

Re: [PATCH 2/2] CHROMIUM: clk: rockchip: add PVTM clocks on rk3288

2014-12-18 Thread Doug Anderson
Dmitry, On Thu, Dec 18, 2014 at 4:13 PM, Dmitry Torokhov wrote: > From: huang lin > > Process-Voltage-Temperatiure Monitor block on RK3288 has two clocks: > PVTM_CORE and PVTM_GPU. > > Signed-off-by: Huang Lin > Signed-off-by: Dmitry Torokhov > --- > drivers/clk/rockchip/clk-rk3288.c | 4 ++--

Re: [RFC 0/6] zsmalloc support compaction

2014-12-18 Thread Minchan Kim
Hey Seth, On Wed, Dec 17, 2014 at 05:19:30PM -0600, Seth Jennings wrote: > On Tue, Dec 02, 2014 at 11:49:41AM +0900, Minchan Kim wrote: > > Recently, there was issue about zsmalloc fragmentation and > > I got a report from Juno that new fork failed although there > > are plenty of free pages in th

Re: [RFC PATCH net-next v2 1/1] net: Support for switch port configuration

2014-12-18 Thread Thomas Graf
On 12/18/14 at 06:02pm, Varlese, Marco wrote: > Roopa, one of the comments I got from Thomas Graf on my v1 patch was that > your patch and mine were supplementary ("I think Roopa's patches are > supplementary. Not all switchdev users will be backed with a Linux Bridge. I > therefore welcome your

Re: [PATCH] clocksource: sh_tmu: Set cpu_possible_mask to fix SMP broadcast

2014-12-18 Thread Laurent Pinchart
REEMPT settings on > r8a7779 Marzen multiplatform. Everything seems to work as expected. > > Compared to before I've been a bit more lazy, so I've kept the timer > config to default which means TWD and TMU enabled. If your test setup is still around could you quickly test PR

RE: [v3 21/26] x86, irq: Define a global vector for VT-d Posted-Interrupts

2014-12-18 Thread Wu, Feng
> -Original Message- > From: Zhang, Yang Z > Sent: Thursday, December 18, 2014 10:55 PM > To: Wu, Feng; t...@linutronix.de; mi...@redhat.com; h...@zytor.com; > x...@kernel.org; g...@kernel.org; pbonz...@redhat.com; > dw...@infradead.org; j...@8bytes.org; alex.william...@redhat.com; > jian

When should I not use CLONE_IO?

2014-12-18 Thread Steven Stewart-Gallus
Hello, Currently GLibc does not use CLONE_IO and does not expose a way to use CLONE_IO (for threads which are where it'd be most useful I assume). The documentation is unclear though and leaves me in the dark about a lot. For example, I don't see why GLibc shouldn't use CLONE_IO with every thread

Re: [RFC] MADV_FREE doesn't work when doesn't have swap partition

2014-12-18 Thread Minchan Kim
On Thu, Dec 18, 2014 at 11:50:01AM +0800, Wang, Yalin wrote: > I notice this commit: > mm: support madvise(MADV_FREE), > > it can free clean anonymous pages directly, > doesn't need pageout to swap partition, > > but I found it doesn't work on my platform, > which don't enable any swap partitions

Re: [PATCH v2 2/3] X86: add a generic API to let vdso code detect context switch

2014-12-18 Thread Thomas Gleixner
On Wed, 17 Dec 2014, Shaohua Li wrote: > vdso code can't disable preempt, so it can be preempted at any time. > This makes a challenge to implement specific features. This patch adds a > generic API to let vdso code detect context switch. Please change this to: This adds a complete trainwreck in

RE: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2014-12-18 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2014-12-19: > > > On 18/12/2014 15:49, Zhang, Yang Z wrote: Here, we introduce a similar way with 'apic_arb_prio' to handle guest lowest priority interrtups when VT-d PI is used. Here is the ideas: - Each vCPU has a counter 'round_robin_counter'. - When

Re: rfc: remove early_printk from a few arches? (blackfin, m68k, mips)

2014-12-18 Thread Joe Perches
On Fri, 2014-12-19 at 00:33 +0100, Thomas Gleixner wrote: > On Wed, 17 Dec 2014, Joe Perches wrote: > > It seems like early_printk can be configured into > > a few architectures but also appear not to be used. > > > > $ git grep -w "early_printk" > ... > > These seem to the only uses: > ... > > S

Re: [PATCH] uapi/linux/target_core_user.h: fix headers_install.sh badness

2014-12-18 Thread Nicholas A. Bellinger
Hi Kyle, On Thu, 2014-12-18 at 12:57 -0500, Kyle McMartin wrote: > scripts/headers_install.sh will transform __packed to > __attribute__((packed)), so the #ifndef is not necessary. > (and, in fact, it's problematic, because we'll end up with the header > containing: > #ifndef __attribute__((packe

Re: [PATCH 2/2] mm/zsmalloc: add statistics support

2014-12-18 Thread Ganesh Mahendran
Hello, Minchan 2014-12-19 7:44 GMT+08:00 Minchan Kim : > Hello Ganesh, > > On Wed, Dec 17, 2014 at 03:05:19PM +0800, Ganesh Mahendran wrote: >> Hello, Minchan >> >> Thanks for your review. >> >> 2014-12-16 10:45 GMT+08:00 Minchan Kim : >> > On Sat, Dec 13, 2014 at 09:45:14PM +0800, Ganesh Mahendra

[PATCH] genirq: set initial affinity when hinting

2014-12-18 Thread Jesse Brandeburg
Problem: The default behavior of the kernel is somewhat undesirable as all requested interrupts end up on CPU0 after registration. A user can run irqbalance daemon, or can manually configure smp_affinity via the proc filesystem, but the default affinity of the interrupts for all devices is always

Re: [PATCH 2/2] mm/zsmalloc: add statistics support

2014-12-18 Thread Minchan Kim
On Fri, Dec 19, 2014 at 09:21:52AM +0800, Ganesh Mahendran wrote: > Hello, Minchan > > 2014-12-19 7:44 GMT+08:00 Minchan Kim : > > Hello Ganesh, > > > > On Wed, Dec 17, 2014 at 03:05:19PM +0800, Ganesh Mahendran wrote: > >> Hello, Minchan > >> > >> Thanks for your review. > >> > >> 2014-12-16 10:4

RE: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2014-12-18 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Friday, December 19, 2014 12:58 AM > To: Zhang, Yang Z; Wu, Feng; t...@linutronix.de; mi...@redhat.com; > h...@zytor.com; x...@kernel.org; g...@kernel.org; dw...@infradead.org; > j...@8bytes.org; alex.william.

RE: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2014-12-18 Thread Wu, Feng
> -Original Message- > From: Zhang, Yang Z > Sent: Friday, December 19, 2014 9:14 AM > To: Paolo Bonzini; Wu, Feng; t...@linutronix.de; mi...@redhat.com; > h...@zytor.com; x...@kernel.org; g...@kernel.org; dw...@infradead.org; > j...@8bytes.org; alex.william...@redhat.com; jiang@linux

[PATCH V2] CMA: add the amount of cma memory in meminfo

2014-12-18 Thread Xishi Qiu
Add the amount of cma memory in the following meminfo. /proc/meminfo /sys/devices/system/node/nodeXX/meminfo Signed-off-by: Xishi Qiu --- drivers/base/node.c | 16 ++-- fs/proc/meminfo.c | 6 ++ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/drivers/base/node.

Re: [PATCH 0/6] virtio 1.0 fixups, tweaks

2014-12-18 Thread Rusty Russell
"Michael S. Tsirkin" writes: > Fixes a couple of minor compliance issues in new virtio 1.0 code. > Plus, adds a couple of minor cleanups - not bugfixes, > but seem safe enough for 3.19. OK, I've applied these. Thanks, Rusty. > Michael S. Tsirkin (6): > virtio: set VIRTIO_CONFIG_S_FEATURES_OK

Re: [PATCH] samples/kobject: Use kstrtoint instead of sscanf

2014-12-18 Thread Rusty Russell
Rastislav Barlik writes: > Use kstrtoint function instead of sscanf and check for return values. > > Signed-off-by: Rastislav Barlik Hmm, this seems like Greg, not me. Greg, I noticed this in samples/kobject/kobject-example.c: * Released under the GPL version 2 only. ... MODULE_LICENSE("GPL")

Re: [PATCH 0/3] fix up vringh/mic sparse errors

2014-12-18 Thread Rusty Russell
"Michael S. Tsirkin" writes: > This fixes remaining sparse warnings in vringh and mic by using > virtio 1.0 compliant wrappers. > > This also needs by get_user patches to avoid getting warnings > from these calls. > > Tested by running vringh_test. > > Rusty, I prefer fixing all these warnings for

[PULL] modules-next

2014-12-18 Thread Rusty Russell
The following changes since commit 0df1f2487d2f0d04703f142813d53615d62a1da4: Linux 3.18-rc3 (2014-11-02 15:01:51 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/modules-next-for-linus for you to fetch changes up to b0a65b0cc

Re: [PATCH 1/6] tools/virtio: more stubs

2014-12-18 Thread Rusty Russell
"Michael S. Tsirkin" writes: > As usual, add more stubs to fix test build after main > codebase changes. This doesn't apply, since: > diff --git a/tools/virtio/linux/virtio_config.h > b/tools/virtio/linux/virtio_config.h > index dafe1c9..806d683 100644 > --- a/tools/virtio/linux/virtio_config.h

RE: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-18 Thread Wu, Feng
> -Original Message- > From: Zhang, Yang Z > Sent: Thursday, December 18, 2014 10:26 PM > To: Wu, Feng; t...@linutronix.de; mi...@redhat.com; h...@zytor.com; > x...@kernel.org; g...@kernel.org; pbonz...@redhat.com; > dw...@infradead.org; j...@8bytes.org; alex.william...@redhat.com; > jian

Re: [PATCH] cpufreq: Stop BUGing the system

2014-12-18 Thread Viresh Kumar
On 18 December 2014 at 20:19, Nishanth Menon wrote: > I can add "could be unstable" -> the point being there can be psuedo > errors reported in the system - example - clock framework bugs. Dont > just stop the boot. example: what if cpufreq was a driver module - it > would not have rescued the sys

[PATCH 3/4] tty: 8250_omap: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The 8250_omap serial driver is a new user of CONFIG_PM_RUNTIME. However, after commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on

[PATCH 1/4] spi: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki A couple of new CONFIG_PM_RUNTIME users have been added recently in the SPI subsystem. However, after commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now b

Re: [PATCH] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread David Ahern
On 12/18/14 3:13 PM, David Ahern wrote: Are you seeing something different? I put a tracepoint in the ipv4/ipv6 add/del address code. The IPv4 one prints the address using pi4 and pI4 and the IPv6 using pi6, pI6 and pI6c. Using ifconfig eth1 1.2.3.4/24 I get this for trace_pipe which uses t

[PATCH 2/4] sound: sst-haswell-pcm: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The sst-haswell-pcm driver is a new user of CONFIG_PM_RUNTIME. However, after commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks depending on CONFIG_PM_RUNTIME may now be changed to depend on C

[PATCHv v3] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread David Ahern
Adds helper for following kernel formats: %pi4 print an IPv4 address with leading zeros %pI4 print an IPv4 address without leading zeros %pi6 print an IPv6 address without colons %pI6 print an IPv6 address with colons %pI6c print an IPv6 address with colons %pISpc print an IP address fr

Re: rfc: remove early_printk from a few arches? (blackfin, m68k, mips)

2014-12-18 Thread Måns Rullgård
Joe Perches writes: > On Fri, 2014-12-19 at 00:33 +0100, Thomas Gleixner wrote: >> On Wed, 17 Dec 2014, Joe Perches wrote: >> > It seems like early_printk can be configured into >> > a few architectures but also appear not to be used. >> > >> > $ git grep -w "early_printk" >> ... >> > These seem

[PATCH 0/4] PM: Elimination of CONFIG_PM_RUNTIME

2014-12-18 Thread Rafael J. Wysocki
Hi, This is the last part of the CONFIG_PM_RUNTIME elimination work. Patches [1-3/4] deal with the new uses of CONFIG_PM_RUNTIME that have been added since the beginning of the current merge window and the last one removes CONFIG_PM_RUNTIME and makes CONFIG_PM be a user-selectable option. This i

[PATCH 4/4] PM: Eliminate CONFIG_PM_RUNTIME

2014-12-18 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Having switched over all of the users of CONFIG_PM_RUNTIME to use CONFIG_PM directly, turn the latter into a user-selectable option and drop the former entirely from the tree. Signed-off-by: Rafael J. Wysocki --- arch/arm/configs/ape6evm_defconfig |2 +- arc

RE: [PATCH v16 00/12] input: cyapa: instruction of cyapa patches

2014-12-18 Thread Dudley Du
Benson, Jeremiah, Thank you for the help and confirm. Dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2014?12?19? 6:14 > To: Dudley Du > Cc: dmitry.torok...@gmail.com; rydb...@euromail.se; ble...@google.com; > David Solda; linux-in...@vger.kernel.o

Re: [PATCH v3 1/2] acpi: Add "acpi_osi=" for ASUS X200MA to enable, brightness keys

2014-12-18 Thread Aaron Lu
CC Jani, who is working on the patchset to enable 8+ output devices and may have some comments on this. Regards, Aaron On 12/18/2014 09:25 PM, Josh Boyer wrote: > On Thu, Dec 18, 2014 at 7:16 AM, Dmitry Tunin wrote: >> Add "acpi_osi=" quirk for ASUS X200MA >> More information can be found in UX3

RE: [v3 06/26] iommu, x86: No need to migrating irq for VT-d Posted-Interrupts

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > Zhang, Yang Z wrote on 2014-12-18: >> jiang@linux.intel.com >> Cc: eric.au...@linaro.org; linux-kernel@vger.kernel.org; >> io...@lists.linux-foundation.org; k...@vger.kernel.org; Wu, Feng >> Subject: RE: [v3 06/26] iommu, x86: No need to migrating irq for >

Re: [PATCH] cpufreq: Stop BUGing the system

2014-12-18 Thread Rafael J. Wysocki
On Friday, December 19, 2014 07:11:19 AM Viresh Kumar wrote: > On 18 December 2014 at 20:19, Nishanth Menon wrote: > > I can add "could be unstable" -> the point being there can be psuedo > > errors reported in the system - example - clock framework bugs. Dont > > just stop the boot. example: what

RE: [v3 13/26] KVM: Define a new interface kvm_find_dest_vcpu() for VT-d PI

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > Paolo Bonzini wrote on 2014-12-19: >> jiang@linux.intel.com >> Cc: eric.au...@linaro.org; linux-kernel@vger.kernel.org; >> io...@lists.linux-foundation.org; k...@vger.kernel.org >> Subject: Re: [v3 13/26] KVM: Define a new interface >> kvm_find_dest_vcpu()

Re: [PATCH RFC v3 1/2] PM / Domains: Extend API pm_genpd_dev_need_restore to use restore types

2014-12-18 Thread Rafael J. Wysocki
On Thursday, December 18, 2014 11:05:18 AM Sylwester Nawrocki wrote: > On 18/12/14 01:58, Rafael J. Wysocki wrote: > What's needed to solve this problem is a generalized way to have runtime > > >> PM dependencies between devices. Runtime PM already automatically > > >> handles paren

Re: [PATCH] samples/kobject: Use kstrtoint instead of sscanf

2014-12-18 Thread greg KH
On Fri, Dec 19, 2014 at 11:27:37AM +1030, Rusty Russell wrote: > Rastislav Barlik writes: > > Use kstrtoint function instead of sscanf and check for return values. > > > > Signed-off-by: Rastislav Barlik > > Hmm, this seems like Greg, not me. > > Greg, I noticed this in samples/kobject/kobject-

Re: [PATCH 2/2] mm/zsmalloc: add statistics support

2014-12-18 Thread Ganesh Mahendran
2014-12-19 9:30 GMT+08:00 Minchan Kim : > On Fri, Dec 19, 2014 at 09:21:52AM +0800, Ganesh Mahendran wrote: >> Hello, Minchan >> >> 2014-12-19 7:44 GMT+08:00 Minchan Kim : >> > Hello Ganesh, >> > >> > On Wed, Dec 17, 2014 at 03:05:19PM +0800, Ganesh Mahendran wrote: >> >> Hello, Minchan >> >> >> >>

[PATCH hisi] Input: i2c_atmel_read() can be static

2014-12-18 Thread kbuild test robot
drivers/input/touchscreen/atmel_mXT224E.c:460:5: sparse: symbol 'i2c_atmel_read' was not declared. Should it be static? drivers/input/touchscreen/atmel_mXT224E.c:496:5: sparse: symbol 'i2c_atmel_write' was not declared. Should it be static? drivers/input/touchscreen/atmel_mXT224E.c:532:5: sparse:

Re: [PATCH 3/4] tty: 8250_omap: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-18 Thread Greg Kroah-Hartman
On Fri, Dec 19, 2014 at 02:55:00AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The 8250_omap serial driver is a new user of CONFIG_PM_RUNTIME. > > However, after commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if > PM_SLEEP is selected) PM_RUNTIME is always set if PM is set, s

Re: [PATCH 2/2] mm/zsmalloc: add statistics support

2014-12-18 Thread Minchan Kim
On Fri, Dec 19, 2014 at 09:49:29AM +0800, Ganesh Mahendran wrote: > 2014-12-19 9:30 GMT+08:00 Minchan Kim : > > On Fri, Dec 19, 2014 at 09:21:52AM +0800, Ganesh Mahendran wrote: > >> Hello, Minchan > >> > >> 2014-12-19 7:44 GMT+08:00 Minchan Kim : > >> > Hello Ganesh, > >> > > >> > On Wed, Dec 17,

Re: [PATCHv v3] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread Valdis . Kletnieks
On Thu, 18 Dec 2014 18:43:10 -0700, David Ahern said: > Adds helper for following kernel formats: > %pi4 print an IPv4 address with leading zeros > %pI4 print an IPv4 address without leading zeros > %pi6 print an IPv6 address without colons > %pI6 print an IPv6 address with colons > %pI6c

[PATCH v2 5/7] imx-drm: encoder prepare/mode_set must use adjusted mode

2014-12-18 Thread Steve Longerbeam
The encoder ->prepare() and ->mode_set() methods need to use the hw adjusted mode, not the original mode. Signed-off-by: Steve Longerbeam --- drivers/gpu/drm/imx/imx-hdmi.c |4 ++-- drivers/gpu/drm/imx/imx-ldb.c |6 +++--- drivers/gpu/drm/imx/imx-tve.c |4 ++

Re: [PATCH 3/4] tty: 8250_omap: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-18 Thread Rafael J. Wysocki
On Thursday, December 18, 2014 05:57:17 PM Greg Kroah-Hartman wrote: > On Fri, Dec 19, 2014 at 02:55:00AM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The 8250_omap serial driver is a new user of CONFIG_PM_RUNTIME. > > > > However, after commit b2b49ccbdd54 (PM: Kconfig: S

[PATCH v2 2/7] gpu: ipu-di: remove some non-functional code

2014-12-18 Thread Steve Longerbeam
h_total and v_total were calculated in ipu_di_init_sync_panel() but never actually used. Remove. Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-di.c |6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/gpu/ipu-v3/ipu-di.c b/drivers/gpu/ipu-v3/ipu-di.c index 46f9570..41

[hisi:integration-hilt-linux-linaro 17/28] drivers/input/touchscreen/atmel_mXT224E.c:460:5: sparse: symbol 'i2c_atmel_read' was not declared. Should it be static?

2014-12-18 Thread kbuild test robot
tree: git://github.com/hisilicon/linux-hisi integration-hilt-linux-linaro head: 791a2af480ea27735b4669c623b665c5bfea9b5c commit: d7e9caafdf706341b4165d0a8c2089e60dcebc68 [17/28] Input: enable touch atmel_mXT224E reproduce: # apt-get install sparse git checkout d7e9caafdf706341b4165d0a8c208

[PATCH v2 6/7] gpu: ipu-v3: Use videomode in struct ipu_di_signal_cfg

2014-12-18 Thread Steve Longerbeam
This patch changes struct ipu_di_signal_cfg to use struct videomode to define video timings and flags. Signed-off-by: Steve Longerbeam --- drivers/gpu/drm/imx/ipuv3-crtc.c | 26 +++ drivers/gpu/ipu-v3/ipu-di.c | 89 -- include/video/imx-ipu-v3

Re: [PATCHv v3] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread David Ahern
On 12/18/14 7:00 PM, valdis.kletni...@vt.edu wrote: On Thu, 18 Dec 2014 18:43:10 -0700, David Ahern said: Adds helper for following kernel formats: %pi4 print an IPv4 address with leading zeros %pI4 print an IPv4 address without leading zeros %pi6 print an IPv6 address without colons

[PATCH v2 4/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2014-12-18 Thread Steve Longerbeam
Ask the IPU display interface, via ipu_di_adjust_videomode(), to adjust a video mode to meet any DI restrictions. The function takes a subsystem independent videomode, so the drm_display_mode must be converted to videomode first, and then the adjusted mode converted back to a drm_display_mode. Sig

[PATCH v2 7/7] gpu: ipu-di: Switch to DIV_ROUND_CLOSEST for DI clock divider calc

2014-12-18 Thread Steve Longerbeam
We can use the DIV_ROUND_CLOSEST() macro when calculating the DI clock divider, rounded to nearest int. Suggested-by: Philipp Zabel Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-di.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/ipu-v3/

[PATCH v2 1/7] gpu: ipu-di: Add ipu_di_adjust_videomode()

2014-12-18 Thread Steve Longerbeam
From: Jiada Wang On some monitors, high resolution modes are not working, exhibiting pixel column truncation problems (for example, 1280x1024 displays as 1280x1022). The function ipu_di_adjust_videomode() aims to fix these issues by adjusting a passed videomode to IPU restrictions. The function

[PATCH v2 0/7] imx-drm: ipuv3-crtc: Implement mode_fixup

2014-12-18 Thread Steve Longerbeam
This patchset implements ->mode_fixup() in the imx ipuv3-crtc driver, using a new support function ipu_di_adjust_videomode(). This new function needs to be subsystem independent, so it accepts a video mode as a 'struct videomode'. Hence ipu-crtc ->mode_fixup() needs another support function to conv

[PATCH v2 3/7] drm_modes: add videomode_from_drm_display_mode

2014-12-18 Thread Steve Longerbeam
Add conversion from drm_display_mode to videomode. Signed-off-by: Steve Longerbeam --- drivers/gpu/drm/drm_modes.c | 40 include/drm/drm_modes.h |2 ++ 2 files changed, 42 insertions(+) diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm

[drm/fb-helper] BUG: unable to handle kernel paging request at 95d24c70

2014-12-18 Thread Fengguang Wu
+--+++---+ | | 7552e7dd95 | 7bf2844ed1 | next-20141218 | +--+++---+ | boot_successes | 60 | 0 | 0

Re: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM

2014-12-18 Thread Rafael J. Wysocki
On Thursday, December 18, 2014 11:28:58 PM Laurent Pinchart wrote: > Hi Kevin, > [cut] > > >> > > >> It would be better to be able to reference count the DMA engine from the > > >> bus master IMO and arguably you can use the runtime PM framework for > > >> that. Namely, give bus masters sometin

Re: rfc: remove early_printk from a few arches? (blackfin, m68k, mips)

2014-12-18 Thread Joe Perches
On Fri, 2014-12-19 at 01:43 +, Måns Rullgård wrote: > What exactly are you proposing to remove? Optionally compile out kernel/printk/printk.c:early_printk() even if CONFIG_EARLY_PRINTK is enabled. > I see no unused code related > to early printk (in any variant) under arch/mips. I think ther

RE: [v3 23/26] KVM: Update Posted-Interrupts Descriptor when vCPU is preempted

2014-12-18 Thread Wu, Feng
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Paolo Bonzini > Sent: Thursday, December 18, 2014 4:32 PM > To: linux-kernel@vger.kernel.org > Cc: io...@lists.linux-foundation.org; k...@vger.kernel.org; > linux-ker

[PATCH v4] tools lib traceevent: Add support for IP address formats

2014-12-18 Thread David Ahern
Add helpers for the following kernel formats: %pi4 print an IPv4 address with leading zeros %pI4 print an IPv4 address without leading zeros %pi6 print an IPv6 address without colons %pI6 print an IPv6 address with colons %pI6c print an IPv6 address in compressed form with colons %pISpc

Re: Re: [PATCHv4 1/8] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-18 Thread MyungJoo Ham
> > Dear Myungjoo, > > Thanks for your review. > > On 12/18/2014 03:24 PM, MyungJoo Ham wrote: > > Hi Chanwoo, > > > > I love the idea and I now have a little mechanical issues in your code. > > > >> --- > >> drivers/devfreq/Kconfig | 2 + > >> drivers/devfreq/Makefile|

[PATCH v3] Staging: wlan-ng: hfa384x_usb: fixed an 'else' statement coding style issue

2014-12-18 Thread Eduardo Barretto
Checkpatch was complaining about the else statement because the if statement had a return '1' call. Taking a look at the function which this else statement belongs, you can see that it has an switch case statement. The main idea of the function is to return '1' if you get into any of the cases (

Re: [PATCH RFC v2 05/14] ARM: imx6q: clk: Add the video_27m clock

2014-12-18 Thread Liu Ying
Hi Philipp, On 12/18/2014 06:31 PM, Philipp Zabel wrote: Am Donnerstag, den 18.12.2014, 15:11 +0800 schrieb Liu Ying: This patch supports the video_27m clock which is a fixed factor clock of the pll3_pfd1_540m clock. Signed-off-by: Liu Ying --- v1->v2: * None. arch/arm/mach-imx/clk-imx6q

Re: [PATCH RFC v2 06/14] ARM: dts: imx6qdl: Move existing MIPI DSI ports into a new 'ports' node

2014-12-18 Thread Liu Ying
Hi Philipp, On 12/18/2014 06:33 PM, Philipp Zabel wrote: Am Donnerstag, den 18.12.2014, 15:11 +0800 schrieb Liu Ying: The MIPI DSI node contains some ports which represent possible DRM CRTCs it can connect with. Each port has a 'reg' property embedded. This property will be wrongly interprett

RE: [v3 16/26] KVM: Make struct kvm_irq_routing_table accessible

2014-12-18 Thread Wu, Feng
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org > [mailto:linux-kernel-ow...@vger.kernel.org] On Behalf Of Paolo Bonzini > Sent: Thursday, December 18, 2014 12:18 AM > To: linux-kernel@vger.kernel.org > Cc: io...@lists.linux-foundation.org; k...@vger.kernel.org; > linux-ke

[PATCH] lib/genalloc.c: fix the end addr check in addr_in_gen_pool()

2014-12-18 Thread Toshi Kikuchi
Since chunk->end_addr is (chunk->start_addr + size - 1), the end address to compare should be (start + size - 1). Signed-off-by: Toshi Kikuchi --- lib/genalloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/genalloc.c b/lib/genalloc.c index 2e65d20..42a95e9 100644 ---

RE: [PATCH] checkpatch: Fix MAINTAINERS search pattern

2014-12-18 Thread Chickles, Derek
> On Thu, 2014-12-18 at 12:12 -0800, Derek Chickles wrote: > > This fixes the check that was supposed to prevent the MAINTAINERS > > warning from appearing when you run checkpatch.pl on a patch that > > includes new files/directories and an updated MAINTAINERS file. > > This suggested patch doesn'

RE: [f2fs-dev] [PATCH v3] f2fs: use ra_meta_pages to simplify readahead code in restore_node_summary

2014-12-18 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, December 19, 2014 3:13 AM > To: Chao Yu > Cc: Changman Lee; linux-f2fs-de...@lists.sourceforge.net; > linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev] [P

<    1   2   3   4   5   6   7   >