RE: [PATCH] checkpatch: Don't require kernel style __attribute__ shortcuts in uapi paths

2013-11-11 Thread Dixit, Ashutosh
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Sunday, November 10, 2013 1:55 PM > Subject: [PATCH] checkpatch: Don't require kernel style __attribute__ > shortcuts > in uapi paths > > Avoid proscribing kernel styled shortcuts for > gcc extensions of __attribut

[PATCHv3] dmaengine: Add support for BCM2835

2013-11-11 Thread Florian Meier
Add support for DMA controller of BCM2835 as used in the Raspberry Pi. Currently it only supports cyclic DMA. Signed-off-by: Florian Meier --- Thank you for your comments! I hope I have now removed all leftovers of the sg struct. Regarding the endian-ness: I have not found any hint about that in

3.10.16 cgroup_mutex deadlock

2013-11-11 Thread Shawn Bohrer
Hello, This morning I had a machine running 3.10.16 go unresponsive but before we killed it we were able to get the information below. I'm not an expert here but it looks like most of the tasks below are blocking waiting on the cgroup_mutex. You can see that the resource_alloca:16502 task is hol

Re: [PATCH v3] x86, kaslr: mix entropy sources together as needed

2013-11-11 Thread H. Peter Anvin
You probably want to rotate by an odd number of bits... the point is to spread out any pattern in the bytes. Kees Cook wrote: >Depending on availability, mix the RDRAND and RDTSC entropy together >with >XOR. Only when neither is available should the i8254 be used. Update >the Kconfig documentati

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-11 Thread Dave Hansen
On 11/06/2013 05:45 AM, Zhi Yong Wu wrote: > Introduce a /proc interface hot-mem-high-thresh and > to cap the memory which is consumed by hot_inode_item > and hot_range_item, and they will be in the unit of > 1M bytes. You don't seem to have any documentation for this, btw... :( > + .

[for-next][PATCH] tracing: Add rcu annotation for syscall trace descriptors

2013-11-11 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 3a81a5210b7d33bb6d836b4c4952a54166a336f3 Steven Rostedt (Red Hat) (1): tracing: Add rcu annotation for syscall trace descriptors kernel/trace/trace.h | 4 ++-- 1 file changed, 2 insertions(+

Re: [PATCH 3/4] printk: Defer printing to irq work when we printed too much

2013-11-11 Thread Jan Kara
On Mon 11-11-13 22:54:15, Pavel Machek wrote: > Hi! > > > > > A CPU can be caught in console_unlock() for a long time (tens of seconds > > > > are reported by our customers) when other CPUs are using printk heavily > > > > and serial console makes printing slow. Despite serial console drivers > >

[PATCH] FS-Cache: Fix handling of an attempt to store a page that is now beyond EOF

2013-11-11 Thread David Howells
Fix the handling of an attempt to store a page that is now beyond EOF. This may happen, for example, if the page got pushed for storage before the netfs file got truncated on the server. In such a case, we should just remove the excessive pages from the cookie->stores radix tree and wake up the w

Re: [PATCHv3 1/2] Input: twl4030-keypad - add device tree support

2013-11-11 Thread Pavel Machek
Hi! > + if (of_get_property(np, "linux,input-no-autorepeat", NULL)) > + keypad_data->no_autorepeat = true; >From 2/2: +Optional Properties specific to linux: +- linux,keypad-no-autorepeat: do not enable autorepeat feature. I'm confused now. -- (english) http://www.livejournal.

Re: perf/tracepoint yet another lockup

2013-11-11 Thread Vince Weaver
OK, managed to capture a crash, not sure if it was the same as the previous one in the thread. In this case it looks like it is tracepoint event 0x25 which I think is vsyscall/emulate_vsyscall/id:37 Although I can't get this to trigger in a standalone workload (it seems to trigger best under

Re: [PATCH 1/3] arm: omap2: Export devconf1 bypass and acbias.

2013-11-11 Thread Belisko Marek
Hi Tony, On Mon, Nov 11, 2013 at 5:49 PM, Tony Lindgren wrote: > * Marek Belisko [131014 14:11]: >> devconf1 reg access is localized only in mach-omap2 and we need to export >> updating of devconf1 from omapdss venc driver (bypass and acbias bits). >> Add simple api call which update only necess

Re: [PATCHv2 2/2] check quirk to pad epout buf size when not aligned to maxpacketsize

2013-11-11 Thread David Cohen
Hi Alan, Michal, On 11/11/2013 01:09 PM, Michal Nazarewicz wrote: On Mon, Nov 11 2013, Alan Stern wrote: On Mon, 11 Nov 2013, Michal Nazarewicz wrote: Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires to be aligned to maxpacketsize of an out endpoint. ffs_epfile_io() n

[PATCH v4] x86, kaslr: mix entropy sources together as needed

2013-11-11 Thread Kees Cook
Depending on availability, mix the RDRAND and RDTSC entropy together with XOR. Only when neither is available should the i8254 be used. Update the Kconfig documentation to reflect this. Additionally, since bits used for entropy is masked elsewhere, drop the needless masking in the get_random_long()

Re: [RFC][PATCH 0/9] encrypted keys & key control op

2013-11-11 Thread David Howells
Mimi Zohar wrote: > > Further, the existence of encrypted_update() means that add_key() will > > sometimes get things wrong with encrypted keys (add_key() will call > > ->update() if a matching key already exists rather than creating a new > > key). > > I see. The key_type structure defines a n

Re: [RFC][PATCH 0/9] encrypted keys & key control op

2013-11-11 Thread David Howells
Mimi Zohar wrote: > > The control op could also be used for other things like pushing a key > > into a TPM. > > > > What do you think? > > Trusted keys already creates a symmetric key based on the TPM RNG. > What type of key would I be interested in pushing to the TPM? What > usecase scenari

Re: [RFC][PATCH v5 00/14] sched: packing tasks

2013-11-11 Thread Nicolas Pitre
On Mon, 11 Nov 2013, Arjan van de Ven wrote: > On 11/11/2013 10:31 AM, Catalin Marinas wrote: > > I agree, we can't rely on the requested C-state but the_actual_ state > > and this means querying the hardware driver. Can we abstract this via > > some interface which provides the cost of waking up

Re: [PATCH v6 07/11] VFS hot tracking: Add a /proc interface to control memory usage

2013-11-11 Thread Zhi Yong Wu
On Tue, Nov 12, 2013 at 6:15 AM, Dave Hansen wrote: > On 11/06/2013 05:45 AM, Zhi Yong Wu wrote: >> Introduce a /proc interface hot-mem-high-thresh and >> to cap the memory which is consumed by hot_inode_item >> and hot_range_item, and they will be in the unit of >> 1M bytes. > > You don't seem to

Re: [GIT PULL] mfd: Patches due for v3.13 merge window

2013-11-11 Thread Samuel Ortiz
Hi Lee, On Mon, Nov 11, 2013 at 11:33:08AM +, Lee Jones wrote: > Hi Sam, > > The following changes since commit 61e6cfa80de5760bbe406f4e815b7739205754d2: > > Linux 3.12-rc5 (2013-10-13 15:41:28 -0700) > > are available in the git repository at: > > git://git.linaro.org/people/ljones/mf

Re: [RFC 9/9] of/irq: create interrupts-extended property

2013-11-11 Thread Peter Crosthwaite
Hi Grant, On Wed, Oct 16, 2013 at 6:39 AM, Grant Likely wrote: > The standard interrupts property in device tree can only handle > interrupts coming from a single interrupt parent. If a device is wired > to multiple interrupt controllers, then it needs to be attached to a > node with an interrupt

Re: [PATCH 1/2] usb: gadget: f_fs: remove loop from I/O function

2013-11-11 Thread David Cohen
Hi Michal, On 11/10/2013 08:50 AM, Michal Nazarewicz wrote: From: Michal Nazarewicz When endpoint changes (due to it being disabled or alt setting changed), mimic the action as if the change happened after the request has been queued, instead of retrying with the new endpoint. Signed-off-by:

Re: [patch] mailbox/omap: make mbox->irq signed for error handling

2013-11-11 Thread Suman Anna
On 11/07/2013 01:49 AM, Dan Carpenter wrote: There is a bug in omap2_mbox_probe() where we try do: mbox->irq = platform_get_irq(pdev, info->irq_id); if (mbox->irq < 0) { The problem is that mbox->irq is unsigned so the error handling doesn't work. I've changed

[PATCH] x86, Fix do_IRQ interrupt warning for cpu hotplug retriggered irqs

2013-11-11 Thread Prarit Bhargava
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=64831 When downing a cpu it is possible that there are unhandled irqs left in the APIC IRR register. fixup_irqs() goes through the IRR and retriggers the IRQs left in the APIC IRR. After this, the vector for the irq is set to -1. There is a

Re: [PATCH 1/1] Add strong pullup emulation to w1-gpio master driver.

2013-11-11 Thread Evgeniy Polyakov
Hi 11.11.2013, 18:37, "Evgeny Boger" : >  Strong pullup is emulated by driving pin logic high after write command when >  using tri-state push-pull GPIO. > > Signed-off-by: Evgeny Boger > --- >  drivers/w1/masters/w1-gpio.c | 22 ++ >  drivers/w1/w1_int.c  | 12

Re: [PATCHv2 2/2] check quirk to pad epout buf size when not aligned to maxpacketsize

2013-11-11 Thread David Cohen
On 11/11/2013 03:21 AM, Michal Nazarewicz wrote: Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires to be aligned to maxpacketsize of an out endpoint. ffs_epfile_io() needs to pad epout buffer to match above condition if quirk is found. Signed-off-by: Michal Nazarewicz --

Re: [PATCH 1/1] TTY: tty_buffer, warn on leaks

2013-11-11 Thread Peter Hurley
On 11/11/2013 03:05 PM, Jiri Slaby wrote: When we leak something, warn about that. For that we need to account the memory used also in the free_all method. It is handled elsewhere correctly. Hi Jiri, Good idea. Signed-off-by: Jiri Slaby --- drivers/tty/tty_buffer.c | 10 -- 1 fil

Re: pull request: bluetooth 2013-11-11

2013-11-11 Thread Marcel Holtmann
Hi Gustavo, > A few fixes for 3.13. There is 3 fixes to the RFCOMM protocol. One crash fix > to > L2CAP. A simple fix to a bad behaviour in the SMP protocol, and last, an > revert, that I sent in the last pull request but doesn't seem to be in your > tree. > > Please pull or let me know of any i

Re: [PATCH v5 3/5] usb: gadget: f_fs: remove loop from I/O function

2013-11-11 Thread David Cohen
On 11/11/2013 12:16 PM, David Cohen wrote: From: Michal Nazarewicz When endpoint changes (due to it being disabled or alt setting changed), mimic the action as if the change happened after the request has been queued, instead of retrying with the new endpoint. Signed-off-by: Michal Nazarewicz

Re: [PATCH V2 4/4] arm: socfgpa: make use of common scu_a9_get_base() interface

2013-11-11 Thread Dinh Nguyen
On Thu, 2013-11-07 at 11:16 +0800, Jisheng Zhang wrote: > Make use of common scu_a9_get_base() and delete the comment since the > interface is self commented. > > Signed-off-by: Jisheng Zhang > --- > arch/arm/mach-socfpga/socfpga.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >

Re: Corrupted low memory in v3.9+

2013-11-11 Thread H. Peter Anvin
On 11/11/2013 03:35 AM, Ingo Molnar wrote: > > If we reserve everything in low memory, all the time (which I very much > argue we should do) then the checker becomes a no-op and can be removed. > Oops! I had misunderstood how the checker worked -- I thought it checked the *reserved* memory, bu

Re: [PATCH 1/3] arm: omap2: Export devconf1 bypass and acbias.

2013-11-11 Thread Tony Lindgren
* Belisko Marek [13 14:01]: > Hi Tony, > > On Mon, Nov 11, 2013 at 5:49 PM, Tony Lindgren wrote: > > * Marek Belisko [131014 14:11]: > >> devconf1 reg access is localized only in mach-omap2 and we need to export > >> updating of devconf1 from omapdss venc driver (bypass and acbias bits). >

Re: [PATCH] block: cmdline-parser: perfect cmdline format checking

2013-11-11 Thread Andrew Morton
On Sat, 9 Nov 2013 11:45:14 + Caizhiyong wrote: > From: Cai Zhiyong > Date: Sat, 9 Nov 2013 19:27:38 +0800 > Subject: [PATCH] block: cmdline-parser: perfect cmdline format checking > > -Fix compile warning with value and function undeclared. > this reported by and > Randy Dunlap > >

Re: [tip:x86/asm] x86, bitops: Change bitops to be native operand size

2013-11-11 Thread H. Peter Anvin
On 11/10/2013 06:22 PM, Joe Perches wrote: > > Perhaps the current x86 bitops asm code is being conflated > with the ideal implementation? > Yes, by you. x86 has instructions that operate on signed bitindicies. It doesn't have instructions that operate on unsigned bitindicies. Unless someone

Re: [PATCH 1/3] arm: omap2: Export devconf1 bypass and acbias.

2013-11-11 Thread Tony Lindgren
* Belisko Marek [13 14:21]: > AFAIK it's not pinmux it's register where we update bits. Or am I > missing something? Most of the omap control module registers seem to affect either external pin configuration or internal signal muxes. So a big chunk of them can already be handled with pinctrl-

Re: [RFC][PATCH v5 00/14] sched: packing tasks

2013-11-11 Thread Catalin Marinas
On 11 Nov 2013, at 19:26, Arjan van de Ven wrote: > On 11/11/2013 10:31 AM, Catalin Marinas wrote: >> I agree, we can't rely on the requested C-state but the_actual_ state >> and this means querying the hardware driver. Can we abstract this via >> some interface which provides the cost of waking

Re: [PATCH] iommu: Split iommu_unmaps

2013-11-11 Thread Alex Williamson
On Thu, 2013-11-07 at 16:37 +, David Woodhouse wrote: > On Fri, 2013-05-24 at 11:14 -0600, Alex Williamson wrote: > > iommu_map splits requests into pages that the iommu driver reports > > that it can handle. The iommu_unmap path does not do the same. This > > can cause problems not only from

Re: [PATCH v5 1/5] usb: gadget: move bitflags to the end of usb_gadget struct

2013-11-11 Thread Michal Nazarewicz
On Mon, Nov 11 2013, David Cohen wrote: > This patch moves all bitflags to the end of usb_gadget struct in order > to improve readability. > > Signed-off-by: David Cohen Acked-by: Michal Nazarewicz > --- > include/linux/usb/gadget.h | 19 ++- > 1 file changed, 10 insertions(+),

Re: [PATCH v5 2/5] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-11-11 Thread Michal Nazarewicz
On Mon, Nov 11 2013, David Cohen wrote: > Due to USB controllers may have different restrictions, usb gadget layer > needs to provide a generic way to inform gadget functions to complain > with non-standard requirements. > > This patch adds 'quirk_ep_out_aligned_size' field to struct usb_gadget > t

[PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Kyungmin Park
From: Kyungmin Park The most mobile phones have Ambient Light Sensors and it changes brightness according lux. It means it changes backlight brightness frequently by just writing sysfs node, so it generates uevent. Usually there's no user to use this backlight changes. But it forks udev worke

[PATCHv5.1 3/5] usb: gadget: f_fs: remove loop from I/O function

2013-11-11 Thread Michal Nazarewicz
When endpoint changes (due to it being disabled or alt setting changed), mimic the action as if the change happened after the request has been queued, instead of retrying with the new endpoint. Signed-off-by: Michal Nazarewicz Cc: David Cohen --- drivers/usb/gadget/f_fs.c | 94 +

Re: [PATCH v5 2/5] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-11-11 Thread David Cohen
On 11/11/2013 03:55 PM, Michal Nazarewicz wrote: On Mon, Nov 11 2013, David Cohen wrote: Due to USB controllers may have different restrictions, usb gadget layer needs to provide a generic way to inform gadget functions to complain with non-standard requirements. This patch adds 'quirk_ep_out_a

[PATCHv5.1 4/5] check quirk to pad epout buf size when not aligned to maxpacketsize

2013-11-11 Thread Michal Nazarewicz
Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires to be aligned to maxpacketsize of an out endpoint. ffs_epfile_io() needs to pad epout buffer to match above condition if quirk is found. Signed-off-by: Michal Nazarewicz --- drivers/usb/gadget/f_fs.c | 10 +- 1 fil

[PATCH] MAINTAINERS: cxgb3: Update cxgb3 maintainer entry

2013-11-11 Thread Divy Le Ray
Santosh raspatur is taking over the maintenance of cxgb3. Signed-off-by: Divy Le Ray --- MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ffcaf97..92c062d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2455,7 +2455,7 @@ S:

Re: [PATCH 1/4] extcon: arizona: Add defines for microphone detection levels

2013-11-11 Thread Chanwoo Choi
On 11/11/2013 08:19 PM, Lee Jones wrote: > On Mon, 11 Nov 2013, Chanwoo Choi wrote: > >> On 11/11/2013 07:53 PM, Lee Jones wrote: On 11/08/2013 10:19 PM, Charles Keepax wrote: > Improve readability by creating a define for each microphone detection > level. > > Signed-off-by:

[PATCHv2.1] net: wireless: iwlwifi: remove minor dead code

2013-11-11 Thread Michal Nazarewicz
inta is checked to be zero in a IRQ_NONE branch so afterwards it cannot be zero as it is never modified. Signed-off-by: Michal Nazarewicz --- drivers/net/wireless/iwlwifi/pcie/rx.c | 24 +--- 1 file changed, 9 insertions(+), 15 deletions(-) On Mon, Nov 11 2013, Johannes Berg

Re: Corrupted low memory in v3.9+

2013-11-11 Thread H. Peter Anvin
On 11/11/2013 03:31 PM, H. Peter Anvin wrote: > On 11/11/2013 03:35 AM, Ingo Molnar wrote: > > Oops! I had misunderstood how the checker worked -- I thought it > checked the *reserved* memory, but it in fact reserves memory > *independently* and then checks it. > And now I understand why I had

Re: [PATCHv5.1 4/5] check quirk to pad epout buf size when not aligned to maxpacketsize

2013-11-11 Thread David Cohen
Hi Michal, On 11/11/2013 03:58 PM, Michal Nazarewicz wrote: Check gadget.quirk_ep_out_aligned_size to decide if buffer size requires to be aligned to maxpacketsize of an out endpoint. ffs_epfile_io() needs to pad epout buffer to match above condition if quirk is found. Signed-off-by: Michal Na

Re: [PATCH v11 3/3] DMA: Freescale: update driver to support 8-channel DMA engine

2013-11-11 Thread Dan Williams
On Mon, Nov 11, 2013 at 1:12 AM, Hongbo Zhang wrote: > diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c > index 49e8fbd..16a9a48 100644 > --- a/drivers/dma/fsldma.c > +++ b/drivers/dma/fsldma.c > @@ -1261,7 +1261,9 @@ static int fsl_dma_chan_probe(struct > fsldma_de

[GIT PULL] clk: changes for 3.13

2013-11-11 Thread Mike Turquette
The following changes since commit 15c03dd4859ab16f9212238f29dd315654aa94f6: Linux 3.12-rc3 (2013-09-29 15:02:38 -0700) are available in the git repository at: git://git.linaro.org/people/mturquette/linux.git tags/clk-for-linus-3.13 for you to fetch changes up to 9ed9c07d9b7d42fc7042247c2be

Re: [PATCH 4/4] extcon: arizona: Eliminate dead error handling code

2013-11-11 Thread Chanwoo Choi
Hi CHarles, On 11/08/2013 10:19 PM, Charles Keepax wrote: > As a small disclaimer I would personally prefer to not merge this patch. > I have added it based on previous code review of the other patches in > this chain. > > arizona_hpdet_do_id currently can only return 0 or -EAGAIN making the > el

[RFC PATCH 0/3] x86, boot: Low memory reservation fixes

2013-11-11 Thread H. Peter Anvin
From: "H. Peter Anvin" On all but the tiniest of modern systems, losing half a megabyte of RAM is a small price to pay for system stability. Thus, switch the default for low memory reservation to 640K. This has been possible, but has not been the default, since v3.9, specifically checkin: 95

Re: [PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Jingoo Han
On Tuesday, November 12, 2013 8:57 AM, Kyungmin Park wrote: > > From: Kyungmin Park > > The most mobile phones have Ambient Light Sensors and it changes brightness > according lux. > It means it changes backlight brightness frequently by just writing sysfs > node, so it generates uevent. > >

[RFC PATCH 1/3] x86, boot: Move setup_bios_corruption_check() later

2013-11-11 Thread H. Peter Anvin
From: "H. Peter Anvin" setup_bios_corruption_check() tries to claim any low memory regions that we haven't already reserved. Make sure we reserve any low memory regions that we intend to either use or know/assume a priori is bad *before* we initialize the checker. Stable team note: adding this

[RFC PATCH 3/3] x86, boot: Change the BIOS corruption checker to scan 640K

2013-11-11 Thread H. Peter Anvin
From: "H. Peter Anvin" Change the BIOS corruption checker to scan 640K if enabled. This is the normal amount that we otherwise would reserve with the new default settings; change the Kconfig help message to indicate that this is now intended as a diagnostic tool when one is considering enabling

[RFC PATCH 2/3] x86, boot: Change the default for X86_RESERVE_LOW to 640K, make EXPERT

2013-11-11 Thread H. Peter Anvin
From: "H. Peter Anvin" We have been able to set X86_RESERVE_LOW to 640K since checkin 95c9608478d6 x86, mm: Move reserving low memory later in initialization Actually do so by default, and make overriding the default an EXPERT option. It can still be overridden on the command line if someone i

[GIT PULL] leds: updates for 3.13

2013-11-11 Thread Bryan Wu
Hi Linus: LED subsystem updates for 3.13 are basically cleanup and also add a new driver for PCA9685. So please consider the following changes since commit 31d141e3a666269a3b6fcccddb0351caf7454240: Linux 3.12-rc6 (2013-10-19 12:28:15 -0700) are available in the git repository at: git://git

Re: [PATCH v3 01/15] KVM: MMU: properly check last spte in fast_page_fault()

2013-11-11 Thread Marcelo Tosatti
On Wed, Oct 23, 2013 at 09:29:19PM +0800, Xiao Guangrong wrote: > Using sp->role.level instead of @level since @level is not got from the > page table hierarchy > > There is no issue in current code since the fast page fault currently only > fixes the fault caused by dirty-log that is always on th

Re: [RFC][PATCH 0/9] encrypted keys & key control op

2013-11-11 Thread Mimi Zohar
On Mon, 2013-11-11 at 22:34 +, David Howells wrote: > Mimi Zohar wrote: > > > > Further, the existence of encrypted_update() means that add_key() will > > > sometimes get things wrong with encrypted keys (add_key() will call > > > ->update() if a matching key already exists rather than creati

[PATCH v4] mm, oom: Fix race when selecting process to kill

2013-11-11 Thread Sameer Nanda
The selection of the process to be killed happens in two spots: first in select_bad_process and then a further refinement by looking for child processes in oom_kill_process. Since this is a two step process, it is possible that the process selected by select_bad_process may get a SIGKILL just befor

[git pull] Please pull powerpc.git next branch

2013-11-11 Thread Benjamin Herrenschmidt
Hi Linus ! Now that you've proven that even a typhoon can't get you, let's start throwing code at you again ! The bulk of this is LE updates. One should now be able to build an LE kernel and even run some things in it. I'm still sitting on a handful of patches to enable the new ABI that I *might

[RFC] Refactoring and moving dmtimer code

2013-11-11 Thread Joel Fernandes
Hi Thomas and everyone, I'm currently trying to refactor our dmtimer code in various ways and there are different challenges in doing so, some goals are shorterm and others long term, but I need some guidance so that I can do things the right way to begin with. I wanted to start a discussion on w

Re: [PATCH v4 1/3] x86, apic: Don't count the CPU with BP flag from MP table as booting-up CPU

2013-11-11 Thread HATAYAMA Daisuke
(2013/11/12 1:52), Vivek Goyal wrote: On Mon, Nov 11, 2013 at 11:52:30AM +0900, HATAYAMA Daisuke wrote: [..] Looking at my past investigation, kernel/mpparse.c, mm/amdtopology.c and platform/visws/visws_quirks.c assumes that boot_cpu_physical_apicid has initial apicid of the BSP, not the curren

[PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Kyungmin Park
From: Kyungmin Park The most mobile phones have Ambient Light Sensors and it changes brightness according lux. It means it changes backlight brightness frequently by just writing sysfs node, so it generates uevent. Usually there's no user to use this backlight changes. But it forks udev worke

Re: [PATCH] block: cmdline-parser: perfect cmdline format checking

2013-11-11 Thread Joe Perches
On Mon, 2013-11-11 at 15:34 -0800, Andrew Morton wrote: > On Sat, 9 Nov 2013 11:45:14 + Caizhiyong wrote: [] > > -perfect cmdline format checking, make the error information clear > > for understand, make this lib fully equivalent to the old parser > > in drivers/mtd/cmdlinepart.c > > >

Re: [PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Kyungmin Park
Please ignore it. strange mail system. After feedback from previous mail, I'll re-send it. Thank you, Kyungmin Park On Tue, Nov 12, 2013 at 9:44 AM, Kyungmin Park wrote: > From: Kyungmin Park > > The most mobile phones have Ambient Light Sensors and it changes brightness > according lux. > It

Re: [raid5] kernel BUG at drivers/md/raid5.c:701!

2013-11-11 Thread NeilBrown
On Mon, 11 Nov 2013 22:47:57 +0800 fengguang...@intel.com wrote: > 28cc2127527dcba2a0817afa8fd5a33c9e023090 is the first bad commit > commit 28cc2127527dcba2a0817afa8fd5a33c9e023090 > Author: Shaohua Li > Date: Tue Sep 10 15:37:56 2013 +0800 > > raid5: relieve lock contention in get_active

Re: [PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Henrique de Moraes Holschuh
On Tue, 12 Nov 2013, Jingoo Han wrote: > On Tuesday, November 12, 2013 8:57 AM, Kyungmin Park wrote: > > From: Kyungmin Park > > > > The most mobile phones have Ambient Light Sensors and it changes brightness > > according lux. > > It means it changes backlight brightness frequently by just writ

Re: [PATCH 1/1] Add strong pullup emulation to w1-gpio master driver.

2013-11-11 Thread Evgeniy Polyakov
Hi 12.11.2013, 03:32, "Evgeny Boger" : >> Why did you drop this check? It has nothing with w1-gpio driver > This check prevents master from implementing "set_pullup"  provided it does > support only "write_bit" method. > The comment above states that >>  w1_io.c would need to support calling set_

Re: Got iperf regression while intel_iommu is on, how to cut the cost of cache flushing

2013-11-11 Thread Ethan Zhao
Eric, We have tested the performance with the TSO and TSQ patches merged, the result not good, even worse than kernel without those two patches. any idea ? kernel : 3.11.x with TSO & TSQ merged. ( CONFIG_INTEL_IOMMU_DEFAULT_ON=y ) Network Interface : eth4 Network driver: be2net Average

Re: PATCH] LEDS: tca6507 - fix up some comments.

2013-11-11 Thread Bryan Wu
On Thu, Nov 7, 2013 at 7:24 PM, Joe Perches wrote: > On Fri, 2013-11-08 at 14:20 +1100, NeilBrown wrote: >> In particular fix the capitalisation of GPIO and LED and >> correct TCA6507_MAKE_CPIO, but also rewrite the comment about >> platform-data to include reference to devicetree. > > trivia: > >

Re: [PATCH 1/1] Add strong pullup emulation to w1-gpio master driver.

2013-11-11 Thread Evgeny Boger
+David Fries Hi David, Would you please comment on this? 11/12/2013 05:03 AM, Evgeniy Polyakov: Hi 12.11.2013, 03:32, "Evgeny Boger" : Why did you drop this check? It has nothing with w1-gpio driver This check prevents master from implementing "set_pullup" provided it does support only

Re: [PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Kyungmin Park
On Tue, Nov 12, 2013 at 9:56 AM, Henrique de Moraes Holschuh wrote: > On Tue, 12 Nov 2013, Jingoo Han wrote: >> On Tuesday, November 12, 2013 8:57 AM, Kyungmin Park wrote: >> > From: Kyungmin Park >> > >> > The most mobile phones have Ambient Light Sensors and it changes >> > brightness accordin

Re: 3.12: raid-1 mismatch_cnt question

2013-11-11 Thread Brad Campbell
On 11/07/2013 06:54 PM, Justin Piszcz wrote: On Mon, Nov 4, 2013 at 5:25 AM, Justin Piszcz wrote: Hi, I run two SSDs in a RAID-1 configuration and I have a swap partition on a third SSD. Over time, the mismatch_cnt between the two devices grows higher and higher. Are both SSD's identical?

Re: [RESEND PATCH 1/2] fb: reorder the lock sequence to fix potential dead lock

2013-11-11 Thread Gu Zheng
Hi Tomi, On 11/11/2013 09:59 PM, Tomi Valkeinen wrote: > On 2013-11-05 12:00, Gu Zheng wrote: >> Following commits: >> 50e244cc79 fb: rework locking to fix lock ordering on takeover >> e93a9a8687 fb: Yet another band-aid for fixing lockdep mess >> 054430e773 fbcon: fix locking harder >> reworked l

Re: [PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Kay Sievers
On Tue, Nov 12, 2013 at 1:56 AM, Henrique de Moraes Holschuh wrote: > On Tue, 12 Nov 2013, Jingoo Han wrote: >> On Tuesday, November 12, 2013 8:57 AM, Kyungmin Park wrote: >> > From: Kyungmin Park >> > >> > The most mobile phones have Ambient Light Sensors and it changes >> > brightness accordin

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-11 Thread Stephen Boyd
On 11/08/13 22:46, Matt Sealey wrote: > On Fri, Nov 8, 2013 at 5:00 PM, Stephen Boyd wrote: >> If we're running on a v7 ARM CPU, detect if the CPU supports the >> sdiv/udiv instructions and replace the signed and unsigned >> division library functions with an sdiv/udiv instruction. >> >> Running t

Re: [PATCH 1/1] regmap: trivial comment fix (copy'n'paste error)

2013-11-11 Thread Mark Brown
On Mon, Nov 11, 2013 at 10:42:36AM +0100, Gerhard Sittig wrote: > fix a trivial copy'n'paste error in the regmap kerneldoc, s/write/read/ > for the regmap_read(), regmap_raw_read() and regmap_bulk_read() routines Applied, thanks. signature.asc Description: Digital signature

Re: Got iperf regression while intel_iommu is on, how to cut the cost of cache flushing

2013-11-11 Thread Eric Dumazet
On Tue, 2013-11-12 at 09:03 +0800, Ethan Zhao wrote: > Eric, > We have tested the performance with the TSO and TSQ patches > merged, the result not good, even worse than kernel without those two > patches. any idea ? > > kernel : 3.11.x with TSO & TSQ merged. ( CONFIG_INTEL_IOMMU_DEFAULT_ON

Re: [PATCH v2 3/3] firmware: Avoid bogus fallback warning

2013-11-11 Thread Ming Lei
On Mon, Nov 11, 2013 at 11:21 PM, Takashi Iwai wrote: > The commit [3e358ac2bb5b: firmware: Be a bit more verbose about direct > firmware loading failure] introduced a new warning message about > falling back to user helper, but this isn't true when > CONFIG_FW_LOADER_USER_HELPER isn't set. > > Fo

[Fwd: Re: [PATCH v2 2/2] x86: add prefetching to do_csum]

2013-11-11 Thread Joe Perches
Hi again Neil. Forwarding on to netdev with a concern as to how often do_csum is used via csum_partial for very short headers and what impact any prefetch would have there. Also, what changed in your test environment? Why are the new values 5+% higher cycles/byte than the previous values? And h

linux-next: manual merge of the input tree with Linus' tree

2013-11-11 Thread Stephen Rothwell
Hi Dmitry, Today's linux-next merge of the input tree got a conflict in arch/arm/boot/dts/am335x-evmsk.dts between commit 55b4452b4b70 ("ARM: dts: AM33XX: Add MMC support and documentation") (and others) from Linus' tree and commit 2c027b7c48a8 ("arm: dts: am335x sk: add touchscreen support") from

Re: [PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Kyungmin Park
On Tue, Nov 12, 2013 at 10:19 AM, Kay Sievers wrote: > On Tue, Nov 12, 2013 at 1:56 AM, Henrique de Moraes Holschuh > wrote: >> On Tue, 12 Nov 2013, Jingoo Han wrote: >>> On Tuesday, November 12, 2013 8:57 AM, Kyungmin Park wrote: >>> > From: Kyungmin Park >>> > >>> > The most mobile phones have

Re: [PATCH v2 1/3] firmware: Introduce request_firmware_direct()

2013-11-11 Thread Ming Lei
On Tue, Nov 12, 2013 at 1:30 AM, Takashi Iwai wrote: > At Mon, 11 Nov 2013 16:34:26 +0100, > > Sounds like a good idea. How about the patch below? > (I used unsigned int since there shouldn't be so many different > behaviors.) > > > thanks, > > Takashi > > === > > From: Takashi Iwai > Subject:

[PATCH 0/3] Early use of boot service memory

2013-11-11 Thread Jerry Hoemann
Some platform have firmware that violates UEFI spec and access boot service code or data segments after the system has called Exit Boot Services. The call to efi_reserve_boot_services in setup_arch is a work around to avoid using boot service memory until after the kernel has done Set Virtual Map.

[PATCH 3/3] x86, efi: Early use of boot service memory

2013-11-11 Thread Jerry Hoemann
Extend the kernel parameter add_efi_memmap to have additional optional arguement "correct." EFI memmaps that are "correct" aren't accessed by platform firmware after a call to Exit Boot Services. Signed-off-by: Jerry Hoemann --- Documentation/kernel-parameters.txt | 8 arch/x86/platf

Re: Got iperf regression while intel_iommu is on, how to cut the cost of cache flushing

2013-11-11 Thread Ethan Zhao
Eric, I do think it is the IO_MMMU reason that brought such performance down, while TSO/TSQ are not the way to cure such wounded performance. I might misunderstand the purpose of TSO/TSQ---get rid of the extra cache flushing pain of mapping and unmapping operation done by Intel IOMMU. (sorry fo

[PATCH 1/3] efi: Early use of boot service memory

2013-11-11 Thread Jerry Hoemann
Add #define to allow for specifying that firmware doesn't reuse boot service code or data after Exit Boot Service. Signed-off-by: Jerry Hoemann --- include/linux/efi.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/efi.h b/include/linux/efi.h index 5f8f176..1e3a8d2 100644 ---

[PATCH 2/3] x86: avoid efi_reserve_boot_services

2013-11-11 Thread Jerry Hoemann
Some platform have firmware that violate UEFI spec and access boot service code or data segments after the system has called Exit Boot Services. The call to efi_reserve_boot_services is a work around to avoid using boot service memory until after the kernel has done Set Virtual Map. However, this

Re: [PATCH 0/3] rcar-hpbdma: fixup patches for double plane

2013-11-11 Thread Kuninori Morimoto
Hi Vinod Cc: Simon Please teach me current status of these patches > These patches fixup R-Car HBPDMA driver > for double plane. > > I tested these patches on my R-Car sound driver in local environment. > It doesn't work without these patches. > > Kuninori Morimoto (3): > rcar-hpbdma: ad

[PATCHv6 1/4] pwm: Add Freescale FTM PWM driver support

2013-11-11 Thread Xiubo Li
The FTM PWM device can be found on Vybrid VF610 Tower and Layerscape LS-1 SoCs. Signed-off-by: Xiubo Li Signed-off-by: Alison Wang Signed-off-by: Jingchang Lu Reviewed-by: Sascha Hauer --- drivers/pwm/Kconfig | 10 ++ drivers/pwm/Makefile | 1 + drivers/pwm/pwm-fsl-ftm.c | 402 +

[PATCHv6 2/4] ARM: dts: Add Freescale FTM PWM node for VF610.

2013-11-11 Thread Xiubo Li
This adds devicetree node for VF610, and there are 8 channels supported by default. Signed-off-by: Xiubo Li Reviewed-by: Sascha Hauer --- arch/arm/boot/dts/vf610.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi inde

[PATCHv6 4/4] Documentation: Add device tree bindings for Freescale FTM PWM.

2013-11-11 Thread Xiubo Li
This adds the Document for Freescale FTM PWM driver under Documentation/devicetree/bindings/pwm/. Signed-off-by: Xiubo Li Reviewed-by: Sascha Hauer Acked-by: Kumar Gala --- .../devicetree/bindings/pwm/pwm-fsl-ftm.txt| 29 ++ 1 file changed, 29 insertions(+) create

[PATCHv6 0/4] Add Freescale FTM PWM driver.

2013-11-11 Thread Xiubo Li
Hello Therry, The series of patches for this version has been reviewed and acked already. To see each patch for detail. -- -- This patch series is the Freescale FTM PWM implementation. And there are 8 channels most supported by the FTM PWM. This implementation i

Re: [PATCH] efi earlyprintk fix

2013-11-11 Thread Dave Young
On 11/11/13 at 04:13pm, Matt Fleming wrote: > On Sat, 09 Nov, at 11:44:29AM, Dave Young wrote: > > Hi, Matt > > > > Confirmed, your patch work ok for the pr_cont issue. > > Excellent, thanks for testing. > > > Actually I mixed two problems in my report, one is there's always one blank > > line

[PATCHv6 3/4] ARM: dts: Enables FTM PWM device for Vybrid VF610 TOWER board.

2013-11-11 Thread Xiubo Li
Selecting system clock as the counter source clock by default. Signed-off-by: Xiubo Li Reviewed-by: Sascha Hauer --- arch/arm/boot/dts/vf610-twr.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts b/arch/arm/boot/dts/vf610-twr.dts index 82d352f..3130f85

Re: [PATCH] video: backlight: Remove backlight sysfs uevent

2013-11-11 Thread Kay Sievers
On Tue, Nov 12, 2013 at 3:08 AM, Kyungmin Park wrote: > On Tue, Nov 12, 2013 at 10:19 AM, Kay Sievers wrote: >> On Tue, Nov 12, 2013 at 1:56 AM, Henrique de Moraes Holschuh >> wrote: >>> On Tue, 12 Nov 2013, Jingoo Han wrote: On Tuesday, November 12, 2013 8:57 AM, Kyungmin Park wrote:

[PATCH] [sched]: pick the NULL entity caused the panic.

2013-11-11 Thread Wang, Xiaoming
cfs_rq get its group run queue but the value of cfs_rq->nr_running maybe zero, which will cause the panic in pick_next_task_fair. So the evaluated of cfs_rq->nr_running is needed. [15729.985797] BUG: unable to handle kernel NULL pointer dereference at 0008 [15729.993838] IP: [] rb_next+0x1/0x5

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-11 Thread Stephen Boyd
On 11/09/13 21:03, Nicolas Pitre wrote: > Bah. NAK. We are doing runtime patching of the kernel for many > many things already. So why not do the same here? static keys are a form of runtime patching, albeit not as extreme as you're suggesting. > > The obvious strategy is to simply overwrite

Re: [PATCH v2] ARM: Use udiv/sdiv for __aeabi_{u}idiv library functions

2013-11-11 Thread Stephen Boyd
On 11/10/13 23:46, Uwe Kleine-König wrote: > Hello, > > On Fri, Nov 08, 2013 at 03:00:32PM -0800, Stephen Boyd wrote: >> diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile >> index bd454b0..38621729 100644 >> --- a/arch/arm/lib/Makefile >> +++ b/arch/arm/lib/Makefile >> @@ -15,6 +15,12 @@ l

Re: [PATCH v3 1/3] OF: Introduce Device Tree resolve support.

2013-11-11 Thread Grant Likely
On Fri, 8 Nov 2013 17:06:08 +0200, Pantelis Antoniou wrote: > Introduce support for dynamic device tree resolution. > Using it, it is possible to prepare a device tree that's > been loaded on runtime to be modified and inserted at the kernel > live tree. > > Export of of_resolve by Guenter Roec

Re: [PATCH 0/3 - V2] Introducing Device Tree Overlays

2013-11-11 Thread Grant Likely
On Thu, 7 Nov 2013 21:46:26 +0100, Sebastian Andrzej Siewior wrote: > On 07.11.13, Pantelis Antoniou wrote: > > Hi Sebastian, > Hi Pantelis, > > > FWIW DT has been ported to x86. And is present on arm/powerpc/mips/arc and > > possibly > > others. > > Yes, I know. I am the one that did the work

<    1   2   3   4   5   6   7   8   >