Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2015 14:45:51 +0300, Mihai Donțu wrote: > > On Wed, 10 Jun 2015 12:50:22 +0200 Takashi Iwai wrote: > > At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: > > > On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote: > > > > At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote:

Re: [PATCH] devicetree: xilinx: zynqmp: add sata node

2015-06-10 Thread Michal Simek
On 06/10/2015 12:16 PM, Suneel Garapati wrote: > add sata node with sata fixed clock nodes in dtsi file. > enable sata in zynqmp-ep108.dts with broken-gen2. > > Signed-off-by: Suneel Garapati > --- > Note - > Driver and bindings are added via libata/for-4.2 tree > bindings is found in

[PATCH v3] sbs-battery: add option to always register battery

2015-06-10 Thread Frans Klaver
Commit a22b41a31e53 ("sbs-battery: Probe should try talking to the device") introduced a step in probing the SBS battery, that tries to talk to the device before actually registering it, saying: this driver doesn't actually try talking to the device at probe time, so if it's incorrectly

Re: [Cluster-devel] [PATCH] dlm: remove unnecessary error check

2015-06-10 Thread Bob Peterson
- Original Message - > Bob Peterson wrote: > > - Original Message - > > > >> Hi Bob, > >> > >> Bob Peterson wrote: > >> > >>> - Original Message - > >>> > >>> > We don't need the redundant logic since send_message always returns 0. > >

Re: [PATCH] ARM: module: Add ".ref.text" to arm unwind tables

2015-06-10 Thread vigneshr
Gentle reminder for review comments. > Forgot to add Maintainers. Adding them now. > >> On 05/13/2015 08:20 AM, Vignesh Radhakrishnan wrote: >>> Functions inside kernel modules that use __ref >>> will end up being placed in .ARM.exidx.ref.text >>> section by gcc. >>> >>> Currently we don't

Re: [PATCH 00/21] On-demand device registration

2015-06-10 Thread Andrzej Hajda
On 06/10/2015 12:19 PM, Tomeu Vizoso wrote: > On 10 June 2015 at 09:30, Linus Walleij wrote: >> On Tue, Jun 2, 2015 at 12:14 PM, Tomeu Vizoso >> wrote: >>> On 2 June 2015 at 10:48, Linus Walleij wrote: >> This is what systemd is doing in userspace for starting services: ask for your

Re: [RFC] panic_on_oom_timeout

2015-06-10 Thread Tetsuo Handa
Michal Hocko wrote: > Hi, > during the last iteration of the timeout based oom killer discussion > (http://marc.info/?l=linux-mm=143351457601723) I've proposed to > introduce panic_on_oom_timeout as an extension to panic_on_oom rather > than oom timeout which would allow OOM killer to select

Re: [PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
On Wed, Jun 10, 2015 at 07:06:08AM -0500, Josh Poimboeuf wrote: > There are still a lot of outstanding warnings (which I'll paste as a > reply to this email). Once those are all cleaned up, we can change the > warnings to build errors and change the default to > CONFIG_ASM_VALIDATION=y so the asm

[PATCH v6 1/2] ASoC: qcom: document apq8016 sbc machine driver bindings

2015-06-10 Thread Srinivas Kandagatla
This patch adds bindings for apq8016 sbc machine driver. APQ8016 has 4 MI2S which can be configured to different sinks like internal codec/external codec, this connection and various parameters are controlled via 2 iomux registers. Acked-by: Kenneth Westfield Signed-off-by: Srinivas Kandagatla

[PATCH v6 0/2] ASoC: qcom: add support to apq8016 sbc machine driver

2015-06-10 Thread Srinivas Kandagatla
This patchset adds sound card support to APQ8016 SBC board aka DB410c. APQ8016 has 4 MI2S( Primary, Secondary, Tertiary, Quaternary) which can be routed to internal wcd codec or external codecs. This routing and various board specifics are controlled by 2 mux registers. All these patches are

[PATCH v6 2/2] ASoC: qcom: add apq8016 sound card support

2015-06-10 Thread Srinivas Kandagatla
This patch adds apq8016 machine driver support. This patch is tested on DB410c and msm8916-mtp board for both hdmi and analog audio features. Acked-by: Kenneth Westfield Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 ++ sound/soc/qcom/Makefile | 2 +

Re: [PATCH v6 5/6] i2c: at91: print hardware version

2015-06-10 Thread Wolfram Sang
> >>>- dev_info(dev->dev, "AT91 i2c bus driver.\n"); > >>>+ dev_info(dev->dev, "AT91 i2c bus driver (version: %#x).\n", > > >>It looks as if you rather print the driver's version. :-) > > > From my point of view, having a version number for a Linux driver would > >be strange > >Not

Re: [PATCH v4 2/9] x86: support kmap_atomic_pfn_t() for persistent memory

2015-06-10 Thread Christoph Hellwig
Btw, I don't think this actually is safe without refcounting your kmap structure. The driver model ->remove callback can be called at any time, which will ioremap the memory and remap the kmap structure. But at this point a user might still be using it. -- To unsubscribe from this list: send the

Re: [PATCH v6 5/6] i2c: at91: print hardware version

2015-06-10 Thread Sergei Shtylyov
Hello. On 6/10/2015 11:05 AM, Ludovic Desroches wrote: The probe() function now prints the hardware version of the I2C controller. Signed-off-by: Cyrille Pitchen --- drivers/i2c/busses/i2c-at91.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v5 01/10] x86/asm: Add FP_SAVE/RESTORE frame pointer macros

2015-06-10 Thread Josh Poimboeuf
Add the FP_SAVE and FP_RESTORE asm macros, which can be used to save and restore the frame pointer. Signed-off-by: Josh Poimboeuf --- arch/x86/include/asm/func.h | 24 1 file changed, 24 insertions(+) create mode 100644 arch/x86/include/asm/func.h diff --git

[PATCH v5 07/10] x86/asm/acpi: Fix asmvalidate warnings for wakeup_64.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x15: unsupported jump to outside of function asmvalidate: arch/x86/kernel/acpi/wakeup_64.o: wakeup_long64()+0x55: unsupported jump to outside of function asmvalidate:

[PATCH v5 06/10] x86/asm/efi: Fix asmvalidate warnings for efi_stub_64.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/platform/efi/efi_stub_64.o: efi_call(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/boot/compressed/efi_stub_64.o: efi_call(): missing FP_SAVE/RESTORE macros efi_call() is a non-leaf callable function, so save/restore

[PATCH v5 08/10] x86/asm/head: Fix asmvalidate warnings for head_64.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/kernel/head_64.o: start_cpu0(): unsupported fallthrough at end of function asmvalidate: arch/x86/kernel/head_64.o: early_idt_handler_array()+0x4: unsupported jump to outside of function asmvalidate:

[PATCH v5 09/10] x86/asm/lib: Fix asmvalidate warnings for lib functions

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/lib/clear_page_64.o: clear_page()+0x0: unsupported jump to outside of function asmvalidate: arch/x86/lib/clear_page_64.o: alternative jump to outside the scope of original function clear_page asmvalidate:

[PATCH v5 05/10] x86/asm/crypto: Fix asmvalidate warnings for ghash-clmulni-intel_asm.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/crypto/ghash-clmulni-intel_asm.o: clmul_ghash_mul(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/crypto/ghash-clmulni-intel_asm.o: clmul_ghash_update(): missing FP_SAVE/RESTORE macros These are non-leaf callable

[PATCH v5 03/10] x86/asm/entry: Fix asmvalidate warnings for entry_64_compat.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/entry/entry_64_compat.o: native_usergs_sysret32(): unsupported fallthrough at end of function asmvalidate: arch/x86/entry/entry_64_compat.o: entry_SYSENTER_compat()+0xcf: unsupported jump to outside of function asmvalidate:

[PATCH v5 10/10] x86/asm/lib: Fix asmvalidate warnings for rwsem.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/lib/rwsem.o: call_rwsem_down_read_failed(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/lib/rwsem.o: call_rwsem_down_write_failed(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/lib/rwsem.o: call_rwsem_wake():

[PATCH v5 02/10] x86: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
Add a new CONFIG_ASM_VALIDATION option which adds an asmvalidate host tool which runs on every compiled .S file. Its goal is to enforce sane rules on all asm code, so that stack debug metadata (frame/back chain pointers and/or DWARF CFI metadata) can be made reliable. It enforces the following

[PATCH v5 04/10] x86/asm/crypto: Fix asmvalidate warnings for aesni-intel_asm.S

2015-06-10 Thread Josh Poimboeuf
Fix the following asmvalidate warnings: asmvalidate: arch/x86/crypto/aesni-intel_asm.o: aesni_set_key(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/crypto/aesni-intel_asm.o: aesni_enc(): missing FP_SAVE/RESTORE macros asmvalidate: arch/x86/crypto/aesni-intel_asm.o:

[PATCH v5 00/10] x86/asm: Compile-time asm code validation

2015-06-10 Thread Josh Poimboeuf
The previous version of this patch set was named "Compile-time stack frame pointer validation". I changed the subject from "frame pointer validation" to "asm code validation" because the focus of the patch set has changed to be less frame pointer-focused and more asm-focused. I also renamed the

Re: [PATCH 3/5] soc: Mediatek: Add SCPSYS power domain driver

2015-06-10 Thread Matthias Brugger
2015-06-09 10:47 GMT+02:00 Sascha Hauer : > This adds a power domain driver for the Mediatek SCPSYS unit. > > The System Control Processor System (SCPSYS) has several power > management related tasks in the system. The tasks include thermal > measurement, dynamic voltage frequency scaling (DVFS),

Re: [PATCH v5 1/7] mmc: dt-bindings: add Mediatek MMC bindings

2015-06-10 Thread Ulf Hansson
On 10 June 2015 at 04:24, Chaotian Jing wrote: > Document the device-tree binding of Mediatek MMC host > > Signed-off-by: Chaotian Jing > --- > Documentation/devicetree/bindings/mmc/mtk-sd.txt | 32 > > 1 file changed, 32 insertions(+) > create mode 100644

Re: [PATCH v4 6/7] staging: fsl-mc: Add locking to serialize mc_send_command() calls

2015-06-10 Thread Dan Carpenter
On Tue, Jun 09, 2015 at 04:59:07PM -0500, J. German Rivera wrote: > Add a locking mechanism to serialize mc_send_command() calls that use > the same fsl_mc_io object (same MC portal). When the fsl_mc_io object is > created the owner needs to know in which type of context the fsl_mc_io > object is

Re: [PATCH v5 3/7] mmc: mediatek: Add PM support for MMC driver

2015-06-10 Thread Ulf Hansson
On 10 June 2015 at 04:24, Chaotian Jing wrote: > Add PM support for Mediatek MMC driver > Save/restore registers when PM > > Signed-off-by: Chaotian Jing > --- > drivers/mmc/host/mtk-sd.c | 88 > +-- > 1 file changed, 85 insertions(+), 3 deletions(-)

linux-next: Tree for Jun 10

2015-06-10 Thread Stephen Rothwell
Hi all, Changes since 20150609: The drm tree still had its build failures for which I applied a supplied patch. Non-merge commits (relative to Linus' tree): 9544 8352 files changed, 893218 insertions(+), 188316 deletions(-)

Re: [PATCH v5 2/7] mmc: mediatek: Add Mediatek MMC driver

2015-06-10 Thread Ulf Hansson
[...] > +static int msdc_drv_probe(struct platform_device *pdev) > +{ > + struct mmc_host *mmc; > + struct msdc_host *host; > + struct resource *res; > + int ret; > + > + if (!pdev->dev.of_node) { > + dev_err(>dev, "No DT found\n"); > +

Re: [PATCH] DRM: Armada: fixup wait_event_timeout being ignored

2015-06-10 Thread Nicholas Mc Guire
On Wed, 10 Jun 2015, Russell King - ARM Linux wrote: > On Wed, Jun 10, 2015 at 01:07:08PM +0200, Nicholas Mc Guire wrote: > > The calling side seems to assume 0 as success and <0 as error so > > returning -ETIME should be fine here. > > The idea here is to allow the remainder of the code to

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Mihai Donțu
On Wed, 10 Jun 2015 12:50:22 +0200 Takashi Iwai wrote: > At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: > > On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote: > > > At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote: > > > > On Wed, 20 May 2015 07:01:12 +0200 Takashi Iwai wrote: > >

Re: [PATCH v2 1/4] VFIO: platform: add reset struct and lookup table

2015-06-10 Thread Eric Auger
Hi Alex, On 06/09/2015 08:26 PM, Alex Williamson wrote: > On Fri, 2015-06-05 at 17:06 +0200, Eric Auger wrote: >> This patch introduces the vfio_platform_reset_combo struct that >> stores all the information useful to handle the reset modality: >> compat string, name of the reset function, name of

Re: [PATCH v2 3/4] VFIO: platform: populate the reset function on probe

2015-06-10 Thread Eric Auger
On 06/09/2015 08:26 PM, Alex Williamson wrote: > On Fri, 2015-06-05 at 17:06 +0200, Eric Auger wrote: >> The reset function lookup happens on vfio-platform probe. The reset >> module load is requested and a reference to the function symbol is >> hold. The reference is released on vfio-platform

Re: [Drbd-dev] [PATCH 00/10] Zero out devices instead of initial full sync

2015-06-10 Thread Lars Ellenberg
resent, accidentally truncated the Cc list. also added one paragraph. On Wed, Jun 10, 2015 at 03:48:19PM +0800, Nick Wang wrote: > Full sync for drbd initial usually take a long time, especically > when network become the bottleneck the syncing. Simply skip the > full sync with "--clear-bitmap"

Re: [PATCH v9 4/5] serial: stm32-usart: Add STM32 USART Driver

2015-06-10 Thread Maxime Coquelin
2015-05-31 23:52 GMT+02:00 Greg Kroah-Hartman : > On Fri, May 22, 2015 at 11:03:35PM +0200, Maxime Coquelin wrote: >> This drivers adds support to the STM32 USART controller, which is a >> standard serial driver. >> >> Tested-by: Chanwoo Choi >> Reviewed-by: Peter Hurley >> Reviewed-by: Vladimir

[PATCH] clk: Move debug_node field under DEBUG_FS flag in struct clk_core

2015-06-10 Thread Maxime Coquelin
The debug_node field is only used when DEBUG_FS config is selected, so declare it only if DEBUG_FS is selected. Signed-off-by: Maxime Coquelin --- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 459ce9d..afbaa73

[PATCH] ARM: irqflags: Get arch_irqs_disabled from asm-generic

2015-06-10 Thread Daniel Thompson
Commit cb1293e2f594 ("ARM: 8375/1: disable some options on ARMv7-M") causes the build to on ARMv7-M machines: CC arch/arm/kernel/asm-offsets.s In file included from include/linux/sem.h:5:0, from include/linux/sched.h:35, from

Re: [PATCH] DRM: Armada: fixup wait_event_timeout being ignored

2015-06-10 Thread Russell King - ARM Linux
On Wed, Jun 10, 2015 at 01:07:08PM +0200, Nicholas Mc Guire wrote: > The calling side seems to assume 0 as success and <0 as error so > returning -ETIME should be fine here. The idea here is to allow the remainder of the code to execute when the condition succeeds _or_ times out. If it times

Re: [RFC PATCH v2] arm DMA: Fix allocation from CMA for coherent DMA

2015-06-10 Thread Lorenzo Nava
ping! On Wed, Jun 3, 2015 at 7:15 PM, Lorenzo Nava wrote: > This patch allows the use of CMA for DMA coherent memory allocation. > At the moment if the input parameter "is_coherent" is set to true > the allocation is not made using the CMA, which I think is not the > desired behaviour. > >

Re: [PATCH v2] crypto: drbg - reseed often if seedsource is degraded

2015-06-10 Thread Herbert Xu
On Wed, Jun 10, 2015 at 03:33:37AM +0200, Stephan Mueller wrote: > Changes v2: > * port the patch to current cryptodev tree plus the async seeding DRBG patches Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[PATCH] DRM: Armada: fixup wait_event_timeout being ignored

2015-06-10 Thread Nicholas Mc Guire
event API conformance testing with coccinelle spatches are being used to locate API usage inconsistencies this triggert with: ./drivers/gpu/drm/armada/armada_overlay.c:153 incorrect check for negative return Return type of wait_event_timeout is signed long not int and the return type is

Re: [PATCH 22/28] ARCv2: STAR 9000837815 workaround hardware exclusive transactions livelock

2015-06-10 Thread Peter Zijlstra
On Wed, Jun 10, 2015 at 10:01:01AM +, Vineet Gupta wrote: > OK - I need some more time to rehash the exact details with our > hardware folks. But AFAIKR, this was hardware livelock in llock/scond > when 2 cores were doing r-m-w to two different words in the same cache > line - adding prefetchw

[PATCH] s390/zcrypt: Convert use of __constant_cpu_to_le16 to cpu_to_le16

2015-06-10 Thread Vaishali Thakkar
In big endian cases, the macro cpu_to_le16 unfolds to __swab16 which provides special case for constants. In little endian cases, __constant_cpu_to_le16 and cpu_to_le16 expand directly to the same expression. So, replace __constant_cpu_to_le16 with cpu_to_le16 with the goal of getting rid of the

Re: [PATCH] regulator: max8973: Fix up ramp_delay for MAX8973_RAMP_25mV_PER_US case

2015-06-10 Thread Laxman Dewangan
On Wednesday 10 June 2015 04:22 PM, Axel Lin wrote: This looks like a typo, can you confirm? Ooops, silly mistake.. yes, it is typo and same exist on my downstream code also. Thanks for correction. Reviewed-by: Laxman Dewangan -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 20/28] ARCv2: barriers

2015-06-10 Thread Peter Zijlstra
On Wed, Jun 10, 2015 at 09:34:18AM +, Vineet Gupta wrote: > On Tuesday 09 June 2015 06:10 PM, Peter Zijlstra wrote: > > On Tue, Jun 09, 2015 at 05:18:20PM +0530, Vineet Gupta wrote: > > > > A description of how your hardware works; or a reference to the platform > > documentation would not go

[LINUX RFC v3 2/2] spi: Add support for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-10 Thread Ranjit Waghmode
This patch adds support for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- In v3, accommodating review comments given by Shubhrajyoti. Changes in v3: - Updated chip assert/de-assert timeout loop using jiffies - Updated minor kernel doc comments -

Re: [PATCH 18/28] ARC: add smp barriers around atomics per memory-barrriers.txt

2015-06-10 Thread Peter Zijlstra
On Wed, Jun 10, 2015 at 09:17:16AM +, Vineet Gupta wrote: > >> --- a/arch/arc/include/asm/spinlock.h > >> +++ b/arch/arc/include/asm/spinlock.h > >> @@ -22,24 +22,32 @@ static inline void arch_spin_lock(arch_spinlock_t > >> *lock) > >> { > >>unsigned int tmp = __ARCH_SPIN_LOCK_LOCKED__;

[PATCH] regulator: max8973: Fix up ramp_delay for MAX8973_RAMP_25mV_PER_US case

2015-06-10 Thread Axel Lin
Fix trivial typo. Signed-off-by: Axel Lin --- Hi Laxman, This looks like a typo, can you confirm? Thanks, Axel drivers/regulator/max8973-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c

[PATCH] qeth: Convert use of __constant_htons to htons

2015-06-10 Thread Vaishali Thakkar
In little endian cases, the macro htons unfolds to __swab16 which provides special case for constants. In big endian cases, __constant_htons and htons expand directly to the same expression. So, replace __constant_htons with htons with the goal of getting rid of the definition of __constant_htons

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2015 13:41:35 +0300, Mihai Donțu wrote: > > On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote: > > At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote: > > > On Wed, 20 May 2015 07:01:12 +0200 Takashi Iwai wrote: > > > > From: Takashi Iwai > > > > Subject: [PATCH] ALSA: hda

Re: [PATCH v11 4/5] x86/earlyprintk: setup earlyprintk as early as possible

2015-06-10 Thread Alexander Kuleshov
2015-06-10 16:36 GMT+06:00 Alexander Kuleshov : > 2015-06-10 15:44 GMT+06:00 Andy Shevchenko > : >> You do parsing twice (still original code and your piece here), and >> honestly I don't like your approach in this form. > > I just researched earlyprintk and we can use not only serial, but > vga

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Mihai Donțu
On Wed, 10 Jun 2015 12:22:53 +0200 Takashi Iwai wrote: > At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote: > > On Wed, 20 May 2015 07:01:12 +0200 Takashi Iwai wrote: > > > From: Takashi Iwai > > > Subject: [PATCH] ALSA: hda - Disable widget power-saving for ALC292 & co > > > > > > We've got

Re: [RFC PATCH 00/18] kthreads/signal: Safer kthread API and signal handling

2015-06-10 Thread Peter Zijlstra
On Tue, Jun 09, 2015 at 03:14:46PM +0900, Tejun Heo wrote: > Hey, Peter. > > On Fri, Jun 05, 2015 at 06:22:16PM +0200, Peter Zijlstra wrote: > > There's a lot more problems with workqueues: > > > > - they're not regular tasks and all the task controls don't work on > >them. This means all

[LINUX RFC v3 1/2] devicetree: Add DT bindings documentation for Zynq Ultrascale+ MPSoC GQSPI controller

2015-06-10 Thread Ranjit Waghmode
Add bindings documentation for GQSPI controller driver used by Zynq Ultrascale+ MPSoC Signed-off-by: Ranjit Waghmode --- Changes in v3: - Did split in register addressing as per Sorens request Changes in v2: No changes in v2 --- .../devicetree/bindings/spi/spi-zynqmp-qspi.txt| 26

Re: [PATCH v11 4/5] x86/earlyprintk: setup earlyprintk as early as possible

2015-06-10 Thread Alexander Kuleshov
2015-06-10 15:44 GMT+06:00 Andy Shevchenko : > You do parsing twice (still original code and your piece here), and > honestly I don't like your approach in this form. I just researched earlyprintk and we can use not only serial, but vga and pciserial. What if I'll rename

[PATCH] usb: udc: Convert use of __constant_cpu_to_leXX to cpu_to_leXX

2015-06-10 Thread Vaishali Thakkar
In big endian cases, the macro cpu_to_le{16,32} unfolds to __swab{16,32} which provides special case for constants. In little endian cases, __constant_cpu_to_le{16,32} and cpu_to_le{16,32} expand directly to the same expression. So, replace __constant_cpu_to_le{16,32} with cpu_to_le{16,32} with

Re: [RFT v2 06/48] pinctrl: Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc

2015-06-10 Thread Matthias Brugger
2015-06-04 6:13 GMT+02:00 Jiang Liu : > Use irq_desc_get_xxx() to avoid redundant lookup of irq_desc while we > already have a pointer to corresponding irq_desc. > > Signed-off-by: Jiang Liu > Acked-by: Linus Walleij > --- [...] > drivers/pinctrl/mediatek/pinctrl-mtk-common.c |4 ++-- For

Re: [PATCH] MIPS: bugfix of local_r4k_flush_icache_range - added L2 flush

2015-06-10 Thread Ralf Baechle
On Thu, May 28, 2015 at 01:37:24PM -0700, Leonid Yegoshin wrote: > This function is used to flush code used in NMI and EJTAG debug exceptions. > However, during that exceptions the Status.ERL bit is set, which means > that code runs as UNCACHABLE. So, flush code down to memory is needed. > >

Re: deleting a btrfs subvolume shut up a server

2015-06-10 Thread Liu Bo
On Thu, May 14, 2015 at 02:16:58PM +0200, Toralf Förster wrote: > I created at a 3 TB btrfs formatted disk a btrfs subvolume, unpacked a > minimal Gentoo Linux in it, created in addition few files within it under > ./tmp and bind mount from the host few files onto those files. If I now > delete

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Takashi Iwai
At Wed, 10 Jun 2015 13:17:55 +0300, Mihai Donțu wrote: > > On Wed, 20 May 2015 07:01:12 +0200 Takashi Iwai wrote: > > From: Takashi Iwai > > Subject: [PATCH] ALSA: hda - Disable widget power-saving for ALC292 & co > > > > We've got reports that ALC3226 (a Dell variant of ALC292) gives click > >

Re: [PATCH 00/21] On-demand device registration

2015-06-10 Thread Tomeu Vizoso
On 10 June 2015 at 09:30, Linus Walleij wrote: > On Tue, Jun 2, 2015 at 12:14 PM, Tomeu Vizoso > wrote: >> On 2 June 2015 at 10:48, Linus Walleij wrote: > >>> This is what systemd is doing in userspace for starting services: >>> ask for your dependencies and wait for them if they are not >>>

Re: Audio crackles with 4.1-rc1

2015-06-10 Thread Mihai Donțu
On Wed, 20 May 2015 07:01:12 +0200 Takashi Iwai wrote: > From: Takashi Iwai > Subject: [PATCH] ALSA: hda - Disable widget power-saving for ALC292 & co > > We've got reports that ALC3226 (a Dell variant of ALC292) gives click > noises at transition from D3 to D0 when the widget power-saving is >

Re: [PATCH] Input: goodix - do not explicitly set evbits in input device

2015-06-10 Thread Bastien Nocera
On Tue, 2015-06-09 at 11:52 -0700, Dmitry Torokhov wrote: > input_mt_init_slots() will do that for us. I'm guessing you know what you're doing here, but I couldn't find where the EV_SYN bit would have been set in the input_mt_init_slots() call chain. > Signed-off-by: Dmitry Torokhov > --- >

Re: [PATCH V2] checkpatch: Add some _destroy functions to NEEDLESS_IF tests

2015-06-10 Thread Sergey Senozhatsky
On (06/09/15 22:52), Joe Perches wrote: > Sergey Senozhatsky has modified several destroy functions that can > now be called with NULL values. > > - kmem_cache_destroy() > - mempool_destroy() > - dma_pool_destroy() > > Update checkpatch to warn when those functions are preceded by an if. > >

[PATCH] devicetree: xilinx: zynqmp: add sata node

2015-06-10 Thread Suneel Garapati
add sata node with sata fixed clock nodes in dtsi file. enable sata in zynqmp-ep108.dts with broken-gen2. Signed-off-by: Suneel Garapati --- Note - Driver and bindings are added via libata/for-4.2 tree bindings is found in Documentation/devicetree/bindings/ata/ahci-ceva.txt ---

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Mel Gorman
On Wed, Jun 10, 2015 at 11:08:13AM +0200, Ingo Molnar wrote: > > * Ingo Molnar wrote: > > > Stop this crap. > > > > I made a really clear and unambiguous chain of arguments: > > > > - I'm unconvinced about the benefits of INVLPG in general, and your > > patches adds > >a whole new bunch

Re: [PATCH] regulator: Add lockdep asserts to help detecting locking misuse

2015-06-10 Thread Mark Brown
On Wed, Jun 10, 2015 at 03:23:12PM +0900, Krzysztof Kozlowski wrote: > Add lockdep_assert_held_once() to functions explicitly mentioning that > rdev or regulator_list mutex must be held. Using WARN_ONCE shouldn't > pollute the dmesg to much. Applied, thanks. signature.asc Description: Digital

Re: [PATCH] ARM: Re-enable TRACE_IRQFLAGS_SUPPORT on ARMv7-M

2015-06-10 Thread Maxime Coquelin
2015-06-09 19:37 GMT+02:00 Daniel Thompson : > On 09/06/15 16:01, Russell King - ARM Linux wrote: >> >> On Tue, Jun 09, 2015 at 12:41:50PM +0100, Daniel Thompson wrote: >>> >>> Does the following patch, which makes the arch_irqs_disabled() >>> implementation from asm-generic available on arm, fix

Re: [PATCH 22/28] ARCv2: STAR 9000837815 workaround hardware exclusive transactions livelock

2015-06-10 Thread Vineet Gupta
On Tuesday 09 June 2015 06:05 PM, Peter Zijlstra wrote: On Tue, Jun 09, 2015 at 05:18:22PM +0530, Vineet Gupta wrote: This really really wants a Changelog describing the actual hardware fail and why this workaround is sufficient. OK - I need some more time to rehash the exact details with our

Re: [PATCH v5] ARM: smp: Only expose /sys/.../cpuX/online if hotpluggable

2015-06-10 Thread Catalin Marinas
On Tue, Jun 09, 2015 at 10:02:00PM +0100, Russell King - ARM Linux wrote: > On Tue, Jun 09, 2015 at 12:08:28PM -0700, Stephen Boyd wrote: > > On 04/13/2015 06:42 AM, Russell King - ARM Linux wrote: > > > On Fri, Apr 10, 2015 at 03:33:11PM -0700, Stephen Boyd wrote: > > >> Cc: Mark Rutland > > >>

Re: [PATCH 2/4] mm: Send one IPI per CPU to TLB flush all entries after unmapping pages

2015-06-10 Thread Mel Gorman
On Wed, Jun 10, 2015 at 10:26:40AM +0200, Ingo Molnar wrote: > > * Mel Gorman wrote: > > > On a 4-socket machine the results were > > > > 4.1.0-rc6 4.1.0-rc6 > > batchdirty-v6 batchunmap-v6 > > Ops

Re: [PATCH] slub/slab: fix kmemleak didn't work on some case

2015-06-10 Thread Catalin Marinas
On Wed, Jun 10, 2015 at 08:45:50AM +0100, Zhang, Yanmin wrote: > On 2015/6/9 23:03, Catalin Marinas wrote: > > On Tue, Jun 09, 2015 at 09:10:45AM +0100, Zhang, Yanmin wrote: > >> On 2015/6/8 18:13, Catalin Marinas wrote: > >>> As I replied already, I don't think this is that bad, or at least not >

Re: [PATCH v11 4/5] x86/earlyprintk: setup earlyprintk as early as possible

2015-06-10 Thread Andy Shevchenko
On Wed, 2015-06-10 at 00:00 +0600, Alexander Kuleshov wrote: > 2015-06-09 23:00 GMT+06:00 Andy Shevchenko > : > > > > I'm still not convincing by this code to be in that form and here. What > > about to refactor setup_early_printk() to helper which will do parse > > parameters to a let say

Re: [PATCH v3 3/8] Driver core: wakeup the parent device before trying probe

2015-06-10 Thread Andy Shevchenko
On Wed, 2015-06-10 at 02:08 +0200, Rafael J. Wysocki wrote: > On Tuesday, June 09, 2015 01:42:00 AM Rafael J. Wysocki wrote: > > On Monday, June 01, 2015 05:47:57 PM Andy Shevchenko wrote: > > > From: Heikki Krogerus > > > > > > If the parent is still suspended when driver probe is > > >

Re: [PATCH 20/28] ARCv2: barriers

2015-06-10 Thread Vineet Gupta
On Tuesday 09 June 2015 06:10 PM, Peter Zijlstra wrote: > On Tue, Jun 09, 2015 at 05:18:20PM +0530, Vineet Gupta wrote: > > A description of how your hardware works; or a reference to the platform > documentation would not go amiss. Honestly the docs group is working on a publicly sharable

[PATCH 6/6] mm, compaction: decouple updating pageblock_skip and cached pfn

2015-06-10 Thread Vlastimil Babka
The pageblock_skip bitmap and cached scanner pfn's are two mechanisms in compaction to prevent rescanning pages where isolation has recently failed or they were scanned during the previous compaction attempt. Currently, both kinds of information are updated via update_pageblock_skip(), which is

[PATCH 5/6] mm, compaction: skip compound pages by order in free scanner

2015-06-10 Thread Vlastimil Babka
The compaction free scanner is looking for PageBuddy() pages and skipping all others. For large compound pages such as THP or hugetlbfs, we can save a lot of iterations if we skip them at once using their compound_order(). This is generally unsafe and we can read a bogus value of order due to a

[PATCH 4/6] mm, compaction: always skip compound pages by order in migrate scanner

2015-06-10 Thread Vlastimil Babka
The compaction migrate scanner tries to skip compound pages by their order, to reduce number of iterations for pages it cannot isolate. The check is only done if PageLRU() is true, which means it applies to THP pages, but not e.g. hugetlbfs pages or any other non-LRU compound pages, which we have

Re: [PATCH v11 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-06-10 Thread Li, ZhenHua
On 06/10/2015 05:21 PM, Joerg Roedel wrote: On Tue, Jun 09, 2015 at 01:55:50PM +0100, David Woodhouse wrote: On Mon, 2015-06-08 at 18:13 +0200, Joerg Roedel wrote: So I think we need to read out that bit when we find translation enabled and if it is different from what we would set it to, we

Re: [PATCH] GPIO / ACPI: export acpi_gpiochip_request(free)_interrupts for module use

2015-06-10 Thread Mark Brown
On Wed, Jun 10, 2015 at 05:12:07PM +0800, Hanjun Guo wrote: > acpi_gpiochip_request(free)_interrupts can be used for modules, > so export them. This also fixs a compile error when xgene-sb > configured as kernel module. Reviwed-by: Mark Brown signature.asc Description: Digital signature

[PATCH 1/6] mm, compaction: more robust check for scanners meeting

2015-06-10 Thread Vlastimil Babka
Compaction should finish when the migration and free scanner meet, i.e. they reach the same pageblock. Currently however, the test in compact_finished() simply just compares the exact pfns, which may yield a false negative when the free scanner position is in the middle of a pageblock and the

[PATCH 0/6] Assorted compaction cleanups and optimizations

2015-06-10 Thread Vlastimil Babka
This series is partly the cleanups that were posted as part of the RFC for changing initial scanning positions [1] and partly new relatively simple scanner optimizations (yes, they are still possible). I've resumed working on the bigger scanner changes, but that will take a while, so no point in

[PATCH 2/6] mm, compaction: simplify handling restart position in free pages scanner

2015-06-10 Thread Vlastimil Babka
Handling the position where compaction free scanner should restart (stored in cc->free_pfn) got more complex with commit e14c720efdd7 ("mm, compaction: remember position within pageblock in free pages scanner"). Currently the position is updated in each loop iteration of isolate_freepages(),

[PATCH 3/6] mm, compaction: encapsulate resetting cached scanner positions

2015-06-10 Thread Vlastimil Babka
Resetting the cached compaction scanner positions is now done implicitly in __reset_isolation_suitable() and compact_finished(). Encapsulate the functionality in a new function reset_cached_positions() and call it explicitly where needed. Signed-off-by: Vlastimil Babka Cc: Minchan Kim Cc: Mel

Re: [PATCH 1/2] scatterlist: use sg_phys()

2015-06-10 Thread Joerg Roedel
On Tue, Jun 09, 2015 at 12:27:10PM -0400, Dan Williams wrote: > diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c > index 7e7583ddd607..9f6ff6671f01 100644 > --- a/arch/arm/mm/dma-mapping.c > +++ b/arch/arm/mm/dma-mapping.c > @@ -1502,7 +1502,7 @@ static int __map_sg_chunk(struct

Re: Discussion: quick_pit_calibrate is slow

2015-06-10 Thread Ingo Molnar
* George Spelvin wrote: > > Could you please structure it the following way: > > > > - first a patch that fixes bogus comments about the current code. It has > > bitrotten and if we change it significantly we better have a well > > documented starting point that is easier to compare

Re: [PATCH v11 3/5] x86/earlyprintk: Allocate early log_buf as early as possible

2015-06-10 Thread Alexander Kuleshov
2015-06-10 15:04 GMT+06:00 Borislav Petkov : > Yes, so this whole approach and what you're trying to achieve > seems kinda confusing and wrong. First of all, the early_printk() > machinery prints to a special console driver, i.e., I'm looking at the > registration fun in setup_early_printk(). > >

[PATCH 5/5] usb: dwc3: ep0: handle non maxpacket aligned transfers > 512

2015-06-10 Thread Kishon Vijay Abraham I
Use chained TRB mechanism to handle non maxpacket aligned transfers greater than bounce buffer size. With this the first TRB will be programmed to receive 'ALIGN(ur->length - maxp, maxp)' data and the second TRB will be programmed to receive the remaining data using bounce buffer. Signed-off-by:

Re: [PATCH 0/3] TLB flush multiple pages per IPI v5

2015-06-10 Thread Mel Gorman
On Wed, Jun 10, 2015 at 10:51:41AM +0200, Ingo Molnar wrote: > > * Mel Gorman wrote: > > > > I think since it is you who wants to introduce additional complexity into > > > the > > > x86 MM code the burden is on you to provide proof that the complexity of > > > pfn > > > (or struct page)

Re: [PATCH v11 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-06-10 Thread Joerg Roedel
On Tue, Jun 09, 2015 at 01:55:50PM +0100, David Woodhouse wrote: > On Mon, 2015-06-08 at 18:13 +0200, Joerg Roedel wrote: > > So I think we need to read out that bit when we find translation enabled > > and if it is different from what we would set it to, we bail out of any > > copying, disable

[PATCH 2/5] usb: dwc3: ep0: preparation for handling non maxpacket aligned transfers > 512

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. This is in preparation for handling non maxpacket aligned transfers greater than bounce buffer size. This is basically to avoid code duplication when using chained TRB transfers to handle non maxpacket aligned transfers greater than bounce buffer size. Signed-off-by: Kishon

[PATCH 3/5] usb: dwc3; ep0: Modify _dwc3_ep0_start_trans_ API to take 'chain' parameter

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. Added a new parameter in _dwc3_ep0_start_trans_ to indicate whether the TRB is a chained TRB or last TRB. This is in preparation for adding chained TRB support for ep0. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ep0.c | 15 --- 1 file changed,

[PATCH 0/5] usb: dwc3: handle non maxpacket aligned transfers > 512

2015-06-10 Thread Kishon Vijay Abraham I
Patch series adds support to handle non maxpacket aligned transfers greater than bounce buffer size (512). It first adds chained TRB support and then uses it to handle non maxpacket aligned transfers greater than bounce buffer size. Also included a cleanup patch to use 'roundup' macro. This

[PATCH 4/5] usb: dwc3: ep0: Add chained TRB support

2015-06-10 Thread Kishon Vijay Abraham I
Add chained TRB support to ep0. Now TRB's can be chained just by invoking _dwc3_ep0_start_trans_ with 'chain' parameter set to true. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ep0.c| 16 +--- drivers/usb/dwc3/gadget.c |2 +- 2 files changed, 14

[PATCH 1/5] usb: dwc3: ep0: use _roundup_ to calculate the transfer size

2015-06-10 Thread Kishon Vijay Abraham I
No functional change. Used _roundup_ macro to calculate the transfer size aligned to maxpacket in dwc3_ep0_complete_data. It also makes it similar to how transfer size is calculated in __dwc3_ep0_do_control_data. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/dwc3/ep0.c |4 +--- 1

Re: [REBASED 2/5] regulator: pwm-regulator: Separate voltage-table initialisation

2015-06-10 Thread Lothar Waßmann
Hi, > Take this out of the main .probe() routine in order to facilitate the > introduction of different ways to obtain 'duty cycle' information. > > Signed-off-by: Lee Jones > --- > drivers/mfd/mfd-child.c | 47 > drivers/regulator/pwm-regulator.c | 77 >

Re: [PATCH 18/28] ARC: add smp barriers around atomics per memory-barrriers.txt

2015-06-10 Thread Vineet Gupta
On Tuesday 09 June 2015 06:00 PM, Peter Zijlstra wrote: > On Tue, Jun 09, 2015 at 05:18:18PM +0530, Vineet Gupta wrote: > > Please try and provide at least _some_ Changelog body. > > Will do as comments in source as well as commit log in v2. >> diff --git a/arch/arc/include/asm/spinlock.h >>

[REBASED v1.1 2/5] regulator: pwm-regulator: Separate voltage-table initialisation

2015-06-10 Thread Lee Jones
Take this out of the main .probe() routine in order to facilitate the introduction of different ways to obtain 'duty cycle' information. Signed-off-by: Lee Jones --- drivers/regulator/pwm-regulator.c | 77 +++ 1 file changed, 45 insertions(+), 32 deletions(-)

<    4   5   6   7   8   9   10   11   12   13   >