Re: [PATCH] configfs: Implement binary attributes (v3)

2014-10-28 Thread Pantelis Antoniou
Hi Greg, > On Oct 29, 2014, at 04:54 , Greg Kroah-Hartman > wrote: > > On Tue, Oct 28, 2014 at 10:30:32PM +0200, Pantelis Antoniou wrote: >> ConfigFS lacked binary attributes up until now. This patch >> introduces support for binary attributes in a somewhat similar >> manner of sysfs binary att

Re: [PATCH v3 01/19] usb: dwc3: enable hibernation if to be supported

2014-10-28 Thread Huang Rui
On Tue, Oct 28, 2014 at 02:18:52PM -0500, Felipe Balbi wrote: > On Tue, Oct 28, 2014 at 07:15:29PM +, Paul Zimmerman wrote: > > > From: Felipe Balbi [mailto:ba...@ti.com] > > > Sent: Tuesday, October 28, 2014 12:01 PM > > > > > > On Tue, Oct 28, 2014 at 06:55:50PM +, Paul Zimmerman wrote:

Re: [PATCH] mac80211_hwsim: release driver when ieee80211_register_hw fails

2014-10-28 Thread Martin Pitt
Acked-By: Martin Pitt Hello Junjie, Junjie Mao [2014-10-28 9:31 +0800]: > The driver is not released when ieee80211_register_hw fails in > mac80211_hwsim_create_radio, leading to the access to the unregistered (and > possibly freed) device in platform_driver_unregister: Many thanks for fixing

Re: [PATCH v3 04/19] usb: dwc3: add disscramble quirk

2014-10-28 Thread Huang Rui
Hi Bjorn, On Tue, Oct 28, 2014 at 10:39:26AM -0600, Bjorn Helgaas wrote: > On Tue, Oct 28, 2014 at 5:54 AM, Huang Rui wrote: > > This patch adds disscramble quirk, and it only needs to be enabled at fpga > > "disscramble" (in subject and above) is not a real word. > > I see that DWC3_GCTL_DISSC

Good day

2014-10-28 Thread nikkivcole
Good day,This email is sequel to an ealier sent message of which you have not responded.I have a personal charity project which I will want you to execute on my behalf.Please kidnly get back to me with this code MHR/3910/2014 .You can reach me on mrsalimqa...@gmail.com . Thank you Salim Qadri

Re: [PATCHv2 1/3] staging: ion: shrink page-pool by page unit

2014-10-28 Thread Gioh Kim
> diff --git a/drivers/staging/android/ion/ion_system_heap.c > b/drivers/staging/android/ion/ion_system_heap.c > index da2a63c..0ba8aaf 100644 > --- a/drivers/staging/android/ion/ion_system_heap.c > +++ b/drivers/staging/android/ion/ion_system_heap.c > @@ -29,7 +29,7 @@ > static gfp_t high_ord

Re: [PATCH 01/32] perf tools powerpc: Cache the DWARF debug info

2014-10-28 Thread Namhyung Kim
Hi Arnaldo and Sukadev, On Tue, 28 Oct 2014 11:31:55 -0200, Arnaldo Carvalho de Melo wrote: > From: Sukadev Bhattiprolu > @@ -156,15 +156,27 @@ static int check_return_addr(const char *exec_file, > Dwarf_Addr pc) > Dwarf_Addr end = pc; > boolsignalp; > > - dwfl

[PATCH] intel_ips: fix a type in error message

2014-10-28 Thread Masatake YAMATO
Signed-off-by: Masatake YAMATO --- drivers/platform/x86/intel_ips.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/x86/intel_ips.c b/drivers/platform/x86/intel_ips.c index c0242ed..ecd36e3 100644 --- a/drivers/platform/x86/intel_ips.c +++ b/drivers/platform/x

RE: [PATCH] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-10-28 Thread Sharma, Sanjeev
-Original Message- From: Joe Perches [mailto:j...@perches.com] Sent: Monday, October 27, 2014 8:23 PM To: Jes Sorensen Cc: Sharma, Sanjeev; larry.fin...@lwfinger.net; gre...@linuxfoundation.org; linux-wirel...@vger.kernel.org; de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org Subj

RE: [PATCH] staging:rtl8723au: core: Fix error reported by checkpatch.

2014-10-28 Thread Sharma, Sanjeev
-Original Message- From: Jes Sorensen [mailto:jes.soren...@redhat.com] Sent: Monday, October 27, 2014 2:13 PM To: Sharma, Sanjeev Cc: larry.fin...@lwfinger.net; gre...@linuxfoundation.org; linux-wirel...@vger.kernel.org; de...@driverdev.osuosl.org; linux-kernel@vger.kernel.org Subject: R

Re: [PATCH 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-10-28 Thread xudong chen
Dear Sirs, Missed the first paragraph, sorry for extra mail. This series is the first version of Mediatek SoCs I2C controller common bus driver, it is Request for Comment. Because the clock driver for mediatek SoC is not ready yet(still work in progress), so I delete the related clock code in dts

[PATCH/RFC] workqueue: allow rescuer thread to do more work.

2014-10-28 Thread NeilBrown
When there is serious memory pressure, all workers in a pool could be blocked, and a new thread cannot be created because it requires memory allocation. In this situation a WQ_MEM_RECLAIM workqueue will wake up the rescuer thread to do some work. The rescuer will only handle requests that are al

Re: [alsa-devel] [PATCH 01/11] MAINTANERS: Add AXD as a supported driver

2014-10-28 Thread Vinod Koul
On Tue, Oct 28, 2014 at 11:26:19AM +, Qais Yousef wrote: > AXD is Audio Processing IP driver that will be added in the following commits This should be after the addition of files, so last patch pls -- ~Vinod > > Signed-off-by: Qais Yousef > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > C

Re: [alsa-devel] [PATCH 09/11] drivers: char: axd: add sysfs setup files

2014-10-28 Thread Vinod Koul
On Tue, Oct 28, 2014 at 11:26:27AM +, Qais Yousef wrote: > lots of AXD configuration is exposed through sysfs, these > files create all the necessary nodes to allow setting up AXD > > Signed-off-by: Qais Yousef > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman > Cc: These *should* be alsa kcon

Job Openings via Adecco UK

2014-10-28 Thread Adecco UK
Hello, We are currently looking to recruit Engineers, Admin Officers, Accountants, Project Managers, Translators, Developers, Business Analysts and more! Adecco is a recruitment provider, working with some of the most exciting companies in the UK. If you are a skilled worker willing to live and w

Re: [alsa-devel] [PATCH 03/11] drivers: char: add AXD Audio Processing IP driver

2014-10-28 Thread Vinod Koul
On Tue, Oct 28, 2014 at 11:26:21AM +, Qais Yousef wrote: > + > +/* Register I/F */ > +#define AXD_REG_VERSION > 0x > +#define AXD_REG_CONFIG0 > 0x0004 > +#define AXD_REG_CONFIG1

[PATCH] x86/mm: Re-use the early_ioremap fixed area

2014-10-28 Thread Minfei Huang
The FIXADDR_BOOT area is only used during boot for early_ioremap, and it is unused when the ioremap is functional. vmalloc becomes available after early boot so the FIXADDR_BOOT_START area is available for reuse. The virtual address is more precious on i386, especially turning on the high memory.

[PATCH] Staging: android: logger: Remove uneeded tabs in variable declaration

2014-10-28 Thread Tristan Lelong
This patch removes tabs used to align variable names in declaration and assignation. It replaces them with exactly one space. Signed-off-by: Tristan Lelong --- drivers/staging/android/logger.c | 49 1 file changed, 24 insertions(+), 25 deletions(-) diff

Re: [alsa-devel] [PATCH 00/11] Add AXD Audio Processing IP driver

2014-10-28 Thread Vinod Koul
On Wed, Oct 29, 2014 at 10:50:19AM +0800, Greg Kroah-Hartman wrote: > On Tue, Oct 28, 2014 at 03:05:16PM +, Qais Yousef wrote: > > On 10/28/2014 02:13 PM, Greg Kroah-Hartman wrote: > > >On Tue, Oct 28, 2014 at 01:18:28PM +, Qais Yousef wrote: > > >>On 10/28/2014 11:55 AM, Clemens Ladisch wr

Re: [alsa-devel] [PATCH 00/11] Add AXD Audio Processing IP driver

2014-10-28 Thread Vinod Koul
On Tue, Oct 28, 2014 at 10:13:48PM +0800, Greg Kroah-Hartman wrote: > On Tue, Oct 28, 2014 at 01:18:28PM +, Qais Yousef wrote: > > On 10/28/2014 11:55 AM, Clemens Ladisch wrote: > > >Qais Yousef wrote: > > >>AXD Audio Processing IP performs audio decoding, encoding, mixing, > > >>equalisation,

Re: [alsa-devel] [PATCH 00/11] Add AXD Audio Processing IP driver

2014-10-28 Thread Vinod Koul
On Tue, Oct 28, 2014 at 01:18:28PM +, Qais Yousef wrote: > On 10/28/2014 11:55 AM, Clemens Ladisch wrote: > >Qais Yousef wrote: > >>AXD Audio Processing IP performs audio decoding, encoding, mixing, > >>equalisation, > >>synchronisation and playback. > >What exactly do you mean with "synchroni

Re: [PATCH RESEND V4 0/9] Tegra xHCI support

2014-10-28 Thread Alexandre Courbot
On Wed, Oct 29, 2014 at 7:27 AM, Andrew Bresticker wrote: > This series adds support for xHCI on NVIDIA Tegra SoCs. This includes: > - patches 1 and 2: adding a driver for the mailbox used to communicate >with the xHCI controller's firmware, > - patches 3 and 4: extending the XUSB pad contr

[RFC V5 3/3] arm64:add bitrev.h file to support rbit instruction

2014-10-28 Thread Wang, Yalin
This patch add bitrev.h file to support rbit instruction, so that we can do bitrev operation by hardware. Signed-off-by: Yalin Wang --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/bitrev.h | 28 2 files changed, 29 insertions(+) create mode 100644

[RFC V5 2/3] arm:add bitrev.h file to support rbit instruction

2014-10-28 Thread Wang, Yalin
This patch add bitrev.h file to support rbit instruction, so that we can do bitrev operation by hardware. Signed-off-by: Yalin Wang --- arch/arm/Kconfig | 1 + arch/arm/include/asm/bitrev.h | 28 2 files changed, 29 insertions(+) create mode 100644 arch

[RFC V5 1/3] add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-28 Thread Wang, Yalin
this change add CONFIG_HAVE_ARCH_BITREVERSE config option, so that we can use arm/arm64 rbit instruction to do bitrev operation by hardware. Change bitrev16() bitrev32() to be inline function, don't need export symbol for these tiny functions. Signed-off-by: Yalin Wang --- include/linux/bitrev.

[PATCH 2/3] ARM: mediatek: Add I2C node for mt8135 and mt8127

2014-10-28 Thread Xudong Chen
Add I2C node to mt8135.dtsi and mt8127.dtsi Signed-off-by: Xudong Chen --- arch/arm/boot/dts/mt8127.dtsi | 27 +++ arch/arm/boot/dts/mt8135.dtsi | 51 +++ 2 files changed, 78 insertions(+) diff --git a/arch/arm/boot/dts/mt8127.dtsi b/a

[PATCH 1/3] dt-bindings: Add I2C bindings for mt65xx/mt81xx.

2014-10-28 Thread Xudong Chen
Add devicetree bindings for Mediatek Soc I2C driver. Signed-off-by: Xudong Chen --- .../devicetree/bindings/i2c/i2c-mt6577.txt | 37 ++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-mt6577.txt diff --git a/Documentatio

[PATCH 3/3] I2C: mediatek: Add driver for MediaTek I2C controller

2014-10-28 Thread Xudong Chen
The mediatek SoCs have I2C controller that handle I2C transfer. This patch include common I2C bus driver. This driver is compatible with I2C controller on mt65xx/mt81xx. Signed-off-by: Xudong Chen Change-Id: Icc17e326b9df46a226d536956e103f17b0382b6e --- drivers/i2c/busses/Kconfig | 9 + d

[PATCH 0/3] ARM: mediatek: Add driver for Mediatek I2C controller

2014-10-28 Thread Xudong Chen
This driver is based on 3.18-rc1 & Hongzhou's gpio patch. MTK I2C HW has some limitation. 1. If the i2c_msg number is more than one, STOP will be issued instead of RS(Repeat Start) between each message. Such as: "START + ADDR + DATA_n + STOP + START + ADDR + DATA_n + STOP ..." 2. Mediatek I2C con

Re: [PATCH 1/2] Xen: Delay remapping memory of pv-domain

2014-10-28 Thread Juergen Gross
On 10/29/2014 06:30 AM, Juergen Gross wrote: On 10/28/2014 06:34 PM, David Vrabel wrote: Can these patches be split up? They're hard to review as-is. e.g., the changes to page allocation look they could be split out. On 27/10/14 14:52, Juergen Gross wrote: Early in the boot process the memor

RE: [RFC V4 1/3] add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-28 Thread Wang, Yalin
> From: Joe Perches [mailto:j...@perches.com] > > We also change byte_rev_table[] to be static, to make sure no drivers > > can access it directly. > > You break the build with this patch. > > You can't do this until the users of the table are converted. > > So far, they are not. > > I submitte

[PATCHv2 0/3] staging: ion: enable pool shrinking in page unit

2014-10-28 Thread Gioh Kim
Hello, Current pool shrinking is not page unit, block unit. But shrinker returns the pool size in page unit, so it is confused. And there is no way to control pool size and shrink pool directly. I have 3 patches like followings. 1. Patch 1/3: make pool be shrinked by page unit This patch shrink

[PATCHv2 2/3] staging: ion: limit pool size

2014-10-28 Thread Gioh Kim
This patch limits pool size by page unit. And enable a debugfs file to set limit. Change-Id: Idaef4daa69084e8ec0844ecefc6738afeab79ccb Signed-off-by: Gioh Kim --- drivers/staging/android/ion/ion.c | 31 + drivers/staging/android/ion/ion_page_pool.c | 24

[PATCHv2 3/3] staging: ion: debugfs to shrink pool

2014-10-28 Thread Gioh Kim
This patch enables debugfs files /sys/kernel/debug/ion/heaps/system_shrink ,which was commented out, to shrink pool or get pool size Reading the file returns pool size and writing occurs to shrink pool. Signed-off-by: Gioh Kim --- drivers/staging/android/ion/ion.c | 31 +++---

[PATCHv2 1/3] staging: ion: shrink page-pool by page unit

2014-10-28 Thread Gioh Kim
This patch shrink page-pool by page unit. Shrinker usually get the pool size with the pool-scanner and pass the size to the pool-counter to shrink entire pool. But the pool-scanner is working in block unit. and pool-counter page unit. So it is confused. Change-Id: If25c693c09f6ebd14c87809feddb72f

Re: [PATCH 1/2] Xen: Delay remapping memory of pv-domain

2014-10-28 Thread Juergen Gross
On 10/28/2014 06:34 PM, David Vrabel wrote: Can these patches be split up? They're hard to review as-is. e.g., the changes to page allocation look they could be split out. On 27/10/14 14:52, Juergen Gross wrote: Early in the boot process the memory layout of a pv-domain is changed to match th

Re: [PATCH v2] staging: skein: skein_api.c: removed space before ','

2014-10-28 Thread Sudip Mukherjee
On Tue, Oct 28, 2014 at 09:07:00PM +0100, Mikael Svantesson wrote: > Signed-off-by: Mikael Svantesson still the same problem. ERROR: patch seems to be corrupt (line wrapped?) > --- > drivers/staging/skein/skein_api.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/dri

Re: [RFC V4 1/3] add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-28 Thread Joe Perches
On Wed, 2014-10-29 at 13:14 +0800, Wang, Yalin wrote: > this change add CONFIG_HAVE_ARCH_BITREVERSE config option, > so that we can use arm/arm64 rbit instruction to do bitrev operation > by hardware. > We also change byte_rev_table[] to be static, > to make sure no drivers can access it directly.

RE: [RFC V2] arm/arm64:add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-28 Thread Wang, Yalin
> From: Rob Herring [mailto:robherri...@gmail.com] > >> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index > >> 9532f8d..263c28c 100644 > >> --- a/arch/arm64/Kconfig > >> +++ b/arch/arm64/Kconfig > >> @@ -36,6 +36,7 @@ config ARM64 > >> select HARDIRQS_SW_RESEND > >> select HAVE

Re: Machine crashes right *after* ~successful resume

2014-10-28 Thread Yinghai Lu
On Tue, Oct 28, 2014 at 4:34 PM, Wilmer van der Gaast wrote: > > I've run the commands twice, once before and once after a single > suspend+resume cycle. Small difference and only before that cycle: > > ruby:~/crashit# diff -u lspcixx-* > --- lspcixx-nopatch.txt 2014-10-28 23:26:08.679690828 +

[RFC V4 3/3] arm64:add bitrev.h file to support rbit instruction

2014-10-28 Thread Wang, Yalin
This patch add bitrev.h file to support rbit instruction, so that we can do bitrev operation by hardware. Signed-off-by: Yalin Wang --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/bitrev.h | 28 2 files changed, 29 insertions(+) create mode 100644

[RFC V4 2/3] arm:add bitrev.h file to support rbit instruction

2014-10-28 Thread Wang, Yalin
This patch add bitrev.h file to support rbit instruction, so that we can do bitrev operation by hardware. Signed-off-by: Yalin Wang --- arch/arm/Kconfig | 1 + arch/arm/include/asm/bitrev.h | 28 2 files changed, 29 insertions(+) create mode 100644 arch

RE: [PATCH] mmc:core: fix hs400 timing selection

2014-10-28 Thread 유한경
Hi I have read the specifications document to answer your question. It is better, I think, the host controller is changed into DDR50 mode when to change the eMMC bus mode into DDR50 There will no problem because the no data line will be used in DDR50 mode during the transition to HS400. So we dr

[RFC V4 1/3] add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-28 Thread Wang, Yalin
this change add CONFIG_HAVE_ARCH_BITREVERSE config option, so that we can use arm/arm64 rbit instruction to do bitrev operation by hardware. We also change byte_rev_table[] to be static, to make sure no drivers can access it directly. Change bitrev16() bitrev32() to be inline function, don't need

Re: [PATCH 2/3] introduce probe_slab_address()

2014-10-28 Thread Kirill Tkhai
В Вт, 28/10/2014 в 21:12 +0100, Oleg Nesterov пишет: > On 10/28, Oleg Nesterov wrote: > > > > On 10/28, Kirill Tkhai wrote: > > > > > > Yes, probe_kernel_read() is in [1/3], but it's not the same as > > > __probe_kernel_read() for blackfin, for example. > > > > > > It's defined as > > > > > > long

Re: [sched] [ INFO: suspicious RCU usage. ]

2014-10-28 Thread Kirill Tkhai
Thanks, Fengguang. I've suggested this patch https://lkml.org/lkml/2014/10/28/41. В Вт, 28/10/2014 в 22:27 +0800, Fengguang Wu пишет: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sch

Re: [GIT PULL] Fix for Integrity subsystem null pointer deref

2014-10-28 Thread Andy Lutomirski
On Tue, Oct 28, 2014 at 8:55 PM, James Morris wrote: > These changes fix a bug in xattr handling, where the evm and ima > inode_setxattr() functions do not check for empty xattrs being passed from > userspace (leading to user-triggerable null pointer dereferences). > > Please pull. > > > The follo

[PATCH 4/4] f2fs: revisit inline_data to avoid data races and potential bugs

2014-10-28 Thread Jaegeuk Kim
This patch simplifies the inline_data usage with the following rule. 1. inline_data is set during the file creation. 2. If new data is requested to be written ranges out of inline_data, f2fs converts that inode permanently. 3. There is no cases which converts non-inline_data inode to inline_data.

[PATCH 2/4] f2fs: flush_dcache_page for inline data

2014-10-28 Thread Jaegeuk Kim
When reading inline data, we should call flush_dcache_page. Signed-off-by: Jaegeuk Kim --- fs/f2fs/inline.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index d9daf76..d6677d6 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -57,6 +57,7 @@ int f2

[PATCH 3/4] f2fs: do not discard data protected by the previous checkpoint

2014-10-28 Thread Jaegeuk Kim
We should not discard any data protected by the previous checkpoint all the time. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index d391a59..06dda73 100644 --- a/fs/f2fs/segment.c +++ b

[PATCH 1/4] f2fs: call write_checkpoint under disabled gc

2014-10-28 Thread Jaegeuk Kim
During the write_checkpoint, we should avoid f2fs_gc trigger to avoid any filesystem consistency. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index 21ccc48..d391a59 100644 --- a/fs/f2fs/segment.c +++

[RFC] stating: ion: use hot page first in pool

2014-10-28 Thread Gioh Kim
Hello, I found that ion insert freed-page at the tail of list and extract at the head. I think it is good for cache to use the most recently used page but these pages in pool are not cached memory. So I'm not sure using hot page is better or not in this case. What do you think about using hot p

Re: [PATCH RFC v2 1/8] pinctrl: Add driver for Zynq

2014-10-28 Thread Lothar Waßmann
Hi, Sören Brinkmann wrote: > On Tue, 2014-10-28 at 04:16PM +0100, Lothar Waßmann wrote: > > Hi, > > > > Soren Brinkmann wrote: > > > Signed-off-by: Soren Brinkmann > > > --- > > > changes since RFC: > > > - use syscon/regmap to access registers in SLCR space > > > - add pinctrl to zc702 DT > >

Re: [PATCH V3 1/2] mm: Update generic gup implementation to handle hugepage directory

2014-10-28 Thread Michael Ellerman
On Tue, 2014-10-28 at 10:44 +, Steve Capper wrote: > On Mon, Oct 27, 2014 at 06:32:41PM -0700, Andrew Morton wrote: > > On Tue, 28 Oct 2014 12:20:29 +1100 Michael Ellerman > > wrote: > > > > > On Mon, 2014-10-27 at 16:06 -0700, Andrew Morton wrote: > > > > On Sat, 25 Oct 2014 16:14:19 +0530

Re: [PATCH v2] ARM: dts: rockchip: use internal pull-up resistors on I2C busses

2014-10-28 Thread Doug Anderson
Julien, On Tue, Oct 28, 2014 at 3:36 AM, Julien CHAUVEAU wrote: > According to the I2C bus specification, it is required to use pull-up > resistors > on the clock and data lines. Probing the I2C busses with i2cdetect results in > bad results when no devices are connected and no external resistor

Re: [PATCH] Input: max77693-haptic - fix potential overflow

2014-10-28 Thread Chanwoo Choi
On 10/29/2014 01:43 AM, Dmitry Torokhov wrote: > Expression haptic->pwm_dev->period * haptic->magnitude is of type 'unsigned > int' and may overflow. We need to convert one of the operands to u64 before > multiplying, instead of casting result (potentially overflown) to u64. > > Reported by Coveri

Re: [PATCH] mm: Avoid overlap the fixmap area on i386

2014-10-28 Thread Minfei Huang
On 10/28/14 at 08:14pm, H. Peter Anvin wrote: > On 10/28/2014 10:29 AM, Thomas Gleixner wrote: > > On Tue, 28 Oct 2014, H. Peter Anvin wrote: > >> On 10/28/2014 04:06 AM, Thomas Gleixner wrote: > > The available address we can use is lower than FIXADDR_BOOT_START. So > We will set th

[PATCH 01/02] staging:lustre:lnet:selftest: fix sparse warnings

2014-10-28 Thread Anton Saraev
Fix sparse warnings: symbol X was not declared. Should it be static? Some functions used only in files where they are declared. They can be static. Signed-off-by: Anton Saraev --- drivers/staging/lustre/lnet/selftest/conctl.c| 34 drivers/staging/lustre/lnet/selftest/conrpc.

[PATCH 02/02] staging:lustre:lnet:selftest: remove unused function

2014-10-28 Thread Anton Saraev
Function lnet_selftest_structure_assertion is never used and can be removed. Signed-off-by: Anton Saraev --- drivers/staging/lustre/lnet/selftest/module.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/drivers/staging/lustre/lnet/selftest/module.c b/drivers/staging/lustre/lnet/

[PATCH 00/02] staging:lustre:lnet:selftest: fix sparse warnings

2014-10-28 Thread Anton Saraev
Patch fix simple sparse warnings: make functions static and remove unused code. I'm doing only little testing: module was loaded properly, output of lst without real server is the same as before. Anton Saraev (2): staging:lustre:lnet:selftest: fix sparse warnings staging:lustre:lnet:selftest:

linux-next: Tree for Oct 29

2014-10-28 Thread Stephen Rothwell
Hi all, Changes since 20141028: The usb-gadget-fixes tree gained a build failure so I used the version from next-20141028. The net-next tree gained a conflict against the net tree. The bluetooth tree lost its build failure. The pinctrl tree lost its build failure. Non-merge commits (relative

[PATCH 02/11] irqchip: brcmstb-l2: Eliminate dependency on ARM code

2014-10-28 Thread Kevin Cernekee
The irq-brcmstb-l2 driver has a single dependency on the ARM code, the do_bad_IRQ macro. Expand this macro in-place so that the driver can be built on non-ARM platforms. Signed-off-by: Kevin Cernekee --- drivers/irqchip/irq-brcmstb-l2.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(

[PATCH 05/11] irqchip: bcm7120-l2: Make sure all register accesses use base+offset

2014-10-28 Thread Kevin Cernekee
A couple of accesses to IRQEN (base+0x00) just used "base" directly, so they would break if IRQEN ever became nonzero. Make sure that all reads/writes specify the register offset constant. Signed-off-by: Kevin Cernekee --- drivers/irqchip/irq-bcm7120-l2.c | 6 +++--- 1 file changed, 3 insertion

[PATCH 06/11] irqchip: bcm7120-l2: Use irq_reg_* accessors

2014-10-28 Thread Kevin Cernekee
This keeps things consistent between the "core" bcm7120-l2 driver and the helpers in generic-chip.c. Signed-off-by: Kevin Cernekee --- drivers/irqchip/irq-bcm7120-l2.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/irqchip/irq-bcm7120-l2.c b/drivers/irqchi

[PATCH 03/11] irqchip: bcm7120-l2: Eliminate bad IRQ check

2014-10-28 Thread Kevin Cernekee
This check may be prone to race conditions, e.g. 1) Some external event (e.g. GPIO level) causes an IRQ to become pending 2) Peripheral asserts the L2 IRQ 3) CPU takes an interrupt 4) The event from #1 goes away 5) bcm7120_l2_intc_irq_handle() reads back a 0 status Unlike the hardware supported b

[PATCH 04/11] irqchip: Remove ARM dependency for bcm7120-l2 and brcmstb-l2

2014-10-28 Thread Kevin Cernekee
This can compile for MIPS (or anything else) now. Signed-off-by: Kevin Cernekee --- drivers/irqchip/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig index 6f0e80b..6a03c65 100644 --- a/drivers/irqchip/Kconfig +++ b/drivers/irqchip/Kconf

[PATCH 08/11] irqchip: bcm7120-l2: Fix missing nibble in gc->unused mask

2014-10-28 Thread Kevin Cernekee
This mask should have been 0x_, not 0x0fff_. The change should not have an effect on current users (STB) because bits 31:27 are unused. Signed-off-by: Kevin Cernekee --- drivers/irqchip/irq-bcm7120-l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqc

[PATCH 09/11] irqchip: bcm7120-l2: Use gc->mask_cache to simplify suspend/resume functions

2014-10-28 Thread Kevin Cernekee
The cached value already incorporates irq_fwd_mask, and was saved the last time an IRQ was enabled/disabled. Signed-off-by: Kevin Cernekee --- drivers/irqchip/irq-bcm7120-l2.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/irqchip/irq-bcm7120-l2.c b/drive

[PATCH 11/11] irqchip: Decouple bcm7120-l2 from brcmstb-l2

2014-10-28 Thread Kevin Cernekee
Some chips, such as BCM6328, only require the former driver. Some BCM7xxx STB configurations only require the latter driver. Treat them as two separate entities, and update the mach-bcm dependencies to reflect the change. Signed-off-by: Kevin Cernekee --- arch/arm/mach-bcm/Kconfig| 1 +

[PATCH 07/11] irqchip: brcmstb-l2: Use irq_reg_* accessors

2014-10-28 Thread Kevin Cernekee
This change was just made on bcm7120-l2, so let's keep things consistent between the two drivers. Signed-off-by: Kevin Cernekee --- drivers/irqchip/irq-brcmstb-l2.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/irqchip/irq-brcmstb-l2.c b/dri

[PATCH 01/11] irqchip: Allow irq_reg_{readl,writel} to use __raw_{readl_writel}

2014-10-28 Thread Kevin Cernekee
On big-endian systems readl/writel may perform an unwanted endian swap, breaking generic-chip.c. Let the platform code opt to use the __raw_ variants by selecting RAW_IRQ_ACCESSORS. This is required in order for bcm3384 to use GENERIC_IRQ_CHIP. Several existing irqchip drivers also use the __raw

[PATCH 10/11] irqchip: bcm7120-l2: Extend driver to support 64+ bit controllers

2014-10-28 Thread Kevin Cernekee
Most implementations of the bcm7120-l2 controller only have a single 32-bit enable word + 32-bit status word. But some instances have added more enable/status pairs in order to support 64+ IRQs (which are all ORed into one parent IRQ input). Make the following changes to allow the driver to suppo

[GIT PULL] Fix for Integrity subsystem null pointer deref

2014-10-28 Thread James Morris
These changes fix a bug in xattr handling, where the evm and ima inode_setxattr() functions do not check for empty xattrs being passed from userspace (leading to user-triggerable null pointer dereferences). Please pull. The following changes since commit 9f76628da20f96a179ca62b504886f99ecc2922

[PATCH] audio: sai: Add Power Management support

2014-10-28 Thread Alison Wang
This patch adds Power Management support for SAI. Activate regmap cache with REGCACHE_RBTREE, and use regmap cache code to save and restore registers in suspend and resume. The Transmit Control Register (TCSR) and Receive Control Register(RCSR) should be volatile registers. Signed-off-by: Alison W

[PATCH v2 2/2] ACPI/EC: Fix a regression caused by conflict firmware behavior between Samsung and Acer.

2014-10-28 Thread Lv Zheng
It is reported that Samsung laptops that need to poll events are broken by the following commit: Commit 3afcf2ece453e1a8c2c6de19cdf06da3772a1b08 Subject: ACPI / EC: Add support to disallow QR_EC to be issued when SCI_EVT isn't set The behaviors of the 2 vendor firmwares are conflict: 1. Acer: O

[PATCH v2 0/2] ACPI/EC: Fix regressions on Samsung hardware.

2014-10-28 Thread Lv Zheng
It is reported that the Samsung EC firmware behaves differently than Acer EC firmware. And then previous 2 commits that fix Acer issues have broken Samsung hardware. This patchset fixes the regressions. Lv Zheng (2): Revert "ACPI / EC: Add support to disallow QR_EC to be issued before compl

[PATCH v2 1/2] Revert "ACPI / EC: Add support to disallow QR_EC to be issued before completing previous QR_EC"

2014-10-28 Thread Lv Zheng
It is reported that the following commit breaks Samsung hardware: Commit: 558e4736f2e1b0e6323adf7a5e4df77ed6cfc1a4. Subject: ACPI / EC: Add support to disallow QR_EC to be issued before completing previous QR_EC Which means the Samsung behavior conflicts with the Acer behavior. 1. Sam

Re: [PATCH v7 0/7] usb: add support for the generic PHY framework

2014-10-28 Thread Peter Chen
On Tue, Oct 28, 2014 at 05:35:34PM +0100, Antoine Tenart wrote: > The series can be found at: > git://git.free-electrons.com:users/antoine-tenart/linux.git usb-phy > > Changes since v6: > - rebased on top of v3.18-rc2 > > Changes since v5: > - rebased on the latest version of Sergei

Re: [RFC V2] arm/arm64:add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-28 Thread Rob Herring
On Mon, Oct 27, 2014 at 2:46 PM, Joe Perches wrote: > On Mon, 2014-10-27 at 14:37 +0800, Wang, Yalin wrote: >> this change add CONFIG_HAVE_ARCH_BITREVERSE config option, >> so that we can use arm/arm64 rbit instruction to do bitrev operation >> by hardware. I don't see the original patch in my in

Re: [PATCH] Input: max77693-haptic - fix potential overflow

2014-10-28 Thread Jaewon Kim
Hi Dmitry, 2014년 10월 29일 01:43에 Dmitry Torokhov 이(가) 쓴 글: Expression haptic->pwm_dev->period * haptic->magnitude is of type 'unsigned int' and may overflow. We need to convert one of the operands to u64 before multiplying, instead of casting result (potentially overflown) to u64. Reported by Co

Re: [PATCH] sched: Fix race between task_group and sched_task_group

2014-10-28 Thread Kirill Tkhai
On 29.10.2014 01:52, Oleg Nesterov wrote: > On 10/28, Kirill Tkhai wrote: >> >> Shouldn't we do that in separate patch? How about this? > > Up to Peter, but I think a separate patch is fine. > >> [PATCH]sched: Remove lockdep check in sched_move_task() >> >> sched_move_task() is the only interface

[PATCH net 1/3] r8152: clear SELECTIVE_SUSPEND when autoresuming

2014-10-28 Thread Hayes Wang
The flag of SELECTIVE_SUSPEND should be cleared when autoresuming. Otherwise, when the system suspend and resume occur, it may have the wrong flow. Besides, because the flag of SELECTIVE_SUSPEND couldn't be used to check if the hw enables the relative feature, it should alwayes be disabled in clos

[PATCH net 3/3] r8152: check WORK_ENABLE in suspend function

2014-10-28 Thread Hayes Wang
Avoid unnecessary behavior when autosuspend occurs during open(). The relative processes should only be run after finishing open(). Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/

[PATCH net 0/3] r8152: patches for autosuspend

2014-10-28 Thread Hayes Wang
There are unexpected processes when enabling autosuspend. These patches are used to fix them. Hayes Wang (3): r8152: clear SELECTIVE_SUSPEND when autoresuming r8152: reset tp->speed before autoresuming in open function r8152: check WORK_ENABLE in suspend function drivers/net/usb/r8152.c |

[PATCH net 2/3] r8152: reset tp->speed before autoresuming in open function

2014-10-28 Thread Hayes Wang
If (tp->speed & LINK_STATUS) is not zero, the rtl8152_resume() would call rtl_start_rx() before enabling the tx/rx. Avoid this by resetting it to zero. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers

RE: [PATCH] 6fire: Convert byte_rev_table uses to bitrev8

2014-10-28 Thread Wang, Yalin
> From: Joe Perches [mailto:j...@perches.com] > > I think the most safe way is change byte_rev_table[] to be satic, So > > that no driver can access it directly, The build error can remind the > > developer if they use byte_rev_table[] Directly . > > You can do that with your later patch, but the

Re: [PATCH] mm: Avoid overlap the fixmap area on i386

2014-10-28 Thread H. Peter Anvin
On 10/28/2014 10:29 AM, Thomas Gleixner wrote: > On Tue, 28 Oct 2014, H. Peter Anvin wrote: >> On 10/28/2014 04:06 AM, Thomas Gleixner wrote: The available address we can use is lower than FIXADDR_BOOT_START. So We will set the kmap boundary below the FIXADDR_BOOT_START, if configure

Re: [PATCH 2/5] perf, x86, uncore: Add Haswell-EP uncore support

2014-10-28 Thread Andi Kleen
> > yes. removing line 'hswep_uncore_sbox' also worked as workaround. > You have an idea what's going on? Not yet. I don't see it on my own systems, so it's something that's different on yours. > I suspect other folks will see the same crash when E5 v3 > become more widespread. I guess we can d

RE: [PATCH v1 1/3] firmware loader: Introduce new API - request_firmware_abort()

2014-10-28 Thread Kweh, Hock Leong
> -Original Message- > From: Ming Lei [mailto:ming@canonical.com] > Sent: Monday, October 27, 2014 12:00 AM > > You can call fw_lookup_buf() directly, otherwise feel free to add: > > Acked-by: Ming Lei > Hi Ming Lei, The fw_lookup_buf() is defined inside the conditional preprocess

Re: [PATCH] 6fire: Convert byte_rev_table uses to bitrev8

2014-10-28 Thread Joe Perches
On Wed, 2014-10-29 at 10:42 +0800, Wang, Yalin wrote: > > Use the inline function instead of directly indexing the array. > > This allows some architectures with hardware instructions for bit reversals > > to eliminate the array. [] > > On Sun, 2014-10-26 at 23:46 -0700, Joe Perches wrote: > > > On

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-28 Thread Michael Ellerman
On Tue, 2014-10-28 at 13:29 -0700, Randy Dunlap wrote: > On 10/27/14 06:13, Tomi Valkeinen wrote: > > I also think the 'depends on BACKLIGHT_CLASS_DEVICE || > > BACKLIGHT_CLASS_DEVICE=n' pattern is quite... interesting (i.e. sounds > > like a hack to me =). > > It does exactly what is needed and i

Re: [PATCH 02/11 V2] radeon: evergreen: Fix probable mask then right shift defect

2014-10-28 Thread Michel Dänzer
On 28.10.2014 23:06, Alex Deucher wrote: On Mon, Oct 27, 2014 at 10:14 AM, Joe Perches wrote: Precedence of & and >> is not the same and is not left to right. shift has higher precedence and should be done after the mask. Add parentheses around the mask. Use the already #defined values instea

Re: [PATCH v15 2/5] dt-bindings: document Rockchip thermal

2014-10-28 Thread Caesar Wang
在 2014年10月29日 07:46, Dmitry Torokhov 写道: On Tue, Oct 28, 2014 at 04:51:24PM +0800, Caesar Wang wrote: This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov Added. Thank you!

Re: [PATCH v15 1/5] thermal: rockchip: add driver for thermal

2014-10-28 Thread Caesar Wang
Dmitry, Fixed and sent in patch v16. 在 2014年10月29日 07:46, Dmitry Torokhov 写道: Hi Caesar, On Tue, Oct 28, 2014 at 04:51:23PM +0800, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals enti

Re: [PATCH] configfs: Implement binary attributes (v3)

2014-10-28 Thread Greg Kroah-Hartman
On Tue, Oct 28, 2014 at 10:30:32PM +0200, Pantelis Antoniou wrote: > ConfigFS lacked binary attributes up until now. This patch > introduces support for binary attributes in a somewhat similar > manner of sysfs binary attributes albeit with changes that > fit the configfs usage model. > > Problems

RE: [RFC V3] arm/arm64:add CONFIG_HAVE_ARCH_BITREVERSE to support rbit instruction

2014-10-28 Thread Wang, Yalin
> From: Will Deacon [mailto:will.dea...@arm.com] > Yup, sorry, I didn't realise this patch covered both architectures. It > would probably be a good idea to split it into 3 parts: a core part, then > the two architectural bits. > > Will Ok , I will split the patch into three parts, And send again

linux-next: build warning after merge of the pm tree

2014-10-28 Thread Stephen Rothwell
Hi Rafael, After merging the pm tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/of/base.c: In function 'of_property_read_string_array': drivers/of/base.c:1472:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Introduced by commit e

Re: [PATCH 00/11] Add AXD Audio Processing IP driver

2014-10-28 Thread Greg Kroah-Hartman
On Tue, Oct 28, 2014 at 03:05:16PM +, Qais Yousef wrote: > On 10/28/2014 02:13 PM, Greg Kroah-Hartman wrote: > >On Tue, Oct 28, 2014 at 01:18:28PM +, Qais Yousef wrote: > >>On 10/28/2014 11:55 AM, Clemens Ladisch wrote: > >>>Qais Yousef wrote: > AXD Audio Processing IP performs audio de

Re: overlayfs: "filesystem of lowerdir is not supported" on cdrom

2014-10-28 Thread Tim Tassonis
On 10/28/2014 11:54 PM, Al Viro wrote: > On Tue, Oct 28, 2014 at 09:13:13PM +, Al Viro wrote: > >> >> We probably ought to split the normal (case-sensitive, no joliet shite) case >> out and leave it with NULL ->s_d_op, but that'll need to be done carefully, >> or isofs_cmp() will blow up on us

Re: [PATCH 2/2] cpufreq: Guard against not-yet-initialized policies in cpufreq_cpu_get

2014-10-28 Thread Greg KH
On Tue, Oct 28, 2014 at 04:26:48PM +0100, Tomeu Vizoso wrote: > There's a substantial window of opportunity from the time the policy objects > are created until they are initialized, causing this: > > [4.651435] [ cut here ] > [4.651453] WARNING: CPU: 1 PID: 64 at i

  1   2   3   4   5   6   7   8   9   10   >