[PATCH] Fs: Btrfs - Improvement in code readability when

2016-11-10 Thread Shailendra Verma
From: "Shailendra Verma" There is no need to call kfree() if memdup_user() fails, as no memory was allocated and the error in the error-valued pointer should be returned. Signed-off-by: Shailendra Verma --- fs/btrfs/ioctl.c | 21 ++--- 1 file changed, 6 insertions(+), 15 dele

Re: [PATCH] [RFC] drivers: dma-coherent: use MEMREMAP_WB instead of MEMREMAP_WC

2016-11-10 Thread Brian Starkey
Hi Jaewon, On Thu, Nov 10, 2016 at 10:41:43AM +0900, Jaewon Kim wrote: Hi On 2016년 11월 09일 19:23, Brian Starkey wrote: Hi, On Wed, Nov 09, 2016 at 06:47:26PM +0900, Jaewon Kim wrote: On 2016년 11월 09일 18:27, Brian Starkey wrote: Hi Jaewon, On Wed, Nov 09, 2016 at 06:10:09PM +0900, Jaewon

[PATCH] Virt: Kvm - Improvement in code readability when

2016-11-10 Thread Shailendra Verma
From: "Shailendra Verma" There is no need to call kfree() if memdup_user() fails, as no memory was allocated and the error in the error-valued pointer should be returned. Signed-off-by: Shailendra Verma --- virt/kvm/kvm_main.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions

[PATCH 2/2] Staging: Media: Lirc - Improvement in code readability

2016-11-10 Thread Shailendra Verma
From: "Shailendra Verma" There is no need to call kfree() if memdup_user() fails, as no memory was allocated and the error in the error-valued pointer should be returned. Signed-off-by: Shailendra Verma --- drivers/staging/media/lirc/lirc_imon.c |5 ++--- drivers/staging/media/lirc/lirc_s

Re: [PATCH] ARM: zynq: Reserve correct amount of non-DMA RAM

2016-11-10 Thread Nathan Rossi
On 10 November 2016 at 19:33, Nathan Rossi wrote: > On 10 November 2016 at 18:41, Michal Simek wrote: >> + Nathan >> >> 2016-10-31 17:26 GMT+01:00 Kyle Roeschley : >>> >>> On Zynq, we haven't been reserving the correct amount of DMA-incapable >>> RAM to keep DMA away from it (per the Zynq TRM Sec

[PATCH] Arch: arm: mm: Aligning the module end and Correction in

2016-11-10 Thread Shailendra Verma
From: "Shailendra Verma" The module end was not aligned as of module start and boundary check for module end is not proper.This out of bound value of module end can produce undesired results. Reported-by: Hillf Danton Signed-off-by: Shailendra Verma --- arch/arm/mm/pageattr.c |7 +++

[PATCH] Staging: Media: Lirc - Improvement in code readability

2016-11-10 Thread Shailendra Verma
From: "Shailendra Verma" There is no need to call kfree() if memdup_user() fails, as no memory was allocated and the error in the error-valued pointer should be returned. Signed-off-by: Shailendra Verma --- drivers/staging/media/lirc/lirc_imon.c |5 ++--- drivers/staging/media/lirc/lirc_s

[PATCH] MIPS: Use Makefile.postlink to insert relocations into vmlinux

2016-11-10 Thread Matt Redfearn
When relocatable support for MIPS was merged, there was no support for an architecture to add a postlink step for vmlinux. This meant that only invoking a target within the boot directory, such as uImage, caused the relocations to be inserted into vmlinux. Building just the vmlinux target would res

Re: [PATCH v3 5/6] Documentation: bindings: add documentation for ir-spi device driver

2016-11-10 Thread Andi Shyti
Hi Jacek, > > > > > Only DT bindings of LED class drivers should be placed in > > > > > Documentation/devicetree/bindings/leds. Please move it to the > > > > > media bindings. > > > > > > > > that's where I placed it first, but Rob asked me to put it in the > > > > LED directory and Cc the LED ma

Re: [RFD] sched/deadline: Support single CPU affinity

2016-11-10 Thread Tommaso Cucinotta
Hi, On 10/11/2016 09:08, Peter Zijlstra wrote: Add support for single CPU affinity to SCHED_DEADLINE; the supposed reason for wanting single CPU affinity is better QoS than provided by G-EDF. Therefore the aim is to provide harder guarantees, similar to UP, for single CPU affine tasks. This the

Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name()

2016-11-10 Thread Laurent Pinchart
Hi Eric, On Wednesday 09 Nov 2016 16:59:31 Eric Engestrom wrote: > On Wednesday, 2016-11-09 14:13:40 +0100, Daniel Vetter wrote: > > On Wed, Nov 9, 2016 at 12:42 PM, Eric Engestrom wrote: > > >> Well, had to drop it again since it didn't compile: > > >> CC [M] drivers/gpu/drm/drm_blend.o > > >>

Re: [PATCH] spi: rspi: avoid uninitialized variable access

2016-11-10 Thread Hiep Cao Minh
Hi Arnd, Thanks for your fixed patch. On 11/08/2016 10:46 PM, Arnd Bergmann wrote: The newly introduced rspi_pio_transfer_in_or_our() function must take either a valid 'rx' or 'tx' pointer, and has undefined behavior if both are NULL, as found by 'gcc -Wmaybe-unintialized': drivers/spi/spi-rsp

Re: [RFC v3 2/6] Improve the tracking of active utilisation

2016-11-10 Thread Juri Lelli
On 02/11/16 03:35, Luca Abeni wrote: > On Tue, 1 Nov 2016 22:46:33 +0100 > luca abeni wrote: > [...] > > > > @@ -1074,6 +1161,14 @@ select_task_rq_dl(struct task_struct *p, int > > > > cpu, int sd_flag, int flags) > > > > } > > > > rcu_read_unlock(); > > > > > > > > + rq =

Re: [PATCH] timers: Fix timer inaccuracy

2016-11-10 Thread Thomas Gleixner
On Wed, 9 Nov 2016, Joonwoo Park wrote: > On 11/09/2016 01:56 AM, Thomas Gleixner wrote: > > That's simply wrong. We guarantee that the timer sleeps for at least a > > jiffy. So in case of the first wheel we _must_ increment by one simply > > because the next jiffie might be immanent and not doing

Re: [PATCH v2 7/7] soc: renesas: Identify SoC and register with the SoC bus

2016-11-10 Thread Geert Uytterhoeven
Hi Arnd, Thanks for your comments! On Wed, Nov 9, 2016 at 5:55 PM, Arnd Bergmann wrote: > On Monday, October 31, 2016 12:30:55 PM CET Geert Uytterhoeven wrote: >> v2: >> - Drop SoC families and family names; use fixed "Renesas" instead, > > I think I'd rather have seen the family names left in

Re: [PATCH 22/25] x86/mcheck: Do the init in one place

2016-11-10 Thread Thomas Gleixner
On Thu, 10 Nov 2016, Sebastian Andrzej Siewior wrote: > On 2016-11-09 18:37:23 [+], Luck, Tony wrote: > > > That's why the hotplug callback mce_disable_cpu() doesn't fiddle with > > > CR4 - it only clears the bits in MCi_CTL. And I think we should remain > > > that way. > > > > N.B. See vendo

[RESEND PATCH] regulator: pwm: fix syntax errors in the examples

2016-11-10 Thread Peter Rosin
While at it, clean up some other things as well. Signed-off-by: Peter Rosin --- .../devicetree/bindings/regulator/pwm-regulator.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/regulator/pwm-regulator.txt b/Documenta

Re: [PATCHv2] PCI: QDF2432 32 bit config space accessors

2016-11-10 Thread Ard Biesheuvel
On 10 November 2016 at 06:49, Bjorn Helgaas wrote: > On Wed, Nov 09, 2016 at 08:29:23PM +, Ard Biesheuvel wrote: >> Hi Bjorn, >> >> On 9 November 2016 at 20:06, Bjorn Helgaas wrote: >> > On Wed, Nov 09, 2016 at 02:25:56PM -0500, Christopher Covington wrote: >> >> Hi Bjorn, >> >> >> [...] >> >

RE: [v16, 0/7] Fix eSDHC host version register bug

2016-11-10 Thread Y.B. Lu
> -Original Message- > From: linux-mmc-ow...@vger.kernel.org [mailto:linux-mmc- > ow...@vger.kernel.org] On Behalf Of Scott Wood > Sent: Thursday, November 10, 2016 11:55 AM > To: Ulf Hansson; Y.B. Lu > Cc: linux-mmc; Arnd Bergmann; linuxppc-...@lists.ozlabs.org; > devicet...@vger.kernel.or

Re: [PATCH v5 6/8] Documentation: bindings: add compatible specific to legacy SCPI protocol

2016-11-10 Thread Sudeep Holla
On 10/11/16 01:22, Rob Herring wrote: On Wed, Nov 02, 2016 at 10:52:09PM -0600, Sudeep Holla wrote: This patch adds specific compatible to support legacy SCPI protocol. Cc: Rob Herring Signed-off-by: Sudeep Holla --- Documentation/devicetree/bindings/arm/arm,scpi.txt | 4 +++- 1 file chang

Re: [PATCH 22/25] x86/mcheck: Do the init in one place

2016-11-10 Thread Sebastian Andrzej Siewior
On 2016-11-10 11:22:22 [+0100], Thomas Gleixner wrote: > > Why on earth do we enable MCE stuff in identify_cpu() ? so it happens asap. Boris' mail in this thread: |Uh, hm, I'm not sure about this: so the issue I see with this is that |the more we're delaying the enabling or MCE reporting - and es

Re: [PATCH] drivers: cpuidle: assign enter_freeze to same as enter callback function

2016-11-10 Thread Vincent Guittot
On 9 November 2016 at 19:48, Sudeep Holla wrote: > > > On 09/11/16 18:39, Lorenzo Pieralisi wrote: >> >> On Wed, Nov 09, 2016 at 05:43:30PM +, Sudeep Holla wrote: >>> >>> enter_freeze() callback is expected atleast to do the same as enter() >>> but it has to guarantee that interrupts aren't en

Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name()

2016-11-10 Thread Jani Nikula
On Thu, 10 Nov 2016, Laurent Pinchart wrote: > Hi Eric, > > On Wednesday 09 Nov 2016 16:59:31 Eric Engestrom wrote: >> On Wednesday, 2016-11-09 14:13:40 +0100, Daniel Vetter wrote: >> > On Wed, Nov 9, 2016 at 12:42 PM, Eric Engestrom wrote: >> > >> Well, had to drop it again since it didn't compil

Re: [PATCH v2 09/12] mm: hwpoison: soft offline supports thp migration

2016-11-10 Thread Balbir Singh
On 08/11/16 10:31, Naoya Horiguchi wrote: > This patch enables thp migration for soft offline. > > Signed-off-by: Naoya Horiguchi > --- > mm/memory-failure.c | 31 --- > 1 file changed, 12 insertions(+), 19 deletions(-) > > diff --git v4.9-rc2-mmotm-2016-10-27-18-2

Re: [PATCH] drivers: cpuidle: assign enter_freeze to same as enter callback function

2016-11-10 Thread Sudeep Holla
On 10/11/16 10:28, Vincent Guittot wrote: On 9 November 2016 at 19:48, Sudeep Holla wrote: On 09/11/16 18:39, Lorenzo Pieralisi wrote: [..] I would just init the enter_freeze() pointer and be done with that, adding code to check whether the idle back-end enables IRQs when it enters idle

Re: [PATCH v2 3/3] clocksource: Add clockevent support to NPS400 driver

2016-11-10 Thread Daniel Lezcano
On 08/11/2016 09:30, Noam Camus wrote: >> From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] >> Sent: Tuesday, November 1, 2016 10:02 PM > ... >> Assuming cpu0 and cpu1 are sibling, does > >> taskset 0x1 time sleep 2 & taskset 0x2 time sleep 3 > > I will use 16,17 instead of 0,1 >> give a c

Re: [Ksummit-discuss] Including images on Sphinx documents

2016-11-10 Thread Jani Nikula
On Thu, 10 Nov 2016, Markus Heiser wrote: > Could this POC persuade you, if so, I send a more elaborate RFC, > what do you think about? Sorry, I do not wish to be part of this. BR, Jani. -- Jani Nikula, Intel Open Source Technology Center

Re: [PATCH v10 6/6] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-11-10 Thread kbuild test robot
Hi Tan, [auto build test WARNING on v4.9-rc4] [cannot apply to ljones-mfd/for-mfd-next platform-drivers-x86/for-next tip/x86/core next-20161110] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits

Re: [PATCH v5 1/3] cpuid: cleanup cpuid_regs definitions

2016-11-10 Thread Borislav Petkov
On Wed, Nov 09, 2016 at 07:05:26PM +0800, He Chen wrote: > make cpuid_regs more clear and avoid potential name clash. > > Signed-off-by: He Chen Btw, please name your subjects like this: x86/cpuid: Cleanup ... Also the name should be a complete sentence starting with a capital letter. The las

[PATCH] regulators: helpers: Fix handling of bypass_val_on in get_bypass_regmap

2016-11-10 Thread Charles Keepax
The handling of bypass_val_on that was added in regulator_get_bypass_regmap is done unconditionally however several drivers don't define a value for bypass_val_on. This results in those drivers reporting bypass being enabled when it is not. In regulator_set_bypass_regmap we use bypass_mask if bypas

Re: [PATCH] iommu/vt-d: Fix the size calculation of pasid table

2016-11-10 Thread Joerg Roedel
Hi David, On Sun, Oct 30, 2016 at 06:18:22AM -0600, David Woodhouse wrote: > + /* Start at 2 because it's defined as 1^(1+PSS) */ This probably means 2^(1+PSS), right? > + iommu->pasid_max = 2 << ecap_pss(iommu->ecap); Otherwise the patch looks good. Do you want to send it upstream your

Re: [net-next PATCH] amd-xgbe: use __maybe_unused to hide pm functions

2016-11-10 Thread Arnd Bergmann
On Wednesday, November 9, 2016 8:32:51 PM CET David Miller wrote: > From: Arnd Bergmann > Date: Tue, 8 Nov 2016 14:37:32 +0100 > > > The amd-xgbe ethernet driver hides its suspend/resume functions > > in #ifdef CONFIG_PM, but uses SIMPLE_DEV_PM_OPS() to make the > > reference conditional on CONF

Re: [PATCH v3 10/10] clocksource: import ARC timer driver

2016-11-10 Thread Daniel Lezcano
On Thu, Nov 03, 2016 at 04:33:35PM -0700, Vineet Gupta wrote: > This adds support for > > - CONFIG_ARC_TIMERS : legacy 32-bit TIMER0 and TIMER1 which count UP >from @CNT to @LIMIT, before optionally triggering an interrupt. >These are programmed using ARC auxiliary register interface. >

Re: [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-10 Thread Charles (Chas) Williams
On 11/09/2016 10:57 PM, M. Vefa Bicakci wrote: [0.002000] mvb: CPU: Physical Processor ID: 0 [0.002000] mvb: CPU: Processor Core ID: 0 [0.002000] mvb: identify_cpu:1112: c: 880013b0a040, c->logical_proc_id: 65535 [0.002000] mvb: __default_cpu_present_to_apicid:612: Returnin

Re: [RFC PATCH v3 01/20] x86: Documentation for AMD Secure Memory Encryption (SME)

2016-11-10 Thread Borislav Petkov
On Wed, Nov 09, 2016 at 06:34:39PM -0600, Tom Lendacky wrote: > This patch adds a Documenation entry to decribe the AMD Secure Memory > Encryption (SME) feature. > > Signed-off-by: Tom Lendacky > --- > Documentation/kernel-parameters.txt |5 +++ > Documentation/x86/amd-memory-encrypt

Re: [Regression w/ patch] Restore network resistance to weird ICMP messages

2016-11-10 Thread Vicente Jiménez
Corrected patch attached. Thanks for the advices. I was unaware of those style policies. On Thu, Nov 10, 2016 at 2:22 AM, David Miller wrote: > From: Vicente Jiménez > Date: Mon, 7 Nov 2016 12:11:59 +0100 > >> From bfc9a00e6b78d8eb60e46dacd7d761669d29a573 Mon Sep 17 00:00:00 2001 >> From: Vicent

Re: [PATCH] spi: rspi: avoid uninitialized variable access

2016-11-10 Thread Arnd Bergmann
On Thursday, November 10, 2016 6:25:56 PM CET Hiep Cao Minh wrote: > Hi Arnd, > > Thanks for your fixed patch. > > On 11/08/2016 10:46 PM, Arnd Bergmann wrote: > > The newly introduced rspi_pio_transfer_in_or_our() function must > > take either a valid 'rx' or 'tx' pointer, and has undefined beha

Re: [PATCH 3/3] ARM: gr8: evb: Add i2s codec

2016-11-10 Thread Maxime Ripard
1;4600;0c On Tue, Nov 08, 2016 at 03:57:48PM +0800, Chen-Yu Tsai wrote: > On Tue, Nov 8, 2016 at 3:44 PM, Maxime Ripard > wrote: > > On Mon, Nov 07, 2016 at 10:11:45PM +0800, Chen-Yu Tsai wrote: > >> On Mon, Nov 7, 2016 at 9:08 PM, Maxime Ripard > >> wrote: > >> > The GR8-EVB comes with a wm8978

Re: [PATCH v2 0/7] soc: renesas: Identify SoC and register with the SoC bus

2016-11-10 Thread Geert Uytterhoeven
On Thu, Nov 10, 2016 at 10:22 AM, Geert Uytterhoeven wrote: > Thanks, I've created the branch/tag : > > git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git > branch soc-device-match > signed tag soc-device-match-tag1 Tested by kbuild test robot: https://git.ke

Re: [PATCH v7 00/16] ACPI IORT ARM SMMU support

2016-11-10 Thread Lorenzo Pieralisi
Hi Rafael, On Thu, Nov 10, 2016 at 12:36:12AM +0100, Rafael J. Wysocki wrote: > Hi Lorenzo, > > On Wed, Nov 9, 2016 at 3:19 PM, Lorenzo Pieralisi > wrote: > > This patch series is v7 of a previous posting: > > > > https://lkml.org/lkml/2016/10/18/506 > > I don't see anything objectionable in th

Re: [PATCH v2 0/7] soc: renesas: Identify SoC and register with the SoC bus

2016-11-10 Thread Ulf Hansson
On 10 November 2016 at 10:22, Geert Uytterhoeven wrote: > Hi Ulf, > > On Wed, Nov 9, 2016 at 10:12 PM, Arnd Bergmann wrote: >> On Wednesday, November 9, 2016 6:19:06 PM CET Geert Uytterhoeven wrote: >>> On Wed, Nov 9, 2016 at 5:56 PM, Arnd Bergmann wrote: >>> > On Wednesday, November 9, 2016 2:3

Re: [RFD] sched/deadline: Support single CPU affinity

2016-11-10 Thread Peter Zijlstra
On Thu, Nov 10, 2016 at 10:06:02AM +0100, luca abeni wrote: > Hi Peter, > > On Thu, 10 Nov 2016 09:08:07 +0100 > Peter Zijlstra wrote: > > > Add support for single CPU affinity to SCHED_DEADLINE; the supposed > > reason for wanting single CPU affinity is better QoS than provided by > > G-EDF. >

Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name()

2016-11-10 Thread Laurent Pinchart
Hi Jani, On Thursday 10 Nov 2016 12:30:09 Jani Nikula wrote: > On Thu, 10 Nov 2016, Laurent Pinchart wrote: > > On Wednesday 09 Nov 2016 16:59:31 Eric Engestrom wrote: > >> On Wednesday, 2016-11-09 14:13:40 +0100, Daniel Vetter wrote: > >>> On Wed, Nov 9, 2016 at 12:42 PM, Eric Engestrom wrote: >

Re: [PATCH v5 1/3] cpuid: cleanup cpuid_regs definitions

2016-11-10 Thread Borislav Petkov
On Thu, Nov 10, 2016 at 11:45:01AM +0100, Borislav Petkov wrote: > ERROR: space required after that ',' (ctx:VxV) > #150: FILE: arch/x86/kernel/cpu/scattered.c:27: > + { X86_FEATURE_INTEL_PT, CPUID_EBX,25, 0x0007, 0 }, >

Re: [PATCH] iommu/vt-d: Fix the size calculation of pasid table

2016-11-10 Thread David Woodhouse
On Thu, 2016-11-10 at 11:45 +0100, Joerg Roedel wrote: > Hi David, > > On Sun, Oct 30, 2016 at 06:18:22AM -0600, David Woodhouse wrote: > > + /* Start at 2 because it's defined as 1^(1+PSS) */ > > This probably means 2^(1+PSS), right? Or 1 << (1+PSS). Yeah. > > + iommu->pasid_max = 2 <<

Re: [PATCH v3 5/6] usb: dwc3: use bus->sysdev for DMA configuration

2016-11-10 Thread Felipe Balbi
Hi, Sriram Dash writes: > From: Arnd Bergmann > > The dma ops for dwc3 devices are not set properly. So, use a > physical device sysdev, which will be inherited from parent, > to set the hardware / firmware parameters like dma. > > Signed-off-by: Arnd Bergmann > Signed-off-by: Sriram Dash > -

Re: [Intel-gfx] [PATCH v3] drm: move allocation out of drm_get_format_name()

2016-11-10 Thread Jani Nikula
On Thu, 10 Nov 2016, Laurent Pinchart wrote: > Hi Jani, > > On Thursday 10 Nov 2016 12:30:09 Jani Nikula wrote: >> On Thu, 10 Nov 2016, Laurent Pinchart wrote: >> > The issue here is that printk can't format the fourcc as a string by >> > itself. There's a bunch of places in the kernel where a sim

Re: [RFD] sched/deadline: Support single CPU affinity

2016-11-10 Thread Tommaso Cucinotta
On 10/11/2016 10:06, luca abeni wrote: is equivalent to the "least laxity first" (LLF) algorithm. Giving precedence to tasks with 0 laxity is a technique that is often used to improve the schedulability on multi-processor systems. EDZL (EDF / Zero Laxity first), right? AFAICR, there's quite a l

Re: [PATCH] perf/core: introduce context per CPU event list

2016-11-10 Thread Mark Rutland
Hi, On Thu, Nov 10, 2016 at 09:33:55AM +0100, Peter Zijlstra wrote: > Yes this is a problem, but no this cannot be done. We can't have per-cpu > storage per task. That rapidly explodes. > > Mark is looking at replacing this stuff with an rb-tree for big-little, > that would also allow improving t

Re: [PATCH v2] drm/arcpgu: Accommodate adv7511 switch to DRM bridge

2016-11-10 Thread Alexey Brodkin
Hi Daniel, David, On Wed, 2016-11-02 at 12:23 +, Alexey Brodkin wrote: > Hi Daniel, David, > > On Mon, 2016-10-24 at 18:33 +, Alexey Brodkin wrote: > > > > Hi Daniel, > > > > > > > > > > > -Original Message- > > > From: linux-snps-arc [mailto:linux-snps-arc-boun...@lists.infra

Re: [PATCH v4] i2c: designware: Implement support for SMBus block read and write

2016-11-10 Thread Jarkko Nikula
On 11/10/2016 04:56 AM, tnhu...@apm.com wrote: From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designware Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh --- Change from V3:

Re: [PATCH v5 2/3] cpuid: Add a helper in scattered.c to return cpuid

2016-11-10 Thread Borislav Petkov
On Wed, Nov 09, 2016 at 07:05:27PM +0800, He Chen wrote: > Some sparse CPUID leafs are gathered in a fake leaf to save size of > x86_capability array in current code, but sometimes, kernel or other > modules (e.g. KVM cpuid enumeration) may need actual hardware leaf s/cpuid/CPUID/ > information.

Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe function

2016-11-10 Thread Bjørn Mork
Kai-Heng Feng writes: > On Wed, Nov 9, 2016 at 8:32 PM, Bjørn Mork wrote: >> Oliver Neukum writes: >> >>> On Tue, 2016-11-08 at 13:44 -0500, Alan Stern wrote: >>> These problems could very well be caused by running at SuperSpeed (USB-3) instead of high speed (USB-2). > > Yes, it's runn

Re: [PATCH v7 04/16] drivers: iommu: make of_iommu_set/get_ops() DT agnostic

2016-11-10 Thread Lorenzo Pieralisi
On Wed, Nov 09, 2016 at 02:40:08PM +, Robin Murphy wrote: [...] > > +void fwnode_iommu_set_ops(struct fwnode_handle *fwnode, > > + const struct iommu_ops *ops) > > +{ > > + struct iommu_fwentry *iommu = kzalloc(sizeof(*iommu), GFP_KERNEL); > > + > > + if (WARN_ON(!iomm

Hello,

2016-11-10 Thread pr-team4
We currently have openings to fund early startups at the preferential interest rate of two percent per year. Regards, Larry Koetze

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-10 Thread Auger Eric
Hi Will, Alex, On 10/11/2016 03:01, Will Deacon wrote: > On Wed, Nov 09, 2016 at 05:55:17PM -0700, Alex Williamson wrote: >> On Thu, 10 Nov 2016 01:14:42 +0100 >> Auger Eric wrote: >>> On 10/11/2016 00:59, Alex Williamson wrote: On Wed, 9 Nov 2016 23:38:50 + Will Deacon wrote:

Re: [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-10 Thread Thomas Gleixner
On Thu, 10 Nov 2016, M. Vefa Bicakci wrote: > I have found that your patch unfortunately does not improve the situation > for me. Here is an excerpt obtained from the dmesg of a kernel compiled > with this patch *as well as* Sebastian's patch: > [0.002561] CPU: Physical Processor ID: 0 > [

Re: [v4.9-rc4] dvb-usb/cinergyT2 NULL pointer dereference

2016-11-10 Thread Jörg Otte
2016-11-10 9:40 GMT+01:00 Mauro Carvalho Chehab : > Em Wed, 9 Nov 2016 11:07:35 -0800 > Linus Torvalds escreveu: > >> On Wed, Nov 9, 2016 at 3:09 AM, Jörg Otte wrote: >> > >> > Tried patch with no success. Again a NULL ptr dereferece. >> >> That patch was pure garbage, I think. Pretty much all th

Re: [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-10 Thread Thomas Gleixner
On Thu, 10 Nov 2016, Charles (Chas) Williams wrote: > On 11/09/2016 10:57 PM, M. Vefa Bicakci wrote: > > [0.002000] mvb: CPU: Physical Processor ID: 0 > > [0.002000] mvb: CPU: Processor Core ID: 0 > > [0.002000] mvb: identify_cpu:1112: c: 880013b0a040, > > c->logical_proc_id: 65535

Re: [PATCH v16 0/5] Mediatek MT8173 CMDQ support

2016-11-10 Thread Horng-Shyang Liao
On Tue, 2016-11-01 at 19:28 +0800, HS Liao wrote: > Hi, > > This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used > to help write registers with critical time limitation, such as > updating display configuration during the vblank. It controls Global > Command Engine (GCE) hardware t

Re: [PATCH v5 3/3] cpuid: add AVX512_4VNNIW and AVX512_4FMAPS instructions support

2016-11-10 Thread Borislav Petkov
On Wed, Nov 09, 2016 at 07:05:28PM +0800, He Chen wrote: > Add two new AVX512 instructions support for KVM guest. I think you mean "two new AVX512 subfeatures support". An instruction support would be actual emulation of the instructions or so... > > AVX512_4VNNIW: > Vector instructions for deep

Re: [RFC v2 4/8] iommu: Add a list of iommu_reserved_region in iommu_domain

2016-11-10 Thread Auger Eric
Hi Robin, On 04/11/2016 15:00, Robin Murphy wrote: > Hi Eric, > > Thanks for posting this new series - the bottom-up approach is a lot > easier to reason about :) > > On 04/11/16 11:24, Eric Auger wrote: >> Introduce a new iommu_reserved_region struct. This embodies >> an IOVA reserved region th

Re: [PATCH V5 1/3] ARM64 LPC: Indirect ISA port IO introduced

2016-11-10 Thread Mark Rutland
On Wed, Nov 09, 2016 at 10:16:42AM +1100, Benjamin Herrenschmidt wrote: > On Tue, 2016-11-08 at 12:03 +, Mark Rutland wrote: > > On Tue, Nov 08, 2016 at 11:47:07AM +0800, zhichang.yuan wrote: > > > > > > For arm64, there is no I/O space as other architectural platforms, such as > > > X86. Most

[PATCH] LightNVM fix for 4.9-rc5

2016-11-10 Thread Matias Bjørling
Hi Jens, A small calculation bug sneaked into 4.9, which led to data loss using the rrpc FTL. Can the fix be picked up for next -rc, or should I mark it for stable after the 4.9 release? -Matias Matias Bjørling (1): lightnvm: invalid offset calculation for lba_shift drivers/nvme/host/lightn

[PATCH] lightnvm: invalid offset calculation for lba_shift

2016-11-10 Thread Matias Bjørling
The ns->lba_shift assumes its value to be the logarithmic of the LA size. A previous patch duplicated the lba_shift calculation into lightnvm. It prematurely also subtracted a 512byte shift, which commonly is applied per-command. The 512byte shift being subtracted twice led to data loss when restor

Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe function

2016-11-10 Thread Oliver Neukum
On Thu, 2016-11-10 at 12:09 +0100, Bjørn Mork wrote: > Kai-Heng Feng writes: > > On Wed, Nov 9, 2016 at 8:32 PM, Bjørn Mork wrote: > >> Oliver Neukum writes: > >> > >>> On Tue, 2016-11-08 at 13:44 -0500, Alan Stern wrote: > >>> > These problems could very well be caused by running at SuperS

Re: [PATCH v9 7/8] thunderbolt: Networking doc

2016-11-10 Thread Greg KH
On Wed, Nov 09, 2016 at 04:20:07PM +0200, Amir Levy wrote: > Adding Thunderbolt(TM) networking documentation. > > Signed-off-by: Amir Levy > --- > Documentation/00-INDEX | 2 + > Documentation/thunderbolt/networking.txt | 132 > +++ Note, new file

Re: [PATCH] thermal/powerclamp: add back module device table

2016-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 09, 2016 at 07:01:01AM -0800, Jacob Pan wrote: > Commit 3105f234e0aba43e44e277c20f9b32ee8add43d4 replaced module > cpu id table with a cpu feature check, which is logically correct. > But we need the module device table to allow module auto loading. > --- > drivers/thermal/intel_powerc

Re: [PATCH v2] ppdev: fix double-free of pp->pdev->name

2016-11-10 Thread Greg Kroah-Hartman
On Sun, Oct 30, 2016 at 11:19:24PM +0100, Jann Horn wrote: > free_pardevice() is called by parport_unregister_device() and already frees > pp->pdev->name, don't try to do it again. > > This bug causes kernel crashes. > > I found and verified this with KASAN and some added pr_emerg()s: > > [ 60

Re: [PATCH v4] USB hub_probe: rework ugly goto-into-compound-statement

2016-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 09, 2016 at 06:35:21PM +0300, Eugene Korenevsky wrote: > Rework smelling code (goto inside compound statement). Perhaps this is > legacy. Anyway such code is not appropriate for Linux kernel. > > Changes since v3: fix typo > Changes since v2: extract the code to static function > Chang

Re: [PATCH] serial: pl011: add console matching function

2016-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 09, 2016 at 12:17:18PM -0600, Timur Tabi wrote: > On Tue, Oct 4, 2016 at 2:15 AM, Aleksey Makarov > wrote: > > This patch adds function pl011_console_match() that implements > > method match of struct console. It allows to match consoles against > > data specified in a string, for exa

Re: [PATCH 4.8 000/138] 4.8.7-stable review

2016-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 09, 2016 at 11:36:35AM -0800, Guenter Roeck wrote: > On Wed, Nov 09, 2016 at 11:44:43AM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.8.7 release. > > There are 138 patches in this series, all will be posted as a response > > to this one. I

Re: [PATCH v3] staging: lustre: mdc: manage number of modify RPCs in flight

2016-11-10 Thread Greg Kroah-Hartman
On Mon, Nov 07, 2016 at 05:23:23PM -0500, James Simmons wrote: > From: Gregoire Pichon > > This patch is the main client part of a new feature that supports > multiple modify metadata RPCs in parallel. Its goal is to improve > metadata operations performance of a single client, while maintening >

Re: [char-misc-next 2/2] mei: send OS type to the FW

2016-11-10 Thread Greg Kroah-Hartman
On Tue, Nov 08, 2016 at 06:26:09PM +0200, Tomas Winkler wrote: > From: Alexander Usyskin > > Tell the FW that we are running a sane OS and TPM2_ChangeEPS() > is supported. This workaround was added to support other broken OS > and we need to follow here. The command is sent just once at the boot

Re: [PATCH 4.8 000/138] 4.8.7-stable review

2016-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 09, 2016 at 11:22:26AM -0700, Shuah Khan wrote: > On 11/09/2016 03:44 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.8.7 release. > > There are 138 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-10 Thread Greg KH
On Wed, Nov 09, 2016 at 04:20:00PM +0200, Amir Levy wrote: > This driver enables Thunderbolt Networking on non-Apple platforms > running Linux. > > Thunderbolt Networking provides peer-to-peer connections to transfer > files between computers, perform PC migrations, and/or set up small > workgroup

Re: [char-misc-next 2/2] mei: send OS type to the FW

2016-11-10 Thread Greg Kroah-Hartman
On Tue, Nov 08, 2016 at 06:26:09PM +0200, Tomas Winkler wrote: > From: Alexander Usyskin > > Tell the FW that we are running a sane OS and TPM2_ChangeEPS() > is supported. This workaround was added to support other broken OS > and we need to follow here. The command is sent just once at the boot

Re: [PATCH 01/11] staging: wlan-ng: fix line style issue in macro WLAN_GET_FC_FSTYPE

2016-11-10 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Tue, Nov 08, 2016 at 06:35

Re: [PATCH] perf/core: introduce context per CPU event list

2016-11-10 Thread Peter Zijlstra
On Thu, Nov 10, 2016 at 11:05:17AM +, Mark Rutland wrote: > Hi, > > On Thu, Nov 10, 2016 at 09:33:55AM +0100, Peter Zijlstra wrote: > > Yes this is a problem, but no this cannot be done. We can't have per-cpu > > storage per task. That rapidly explodes. > > > > Mark is looking at replacing th

Re: [PATCH v2 7/7] soc: renesas: Identify SoC and register with the SoC bus

2016-11-10 Thread Arnd Bergmann
On Thursday, November 10, 2016 11:19:20 AM CET Geert Uytterhoeven wrote: > Hi Arnd, > > Thanks for your comments! > > On Wed, Nov 9, 2016 at 5:55 PM, Arnd Bergmann wrote: > > On Monday, October 31, 2016 12:30:55 PM CET Geert Uytterhoeven wrote: > >> v2: > >> - Drop SoC families and family name

[PATCH 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

2016-11-10 Thread Hari Bathini
With the advert of container technologies like docker, that depend on namespaces for isolation, there is a need for tracing support for namespaces. This patch introduces new PERF_RECORD_NAMESPACES event for tracing based on namespaces related info. Signed-off-by: Hari Bathini --- fs/mount.h

[PATCH 0/3] perf: add support for analyzing events for containers

2016-11-10 Thread Hari Bathini
Currently, there is no trivial mechanism to analyze events based on containers. perf -G can be used, but it will not filter events for the containers created after perf is invoked, making it difficult to assess/ analyze performance issues of multiple containers at once.

Re: [alsa-devel] [PATCH 2/9] ALSA: ac97: add an ac97 bus

2016-11-10 Thread Lars-Peter Clausen
On 11/09/2016 10:27 PM, Robert Jarzmik wrote: [...] > +int snd_ac97_codec_driver_register(struct ac97_codec_driver *drv) > +{ > + int ret; > + > + drv->driver.bus = &ac97_bus_type; > + > + ret = driver_register(&drv->driver); > + if (!ret) > + ac97_rescan

[PATCH 2/3] perf tool: add PERF_RECORD_NAMESPACES to include namespaces related info

2016-11-10 Thread Hari Bathini
This patch updates perf tool to examine PERF_RECORD_NAMESPACES events emitted by the kernel when fork, clone, setns or unshare are invoked. Also, it synthesizes PERF_RECORD_NAMESPACES events for processes that were running prior to invocation of perf record, the data for which is taken from /proc/$

RE: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-10 Thread Levy, Amir (Jer)
On Wed, Nov 9 2016, 06:02 PM, Greg KH wrote: > On Wed, Nov 09, 2016 at 04:20:00PM +0200, Amir Levy wrote: > > This driver enables Thunderbolt Networking on non-Apple platforms > > running Linux. > > > > Thunderbolt Networking provides peer-to-peer connections to transfer > > files between computers

[PATCH 3/3] perf tool: add cgroup identifier entry in perf report

2016-11-10 Thread Hari Bathini
This patch introduces a cgroup identifier entry field in perf report to identify or distinguish data of different cgroups. It uses the unique inode number of cgroup namespace, included in perf data with the new PERF_RECORD_NAMESPACES event, as cgroup identifier. With the assumption that each contai

Re: [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-10 Thread Peter Zijlstra
On Thu, Nov 10, 2016 at 12:13:04PM +0100, Thomas Gleixner wrote: > What's so wrong with storing the fricking firmware supplied APICid as > everybody else does and report it back when queried? > > This damned attitude of we just hack the code into submission and let > everybody else deal with the o

[PATCH] f2fs: don't wait writeback for datas during checkpoint

2016-11-10 Thread Chao Yu
Normally, while committing checkpoint, we will wait on all pages to be writebacked no matter the page is data or metadata, so in scenario where there are lots of data IO being submitted with metadata, we may suffer long latency for waiting writeback during checkpoint. Indeed, we only care about pe

Re: [PATCH v10 6/6] mfd: lpc_ich: Add support for Intel Apollo Lake GPIO pinctrl in non-ACPI system

2016-11-10 Thread Andy Shevchenko
On Thu, 2016-11-10 at 18:40 +0800, kbuild test robot wrote: > Hi Tan, > > [auto build test WARNING on v4.9-rc4] > [cannot apply to ljones-mfd/for-mfd-next platform-drivers-x86/for-next > tip/x86/core next-20161110] > [if your patch is applied to the wrong git tree, please d

Re: Proposal: HAVE_SEPARATE_IRQ_STACK?

2016-11-10 Thread Jason A. Donenfeld
On Thu, Nov 10, 2016 at 10:03 AM, Thomas Gleixner wrote: > If you want to go with that config, then you need > local_bh_disable()/enable() to fend softirqs off, which disables also > preemption. Thanks. Indeed this is what I want. > >> What clever tricks do I have at my disposal, then? > > Make

Re: [PATCH v6 00/07] iommu/ipmmu-vmsa: IPMMU multi-arch update V6

2016-11-10 Thread Joerg Roedel
On Thu, Oct 20, 2016 at 08:35:33AM +0900, Magnus Damm wrote: > iommu/ipmmu-vmsa: IPMMU multi-arch update V6 > > [PATCH v6 01/07] iommu/ipmmu-vmsa: Remove platform data handling > [PATCH v6 02/07] iommu/ipmmu-vmsa: Rework interrupt code and use bitmap for > context > [PATCH v6 03/07] iommu/ipmmu-v

Re: [PATCH v6 05/07] iommu/ipmmu-vmsa: Add new IOMMU_DOMAIN_DMA ops

2016-11-10 Thread Joerg Roedel
On Fri, Oct 21, 2016 at 06:52:53PM +0100, Robin Murphy wrote: > > -static struct iommu_domain *ipmmu_domain_alloc(unsigned type) > > -{ > > - if (type != IOMMU_DOMAIN_UNMANAGED) > > - return NULL; > > I *think* that if we did the initial check thus: > > if (type != IOMMU_DOMAIN_

Re: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-10 Thread Greg KH
On Thu, Nov 10, 2016 at 11:39:19AM +, Levy, Amir (Jer) wrote: > > And how about getting some internal-Intel kernel developers to review and > > sign-off on this code? Don't make the community do the review when you > > have access to resources like this. You have an internal mailing list for

Re: [PATCH v4 1/4] usb: dbc: early driver for xhci debug capability

2016-11-10 Thread Peter Zijlstra
On Thu, Nov 10, 2016 at 09:56:41AM +0100, Thomas Gleixner wrote: > On Thu, 10 Nov 2016, Lu Baolu wrote: > > This seems to be a common issue for all early printk drivers. > > No. The other early printk drivers like serial do not have that problem as > they simply do: > >while (*buf) { >

Re: [PATCH 5/10] dt: bindings: Add bindings for Marvell Xenon SD Host Controller

2016-11-10 Thread Ziji Hu
Hi Rob, On 2016/11/10 2:24, Rob Herring wrote: > On Mon, Oct 31, 2016 at 12:09:54PM +0100, Gregory CLEMENT wrote: >> From: Ziji Hu >> >> Marvell Xenon SDHC can support eMMC/SD/SDIO. >> Add Xenon-specific properties. >> Also add properties for Xenon PHY setting. >> >> Signed-off-by: Hu Ziji >> Si

Re: [PATCH v6 7/9] iommu/amd: Update domain into to dte entry during device driver init

2016-11-10 Thread Joerg Roedel
On Thu, Oct 20, 2016 at 07:37:18PM +0800, Baoquan He wrote: > prot = dir2prot(direction); > + if (translation_pre_enabled(iommu) && !dev_data->domain_updated) { > + dev_data->domain_updated = true; > + set_dte_entry(dev_data->devid, domain, dev_data->ats.enabled);

RE: [PATCH v9 7/8] thunderbolt: Networking doc

2016-11-10 Thread Levy, Amir (Jer)
On Wed, Nov 9 2016, 06:00 PM, Greg KH wrote: > On Wed, Nov 09, 2016 at 04:20:07PM +0200, Amir Levy wrote: > > Adding Thunderbolt(TM) networking documentation. > > > > Signed-off-by: Amir Levy > > --- > > Documentation/00-INDEX | 2 + > > Documentation/thunderbolt/networking.tx

RE: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-10 Thread Levy, Amir (Jer)
On Thu, Nov 10 2016, 01:44 PM, Greg KH wrote: > On Thu, Nov 10, 2016 at 11:39:19AM +, Levy, Amir (Jer) wrote: > > > And how about getting some internal-Intel kernel developers to > > > review and sign-off on this code? Don't make the community do the > > > review when you have access to resour

Re: [PATCH v6 0/9] Fix kdump faults on system with amd iommu

2016-11-10 Thread Joerg Roedel
Hi Baoquan, thanks for working on this, really appreciated! On Thu, Oct 20, 2016 at 07:37:11PM +0800, Baoquan He wrote: > This is v6 post. > > The principle of the fix is similar to intel iommu. Just defer the assignment > of device to domain to device driver init. But there's difference than >

Re: [PATCH v9 7/8] thunderbolt: Networking doc

2016-11-10 Thread Greg KH
On Thu, Nov 10, 2016 at 11:47:57AM +, Levy, Amir (Jer) wrote: > On Wed, Nov 9 2016, 06:00 PM, Greg KH wrote: > > On Wed, Nov 09, 2016 at 04:20:07PM +0200, Amir Levy wrote: > > > Adding Thunderbolt(TM) networking documentation. > > > > > > Signed-off-by: Amir Levy > > > --- > > > Documentation

<    1   2   3   4   5   6   7   8   9   10   >