[RFC] background zero-set page for device

2014-12-18 Thread Gioh Kim
There was some discussion to create zero-set pages in background like this: https://lkml.org/lkml/2004/10/30/73 I'm understand that it is not good for performance. But I think it can help for a device in my platform. I'm sorry I can't tell what it is. But the device needs many zero-set pages,

Re: [PATCH RESEND v2 03/10] power: charger-manager: Remove deprecated function, cm_notify_event().

2014-12-18 Thread MyungJoo Ham
> > cm_notify_event() is introduced to get event associated with battery status > externally, but no one had been used. Moreover it makes charger manager > driver more complicated. This patch tries to drop the function and all data > related to simplify the driver. > > Signed-off-by: Jonghwa

Re: [PATCH 4/4] PM: Eliminate CONFIG_PM_RUNTIME

2014-12-18 Thread Ulf Hansson
On 19 December 2014 at 03:03, Rafael J. Wysocki wrote: > 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.

Re: [PATCH RESEND v2 02/10] power: charger-manager: Use power_supply_changed() not private uevent.

2014-12-18 Thread MyungJoo Ham
> > Whenever battery status is changed, charger manager tries to trigger uevent > through private interface. This patch modifies it to use > power_supply_changed() > since it belongs to power supply subsystem. > > Signed-off-by: Jonghwa Lee The original uevent_notify() has two additional

Re: [PATCH RFC v2 00/14] Add support for i.MX MIPI DSI DRM driver

2014-12-18 Thread Liu Ying
Hi Andy, On 12/19/2014 02:33 PM, Andy Yan wrote: Hi Liu Ying: I foud Rockchip RK618 (a mfd function device with mipi dsi,lvds transmitter、HDMI TX、and audio codec,and controlled by the SOC from i2c ) have the same register layout with your i.MX MIPI DSI,which means RK618 MIPI DSI also have

Re: [PATCHv7 2/3] kernel: add support for live patching

2014-12-18 Thread Jiri Kosina
On Tue, 16 Dec 2014, Seth Jennings wrote: > This commit introduces code for the live patching core. It implements > an ftrace-based mechanism and kernel interface for doing live patching > of kernel and kernel module functions. > > It represents the greatest common functionality set between

Re: [PATCH RFC v4 net-next 1/5] virtio_net: enable tx interrupt

2014-12-18 Thread Qin Chuanyu
On 2014/12/1 18:17, Jason Wang wrote: On newer hosts that support delayed tx interrupts, we probably don't have much to gain from orphaning packets early. Note: this might degrade performance for hosts without event idx support. Should be addressed by the next patch. Cc: Rusty Russell Cc:

Re: [kpatch] [PATCH] livepatch v7: move x86 specific ftrace handler code to arch/x86

2014-12-18 Thread Jiri Kosina
On Fri, 19 Dec 2014, Li Bin wrote: > The execution flow redirection related implemention in the livepatch > ftrace handler is depended on the specific architecture. This patch > introduces klp_arch_set_pc(like kgdb_arch_set_pc) interface to change > the pt_regs. > > Signed-off-by: Li Bin Good

Re: [PATCH v5 4/6] staging: fpga manager: add driver for socfpga fpga manager

2014-12-18 Thread Michal Simek
On 12/18/2014 09:59 PM, atull wrote: > On Thu, 18 Dec 2014, Michal Simek wrote: > > Hi Michal, > >>> + >>> + /* Write out remaining non 32-bit chunks. */ >>> + switch (count) { >>> + case 3: >>> + socfpga_fpga_data_writel(priv, buffer_32[i++] & 0x00ff); >>> + break;

DONATION

2014-12-18 Thread Mrs Cindy Hill
I Mark and my wife Cindy Hill of Missouri won a Jackpot we have decided to donate the sum of 900,000.00 USD to you. Contact us via our personal email. fill the following. 1.Name 2. Country 3.Sex Note that you have to contact my private email for more informations. Goodluck, Mrs Cindy Hill

Re: [PATCH RESEND v2 01/10] power: charger-manager: Use thermal subsystem interface only to get temperature.

2014-12-18 Thread MyungJoo Ham
> > It drops the way of using power_supply interface to reference battery's > temperature. Then it tries to use thermal subsystem's only. This makes driver > more simple and also can remove ifdeferies. > > Signed-off-by: Jonghwa Lee Acked-by: MyungJoo Ham > --- > drivers/power/Kconfig

Re: [PATCH v5 3/6] staging: fpga manager: framework core

2014-12-18 Thread Michal Simek
On 12/18/2014 09:46 PM, atull wrote: > On Thu, 18 Dec 2014, Michal Simek wrote: > >> Hi Alan, >> >> first of all - there are these kernel-doc warnings. >> >> Info(drivers/staging/fpga/fpga-mgr.c:37): Scanning doc for >> fpga_mgr_low_level_state >> Warning(drivers/staging/fpga/fpga-mgr.c:43): No

Re: [PATCH] Staging: rtl8192u: removed an unnecessary else statement

2014-12-18 Thread Jeremiah Mahler
Karthik, On Fri, Dec 19, 2014 at 10:16:18AM +0530, karthik nayak wrote: > > On 12/19/2014 04:08 AM, Jeremiah Mahler wrote: > >Karthik, > > > >On Thu, Dec 18, 2014 at 02:50:11PM +0530, Karthik Nayak wrote: > >>As per checkpatch warning, removed an unnecessary else statement > >>proceeding an if

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > Zhang, Yang Z wrote on 2014-12-19: >> Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is >> set >> >> Wu, Feng wrote on 2014-12-19: >>> >>> >>> Zhang, Yang Z wrote on 2014-12-19: Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt

RE: [DISCUSSION] USB device remote wakeup is not working for S3 case

2014-12-18 Thread Du, Changbin
> There's a simple solution: Call device_set_wakeup_enable() for the device! > You can do this from the command line by: > > echo auto >/sys/bus/usb/devices/.../power/control > > where the "..." is the pathname for your device. > Yes, this can enable auto-suspend for usb device like a

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

2014-12-18 Thread Wang, Yalin
> -Original Message- > From: Minchan Kim [mailto:minc...@kernel.org] > Sent: Friday, December 19, 2014 9:05 AM > To: Wang, Yalin > Cc: 'Konstantin Khlebnikov'; 'Kirill A. Shutemov'; 'Andrew Morton'; 'linux- > ker...@vger.kernel.org'; 'linux...@kvack.org'; 'linux-arm- >

Re: [PATCH] nfs: prevent truncate on active swapfile

2014-12-18 Thread Omar Sandoval
On Thu, Dec 18, 2014 at 10:29:18PM -0800, Omar Sandoval wrote: > Most filesystems prevent truncation of an active swapfile by way of > inode_newsize_ok, called from inode_change_ok. NFS doesn't call either > from nfs_setattr, presumably because most of these checks are expected > to be done

I'm a widow i need your assistance

2014-12-18 Thread Suhayba Ammar
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

2014-12-18 Thread Chanwoo Choi
Dear Myungjoo, On 12/19/2014 11:11 AM, MyungJoo Ham wrote: >> >> 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. >>> ---

RE: [PATCH net] r8152: drop the tx packet with invalid length

2014-12-18 Thread Hayes Wang
> From: David Miller [mailto:da...@davemloft.net] > Sent: Thursday, November 27, 2014 4:34 AM [...] > >> > Looks like a candidate for ndo_gso_check(), so that we do not drop, but > >> > instead segment from netif_needs_gso()/validate_xmit_skb() > >> > >> You mean have the bridge implement the

[PATCH] nfs: prevent truncate on active swapfile

2014-12-18 Thread Omar Sandoval
Most filesystems prevent truncation of an active swapfile by way of inode_newsize_ok, called from inode_change_ok. NFS doesn't call either from nfs_setattr, presumably because most of these checks are expected to be done server-side. However, the IS_SWAPFILE check can only be done client-side, and

Re: [PATCH 2/8] swap: lock i_mutex for swap_writepage direct_IO

2014-12-18 Thread Al Viro
On Thu, Dec 18, 2014 at 10:24:05PM -0800, Omar Sandoval wrote: > + swap_file = file_open_name(name, O_RDWR | O_LARGEFILE | O_DIRECT, 0); > + if (IS_ERR(swap_file) && PTR_ERR(swap_file) == -EINVAL) ITYM if (swap_file == ERR_PTR(-EINVAL)) here... -- To unsubscribe from this list: send

Re: [PATCH 2/8] swap: lock i_mutex for swap_writepage direct_IO

2014-12-18 Thread Omar Sandoval
On Wed, Dec 17, 2014 at 10:03:13PM +, Al Viro wrote: > On Wed, Dec 17, 2014 at 10:52:56AM -0800, Christoph Hellwig wrote: > > On Wed, Dec 17, 2014 at 06:58:32AM -0800, Omar Sandoval wrote: > > > See my previous message. If we use O_DIRECT on the original open, then > > > filesystems that

Re: [kpatch] [PATCH] livepatch v7: move x86 specific ftrace handler code to arch/x86

2014-12-18 Thread Li Bin
Sorry! Bad format, please ignore this patch. On 2014/12/19 13:37, Li Bin wrote: > The execution flow redirection related implemention in the livepatch > ftrace handler is depended on the specific architecture. This patch > introduces klp_arch_set_pc(like kgdb_arch_set_pc) interface to change >

[kpatch] [PATCH] livepatch v7: move x86 specific ftrace handler code to arch/x86

2014-12-18 Thread Li Bin
The execution flow redirection related implemention in the livepatch ftrace handler is depended on the specific architecture. This patch introduces klp_arch_set_pc(like kgdb_arch_set_pc) interface to change the pt_regs. Signed-off-by: Li Bin --- arch/x86/include/asm/livepatch.h |5 +

Re: [Patch v4 1/2] gpio: add GPIO hogging mechanism

2014-12-18 Thread Alexandre Courbot
On Fri, Dec 19, 2014 at 2:08 AM, Benoit Parrot wrote: > Alexandre Courbot wrote on Wed [2014-Dec-17 17:41:51 > +0900]: >> Looks ok to me. I have a few nits below, but otherwise I am happy with >> how it turned out: >> >> Reviewed-by: Alexandre Courbot > I'll add this to the next version. > >>

Re: [iwlwifi] BUG: unable to handle kernel

2014-12-18 Thread Grumbach, Emmanuel
rcmp+0x6/0x20 > > > [5.354451] RSP > > > [5.354451] RSP > > > [5.354451] CR2: 8804e5f0 > > > [5.354451] CR2: 8804e5f0 > > > [ 5.354451] ---[ end trace 8f9377b34c860a0c ]--- > > >

Re: [PATCH RFC v2 08/14] drm: imx: Add MIPI DSI host controller driver

2014-12-18 Thread Liu Ying
On 12/18/2014 07:39 PM, Philipp Zabel wrote: Am Donnerstag, den 18.12.2014, 15:11 +0800 schrieb Liu Ying: This patch adds i.MX MIPI DSI host controller driver support. Currently, the driver supports the burst with sync pulses mode only. Signed-off-by: Liu Ying --- v1->v2: * Address almost

[PATCH] ftrace: fix typo in comment

2014-12-18 Thread Li Bin
%s/ARCH_SUPPORT_FTARCE_OPS/ARCH_SUPPORTS_FTRACE_OPS/ Signed-off-by: Li Bin --- kernel/trace/ftrace.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace/ftrace.c index 929a733..9473b24 100644 --- a/kernel/trace/ftrace.c +++

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Wu, Feng
> -Original Message- > From: Zhang, Yang Z > Sent: Friday, December 19, 2014 1:26 PM > To: Wu, Feng; Paolo Bonzini; k...@vger.kernel.org > Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt

[kpatch] [PATCH] livepatch v7: move x86 specific ftrace handler code to arch/x86

2014-12-18 Thread Li Bin
The execution flow redirection related implemention in the livepatch ftrace handler is depended on the specific architecture. This patch introduces klp_arch_set_pc(like kgdb_arch_set_pc) interface to change the pt_regs. Signed-off-by: Li Bin --- arch/x86/include/asm/livepatch.h |5 +

[PATCH] arm64: psci: Support generic pm suspend withtout CPUIDLE subsystem's help.

2014-12-18 Thread Jonghwa Lee
Current psci's cpu_suspend callback can be used only when common cpu idle configuration is enabled. However, it's also needed for system which only uses generic pm suspend not cpu idle. This patch modifies psci driver to support both of cases. Signed-off-by: Jonghwa Lee ---

Re: [LKP] [sb_edac] 50d1bb93672: EDAC sbridge: ECC is disabled. Aborting

2014-12-18 Thread Huang Ying
On Thu, 2014-12-18 at 09:05 -0200, Mauro Carvalho Chehab wrote: > Hi Huang, > > Em Thu, 18 Dec 2014 16:13:26 +0800 > Huang Ying escreveu: > > > FYI, we noticed the below changes on > > > > commit 50d1bb93672fa2f42cec6e06ce799fbe864f57e9 ("sb_edac: add support for > > Haswell based systems") >

Re: [LKP] [cpufreq] BUG: sleeping function called from invalid context at mm/slub.c:1241

2014-12-18 Thread Viresh Kumar
On Fri, Dec 19, 2014 at 10:17 AM, Huang Ying wrote: > FYI, we noticed the below changes on > > https://git.linaro.org/people/vireshk/linux cpufreq/stats/cleanups > commit 2136fa84639adcc0727e968f99ad222c8146810c ("cpufreq: stats: Fix > locking") > > >

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > Zhang, Yang Z wrote on 2014-12-19: >> Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is >> set >> >> Wu, Feng wrote on 2014-12-19: >>> >>> >>> Zhang, Yang Z wrote on 2014-12-19: Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt

Re: [PATCH] ARM: OMAP2+: hwmod: Fix _wait_target_ready() for hwmods without sysc

2014-12-18 Thread Lokesh Vutla
Hi Roger, On Thursday 18 December 2014 09:22 PM, Roger Quadros wrote: > Fixing up Paul's email id. > > cheers, > -roger > > On 18/12/14 17:49, Roger Quadros wrote: >> There are quite a few hwmods that don't have sysconfig register and so >> _find_mpu_rt_port(oh) will return NULL thus preventing

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

2014-12-18 Thread B Viswanath
On 19 December 2014 at 05:18, Roopa Prabhu wrote: > 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,

Re: [PULL] modules-next

2014-12-18 Thread Linus Torvalds
On Thu, Dec 18, 2014 at 4:55 PM, Rusty Russell wrote: > > The exciting thing here is the getting rid of stop_machine on module > removal. This is possible by using a simple atomic_t for the counter, > rather than our fancy per-cpu counter: it turns out that no one is doing > a module increment

[LKP] [vmstat] 7cc36bbddde: +2.6% will-it-scale.scalability -28.7% time.involuntary_context_switches

2014-12-18 Thread Huang Ying
FYI, we noticed the below changes on commit 7cc36bbddde5cd0c98f0c06e3304ab833d662565 ("vmstat: on-demand vmstat workers V8") testbox/testcase/testparams: lkp-sbx04/will-it-scale/performance-pread2 f0d6d1f6ff6f8525 7cc36bbddde5cd0c98f0c06e33 --

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Wu, Feng
> -Original Message- > From: Zhang, Yang Z > Sent: Friday, December 19, 2014 12:44 PM > To: Wu, Feng; Paolo Bonzini; k...@vger.kernel.org > Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt

Re: frequent lockups in 3.18rc4

2014-12-18 Thread Linus Torvalds
On Thu, Dec 18, 2014 at 8:03 PM, Dave Jones wrote: > > So the only thing that was on that could cause spinlock overhead > was DEBUG_SPINLOCK (and LOCK_STAT, though iirc that's not huge either) So DEBUG_SPINLOCK does have one big downside if I recall correctly - the debugging spinlocks are very

Re: [PATCH] Staging: rtl8192u: removed an unnecessary else statement

2014-12-18 Thread karthik nayak
On 12/19/2014 04:08 AM, Jeremiah Mahler wrote: Karthik, On Thu, Dec 18, 2014 at 02:50:11PM +0530, Karthik Nayak wrote: As per checkpatch warning, removed an unnecessary else statement proceeding an if statement with a return. Signed-off-by: Karthik Nayak ---

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > Zhang, Yang Z wrote on 2014-12-19: >> Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is >> set >> >> Wu, Feng wrote on 2014-12-19: >>> >>> >>> iommu-boun...@lists.linux-foundation.org wrote on >>

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Wu, Feng
> -Original Message- > From: Zhang, Yang Z > Sent: Friday, December 19, 2014 11:33 AM > To: Wu, Feng; Paolo Bonzini; k...@vger.kernel.org > Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: RE: [v3 25/26] KVM: Suppress posted-interrupt

PureMessage has encountered the following event(s): Virus infection detected

2014-12-18 Thread puremessage
This sender alert message is generated by PureMessage because it has encountered the following events. Event(s): Virus infection detected Message action: Message quarantined Message ID: Subject: Mail Delivery (failure kullan...@domain.com) Sender: linux-kernel@vger.kernel.org Recipient(s):

[PATCH] audit: use supplied gfp_mask from audit_buffer in kauditd_send_multicast_skb

2014-12-18 Thread Richard Guy Briggs
Eric Paris explains: Since kauditd_send_multicast_skb() gets called in audit_log_end(), which can come from any context (aka even a sleeping context) GFP_KERNEL can't be used. Since the audit_buffer knows what context it should use, pass that down and use that. See:

Re: frequent lockups in 3.18rc4

2014-12-18 Thread Dave Jones
On Thu, Dec 18, 2014 at 10:58:59PM -0500, Dave Jones wrote: > > lock debugging and other overheads (does this still have > > DEBUG_PAGEALLOC?) you really are getting into a "real" softlockup > > because things are scaling so horribly badly. > > > > If you now disable spinlock debugging

Re: [PATCH net V2] net: drop the packet when fails to do software segmentation or header check

2014-12-18 Thread David Miller
From: Jason Wang Date: Fri, 19 Dec 2014 11:09:13 +0800 > Commit cecda693a969816bac5e470e1d9c9c0ef5567bca ("net: keep original skb > which only needs header checking during software GSO") keeps the original > skb for packets that only needs header check, but it doesn't drop the > packet if

Re: frequent lockups in 3.18rc4

2014-12-18 Thread Dave Jones
On Thu, Dec 18, 2014 at 07:49:41PM -0800, Linus Torvalds wrote: > And when spinlocks start getting contention, *nested* spinlocks > really really hurt. And you've got all the spinlock debugging on etc, > don't you? Yeah, though remember this seems to have for some reason gotten worse in more

Re: [PATCH] checkpatch: Fix MAINTAINERS search pattern

2014-12-18 Thread Joe Perches
On Fri, 2014-12-19 at 02:34 +, Chickles, Derek wrote: > > 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

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

2014-12-18 Thread Dan Collins
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 packets

Re: frequent lockups in 3.18rc4

2014-12-18 Thread Linus Torvalds
On Thu, Dec 18, 2014 at 6:45 PM, Dave Jones wrote: > > Example of the spew-o-rama below. Hmm. Not only does it apparently stay up for you now, the traces seem to be improving in quality. There's a decided pattern of "copy_page_range()" and "zap_page_range()" here. Now, what's *also* intriguing

net: ucc: tbi phy detection broken by 058112c7efc9ef43bb511c137293dddbe6e42908

2014-12-18 Thread Lennart Sorensen
I have been trying to move an 8360 based system from a 3.0 kernel to a 3.12 (on the way to 3.14 with ipipe/xenomai) kernel and encountered an oops in the ucc_geth driver when using RTBI mode on one of the ucc ports. I haven't managed to find any commits to of_mdio or ucc_geth or fsl_pq_mdio that

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

2014-12-18 Thread David Miller
From: Dan Collins Date: Fri, 19 Dec 2014 13:32:19 +1300 > + * Dan Collins : Fixed TPACKET_V3 to wake poll when block is closed > + * rather than for every packet. Since we now use real version control with commit messages, this comment at the top of

Re: Re: [PATCHv7 1/3] kernel: add TAINT_LIVEPATCH

2014-12-18 Thread Masami Hiramatsu
(2014/12/19 0:52), Jiri Kosina wrote: > On Thu, 18 Dec 2014, Masami Hiramatsu wrote: > >>> This adds a new taint flag to indicate when the kernel or a kernel >>> module has been live patched. This will provide a clean indication in >>> bug reports that live patching was used. >>> >>>

Re: [PATCH] livepatch: use FTRACE_OPS_FL_IPMODIFY

2014-12-18 Thread Masami Hiramatsu
(2014/12/19 0:49), Josh Poimboeuf wrote: > On Thu, Dec 18, 2014 at 08:55:21PM +0900, Masami Hiramatsu wrote: >> (2014/12/17 2:58), Seth Jennings wrote: >>> changes in v7: >>> - TODO: set IPMODIFY (not a blocker to moving forward) >> >> Why don't you set this? >> IPMODIFY series are not completely

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Zhang, Yang Z
Wu, Feng wrote on 2014-12-19: > > > iommu-boun...@lists.linux-foundation.org wrote on > mailto:iommu-boun...@lists.linux-foundation.org] On Behalf Of: >> Cc: io...@lists.linux-foundation.org; linux-kernel@vger.kernel.org; >> k...@vger.kernel.org >> Subject: RE: [v3 25/26] KVM: Suppress

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

2014-12-18 Thread Aaron Lu
On 12/19/2014 09:46 AM, Aaron Lu wrote: > CC Jani, who is working on the patchset to enable 8+ output devices and > may have some comments on this. Change Jani's email address, I got a warning from the mailer about his other email address. > > Regards, > Aaron > > On 12/18/2014 09:25 PM, Josh

[PATCH net V2] net: drop the packet when fails to do software segmentation or header check

2014-12-18 Thread Jason Wang
Commit cecda693a969816bac5e470e1d9c9c0ef5567bca ("net: keep original skb which only needs header checking during software GSO") keeps the original skb for packets that only needs header check, but it doesn't drop the packet if software segmentation or header check were failed. Fixes cecda693a9

Re: [PATCH net] net: drop the packet when fails to do software segmentation or header check

2014-12-18 Thread Jason Wang
On Fri, Dec 19, 2014 at 4:39 AM, David Miller wrote: From: Jason Wang Date: Thu, 18 Dec 2014 13:57:19 +0800 Fixes cecda693a969816bac5e470e1d9c9c0ef5567bca Please correct this fixes tag, it should be of the form: Fixes: $(SHA1) ("header text of commit message") The SHA1 ID should be

RE: [v3 25/26] KVM: Suppress posted-interrupt when 'SN' is set

2014-12-18 Thread Wu, Feng
> -Original Message- > From: iommu-boun...@lists.linux-foundation.org > [mailto:iommu-boun...@lists.linux-foundation.org] On Behalf Of Zhang, Yang Z > Sent: Thursday, December 18, 2014 11:10 PM > To: Paolo Bonzini; k...@vger.kernel.org > Cc: io...@lists.linux-foundation.org;

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

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:37 PM > To: linux-kernel@vger.kernel.org > Cc: io...@lists.linux-foundation.org; k...@vger.kernel.org; >

[PATCH RESEND v2 02/10] power: charger-manager: Use power_supply_changed() not private uevent.

2014-12-18 Thread Jonghwa Lee
Whenever battery status is changed, charger manager tries to trigger uevent through private interface. This patch modifies it to use power_supply_changed() since it belongs to power supply subsystem. Signed-off-by: Jonghwa Lee --- drivers/power/charger-manager.c | 91

[PATCH RESEND v2 07/10] power: charger-manager: Make chraging decision focusing on battery status.

2014-12-18 Thread Jonghwa Lee
In cm_monitor() where charging management starts, it checks various charging condition sequentially to decide next charging operation. However, as it follows sequential process, cascaded IF statements, it does some duplicated jobs which is already done in previous stage. It results delay in

[PATCH RESEND v2 01/10] power: charger-manager: Use thermal subsystem interface only to get temperature.

2014-12-18 Thread Jonghwa Lee
It drops the way of using power_supply interface to reference battery's temperature. Then it tries to use thermal subsystem's only. This makes driver more simple and also can remove ifdeferies. Signed-off-by: Jonghwa Lee --- drivers/power/Kconfig |1 +

[PATCH RESEND v2 06/10] power: charger-manager: Get external power souce information only from EXTCON.

2014-12-18 Thread Jonghwa Lee
When charger-manager checks whether external power source is available, it gets information from charger IC driver. However, it's not correct source, charger IC doesn't have responsibilty to give cable connection status. The charger-manager already gets cable information from EXTCON susbsystem, so

[PATCH RESEND V2 0/10] Improve charger manager driver for optimized operation.

2014-12-18 Thread Jonghwa Lee
After charger manager's initially introduced, it has kept its codes without any big change. However, the charger manager working operation isn't optimized and it also has unused codes and non-generic interface. This series tries to make charger manager more generic and maintainable with some

[PATCH RESEND v2 04/10] power: charger-manager: Fix to use CHARGE_NOW/FULL property correctly.

2014-12-18 Thread Jonghwa Lee
The POWER_SUPPLY_CHARGE_NOW/FULL property reflects battery's charges in uAh unit, but charger-manager has been used it wrongly. This patch makes it to use those propeties correctly and change to be optional. Signed-off-by: Jonghwa Lee --- drivers/power/charger-manager.c | 85

[PATCH RESEND v2 08/10] power: charger-manager: Not to start charging directly in cable nofitication.

2014-12-18 Thread Jonghwa Lee
This patch prevents direct charging control in cable notification. It sets only input current limit according to cable type and yields charging control to be done by cm_monitor() where charging management proceeds. It may loose few ms to enable charging compared to before, even though it's more

[PATCH RESEND v2 05/10] power: charger-manager: Concentrate scattered power_supply_changed() calls.

2014-12-18 Thread Jonghwa Lee
Current charger-manager calls power_suuply_changed() whenever charging status is changed. This patch removes seperated power_supply_changed() use and let it be called at end of try_charger_enable() function which is called to set charging/discharging. Signed-off-by: Jonghwa Lee ---

[PATCH RESEND v2 10/10] power: charger-manager: Support to change polling rate in runtime.

2014-12-18 Thread Jonghwa Lee
Add 'polling_ms' sysfs node to change charger-manager's monitoring rate in runtime. It can set only bigger than 2 jiffies (for 200 HZ system it is 10 msecs.) as it's allowed for minimum poling rate in previous. It resets poller and re-configure polling rate based on new input if next polling time

[PATCH RESEND v2 03/10] power: charger-manager: Remove deprecated function, cm_notify_event().

2014-12-18 Thread Jonghwa Lee
cm_notify_event() is introduced to get event associated with battery status externally, but no one had been used. Moreover it makes charger manager driver more complicated. This patch tries to drop the function and all data related to simplify the driver. Signed-off-by: Jonghwa Lee ---

[PATCH RESEND v2 09/10] power: charger-manager: Support different polling mode for sleep state.

2014-12-18 Thread Jonghwa Lee
Add additional polling mode for sleep state to define different mode with normal state. With this change, charger-manager can work differently in normal state or sleep state. e.g, polling aways for normal and polling only when charing for sleep. If there is no defined polling mode for sleep state

Re: [PATCH] i2c: designware: use {readl|writel}_relaxed instead of readl/writel

2014-12-18 Thread Jisheng Zhang
Dear all, Is there any issue I need to resolve so that the patch can be merged? Thanks in advance, Jisheng On Wed, 10 Dec 2014 22:26:41 -0800 Jisheng Zhang wrote: > readl/writel is too expensive especially on Cortex A9 w/ outer L2 cache. > This introduces i2c read/write errors on Marvell

Re: [PATCH v2] kdump, vmcoreinfo: report actual value of phys_base

2014-12-18 Thread Baoquan He
On 11/13/14 at 11:30am, HATAYAMA Daisuke wrote: > Currently, VMCOREINFO note information reports the virtual address of > phys_base that is assigned to symbol phys_base. But this doesn't make > sense because to refer to phys_base, it's necessary to get the value > of phys_base itself we are now

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]

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

[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: [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; >

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

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.

[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: 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 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

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; >

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

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

[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

[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

[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

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.

[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

[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 --

[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

[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

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:

[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: [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 >

  1   2   3   4   5   6   7   8   9   10   >