Re: [PATCH] staging: android: ion: remove redundant variable table

2017-11-01 Thread Laura Abbott
On 10/31/2017 07:02 AM, Colin King wrote: > From: Colin Ian King > > Variable table is being set but is never read, it is therefore > redundant and can be removed. Cleans up clang warning: > > drivers/staging/android/ion/ion.c:112:2: warning: Value stored to 'table' is > never read > Acked-by

RE: [PATCH] PCI: hv: use effective affinity mask

2017-11-01 Thread Jake Oshins
> -Original Message- > From: Dexuan Cui > Sent: Wednesday, November 1, 2017 1:31 PM > To: Bjorn Helgaas ; linux-...@vger.kernel.org; Jake > Oshins ; KY Srinivasan ; > Stephen Hemminger > Cc: de...@linuxdriverproject.org; linux-ker...@vger.kernel.org; Haiyang > Zhang ; Jork Loeser > ; Chris

[PATCH] PCI: hv: use effective affinity mask

2017-11-01 Thread Dexuan Cui
The effective_affinity_mask is always set when an interrupt is assigned in __assign_irq_vector() -> apic->cpu_mask_to_apicid(), e.g. for struct apic apic_physflat: -> default_cpu_mask_to_apicid() -> irq_data_update_effective_affinity(), but it looks d->common->affinity remains all-1's before the u

RE: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from KVP file

2017-11-01 Thread Long Li
> -Original Message- > From: Greg KH [mailto:g...@kroah.com] > Sent: Wednesday, November 1, 2017 11:54 AM > To: Long Li > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; sta...@vger.kernel.org; Paul Meyer > > Subje

Re: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from KVP file

2017-11-01 Thread Greg KH
On Wed, Nov 01, 2017 at 06:39:00PM +, Long Li wrote: > > From: Greg KH [mailto:g...@kroah.com] > > Sent: Tuesday, October 31, 2017 11:50 PM > > To: Long Li > > Cc: KY Srinivasan ; Haiyang Zhang > > ; Stephen Hemminger > > ; de...@linuxdriverproject.org; linux- > > ker...@vger.kernel.org; sta..

[Revised PATCH v2] hv: kvp: Avoid reading past allocated blocks from KVP file

2017-11-01 Thread Long Li
From: Paul Meyer While reading in more than one block (50) of KVP records, the allocation goes per block, but the reads used the total number of allocated records (without resetting the pointer/stream). This causes the records buffer to overrun when the refresh reads more than one block over the

RE: [PATCH v2] hv: kvp: Avoid reading past allocated blocks from KVP file

2017-11-01 Thread Long Li
> From: Greg KH [mailto:g...@kroah.com] > Sent: Tuesday, October 31, 2017 11:50 PM > To: Long Li > Cc: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger > ; de...@linuxdriverproject.org; linux- > ker...@vger.kernel.org; sta...@vger.kernel.org; Paul Meyer > ; Long Li > Subject: Re: [PATCH v2] hv

RE: [PATCH 10/17] hyper-v: trace vmbus_open()

2017-11-01 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of Steven Rostedt > Sent: Tuesday, October 31, 2017 6:10 AM > To: Greg KH > Cc: o...@aepfle.de; Stephen Hemminger ; > jasow...@redhat.com; linux-ker...@vger.kernel.org; a...@canonical.c

Re: [PATCH v2] staging: rtlwifi: Fix line too long warning

2017-11-01 Thread Greg KH
On Tue, Oct 31, 2017 at 12:48:04AM -0400, Kien Ha wrote: > >From aa0f4ae8c325545b1fd794d6bbf8c4d2f64e2ec2 Mon Sep 17 00:00:00 2001 > From: Kien Ha > Date: Fri, 27 Oct 2017 14:07:55 -0400 > Subject: [PATCH v2] staging: rtlwifi: Fix line too long warning Why is all of this here in the "changelog bo

RE: [PATCH char-misc 1/1] Drivers: hv: vmbus: Implement Direct Mode for stimer0

2017-11-01 Thread Michael Kelley (EOSG)
It's fixed. Michael -Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: Wednesday, November 1, 2017 9:20 AM To: Michael Kelley (EOSG) Cc: gre...@linuxfoundation.org; LKML ; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; ja

Re: [PATCH char-misc 1/1] Drivers: hv: vmbus: Implement Direct Mode for stimer0

2017-11-01 Thread Thomas Gleixner
On Wed, 1 Nov 2017, Thomas Gleixner wrote: > On Tue, 31 Oct 2017, mikel...@exchange.microsoft.com wrote: ^^^ Please fix your mail process. mikel...@exchange.microsoft.com is not your real mail address, but shows up as From and obviously the repl

Re: [PATCH char-misc 1/1] Drivers: hv: vmbus: Implement Direct Mode for stimer0

2017-11-01 Thread Thomas Gleixner
On Tue, 31 Oct 2017, mikel...@exchange.microsoft.com wrote: > diff --git a/arch/x86/include/uapi/asm/hyperv.h > b/arch/x86/include/uapi/asm/hyperv.h > index f65d125..408cf3e 100644 > --- a/arch/x86/include/uapi/asm/hyperv.h > +++ b/arch/x86/include/uapi/asm/hyperv.h > @@ -112,6 +112,22 @@ > #defi

Re: [PATCH char-misc 1/1] Drivers: hv: vmbus: Implement Direct Mode for stimer0

2017-11-01 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > mikel...@exchange.microsoft.com writes: > >> From: Michael Kelley >> >> The 2016 version of Hyper-V offers the option to operate the guest VM >> per-vcpu stimer's in Direct Mode, which means the timer interupts on its >> own vector rather than queueing a VMbus message.

OFERTA POZYCZKI

2017-11-01 Thread Martinez
Dobry dzien, Czy potrzebujesz prostej, prostej i szybkiej pozyczki z banku lub prywatnego kredytodawcy. Oferujemy pozyczke w wysokosci 3% na anum. Prosze nam odpowiedziec, jesli potrzebujesz pozyczki. Skontaktuj sie z nami za posrednictwem tego adresu e-mail martinezjosemartinez...@gmail.com

Re: [PATCH char-misc 1/1] Drivers: hv: vmbus: Implement Direct Mode for stimer0

2017-11-01 Thread Vitaly Kuznetsov
mikel...@exchange.microsoft.com writes: > From: Michael Kelley > > The 2016 version of Hyper-V offers the option to operate the guest VM > per-vcpu stimer's in Direct Mode, which means the timer interupts on its > own vector rather than queueing a VMbus message. Direct Mode reduces > timer proce

Re: [PATCH 2/3] staging: ccree: handle limiting of DMA masks

2017-11-01 Thread Dan Carpenter
On Tue, Oct 31, 2017 at 11:56:16AM +, Gilad Ben-Yossef wrote: > > - if (!dev->coherent_dma_mask) > - dev->coherent_dma_mask = DMA_BIT_MASK(DMA_BIT_MASK_LEN); > + if (rc) { > + dev_err(dev, "Error: failed in dma_set_mask, mask=%par\n", > + &d

Re: [PATCH 2/3] staging: ccree: handle limiting of DMA masks

2017-11-01 Thread Dan Carpenter
On Tue, Oct 31, 2017 at 11:56:16AM +, Gilad Ben-Yossef wrote: > + dma_mask = (dma_addr_t)(DMA_BIT_MASK(DMA_BIT_MASK_LEN)); > + while (dma_mask > 0x7fffUL) { > + if (dma_supported(&plat_dev->dev, dma_mask)) { > + rc = dma_set_coherent_mask(&plat_dev->d

Re: [PATCH 1/3] staging: ccree: copy IV to DMAable memory

2017-11-01 Thread Dan Carpenter
On Tue, Oct 31, 2017 at 11:56:15AM +, Gilad Ben-Yossef wrote: > + > + /* The IV we are handed may be allocted from the stack so > + * we must copy it to a DMAable buffer before use. > + */ > + req_ctx->iv = kmalloc(ivsize, GFP_KERNEL); > + memcpy(req_ctx->iv, info, ivsize)

Re: [PATCH 1/7] media: atomisp: fix ident for assert/return

2017-11-01 Thread Mauro Carvalho Chehab
Em Wed, 01 Nov 2017 10:16:57 +0100 Philipp Zabel escreveu: > Hi Mauro, > > On Tue, 2017-10-31 at 12:04 -0400, Mauro Carvalho Chehab wrote: > > On lots of places, assert/return are starting at the first > > column, causing indentation issues, as complained by spatch: > > > > drivers/staging/medi

Re: [PATCH 1/7] media: atomisp: fix ident for assert/return

2017-11-01 Thread Philipp Zabel
Hi Mauro, On Tue, 2017-10-31 at 12:04 -0400, Mauro Carvalho Chehab wrote: > On lots of places, assert/return are starting at the first > column, causing indentation issues, as complained by spatch: > > drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/irq_private.h:32 >

Re: [PATCH v2] Fix line too long warning

2017-11-01 Thread kbuild test robot
] url: https://github.com/0day-ci/linux/commits/Kien-Ha/Fix-line-too-long-warning/20171101-151946 config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 4.9.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin