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

2016-11-10 Thread Sudeep Holla
On 10/11/16 14:12, Rob Herring wrote: On Thu, Nov 10, 2016 at 4:26 AM, Sudeep Holla wrote: 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-of

Re: btrfs btree_ctree_super fault

2016-11-10 Thread Dave Jones
On Tue, Nov 08, 2016 at 10:08:04AM -0500, Chris Mason wrote: > > And another new one: > > > > kernel BUG at fs/btrfs/ctree.c:3172! > > > > Call Trace: > > [] __btrfs_drop_extents+0xb00/0xe30 [btrfs] > > We've been hunting this one for at least two years. It's the white > whale of bt

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

2016-11-10 Thread luca abeni
Hi Henrik, On Thu, 10 Nov 2016 13:56:35 +0100 Henrik Austad wrote: > On Thu, Nov 10, 2016 at 01:38:40PM +0100, luca abeni wrote: > > Hi Henrik, > > Hi Luca, > > > On Thu, 10 Nov 2016 13:21:00 +0100 > > Henrik Austad wrote: > > > On Thu, Nov 10, 2016 at 09:08:07AM +0100, Peter Zijlstra wro

RE: [patch v5] i2c: mux: mellanox: add driver

2016-11-10 Thread Vadim Pasternak
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Thursday, November 10, 2016 3:02 PM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subject: Re: [patch v5] i2c: mux: me

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-10 Thread Joerg Roedel
On Wed, Nov 09, 2016 at 01:01:14PM -0700, Alex Williamson wrote: > Well, it's not like QEMU or libvirt stumbling through sysfs to figure > out where holes could be in order to instantiate a VM with matching > holes, just in case someone might decide to hot-add a device into the > VM, at some point,

Re: [patch v5] i2c: mux: mellanox: add driver

2016-11-10 Thread Peter Rosin
[resend to all, got the wrong button, sorry] On 2016-11-10 11:42, Peter Rosin wrote: > On 2016-11-03 06:20, Vadim Pasternak wrote: >> Hi, >> >> I see that this patch has not been picked-up yet for i2c-next. >> Is it possible it was missed from some reason? > > Yes, apparently, really sorry about t

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

2016-11-10 Thread David Miller
From: Vicente Jiménez Date: Thu, 10 Nov 2016 11:52:01 +0100 > Corrected patch attached. > Thanks for the advices. > I was unaware of those style policies. This is not how to submit a fixed patch. You must make a new, fresh, list posting fully formed and with a clean Subject line and commit mess

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-10 Thread Joerg Roedel
On Thu, Nov 10, 2016 at 01:14:42AM +0100, Auger Eric wrote: > Besides above problematic, I started to prototype the sysfs API. A first > issue I face is the reserved regions become global to the iommu instead > of characterizing the iommu_domain, ie. the "reserved_regions" attribute > file sits bel

[PATCH v1 1/1] mfd: intel-lpss: Try to enable Memory-Write-Invalidate

2016-11-10 Thread Andy Shevchenko
Enable MWI mechanism if PCI bus master supports it. Signed-off-by: Andy Shevchenko --- drivers/mfd/intel-lpss-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c index 50e78db..4756153 100644 --- a/drivers/mfd/intel-lpss-pci.c +++

[PATCHC v7 09/10] ima: define a canonical binary_runtime_measurements list format

2016-11-10 Thread Mimi Zohar
The IMA binary_runtime_measurements list is currently in platform native format. To allow restoring a measurement list carried across kexec with a different endianness than the targeted kernel, this patch defines little-endian as the canonical format. For big endian systems wanting to save/restor

[PATCHC v7 01/10] powerpc: ima: Get the kexec buffer passed by the previous kernel

2016-11-10 Thread Mimi Zohar
From: Thiago Jung Bauermann The IMA kexec buffer allows the currently running kernel to pass the measurement list via a kexec segment to the kernel that will be kexec'd. The second kernel can check whether the previous kernel sent the buffer and retrieve it. This is the architecture-specific par

[PATCHC v7 07/10] ima: store the builtin/custom template definitions in a list

2016-11-10 Thread Mimi Zohar
The builtin and single custom templates are currently stored in an array. In preparation for being able to restore a measurement list containing multiple builtin/custom templates, this patch stores the builtin and custom templates as a linked list. This will permit defining more than one custom t

[PATCHC v7 03/10] ima: permit duplicate measurement list entries

2016-11-10 Thread Mimi Zohar
Measurements carried across kexec need to be added to the IMA measurement list, but should not prevent measurements of the newly booted kernel from being added to the measurement list. This patch adds support for allowing duplicate measurements. The "boot_aggregate" measurement entry is the delimi

[PATCHC v7 05/10] powerpc: ima: Send the kexec buffer to the next kernel

2016-11-10 Thread Mimi Zohar
From: Thiago Jung Bauermann The IMA kexec buffer allows the currently running kernel to pass the measurement list via a kexec segment to the kernel that will be kexec'd. This is the architecture-specific part of setting up the IMA kexec buffer for the next kernel. It will be used in the next pat

[PATCHC v7 10/10] ima: platform-independent hash value

2016-11-10 Thread Mimi Zohar
From: Andreas Steffen For remote attestion it is important for the ima measurement values to be platform-independent. Therefore integer fields to be hashed must be converted to canonical format. Changelog: - Define canonical format as little endian (Mimi) Signed-off-by: Andreas Steffen Signed-

[PATCHC v7 08/10] ima: support restoring multiple template formats

2016-11-10 Thread Mimi Zohar
The configured IMA measurement list template format can be replaced at runtime on the boot command line, including a custom template format. This patch adds support for restoring a measuremement list containing multiple builtin/custom template formats. Changelog v7: - remove unnecessary "synchroni

[PATCH v2 2/2] Staging: fsl-mc: include: mc: Kernel type 's32' preferred over 'int32_t'

2016-11-10 Thread Shiva Kerdel
Follow the kernel type preferrences of using 's32' over 'int32_t'. Signed-off-by: Shiva Kerdel Acked-by: Stuart Yoder --- drivers/staging/fsl-mc/include/mc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/fsl-mc/include/mc.h b/drivers/staging/fsl-mc/include

[PATCH v2 1/2] Staging: fsl-mc: include: mc: Kernel type 's16' preferred over 'int16_t'

2016-11-10 Thread Shiva Kerdel
Follow the kernel type preferrences of using 's16' over 'int16_t'. Signed-off-by: Shiva Kerdel Acked-by: Stuart Yoder --- Changes for v2: - corrected an error in the log message, wrote 's32' instead of 's16'. Changes for v3: - added the missing annotate of v2. --- drivers/staging/fsl-mc

Re: [lustre-devel] [PATCH] staging: lustre: ldlm: pl_recalc time handling is wrong

2016-11-10 Thread Arnd Bergmann
On Thursday, November 10, 2016 1:21:08 PM CET Greg Kroah-Hartman wrote: > > > > the intention here is simply to have the console log keep the > > same numbers as "date +%s" for absolute values. The patch that > > James suggested converting everything to ktime_get_seconds() > > would result in the

Re: [PATCH V6 2/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-11-10 Thread agustinv
Hey Hanjun, On 2016-11-09 21:36, Hanjun Guo wrote: Hi Marc, Rafael, Lorenzo, Since we agreed to add a probe deferral if we failed to get irq resources which mirroring the DT does (patch 1 in this patch set), I think the last blocker to make things work both for Agustin and me [1] is this patch,

Re: [PATCH 5/5] drm/sun4i: Add support for the overscan profiles

2016-11-10 Thread Maxime Ripard
Hi Daniel, On Tue, Nov 08, 2016 at 09:59:27AM +0100, Daniel Vetter wrote: > On Tue, Oct 18, 2016 at 10:29:38AM +0200, Maxime Ripard wrote: > > Create overscan profiles reducing the displayed zone. > > > > For each TV standard (PAL and NTSC so far), we create 4 more reduced modes > > by steps of 5

[PATCHC v7 02/10] ima: on soft reboot, restore the measurement list

2016-11-10 Thread Mimi Zohar
The TPM PCRs are only reset on a hard reboot. In order to validate a TPM's quote after a soft reboot (eg. kexec -e), the IMA measurement list of the running kernel must be saved and restored on boot. This patch restores the measurement list. Changelog v7: - add and fix missing buffer length chec

Re: [linux-next] RCU: dyntick_idle warnings

2016-11-10 Thread Paul E. McKenney
On Thu, Nov 10, 2016 at 04:57:19PM +0900, Sergey Senozhatsky wrote: > Hello Paul, > > x86_64, linux-next 20161110 > > WARN_ON_ONCE(!(special & RCU_DYNTICK_CTRL_CTR)); > > [0.436242] [ cut here ] > [0.436307] WARNING: CPU: 3 PID

[PATCHC v7 00/10] ima: carry the measurement list across kexec

2016-11-10 Thread Mimi Zohar
[Posting with abbreviated Cc list.] The TPM PCRs are only reset on a hard reboot. In order to validate a TPM's quote after a soft reboot (eg. kexec -e), the IMA measurement list of the running kernel must be saved and then restored on the subsequent boot, possibly of a different architecture. Th

[PATCHC v7 04/10] ima: maintain memory size needed for serializing the measurement list

2016-11-10 Thread Mimi Zohar
In preparation for serializing the binary_runtime_measurements, this patch maintains the amount of memory required. Changelog v7: - include the trailing null in the string length (reported by Dmitry Kasatkin) Changelog v5: - replace CONFIG_KEXEC_FILE with architecture CONFIG_HAVE_IMA_KEXEC (Thiag

Re: [PATCH] LightNVM fix for 4.9-rc5

2016-11-10 Thread Jens Axboe
On 11/10/2016 04:26 AM, Matias Bjørling wrote: 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? We can put it in this release, it's a regression fix for a

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

2016-11-10 Thread Charles (Chas) Williams
On 11/10/2016 09:02 AM, Boris Ostrovsky wrote: On 11/10/2016 06:13 AM, Thomas Gleixner wrote: 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 thi

Re: PM regression with LED changes in next-20161109

2016-11-10 Thread Tony Lindgren
* Hans de Goede [161110 01:35]: > Hi, > > On 09-11-16 20:23, Tony Lindgren wrote: > > Hi, > > > > Looks like commit 883d32ce3385 ("leds: core: Add support for poll()ing > > the sysfs brightness attr for changes.") breaks runtime PM for me. > > > > On my omap dm3730 based test system, idle power

[char-misc-next V3] mei: send OS type to the FW

2016-11-10 Thread Tomas Winkler
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 time. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --

Re: [PATCH v1 1/1] mfd: intel-lpss: Try to enable Memory-Write-Invalidate

2016-11-10 Thread Mika Westerberg
On Thu, Nov 10, 2016 at 04:51:42PM +0200, Andy Shevchenko wrote: > Enable MWI mechanism if PCI bus master supports it. Why?

Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of randomness

2016-11-10 Thread Corentin Labbe
On Tue, Oct 25, 2016 at 03:26:48PM +0200, Maxime Ripard wrote: > On Tue, Oct 25, 2016 at 07:38:55AM +0200, LABBE Corentin wrote: > > On Mon, Oct 24, 2016 at 10:10:20PM +0200, Maxime Ripard wrote: > > > On Sat, Oct 22, 2016 at 03:53:28PM +0200, Corentin Labbe wrote: > > > > Since SID's content is co

[char-misc-next V2] mei: send OS type to the FW

2016-11-10 Thread Tomas Winkler
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 time. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --

[GIT PULL]: ARM ARTPEC changes for 4.10

2016-11-10 Thread Jesper Nilsson
Hi! Please pull the below signed tag for a trio of minor changes adding PCIe for the ARM ARTPEC SoC. Thanks! /Jesper The following changes since commit bc33b0ca11e3df46a4fa7639ba488c9d4911: Linux 4.9-rc4 (2016-11-05 16:23:36 -0700) are available in the git repository at: git://git.ke

[PATCHC v7 06/10] ima: on soft reboot, save the measurement list

2016-11-10 Thread Mimi Zohar
The TPM PCRs are only reset on a hard reboot. In order to validate a TPM's quote after a soft reboot (eg. kexec -e), the IMA measurement list of the running kernel must be saved and restored on boot. This patch uses the kexec buffer passing mechanism to pass the serialized IMA binary_runtime_meas

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

2016-11-10 Thread Thomas Gleixner
On Thu, 10 Nov 2016, Boris Ostrovsky wrote: > On 11/10/2016 06:13 AM, Thomas Gleixner wrote: > > 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 compile

Re: perf: perf_fuzzer WARNING: ring_buffer.c:546 __rb_free_aux

2016-11-10 Thread Alexander Shishkin
Vince Weaver writes: > I thought we had sorted all the AUX issues, though interestingly this is > on a core2 system. > > this is: > > static void __rb_free_aux(struct ring_buffer *rb) > { > > /* > * Should never happen, the last reference should be dropped from >

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-10 Thread Joerg Roedel
On Wed, Nov 09, 2016 at 08:11:16PM +, Robin Murphy wrote: > When we *are* in full control of the IOVA space, we just carve out what > we can find as best we can - see iova_reserve_pci_windows() in > dma-iommu.c, which isn't really all that different to what x86 does > (e.g. init_reserved_iova_r

Re: [PATCH 1/2] arm64: perf: Move ARMv8 PMU perf event definitions to asm/perf_event.h

2016-11-10 Thread Wei Huang
On 11/10/2016 03:10 AM, Marc Zyngier wrote: > Hi Wei, > > On 09/11/16 19:57, Wei Huang wrote: >> This patch moves ARMv8-related perf event definitions from perf_event.c >> to asm/perf_event.h; so KVM code can use them directly. This also help >> remove a duplicated definition of SW_INCR in perf_

Re: [PATCH v3 04/46] perf/x86/intel/cmt: add device initialization and CPU hotplug support

2016-11-10 Thread Thomas Gleixner
On Sat, 29 Oct 2016, David Carrillo-Cisneros wrote: > +static void free_pkg_data(struct pkg_data *pkg_data) > +{ > + kfree(pkg_data); > +} So this is called from __terminate_pkg_data() which itself is called from some random other place. Is this a code chasing game or is there a technical rea

Re: [PATCH v1 1/1] mfd: intel-lpss: Try to enable Memory-Write-Invalidate

2016-11-10 Thread Andy Shevchenko
On Thu, 2016-11-10 at 16:59 +0200, Mika Westerberg wrote: > On Thu, Nov 10, 2016 at 04:51:42PM +0200, Andy Shevchenko wrote: > > Enable MWI mechanism if PCI bus master supports it. > > Why? It might be potential benefit in some cases. Documentation says that standard Memory Write might supply mor

Re: [RFC v2 2/8] iommu/iova: fix __alloc_and_insert_iova_range

2016-11-10 Thread Joerg Roedel
On Fri, Nov 04, 2016 at 11:24:00AM +, Eric Auger wrote: > Fix the size check within start_pfn and limit_pfn. > > Signed-off-by: Eric Auger > > --- > > the issue was observed when playing with 1 page iova domain with > higher iova reserved. > --- > drivers/iommu/iova.c | 2 +- > 1 file chan

[PATCH v2] staging: lustre: ldlm: pl_recalc time handling is wrong

2016-11-10 Thread Arnd Bergmann
James Simmons reports: > The ldlm_pool field pl_recalc_time is set to the current > monotonic clock value but the interval period is calculated > with the wall clock. This means the interval period will > always be far larger than the pl_recalc_period, which is > just a small interval time period.

Re: [PATCH v2 2/2] Staging: fsl-mc: include: mc: Kernel type 's32' preferred over 'int32_t'

2016-11-10 Thread Greg KH
On Thu, Nov 10, 2016 at 03:53:31PM +0100, Shiva Kerdel wrote: > Follow the kernel type preferrences of using 's32' over 'int32_t'. > > Signed-off-by: Shiva Kerdel > Acked-by: Stuart Yoder > --- > drivers/staging/fsl-mc/include/mc.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) The ch

Re: [PATCH v2 1/2] Staging: fsl-mc: include: mc: Kernel type 's16' preferred over 'int16_t'

2016-11-10 Thread Greg KH
On Thu, Nov 10, 2016 at 03:53:30PM +0100, Shiva Kerdel wrote: > Follow the kernel type preferrences of using 's16' over 'int16_t'. > > Signed-off-by: Shiva Kerdel > Acked-by: Stuart Yoder > --- > Changes for v2: > - corrected an error in the log message, wrote 's32' instead of 's16'. > Chang

Re: btrfs btree_ctree_super fault

2016-11-10 Thread Chris Mason
On 11/10/2016 09:35 AM, Dave Jones wrote: On Tue, Nov 08, 2016 at 10:08:04AM -0500, Chris Mason wrote: > > And another new one: > > > > kernel BUG at fs/btrfs/ctree.c:3172! > > > > Call Trace: > > [] __btrfs_drop_extents+0xb00/0xe30 [btrfs] > > We've been hunting this one for at least t

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

2016-11-10 Thread Boris Ostrovsky
On 11/10/2016 10:05 AM, Charles (Chas) Williams wrote: > > > On 11/10/2016 09:02 AM, Boris Ostrovsky wrote: >> On 11/10/2016 06:13 AM, Thomas Gleixner wrote: >>> On Thu, 10 Nov 2016, M. Vefa Bicakci wrote: >>> I have found that your patch unfortunately does not improve the situation

Re: [PATCH 1/2] arm64: perf: Move ARMv8 PMU perf event definitions to asm/perf_event.h

2016-11-10 Thread Mark Rutland
On Thu, Nov 10, 2016 at 09:12:35AM -0600, Wei Huang wrote: > On 11/10/2016 03:10 AM, Marc Zyngier wrote: > > On 09/11/16 19:57, Wei Huang wrote: > >> diff --git a/arch/arm64/include/asm/perf_event.h > >> b/arch/arm64/include/asm/perf_event.h > >> +/* > >> + * ARMv8 PMUv3 Performance Events handli

Re: [PATCH 1/2] arm64: perf: Move ARMv8 PMU perf event definitions to asm/perf_event.h

2016-11-10 Thread Marc Zyngier
On 10/11/16 15:12, Wei Huang wrote: > > > On 11/10/2016 03:10 AM, Marc Zyngier wrote: >> Hi Wei, >> >> On 09/11/16 19:57, Wei Huang wrote: >>> This patch moves ARMv8-related perf event definitions from perf_event.c >>> to asm/perf_event.h; so KVM code can use them directly. This also help >>> rem

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

2016-11-10 Thread Greg Kroah-Hartman
On Thu, Nov 10, 2016 at 06:07:36PM +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 Thu, Nov 10, 2016 at 04:19:29AM -0800, kernelci.org bot wrote: > stable-rc boot: 168 boots: 0 failed, 163 passed with 5 offline > (v4.8.6-139-gde71548ee45d) Yeah!

Re: [PATCH v2 00/12] mm: page migration enhancement for thp

2016-11-10 Thread Zi Yan
On 9 Nov 2016, at 18:52, Naoya Horiguchi wrote: > Hi Anshuman, > > On Wed, Nov 09, 2016 at 04:03:04PM +0530, Anshuman Khandual wrote: >> On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: >>> Hi everyone, >>> >>> I've updated thp migration patches for v4.9-rc2-mmotm-2016-10-27-18-27 >>> with feedbacks

Re: [PATCH RFC 0/2] livepatch: patch creation tooling proposal

2016-11-10 Thread Josh Poimboeuf
On Thu, Oct 27, 2016 at 09:35:48AM -0500, Josh Poimboeuf wrote: > So here's my proposal: use the existing kernel build infrastructure. If > klp relocations are needed, manually specify them with a new > klp_module_reloc struct and corresponding KLP_MODULE_RELOC macro. Then > run a post-processing

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

2016-11-10 Thread Alan Stern
On Thu, 10 Nov 2016, Kai-Heng Feng wrote: > Hi, > > 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 hig

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

2016-11-10 Thread Boris Ostrovsky
On 11/10/2016 10:12 AM, Thomas Gleixner wrote: > On Thu, 10 Nov 2016, Boris Ostrovsky wrote: >> On 11/10/2016 06:13 AM, Thomas Gleixner wrote: >>> 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 e

RE: [PATCH V5 3/3] ARM64 LPC: LPC driver implementation on Hip06

2016-11-10 Thread Gabriele Paoloni
Hi Arnd > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: 10 November 2016 09:12 > To: linux-arm-ker...@lists.infradead.org > Cc: Yuanzhichang; mark.rutl...@arm.com; devicet...@vger.kernel.org; > lorenzo.pieral...@arm.com; Gabriele Paoloni; miny...@acm.org; linux- >

Re: [RFC v2 2/8] iommu/iova: fix __alloc_and_insert_iova_range

2016-11-10 Thread Auger Eric
Hi Joerg, On 10/11/2016 16:22, Joerg Roedel wrote: > On Fri, Nov 04, 2016 at 11:24:00AM +, Eric Auger wrote: >> Fix the size check within start_pfn and limit_pfn. >> >> Signed-off-by: Eric Auger >> >> --- >> >> the issue was observed when playing with 1 page iova domain with >> higher iova re

[char-misc-next V4] mei: send OS type to the FW

2016-11-10 Thread Tomas Winkler
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 time. Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --

Re: [PATCH net-next resend 10/13] debugfs: constify argument to debugfs_real_fops()

2016-11-10 Thread Jakub Kicinski
On Thu, 10 Nov 2016 15:25:59 +0100, Greg Kroah-Hartman wrote: > On Thu, Nov 03, 2016 at 05:12:06PM +, Jakub Kicinski wrote: > > seq_file users can only access const version of file pointer, > > because the ->file member of struct seq_operations is marked > > as such. Make parameter to debugfs_

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

2016-11-10 Thread Auger Eric
Hi Joerg, Robin, On 10/11/2016 16:37, Joerg Roedel wrote: > On Fri, Nov 04, 2016 at 11:24:02AM +, Eric Auger wrote: >> Introduce a new iommu_reserved_region struct. This embodies >> an IOVA reserved region that cannot be used along with the IOMMU >> API. The list is protected by a dedicated mu

[PATCH 2/2] backlight: arcxcnn: devicetree bindings for ArticSand devices

2016-11-10 Thread Olimpiu Dejeu
Resubmition of arcxcnn backlight driver addressing the naming convention concerns raised by Rob H. Note that all the device tree properties are determined by the board design or IC EPROM settings and are not intended to be user adjustable. Signed-off-by: Olimpiu Dejeu --- .../bindings/leds/b

[PATCH 1/2] backlight: arcxcnn: add support for ArticSand devices

2016-11-10 Thread Olimpiu Dejeu
Resubmition of arcxcnn backlight driver addressing the naming convention concerns raised by Rob H. Signed-off-by: Olimpiu Dejeu --- drivers/video/backlight/Kconfig | 7 + drivers/video/backlight/Makefile | 1 + drivers/video/backlight/arcxcnn_bl.c | 541 +++

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

2016-11-10 Thread Joerg Roedel
On Fri, Nov 04, 2016 at 11:24:02AM +, Eric Auger wrote: > Introduce a new iommu_reserved_region struct. This embodies > an IOVA reserved region that cannot be used along with the IOMMU > API. The list is protected by a dedicated mutex. > > An iommu domain now owns a list of those. > > Signed-

Re: [RFC v2 8/8] iommu/arm-smmu: implement add_reserved_regions callback

2016-11-10 Thread Joerg Roedel
On Fri, Nov 04, 2016 at 11:24:06AM +, Eric Auger wrote: > The function populates the list of reserved regions with the > PCI host bridge windows and the MSI IOVA range. > > At the moment an arbitray MSI IOVA window is set at 0x800 > of size 1MB. > > Signed-off-by: Eric Auger > > --- >

Re: [RFC PATCH 1/2] hwmon: adt7411: update to new hwmon registration API

2016-11-10 Thread Guenter Roeck
On 11/10/2016 05:04 AM, Michael Walle wrote: Am 2016-10-14 11:43, schrieb Michael Walle: This is also a preparation for to support more properties like min, max and alarm. ping? :) Sorry, I didn't have much time lately. I'll try to get to it shortly. Guenter

Re: [Resend][PATCH] cpufreq: conservative: Decrease frequency faster when the timer deferred

2016-11-10 Thread Stratos Karafotis
On 10/11/2016 02:13 πμ, Rafael J. Wysocki wrote: > On Wed, Nov 9, 2016 at 6:55 AM, Viresh Kumar wrote: >> On 08-11-16, 21:25, Stratos Karafotis wrote: >>> But this is the supposed behaviour of conservative governor. We want >>> the CPU to increase the frequency in steps. The patch just resets >>

Re: [PATCH RFC 0/2] livepatch: patch creation tooling proposal

2016-11-10 Thread Miroslav Benes
On Thu, 10 Nov 2016, Josh Poimboeuf wrote: > On Thu, Oct 27, 2016 at 09:35:48AM -0500, Josh Poimboeuf wrote: > > So here's my proposal: use the existing kernel build infrastructure. If > > klp relocations are needed, manually specify them with a new > > klp_module_reloc struct and corresponding K

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

2016-11-10 Thread Sebastian Andrzej Siewior
On 2016-11-10 10:31:20 [-0500], Boris Ostrovsky wrote: > For Xen, we recently added a6a198bc60e6 ("xen/x86: Update topology map > for PV VCPUs") to at least temporarily work around some topology map > problems that PV guests have with RAPL (which I think is what Vefa's > problem was). I wouldn't b

Re: [PATCH] firmware: fix async/manual firmware loading

2016-11-10 Thread Greg Kroah-Hartman
On Wed, Nov 09, 2016 at 09:39:21PM +0100, Luis R. Rodriguez wrote: > On Sun, Oct 30, 2016 at 03:50:48PM +0100, Yves-Alexis Perez wrote: > > From: Yves-Alexis Perez > > > > wait_for_completion_interruptible_timeout() return value is either > > -ERESTARTSYS (in case it was interrupted), 0 (in case

Re: [PATCH RFC 0/2] livepatch: patch creation tooling proposal

2016-11-10 Thread Miroslav Benes
On Thu, 10 Nov 2016, Miroslav Benes wrote: > On Thu, 10 Nov 2016, Josh Poimboeuf wrote: > > > Does anybody want to take ownership of this patch set and/or try to > > explore the options further? I don't have any more bandwidth right now > > (mainly due to the consistency model and porting objtoo

Re: [PATCH v2 1/3] vmbus: add support for dynamic device id's

2016-11-10 Thread Greg KH
On Mon, Oct 17, 2016 at 12:29:59PM -0700, Stephen Hemminger wrote: > From: Stephen Hemminger > > This patch adds sysfs interface to dynamically bind new UUID values > to existing VMBus device. This is useful for generic UIO driver to > act similar to uio_pci_generic. > > Signed-off-by: Stephen H

Re: [PATCH] iommu/dma-iommu: properly respect configured address space size

2016-11-10 Thread Joerg Roedel
On Tue, Nov 08, 2016 at 11:37:23AM +, Robin Murphy wrote: > TBH I've been pondering ripping the size stuff out of dma-iommu, as it > all stems from me originally failing to understand what dma_32bit_pfn is > actually for. The point of dma_32bit_pfn is to allocate dma-address below 4G by defaul

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

2016-11-10 Thread James Simmons
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 the consistency of MDT reply reconstruction and MDT recovery mechanisms.

Re: [[PATCH repost v21] 01/11] of/overlay: add of overlay notifications

2016-11-10 Thread Greg Kroah-Hartman
On Tue, Nov 01, 2016 at 02:14:22PM -0500, Alan Tull wrote: > This patch add of overlay notifications. Your crazy way of doing [ ] in the subject messed up git, please don't do that... Just do: [PATCH repost v21 01/11] No need for extra [[ ]] please.

[PATCH] staging: rtl8192e: Fix checkpatch warnings

2016-11-10 Thread Y M Patil
This patch fixes block comment coding style warnings. And added new line after variable declaration. Signed-off-by: Y M Patil --- drivers/staging/rtl8192e/dot11d.c | 2 +- drivers/staging/rtl8192e/rtl819x_BAProc.c | 3 ++- drivers/staging/rtl8192e/rtl819x_HTProc.c | 2 +- drivers/staging

Re: [PATCH v10 2/6] mfd: lpc_ich: Rename lpc-ich driver

2016-11-10 Thread Andy Shevchenko
On Thu, 2016-11-10 at 17:00 +0800, Tan Jui Nee wrote: > This patch follows the example of mfd/wm831x to rename the driver > from "lpc_ich" to "lpc_ich_core". > > Signed-off-by: Tan Jui Nee > Reviewed-by: Mika Westerberg > --- > Changes in V10: > - No change > > Changes in V9: > - Re

Re: [RFC v2 8/8] iommu/arm-smmu: implement add_reserved_regions callback

2016-11-10 Thread Auger Eric
Hi Joerg, On 10/11/2016 16:46, Joerg Roedel wrote: > On Fri, Nov 04, 2016 at 11:24:06AM +, Eric Auger wrote: >> The function populates the list of reserved regions with the >> PCI host bridge windows and the MSI IOVA range. >> >> At the moment an arbitray MSI IOVA window is set at 0x800 >>

[PATCH] genetlink: fix unsigned int comparison with less than zero

2016-11-10 Thread Colin King
From: Colin Ian King family->id is unsigned, so the less than zero check for failure return from idr_alloc is never true and so the error exit is never handled. Instead, assign err and check if this is less than zero since this is a signed integer. Issue found with static analysis with Coverity

Re: [RFC v2 8/8] iommu/arm-smmu: implement add_reserved_regions callback

2016-11-10 Thread Robin Murphy
On 10/11/16 15:46, Joerg Roedel wrote: > On Fri, Nov 04, 2016 at 11:24:06AM +, Eric Auger wrote: >> The function populates the list of reserved regions with the >> PCI host bridge windows and the MSI IOVA range. >> >> At the moment an arbitray MSI IOVA window is set at 0x800 >> of size 1MB.

RE: [PATCH V5 2/3] ARM64 LPC: Add missing range exception for special ISA

2016-11-10 Thread Gabriele Paoloni
Hi Liviu > -Original Message- > From: liviu.du...@arm.com [mailto:liviu.du...@arm.com] > Sent: 09 November 2016 16:51 > To: Gabriele Paoloni > Cc: Yuanzhichang; catalin.mari...@arm.com; will.dea...@arm.com; > robh...@kernel.org; bhelg...@google.com; mark.rutl...@arm.com; > o...@lixom.net;

Linux 4.4.31

2016-11-10 Thread Greg KH
I'm announcing the release of the 4.4.31 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v10 1/6] drivers/platform/x86/p2sb: New Primary to Sideband bridge support driver for Intel SOC's

2016-11-10 Thread Andy Shevchenko
On Thu, 2016-11-10 at 17:00 +0800, Tan Jui Nee wrote: > From: Andy Shevchenko > > There is already one and at least one more user coming which > require an access to Primary to Sideband bridge (P2SB) in order > to get IO or MMIO bar hidden by BIOS. > Create a driver to access P2SB for x86 devices

Linux 4.8.7

2016-11-10 Thread Greg KH
I'm announcing the release of the 4.8.7 kernel. All users of the 4.8 kernel series must upgrade. The updated 4.8.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.8.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.4.31

2016-11-10 Thread Greg KH
diff --git a/Makefile b/Makefile index 98239d56924c..7c6f28e7a2f6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 30 +SUBLEVEL = 31 EXTRAVERSION = NAME = Blurry Fish Butt @@ -617,6 +617,7 @@ include arch/$(SRCARCH)/Makefile KBUILD_CFLAGS += $(ca

Re: [PATCH] staging: rtl8192e: Fix checkpatch warnings

2016-11-10 Thread Greg KH
On Thu, Nov 10, 2016 at 09:32:30PM +0530, Y M Patil wrote: > This patch fixes block comment coding style warnings. > And added new line after variable declaration. > > Signed-off-by: Y M Patil Also, I need a "full" name please... thanks, greg k-h

Re: Linux 4.8.7

2016-11-10 Thread Greg KH
diff --git a/Documentation/device-mapper/dm-raid.txt b/Documentation/device-mapper/dm-raid.txt index e5b6497116f4..c75b64a85859 100644 --- a/Documentation/device-mapper/dm-raid.txt +++ b/Documentation/device-mapper/dm-raid.txt @@ -309,3 +309,4 @@ Version History with a reshape in progress.

Re: [PATCH V5 3/3] ARM64 LPC: LPC driver implementation on Hip06

2016-11-10 Thread Arnd Bergmann
On Thursday, November 10, 2016 3:36:49 PM CET Gabriele Paoloni wrote: > > Where should we get the range from? For LPC we know that it is going > Work on anything that is not used by PCI I/O space, and this is > why we use [0, PCIBIOS_MIN_IO] It should be allocated the same way we allocate PCI co

Re: [PATCH] firmware: fix async/manual firmware loading

2016-11-10 Thread Luis R. Rodriguez
On Thu, Nov 10, 2016 at 7:55 AM, Greg Kroah-Hartman wrote: > On Wed, Nov 09, 2016 at 09:39:21PM +0100, Luis R. Rodriguez wrote: >> On Sun, Oct 30, 2016 at 03:50:48PM +0100, Yves-Alexis Perez wrote: >> > From: Yves-Alexis Perez >> > >> > wait_for_completion_interruptible_timeout() return value is

Re: [PATCH] staging: rtl8192e: Fix checkpatch warnings

2016-11-10 Thread Greg KH
On Thu, Nov 10, 2016 at 09:32:30PM +0530, Y M Patil wrote: > This patch fixes block comment coding style warnings. > And added new line after variable declaration. Please only do one-thing-per-patch. If you have to say "And", that's a huge hint that this should be broken up into multiple patches.

Re: [PATCH RFC 0/2] livepatch: patch creation tooling proposal

2016-11-10 Thread Josh Poimboeuf
On Thu, Nov 10, 2016 at 04:48:33PM +0100, Miroslav Benes wrote: > On Thu, 10 Nov 2016, Josh Poimboeuf wrote: > > > On Thu, Oct 27, 2016 at 09:35:48AM -0500, Josh Poimboeuf wrote: > > > So here's my proposal: use the existing kernel build infrastructure. If > > > klp relocations are needed, manual

Re: [RFC v2 8/8] iommu/arm-smmu: implement add_reserved_regions callback

2016-11-10 Thread Joerg Roedel
On Thu, Nov 10, 2016 at 04:57:51PM +0100, Auger Eric wrote: > It does not only serve the purpose to register the MSI IOVA region. We > also need to allocate an iova_domain where MSI IOVAs will be allocated > upon the request of the relevant MSI controllers. Do you mean you don't > like to use the i

Re: [RFC v2 8/8] iommu/arm-smmu: implement add_reserved_regions callback

2016-11-10 Thread Joerg Roedel
On Thu, Nov 10, 2016 at 04:07:08PM +, Robin Murphy wrote: > On 10/11/16 15:46, Joerg Roedel wrote: > > On Fri, Nov 04, 2016 at 11:24:06AM +, Eric Auger wrote: > >> + resource_list_for_each_entry(window, &bridge->windows) { > >> + if (resource_type(window->res) != IORESOURCE_MEM &&

[PATCH] block: cfq_cpd_alloc() should use @gfp

2016-11-10 Thread Tejun Heo
Re: [bug report] blkcg: replace blkcg_policy->cpd_size with ->cpd_alloc/free_fn() methods Reply-To: In-Reply-To: <20161110133426.GA30610@mwanda> cfq_cpd_alloc() which is the cpd_alloc_fn implementation for cfq was incorrectly hard coding GFP_KERNEL instead of using the mask specified through the

Re: [PATCH] f2fs: support multiple devices

2016-11-10 Thread Anand Jain
(this is deviating from the subject, sorry about that) Pretty much, if you're using just raid1 mode, without compression, on reasonable storage devices, things are rock-solid relative to the rest of BTRFS. IMO, BTRFS volume manger feature is incomplete and there is RAID1 critical bug which

Re: [PATCH] iommu/dma-iommu: properly respect configured address space size

2016-11-10 Thread Robin Murphy
On 10/11/16 15:59, Joerg Roedel wrote: > On Tue, Nov 08, 2016 at 11:37:23AM +, Robin Murphy wrote: >> TBH I've been pondering ripping the size stuff out of dma-iommu, as it >> all stems from me originally failing to understand what dma_32bit_pfn is >> actually for. > > The point of dma_32bit_p

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

2016-11-10 Thread Mark Brown
On Thu, Nov 10, 2016 at 11:25:27AM +0100, Peter Rosin wrote: > While at it, clean up some other things as well. This isn't a useful changelog, it's just saying that there's some random changes for no reason. Please make proper patches with changelogs that explain them. signature.asc Description

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 17:00 +0800, Tan Jui Nee wrote: > This driver uses the P2SB hide/unhide mechanism cooperatively > to pass the PCI BAR address to the gpio platform driver. @@ -161,6 +161,10 @@ obj-$(CONFIG_MFD_INTEL_QUARK_I2C_GPIO) += > intel_quark_i2c_gpio.o >  obj-$(CONFIG_LPC_SCH) >

[PATCH v2 2/6] mfd: stm32-adc: Add support for stm32 ADC

2016-11-10 Thread Fabrice Gasnier
Add core driver for STMicroelectronics STM32 ADC (Analog to Digital Converter). STM32 ADC can be composed of up to 3 ADCs with shared resources like clock prescaler, common interrupt line and analog reference voltage. This core driver basically manages shared resources. Signed-off-by: Fabrice Gasn

[PATCH v2 1/6] Documentation: dt-bindings: Document STM32 ADC DT bindings

2016-11-10 Thread Fabrice Gasnier
This patch adds documentation of device tree bindings for the STM32 ADC. Signed-off-by: Fabrice Gasnier --- .../devicetree/bindings/iio/adc/st,stm32-adc.txt | 85 ++ 1 file changed, 85 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/st,stm32-adc.

[PATCH v2 0/6] Add support for STM32 ADC

2016-11-10 Thread Fabrice Gasnier
This series adds support for STM32F4 ADC into IIO framework. STM32F4 ADC is a 12-bit successive approximation analog-to-digital converter with multiplexed input channels. Conversions can be performed in single, continuous, scan or discontinuous mode. Conversions can be launched in software or using

[PATCH v2 3/6] iio: adc: Add support for STM32 ADC

2016-11-10 Thread Fabrice Gasnier
This patch adds support for STMicroelectronics STM32 MCU's analog to digital converter. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/Kconfig | 10 + drivers/iio/adc/Makefile| 1 + drivers/iio/adc/stm32-adc.c | 525 3 files changed, 53

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