Re: [PATCH] x86/tsc: RFC: re-synchronize TSCs to boot cpu TSC

2016-12-08 Thread Thomas Gleixner
On Thu, 8 Dec 2016, srol...@vmware.com wrote: > From: Roland Scheidegger > > Some bios (Dell T5810 here) mess up the perfectly synced TSCs on boot > and resume (probably trying to set some continuous time, but writing > TSC directly instead of TSC_ADJUST which can only result in failure). > This

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-08 Thread Tomi Valkeinen
On 08/12/16 03:01, Benjamin Herrenschmidt wrote: > On Wed, 2016-11-23 at 10:03 +0200, Tomi Valkeinen wrote: >> Hi, >> >> Since the fbdev framework is in maintenance mode and all new display drivers >> should be made with the DRM framework, remove the fbdev drivers from staging. >> >> Note: the patc

Re: [patch] mm, compaction: add vmstats for kcompactd work

2016-12-08 Thread Vlastimil Babka
On 12/08/2016 02:50 AM, David Rientjes wrote: A "compact_daemon_wake" vmstat exists that represents the number of times kcompactd has woken up. This doesn't represent how much work it actually did, though. It's useful to understand how much compaction work is being done by kcompactd versus othe

[PATCH] pci-error-recover: doc cleanup

2016-12-08 Thread Cao jin
Include typo fix; white space shooting; mistake correction. Signed-off-by: Cao jin --- Documentation/PCI/pci-error-recovery.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/PCI/pci-error-recovery.txt b/Documentation/PCI/pci-error-recovery.txt in

Re: [PATCH v2] inotify: Convert to using per-namespace limits

2016-12-08 Thread Nikolay Borisov
On 8.12.2016 08:58, Nikolay Borisov wrote: > > > On 8.12.2016 03:40, Eric W. Biederman wrote: >> Nikolay Borisov writes: >> >>> Gentle ping, now that rc1 has shipped and Jan's sysctl concern hopefully >>> resolved. >> >> After getting slowed down by some fixes I am now taking a hard look at

Re: [PATCH 5/8] efi: Get the secure boot status [ver #5]

2016-12-08 Thread David Howells
How about the attached? Thanks, David --- commit 6788837a26d517d10d00138aadd338cc73d69237 Author: David Howells Date: Mon Nov 21 23:55:55 2016 + efi: Get the secure boot status Get the firmware's secure-boot status in the kernel boot wrapper and stash it somewhere that the

Re: [PATCH 2/2] x86/KASLR/64: Determine kernel text mapping size at runtime

2016-12-08 Thread Alexnader Kuleshov
Hello, On 12-08-16, Baoquan He wrote: > X86 64 kernel takes KERNEL_IMAGE_SIZE as the kernel text mapping size, > and it's fixed as compiling time, changing from 512M to 1G as long as > CONFIG_RANDOMIZE_BASE is enabled, though people specify kernel option > "nokaslr" explicitly. > > This could be

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7

2016-12-08 Thread Jesper Dangaard Brouer
On Wed, 7 Dec 2016 23:25:31 + Mel Gorman wrote: > On Wed, Dec 07, 2016 at 09:19:58PM +, Mel Gorman wrote: > > At small packet sizes on localhost, I see relatively low page allocator > > activity except during the socket setup and other unrelated activity > > (khugepaged, irqbalance, some

Re: [PATCH 1/2] x86/64: Make kernel text mapping always take one whole page table in early boot code

2016-12-08 Thread Alexnader Kuleshov
On 12-08-16, Baoquan He wrote: > In early boot code level2_kernel_pgt is used to map kernel text. And its > size varies according to KERNEL_IMAGE_SIZE and fixed at compiling time. > In fact we can make it always takes 512 entries of one whople page table, > because later function cleanup_highmap wi

Re: [PATCH 2/2] x86/KASLR/64: Determine kernel text mapping size at runtime

2016-12-08 Thread Baoquan He
On 12/08/16 at 02:17pm, Alexnader Kuleshov wrote: > Hello, > > On 12-08-16, Baoquan He wrote: > > #define KERNEL_MAPPING_SIZE_EXT(1024 * 1024 * 1024) > > -#if defined(CONFIG_RANDOMIZE_BASE) > > -#define KERNEL_IMAGE_SIZE KERNEL_MAPPING_SIZE_EXT > > -#else > > -#define KERNEL_IMAGE_SIZE (512

[PATCH v5 1/5] dt-bindings: Document the STM32 I2C bindings

2016-12-08 Thread M'boumba Cedric Madianga
This patch adds documentation of device tree bindings for the STM32 I2C controller. Signed-off-by: M'boumba Cedric Madianga Acked-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-stm32.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentatio

[PATCH v5 2/5] i2c: Add STM32F4 I2C driver

2016-12-08 Thread M'boumba Cedric Madianga
This patch adds support for the STM32F4 I2C controller. Signed-off-by: M'boumba Cedric Madianga --- drivers/i2c/busses/Kconfig | 10 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-stm32f4.c | 851 +++ 3 files changed, 862 insertions(

[PATCH v5 5/5] ARM: configs: Add I2C support for STM32 defconfig

2016-12-08 Thread M'boumba Cedric Madianga
Signed-off-by: M'boumba Cedric Madianga --- arch/arm/configs/stm32_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/stm32_defconfig b/arch/arm/configs/stm32_defconfig index e7b56d4..9494eaf 100644 --- a/arch/arm/configs/stm32_defconfig +++ b/arch/arm/configs/stm32

Re: [PATCH] extcon: palmas: Fail gracefully if invalid configuration

2016-12-08 Thread Roger Quadros
Hi Chanwoo, On 07/12/16 14:46, Chanwoo Choi wrote: > Hi Roger, > > Looks good to me. > But I have some comment. > > How about changing the subject as following? > > - old : Fail gracefully if invalid configuration > - new : Check the parent instance to prevent the NULL pointer error I'm OK wit

[PATCH v5 0/5] Add support for the STM32F4 I2C

2016-12-08 Thread M'boumba Cedric Madianga
This patchset adds support for the I2C controller embedded in STM32F4xx SoC. It enables I2C transfer in interrupt mode with Standard-mode and Fast-mode bus speed. Changes since v4: - Use clamp() function to use a value in a given range as it was missed in V4 M'boumba Cedric Madianga (5): dt-bin

[PATCH v5 4/5] ARM: dts: Add I2C1 support for STM32429 eval board

2016-12-08 Thread M'boumba Cedric Madianga
Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32429i-eval.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index afb90bc..74e0045 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/ar

[PATCH v5 3/5] ARM: dts: Add I2C1 support for STM32F429 SoC

2016-12-08 Thread M'boumba Cedric Madianga
Signed-off-by: Patrice Chotard Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32f429.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/stm32f429.dtsi b/arch/arm/boot/dts/stm32f429.dtsi index 7de52ee..cbdece7 100644 --- a/arch/ar

Re: [PATCH] x86/vm86: fix compilation warning on a unused variable

2016-12-08 Thread Borislav Petkov
On Wed, Dec 07, 2016 at 11:38:33PM -0500, Jérémy Lefaure wrote: > When CONFIG_TRANSPARENT_HUGEPAGE is disabled, split_huge_pmd is a no-op > stub. In such case, vma is unused and a compiler raises a warning: > > arch/x86/kernel/vm86_32.c: In function ‘mark_screen_rdonly’: > arch/x86/kernel/vm86_32.

[PATCH] fbdev: remove current maintainer

2016-12-08 Thread Tomi Valkeinen
Remove Tomi Valkeinen from fbdev maintainer and mark fbdev as orphan. Signed-off-by: Tomi Valkeinen --- I just don't have time to even pretend I maintain fbdev, so mark it as Orphan. Anyone want to pick fbdev maintainership? MAINTAINERS | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

Re: [PATCH v5 5/5] ARM: configs: Add I2C support for STM32 defconfig

2016-12-08 Thread Alexandre Torgue
Hi Cedric, On 12/08/2016 09:26 AM, M'boumba Cedric Madianga wrote: Signed-off-by: M'boumba Cedric Madianga --- arch/arm/configs/stm32_defconfig | 3 +++ 1 file changed, 3 insertions(+) Can you change the commit header by ARM: configs: stm32: Add I2C support Thx alex diff --git a/arch/a

Re: [PATCH v5 4/5] ARM: dts: Add I2C1 support for STM32429 eval board

2016-12-08 Thread Alexandre Torgue
Hi Cedric, On 12/08/2016 09:26 AM, M'boumba Cedric Madianga wrote: Signed-off-by: M'boumba Cedric Madianga --- arch/arm/boot/dts/stm32429i-eval.dts | 6 ++ 1 file changed, 6 insertions(+) Can you change the commit header by: ARM: dts: stm32: Add I2C1 support for STM32429 eval board thx

Re: [BUG 4.9] New led trigger usbport gets the kernel to panic

2016-12-08 Thread Jacek Anaszewski
Hi Rafał, On 12/06/2016 06:29 PM, Rafał Miłecki wrote: On 6 December 2016 at 18:26, Pavel Machek wrote: On Fri 2016-12-02 09:48:18, Ralph Sennhauser wrote: On Thu, 1 Dec 2016 17:56:07 +0100 Rafał Miłecki wrote: On 12/01/2016 03:28 PM, Ralph Sennhauser wrote: Below the oops with your debug

Re: [PATCH 1/2] x86/64: Make kernel text mapping always take one whole page table in early boot code

2016-12-08 Thread Baoquan He
On 12/08/16 at 02:24pm, Alexnader Kuleshov wrote: > On 12-08-16, Baoquan He wrote: > > In early boot code level2_kernel_pgt is used to map kernel text. And its > > size varies according to KERNEL_IMAGE_SIZE and fixed at compiling time. > > In fact we can make it always takes 512 entries of one whop

[PATCH v2] extcon: palmas: Check the parent instance to prevent the NULL

2016-12-08 Thread Roger Quadros
extcon-palmas must be child of palmas and expects parent's drvdata to be valid. Check for non NULL parent drvdata and fail if it is NULL. Not doing so will result in a NULL pointer dereference later in the probe() parent drvdata is NULL (e.g. misplaced extcon-palmas node in device tree). Signed-of

Re: [PATCH v5 5/5] ARM: configs: Add I2C support for STM32 defconfig

2016-12-08 Thread M'boumba Cedric Madianga
Hi Alex, 2016-12-08 9:38 GMT+01:00 Alexandre Torgue : > Hi Cedric, > > On 12/08/2016 09:26 AM, M'boumba Cedric Madianga wrote: >> >> Signed-off-by: M'boumba Cedric Madianga >> --- >> arch/arm/configs/stm32_defconfig | 3 +++ >> 1 file changed, 3 insertions(+) >> > Can you change the commit heade

Re: [PATCH] platform: Introduce button support for the Surface 3

2016-12-08 Thread Benjamin Tissoires
On Dec 07 2016 or thereabouts, Dmitry Torokhov wrote: > On Mon, Dec 05, 2016 at 04:10:33PM +0100, Benjamin Tissoires wrote: > > The Surface 3 is not following the ACPI spec for PNP0C40, but nearly. > > The device is connected to a I2C device that might have some magic > > but we don't know about. >

Re: [PATCH v5 4/5] ARM: dts: Add I2C1 support for STM32429 eval board

2016-12-08 Thread M'boumba Cedric Madianga
Hi Alex, 2016-12-08 9:39 GMT+01:00 Alexandre Torgue : > Hi Cedric, > > On 12/08/2016 09:26 AM, M'boumba Cedric Madianga wrote: >> >> Signed-off-by: M'boumba Cedric Madianga >> --- >> arch/arm/boot/dts/stm32429i-eval.dts | 6 ++ >> 1 file changed, 6 insertions(+) >> > Can you change the comm

Re: [PATCH v3 2/6] net: stmmac: simplify the common DMA init API

2016-12-08 Thread Alexandre Torgue
Hi Niklas, On 12/07/2016 03:20 PM, Niklas Cassel wrote: From: Niklas Cassel Use struct stmmac_dma_cfg *dma_cfg as an argument rather than using all the struct members as individual arguments. Signed-off-by: Niklas Cassel Thanks for this patch. You can add my Acked-by. Regards Alex ---

Re: [PATCH] MAINTAINERS: clarify that "B:" is the URI where to file bugs

2016-12-08 Thread Jani Nikula
On Thu, 08 Dec 2016, "Rafael J. Wysocki" wrote: > On Wednesday, December 07, 2016 10:35:07 AM Jani Nikula wrote: >> On Wed, 07 Dec 2016, "Rafael J. Wysocki" wrote: >> > On Monday, December 05, 2016 02:03:59 PM Jani Nikula wrote: >> >> Different subsystems and drivers have different preferences fo

Re: [PATCH v3 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding

2016-12-08 Thread Alexandre Torgue
Hi Niklas On 12/07/2016 03:20 PM, Niklas Cassel wrote: From: Niklas Cassel commit 64c3b252e9fc ("net: stmmac: fixed the pbl setting with DT") changed the parsing of the DT binding. Before 64c3b252e9fc, snps,fixed-burst and snps,mixed-burst were parsed regardless if the property snps,pbl exist

Re: Question about ctr mode 3des-ede IV len

2016-12-08 Thread Herbert Xu
On Wed, Dec 07, 2016 at 08:43:16PM +0800, Longpeng (Mike) wrote: > Hi Jussi and Herbert, > > I saw serveral des3-ede testcases(in crypto/testmgr.h) has 16-bytes IV, and > the > libgcrypt/nettle/RFC1851 said the IV-len is 8-bytes. > > Would you please tell me why these testcases has 16-bytes IV ?

Re: [PATCH v1 1/2] Add crypto driver support for some MediaTek chips

2016-12-08 Thread Ryder Lee
Hello, On Mon, 2016-12-05 at 09:52 +0100, Corentin Labbe wrote: > Hello > > I have two minor comment. > > On Mon, Dec 05, 2016 at 03:01:23PM +0800, Ryder Lee wrote: > > This adds support for the MediaTek hardware accelerator on > > mt7623/mt2701/mt8521p SoC. > > > > This driver currently implem

Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG

2016-12-08 Thread Herbert Xu
On Wed, Dec 07, 2016 at 01:51:27PM +0100, Corentin Labbe wrote: > > So I must expose it as a crypto_rng ? If it is to be exposed at all then algif_rng would be the best place. > Could you explain why PRNG must not be used as hw_random ? The hwrng interface was always meant to be an interface fo

[PATCH] x86/smpboot: Make logical package management more robust

2016-12-08 Thread Thomas Gleixner
The logical package management has several issues: - The APIC ids provided by ACPI are not required to be the same as the initial APIC id which can be retrieved by CPUID. The APIC ids provided by ACPI are those which are written by the BIOS into the APIC. The initial id is set by hardwar

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

2016-12-08 Thread Herbert Xu
On Thu, Dec 08, 2016 at 08:31:16AM +1100, Stephen Rothwell wrote: > Hi Herbert, > > After merging the crypto-current tree, today's linux-next build (x86_64 > allmodconig) produced this warning: > > crypto/algif_aead.c: In function 'aead_recvmsg': > crypto/algif_aead.c:539:9: warning: 'outlen' may

Re: [PATCH] doc: Explain light-handed markup preference a bit better

2016-12-08 Thread Mauro Carvalho Chehab
Em Wed, 7 Dec 2016 12:39:24 -0700 Jonathan Corbet escreveu: > On Wed, 7 Dec 2016 16:42:58 +0100 > Daniel Vetter wrote: > > > We already had a super-short blurb, but worth extending it I think: > > We're still pretty far away from anything like a consensus, but > > there's clearly a lot of peop

Re: [PATCH v3 4/6] net: stmmac: dwmac1000: fix define DMA_BUS_MODE_RPBL_MASK

2016-12-08 Thread Alexandre Torgue
Hi Niklas On 12/07/2016 03:20 PM, Niklas Cassel wrote: From: Niklas Cassel DMA_BUS_MODE_RPBL_MASK is really 6 bits, just like DMA_BUS_MODE_PBL_MASK. Signed-off-by: Niklas Cassel --- drivers/net/ethernet/stmicro/stmmac/dwmac1000.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

Re: [PATCH] x86/smpboot: Make logical package management more robust

2016-12-08 Thread Borislav Petkov
On Thu, Dec 08, 2016 at 10:04:25AM +0100, Thomas Gleixner wrote: > The logical package management has several issues: > > - The APIC ids provided by ACPI are not required to be the same as the >initial APIC id which can be retrieved by CPUID. The APIC ids provided >by ACPI are those which

[tip:smp/urgent] hotplug: Make register and unregister notifier API symmetric

2016-12-08 Thread tip-bot for Michal Hocko
Commit-ID: 777c6e0daebb3fcefbbd6f620410a946b07ef6d0 Gitweb: http://git.kernel.org/tip/777c6e0daebb3fcefbbd6f620410a946b07ef6d0 Author: Michal Hocko AuthorDate: Wed, 7 Dec 2016 14:54:38 +0100 Committer: Thomas Gleixner CommitDate: Thu, 8 Dec 2016 10:08:41 +0100 hotplug: Make register an

Re: Question about ctr mode 3des-ede IV len

2016-12-08 Thread Longpeng (Mike)
On 2016/12/8 17:04, Herbert Xu wrote: > On Wed, Dec 07, 2016 at 08:43:16PM +0800, Longpeng (Mike) wrote: >> Hi Jussi and Herbert, >> >> I saw serveral des3-ede testcases(in crypto/testmgr.h) has 16-bytes IV, and >> the >> libgcrypt/nettle/RFC1851 said the IV-len is 8-bytes. >> >> Would you plea

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7

2016-12-08 Thread Mel Gorman
On Thu, Dec 08, 2016 at 09:22:31AM +0100, Jesper Dangaard Brouer wrote: > On Wed, 7 Dec 2016 23:25:31 + > Mel Gorman wrote: > > > On Wed, Dec 07, 2016 at 09:19:58PM +, Mel Gorman wrote: > > > At small packet sizes on localhost, I see relatively low page allocator > > > activity except dur

Re: [PATCH v1 2/2] crypto: mediatek - add DT bindings documentation

2016-12-08 Thread Ryder Lee
Hello, On Mon, 2016-12-05 at 11:18 +0100, Matthias Brugger wrote: > > On 05/12/16 08:01, Ryder Lee wrote: > > Add DT bindings documentation for the crypto driver > > > > Signed-off-by: Ryder Lee > > --- > > .../devicetree/bindings/crypto/mediatek-crypto.txt | 32 > > ++ > >

Re: [PATCH 2/5] x86: remove idle_notifier

2016-12-08 Thread Thomas Gleixner
On Wed, 7 Dec 2016, Pavel Machek wrote: > On Wed 2016-12-07 12:46:12, Thomas Gleixner wrote: > > On Tue, 6 Dec 2016, Pavel Machek wrote: > > > > From: Len Brown > > > > > > > > Upon removal of the i7300_idle driver, the idle_notifer is unused. > > > > > > Actually... do we want to keep this this

Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG

2016-12-08 Thread Corentin Labbe
On Thu, Dec 08, 2016 at 05:06:18PM +0800, Herbert Xu wrote: > On Wed, Dec 07, 2016 at 01:51:27PM +0100, Corentin Labbe wrote: > > > > So I must expose it as a crypto_rng ? > > If it is to be exposed at all then algif_rng would be the best > place. > I have badly said my question. So I need to u

Re: [RFC v3 00/10] KVM PCIe/MSI passthrough on ARM/ARM64 and IOVA reserved regions

2016-12-08 Thread Auger Eric
Hi, On 15/11/2016 14:09, Eric Auger wrote: > Following LPC discussions, we now report reserved regions through > iommu-group sysfs reserved_regions attribute file. While I am respinning this series into v4, here is a tentative summary of technical topics for which no consensus was reached at thi

Re: [PATCH v2] kexec: add cond_resched into kimage_alloc_crash_control_pages

2016-12-08 Thread Xunlei Pang
On 12/08/2016 at 10:37 AM, zhongjiang wrote: > From: zhong jiang > > A soft lookup will occur when I run trinity in syscall kexec_load. > the corresponding stack information is as follows. > > [ 237.235937] BUG: soft lockup - CPU#6 stuck for 22s! [trinity-c6:13859] > [ 237.242699] Kernel panic -

Re: [PATCH v4 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-12-08 Thread Felipe Balbi
Hi, Baolin Wang writes: > Hi Felipe, > > On 28 November 2016 at 14:43, Baolin Wang wrote: >> For some mobile devices with strict power management, we also want to suspend >> the host when the slave is detached for power saving. Thus we add the host >> suspend/resume functions to support this re

Re: [PATCH 2/2] x86/KASLR/64: Determine kernel text mapping size at runtime

2016-12-08 Thread kbuild test robot
Hi Baoquan, [auto build test WARNING on tip/x86/core] [also build test WARNING on v4.9-rc8 next-20161208] [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/Baoquan-He/Determine-kernel-text-mapping

Re: [PATCH 2/2] x86/KASLR/64: Determine kernel text mapping size at runtime

2016-12-08 Thread kbuild test robot
Hi Baoquan, [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.9-rc8 next-20161208] [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/Baoquan-He/Determine-kernel-text-mapping

Re: [PATCH v3 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding

2016-12-08 Thread Niklas Cassel
On 12/08/2016 10:02 AM, Alexandre Torgue wrote: > Hi Niklas > > On 12/07/2016 03:20 PM, Niklas Cassel wrote: >> From: Niklas Cassel >> >> commit 64c3b252e9fc ("net: stmmac: fixed the pbl setting with DT") >> changed the parsing of the DT binding. >> >> Before 64c3b252e9fc, snps,fixed-burst and snp

[PATCH 3/5] Documentation: dt: mtd: add chip support for "jedec, spi-nor"

2016-12-08 Thread Yuan Yao
From: Yuan Yao "sst25wf040b" and "en25s64" are also chip compatible with SPI NOR flash. Signed-off-by: Yuan Yao --- Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt b/Documenta

Re: [PATCH 1/3] hyperv: Move hv_pci_dev and related structs to hyperv.h

2016-12-08 Thread kbuild test robot
Hi Haiyang, [auto build test ERROR on next-20161208] [also build test ERROR on v4.9-rc8] [cannot apply to linus/master linux/master pci/next v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [PATCH] ASoC: Intel: Skylake: remove unused 'out_fmt' variable

2016-12-08 Thread Vinod Koul
On Wed, Dec 07, 2016 at 10:01:42PM -0800, Kirtika Ruchandani wrote: > Commit 4cd9899f0d16 introduced struct skl_module_fmt* out_fmt without > using it. Compiling with W=1 gives the below warning, fix it. > > sound/soc/intel/skylake/skl-topology.c: In function > ‘skl_tplg_update_buffer_size’: > so

Re: [PATCH v3 3/6] net: stmmac: stmmac_platform: fix parsing of DT binding

2016-12-08 Thread Alexandre Torgue
Hi On 12/08/2016 10:46 AM, Niklas Cassel wrote: On 12/08/2016 10:02 AM, Alexandre Torgue wrote: Hi Niklas On 12/07/2016 03:20 PM, Niklas Cassel wrote: From: Niklas Cassel commit 64c3b252e9fc ("net: stmmac: fixed the pbl setting with DT") changed the parsing of the DT binding. Before 64c3b2

Re: [RFC PATCH net-next v3 1/2] macb: Add 1588 support in Cadence GEM.

2016-12-08 Thread Nicolas Ferre
Le 07/12/2016 à 20:39, Richard Cochran a écrit : > On Wed, Dec 07, 2016 at 08:21:51PM +0200, Andrei Pistirica wrote: >> +#ifdef CONFIG_MACB_USE_HWSTAMP >> +void gem_ptp_init(struct net_device *ndev); >> +void gem_ptp_remove(struct net_device *ndev); >> + >> +void gem_ptp_do_txstamp(struct macb *bp,

Re: [PATCH 1/1] arm64: mm: add config options for page table configuration

2016-12-08 Thread Catalin Marinas
On Wed, Dec 07, 2016 at 11:40:00AM -0800, Scott Branden wrote: > Make MAX_PHYSMEM_BITS and SECTIONS_SIZE_BITS configurable by adding > config options. > Default to current settings currently defined in sparesmem.h. > For systems wishing to save memory the config options can be overridden. > Example

Re: [PATCH] fbdev: remove current maintainer

2016-12-08 Thread Daniel Vetter
On Thu, Dec 08, 2016 at 10:34:12AM +0200, Tomi Valkeinen wrote: > Remove Tomi Valkeinen from fbdev maintainer and mark fbdev as orphan. > > Signed-off-by: Tomi Valkeinen > --- > > I just don't have time to even pretend I maintain fbdev, so mark it as Orphan. > > Anyone want to pick fbdev mainta

[PATCH] i2c: cadence: Allow Cadence I2C to be selected for Cadence Xtensa CPUs

2016-12-08 Thread Jan Kotas
This patch allows Cadence I2C controller to be selected in systems using Cadence Xtensa processors. Signed-off-by: Jan Kotas --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index d252276..

Re: [PATCH] ASoC: Intel: Skylake: remove unused 'out_fmt' variable

2016-12-08 Thread Vinod Koul
On Thu, Dec 08, 2016 at 03:30:01PM +0530, Vinod Koul wrote: > On Wed, Dec 07, 2016 at 10:01:42PM -0800, Kirtika Ruchandani wrote: > > Commit 4cd9899f0d16 introduced struct skl_module_fmt* out_fmt without > > using it. Compiling with W=1 gives the below warning, fix it. > > > > sound/soc/intel/skyl

Re: [PATCH] ASoC: Intel: Skylake: remove unused 'runtime' variable

2016-12-08 Thread Vinod Koul
On Wed, Dec 07, 2016 at 10:26:20PM -0800, Kirtika Ruchandani wrote: > skl_platform_open() defines and sets 'struct snd_pcm_runtime* runtime' > but does not use it. Compiling with W=1 gives the following warning, > fix it. > > sound/soc/intel/skylake/skl-pcm.c: In function ‘skl_platform_open’: > so

Re: [RFC PATCH 0/3] staging: remove fbdev drivers

2016-12-08 Thread Daniel Vetter
On Thu, Dec 08, 2016 at 12:01:19PM +1100, Benjamin Herrenschmidt wrote: > On Wed, 2016-11-23 at 10:03 +0200, Tomi Valkeinen wrote: > > Hi, > > > > Since the fbdev framework is in maintenance mode and all new display drivers > > should be made with the DRM framework, remove the fbdev drivers from

[PATCH 0/5] arm64: dts: ls1012a: add the DTS node for QSPI/DSPI support

2016-12-08 Thread Yuan Yao
From: Yuan Yao LS1012A also support QSPI and DSPI. This patch set is used to add the QSPI/DSPI node for LS1012A. This patch set is depend on the patch for add LS1012A platform dts support: arm64: Add DTS support for FSL's LS1012A SoC The patchwork link: https://patchwork.kernel.org/patch/946239

[PATCH 1/5] arm64: dts: ls1012a: add the DTS node for DSPI support

2016-12-08 Thread Yuan Yao
From: Yuan Yao Signed-off-by: Yuan Yao --- arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 33 +++ arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi| 13 + 2 files changed, 46 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts b/arch/

[PATCH 4/5] arm64: dts: ls1012a: add the DTS node for QSPI support

2016-12-08 Thread Yuan Yao
From: Yuan Yao There is a s25fs512s qspi flash on QDS, RDB and FRDM board. Signed-off-by: Yuan Yao --- arch/arm64/boot/dts/freescale/fsl-ls1012a-frdm.dts | 14 ++ arch/arm64/boot/dts/freescale/fsl-ls1012a-qds.dts | 15 +++ arch/arm64/boot/dts/freescale/fsl-ls1012a-rdb.

[PATCH 5/5] Documentation: fsl-quadspi: Add fsl,ls1012a-qspi compatible string

2016-12-08 Thread Yuan Yao
From: Yuan Yao new compatible string: "fsl,ls1012a-qspi". Signed-off-by: Yuan Yao --- Documentation/devicetree/bindings/mtd/fsl-quadspi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mtd/fsl-quadspi.txt b/Documentation/devicetree/bindings/mtd/fsl-qua

[PATCH 2/5] Documentation: fsl: dspi: Add fsl,ls1012a-dspi compatible string

2016-12-08 Thread Yuan Yao
From: Yuan Yao new compatible string: "fsl,ls1012a-dspi". Signed-off-by: Yuan Yao --- Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-fsl-dspi.txt b/Documentation/devicetree/bindings/spi/spi-f

Re: [PATCH v4 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-12-08 Thread Baolin Wang
Hi, On 8 December 2016 at 17:40, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> Hi Felipe, >> >> On 28 November 2016 at 14:43, Baolin Wang wrote: >>> For some mobile devices with strict power management, we also want to >>> suspend >>> the host when the slave is detached for power savi

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-08 Thread Vinod Koul
On Wed, Dec 07, 2016 at 04:44:55PM +, Måns Rullgård wrote: > Vinod Koul writes: > >> > >> What you're proposing, Vinod, is to make a channel exclusive > >> to a driver, as long as the driver has not explicitly released > >> the channel, via dma_release_channel(), right? > > > > Precisely, but

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-08 Thread Vinod Koul
On Wed, Dec 07, 2016 at 04:45:58PM +, Måns Rullgård wrote: > Vinod Koul writes: > > > On Tue, Dec 06, 2016 at 01:14:20PM +, Måns Rullgård wrote: > >> > >> That's not going to work very well. Device drivers typically request > >> dma channels in their probe functions or when the device i

Re: [PATCH 2/3] arm64: Work around Falkor erratum 1003

2016-12-08 Thread Catalin Marinas
On Wed, Dec 07, 2016 at 03:00:26PM -0500, Christopher Covington wrote: > From: Shanker Donthineni > > On the Qualcomm Datacenter Technologies Falkor v1 CPU, memory accesses may > allocate TLB entries using an incorrect ASID when TTBRx_EL1 is being > updated. Changing the TTBRx_EL1[ASID] and TTBRx

Re: [PATCH v3 5/6] net: stmmac: add support for independent DMA pbl for tx/rx

2016-12-08 Thread Alexandre Torgue
Hi Niklas On 12/07/2016 03:20 PM, Niklas Cassel wrote: From: Niklas Cassel GMAC and newer supports independent programmable burst lengths for DMA tx/rx. Add new optional devicetree properties representing this. To be backwards compatible, snps,pbl will still be valid, but snps,txpbl/snps,rxpb

Re: [PATCH 1/1] orinoco: fix improper return value

2016-12-08 Thread Arend Van Spriel
On 8-12-2016 1:40, Pan Bian wrote: > Function orinoco_ioctl_commit() returns 0 (indicates success) when the > call to orinoco_lock() fails. Thus, the return value is inconsistent with > the execution status. It may be better to return "-EBUSY" when the call > to orinoco_lock() fails. > > Bugzilla

[RFC PATCH] mm: introduce kv[mz]alloc helpers

2016-12-08 Thread Michal Hocko
From: Michal Hocko Using kmalloc with the vmalloc fallback for larger allocations is a common pattern in the kernel code. Yet we do not have any common helper for that and so users have invented their own helpers. Some of them are really creative when doing so. Let's just add kv[mz]alloc and make

crypto regression?

2016-12-08 Thread Cyrille Pitchen
l priority : 300 refcnt : 1 selftest : passed internal : no type : ablkcipher async: yes blocksize: 16 min keysize : 32 max keysize : 64 ivsize : 16 geniv: and no output from the test manager in the boot log. Whereas on 4.9.0-rc8-next-201612

Re: [BUG 4.9] New led trigger usbport gets the kernel to panic

2016-12-08 Thread Greg Kroah-Hartman
On Thu, Dec 08, 2016 at 09:40:43AM +0100, Jacek Anaszewski wrote: > Hi Rafał, > > On 12/06/2016 06:29 PM, Rafał Miłecki wrote: > > On 6 December 2016 at 18:26, Pavel Machek wrote: > > > On Fri 2016-12-02 09:48:18, Ralph Sennhauser wrote: > > > > On Thu, 1 Dec 2016 17:56:07 +0100 > > > > Rafał Mił

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7

2016-12-08 Thread Jesper Dangaard Brouer
On Thu, 8 Dec 2016 09:18:06 + Mel Gorman wrote: > On Thu, Dec 08, 2016 at 09:22:31AM +0100, Jesper Dangaard Brouer wrote: > > On Wed, 7 Dec 2016 23:25:31 + > > Mel Gorman wrote: > > > > > On Wed, Dec 07, 2016 at 09:19:58PM +, Mel Gorman wrote: > > > > At small packet sizes on lo

Re: [PATCH v3 6/6] net: smmac: allow configuring lower pbl values

2016-12-08 Thread Alexandre Torgue
Hi Niklas, On 12/07/2016 03:20 PM, Niklas Cassel wrote: From: Niklas Cassel The driver currently always sets the PBLx8/PBLx4 bit, which means that the pbl values configured via the pbl/txpbl/rxpbl DT properties are always multiplied by 8/4 in the hardware. In order to allow the DT to configur

Re: [PATCH v3 1/6] net: stmmac: return error if no DMA configuration is found

2016-12-08 Thread Alexandre Torgue
Hi Niklas, On 12/07/2016 03:20 PM, Niklas Cassel wrote: From: Niklas Cassel All drivers except pci glue layer calls stmmac_probe_config_dt. stmmac_probe_config_dt does a kzalloc dma_cfg. pci glue layer does kzalloc dma_cfg explicitly, so all current drivers does a kzalloc dma_cfg. Return an

Re: crypto regression?

2016-12-08 Thread Herbert Xu
On Thu, Dec 08, 2016 at 11:41:55AM +0100, Cyrille Pitchen wrote: > Hi Herbert, > > Let me report a potential regression I've noticed this morning when testing > linux-next. > > I've set CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=n when compiling both kernel > images. > > > On 4.9.0-rc2-next-20161028,

Re: [PATCH v5 2/5] i2c: Add STM32F4 I2C driver

2016-12-08 Thread kbuild test robot
Hi M'boumba, [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v4.9-rc8 next-20161208] [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/M-boumba-Cedric-Madiang

Re: [PATCH] x86/vm86: fix compilation warning on a unused variable

2016-12-08 Thread Kirill A. Shutemov
On Wed, Dec 07, 2016 at 11:38:33PM -0500, Jérémy Lefaure wrote: > When CONFIG_TRANSPARENT_HUGEPAGE is disabled, split_huge_pmd is a no-op > stub. In such case, vma is unused and a compiler raises a warning: > > arch/x86/kernel/vm86_32.c: In function ‘mark_screen_rdonly’: > arch/x86/kernel/vm86_32.

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-08 Thread Mason
On 08/12/2016 11:39, Vinod Koul wrote: > On Wed, Dec 07, 2016 at 04:45:58PM +, Måns Rullgård wrote: > >> Vinod Koul writes: >> >>> On Tue, Dec 06, 2016 at 01:14:20PM +, Måns Rullgård wrote: That's not going to work very well. Device drivers typically request dma channels i

Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG

2016-12-08 Thread PrasannaKumar Muralidharan
>> The hwrng interface was always meant to be an interface for real >> hardware random number generators. People rely on that so we >> should not provide bogus entropy sources through this interface. >> > > Why not adding a KCONFIG HW_RANDOM_ACCEPT_ALSO_PRNG with big warning ? > Or a HW_PRNG Kconf

Re: [Linaro-acpi] [PATCH v17 08/15] clocksource/drivers/arm_arch_timer: move arch_timer_needs_of_probing into DT init call

2016-12-08 Thread Mark Rutland
On Thu, Dec 08, 2016 at 11:16:21AM +0800, Fu Wei wrote: > Hi Timur, > > On 8 December 2016 at 01:25, Timur Tabi wrote: > > On Fri, Nov 25, 2016 at 9:06 AM, Fu Wei wrote: > >> > >> a "+ int ret;" should be move from [12/15] to here, I have fix the > >> problem in my repo, it would happen in next

Re: [PATCH V8 1/3] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-12-08 Thread Lorenzo Pieralisi
Hi Agustin, please CC me for next version. On Tue, Nov 29, 2016 at 05:57:37PM -0500, Agustin Vega-Frias wrote: > When an Extended IRQ Resource contains a valid ResourceSource > use it to map the IRQ on the domain associated with the ACPI > device referenced. > > With this in place an irqchip dri

[patch] x86/ldt: make a size variable unsigned

2016-12-08 Thread Dan Carpenter
My static checker complains that we put an upper bound on the "size" variable but not a lower bound. The checker is not smart enough to know the possible ranges of "old_mm->context.ldt->size" from init_new_context_ldt() so it thinks maybe it could be negative. Let's make it unsigned to silence th

Re: [PATCH v4 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-12-08 Thread Felipe Balbi
Hi, Baolin Wang writes: >>> On 28 November 2016 at 14:43, Baolin Wang wrote: For some mobile devices with strict power management, we also want to suspend the host when the slave is detached for power saving. Thus we add the host suspend/resume functions to support this req

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v7

2016-12-08 Thread Mel Gorman
On Thu, Dec 08, 2016 at 11:43:08AM +0100, Jesper Dangaard Brouer wrote: > > That's expected. In the initial sniff-test, I saw negligible packet loss. > > I'm waiting to see what the full set of network tests look like before > > doing any further adjustments. > > For netperf I will not recommend a

Re: [RFC 06/10] block: use tida as small id allocator

2016-12-08 Thread Greg Kroah-Hartman
On Wed, Dec 07, 2016 at 08:56:27PM -0700, Jens Axboe wrote: > On 12/07/2016 06:23 PM, Rasmus Villemoes wrote: > > A struct ida ends up costing > 16 KB of runtime memory, which is quite > > a lot for something which on my laptop as of this writing has handed > > out 27 ids in its lifetime. So use th

netlink: GPF in netlink_dump

2016-12-08 Thread Dmitry Vyukov
Hello, The following program triggers GPF in netlink_dump: // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include int main() { syscall(__NR_mmap, 0x2000ul, 0xd25000ul, 0x3ul, 0x32ul, -1, 0); int fd = syscall(__NR_socket, 0x10ul, 0x3ul, 0x10ul);

Re: Question about ctr mode 3des-ede IV len

2016-12-08 Thread Jussi Kivilinna
Hello, 07.12.2016, 14:43, Longpeng (Mike) kirjoitti: > Hi Jussi and Herbert, > > I saw serveral des3-ede testcases(in crypto/testmgr.h) has 16-bytes IV, and > the > libgcrypt/nettle/RFC1851 said the IV-len is 8-bytes. > > Would you please tell me why these testcases has 16-bytes IV ? Because I

Re: [PATCH 1/3] hyperv: Move hv_pci_dev and related structs to hyperv.h

2016-12-08 Thread kbuild test robot
Hi Haiyang, [auto build test ERROR on next-20161208] [also build test ERROR on v4.9-rc8] [cannot apply to linus/master linux/master pci/next v4.9-rc8 v4.9-rc7 v4.9-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

[PATCH] drivers: net: xgene: initialize slots

2016-12-08 Thread Colin King
From: Colin Ian King static analysis using cppcheck detected that slots was uninitialized. Fix this by initializing it to buf_pool->slots - 1 Found using static analysis with CoverityScan, CID #1387620 Fixes: a9380b0f7be818 ("drivers: net: xgene: Add support for Jumbo frame") Signed-off-by: Col

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-08 Thread Geert Uytterhoeven
On Thu, Dec 8, 2016 at 11:54 AM, Mason wrote: > On 08/12/2016 11:39, Vinod Koul wrote: >> On Wed, Dec 07, 2016 at 04:45:58PM +, Måns Rullgård wrote: >>> Vinod Koul writes: On Tue, Dec 06, 2016 at 01:14:20PM +, Måns Rullgård wrote: > That's not going to work very well. Device dri

Re: [PATCH] arm64: Work around Falkor erratum 1009

2016-12-08 Thread Will Deacon
On Wed, Dec 07, 2016 at 03:04:31PM -0500, Christopher Covington wrote: > From: Shanker Donthineni > > During a TLB invalidate sequence targeting the inner shareable > domain, Falkor may prematurely complete the DSB before all loads > and stores using the old translation are observed; instruction

Re: [PATCH] linux/types.h: enable endian checks for all sparse builds

2016-12-08 Thread Greg Kroah-Hartman
On Thu, Dec 08, 2016 at 06:38:11AM +, Bart Van Assche wrote: > On 12/07/16 21:54, Michael S. Tsirkin wrote: > > On Thu, Dec 08, 2016 at 05:21:47AM +, Bart Van Assche wrote: > >> Additionally, there are notable exceptions to the rule that most drivers > >> are endian-clean, e.g. drivers/scsi

Re: [Linaro-acpi] [PATCH v17 08/15] clocksource/drivers/arm_arch_timer: move arch_timer_needs_of_probing into DT init call

2016-12-08 Thread Fu Wei
Hi Mark, On 8 December 2016 at 19:04, Mark Rutland wrote: > On Thu, Dec 08, 2016 at 11:16:21AM +0800, Fu Wei wrote: >> Hi Timur, >> >> On 8 December 2016 at 01:25, Timur Tabi wrote: >> > On Fri, Nov 25, 2016 at 9:06 AM, Fu Wei wrote: >> >> >> >> a "+ int ret;" should be move from [12/15] to her

Re: [PATCH v4 2/2] usb: dwc3: core: Support the dwc3 host suspend/resume

2016-12-08 Thread Baolin Wang
Hi, On 8 December 2016 at 19:02, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: On 28 November 2016 at 14:43, Baolin Wang wrote: > For some mobile devices with strict power management, we also want to > suspend > the host when the slave is detached for power saving. Thus

[PATCH/RFC] z3fold: add kref refcounting

2016-12-08 Thread Vitaly Wool
Even with already present locking optimizations (and with the page compaction to come), using kref for reference counting z3fold objects seems to be the right thing to do. Moreover, it makes buddied list no longer necessary, and allows for simpler handling of headless pages. Signed-off-by: Vitaly

Re: [PATCH] linux/types.h: enable endian checks for all sparse builds

2016-12-08 Thread Cornelia Huck
On Thu, 8 Dec 2016 04:29:39 +0200 "Michael S. Tsirkin" wrote: > By now, linux is mostly endian-clean. Enabling endian-ness > checks for everyone produces about 200 new sparse warnings for me - > less than 10% over the 2000 sparse warnings already there. Out of curiousity: Where do most of those

  1   2   3   4   5   6   7   8   9   >