Re: [PATCH 02/10] merge_config.sh: print warnings on stderr

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:03AM +0900, Olof Johansson wrote: > Makes it easier to grab just errors/warnings in a build log. > > Signed-off-by: Olof Johansson I think this is the right change, I just want to make sure Bruce (Cc'd) sees it for linux-yocto. Reviewed-by: Darren Hart > --- >

Re: [PATCH v2] Staging: android: uapi: fixed comment block coding style error in ion.h

2015-10-27 Thread Sudip Mukherjee
On Tue, Oct 27, 2015 at 02:04:54PM +0200, Dzonatans Melgalvis wrote: > Fixed checkpatch.pl warning about comment block coding style. > > Signed-off-by: Dzonatans Melgalvis '. This change has already been done by: 7e4161747bc6 ("staging: android: Fix checkpatch block comments warnings") which

Re: [PATCH v2 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Christian Borntraeger
Am 28.10.2015 um 14:30 schrieb Andy Lutomirski: > +static void vring_unmap_one(const struct vring_virtqueue *vq, > + struct vring_desc *desc) > +{ > + u16 flags = virtio16_to_cpu(vq->vq.vdev, desc->flags); > + > + if (flags & VRING_DESC_F_INDIRECT) { > +

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Michael Welling
On Tue, Oct 27, 2015 at 10:41:52PM -0700, Dmitry Torokhov wrote: > On Wed, Oct 28, 2015 at 12:23:34AM -0500, Michael Welling wrote: > > On Tue, Oct 27, 2015 at 06:51:41PM -0700, Dmitry Torokhov wrote: > > > Hi Michael, > > > On Tue, Oct 27, 2015 at 07:17:01PM -0500, Michael Welling wrote: > > > >

[lkp] [sched/fair] 1746babbb1: +2.3% unixbench.score

2015-10-27 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 1746babbb15594ba2d8d8196589bbbc2b5ff51c9 ("sched/fair: Have task_move_group_fair() also detach entity load from the old runqueue")

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Dmitry Torokhov
On Wed, Oct 28, 2015 at 12:38:31AM -0500, Michael Welling wrote: > On Wed, Oct 28, 2015 at 12:37:35PM +0800, kbuild test robot wrote: > > Hi Michael, > > > > [auto build test ERROR on input/next -- if it's inappropriate base, please > > suggest rules for selecting the more suitable base] > > >

[lkp] [x86/setup] f5f3497cad: BUG: kernel boot crashed

2015-10-27 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit f5f3497cad8c8416a74b9aaceb127908755d020a ("x86/setup: Extend low identity map to cover whole kernel range")

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Dmitry Torokhov
On Wed, Oct 28, 2015 at 12:23:34AM -0500, Michael Welling wrote: > On Tue, Oct 27, 2015 at 06:51:41PM -0700, Dmitry Torokhov wrote: > > Hi Michael, > > On Tue, Oct 27, 2015 at 07:17:01PM -0500, Michael Welling wrote: > > > Adds support for the i2c based tsc2004. Support was added to the tsc2005 >

Re: [PATCH 2/2] drivers:staging:wlan_ng Fix no space is necessary after a cast

2015-10-27 Thread Sudip Mukherjee
On Tue, Oct 27, 2015 at 11:26:48PM +0100, Bogicevic Sasa wrote: > It should be fine, I meant in a sence nothing is accepted from me yet It doesnot generate any warning in my setup. And please donot top post while replying. regards sudip -- To unsubscribe from this list: send the line

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Michael Welling
On Wed, Oct 28, 2015 at 12:37:35PM +0800, kbuild test robot wrote: > Hi Michael, > > [auto build test ERROR on input/next -- if it's inappropriate base, please > suggest rules for selecting the more suitable base] > > url: >

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 13:55, Alim Akhtar wrote: > > > On 10/28/2015 10:04 AM, Krzysztof Kozlowski wrote: >> On 28.10.2015 10:26, Krzysztof Kozlowski wrote: >>> On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to

[lkp] [mm, page_alloc] 43993977ba: +88% OOM possibility

2015-10-27 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 43993977baecd838d66ccabc7f682342fc6ff635 ("mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd") We found the OOM

Re: [PATCH V2 0/3] perf/powerpc:Add ability to sample intr machine state in powerpc

2015-10-27 Thread Anju T
Hi Denis, On Monday 26 October 2015 06:47 PM, Denis Kirjanov wrote: On 10/26/15, Anju T wrote: This short patch series add the ability to sample the interrupted machine state for each hardware sample Hi, how can we check your patch series without testing details? I have mentioned about the

[PATCH v2 1/3] virtio_net: Stop doing DMA from the stack

2015-10-27 Thread Andy Lutomirski
From: Andy Lutomirski Once virtio starts using the DMA API, we won't be able to safely DMA from the stack. virtio-net does a couple of config DMA requests from small stack buffers -- switch to using dynamically-allocated memory. This should have no effect on any performance-critical code

[PATCH v2 3/3] virtio_pci: Use the DMA API

2015-10-27 Thread Andy Lutomirski
From: Andy Lutomirski This fixes virtio-pci on platforms and busses that have IOMMUs. This will break the experimental QEMU Q35 IOMMU support until QEMU is fixed. In exchange, it fixes physical virtio hardware as well as virtio-pci running under Xen. We should clean up the virtqueue API to do

[PATCH v2 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Andy Lutomirski
virtio_ring currently sends the device (usually a hypervisor) physical addresses of its I/O buffers. This is okay when DMA addresses and physical addresses are the same thing, but this isn't always the case. For example, this never works on Xen guests, and it is likely to fail if a physical

[PATCH v2 0/3] virtio DMA API core stuff

2015-10-27 Thread Andy Lutomirski
This switches virtio to use the DMA API unconditionally. I'm sure it breaks things, but it seems to work on x86 using virtio-pci, with and without Xen, and using both the modern 1.0 variant and the legacy variant. Changes from v1: - Fix an endian conversion error causing a BUG to hit. - Fix a

Re: [PATCH] w1: w1_process() is not freezable kthread

2015-10-27 Thread Jiri Kosina
On Tue, 27 Oct 2015, Evgeniy Polyakov wrote: > > w1_process() calls try_to_freeze(), but the thread doesn't mark itself > > freezable through set_freezable(), so the try_to_freeze() call is useless. > > I believe it is better to mark it freezable, what do you think? Its task > is useless if

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-27 Thread Rafael J. Wysocki
On Wednesday, October 28, 2015 10:14:51 AM Viresh Kumar wrote: > On 28-10-15, 05:05, Rafael J. Wysocki wrote: > > On Tuesday, October 13, 2015 01:39:01 PM Viresh Kumar wrote: > > > 'timer_mutex' is required to sync work-handlers of policy->cpus. > > > update_sampling_rate() is just canceling the

Re: [PATCH 01/10] merge_config.sh: factor out value parsing

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:02AM +0900, Olof Johansson wrote: > Since we want to adjust the line later on to deal with CONFIG_FOO=n, > let's make a function for it so we have only one place to change it in. > > Signed-off-by: Olof Johansson > --- > scripts/kconfig/merge_config.sh | 12

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread Michael Welling
On Tue, Oct 27, 2015 at 06:51:41PM -0700, Dmitry Torokhov wrote: > Hi Michael, > On Tue, Oct 27, 2015 at 07:17:01PM -0500, Michael Welling wrote: > > Adds support for the i2c based tsc2004. Support was added to the tsc2005 > > driver > > due to the similarity of the devices. > > > >

Re: [PATCH 3/3] x86: context_tracking: avoid irq_save/irq_restore on kernel entry and exit

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 6:39 PM, Paolo Bonzini wrote: > x86 always calls user_enter and user_exit with interrupt disabled. > Therefore, it is not necessary to check for exceptions, nor to > save/restore the IRQ state, when context tracking functions are > called by guest_enter and guest_exit. > >

Re: [PATCH 2/3] context_tracking: avoid irq_save/irq_restore on guest entry and exit

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 6:39 PM, Paolo Bonzini wrote: > guest_enter and guest_exit must be called with interrupts disabled, > since they take the vtime_seqlock with write_seq{lock,unlock}. > Therefore, it is not necessary to check for exceptions, nor to > save/restore the IRQ state, when context

Re: [PATCH 1/3] context_tracking: remove duplicate enabled check

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 6:39 PM, Paolo Bonzini wrote: > All calls to context_tracking_enter and context_tracking_exit > are already checking context_tracking_is_enabled, except the > context_tracking_user_enter and context_tracking_user_exit > functions left in for the benefit of assembly calls.

Re: [RFC PATCH v2 2/3] restartable sequences: x86 ABI

2015-10-27 Thread Paul Turner
On Tue, Oct 27, 2015 at 10:03 PM, Peter Zijlstra wrote: > > On Tue, Oct 27, 2015 at 04:57:05PM -0700, Paul Turner wrote: > > +static void rseq_sched_out(struct preempt_notifier *pn, > > +struct task_struct *next) > > +{ > > + set_thread_flag(TIF_NOTIFY_RESUME); > > +}

RE: [PATCH 05/11] dt-binding: Add ngpios property to GPIO controller node

2015-10-27 Thread Pramod Kumar
Hi Linus, > -Original Message- > From: Linus Walleij [mailto:linus.wall...@linaro.org] > Sent: 27 October 2015 15:11 > To: Pramod Kumar > Cc: Rob Herring; Pawel Moll; Mark Rutland; Ian Campbell; Kumar Gala; Ray Jui; > Scott Branden; Russell King; linux-g...@vger.kernel.org;

Re: [PATCH 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 7:21 PM, Joerg Roedel wrote: > On Tue, Oct 27, 2015 at 07:13:56PM -0700, Andy Lutomirski wrote: >> On Tue, Oct 27, 2015 at 7:06 PM, Joerg Roedel wrote: >> > Hi Andy, >> > >> > On Tue, Oct 27, 2015 at 06:17:09PM -0700, Andy Lutomirski wrote: >> >> From: Andy Lutomirski >>

Re: [PATCH 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Andy Lutomirski
On Tue, Oct 27, 2015 at 7:27 PM, Christian Borntraeger wrote: > Am 28.10.2015 um 10:17 schrieb Andy Lutomirski: > @@ -423,27 +522,42 @@ EXPORT_SYMBOL_GPL(virtqueue_kick); >> >> static void detach_buf(struct vring_virtqueue *vq, unsigned int head) >> { >> - unsigned int i; >> + unsigned

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-27 Thread Huang Rui
On Wed, Oct 28, 2015 at 01:34:18AM +0100, Borislav Petkov wrote: > On Tue, Oct 27, 2015 at 10:53:40AM +0800, Huang Rui wrote: > > Preemption must be disabled when calling smp_call_function_many, > > get_cpu would did that. Will get_online_cpus have the same behavior > > like that? > > Well,

[PATCH] drivers: power: always set IRQF_ONESHOT if no primary handler is specified

2015-10-27 Thread Saurabh Sengar
If no primary handler is specified then a default one is assigned which always returns IRQ_WAKE_THREAD. This handler requires the IRQF_ONESHOT, because the source of interrupt is not disabled. Signed-off-by: Saurabh Sengar --- drivers/power/max8903_charger.c | 9 ++---

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Alim Akhtar
On 10/28/2015 10:04 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:26, Krzysztof Kozlowski wrote: On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to the s2mps11 clock driver. Signed-off-by: Alim Akhtar ---

Re: [RFC PATCH v2 2/3] restartable sequences: x86 ABI

2015-10-27 Thread Peter Zijlstra
On Tue, Oct 27, 2015 at 04:57:05PM -0700, Paul Turner wrote: > +static void rseq_sched_out(struct preempt_notifier *pn, > +struct task_struct *next) > +{ > + set_thread_flag(TIF_NOTIFY_RESUME); > +} > > static __read_mostly struct preempt_ops rseq_preempt_ops = { >

Re: [PATCH 00/10] merge_config misc reworks and testcases

2015-10-27 Thread Darren Hart
On Wed, Oct 28, 2015 at 09:42:01AM +0900, Olof Johansson wrote: > Hi, > > Somewhat wide distribution list here, since I've added everyone who's > touched the script, with the presumption that those have been the major > users of it. Please make sure none of these changes break your use cases.

XMAS LOAN OFFER

2015-10-27 Thread
Do you need a Business or Personal Loan? If yes then get back via stevebruceloancompany.li...@gmail.com for full details -- 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

[PATCH v4] sched: fix incorrect wait time and wait count statistics

2015-10-27 Thread Joonwoo Park
At present scheduler resets task's wait start timestamp when the task migrates to another rq. This misleads scheduler itself into reporting less wait time than actual by omitting time spent for waiting prior to migration and also more wait count than actual by counting migration as wait end event

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-27 Thread Viresh Kumar
On 28-10-15, 05:05, Rafael J. Wysocki wrote: > On Tuesday, October 13, 2015 01:39:01 PM Viresh Kumar wrote: > > 'timer_mutex' is required to sync work-handlers of policy->cpus. > > update_sampling_rate() is just canceling the works and queuing them > > again. This isn't protecting anything at all

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-27 Thread kbuild test robot
Hi Michael, [auto build test ERROR on input/next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Michael-Welling/Input-tsc2005-Add-support-for-tsc2004/20151028-082017 config:

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 10:26, Krzysztof Kozlowski wrote: > On 26.10.2015 21:51, Alim Akhtar wrote: >> S2MPS15 PMIC has three 32k buffered clocks outputs. This patch >> adds supports for the same to the s2mps11 clock driver. >> >> Signed-off-by: Alim Akhtar >> --- >> drivers/clk/Kconfig |5 +++--

RE: [PATCH] IB/sa: replace GFP_KERNEL with GFP_ATOMIC

2015-10-27 Thread Weiny, Ira
> > On Tue, Oct 27, 2015 at 06:56:50PM +, Wan, Kaike wrote: > > > > I do wonder if it is a good idea to call ib_nl_send_msg with a > > > spinlock held though.. Would be nice to see that go away. > > > > We have to hold the lock to protect against a race condition that a > > quick response

[GIT PULL] Discard regression fix for 4.3

2015-10-27 Thread Jens Axboe
Hi Linus, This is a fix for a discard performance issues on a particular NVMe device. I originally thought this regression was introduced prior to this merge window and wanted to just make it part of the 4.4 merge window patches and mark it stable, but it has in fact been introduced in this

[PATCH] audit: removing unused variable

2015-10-27 Thread Saurabh Sengar
variavle rc in not required as it is just used for unchanged for return, and return is always 0 in the function. Signed-off-by: Saurabh Sengar --- kernel/audit.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/kernel/audit.c b/kernel/audit.c index 662c007..409482f

Re: [PATCH v8 1/5] Documentation: add sbsa-gwdt driver documentation

2015-10-27 Thread Fu Wei
Hi Mark Thanks for your rapid feedback, I appreciate your help very much. On 28 October 2015 at 00:22, Mark Rutland wrote: > On Wed, Oct 28, 2015 at 12:06:35AM +0800, fu@linaro.org wrote: >> From: Fu Wei >> >> The sbsa-gwdt.txt documentation in devicetree/bindings/watchdog is for >>

Re: [PATCH 4/5] mm: simplify reclaim path for MADV_FREE

2015-10-27 Thread yalin wang
> On Oct 27, 2015, at 16:52, yalin wang wrote: > > >> On Oct 27, 2015, at 16:10, Minchan Kim wrote: >> >> On Tue, Oct 27, 2015 at 03:39:16PM +0800, yalin wang wrote: >>> On Oct 27, 2015, at 15:09, Minchan Kim wrote: Hello Yalin, Sorry for missing you in Cc list.

[PATCH v4] serial: support 16-bit register interface for console

2015-10-27 Thread Masahiro Yamada
Currently, 8-bit (MMIO) and 32-bit (MMIO32) register interfaces are supported for the 8250 console, but the 16-bit (MMIO16) is not. The 8250 UART device on my board is connected to a 16-bit bus and my main motivation is to use earlycon with it. (Refer to

Re: [PATCH v3 1/3] leds: rt5033: Add DT binding for RT5033

2015-10-27 Thread Ingi Kim
Hi Jacek, Oh, I see. I'll add. Thanks for the review. On 2015년 10월 26일 19:11, Jacek Anaszewski wrote: > Hi Ingi, > > On 10/23/2015 07:48 AM, Ingi Kim wrote: >> This patch adds the device tree bindings for RT5033 flash LEDs. >> >> Signed-off-by: Ingi Kim >> Acked-by: Rob Herring >> --- >>

Re: [PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-27 Thread Alim Akhtar
Hello On 10/28/2015 06:52 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:51, Alim Akhtar wrote: S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to the s2mps11 clock driver. Signed-off-by: Alim Akhtar --- drivers/clk/Kconfig |5 +++--

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Alim Akhtar
On 10/28/2015 09:01 AM, Krzysztof Kozlowski wrote: On 28.10.2015 12:14, Alim Akhtar wrote: Hello, On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:53, Mark Brown wrote: On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: If that's true, then don't add

[PATCH v2] efi: replace GFP_KERNEL with GFP_ATOMIC

2015-10-27 Thread Saurabh Sengar
replace GFP_KERNEL with GFP_ATOMIC, as code while holding a spinlock should be atomic GFP_KERNEL may sleep and can cause deadlock, where as GFP_ATOMIC may fail but certainly avoids deadlock Signed-off-by: Saurabh Sengar --- drivers/firmware/efi/vars.c | 12 +--- 1 file changed, 9

Re: [PATCH v2 3/4] mm/hugetlb: page faults check for fallocate hole punch in progress and wait

2015-10-27 Thread Hugh Dickins
On Tue, 20 Oct 2015, Mike Kravetz wrote: > At page fault time, check i_private which indicates a fallocate hole punch > is in progress. If the fault falls within the hole, wait for the hole > punch operation to complete before proceeding with the fault. > > Signed-off-by: Mike Kravetz > --- >

Re: [PATCH V3 1/5] cpufreq: ondemand: Drop unnecessary locks from update_sampling_rate()

2015-10-27 Thread Rafael J. Wysocki
On Tuesday, October 13, 2015 01:39:01 PM Viresh Kumar wrote: > 'timer_mutex' is required to sync work-handlers of policy->cpus. > update_sampling_rate() is just canceling the works and queuing them > again. This isn't protecting anything at all in update_sampling_rate() > and is not gonna be of

Re: [PATCH v2 0/4] hugetlbfs fallocate hole punch race with page faults

2015-10-27 Thread Hugh Dickins
On Tue, 20 Oct 2015, Mike Kravetz wrote: > The hugetlbfs fallocate hole punch code can race with page faults. The > result is that after a hole punch operation, pages may remain within the > hole. No other side effects of this race were observed. > > In preparation for adding userfaultfd

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Krzysztof Kozlowski
On 28.10.2015 12:14, Alim Akhtar wrote: > Hello, > > On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: >> On 28.10.2015 10:53, Mark Brown wrote: >>> On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: >>> If that's true, then don't add new compatibles, new names etc.

Re: [PATCH v3] serial: support 16-bit register interface for console

2015-10-27 Thread Masahiro Yamada
Hi Peter, 2015-10-27 22:53 GMT+09:00 Peter Hurley : > Hi Masahiro, > > On 10/26/2015 12:11 AM, Masahiro Yamada wrote: >> Currently, 8-bit (MMIO) and 32-bit (MMIO32) register interfaces are >> supported for the 8250 console, but the 16-bit (MMIO16) is not. >> The 8250 UART device on my board is

[PATCH] phy: core: Get a refcount to phy in devm_of_phy_get_by_index()

2015-10-27 Thread Chunfeng Yun
On driver detach, devm_phy_release() will put a refcount to the phy, so gets a refconut to it before return. Signed-off-by: Chunfeng Yun --- drivers/phy/phy-core.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/phy/phy-core.c

Re: [PATCH v2 1/2] serial: 8250_early: do not save and restore IER in write callback

2015-10-27 Thread Masahiro Yamada
Hi Peter, 2015-10-27 22:54 GMT+09:00 Peter Hurley : > Hi Masahiro, > > On 10/24/2015 12:17 AM, Masahiro Yamada wrote: >> The IER has already been masked in early_serial8250_setup(), there is >> no reason to save and restore it every time early_serial8250_write() >> is called. >> >> Signed-off-by:

Re: [PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-27 Thread Alim Akhtar
Hello, On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:53, Mark Brown wrote: On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: If that's true, then don't add new compatibles, new names etc. Re-use. No new code needed, no changes needed. Keep it simple.

[PATCH v3] PM / suspend: replacing printk

2015-10-27 Thread Saurabh Sengar
replacing printk(s) with appropriate pr_info and pr_err in order to fix checkpatch.pl warnings Signed-off-by: Saurabh Sengar --- kernel/power/suspend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index

Re: [PATCH] KVM: x86: fix eflags state following processor init/reset

2015-10-27 Thread Wanpeng Li
Ping, :-) On 10/21/15 2:28 PM, Wanpeng Li wrote: Reference SDM 3.4.3: Following initialization of the processor (either by asserting the RESET pin or the INIT pin), the state of the EFLAGS register is 0002H. However, the eflags fixed bit is not set and other bits are also not cleared

Re: [PATCH 2/7 v2] powerpc/dma-mapping: override dma_get_page_shift

2015-10-27 Thread Benjamin Herrenschmidt
On Tue, 2015-10-27 at 19:30 -0700, Nishanth Aravamudan wrote: > On 28.10.2015 [11:20:05 +0900], Benjamin Herrenschmidt wrote: > > On Tue, 2015-10-27 at 18:54 -0700, Nishanth Aravamudan wrote: > > > > > > In "bypass" mode, what TCE size is used? Is it guaranteed to be > > > 4K? > > > > None :-)

Re: [PATCH] ARM: perf: ensure the cpu is available to scheduler when set irq affinity

2015-10-27 Thread Li RongQing
On Wed, Oct 28, 2015 at 12:47 AM, Will Deacon wrote: >> + continue; >> + > > Isn't this all racy against concurrent hotplug events? We're probably > better off requesting the IRQs at PMU probe time, since we no longer have > to worry about sharing the IRQ lines with

[PATCH v3] PM / suspend: replacing printk

2015-10-27 Thread Saurabh Sengar
replacing printk(s) with appropriate pr_info and pr_err in order to fix checkpatch.pl warnings. Signed-off-by: Saurabh Sengar --- kernel/power/suspend.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index

[PATCH] of: simplify arch_find_n_match_cpu_physical_id() function

2015-10-27 Thread Masahiro Yamada
This commit does not change the function behavior. Signed-off-by: Masahiro Yamada --- drivers/of/base.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/of/base.c b/drivers/of/base.c index 8b5a187..017dd94 100644 --- a/drivers/of/base.c +++ b/drivers/of/base.c @@

Re: [PATCH 5/8] mm: memcontrol: account socket memory on unified hierarchy

2015-10-27 Thread Johannes Weiner
On Tue, Oct 27, 2015 at 05:45:32PM -0700, David Miller wrote: > From: Johannes Weiner > Date: Tue, 27 Oct 2015 09:42:27 -0700 > > > On Tue, Oct 27, 2015 at 05:15:54PM +0100, Michal Hocko wrote: > >> > For now, something like this as a boot commandline? > >> > > >> > cgroup.memory=nosocket > >>

Re: [patch 3/3] vmstat: Create our own workqueue

2015-10-27 Thread Christoph Lameter
On Wed, 28 Oct 2015, Tejun Heo wrote: > The only thing necessary here is WQ_MEM_RECLAIM. I don't see how > WQ_SYSFS and WQ_FREEZABLE make sense here. Subject: vmstat: Remove WQ_FREEZABLE and WQ_SYSFS Signed-off-by: Christoph Lameter Index: linux/mm/vmstat.c

Re: [PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-10-27 Thread David Miller
From: huangdaode Date: Tue, 27 Oct 2015 19:16:34 +0800 > From: yankejian > > updates the bindings documents and dtsi file according to the review > comments[https://lkml.org/lkml/2015/9/21/670] from Rob Herring > > > Acked-by: Rob Herring > Signed-off-by: yankejian > Signed-off-by:

Re: [PATCH] vhost: fix performance on LE hosts

2015-10-27 Thread David Miller
From: "Michael S. Tsirkin" Date: Tue, 27 Oct 2015 11:37:39 +0200 > commit 2751c9882b947292fcfb084c4f604e01724af804 ("vhost: cross-endian > support for legacy devices") introduced a minor regression: even with > cross-endian disabled, and even on LE host, vhost_is_little_endian is > checking

Re: [PATCH 01/70] cpufreq: interactive: New 'interactive' governor

2015-10-27 Thread Viresh Kumar
Hi Bálint, On 28-10-15, 01:59, Rafael J. Wysocki wrote: > On Tuesday, October 27, 2015 06:29:49 PM Bálint Czobor wrote: > > From: Mike Chan > > > > This governor is designed for latency-sensitive workloads, such as > > interactive user interfaces. The interactive governor aims to be > >

Re: [PATCH] net: hns: fixes the bug tested XGE by ethtool -p

2015-10-27 Thread David Miller
From: yankejian Date: Tue, 27 Oct 2015 17:17:40 +0800 > From: Li Peng > > delete action of ETHTOOL_ID_ON/ETHTOOL_ID_OFF in XGE ethtool -p, > so Hardware control the LED state instead of software. > > Signed-off-by: Li Peng > Signed-off-by: Yisen Zhuang > Signed-off-by: yankejian Applied.

Re: [PATCH] intel_pstate, decrease number of "HWP enabled" messages

2015-10-27 Thread Rafael J. Wysocki
On Thursday, October 22, 2015 09:43:31 AM Prarit Bhargava wrote: > When booting an HWP enabled system the kernel displays one "HWP enabled" > message for each cpu. The messages are superfluous since HWP is globally > enabled across all CPUs. This patch also adds an informational message > when

Re: [PATCH v2 0/5] crypto: add algif_akcipher user space API

2015-10-27 Thread Marcel Holtmann
Hi Stephan, >> So if a server has public/private key pair, then the first thing that should >> the server do is load this key pair into the kernel and retrieve a key >> serial for it. And then use this key id to derive the session key. That >> session key can then be used with AF_ALG and skcipher

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-27 Thread Jason Wang
On 10/27/2015 05:05 PM, Michael S. Tsirkin wrote: > On Tue, Oct 27, 2015 at 10:58:25AM +0800, Jason Wang wrote: >> >> On 10/26/2015 04:30 PM, Michael S. Tsirkin wrote: >>> On Mon, Oct 26, 2015 at 02:53:38PM +0800, Jason Wang wrote: On 10/26/2015 02:09 PM, Michael S. Tsirkin wrote: > On

Re: [PATCH 3/3] virtio_pci: Use the DMA API

2015-10-27 Thread Joerg Roedel
On Wed, Oct 28, 2015 at 11:22:52AM +0900, David Woodhouse wrote: > On Wed, 2015-10-28 at 11:15 +0900, Joerg Roedel wrote: > > I think a good test for that is to boot a virtio kvm-guest with > > swiotlb=force and see if it still works. > > That's useful but doesn't cover the cases where dma_wmb()

Re: [PATCH 0/3][v2] Fix incorrect using of acpi irq

2015-10-27 Thread Rafael J. Wysocki
On Sunday, October 25, 2015 01:02:07 AM Chen Yu wrote: > This series of patches are trying to convert codes who use > acpi_gbl_FADT.sci_interrupt incorrectly to use the right irq > mapped by acpi_gsi_to_irq. > > Chen Yu (3): > ACPI: Using correct irq when uninstalling acpi irq handler > ACPI:

Re: [PATCH 0/2] perf: we can now read separate debug-info files based on a build ID

2015-10-27 Thread Dima Kogan
Hi. I'd like to get this merged before I forget about it and then I hit this bug again at some point in the future. Any comment would be great. Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH] ACPI/PAD: power_saving_thread() is not freezable

2015-10-27 Thread Rafael J. Wysocki
On Monday, October 26, 2015 04:02:01 AM Jiri Kosina wrote: > From: Jiri Kosina > > power_saving_thread() calls try_to_freeze(), but the thread doesn't mark > itself freezable through set_freezable(), so the try_to_freeze() > call is useless. > > Signed-off-by: Jiri Kosina > --- >

Re: [PATCH] acpi:correctly check failed allocation

2015-10-27 Thread Rafael J. Wysocki
On Thursday, October 15, 2015 12:19:30 PM Insu Yun wrote: > Since kobject_create_and_add can be failed in memory pressure, > return value need to be checked and return ENOMEM. > > Signed-off-by: Insu Yun > --- > drivers/acpi/sysfs.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v2 1/2] hwmon: ina2xx: convert driver to using regmap

2015-10-27 Thread Guenter Roeck
On Tue, Oct 27, 2015 at 10:51:07AM +0100, Marc Titinger wrote: > Any sysfs "show" read access from the client app will result in reading > all registers (8 with ina226). Depending on the host this can limit the > best achievable read rate. > > This changeset allows for individual register

Re: [PATCH] Documentation: ACPI: add copy_dsdt to ACPI format options.

2015-10-27 Thread Rafael J. Wysocki
On Saturday, September 26, 2015 07:27:57 PM Rami Rosen wrote: > commit aa2110cb1a7510f9b834adfb39b05d4843a35d35 > ("ACPI: add boot option acpi=copy_dsdt to fix corrupt DSDT") added > copy_dsdt as an ACPI boot option, but did not add it to ACPI format options in >

spolupráce

2015-10-27 Thread Email1
Muzete me kontaktovat na e-mailovou adresu nize pro vysvetlení prospesny spoluprace. e-mail: chn.j...@gmail.com -- 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

Re: [patch 3/3] vmstat: Create our own workqueue

2015-10-27 Thread Tejun Heo
Hello, On Tue, Oct 27, 2015 at 09:41:17PM -0500, Christoph Lameter wrote: > + vmstat_wq = alloc_workqueue("vmstat", > + WQ_FREEZABLE| > + WQ_SYSFS| > + WQ_MEM_RECLAIM, 0); The only thing necessary here is WQ_MEM_RECLAIM. I don't see how WQ_SYSFS and

[patch 1/3] vmstat: Make pageset processing optional in refresh_cpu_vm_stats

2015-10-27 Thread Christoph Lameter
Add a parameter to refresh_cpu_vm_stats() to make pageset expiration optional. Flushing the pagesets is performed by the page allocator and thus processing of pagesets may not be wanted when just intending to fold the differentials. Signed-of-by: Christoph Lameter Index: linux/mm/vmstat.c

Re: [PATCH] clocksource: sh_mtu2: Fix multiple shutdown call issue

2015-10-27 Thread Viresh Kumar
On 28-10-15, 10:43, Magnus Damm wrote: > From: Magnus Damm > > On the r7s72100 Genmai board the MTU2 driver currently triggers a common > clock framework WARN_ON(enable_count) when disabling the clock due to > the MTU2 driver after recent callback rework may call ->set_state_shutdown() >

[patch 3/3] vmstat: Create our own workqueue

2015-10-27 Thread Christoph Lameter
Seems that vmstat needs its own workqueue now since the general workqueue mechanism has been *enhanced* which means that the vmstat_updates cannot run reliably but are being blocked by work requests doing memory allocation. Which causes vmstat to be unable to keep the counters up to date. Bad.

[patch 0/3] vmstat: Various enhancements

2015-10-27 Thread Christoph Lameter
This addresses a couple of issues that came up last week in the discussion about issues related to the blocking of the execution of vmstat updates. 1. It makes vmstat updates execution deferrable again so that no special tick is generated for vmstat execution. vmstat is quieted down when a

[patch 2/3] vmstat: make vmstat_updater deferrable again and shut down on idle

2015-10-27 Thread Christoph Lameter
Currently the vmstat updater is not deferrable as a result of commit ba4877b9ca51f80b5d30f304a46762f0509e1635. This in turn can cause multiple interruptions of the applications because the vmstat updater may run at different times than tick processing. No good. Make vmstate_update deferrable

Re: [PATCH] sched: fix incorrect wait time and wait count statistics

2015-10-27 Thread Joonwoo Park
On Tue, Oct 27, 2015 at 01:57:28PM +0100, Peter Zijlstra wrote: > > (Excessive quoting for Olav) > > On Mon, Oct 26, 2015 at 06:44:48PM -0700, Joonwoo Park wrote: > > On 10/25/2015 03:26 AM, Peter Zijlstra wrote: > > > > Also note that on both sites we also set TASK_ON_RQ_MIGRATING -- albeit >

Re: [PATCH net-next] seccomp, ptrace: add support for dumping seccomp filters

2015-10-27 Thread David Miller
From: Tycho Andersen Date: Tue, 27 Oct 2015 09:23:59 +0900 > This patch adds support for dumping a process' (classic BPF) seccomp > filters via ptrace. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PULL] cpuidle for 4.4

2015-10-27 Thread Rafael J. Wysocki
On Friday, October 23, 2015 01:54:08 PM Daniel Lezcano wrote: > > Hi Rafael, > > this pull request contains a couple of changes from Russel King. > > - Disable bind/unbind attribute and use builtin_platform_driver for > mvebu (Russell King) > > - Clean up the code by removing the multiple

Re: [PATCH] bpf: sample: define aarch64 specific registers

2015-10-27 Thread David Miller
From: Yang Shi Date: Mon, 26 Oct 2015 17:02:19 -0700 > Define aarch64 specific registers for building bpf samples correctly. > > Signed-off-by: Yang Shi Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 2/7 v2] powerpc/dma-mapping: override dma_get_page_shift

2015-10-27 Thread Nishanth Aravamudan
On 28.10.2015 [11:20:05 +0900], Benjamin Herrenschmidt wrote: > On Tue, 2015-10-27 at 18:54 -0700, Nishanth Aravamudan wrote: > > > > In "bypass" mode, what TCE size is used? Is it guaranteed to be 4K? > > None :-) The TCEs are completely bypassed. You get a N:M linear mapping > of all memory

Re: [PATCH 1/3] megaraid_sas: Convert dev_printk to dev_

2015-10-27 Thread Weidong Wang
On 2015/10/27 18:33, Kashyap Desai wrote: >>> + dev_dbg(>pdev->dev, "Error copying out >>> cmd_status\n"); >>> error = -EFAULT; >>> } >>> >> >> Reviewed-by: Johannes Thumshirn > > We will consider all three patches for future submission. As of now we have > two patch

Re: [PATCH net] RDS-TCP: Recover correctly from pskb_pull()/pksb_trim() failure in rds_tcp_data_recv

2015-10-27 Thread David Miller
From: Sowmini Varadhan Date: Mon, 26 Oct 2015 12:46:37 -0400 > Either of pskb_pull() or pskb_trim() may fail under low memory conditions. > If rds_tcp_data_recv() ignores such failures, the application will > receive corrupted data because the skb has not been correctly > carved to the RDS

Re: [PATCH] tracing: Only benchmark the time tracepoints take if tracing is on

2015-10-27 Thread Steven Rostedt
On Tue, 27 Oct 2015 20:12:13 +0800 Chunyan Zhang wrote: > There's no need to record the time tracepoints take when tracing is off. > This is because: > 1) We cannot see these records since ring_buffer record is off at that > moment. > 2) If tracing is off and benchmark tracepoint is enabled, the

Re: [PATCH 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Christian Borntraeger
Am 28.10.2015 um 10:17 schrieb Andy Lutomirski: @@ -423,27 +522,42 @@ EXPORT_SYMBOL_GPL(virtqueue_kick); > > static void detach_buf(struct vring_virtqueue *vq, unsigned int head) > { > - unsigned int i; > + unsigned int i, j; > + u16 nextflag = cpu_to_virtio16(vq->vq.vdev,

Re: [PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-27 Thread Yakir Yang
On 10/28/2015 07:08 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:37 schrieb Yakir Yang: Add dt binding documentation for rockchip display port PHY. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- Changes in v7: None Changes in v6: None Changes in v5: -

Re: [PATCH v7 11/17] Documentation: phy: add document for rockchip dp phy

2015-10-27 Thread Yakir Yang
On 10/28/2015 05:24 AM, Heiko Stuebner wrote: Am Samstag, 24. Oktober 2015, 11:06:37 schrieb Yakir Yang: Add dt binding documentation for rockchip display port PHY. Tested-by: Javier Martinez Canillas Signed-off-by: Yakir Yang --- phy binding looks nice and easy Reviewed-by: Heiko Stuebner

Re: [PATCH 3/3] virtio_pci: Use the DMA API

2015-10-27 Thread Joerg Roedel
On Wed, Oct 28, 2015 at 11:15:30AM +0900, Joerg Roedel wrote: > Same here, you need to call the dma_sync* functions when passing data > from/to the virtio-device. Okay, forget about this comment. This patch only converts to dma_coherent allocations, which don't need synchronization. > I think a

Re: [PATCH 3/3] virtio_pci: Use the DMA API

2015-10-27 Thread David Woodhouse
On Wed, 2015-10-28 at 11:15 +0900, Joerg Roedel wrote: > On Tue, Oct 27, 2015 at 06:17:10PM -0700, Andy Lutomirski wrote: > > From: Andy Lutomirski > > > > This fixes virtio-pci on platforms and busses that have IOMMUs. > > This > > will break the experimental QEMU Q35 IOMMU support until QEMU

Re: [PATCH 2/3] virtio_ring: Support DMA APIs

2015-10-27 Thread Joerg Roedel
On Tue, Oct 27, 2015 at 07:13:56PM -0700, Andy Lutomirski wrote: > On Tue, Oct 27, 2015 at 7:06 PM, Joerg Roedel wrote: > > Hi Andy, > > > > On Tue, Oct 27, 2015 at 06:17:09PM -0700, Andy Lutomirski wrote: > >> From: Andy Lutomirski > >> > >> virtio_ring currently sends the device (usually a

Re: [PATCH 2/7 v2] powerpc/dma-mapping: override dma_get_page_shift

2015-10-27 Thread Benjamin Herrenschmidt
On Tue, 2015-10-27 at 18:54 -0700, Nishanth Aravamudan wrote: > > In "bypass" mode, what TCE size is used? Is it guaranteed to be 4K? None :-) The TCEs are completely bypassed. You get a N:M linear mapping of all memory starting at 1<<59 PCI side. > Seems like this would be a different platform

  1   2   3   4   5   6   7   8   9   10   >