Re: [PATCH 1/1] dmaengine: dw: fix nollp issue

2015-09-28 Thread Andy Shevchenko
On Mon, Sep 28, 2015 at 5:55 AM, yitian wrote: > when channel number is less than maximum number, the register > address of all channels is wrong, which causes the "nollp" flag > is set for all channels even if HW supports llp. > Thanks for the fix, though proper one is already under review here:

Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-28 Thread Matthew Garrett
On Mon, Sep 28, 2015 at 08:16:46AM +0200, Ingo Molnar wrote: > So the question is, what does Windows do? It's pretty trivial to hack OVMF to dump the SetVirtualAddressMap() arguments to the qemu debug port. Unfortunately I'm about to drop mostly offline for a week, otherwise I'd give it a go...

[PATCH net-next v2] BNX2: fix a Null Pointer for stats_blk

2015-09-28 Thread Weidong Wang
we have two processes to do: P1#: ifconfig eth0 down; which will call bnx2_close, then will , and set Null to stats_blk P2#: ifconfig eth0; which will call bnx2_get_stats64, it will use stats_blk. In one case: --P1#-- --P2#-- stats_blk(no null)

[PATCH 4/9] fs:ubifs: add hook for UBI bakvol in ubifs layer

2015-09-28 Thread beanhuo
Add hook for UBI bakvol in ubifs layer. open/close bakvol operation in ubifs mount. Signed-off-by: Bean Huo --- fs/ubifs/super.c | 6 ++ fs/ubifs/ubifs.h | 1 + 2 files changed, 7 insertions(+) diff --git a/fs/ubifs/super.c b/fs/ubifs/super.c index 9547a278..f3bf548 100644 --- a/fs/ubifs/s

[PATCH 6/9] drivers:mtd:ubi:add hook for UBI bakvol in ubi_io_write

2015-09-28 Thread beanhuo
Add hook for UBI bakvol in ubi_io_write. Modify ubi_io_write, if program lower page of MLC NAND, Duplicated it and backup one copy into internal log volume by Dual plane program method. Signed-off-by: Bean Huo --- drivers/mtd/ubi/io.c | 63 +--- 1

[PATCH 1/9] drivers:nand:mtd: add support for UBI bakvol in mtd layer

2015-09-28 Thread beanhuo
Add support for UBI bakvol in mtd layer. This solution based on MLC NAND dual plane program. so add hook in mtd layer. Signed-off-by: Bean Huo --- include/linux/mtd/mtd.h | 19 +++ include/linux/mtd/nand.h | 4 include/linux/mtd/ubi.h | 9 + 3 files changed, 32

[PATCH 3/9] drivers:mtd:ubi:add metadata struct for UBI bakvol

2015-09-28 Thread beanhuo
Add metadata struct for UBI bakvol. Currently , bakvol reserves 20 PEBs for internal log volume. Shares wear-leveling operation with ubi. Signed-off-by: Bean Huo --- drivers/mtd/ubi/ubi-media.h | 40 1 file changed, 40 insertions(+) diff --git a/driver

[PATCH 9/9] driver:mtd:ubi:add bakvol module in UBI layer

2015-09-28 Thread beanhuo
Add bakvol module in UBI layer. This patch is based on NAND dual plane program. Currently, because different NAND vender with different paired page sequence, so this patch now only support Micron 70s/80s/90s MLC NAND. Signed-off-by: Bean Huo --- drivers/mtd/ubi/Kconfig | 15 + drivers/mtd/ub

[PATCH 0/9] drivers:mtd:UBI: add bakvol module for MLC NAND paired page issue

2015-09-28 Thread beanhuo
Hello, This series aims at adding a bakvol module for MLC NAND paired page Power loss protection. MLC NAND paired page power loss is a known issue so far, MLC NAND pages are coupled in a sense that if you cut power while writing to a page, you corrupt not only this page, but also one of the previ

[PATCH 8/9] drivers:mtd:ubi:init UBI bakvol and recover corrupted lower page

2015-09-28 Thread beanhuo
During UBI attach, bakvol be initialized, And if exist corrupted lower page, recover it by its backup data in internal Log volume. Signed-off-by: Bean Huo --- drivers/mtd/ubi/attach.c | 26 +- drivers/mtd/ubi/build.c | 7 +++ 2 files changed, 32 insertions(+), 1 de

Re: [PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

2015-09-28 Thread Andy Shevchenko
On Mon, Sep 28, 2015 at 6:23 AM, Viresh Kumar wrote: > On 26 September 2015 at 05:38, yitian wrote: >> when audio playback is running, user space will call >> snd_pcm_lib_write1() function, it will first get pcm stream lock, >> after that it may call function snd_pcm_update_hw_ptr(), the call >>

[PATCH 7/9] drivers:mtd:add NAND dual plane program support

2015-09-28 Thread beanhuo
Add NAND dual plane program function. Signed-off-by: Bean Huo --- drivers/mtd/mtdpart.c| 21 +++ drivers/mtd/nand/nand_base.c | 401 +++ 2 files changed, 422 insertions(+) diff --git a/drivers/mtd/mtdpart.c b/drivers/mtd/mtdpart.c index cafdb88..

[PATCH 5/9] drivers:mtd:ubi:add support for getting block according to plane

2015-09-28 Thread beanhuo
Dual plane program must address two blocks located two different planes. Signed-off-by: Bean Huo --- drivers/mtd/ubi/wl.c | 134 +++ 1 file changed, 134 insertions(+) diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index 275d9fb..9d2268a

[PATCH 2/9] drivers:mtd:ubi:add definition for UBI bakvol operation

2015-09-28 Thread beanhuo
Add macro definition for UBI bakvol operation. Signed-off-by: Bean Huo --- drivers/mtd/ubi/ubi.h | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h index 2974b67..746dfbe 100644 --- a/drivers/mtd/ubi/ubi.h +++ b/drivers/mtd/ubi/ub

RE: Re: [V4 PATCH 3/4] kexec: Fix race between panic() and crash_kexec() called directly

2015-09-28 Thread 河合英宏 / KAWAI,HIDEHIRO
> Hi Hidehiro, > > [auto build test results on v4.3-rc2 -- if it's inappropriate base, please > ignore] > > config: ia64-allyesconfig (attached as .config) > reproduce: > wget > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross > -O ~/bin/make.cross > chm

Re: [PATCH] cpufreq: p4-clockmod: Replace bool_int_array[NR_CPUS] with bitmap

2015-09-28 Thread Jean Delvare
On Sun, 27 Sep 2015 19:58:11 +0200, Denys Vlasenko wrote: > On 09/27/2015 06:10 PM, Jean Delvare wrote: > > Looks good, however I think you should #include to > > avoid build failures in the future or on certain architectures. > > already includes > on any arch. Today it does. Tomorrow, who kn

Re: [RFC PATCH] drm/i915: PSR regressions on Broadwell

2015-09-28 Thread Jani Nikula
On Sat, 26 Sep 2015, Brian Norris wrote: > When using PSR, I see the screen freeze after only a few frames (sometimes a > split second; sometimes it seems like practically the first frame). Bisecting > led me to commit 3301d4092106 ("drm/i915: PSR: Fix DP_PSR_NO_TRAIN_ON_EXIT > logic") in v4.2. Th

Re: [PATCH] kexec: fix out of the ELF headers buffer issue in syscall kexec_file_load()

2015-09-28 Thread Baoquan He
Hi Chun-Yi, On 09/28/15 at 02:41pm, Lee, Chun-Yi wrote: > On big machines have CPU number that's very nearly to consume whole ELF > headers buffer that's page aligned, 4096, 8192... Then the page fault error > randomly happened. > > This patch modified the code in fill_up_crash_elf_data() by usin

Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

2015-09-28 Thread Sedat Dilek
On Mon, Sep 28, 2015 at 8:50 AM, Sedat Dilek wrote: > [ CC only relevant people plus Paul as he took care in another thread ] > > First of all, sorry for flooding anybody or any mailing-list. > > Of course, using LLVM/Clang for the Linux-kernel is still WIP, but > this does not mean using a differ

[PATCH 0/1] tip-queue 2015-09-28

2015-09-28 Thread Borislav Petkov
From: Borislav Petkov Hi Ingo, just one this week. It is for tip/x86/ras and it corrects what we should be actually doing in the MCA code when offlining a CPU on Intel. Thanks. Ashok Raj (1): x86/mce: Don't clear shared banks on Intel when offlining CPUs arch/x86/kernel/cpu/mcheck/mce.c |

[PATCH] x86/mce: Don't clear shared banks on Intel when offlining CPUs

2015-09-28 Thread Borislav Petkov
From: Ashok Raj It is not safe to clear global MCi_CTL banks during CPU offline or suspend/resume operations. These MSRs are either thread-scoped (meaning private to a thread), or core-scoped (private to threads in that core only), or with a socket scope: visible and controllable from all threads

Re: [PATCH 2/2] x86/cpu/cacheinfo: amd_get/set_l3_disable_slot should be static

2015-09-28 Thread Borislav Petkov
On Sun, Sep 27, 2015 at 11:40:46PM +0800, Geliang Tang wrote: > Fixes the following sparse warnings: > > arch/x86/kernel/cpu/intel_cacheinfo.c:329:5: warning: symbol > 'amd_get_l3_disable_slot' was not declared. Should it be static? > > arch/x86/kernel/cpu/intel_cacheinfo.c:406:5: warning: sym

RE: [PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

2015-09-28 Thread yitian
> From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Monday, September 28, 2015 3:06 PM > To: Viresh Kumar > Cc: yitian ; Viresh Kumar > ; Andy Shevchenko > ; Vinod Koul ; > Dan Williams ; dmaengine > ; Linux Kernel Mailing List > > Subject: Re: [PATCH 1/1] dmaengine: dw: resolve re

[PATCH] CHROMIUM: iio: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-28 Thread Suresh Rajashekara
Minimal implementation. This is based on the driver provided by the vendor (which wasn't in the IIO framework). Authors of the driver from the vendor included * John Huang * Templeton Tsai * Vic Lee Signed-off-by: Suresh Rajashekara --- .../devicetree/bindings/iio/light/ap3223.txt | 18

Re: gpios search behaviour for gpio from _DSD

2015-09-28 Thread Mika Westerberg
On Sat, Sep 26, 2015 at 09:30:59PM +0200, Olliver Schinagl wrote: > What i ment is, without strcmp, the loop would test for: > > reset-gpio and then reset-gpios (and then gpio and gpios) > > So why the strcmp at all, Why only reset-gpios? Will the _DSD or acpi break > and if we probe for reset-gp

Darlehen.

2015-09-28 Thread
Haben Sie sich für ein Darlehen oder Hypotheken und ständig abgelehnt suchen die von Finanzinstituten ist Mr.James Rodriguez ein Gläubiger bietet Darlehen zu einem Zinssatz von 3% Personen / Unternehmensverbände, Unternehmen, Betrieben, Schulen, Kirchen, usw., die in der sind Bedarf an Geld in e

Re: [PATCH] kselftest: replace $(RM) with rm -f command

2015-09-28 Thread Yuan Sun
See the in-line comment. On 2015/9/28 10:10, Wang Long wrote: Some test's Makefile using "$(RM)" while the other's using "rm -f". It is better to use one of them in all tests. "rm -f" is better, because it is less magic, and everyone konws what is does. Signed-off-by: Wang Long --- tools/tes

Re: [PATCH 2/2] arm64: to allow EFI_RTC can be selected on ARM64

2015-09-28 Thread Arnd Bergmann
On Monday 28 September 2015 13:34:38 Zhen Lei wrote: > diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > index 07d1811..25cec57 100644 > --- a/arch/arm64/Kconfig > +++ b/arch/arm64/Kconfig > @@ -85,7 +85,7 @@ config ARM64 > select PERF_USE_VMALLOC > select POWER_RESET >

Re: [RFC PATCH v3 1/3] mmc: sprd: Add MMC host driver for Spreadtrum SoC

2015-09-28 Thread Shawn Lin
On 2015/9/28 15:18, Hongtao Wu wrote: >> On Thu, Sep 10, 2015 at 9:28 PM, Ulf Hansson mailto:ulf.hans...@linaro.org>> wrote: > > On 14 August 2015 at 18:55, Hongtao Wu mailto:wuh...@gmail.com>> wrote: [...] Yes, most of this data can be removed, such as caps, caps2, base_clk. However ocr

Re: No more new fbdev drivers, please

2015-09-28 Thread Gerd Hoffmann
Hi, > As Daniel mentioned, the connector+encoder+crtc combination is one of > those simplifications that would make sense if more such drivers are > added. Another one is memory management. It's pretty complex because it can handle _way_ more than what simple drivers need, and the result is _a

Re: [PATCH 2/2] arm64: to allow EFI_RTC can be selected on ARM64

2015-09-28 Thread Ard Biesheuvel
On 28 September 2015 at 06:34, Zhen Lei wrote: > Now, ARM64 is also support EFI startup. We hope use EFI runtime services > to get/set current time and date. > > RTC_LIB only controls some configs in drivers/char/Kconfig(included > EFI_RTC), and will be automatically selected when RTC_CLASS opened

Re: [PATCH 0/9] drivers:mtd:UBI: add bakvol module for MLC NAND paired page issue

2015-09-28 Thread Boris Brezillon
Hi Bean, Next time you send a patch series, could send all the patches in reply to the cover letter? On Mon, 28 Sep 2015 07:02:35 + Bean Huo 霍斌斌 (beanhuo) wrote: > Hello, > > This series aims at adding a bakvol module for MLC NAND paired page > Power loss protection. > MLC NAND paired page

Re: [linux-sunxi] [PATCH 0/2] ASoC: Add support for the Allwinner A10 codec

2015-09-28 Thread Maxime Ripard
Hi Priit, On Tue, Sep 22, 2015 at 04:26:57PM +0300, Priit Laes wrote: > On Sat, 2015-09-12 at 15:26 +0200, Maxime Ripard wrote: > > Hi everyone, > > > > This patch set adds the support for what Allwinner calls the codec on > > their SoCs. > > > > This codec is actually a combination of a codec a

Re: [PATCH 0/7] tty: serial: msm: Add DMA support and fix bit definitions

2015-09-28 Thread Ivan T. Ivanov
On Fri, 2015-09-25 at 00:27 +0100, Srinivas Kandagatla wrote: > Hi Ivan, > On 12/09/15 14:02, Ivan T. Ivanov wrote: > > Hi, > > > > Following patches add DMA support for UARTDM type of hardware. > > > > Changes have been tested on UARTDM v1.3(APQ8064) and v1.4(APQ8016). > > > > Patches from Gur

Re: [PATCH v7 1/4] perf,kvm/{x86,s390}: Remove dependency on uapi/kvm_perf.h

2015-09-28 Thread Christian Borntraeger
Am 24.09.2015 um 21:02 schrieb Hemant Kumar: > Its better to remove the dependency on uapi/kvm_perf.h to allow dynamic > discovery of kvm events (if its needed). To do this, some extern > variables have been introduced with which we can keep the generic > functions generic. > > Signed-off-by: Hema

4.3.0-rc1: BUG in sb16 init in arch_dma_alloc_attrs()

2015-09-28 Thread Meelis Roos
My trusty K6/430TX machine with ISA SB16 variant has worked fine until 4.2. However, in 4.3.0-rc1 and 4.3.0-rc3-00025-ge3be426 I get a null pointer dereferencing BUG during SB16 initialization. Full dmesg and config are below. [0.00] Linux version 4.3.0-rc3-00025-ge3be426 (mroos@roos) (

Re: [PATCH v2] mtd: nand: pxa3xx-nand: switch to dmaengine

2015-09-28 Thread Robert Jarzmik
Brian Norris writes: > On Sun, Sep 27, 2015 at 05:18:56PM -0700, Brian Norris wrote: >> Sparse has one complaint, but I have no others: >> >> On Sun, Sep 06, 2015 at 03:12:47PM +0200, Robert Jarzmik wrote: >> > diff --git a/drivers/mtd/nand/pxa3xx_nand.c >> > b/drivers/mtd/nand/pxa3xx_nand.c >>

Re: [PATCH v2] mtd: nand: pxa3xx-nand: prevent DFI bus lockup on removal

2015-09-28 Thread Robert Jarzmik
Brian Norris writes: > On Sat, Sep 26, 2015 at 10:19:07PM +0200, Robert Jarzmik wrote: >> Robert Jarzmik writes: >> >> > After the conversion of pxa architecture to common clock framework, the >> > NAND clock can be disabled on driver exit. >> > >> > In this case, it happens that if the driver

Re: [PATCH] x86: Use entire page for the per-cpu GDT only if paravirt-enabled

2015-09-28 Thread Ingo Molnar
* Denys Vlasenko wrote: > On 09/26/2015 09:50 PM, H. Peter Anvin wrote: > > NAK. We really should map the GDT read-only on all 64 bit systems, > > since we can't hide the address from SLDT. Same with the IDT. > > Sorry, I don't understand your point. So the problem is that right now the SGDT

Re: [PATCH v6 2/2] iio: mcp4531: Driver for Microchip digital potentiometers

2015-09-28 Thread Peter Rosin
On 2015-09-27 17:50, Jonathan Cameron wrote: > On 23/09/15 15:26, Peter Rosin wrote: >> From: Peter Rosin >> >> Add support for Microchip digital potentiometers and rheostats >> MCP4531, MCP4532, MCP4551, MCP4552 >> MCP4631, MCP4632, MCP4651, MCP4652 >> >> DEVICE Wipers Steps Resisto

[tip:perf/core] perf/core, perf/x86: Change needlessly global functions and a variable to static

2015-09-28 Thread tip-bot for Geliang Tang
Commit-ID: 18ab2cd3ee9d52dc64c5ae984146a261a328c4e8 Gitweb: http://git.kernel.org/tip/18ab2cd3ee9d52dc64c5ae984146a261a328c4e8 Author: Geliang Tang AuthorDate: Sun, 27 Sep 2015 23:25:50 +0800 Committer: Ingo Molnar CommitDate: Mon, 28 Sep 2015 08:09:52 +0200 perf/core, perf/x86: Change

Re: [PATCH 1/4] lib/vsprintf.c: handle invalid format specifiers more robustly

2015-09-28 Thread Andy Shevchenko
On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote: > If we meet any invalid or unsupported format specifier, 'handling' it > by just printing it as a literal string is not safe: Presumably the > format string and the arguments passed gcc's type checking, but that > means something like spri

Re: [PATCH] kexec: fix out of the ELF headers buffer issue in syscall kexec_file_load()

2015-09-28 Thread Baoquan He
On 09/28/15 at 02:41pm, Lee, Chun-Yi wrote: > On big machines have CPU number that's very nearly to consume whole ELF > headers buffer that's page aligned, 4096, 8192... Then the page fault error > randomly happened. > > This patch modified the code in fill_up_crash_elf_data() by using > walk_syst

Re: [PATCH v6 2/2] iio: mcp4531: Driver for Microchip digital potentiometers

2015-09-28 Thread Daniel Baluta
On Mon, Sep 28, 2015 at 10:59 AM, Peter Rosin wrote: > On 2015-09-27 17:50, Jonathan Cameron wrote: >> On 23/09/15 15:26, Peter Rosin wrote: >>> From: Peter Rosin >>> >>> Add support for Microchip digital potentiometers and rheostats >>> MCP4531, MCP4532, MCP4551, MCP4552 >>> MCP4631, M

Darlehen anbieten

2015-09-28 Thread DIAMOND SWISS LOAN COMPANY
Guten Tag, Dies ist Diamant Swiss Darlehen Unternehmen Darlehen bieten. Diamant Swiss Darlehen Unternehmen bietet flexible und erschwingliche Kredite für jeden Zweck zu helfen, Ihre Ziele zu erreichen. wir Darlehen zu niedrigen Zinssatz von 1,5%. Hier sind einige wichtige Merkmale der persö

Darlehen anbieten

2015-09-28 Thread DIAMOND SWISS LOAN COMPANY
Guten Tag, Dies ist Diamant Swiss Darlehen Unternehmen Darlehen bieten. Diamant Swiss Darlehen Unternehmen bietet flexible und erschwingliche Kredite für jeden Zweck zu helfen, Ihre Ziele zu erreichen. wir Darlehen zu niedrigen Zinssatz von 1,5%. Hier sind einige wichtige Merkmale der persö

Darlehen anbieten

2015-09-28 Thread DIAMOND SWISS LOAN COMPANY
Guten Tag, Dies ist Diamant Swiss Darlehen Unternehmen Darlehen bieten. Diamant Swiss Darlehen Unternehmen bietet flexible und erschwingliche Kredite für jeden Zweck zu helfen, Ihre Ziele zu erreichen. wir Darlehen zu niedrigen Zinssatz von 1,5%. Hier sind einige wichtige Merkmale der persö

Re: [PATCH 1/2] ASoC: rockchip: i2s: add 8 channels capture and lrck-mode support

2015-09-28 Thread sugar
Hi Mark Brown, 在 9/24/2015 00:24, Mark Brown 写道: On Wed, Sep 23, 2015 at 11:41:22AM +0800, Sugar Zhang wrote: + /* configure tx/rx lrck use mode */ + if (!of_property_read_u32(node, "rockchip,lrck-mode", &val)) { + if (val >= LRCK_TXRX && val <= LRCK_RX_SHARE) +

RE: [PATCH 0/9] drivers:mtd:UBI: add bakvol module for MLC NAND paired page issue

2015-09-28 Thread beanhuo
> Hi Bean, > > Next time you send a patch series, could send all the patches in reply to the > cover letter? No problem, we will format our submit-patch method, and standard it. > > Hello, > > > > This series aims at adding a bakvol module for MLC NAND paired page > > Power loss protection. > >

Re: [PATCH 0/1] ns: introduce proc_get_ns_by_fd()

2015-09-28 Thread Konstantin Khlebnikov
On 25.09.2015 20:56, Oleg Nesterov wrote: On 09/25, Konstantin Khlebnikov wrote: +struct ns_common *proc_ns_fdget(int fd, int nstype, struct fd *fd_ref) { - struct file *file; + struct ns_common *ns; + struct fd f; - file = fget(fd); - if (!file) + f = fdg

Re: [PATCH 1/2] x86/efi: Map EFI memmap entries in-order at runtime

2015-09-28 Thread Ingo Molnar
* Ard Biesheuvel wrote: > On 27 September 2015 at 08:03, Ingo Molnar wrote: > > > > * Matt Fleming wrote: > > > [...] > >> [...] The actual virtual addresses we pick are exactly the same with the > >> two > >> patches. > > > > So I'm NAK-ing this for now: > > > > - The code is it reads today

Re: [PATCH V4 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-28 Thread Arnd Bergmann
On Sunday 27 September 2015 16:10:48 Rafael J. Wysocki wrote: > On Saturday, September 26, 2015 09:33:56 PM Arnd Bergmann wrote: > > On Saturday 26 September 2015 11:40:00 Viresh Kumar wrote: > > > On 25 September 2015 at 15:19, Rafael J. Wysocki > > > wrote: > > > > So if you allow something lik

Re: [linux-sunxi][alsa-devel][PATCH 3/3] ASOC: sunxi: Add support for the spdif block

2015-09-28 Thread Maxime Ripard
On Thu, Sep 24, 2015 at 04:30:05PM +0200, codekip...@gmail.com wrote: > From: Marcus Cooper > > The sun4i, sun6i and sun7i SoC families have an SPDIF > block which is capable of playback and capture. > > This patch enables the playback of this block for > the sun4i and sun7i families. > > Signe

RE: [PATCH V3 3/3] devicetree: da9062: Add device tree bindings for DA9062 OnKey

2015-09-28 Thread Opensource [Steve Twiss]
> Subject: Re: [PATCH V3 3/3] devicetree: da9062: Add device tree bindings for > DA9062 OnKey > > On Mon, Jul 27, 2015 at 03:43:00PM -0700, Dmitry Torokhov wrote: > > On Thu, Jul 23, 2015 at 05:17:41PM +0100, S Twiss wrote: > > > From: S Twiss > > > > > > Add device tree bindings for the DA9062

Re: [PATCH 2/2] arm64: to allow EFI_RTC can be selected on ARM64

2015-09-28 Thread Leizhen (ThunderTown)
On 2015/9/28 15:35, Arnd Bergmann wrote: > On Monday 28 September 2015 13:34:38 Zhen Lei wrote: >> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig >> index 07d1811..25cec57 100644 >> --- a/arch/arm64/Kconfig >> +++ b/arch/arm64/Kconfig >> @@ -85,7 +85,7 @@ config ARM64 >> select PERF

Re: [PATCH] Staging: rtl8712: rtl871x_ioctl_linux.c Move constant to right side of the comparision

2015-09-28 Thread Dan Carpenter
Don't worry too much. I think your patches are basically fine. I'm a fairly experience kernel dev but I don't know what an N/M patch is... Just don't work on staging/rtl* any more. The rest of staging is fine. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe

RE: [PATCH 12/12] mtd: nand-bbt: move nand_bbt.c to mtd folder

2015-09-28 Thread peterpandong
Hi Brian, Thanks for your reply. On Fri, Sep 25, 2015 at 06:48:05AM +, Brian Norris < computersforpe...@gmail.com > wrote: > Hi Peter, > > First of all, thanks for taking the time to try to address my > long-delayed comments. I hope to give this a proper look soon. (I also > hope you can fi

Re: [PATCH 2/2] arm64: to allow EFI_RTC can be selected on ARM64

2015-09-28 Thread Arnd Bergmann
On Monday 28 September 2015 16:29:57 Leizhen wrote: > > On 2015/9/28 15:35, Arnd Bergmann wrote: > > On Monday 28 September 2015 13:34:38 Zhen Lei wrote: > >> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig > >> index 07d1811..25cec57 100644 > >> --- a/arch/arm64/Kconfig > >> +++ b/arch/arm64

Re: [alsa-devel] [PATCH 1/2] dmaengine: OF DMAEngine API based on CONFIG_DMA_OF instead of CONFIG_OF

2015-09-28 Thread Kuninori Morimoto
Hi Vinod > > > > 5fa422c ("dmaengine: move drivers/of/dma.c -> drivers/dma/of-dma.c") > > > > moved OF base DMAEngine code to of-dma.c, then it based on > > > > CONFIG_DMA_OF. > > > > But, OF base DMAEngine API on of_dma.h still based on CONFIG_OF now. > > > > So, current kernel can't find OF ba

Re: [PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

2015-09-28 Thread Andy Shevchenko
On Mon, 2015-09-28 at 15:23 +0800, yitian wrote: > > > > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > > Sent: Monday, September 28, 2015 3:06 PM > > To: Viresh Kumar > > Cc: yitian ; Viresh Kumar > > ; Andy Shevchenko > > ; Vinod Koul < > > vinod.k...@intel.com>; > > Dan Williams ;

Re: [PATCH 2/2] arm64: to allow EFI_RTC can be selected on ARM64

2015-09-28 Thread Leizhen (ThunderTown)
On 2015/9/28 15:40, Ard Biesheuvel wrote: > On 28 September 2015 at 06:34, Zhen Lei wrote: >> Now, ARM64 is also support EFI startup. We hope use EFI runtime services >> to get/set current time and date. >> >> RTC_LIB only controls some configs in drivers/char/Kconfig(included >> EFI_RTC), and w

Re: [PATCH] CHROMIUM: iio: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-28 Thread Daniel Baluta
CHROMIUM: iio: Add Dyna-Image AP3223 ambient light and proximity driver Please remove CHROMIUM from the commit message. Consider using something like this: iio: light: Add Dyna-Image AP3223 ambient light and proximity driver On Mon, Sep 28, 2015 at 8:00 AM, Suresh Rajashekara wrote: > Minimal i

[PATCH] bna: fix error handling

2015-09-28 Thread Andrzej Hajda
Several functions can return negative value in case of error, so their return type should be fixed as well as type of variables to which this value is assigned. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://pe

Re: [PATCH 1/1] ASoC: dwc: fix dma stop transferring issue

2015-09-28 Thread kbuild test robot
Hi yitian, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: i386-randconfig-r0-201539 (attached as .config) reproduce: git checkout 3488a5ee9b79e2ced9fa43b78c9c5d0aa7e052f9 # save the attached .config to linux build tree make ARCH=i386 All error/

[PATCH] fix handling bq27xxx_read result

2015-09-28 Thread Andrzej Hajda
The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda --- drivers/power/bq27xxx_battery.c | 2 +-

Re: [PATCH 3/4] lib/vsprintf.c: Remove SPECIAL handling in pointer()

2015-09-28 Thread Andy Shevchenko
On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote: > As a quick > >git grep -E '%[ +0#-]*#[ +0#-]*(\*|[0-9]+)?(\.(\*|[0-9]+)?)?p' > > shows, nobody uses the # flag with %p. Moreover, I think users are > unlikely to show up since gcc will complain with > > warning: `#' flag used wit

Re: [PATCH RESEND] ARM: dts: Move display-timings node from fimd to dp

2015-09-28 Thread Tomeu Vizoso
Hi Kukjin and Krzysztof, could you take a look at this? Thanks, Tomeu On 17 September 2015 at 14:48, Tomeu Vizoso wrote: > From: Sean Paul > > This patch moves the display-timings node from fimd to dp to reflect the > device tree bindings change. > > Signed-off-by: Sean Paul > [tomeu.viz...@

Re: [PATCH] fix handling bq27xxx_read result

2015-09-28 Thread Pali Rohár
On Monday 28 September 2015 10:51:27 Andrzej Hajda wrote: > The function can return negative value. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 > > S

RE: [PATCH V4 1/2] ACPI / EC: Fix broken 64bit big-endian users of 'global_lock'

2015-09-28 Thread David Laight
From: Rafael J. Wysocki > Sent: 27 September 2015 15:09 ... > > > Say you have three adjacent fields in a structure, x, y, z, each one byte > > > long. > > > Initially, all of them are equal to 0. > > > > > > CPU A writes 1 to x and CPU B writes 2 to y at the same time. > > > > > > What's the resu

Re: [PATCH] drivers: staging: wilc1000: Replace message queue with standard Linux lists

2015-09-28 Thread Dan Carpenter
On Sun, Sep 27, 2015 at 07:43:18PM +0530, Chandra S Gorentla wrote: > The message queue is replaced with standard Linux linked list. A check for > return value of receive method is added. > > Signed-off-by: Chandra S Gorentla > --- > drivers/staging/wilc1000/host_interface.c | 7 +++- > driver

[PATCH] arch/x86: fix out-of-bounds in get_wchan()

2015-09-28 Thread Dmitry Vyukov
get_wchan() checks that fp is within stack bounds, but then dereferences fp+8. This can crash kernel or leak sensitive information. Also the function operates on a potentially running stack, but does not use READ_ONCE. As the result it can check that one value is within stack bounds, but then deref

Re: [PATCH 1/6] driver-core: platform: Provide helpers for multi-driver modules

2015-09-28 Thread Daniel Vetter
On Thu, Sep 24, 2015 at 7:02 PM, Thierry Reding wrote: > From: Thierry Reding > > Some modules register several sub-drivers. Provide a helper that makes > it easy to register and unregister a list of sub-drivers, as well as > unwind properly on error. > > Cc: Greg Kroah-Hartman > Signed-off-by:

Re: [PATCH V2 0/3] Updates to mce_amd_inj module

2015-09-28 Thread Borislav Petkov
On Fri, Sep 25, 2015 at 09:20:48AM -0500, Aravind Gopalakrishnan wrote: > Aravind Gopalakrishnan (3): > RAS, mce_amd_inj: Return early on invalid input > RAS, mce_amd_inj: Add capability to trigger apic interrupts > RAS, mce_amd_inj: Inject errors on NBC for bank 4 errors > > arch/x86/ras/m

Re: [PATCH] CHROMIUM: iio: Add Dyna-Image AP3223 ambient light and proximity driver

2015-09-28 Thread Jonathan Cameron
On 28 September 2015 09:49:33 BST, Daniel Baluta wrote: >CHROMIUM: iio: Add Dyna-Image AP3223 ambient light and proximity driver > >Please remove CHROMIUM from the commit message. Consider using >something like this: > >iio: light: Add Dyna-Image AP3223 ambient light and proximity driver One q

[PATCH] ASoC: atmel-classd: fix odd_ptr_err.cocci warnings

2015-09-28 Thread kbuild test robot
sound/soc/atmel/atmel-classd.c:578:5-11: inconsistent IS_ERR and PTR_ERR, PTR_ERR on line 579 PTR_ERR should access the value just tested by IS_ERR Semantic patch information: There can be false positives in the patch case, where it is the call IS_ERR that is wrong. Generated by: scripts/coc

[PATCH] ASoC: atmel-classd: fix platform_no_drv_owner.cocci warnings

2015-09-28 Thread kbuild test robot
sound/soc/atmel/atmel-classd.c:669:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Songjun Wu Signed-off-by: Fengguang Wu --- atmel-classd.c |1 -

Re: [PATCH 4/4] test_printf: test printf family at runtime

2015-09-28 Thread Andy Shevchenko
On Fri, 2015-09-25 at 19:41 +0200, Rasmus Villemoes wrote: > This adds a simple module for testing the kernel's printf > facilities. Previously, some %p extensions have caused a wrong return > value in case the entire output didn't fit and/or been unusable in > kasprintf(). This should help catch s

[PATCH linux-next v11 1/3] mfd: atmel-flexcom: create include file with macros used by DT bindings

2015-09-28 Thread Cyrille Pitchen
This patch defines some macros to be used as value for the "atmel,flexcom-mode" DT property. This value is then written into the Operating Mode (OPMODE) bit field of the Flexcom Mode Register. Signed-off-by: Cyrille Pitchen Acked-by: Nicolas Ferre --- include/dt-bindings/mfd/atmel-flexcom.h | 2

[PATCH linux-next v11 0/3] mfd: flexcom: add a driver for Flexcom

2015-09-28 Thread Cyrille Pitchen
This series of patches a support to the Atmel Flexcom, a wrapper which integrates an USART, a SPI controller and a TWI controller. Only one peripheral can be used at a time. The active function is selected though the Flexcom Mode Register. ChangeLog v11: - replace "GPLv2 only" by a proper licens

[PATCH linux-next v11 2/3] mfd: devicetree: add bindings for Atmel Flexcom

2015-09-28 Thread Cyrille Pitchen
This patch documents the DT bindings for the Atmel Flexcom which will be introduced by sama5d2x SoCs. These bindings will be used by the actual Flexcom driver to be sent in another patch. Signed-off-by: Cyrille Pitchen Acked-by: Boris Brezillon Acked-by: Alexandre Belloni Acked-by: Nicolas Ferr

[PATCH linux-next v11 3/3] mfd: atmel-flexcom: add a driver for Atmel Flexible Serial Communication Unit

2015-09-28 Thread Cyrille Pitchen
This driver supports the new Atmel Flexcom. The Flexcom is a wrapper which integrates one SPI controller, one I2C controller and one USART. Only one function can be enabled at a time. This driver selects the function once for all, when the Flexcom is probed, according to the value of the new "atmel

RE: [PATCH 1/1] dmaengine: dw: resolve recursion lock when audio playback

2015-09-28 Thread yitian
> From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Monday, September 28, 2015 4:46 PM > To: yitian ; 'Andy Shevchenko' > ; 'Viresh Kumar' > Cc: 'Viresh Kumar' ; 'Vinod Koul' > ; 'Dan Williams' ; > 'dmaengine' ; 'Linux Kernel Mailing List' > > Subject: Re: [PATCH 1/1] dmaen

Re: [PATCH RESEND] ARM: dts: Move display-timings node from fimd to dp

2015-09-28 Thread Krzysztof Kozlowski
W dniu 28.09.2015 o 17:56, Tomeu Vizoso pisze: > Hi Kukjin and Krzysztof, > > could you take a look at this? Of course, but please be patient. It waits on my todo list. I have just returned from holidays. Best regards, Krzysztof > > Thanks, > > Tomeu > > On 17 September 2015 at 14:48, Tomeu

[RFC] fs: change bh_lru_install() implementation

2015-09-28 Thread yalin wang
This patch use swap method to implement bh_lru_install, it works like this: swap new and [0] first, update old=[0], then compare old and [1], if old != new_bh && old != NULL, swap old and [1], then start the next compare, otherwise stop the compare. Signed-off-by: yalin wang --- fs/buffer.c | 33

Re: [linux-sunxi][alsa-devel][PATCH 3/3] ASOC: sunxi: Add support for the spdif block

2015-09-28 Thread Code Kipper
On 28 September 2015 at 10:25, Maxime Ripard wrote: > On Thu, Sep 24, 2015 at 04:30:05PM +0200, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> The sun4i, sun6i and sun7i SoC families have an SPDIF >> block which is capable of playback and capture. >> >> This patch enables the playback o

[PATCH] block: cmdline-parser: add support for hidden disk space

2015-09-28 Thread Shawn Lin
cmdline-partition now only support continuous disk space taken from cmdline. When we need to reserve a disk space, for instance, 100m between mmcblk0p1 and mmcblk0p2 for special use and wouldn't let kernel space realize this "disk hole", we add this patch to ship adding this kind of "disk hole" int

Re: Build regressions/improvements in v4.3-rc3

2015-09-28 Thread Russell King - ARM Linux
On Mon, Sep 28, 2015 at 08:57:44AM +0200, Geert Uytterhoeven wrote: > On Sun, Sep 27, 2015 at 9:34 PM, Geert Uytterhoeven > wrote: > > JFYI, when comparing v4.3-rc3[1] to v4.3-rc2[3], the summaries are: > > - build errors: +8/-12 > > + error: No rule to make target include/config/auto.conf:

Re: [PATCH] block: cmdline-parser: add support for hidden disk space

2015-09-28 Thread kbuild test robot
Hi Shawn, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: x86_64-randconfig-x005-201539 (attached as .config) reproduce: git checkout 937e3ebb4c7763e6120eda4a7e5b8c96bd710a9f # save the attached .config to linux build tree make ARCH=x86_64 All w

Re: [PATCH] kexec: fix out of the ELF headers buffer issue in syscall kexec_file_load()

2015-09-28 Thread joeyli
Hi, On Mon, Sep 28, 2015 at 03:16:41PM +0800, Baoquan He wrote: > Hi Chun-Yi, > > On 09/28/15 at 02:41pm, Lee, Chun-Yi wrote: > > On big machines have CPU number that's very nearly to consume whole ELF > > headers buffer that's page aligned, 4096, 8192... Then the page fault error > > randomly ha

Re: [PATCH] arch/x86: fix out-of-bounds in get_wchan()

2015-09-28 Thread Borislav Petkov
On Mon, Sep 28, 2015 at 11:00:39AM +0200, Dmitry Vyukov wrote: > get_wchan() checks that fp is within stack bounds, > but then dereferences fp+8. This can crash kernel > or leak sensitive information. Also the function > operates on a potentially running stack, but does > not use READ_ONCE. As the

Re: [PATCH] block: cmdline-parser: add support for hidden disk space

2015-09-28 Thread kbuild test robot
Hi Shawn, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: i386-randconfig-x005-201539 (attached as .config) reproduce: git checkout 937e3ebb4c7763e6120eda4a7e5b8c96bd710a9f # save the attached .config to linux build tree make ARCH=i386 All error

Re: [PATCH] kexec: fix out of the ELF headers buffer issue in syscall kexec_file_load()

2015-09-28 Thread joeyli
On Mon, Sep 28, 2015 at 04:07:57PM +0800, Baoquan He wrote: > On 09/28/15 at 02:41pm, Lee, Chun-Yi wrote: > > On big machines have CPU number that's very nearly to consume whole ELF > > headers buffer that's page aligned, 4096, 8192... Then the page fault error > > randomly happened. > > > > This

Re: [PATCH 1/9] drivers:nand:mtd: add support for UBI bakvol in mtd layer

2015-09-28 Thread Boris Brezillon
Hi Bean, On Mon, 28 Sep 2015 07:02:37 + Bean Huo 霍斌斌 (beanhuo) wrote: > Add support for UBI bakvol in mtd layer. > > This solution based on MLC NAND dual plane program. > so add hook in mtd layer. I know you don't have any other choices to expose "two-plane page program" to the UBI layer,

[PATCH 0/2] Fixes for next

2015-09-28 Thread Ludovic Desroches
Hi Stephen, Linus, Here are fixes for next. I did the at91-pio4 patches on top of next-20150916 which doesn't contain some tglx's updates about irqs. Ludovic Desroches (2): pinctrl: at91-pio4: use irq_set_handler_locked pinctrl: at91-pio4: irq argument as been removed from irq flow handle

[PATCH 1/2] pinctrl: at91-pio4: use irq_set_handler_locked

2015-09-28 Thread Ludovic Desroches
Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Signed-off-by: Ludovic Desroches --- drivers/pinctrl/pinctrl-at91-pio4.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinct

RE: [PATCH v2] f2fs: fix to correct freed section number during gc

2015-09-28 Thread Chao Yu
> -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Saturday, September 26, 2015 2:04 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH v2] f2fs: fix to correct freed section number during gc > > On Fr

[PATCH 2/2] pinctrl: at91-pio4: irq argument as been removed from irq flow handlers

2015-09-28 Thread Ludovic Desroches
Irq argument as been removed from irq flow handlers so use the irq descriptor to retrieve data we need. Signed-off-by: Ludovic Desroches --- drivers/pinctrl/pinctrl-at91-pio4.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers

[PATCH v2 00/02] irqchip: renesas-irqc: r8a7795 and generic chip update V2

2015-09-28 Thread Magnus Damm
irqchip: renesas-irqc: r8a7795 and generic chip update V2 [PATCH v2 01/02] irqchip: renesas-irqc: Add r8a7795 INTC-EX DT documentation [PATCH v2 02/02] irqchip: renesas-irqc: Move over to nested generic chip This series updates the IRQC driver with generic chip support including nested locking. A

[PATCH v2 01/02] irqchip: renesas-irqc: Add r8a7795 INTC-EX DT documentation

2015-09-28 Thread Magnus Damm
From: Magnus Damm For some reason the name of the external interrupt controller has changed name with r8a7795, so use "intc-ex" instead of "irqc" as r8a7795 compat string to follow the friendly documentation. Signed-off-by: Magnus Damm Acked-by: Geert Uytterhoeven --- Changes since V1: - Us

[PATCH v2 02/02] irqchip: renesas-irqc: Move over to nested generic chip

2015-09-28 Thread Magnus Damm
From: Magnus Damm Convert the IRQC driver to rely on GENERIC_IRQ_CHIP and set IRQ_GC_INIT_NESTED_LOCK to enable nested locking. Signed-off-by: Magnus Damm --- Changes since V1: - rebased on top of v4.3-rc3 - folded in the IRQ_GC_INIT_NESTED_LOCK bits drivers/irqchip/Kconfig|

  1   2   3   4   5   6   7   8   9   10   >