Re: [PATCH v3] PM / devfreq: Restart previous governor if new governor fails to start

2016-11-09 Thread Chanwoo Choi
Hi, On 2016년 11월 10일 05:34, Saravana Kannan wrote: > On 11/08/2016 06:38 PM, Chanwoo Choi wrote: >> On 2016년 11월 09일 11:36, Chanwoo Choi wrote: >>> Hi, >>> >>> On 2016년 11월 09일 10:33, Chanwoo Choi wrote: On 2016년 11월 09일 05:52, Saravana Kannan wrote: > On 11/08/2016 01:02 AM, Chanwoo Choi

Re: [PATCH v5 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-09 Thread Luis R. Rodriguez
On Thu, Nov 10, 2016 at 01:05:42AM +0100, Rafael J. Wysocki wrote: > On Thu, Nov 10, 2016 at 12:55 AM, Luis R. Rodriguez wrote: > > On Tue, Nov 08, 2016 at 04:30:44PM +0100, Lukas Wunner wrote: > >> On Tue, Nov 08, 2016 at 08:27:12AM +0100, Marek Szyprowski wrote: > >> > On 2016-11-07 22:47, Luis

[PATCH v2 1/3] ASoC: atmel_ssc_dai: if not provided, default to sensible TCMR/RCMR periods

2016-11-09 Thread Peter Rosin
When this driver runs the dai link frame clock, and noone has stated differently, assume that all the bits of a frame are used. This relieves the cpu dai users from the duty to fill in the dividers for the common case. Signed-off-by: Peter Rosin --- sound/soc/atmel/atmel_ssc_dai.c | 29

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

2016-11-09 Thread Rafael J. Wysocki
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 >> the frequency to a lower frequency in case of idle. >>

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Auger Eric
Hi, On 10/11/2016 00:59, Alex Williamson wrote: > On Wed, 9 Nov 2016 23:38:50 + > Will Deacon wrote: > >> On Wed, Nov 09, 2016 at 04:24:58PM -0700, Alex Williamson wrote: >>> On Wed, 9 Nov 2016 22:25:22 + >>> Will Deacon wrote: >>> On Wed, Nov 09, 2016 at 03:17:09PM -0700, Alex

[PATCH v2 2/3] ASoC: tse850: document axentia,tse850-pcm5142 bindings

2016-11-09 Thread Peter Rosin
The TSE-850 is an FM Transmitter Station Equipment, designed to generate baseband signals for FM, mainly the DARC subcarrier, but other signals are also possible. Signed-off-by: Peter Rosin --- .../bindings/sound/axentia,tse850-pcm5142.txt | 88 ++ MAINTAINERS

Re: [PATCH v2 2/2] PM / sleep: don't suspend parent when async child suspend_{noirq,late} fails

2016-11-09 Thread Brian Norris
On Thu, Nov 10, 2016 at 01:08:56AM +0100, Rafael J. Wysocki wrote: > On Wed, Nov 2, 2016 at 6:07 AM, Brian Norris wrote: > > I can test this and send it in proper form if that looks preferable. > > It does to me as per the discussion at the LPC. > > Are you still going to submit it? Yes, it jus

Re: [PATCH v5 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-09 Thread Rafael J. Wysocki
On Thu, Nov 10, 2016 at 1:12 AM, Luis R. Rodriguez wrote: > On Thu, Nov 10, 2016 at 01:05:42AM +0100, Rafael J. Wysocki wrote: >> On Thu, Nov 10, 2016 at 12:55 AM, Luis R. Rodriguez >> wrote: >> > On Tue, Nov 08, 2016 at 04:30:44PM +0100, Lukas Wunner wrote: >> >> On Tue, Nov 08, 2016 at 08:27:1

[PATCH] [PATCH/STYLE] stagging:braille: Missing a blank line after declarations

2016-11-09 Thread Walt
Fixed three WARNING: Missing a blank line after declarations from checkpatch.pl Signed-off-by: Walt --- drivers/accessibility/braille/braille_console.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/accessibility/braille/braille_console.c b/drivers/accessibility/braille/braille

Re: linux-next: manual merge of the net-next tree with the netfilter tree

2016-11-09 Thread Pablo Neira Ayuso
Hi David, On Thu, Nov 10, 2016 at 10:56:33AM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > net/netfilter/ipvs/ip_vs_ctl.c > > between commit: > > 8fbfef7f505b ("ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr") > > from th

Re: [PATCH v3] z3fold: use per-page read/write lock

2016-11-09 Thread Andrew Morton
On Wed, 9 Nov 2016 15:01:17 -0800 Andi Kleen wrote: > On Wed, Nov 09, 2016 at 02:33:04PM -0800, Andrew Morton wrote: > > On Wed, 9 Nov 2016 11:55:31 +0100 Vitaly Wool wrote: > > > > > Subject: [PATCH v3] z3fold: use per-page read/write lock > > > > I've rewritten the title to "mm/z3fold.c: use

RE: [PATCH 8/9] bus: fsl-mc: dpio: add the DPAA2 DPIO object driver

2016-11-09 Thread Stuart Yoder
> -Original Message- > From: Ruxandra Ioana Radulescu > Sent: Friday, November 04, 2016 10:11 AM > To: Stuart Yoder ; gre...@linuxfoundation.org > Cc: German Rivera ; de...@driverdev.osuosl.org; > linux-kernel@vger.kernel.org; > ag...@suse.de; a...@arndb.de; Leo Li ; Roy Pledge > ; Haiy

Re: [PATCH v4 2/2] iommu/exynos: Add proper runtime pm support

2016-11-09 Thread Rafael J. Wysocki
On Wed, Nov 9, 2016 at 4:07 PM, Marek Szyprowski wrote: > Hi Luis, > > > On 2016-11-08 23:14, Luis R. Rodriguez wrote: >> >> On Mon, Oct 10, 2016 at 03:32:06PM +0200, Marek Szyprowski wrote: >>> >>> Hi Luis >>> >>> >>> On 2016-10-06 19:37, Luis R. Rodriguez wrote: On Thu, Sep 29, 2016 at

[RFC PATCH v3 10/20] Add support to access boot related data in the clear

2016-11-09 Thread Tom Lendacky
Boot data (such as EFI related data) is not encrypted when the system is booted and needs to be accessed unencrypted. Add support to apply the proper attributes to the EFI page tables and to the early_memremap and memremap APIs to identify the type of data being accessed so that the proper encrypt

[RFC PATCH v3 16/20] x86: Do not specify encrypted memory for video mappings

2016-11-09 Thread Tom Lendacky
Since video memory needs to be accessed unencrypted be sure that the memory encryption mask is not set for the video ranges. Signed-off-by: Tom Lendacky --- arch/x86/include/asm/vga.h | 13 + drivers/gpu/drm/drm_gem.c|2 ++ drivers/gpu/drm/drm_vm.c |4

Re: [patch] mm, slab: faster active and free stats

2016-11-09 Thread David Rientjes
On Tue, 8 Nov 2016, Andrew Morton wrote: > > Reading /proc/slabinfo or monitoring slabtop(1) can become very expensive > > if there are many slab caches and if there are very lengthy per-node > > partial and/or free lists. > > > > Commit 07a63c41fa1f ("mm/slab: improve performance of gathering sl

Re: [PATCH v5 2/5] driver core: Functional dependencies tracking support

2016-11-09 Thread Rafael J. Wysocki
On Mon, Nov 7, 2016 at 10:22 PM, Luis R. Rodriguez wrote: > On Thu, Oct 27, 2016 at 05:25:51PM +0200, Greg Kroah-Hartman wrote: >> On Wed, Oct 26, 2016 at 01:19:02PM +0200, Lukas Wunner wrote: >> > Hi Rafael, >> > >> > sorry for not responding to v5 of your series earlier, just sending >> > this o

Re: [PATCH 04/11] dt-binding: remoteproc: wcnss: Allow describing smd edge

2016-11-09 Thread Rob Herring
On Wed, Oct 19, 2016 at 07:40:05PM -0700, Bjorn Andersson wrote: > Allow the associated smd edge to be described within the wcnss > remoteproc node. This creates a bond between the remoteproc and the > associated smd channels and devices, showing the interaction between the > two parts and provides

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

2016-11-09 Thread Tom Lendacky
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-encryption.txt | 40 +++ 2 files changed, 45 insertions(+

[RFC PATCH v3 00/20] x86: Secure Memory Encryption (AMD)

2016-11-09 Thread Tom Lendacky
This RFC patch series provides support for AMD's new Secure Memory Encryption (SME) feature. SME can be used to mark individual pages of memory as encrypted through the page tables. A page of memory that is marked encrypted will be automatically decrypted when read from DRAM and will be automatica

[RFC PATCH v3 03/20] x86: Add the Secure Memory Encryption cpu feature

2016-11-09 Thread Tom Lendacky
Update the cpu features to include identifying and reporting on the Secure Memory Encryption feature. Signed-off-by: Tom Lendacky --- arch/x86/include/asm/cpufeatures.h |1 + arch/x86/kernel/cpu/scattered.c|1 + 2 files changed, 2 insertions(+) diff --git a/arch/x86/include/asm/cpuf

[RFC PATCH v3 06/20] x86: Add support to enable SME during early boot processing

2016-11-09 Thread Tom Lendacky
This patch adds support to the early boot code to use Secure Memory Encryption (SME). Support is added to update the early pagetables with the memory encryption mask and to encrypt the kernel in place. The routines to set the encryption mask and perform the encryption are stub routines for now wi

linux-next: manual merge of the mmc tree with the imx-mxs tree

2016-11-09 Thread Stephen Rothwell
Hi Ulf, Today's linux-next merge of the mmc tree got a conflict in: arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi between commit: 784e94eeb377 ("arm64: dts: ls2080a: Add TMU device tree support for LS2080A") from the imx-mxs tree and commit: 61ab9ffac1b9 ("ARM64: dts: ls2080a: add devi

[RFC PATCH v3 07/20] x86: Provide general kernel support for memory encryption

2016-11-09 Thread Tom Lendacky
Adding general kernel support for memory encryption includes: - Modify and create some page table macros to include the Secure Memory Encryption (SME) memory encryption mask - Modify and create some macros for calculating physical and virtual memory addresses - Provide an SME initialization rou

[RFC PATCH v3 14/20] iommu/amd: Disable AMD IOMMU if memory encryption is active

2016-11-09 Thread Tom Lendacky
For now, disable the AMD IOMMU if memory encryption is active. A future patch will re-enable the function with full memory encryption support. Signed-off-by: Tom Lendacky --- drivers/iommu/amd_iommu_init.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/iommu/amd_iommu_init.c

[RFC PATCH v3 05/20] x86: Add Secure Memory Encryption (SME) support

2016-11-09 Thread Tom Lendacky
Add support for Secure Memory Encryption (SME). This initial support provides a Kconfig entry to build the SME support into the kernel and defines the memory encryption mask that will be used in subsequent patches to mark pages as encrypted. Signed-off-by: Tom Lendacky --- arch/x86/Kconfig

[RFC PATCH v3 09/20] x86: Insure that boot memory areas are mapped properly

2016-11-09 Thread Tom Lendacky
The boot data and command line data are present in memory in an un-encrypted state and are copied early in the boot process. The early page fault support will map these areas as encrypted, so before attempting to copy them, add unencrypted mappings so the data is accessed properly when copied. Fo

[RFC PATCH v3 17/20] x86/kvm: Enable Secure Memory Encryption of nested page tables

2016-11-09 Thread Tom Lendacky
Update the KVM support to include the memory encryption mask when creating and using nested page tables. Signed-off-by: Tom Lendacky --- arch/x86/include/asm/kvm_host.h |3 ++- arch/x86/kvm/mmu.c |8 ++-- arch/x86/kvm/vmx.c |3 ++- arch/x86/kvm/x86.c

[RFC PATCH v3 08/20] x86: Add support for early encryption/decryption of memory

2016-11-09 Thread Tom Lendacky
Add support to be able to either encrypt or decrypt data in place during the early stages of booting the kernel. This does not change the memory encryption attribute - it is used for ensuring that data present in either an encrypted or un-encrypted memory area is in the proper state (for example th

Re: [PATCH 1/1] dt-binding: remoteproc: Fixup ADSP loader bindings

2016-11-09 Thread Rob Herring
On Wed, Nov 02, 2016 at 02:38:09PM -0700, Sarangdhar Joshi wrote: > Fixup "dt-binding: remoteproc: Introduce ADSP loader binding" > patch to include XO clock required for booting up Qualcomm ADSP > Processor. I don't think this is accepted yet, so please squash this into the ADSP binding. > > S

[RFC PATCH v3 04/20] x86: Handle reduction in physical address size with SME

2016-11-09 Thread Tom Lendacky
When System Memory Encryption (SME) is enabled, the physical address space is reduced. Adjust the x86_phys_bits value to reflect this reduction. Signed-off-by: Tom Lendacky --- arch/x86/include/asm/msr-index.h |2 ++ arch/x86/kernel/cpu/common.c | 30 ++ 2 f

[RFC PATCH v3 12/20] x86: Decrypt trampoline area if memory encryption is active

2016-11-09 Thread Tom Lendacky
When Secure Memory Encryption is enabled, the trampoline area must not be encrypted. A CPU running in real mode will not be able to decrypt memory that has been encrypted because it will not be able to use addresses with the memory encryption mask. Signed-off-by: Tom Lendacky --- arch/x86/realmo

[RFC PATCH v3 13/20] x86: DMA support for memory encryption

2016-11-09 Thread Tom Lendacky
Since DMA addresses will effectively look like 48-bit addresses when the memory encryption mask is set, SWIOTLB is needed if the DMA mask of the device performing the DMA does not support 48-bits. SWIOTLB will be initialized to create un-encrypted bounce buffers for use by these devices. Signed-of

[RFC PATCH v3 18/20] x86: Access the setup data through debugfs un-encrypted

2016-11-09 Thread Tom Lendacky
Since the setup data is in memory in the clear, it must be accessed as un-encrypted. Always use ioremap (similar to sysfs setup data support) to map the data. Signed-off-by: Tom Lendacky --- arch/x86/kernel/kdebugfs.c | 30 +++--- 1 file changed, 11 insertions(+), 19 d

[RFC PATCH v3 20/20] x86: Add support to make use of Secure Memory Encryption

2016-11-09 Thread Tom Lendacky
This patch adds the support to check if SME has been enabled and if the mem_encrypt=on command line option is set. If both of these conditions are true, then the encryption mask is set and the kernel is encrypted "in place." Signed-off-by: Tom Lendacky --- arch/x86/kernel/head_64.S |

[RFC PATCH v3 19/20] x86: Add support to make use of Secure Memory Encryption

2016-11-09 Thread Tom Lendacky
This patch adds the support to check if SME has been enabled and if the mem_encrypt=on command line option is set. If both of these conditions are true, then the encryption mask is set and the kernel is encrypted "in place." Signed-off-by: Tom Lendacky --- arch/x86/kernel/Makefile |

[RFC PATCH v3 15/20] x86: Check for memory encryption on the APs

2016-11-09 Thread Tom Lendacky
Add support to check if memory encryption is active in the kernel and that it has been enabled on the AP. If memory encryption is active in the kernel but has not been enabled on the AP then do not allow the AP to continue start up. Signed-off-by: Tom Lendacky --- arch/x86/include/asm/realmode.h

[RFC PATCH v3 02/20] x86: Set the write-protect cache mode for full PAT support

2016-11-09 Thread Tom Lendacky
For processors that support PAT, set the write-protect cache mode (_PAGE_CACHE_MODE_WP) entry to the actual write-protect value (x05). Acked-by: Borislav Petkov Signed-off-by: Tom Lendacky --- arch/x86/mm/pat.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/

Re: [PATCH v6 4/4] of/fdt: mark hotpluggable memory

2016-11-09 Thread Balbir Singh
On 08/11/16 10:44, Reza Arbab wrote: > When movable nodes are enabled, any node containing only hotpluggable > memory is made movable at boot time. > > On x86, hotpluggable memory is discovered by parsing the ACPI SRAT, > making corresponding calls to memblock_mark_hotplug(). > > If we introduc

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Alex Williamson
On Thu, 10 Nov 2016 01:14:42 +0100 Auger Eric wrote: > Hi, > > On 10/11/2016 00:59, Alex Williamson wrote: > > On Wed, 9 Nov 2016 23:38:50 + > > Will Deacon wrote: > > > >> On Wed, Nov 09, 2016 at 04:24:58PM -0700, Alex Williamson wrote: > >>> On Wed, 9 Nov 2016 22:25:22 + > >>> Wi

[RFC PATCH v3 11/20] x86: Add support for changing memory encryption attribute

2016-11-09 Thread Tom Lendacky
This patch adds support to be change the memory encryption attribute for one or more memory pages. Signed-off-by: Tom Lendacky --- arch/x86/include/asm/cacheflush.h |3 + arch/x86/include/asm/mem_encrypt.h | 13 ++ arch/x86/mm/mem_encrypt.c | 43 + arch/

Re: [PATCH v5 2/5] driver core: Functional dependencies tracking support

2016-11-09 Thread Luis R. Rodriguez
On Wed, Nov 9, 2016 at 4:43 PM, Rafael J. Wysocki wrote: > On Mon, Nov 7, 2016 at 10:22 PM, Luis R. Rodriguez wrote: >> On Thu, Oct 27, 2016 at 05:25:51PM +0200, Greg Kroah-Hartman wrote: >>> On Wed, Oct 26, 2016 at 01:19:02PM +0200, Lukas Wunner wrote: >>> > Hi Rafael, >>> > >>> > sorry for not

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

2016-11-09 Thread kbuild test robot
Hi Wei, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.9-rc4 next-20161109] [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/Wei-Huang/arm64-perf-Move-ARMv8-PMU-perf-event

Re: [PATCH v5 2/5] driver core: Functional dependencies tracking support

2016-11-09 Thread Rafael J. Wysocki
On Mon, Nov 7, 2016 at 10:39 PM, Luis R. Rodriguez wrote: > On Mon, Oct 10, 2016 at 02:51:04PM +0200, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> >> Currently, there is a problem with taking functional dependencies >> between devices into account. >> >> What I mean by a "functional dep

Re: [PATCH] f2fs: support multiple devices

2016-11-09 Thread Jaegeuk Kim
On Wed, Nov 09, 2016 at 03:57:53PM -0700, Andreas Dilger wrote: > On Nov 9, 2016, at 1:56 PM, Jaegeuk Kim wrote: > > > > This patch implements multiple devices support for f2fs. > > Given multiple devices by mkfs.f2fs, f2fs shows them entirely as one big > > volume under one f2fs instance. > > >

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

2016-11-09 Thread Lu Baolu
Hi, On 11/09/2016 05:23 PM, Thomas Gleixner wrote: > On Tue, 1 Nov 2016, Lu Baolu wrote: >> +static int __init xdbc_init(void) >> +{ > ... >> +base = ioremap_nocache(xdbc.xhci_start, xdbc.xhci_length); >> +if (!base) { >> +xdbc_trace("failed to remap the io address\n"); >> +

[PATCH] clk: qcom: ipq806x: Fix board clk rates

2016-11-09 Thread Stephen Boyd
The clocks on these boards run at 25 MHz, not 19.2 and 27 like other platforms. Unfortunately I copy/pasted from other similar SoCs but forgot this one is different. Fix it. Fixes: a085f877a882 ("clk: qcom: Move cxo/pxo/xo into dt files") Signed-off-by: Stephen Boyd --- drivers/clk/qcom/gcc-ipq8

[PATCH] arm: dts: qcom: Fix ipq board clock rates

2016-11-09 Thread Stephen Boyd
The ipq board has these rates as 25MHz, and not 19.2 and 27. I copy/pasted from other boards that have those rates but forgot to fix the rates here. Fixes: 30fc4212d541 ("arm: dts: qcom: Add more board clocks") Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/qcom-ipq8064.dtsi | 4 ++-- 1 file

Re: [PATCH v4 2/2] iommu/exynos: Add proper runtime pm support

2016-11-09 Thread Luis R. Rodriguez
On Thu, Nov 10, 2016 at 01:36:29AM +0100, Rafael J. Wysocki wrote: > On Wed, Nov 9, 2016 at 4:07 PM, Marek Szyprowski > wrote: > > Hi Luis, > > > > > > On 2016-11-08 23:14, Luis R. Rodriguez wrote: > >> > >> On Mon, Oct 10, 2016 at 03:32:06PM +0200, Marek Szyprowski wrote: > >>> > >>> Hi Luis > >>

Re: [PATCH V3 9/9] PM / OPP: Don't assume platform doesn't have regulators

2016-11-09 Thread Stephen Boyd
On 10/26, Viresh Kumar wrote: > If the regulators aren't set explicitly by the platform, the OPP core > assumes that the platform doesn't have any regulator and uses the > clk-only callback. > > If the platform failed to register a regulator with the core, then this > can turn out to be a dangerou

[PATCH] [STYLE] staging:braille ERROR: Use 4 digit octal

2016-11-09 Thread Walt
Fixed one 48: ERROR: Use 4 digit octal (0777) not decimal permissions per checkpatch. Signed-off-by: Walt --- drivers/accessibility/braille/braille_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/accessibility/braille/braille_console.c b/drivers/accessibili

Re: [PATCH v5 5/8] Documentation: bindings: decouple juno specific details from generic binding

2016-11-09 Thread Rob Herring
On Wed, Nov 02, 2016 at 10:52:08PM -0600, Sudeep Holla wrote: > Since SCPI is a generic protocol and the bindings are intended to be > generic, we need to decouple all the platform specific binding details > out of the generic bindings. > > This patch moves are the Juno platform specific details i

Re: [PATCH V3 0/9] PM / OPP: Multiple regulator support

2016-11-09 Thread Stephen Boyd
On 11/02, Viresh Kumar wrote: > On 26-10-16, 12:02, Viresh Kumar wrote: > > Hi, > > > > Some platforms (like TI) have complex DVFS configuration for CPU > > devices, where multiple regulators are required to be configured to > > change DVFS state of the device. This was explained well by Nishanth

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

2016-11-09 Thread Lu Baolu
Hi, On 11/09/2016 05:37 PM, Thomas Gleixner wrote: > On Tue, 1 Nov 2016, Lu Baolu wrote: >> +static void early_xdbc_write(struct console *con, const char *str, u32 n) >> +{ >> +int chunk, ret; >> +static char buf[XDBC_MAX_PACKET]; >> +int use_cr = 0; >> + >> +if (!xdbc.xdbc_reg) >>

[PATCH v3] PM / sleep: don't suspend parent when async child suspend_{noirq,late} fails

2016-11-09 Thread Brian Norris
Consider two devices, A and B, where B is a child of A, and B utilizes asynchronous suspend (it does not matter whether A is sync or async). If B fails to suspend_noirq() or suspend_late(), or is interrupted by a wakeup (pm_wakeup_pending()), then it aborts and sets the async_error variable. Howeve

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

2016-11-09 Thread David Miller
From: Vicente Jiménez Date: Mon, 7 Nov 2016 12:11:59 +0100 > From bfc9a00e6b78d8eb60e46dacd7d761669d29a573 Mon Sep 17 00:00:00 2001 > From: Vicente Jimenez Aguilar > Date: Mon, 31 Oct 2016 13:10:29 +0100 > Subject: [PATCH] ipv4: icmp: Fix pMTU handling for rarest case > > Restore network resist

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

2016-11-09 Thread Rob Herring
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 changed, 3 insertions(+), 1 deleti

Re: [PATCH v5 7/8] Documentation: bindings: Add support for Amlogic GXBB SCPI protocol

2016-11-09 Thread Rob Herring
On Wed, Nov 02, 2016 at 10:52:10PM -0600, Sudeep Holla wrote: > From: Neil Armstrong > > Cc: Rob Herring > Signed-off-by: Neil Armstrong > (decoupled from the generic scpi binding) > Signed-off-by: Sudeep Holla > --- > .../devicetree/bindings/arm/amlogic,scpi.txt | 20 > +

Re: [PATCH] net: mii: report 0 for unknown lp_advertising

2016-11-09 Thread David Miller
From: Arnd Bergmann Date: Tue, 8 Nov 2016 14:31:38 +0100 > The newly introduced mii_ethtool_get_link_ksettings function sets > lp_advertising to an uninitialized value when BMCR_ANENABLE is not > set: > > drivers/net/mii.c: In function 'mii_ethtool_get_link_ksettings': > drivers/net/mii.c:224:2

Re: [Xen PATCH] xen-netback: fix error handling output

2016-11-09 Thread David Miller
From: Arnd Bergmann Date: Tue, 8 Nov 2016 14:34:34 +0100 > The connect function prints an unintialized error code after an > earlier initialization was removed: > > drivers/net/xen-netback/xenbus.c: In function 'connect': > drivers/net/xen-netback/xenbus.c:938:3: error: 'err' may be used > uni

Re: [PATCH] timers: Fix timer inaccuracy

2016-11-09 Thread Joonwoo Park
On 11/09/2016 01:56 AM, Thomas Gleixner wrote: On Wed, 9 Nov 2016, Joonwoo Park wrote: When a new timer list enqueued into the time wheel, array index for the given expiry time is: expires = (expires + LVL_GRAN(lvl)) >> LVL_SHIFT(lvl); idx = LVL_OFFS(lvl) + (expires & LVL_MASK); The gra

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

2016-11-09 Thread David Miller
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 CONFIG_PM_SLEEP, which results in a > warning when PM_SLEEP is not set but PM is:

Re: linux-next: manual merge of the mmc tree with the imx-mxs tree

2016-11-09 Thread Shawn Guo
Hi Ulf, On Thu, Nov 10, 2016 at 11:50:04AM +1100, Stephen Rothwell wrote: > Hi Ulf, > > Today's linux-next merge of the mmc tree got a conflict in: > > arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi > > between commit: > > 784e94eeb377 ("arm64: dts: ls2080a: Add TMU device tree support for

Re: [PATCH v6 1/4] powerpc/mm: allow memory hotplug into a memoryless node

2016-11-09 Thread Michael Ellerman
Reza Arbab writes: > Remove the check which prevents us from hotplugging into an empty node. > > The original commit b226e4621245 ("[PATCH] powerpc: don't add memory to > empty node/zone"), states that this was intended to be a temporary measure. > It is a workaround for an oops which no longer o

Re: [PATCH V2 5/8] PM / OPP: Add infrastructure to manage multiple regulators

2016-11-09 Thread Stephen Boyd
On 10/26, Viresh Kumar wrote: > On 25-10-16, 09:49, Stephen Boyd wrote: > > On 10/20, Viresh Kumar wrote: > > > diff --git a/drivers/base/power/opp/core.c b/drivers/base/power/opp/core.c > > > index 37fad2eb0f47..45c70ce07864 100644 > > > --- a/drivers/base/power/opp/core.c > > > +++ b/drivers/base

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

2016-11-09 Thread Jaewon Kim
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 Kim wrote: Commit 6b03ae0d42bf (drivers: dma-cohe

Re: task isolation discussion at Linux Plumbers

2016-11-09 Thread Andy Lutomirski
On Wed, Nov 9, 2016 at 9:38 AM, Paul E. McKenney wrote: Are you planning on changing rcu_nmi_enter()? It would make it easier to figure out how they interact if I could see the code. > diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c > index dbf20b058f48..342c8ee402d6 100644 > --- a/kernel/rc

Re: [PATCH v2 2/3] firmware: qcom: scm: Remove core, iface and bus clocks dependency

2016-11-09 Thread Stephen Boyd
On 11/03, Sarangdhar Joshi wrote: > diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c > index d79fecd..844e90d 100644 > --- a/drivers/firmware/qcom_scm.c > +++ b/drivers/firmware/qcom_scm.c > @@ -380,32 +384,40 @@ EXPORT_SYMBOL(qcom_scm_is_available); > static int qcom_scm_pro

Re: Proposal: HAVE_SEPARATE_IRQ_STACK?

2016-11-09 Thread Jason A. Donenfeld
On Thu, Nov 10, 2016 at 1:17 AM, David Daney wrote: > Easiest thing to do would be to select 16K page size in your .config, I > think that will give you a similar sized stack. I didn't realize that was possible... I'm mostly concerned about the best way to deal with systems that have a limited s

Re: [PATCH v2 3/3] firmware: qcom: scm: Return PTR_ERR when devm_clk_get fails

2016-11-09 Thread Stephen Boyd
On 11/03, Sarangdhar Joshi wrote: > When devm_clk_get fails for core clock, the failure was ignored > and the core_clk was explicitly set to NULL so that other > remaining clocks can be queried. However, now that we have a > cleaner way of expressing the clock dependency, return failure > when devm

Re: [PATCH v2 1/3] dt-bindings: firmware: scm: Add MSM8996 DT bindings

2016-11-09 Thread Stephen Boyd
On 11/03, Sarangdhar Joshi wrote: > Add SCM DT bindings for Qualcomm's MSM8996 platform. > > Acked-by: Rob Herring > Signed-off-by: Sarangdhar Joshi > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH 1/1] arm64: dts: msm8996: Add SCM DT node

2016-11-09 Thread Stephen Boyd
On 10/28, Sarangdhar Joshi wrote: > Add SCM DT node to enable SCM functionality on MSM8996. > > Signed-off-by: Sarangdhar Joshi > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: Proposal: HAVE_SEPARATE_IRQ_STACK?

2016-11-09 Thread David Daney
On 11/09/2016 01:27 PM, Jason A. Donenfeld wrote: Hi folks, I do some ECC crypto in a kthread. A fast 32bit implementation usually uses around 2k - 3k bytes of stack. Since kernel threads get 8k, I figured this would be okay. And for the most part, it is. However, everything falls apart on archi

Re: [PATCH v2 1/3] firmware: qcom: scm: add a video command for state setting

2016-11-09 Thread Stephen Boyd
On 11/07, Stanimir Varbanov wrote: > diff --git a/drivers/firmware/qcom_scm.c b/drivers/firmware/qcom_scm.c > index d95c70227c05..7e364691a87c 100644 > --- a/drivers/firmware/qcom_scm.c > +++ b/drivers/firmware/qcom_scm.c > @@ -320,6 +320,22 @@ bool qcom_scm_is_available(void) > } > EXPORT_SYMBOL

Re: [PATCH v3] PM / sleep: don't suspend parent when async child suspend_{noirq,late} fails

2016-11-09 Thread Rafael J. Wysocki
On Thu, Nov 10, 2016 at 2:21 AM, Brian Norris wrote: > Consider two devices, A and B, where B is a child of A, and B utilizes > asynchronous suspend (it does not matter whether A is sync or async). If > B fails to suspend_noirq() or suspend_late(), or is interrupted by a > wakeup (pm_wakeup_pendin

[PATCH] um: Fix compile failure due to current_text_address() definition

2016-11-09 Thread Keno Fischer
Fixes the following link error: ``` /usr/bin/ld: net/built-in.o: relocation R_X86_64_32S against `.text' can not be used when making a shared object; recompile with -fPIC ``` This is the same definition used on some other architectures. Signed-off-by: Keno Fischer --- I am not sure this is the c

Re: [PATCH v2 2/3] dt-binding: remoteproc: venus rproc dt binding document

2016-11-09 Thread Stephen Boyd
On 11/07, Stanimir Varbanov wrote: > diff --git a/Documentation/devicetree/bindings/remoteproc/qcom,venus.txt > b/Documentation/devicetree/bindings/remoteproc/qcom,venus.txt > new file mode 100644 > index ..06a2db60fa38 > --- /dev/null > +++ b/Documentation/devicetree/bindings/remotepr

[PATCH] gpio: Guard devm_* functions behind CONFIG_GPIO_DEVRES not CONFIG_GPIOLIB

2016-11-09 Thread Keno Fischer
These functions are defined in devres.c, which only gets compiled with CONFIG_GPIO_DEVRES (in addition to CONFIG_GPIOLIB). However, in the header files, the difference between the declaration and the inline stub was only guarded by CONFIG_GPIOLIB, not CONFIG_GPIO_DEVRES, causing undefined symbol pr

Re: [PATCH v3] PM / sleep: don't suspend parent when async child suspend_{noirq,late} fails

2016-11-09 Thread Brian Norris
On Thu, Nov 10, 2016 at 02:53:20AM +0100, Rafael J. Wysocki wrote: > On Thu, Nov 10, 2016 at 2:21 AM, Brian Norris > wrote: > > diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c > > index c58563581345..57a8ca4bc8ab 100644 > > --- a/drivers/base/power/main.c > > +++ b/drivers/base

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Will Deacon
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: > > >> On Wed, Nov 09, 2016 at 04:24:58PM -0700, Alex Williams

[PATCH] PM / wakeirq: forward declare 'struct device'

2016-11-09 Thread Brian Norris
Drivers might include this header without . Signed-off-by: Brian Norris --- include/linux/pm_wakeirq.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/pm_wakeirq.h b/include/linux/pm_wakeirq.h index cd5b62db9084..49c2220fb245 100644 --- a/include/linux/pm_wakeirq.h +++ b/incl

Re: [PATCH v3 8/9] media: venus: add Makefiles and Kconfig files

2016-11-09 Thread Stephen Boyd
On 11/07, Stanimir Varbanov wrote: > diff --git a/drivers/media/platform/qcom/Kconfig > b/drivers/media/platform/qcom/Kconfig > new file mode 100644 > index ..bf4d2fcce924 > --- /dev/null > +++ b/drivers/media/platform/qcom/Kconfig > @@ -0,0 +1,7 @@ > + > +menuconfig VIDEO_QCOM_VENUS >

Re: [PATCH 4/4] dts: arm64: enable mmc3 for supporting sdio feature

2016-11-09 Thread Yingjoe Chen
On Tue, 2016-11-08 at 14:09 +0800, Yong Mao wrote: > From: yong mao > > Add description of mmc3 for supporting sdio feature > > Signed-off-by: Yong Mao > Signed-off-by: Chaotian Jing > --- > arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 82 > +++ > 1 file changed, 8

Re: [PATCH] f2fs: support multiple devices

2016-11-09 Thread Qu Wenruo
At 11/10/2016 06:57 AM, Andreas Dilger wrote: On Nov 9, 2016, at 1:56 PM, Jaegeuk Kim wrote: This patch implements multiple devices support for f2fs. Given multiple devices by mkfs.f2fs, f2fs shows them entirely as one big volume under one f2fs instance. Internal block management is very si

Re: [PATCH 3/3] clk: qcom: Set BRANCH_HALT_DELAY flags for venus core0/1 clks

2016-11-09 Thread Rajendra Nayak
[].. >> >> The proper sequence sounds like it should be: >> >> 1. Enable GDSC for main domain >> 2. Enable clocks for main domain (video_{core,maxi,ahb,axi}_clk) >> 3. Write the two registers to assert hw signal for subdomains >> 4. Enable GDSCs for two subdomains >> 5. E

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

2016-11-09 Thread Hanjun Guo
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, which makes the interrupt producer and consumer work

Re: [PATCH v5] Net Driver: Add Cypress GX3 VID=04b4 PID=3610.

2016-11-09 Thread David Miller
From: Date: Tue, 8 Nov 2016 16:08:01 -0600 > From: Allan Chou > > Add support for Cypress GX3 SuperSpeed to Gigabit Ethernet > Bridge Controller (Vendor=04b4 ProdID=3610). > > Patch verified on x64 linux kernel 4.7.4, 4.8.6, 4.9-rc4 systems > with the Kensington SD4600P USB-C Universal Dock wi

Re: [PATCH v4] KVM: x86: emulate FXSAVE and FXRSTOR

2016-11-09 Thread Fengguang Wu
-next] [also build test ERROR on v4.9-rc4 next-20161109] [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/Radim-Kr-m/KVM-x86-emulate-FXSAVE-and-FXRSTOR/20161110-021048 base: https://git.kernel.org

Re: [PATCH] phy: rockchip-inno-usb2: correct 480MHz output clock stable time

2016-11-09 Thread wlf
Hi Doug, 在 2016年11月10日 04:54, Doug Anderson 写道: Hi, On Mon, Nov 7, 2016 at 5:00 AM, William Wu wrote: We found that the system crashed due to 480MHz output clock of USB2 PHY was unstable after clock had been enabled by gpu module. Theoretically, 1 millisecond is a critical value for 480MHz o

Re: linux-next: build warning after merge of the akpm-current tree

2016-11-09 Thread Stephen Rothwell
Hi Andrew, On Wed, 9 Nov 2016 13:21:53 -0800 Andrew Morton wrote: > > On Wed, 9 Nov 2016 15:18:24 +0800 Huang Shijie wrote: > > > On Wed, Nov 09, 2016 at 03:10:06PM +1100, Stephen Rothwell wrote: > > Hi Stephen, > > > Hi Andrew, > > > > > > After merging the akpm-current tree, today's linux

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

2016-11-09 Thread tnhuynh
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: - Correct coding conventions - Make clean Change

Re: [PATCH] iio: cros_ec_sensors_core: fix unsigned compared less than zero on status

2016-11-09 Thread Guenter Roeck
On Wed, Nov 9, 2016 at 3:12 PM, Colin King wrote: > From: Colin Ian King > > status is a u8 hence the check if status is less than zero has no effect. > Fix this by replacing status with int ret so the less than zero compare > will correctly detect errors. > > Issue found with static analysis wit

Re: [RFC] mem-hotplug: shall we skip unmovable node when doing numa balance?

2016-11-09 Thread Xishi Qiu
On 2016/11/9 19:58, Mel Gorman wrote: > On Tue, Nov 08, 2016 at 12:43:17PM +0800, Xishi Qiu wrote: >> On mem-hotplug system, there is a problem, please see the following case. >> >> memtester xxG, the memory will be alloced on a movable node. And after numa >> balancing, the memory may be migrated

Re: [PATCH v2 2/6] mfd: dt: Add bindings for the Aspeed SoC Display Controller (GFX)

2016-11-09 Thread Joel Stanley
On Thu, Nov 10, 2016 at 4:56 AM, Rob Herring wrote: > On Thu, Nov 03, 2016 at 01:07:57AM +1030, Andrew Jeffery wrote: >> The Aspeed SoC Display Controller is presented as a syscon device to >> arbitrate access by display and pinmux drivers. Video pinmux >> configuration on fifth generation SoCs de

Re: [PATCH V11 1/1] usb:serial: Add Fintek F81532/534 driver

2016-11-09 Thread Ji-Ze Hong (Peter Hong)
Hi Johan, Johan Hovold 於 2016/11/2 下午 08:37 寫道: On Fri, Oct 14, 2016 at 04:20:46PM +0800, Ji-Ze Hong (Peter Hong) wrote: Reviewed-by: Johan Hovold You must never add other peoples' Reviewed-by tags unless you've explicitly been given permission to do so (e.g. "fix this minor thing up and th

Re: [PATCH 1/4] x86/cpufeature: Add User-Mode Instruction Prevention definitions

2016-11-09 Thread Ricardo Neri
On Wed, 2016-11-09 at 03:02 -0800, Andy Lutomirski wrote: > On Tue, Nov 8, 2016 at 8:25 PM, Ricardo Neri > wrote: > > On Tue, 2016-11-08 at 07:32 -0800, Andy Lutomirski wrote: > >> > diff --git a/arch/x86/include/asm/disabled-features.h > >> b/arch/x86/include/asm/disabled-features.h > >> > index

[PATCH v10 01/10] kexec_file: Allow arch-specific memory walking for kexec_add_buffer

2016-11-09 Thread Thiago Jung Bauermann
Allow architectures to specify a different memory walking function for kexec_add_buffer. x86 uses iomem to track reserved memory ranges, but PowerPC uses the memblock subsystem. Signed-off-by: Thiago Jung Bauermann Acked-by: Dave Young Acked-by: Balbir Singh --- include/linux/kexec.h | 29 ++

[PATCH v10 00/10] kexec_file_load implementation for PowerPC

2016-11-09 Thread Thiago Jung Bauermann
Hello, [ Andrew, you might want to wait until the kexec maintainers say whether they agree with patch 4 before picking up this version. ] v10 addresses two requests from Michael Ellerman: build the purgatory as a Position Independent Executable binary to reduce the number of relocation types th

[PATCH v10 04/10] kexec_file: Add support for purgatory built as PIE.

2016-11-09 Thread Thiago Jung Bauermann
powerpc's purgatory.ro has 12 relocation types when built as a relocatable object. To implement support for them requires arch_kexec_apply_relocations_add to duplicate a lot of code with module_64.c:apply_relocate_add. When built as a Position Independent Executable there are only 4 relocation typ

[PATCH v10 08/10] powerpc: Add support for loading ELF kernels with kexec_file_load.

2016-11-09 Thread Thiago Jung Bauermann
This uses all the infrastructure built up by the previous patches in the series to load an ELF vmlinux file and an initrd. It uses the flattened device tree at initial_boot_params as a base and adjusts memory reservations and its /chosen node for the next kernel. [a...@linux-foundation.org: coding

<    4   5   6   7   8   9   10   >