Re: [RFC 0/3] Pin page control subsystem

2013-08-14 Thread Christoph Lameter
On Wed, 14 Aug 2013, Minchan Kim wrote: > On Tue, Aug 13, 2013 at 04:21:30PM +, Christoph Lameter wrote: > > On Tue, 13 Aug 2013, Minchan Kim wrote: > > > > > VM sometime want to migrate and/or reclaim pages for CMA, memory-hotplug, > > > THP and so on but at the moment, it could handle only u

Re: [RFC][PATCH 0/5] preempt_count rework

2013-08-14 Thread Andi Kleen
On Wed, Aug 14, 2013 at 03:15:39PM +0200, Peter Zijlstra wrote: > These patches optimize preempt_enable by firstly folding the preempt and > need_resched tests into one -- this should work for all architectures. And > secondly by providing per-arch preempt_count implementations; with x86 using > pe

Re: [RFC 0/3] Pin page control subsystem

2013-08-14 Thread Minchan Kim
Hi Christoph, On Wed, Aug 14, 2013 at 04:36:44PM +, Christoph Lameter wrote: > On Wed, 14 Aug 2013, Minchan Kim wrote: > > > On Tue, Aug 13, 2013 at 04:21:30PM +, Christoph Lameter wrote: > > > On Tue, 13 Aug 2013, Minchan Kim wrote: > > > > > > > VM sometime want to migrate and/or reclai

Re: [PATCH v1 2/2] perf tools: add attr->mmap2 support

2013-08-14 Thread Andi Kleen
On Wed, Aug 14, 2013 at 12:30:08PM +0200, Stephane Eranian wrote: > On Wed, Aug 14, 2013 at 1:34 AM, Andi Kleen wrote: > > On Tue, Aug 13, 2013 at 01:55:57PM +0200, Stephane Eranian wrote: > >> This patch adds support for the new PERF_RECORD_MMAP2 > >> record type exposed by the kernel. This is an

Re: [PATCH 2/2] mfd: ab8500-gpadc: add CONFIG_PM_SLEEP to suspend/resume

2013-08-14 Thread Linus Walleij
On Fri, Aug 2, 2013 at 7:21 AM, Jingoo Han wrote: > Add CONFIG_PM_SLEEP to suspend/resume functions to fix the build > warnings when CONFIG_PM_SLEEP is not selected. This is because > sleep PM callbacks defined by SET_SYSTEM_SLEEP_PM_OPS are only used > when the CONFIG_PM_SLEEP is enabled. > > dr

Re: [PATCH 1/2] mfd: ab8500-gpadc: add CONFIG_PM_RUNTIME to runtime_suspend/runtime_resume

2013-08-14 Thread Linus Walleij
On Fri, Aug 2, 2013 at 7:20 AM, Jingoo Han wrote: > Add CONFIG_PM_RUNTIME to runtime_suspend/runtime_resume functions > to fix the build warnings when CONFIG_PM_RUNTIME is not selected. > This is because runtime PM callbacks defined by SET_RUNTIME_PM_OPS > are only used when the CONFIG_PM_RUNTIME

Re: [PATCH 04/15] cpufreq: dbx500: initialize .owner field with THIS_MODULE

2013-08-14 Thread Linus Walleij
On Wed, Jul 31, 2013 at 4:19 PM, Viresh Kumar wrote: > CPUFreq core does following at multiple places: > module_{get|put}(cpufreq_driver->owner)). > > This is done to make sure module doesn't get unloaded if it is currently in > use. > This will work only if the .owner field of cpufreq driver is

Re: [PATCH 1/1] intel_ips: blacklist ASUSTek G60JX laptops

2013-08-14 Thread Jesse Barnes
On Wed, 14 Aug 2013 12:22:49 -0400 Joseph Salisbury wrote: > BugLink: http://bugs.launchpad.net/bugs/1210848 > > On an ASUSTek G60JX laptop, the intel_ips driver spams the log with a warning > message: "ME failed to update for more than 1s, likely hung". This ME > doesn't support the feature,

RE: [PATCH 1/3] powerpc: Add iommu domain pointer to device archdata

2013-08-14 Thread Sethi Varun-B16395
Thanks Joerg. > -Original Message- > From: Joerg Roedel [mailto:j...@8bytes.org] > Sent: Wednesday, August 14, 2013 9:45 PM > To: Sethi Varun-B16395 > Cc: io...@lists.linux-foundation.org; linuxppc-...@lists.ozlabs.org; > linux-kernel@vger.kernel.org; b...@kernel.crashing.org; > ga...@kern

Re: Issues with a rather unusual configured NFS server

2013-08-14 Thread Toralf Förster
On 08/13/2013 11:53 PM, J. Bruce Fields wrote: > On Mon, Aug 12, 2013 at 04:36:40PM +0200, Jan Kara wrote: >> On Sun 11-08-13 11:48:49, Toralf Förster wrote: >>> so that the server either crashes (if it is a user mode linux image) or at >>> least its reboot functionality got broken >>> - if the NF

Re: [PATCH v3 07/10] xen: introduce XENMEM_get_dma_buf and xen_put_dma_buf

2013-08-14 Thread Stefano Stabellini
On Fri, 9 Aug 2013, Konrad Rzeszutek Wilk wrote: > > + * requested. The new pages are going to be "pinned": it's guaranteed > > + * that their p2m mapping won't be changed until explicitly "unpinned". > > What if you try to balloon them out? What happens then? Does that > unpin them automatically?

Re: [PATCH v3 07/10] xen: introduce XENMEM_get_dma_buf and xen_put_dma_buf

2013-08-14 Thread Stefano Stabellini
On Fri, 9 Aug 2013, Konrad Rzeszutek Wilk wrote: > > > +struct xen_get_dma_buf { > > > +/* > > > + * [IN] Details of memory extents to be exchanged (GMFN bases). > > > + * Note that @in.address_bits is ignored and unused. > > > > O, why? What if the user wants to be it under 2G? >

Re: [PATCH 3/4] pinctrl: Add support for additional dynamic states

2013-08-14 Thread Linus Walleij
On Tue, Jul 30, 2013 at 12:01 AM, Stephen Warren wrote: > I was thinking more about people writing the device trees that define > these states; they need to explicitly make the choice re: overlapping > states or independent states. We should not plan to obsolete any current > usage of overlapping

Re: [ 04/23] SCSI: qla2xxx: Properly set the tagging for commands.

2013-08-14 Thread Jack Hill
Hi Greg, Apologies if this question is due to my ignorance of kernel development practices. Feel free to point me at documentation. I noticed that you applied this patch to the 3.10, 3.4, and 3.0 trees. On kernel.org, it looks like 3.2 is also a longterm kernel. Why was this patch not applie

Re: [PATCH V11 13/15] perf tools: expand perf_event__synthesize_sample()

2013-08-14 Thread Jiri Olsa
On Wed, Aug 14, 2013 at 03:48:35PM +0300, Adrian Hunter wrote: SNIP > index 81c170f..4c97f36 100644 > --- a/tools/perf/util/evsel.c > +++ b/tools/perf/util/evsel.c > @@ -1389,7 +1389,6 @@ int perf_evsel__parse_sample(struct perf_evsel *evsel, > union perf_event *event, > } > > if (

Re: [PATCH] mm: skip the page buddy block instead of one page

2013-08-14 Thread Minchan Kim
On Wed, Aug 14, 2013 at 05:16:42PM +0100, Mel Gorman wrote: > On Thu, Aug 15, 2013 at 12:52:29AM +0900, Minchan Kim wrote: > > Hi Mel, > > > > On Wed, Aug 14, 2013 at 09:57:11AM +0100, Mel Gorman wrote: > > > On Wed, Aug 14, 2013 at 12:45:41PM +0800, Xishi Qiu wrote: > > > > A large free page budd

Re: [PATCH V11 12/15] perf tools: add missing 'abi' member to 'struct regs_dump'

2013-08-14 Thread Jiri Olsa
On Wed, Aug 14, 2013 at 03:48:34PM +0300, Adrian Hunter wrote: > And store the parsed value there. Note that the 'abi' is > 0 (no registers), 1 (32-bit registers) or 2 (64-bit registers), > but the registers are anyway copied one-by-one as 64-bit > values onto the event i.e. see 'perf_output_sampl

Re: [PATCH] pinctrl: improve warning messages

2013-08-14 Thread Stephen Warren
On 08/14/2013 10:25 AM, Linus Walleij wrote: > Print out the affected group name on activation of pin mux > settings, and warn if you cannot free a pin that should have > been part of a certain setting. > diff --git a/drivers/pinctrl/pinmux.c b/drivers/pinctrl/pinmux.c > @@ -411,9 +415,14 @@ int

[PATCH v4 1/3] fs/binfmts: Add a name field to the binfmt struct

2013-08-14 Thread Zach Levis
Adding the name field helps when printing error messages referring to specific binfmts Signed-off-by: Zach Levis --- fs/binfmt_aout.c|1 + fs/binfmt_elf.c |5 + fs/binfmt_elf_fdpic.c |1 + fs/binfmt_em86.c|1 + fs/binfmt_flat.c|1 + fs/bi

[PATCH v4 3/3] fs/binfmts: Whitespace fixes with scripts/cleanfile

2013-08-14 Thread Zach Levis
Obligatory first-patchset whitespace commit Signed-off-by: Zach Levis --- fs/binfmt_aout.c |8 fs/binfmt_elf.c | 38 +++--- fs/binfmt_elf_fdpic.c |8 fs/binfmt_em86.c |9 ++--- fs/binfmt_flat.c | 26 ++

[PATCH v4 2/3] fs/binfmts: Better handling of binfmt loops

2013-08-14 Thread Zach Levis
With these changes, when a binfmt loop is encountered, the ELOOP will propogate back to the 0 depth. At this point the argv and argc values will be reset to what they were originally and an attempt is made to continue with the following binfmt handlers. Example: a qemu is configured to run 64-bit

[PATCH v4 0/3] fs/binfmts: Improve handling of loops

2013-08-14 Thread Zach Levis
This v4 is based off Oleg's changes from "exec: more cleanups" and "exec: minor cleanups + minor fix" It incorporates Oleg and Andrew's suggestions and takes care of the issue from Dan's patch "fs/binfmts: double unlock in search_binary_handler()" New in v4 is how we handle resetting the linux_

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-14 Thread Stephen Warren
On 08/14/2013 10:14 AM, Alan Stern wrote: > On Wed, 14 Aug 2013, Mark Brown wrote: > >> On Wed, Aug 14, 2013 at 10:27:26AM -0400, Alan Stern wrote: >>> On Wed, 14 Aug 2013, Mark Brown wrote: >> I'd expect that we're just looking at hooks around connection and disconnection here here - if

Re: [PATCH] tile: use asm-generic/bitops/builtin-*.h

2013-08-14 Thread Chris Metcalf
On 8/14/2013 9:07 AM, Akinobu Mita wrote: > The definisions of __ffs(), __fls(), and ffs() for tile are almost same > as asm-generic/bitops-*.h. The only difference is that it is defined > as __always_inline or inline. So this switches to use those headers. > > Signed-off-by: Akinobu Mita > Cc:

Re: [PATCH v4] pinctrl: pinmux: Don't free pins requested by other devices in pinmux_disable_setting.

2013-08-14 Thread Stephen Warren
On 08/14/2013 10:27 AM, Linus Walleij wrote: > On Wed, Aug 14, 2013 at 6:21 PM, Stephen Warren wrote: >> On 08/14/2013 09:54 AM, Linus Walleij wrote: >>> On Wed, Aug 14, 2013 at 7:26 AM, Sonic Zhang wrote: >>> From: Sonic Zhang One peripheral may share part of its pins with the 2n

Re: [patch] regulator: 88pm800: forever loop in pm800_regulator_probe()

2013-08-14 Thread Axel Lin
2013/8/15 Dan Carpenter : > This is supposed to be testing "i < ARRAY_SIZE()" instead of just > "ARRAY_SIZE()". > > Signed-off-by: Dan Carpenter > > diff --git a/drivers/regulator/88pm800.c b/drivers/regulator/88pm800.c > index 58e9b74..3459f60 100644 > --- a/drivers/regulator/88pm800.c > +++ b/dr

Re: [PATCH v4] pinctrl: pinmux: Don't free pins requested by other devices in pinmux_disable_setting.

2013-08-14 Thread Linus Walleij
On Wed, Aug 14, 2013 at 6:21 PM, Stephen Warren wrote: > On 08/14/2013 09:54 AM, Linus Walleij wrote: >> On Wed, Aug 14, 2013 at 7:26 AM, Sonic Zhang wrote: >> >>> From: Sonic Zhang >>> >>> One peripheral may share part of its pins with the 2nd >>> peripheral and the other pins with the 3rd. If

[PATCH] pinctrl: improve warning messages

2013-08-14 Thread Linus Walleij
Print out the affected group name on activation of pin mux settings, and warn if you cannot free a pin that should have been part of a certain setting. Cc: Sonic Zhang Signed-off-by: Linus Walleij --- drivers/pinctrl/pinmux.c | 35 +-- 1 file changed, 29 insertio

[PATCH 1/1] intel_ips: blacklist ASUSTek G60JX laptops

2013-08-14 Thread Joseph Salisbury
BugLink: http://bugs.launchpad.net/bugs/1210848 On an ASUSTek G60JX laptop, the intel_ips driver spams the log with a warning message: "ME failed to update for more than 1s, likely hung". This ME doesn't support the feature, so requesting it be blacklisted for now. Signed-off-by: Joseph Sal

Re: [PATCH v4] pinctrl: pinmux: Don't free pins requested by other devices in pinmux_disable_setting.

2013-08-14 Thread Stephen Warren
On 08/14/2013 09:54 AM, Linus Walleij wrote: > On Wed, Aug 14, 2013 at 7:26 AM, Sonic Zhang wrote: > >> From: Sonic Zhang >> >> One peripheral may share part of its pins with the 2nd >> peripheral and the other pins with the 3rd. If it requests all pins >> when part of them has already be reques

Re: arm: Only load TLS values when needed

2013-08-14 Thread Jonathan Austin
Hi André, On 14/08/13 15:07, André Hentschel wrote: Hi Jonathan, Any updates on this? I was holding out to see the version with ldrd at the top, as discussed below - I never saw a version with that change? I'd meant to ping you to see if that was coming, sorry. [...] [...] Now we've on

[PATCH] checkpatch: Reduce runtime/cpu time used

2013-08-14 Thread Joe Perches
There are some cases where checkpatch can take a long time to complete. Reduce the likelihood of this long run-time by adding a new test for lines with and without comments and eliminating checks on lines with only comments. This reduces the number of "ctx_statement_block" calls, and also the num

[PATCH 6/8] Cpuidle: Fix variable domains in get_typical_interval()

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen The menu governor uses a static function get_typical_interval() to try to detect a repeating pattern of wakeups. The previous interval durations are stored as an array of unsigned ints, but the arithmetic in the function is performed exclusively as 64 bit values, even when t

[PATCH 8/8] Cpuidle: Change struct menu_device field types

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen Field predicted_us value can never exceed expected_us value, but it has a potentially larger type. As there is no need for additional 32 bits of zeroes on 32 bit plaforms, change the type of predicted_us to match the type of expected_us. Field correction_factor is used to s

[PATCH 5/8] Cpuidle: Fix menu_device->intervals type

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen Struct menu_device member intervals is declared as u32, but the value stored is (unsigned) int. The type is changed to match the value being stored. Signed-off-by: Tuukka Tikkanen --- drivers/cpuidle/governors/menu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH 4/8] Cpuidle: CodingStyle: Break up multiple assignments on single line

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen The function get_typical_interval() initializes a number of variables that are immediately after declarations assigned constant values. In addition, there are multiple assignments on a single line, which is explicitly forbidden by Documentation/CodingStyle. This patch remov

[PATCH 0/8] Cpuidle: Menu governor fixes

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen This series of patches fixes some bugs, style issues and wild use of variable types in cpuidle menu governor. One of the bugs is a logic flaw where a detected previously recurring pattern is given priority over known guaranteed earlier wakeup. The others involve value overfl

[PATCH 1/8] Cpuidle: Ignore interval prediction result when timer is shorter

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen This patch prevents cpuidle menu governor from using repeating interval prediction result if the idle period predicted is longer than the one allowed by shortest running timer. Signed-off-by: Tuukka Tikkanen --- drivers/cpuidle/governors/menu.c |5 - 1 file change

[PATCH 2/8] Cpuidle: Rearrange code and comments in get_typical_interval()

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen This patch rearranges a if-return-elsif-goto-fi-return sequence into if-return-fi-if-return-fi-goto sequence. The functionality remains the same. Also, a lengthy comment that did not describe the functionality in the order it occurs is split into half and top half is moved c

Re: [PATCH v2] iommu: Add event tracing feature to iommu

2013-08-14 Thread Joerg Roedel
On Wed, Aug 14, 2013 at 10:06:08AM -0600, Shuah Khan wrote: > Is this what you have in mind or does my original patch set minus > the amd_event and drivers/iommu/amd_iommu.c change? > > Patch 1: > drivers/iommu/Makefile > drivers/iommu/iommu-traces.c > include/trace/events/iommu.h > > One patch f

[PATCH 3/8] Cpuidle: Check called function parameter in get_typical_interval()

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen get_typical_interval() uses int_sqrt() in calculation of standard deviation. The formal parameter of int_sqrt() is unsigned long, which may on some platforms be smaller than the 64 bit unsigned integer used as the actual parameter. The overflow can occur frequently when actu

[PATCH 7/8] Cpuidle: Add a comment warning about possible overflow

2013-08-14 Thread tuukka . tikkanen
From: Tuukka Tikkanen The menu governor has a number of tunable constants that may be changed in the source. If certain combination of values are chosen, an overflow is possible when the correction_factor is being recalculated. This patch adds a warning regarding this possibility and describes t

Re: [PATCH v6 0/5] zram/zsmalloc promotion

2013-08-14 Thread Minchan Kim
Hi Luigi, On Wed, Aug 14, 2013 at 08:53:31AM -0700, Luigi Semenzato wrote: > During earlier discussions of zswap there was a plan to make it work > with zsmalloc as an option instead of zbud. Does zbud work for AFAIR, it was not an optoin but zsmalloc was must but there were several objections be

Re: [PATCH] mm: skip the page buddy block instead of one page

2013-08-14 Thread Mel Gorman
On Thu, Aug 15, 2013 at 12:52:29AM +0900, Minchan Kim wrote: > Hi Mel, > > On Wed, Aug 14, 2013 at 09:57:11AM +0100, Mel Gorman wrote: > > On Wed, Aug 14, 2013 at 12:45:41PM +0800, Xishi Qiu wrote: > > > A large free page buddy block will continue many times, so if the page > > > is free, skip th

Re: [RFC][PATCH 0/5] preempt_count rework

2013-08-14 Thread H. Peter Anvin
On 08/14/2013 09:06 AM, Peter Zijlstra wrote: > On Wed, Aug 14, 2013 at 05:39:11PM +0200, Mike Galbraith wrote: >> On Wed, 2013-08-14 at 06:47 -0700, H. Peter Anvin wrote: >> >>> On x86, you never want to take the address of a percpu variable if you >>> can avoid it, as you end up generating code l

Re: [PATCH 1/3] powerpc: Add iommu domain pointer to device archdata

2013-08-14 Thread Joerg Roedel
On Wed, Aug 14, 2013 at 09:56:11AM +, Sethi Varun-B16395 wrote: > Please find the .config file attached with this mail. Fantastic, thanks. The build works fine, I'll include the driver into my next-branch. I also have two minor clean-up patches on-top, just if you where wondering. Jo

[patch] regulator: 88pm800: forever loop in pm800_regulator_probe()

2013-08-14 Thread Dan Carpenter
This is supposed to be testing "i < ARRAY_SIZE()" instead of just "ARRAY_SIZE()". Signed-off-by: Dan Carpenter diff --git a/drivers/regulator/88pm800.c b/drivers/regulator/88pm800.c index 58e9b74..3459f60 100644 --- a/drivers/regulator/88pm800.c +++ b/drivers/regulator/88pm800.c @@ -302,7 +302,7

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-14 Thread Alan Stern
On Wed, 14 Aug 2013, Mark Brown wrote: > On Wed, Aug 14, 2013 at 10:27:26AM -0400, Alan Stern wrote: > > On Wed, 14 Aug 2013, Mark Brown wrote: > > > > I'd expect that we're just looking at hooks around connection and > > > disconnection here here - if we're looking at much more it seems like we

Re: [PATCH 1/2] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-08-14 Thread Stephen Warren
On 08/13/2013 11:24 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Wednesday 14 August 2013 12:43 AM, Stephen Warren wrote: >> On 08/12/2013 11:37 PM, Kishon Vijay Abraham I wrote: >>> The Palmas device contains only a USB VID detector, so added a >>> compatible type *ti,palmas-usb-vid*. Dint remo

[GIT PULL] EDAC fixes for 3.12

2013-08-14 Thread Borislav Petkov
Hi guys, this is all 3.12 material, please pull. Thanks! The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/edac_for_3.

Re: pty FIONREAD returning zero breaks emacs in 3.11rc3

2013-08-14 Thread Peter Hurley
On 08/13/2013 06:03 PM, Andi Kleen wrote: On Mon, Aug 12, 2013 at 09:43:43PM -0400, Peter Hurley wrote: On 08/09/2013 05:11 PM, Andi Kleen wrote: When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key strokes. I first thought the system was busy or so, but when stracing th

Re: [PATCH 1/2] hexagon: fix return type of ffs()

2013-08-14 Thread Richard Kuo
On 08/07/2013 08:42 AM, Akinobu Mita wrote: The return type of ffs() is 'int' on all architectures except cris and hexagon. This unifies the return type to 'int'. The problem I'm seeing is that the following line generates a warning on cris and hexagon because of the mismatch between format '%u

Re: [PATCH v3 3/3] usb: dwc3: Add Qualcomm DWC3 glue layer driver

2013-08-14 Thread Stephen Boyd
On 08/14/13 05:59, Ivan T. Ivanov wrote: > +} > + > +static const struct of_device_id of_dwc3_matach[] = { match? Maybe you can make it all one line too { .compatible = "qcom,dwc3" } > + { > + .compatible = "qcom,dwc3", > + }, > + { }, > +}; > +MODULE_DEVICE_TABLE(of, of_d

Re: [RFC][PATCH 0/5] preempt_count rework

2013-08-14 Thread Peter Zijlstra
On Wed, Aug 14, 2013 at 05:39:11PM +0200, Mike Galbraith wrote: > On Wed, 2013-08-14 at 06:47 -0700, H. Peter Anvin wrote: > > > On x86, you never want to take the address of a percpu variable if you > > can avoid it, as you end up generating code like: > > > > movq %fs:0,%rax > > subl $1

Re: [PATCH v2] iommu: Add event tracing feature to iommu

2013-08-14 Thread Shuah Khan
Hi Joerg, Thanks for the feedback. On 08/14/2013 08:17 AM, Joerg Roedel wrote: Hi Shuah, thanks for doing this. I have a few suggestions for improvements. On Tue, Jul 30, 2013 at 08:57:09AM -0600, Shuah Khan wrote: iommu:add_device_to_group iommu:remove_device_from_group iommu:attach_device_

Re: [PATCH RFC v2 1/2] max77693: added device tree support

2013-08-14 Thread Lee Jones
> I have no response from Samuel regarding this patch. > Could you take care of it, I can rebase it again if necessary. Yes, please rebase onto v3.11-rc5 and resubmit. Thanks. -- Lee Jones Linaro ST-Ericsson Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Faceboo

Re: [PATCH v7 2/2] mm: make lru_add_drain_all() selective

2013-08-14 Thread Chris Metcalf
On 8/14/2013 2:46 AM, Andrew Morton wrote: > On Tue, 13 Aug 2013 19:32:37 -0400 Chris Metcalf wrote: > >> On 8/13/2013 7:29 PM, Tejun Heo wrote: >>> Hello, >>> >>> On Tue, Aug 13, 2013 at 06:53:32PM -0400, Chris Metcalf wrote: int lru_add_drain_all(void) { - return schedule_on_ea

Re: [RFC][PATCH 0/5] preempt_count rework

2013-08-14 Thread Peter Zijlstra
On Wed, Aug 14, 2013 at 06:47:45AM -0700, H. Peter Anvin wrote: > I still don't see this using a decrement of the percpu variable > anywhere. The C compiler doesn't know how to generate those, so if I'm > not completely wet we will end up relying on sub_preempt_count()... > which, because it reli

3.11.0-rc5: WARNING: at drivers/gpu/drm/i915/intel_display.c:8286 check_crtc_state

2013-08-14 Thread Arnd Hannemann
Hi, when changing the refresh rate of my laptop display with xrandr on 3.11.0-rc5, like: xrandr --output LVDS1 --rate 59.9 --mode 1920x1080 The following WARNING is generated: [ 50.018055] [drm:intel_pipe_config_compare] *ERROR* mismatch in adjusted_mode.flags (expected 1, found 0) [ 50.01

Re: [PATCH 1/3] HID: Use existing parser for pre-scanning the report descriptors

2013-08-14 Thread Srinivas Pandruvada
On 08/13/2013 11:37 AM, Alexander Holler wrote: Am 13.08.2013 16:58, schrieb Benjamin Tissoires: hid_scan_report() implements its own HID report descriptor parsing. It was fine until we added the SENSOR_HUB detection. It is going to be even worse with the detection of Win 8 certified touchscre

Re: [PATCH v3 0/3] qrwlock: Introducing a queue read/write lock implementation

2013-08-14 Thread Ingo Molnar
* Waiman Long wrote: > On 08/14/2013 06:20 AM, Ingo Molnar wrote: > >* Waiman Long wrote: > > > >> > >>I would like to share with you a rwlock related system crash that I > >>encountered during my testing with hackbench on an 80-core DL980. The > >>kernel crash because of a "watchdog detected h

Re: [PATCH] Revert "cxgb3: Check and handle the dma mapping errors"

2013-08-14 Thread Divy Le ray
On 08/14/2013 02:19 AM, Alexey Kardashevskiy wrote: This reverts commit f83331bab149e29fa2c49cf102c0cd8c3f1ce9f9. As the tests PPC64 (powernv platform) show, IOMMU pages are leaking when transferring big amount of small packets (<=64 bytes), "ping -f" and waiting for 15 seconds is the simplest w

Re: [GIT PULL] timers/nohz updates for 3.12

2013-08-14 Thread Frederic Weisbecker
On Tue, Aug 13, 2013 at 04:57:30PM +0200, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > > > 19 files changed, 534 insertions(+), 326 deletions(-) > > > > > > When merged to -tip it causes this build error: > > > > > > kernel/time/tick-sched.c:186:3: error: 'have_nohz_full_mask' u

Re: [PATCH v4] pinctrl: pinmux: Don't free pins requested by other devices in pinmux_disable_setting.

2013-08-14 Thread Linus Walleij
On Wed, Aug 14, 2013 at 7:26 AM, Sonic Zhang wrote: > From: Sonic Zhang > > One peripheral may share part of its pins with the 2nd > peripheral and the other pins with the 3rd. If it requests all pins > when part of them has already be requested and owned by the 2nd > peripheral, this request fa

Re: [PATCH] mm: skip the page buddy block instead of one page

2013-08-14 Thread Minchan Kim
Hi Mel, On Wed, Aug 14, 2013 at 09:57:11AM +0100, Mel Gorman wrote: > On Wed, Aug 14, 2013 at 12:45:41PM +0800, Xishi Qiu wrote: > > A large free page buddy block will continue many times, so if the page > > is free, skip the whole page buddy block instead of one page. > > > > Signed-off-by: Xis

Re: [PATCH v6 0/5] zram/zsmalloc promotion

2013-08-14 Thread Luigi Semenzato
During earlier discussions of zswap there was a plan to make it work with zsmalloc as an option instead of zbud. Does zbud work for compression factors better than 2:1? I have the impression (maybe wrong) that it does not. In our use of zram (Chrome OS) typical overall compression ratios are betw

Re: [RFC][PATCH 0/5] preempt_count rework

2013-08-14 Thread H. Peter Anvin
On 08/14/2013 08:39 AM, Mike Galbraith wrote: > > ..so could the rq = cpu_rq(cpu) sequence be improved cycle expenditure > wise by squirreling rq pointer away in a percpu this_rq, and replacing > cpu_rq(cpu) above with a __this_cpu_read(this_rq) version of this_rq()? > Yes. -hpa -- To

Re: [PATCH 1/3 v2] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-14 Thread Linus Walleij
On Tue, Aug 13, 2013 at 7:04 AM, Sonic Zhang wrote: > v2-changes: > - Remove unlinke() directive. Fine, but now you also have all my other comments to take care of :-) Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-14 Thread Mark Brown
On Wed, Aug 14, 2013 at 10:27:26AM -0400, Alan Stern wrote: > On Wed, 14 Aug 2013, Mark Brown wrote: > > I'd expect that we're just looking at hooks around connection and > > disconnection here here - if we're looking at much more it seems like we > > must be doing something wrong. > Connection a

Re: [PATCH 1/3] HID: Use existing parser for pre-scanning the report descriptors

2013-08-14 Thread Benjamin Tissoires
Hi Henrik, On 13/08/13 21:17, rydb...@euromail.se wrote: > Hi Benjamin, > > thanks for the patches, things are looking a lot better this way. thanks for the review :) > >> hid_scan_report() implements its own HID report descriptor parsing. It was >> fine until we added the SENSOR_HUB detectio

Re: [PATCH 3/3] blackfin: pinctrl-adi2: Add pin control device groups and function data.

2013-08-14 Thread Linus Walleij
On Tue, Jul 16, 2013 at 12:55 PM, Sonic Zhang wrote: > From: Sonic Zhang > > Select PINCTRL_ADI2 for bf54x and bf60x by default. > > Signed-off-by: Sonic Zhang (...) > +++ b/arch/blackfin/mach-bf548/include/mach/portmux.h (...) > +static const struct pinctrl_pin_desc adi_pads[] = { > + P

Re: [RFC][PATCH 0/5] preempt_count rework

2013-08-14 Thread Mike Galbraith
On Wed, 2013-08-14 at 06:47 -0700, H. Peter Anvin wrote: > On x86, you never want to take the address of a percpu variable if you > can avoid it, as you end up generating code like: > > movq %fs:0,%rax > subl $1,(%rax) Hmmm.. #define cpu_rq(cpu) (&per_cpu(runqueues, (cpu

Re: [PATCH RFC v2 1/2] max77693: added device tree support

2013-08-14 Thread Andrzej Hajda
Hi Lee, I have no response from Samuel regarding this patch. Could you take care of it, I can rebase it again if necessary. Regards Andrzej On 07/17/2013 09:45 AM, Andrzej Hajda wrote: > Hi Samuel, > > A while ago I have send rebased patch adding device-tree support for > max77693 as you asked:

Re: [PATCH 2/3] blackfin: gpio: Remove none gpio lib code.

2013-08-14 Thread Linus Walleij
On Tue, Jul 16, 2013 at 12:55 PM, Sonic Zhang wrote: > From: Sonic Zhang > > - Remove non gpio lib code from blackfin architecture. > - Limit the lagecy blackfin gpio driver to bf5xx processors only. > - Remove unused definition of the pint power functions. > > Signed-off-by: Sonic Zhang This

Re: [PATCH 4/4] added ams AS3722 register include file

2013-08-14 Thread Lee Jones
> --- > include/linux/mfd/as3722-reg.h | 495 > So the way you've split up the patch isn't quite right. It shouldn't be split by files, rather by functionality. Quoting from Documentation/SubmittingPatches: "If your changes produce a lot of deltas, you

Re: [PATCH v3 00/11] Add namespace support for syslog

2013-08-14 Thread Serge E. Hallyn
Quoting Rui Xiang (rui.xi...@huawei.com): > On 2013/8/8 9:37, Gao feng wrote: > > On 08/07/2013 03:55 PM, Eric W. Biederman wrote: > >> > >> Since this still has not been addressed. I am going to repeat Andrews > >> objection again. > >> > >> Isn't there a better way to get iptables information ou

Re: [PATCH 2/4] added regmap of AS3722

2013-08-14 Thread Mark Brown
On Wed, Aug 14, 2013 at 04:54:56PM +0200, Florian Lobmaier wrote: > +static bool as3722_readable(struct device *dev, unsigned int reg) > +{ > + switch (reg) { > + case AS3722_SD0_VOLTAGE_REG: Are there any gaps in this register map? If not just checking the range would be easier (it look

Re: [PATCH 1/4] added support for ams AS3722 PMIC in mfd

2013-08-14 Thread Mark Brown
On Wed, Aug 14, 2013 at 04:54:55PM +0200, Florian Lobmaier wrote: > +static struct regmap_irq_chip as3722_irq_chip = { > + .name = "as3722", > + .irqs = as3722_irqs, > + .num_irqs = ARRAY_SIZE(as3722_irqs), > + .num_regs = 4, > + .status_base = AS3722_INTERRUPTSTATUS1_REG, > +

Re: [PATCH 1/4] added support for ams AS3722 PMIC in mfd

2013-08-14 Thread Lee Jones
I'm going to comment on the format of the patches before I do the code review. The $SUBJECT line needs to use the same formatting as previous patches accepted by the subsystem. In the case of MFD they're formatted like this: mfd: : This information can be obtained by issuing something like:

Re: [PATCH v3 0/3] qrwlock: Introducing a queue read/write lock implementation

2013-08-14 Thread Waiman Long
On 08/14/2013 06:20 AM, Ingo Molnar wrote: * Waiman Long wrote: I would like to share with you a rwlock related system crash that I encountered during my testing with hackbench on an 80-core DL980. The kernel crash because of a "watchdog detected hard lockup on cpu 79". The crashing CPU was r

Re: question about netif_rx

2013-08-14 Thread Julia Lawall
On Wed, 14 Aug 2013, Rami Rosen wrote: > Hi, > BTW, this is not the only NAPI issue here. When looking into cleanup > of resources in this driver, a call to netif_napi_del() is missing > (though there is a call to napi_disable(), which is not enough for > proper cleanup). Actually, netif_napi_de

Re: [PATCH 1/3] HID: Use existing parser for pre-scanning the report descriptors

2013-08-14 Thread Benjamin Tissoires
On 13/08/13 20:37, Alexander Holler wrote: > Am 13.08.2013 16:58, schrieb Benjamin Tissoires: >> hid_scan_report() implements its own HID report descriptor parsing. It >> was >> fine until we added the SENSOR_HUB detection. It is going to be even >> worse >> with the detection of Win 8 certified to

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-14 Thread Kishon Vijay Abraham I
Hi, On Wednesday 14 August 2013 04:34 AM, Tomasz Figa wrote: > On Wednesday 14 of August 2013 00:19:28 Sylwester Nawrocki wrote: >> W dniu 2013-08-13 14:05, Kishon Vijay Abraham I pisze: >>> On Tuesday 13 August 2013 05:07 PM, Tomasz Figa wrote: On Tuesday 13 of August 2013 16:14:44 Kishon Vi

Re: [PATCH v3 0/6] ARM/ARM64 architected timer updates

2013-08-14 Thread Daniel Lezcano
On 08/14/2013 01:03 PM, Sudeep KarkadaNagesha wrote: > On 14/08/13 11:51, Daniel Lezcano wrote: >> On 08/14/2013 11:17 AM, Sudeep KarkadaNagesha wrote: >>> On 14/08/13 10:08, Daniel Lezcano wrote: On 08/13/2013 07:29 PM, Sudeep KarkadaNagesha wrote: > From: Sudeep KarkadaNagesha > >>>

[PATCH] added support for ams AS3722 regulator

2013-08-14 Thread Florian Lobmaier
Signed-off-by: Florian Lobmaier --- drivers/regulator/Kconfig|7 + drivers/regulator/Makefile |1 + drivers/regulator/as3722-regulator.c | 1336 ++ 3 files changed, 1344 insertions(+), 0 deletions(-) create mode 100644 drivers/regula

[PATCH 4/4] added ams AS3722 register include file

2013-08-14 Thread Florian Lobmaier
Signed-off-by: Florian Lobmaier --- include/linux/mfd/as3722-reg.h | 495 1 files changed, 495 insertions(+), 0 deletions(-) create mode 100644 include/linux/mfd/as3722-reg.h diff --git a/include/linux/mfd/as3722-reg.h b/include/linux/mfd/as3722-reg.h

[PATCH 3/4] added AS3722 platform include file

2013-08-14 Thread Florian Lobmaier
Signed-off-by: Florian Lobmaier --- include/linux/mfd/as3722-plat.h | 238 +++ 1 files changed, 238 insertions(+), 0 deletions(-) create mode 100644 include/linux/mfd/as3722-plat.h diff --git a/include/linux/mfd/as3722-plat.h b/include/linux/mfd/as3722-plat

[PATCH 1/4] added support for ams AS3722 PMIC in mfd

2013-08-14 Thread Florian Lobmaier
now using git send-email and splitted mfd patch into multiple patches (4). Suggestions from 23.05.2013 added. Signed-off-by: Florian Lobmaier --- drivers/mfd/Kconfig | 15 + drivers/mfd/Makefile |1 + drivers/mfd/as3722-core.c | 747 +

[PATCH 2/4] added regmap of AS3722

2013-08-14 Thread Florian Lobmaier
Signed-off-by: Florian Lobmaier --- drivers/mfd/as3722-regmap.c | 417 +++ 1 files changed, 417 insertions(+), 0 deletions(-) create mode 100644 drivers/mfd/as3722-regmap.c diff --git a/drivers/mfd/as3722-regmap.c b/drivers/mfd/as3722-regmap.c new file

Re: [PATCH v3 2/3] usb: phy: Add Qualcomm SS-USB and HS-USB drivers for DWC3 core

2013-08-14 Thread Ivan T. Ivanov
Hi, On Wed, 2013-08-14 at 09:20 -0500, Josh Cartwright wrote: > On Wed, Aug 14, 2013 at 03:59:42PM +0300, Ivan T. Ivanov wrote: > > From: "Ivan T. Ivanov" > > > > These drivers handles control and configuration of the HS > > and SS USB PHY transceivers. They are part of the driver > > which m

[PATCH] perf: sample after exit loses thread correlation - v4

2013-08-14 Thread David Ahern
Occassionally events (e.g., context-switch, sched tracepoints) are losing the conversion of sample data associated with a thread. For example: $ perf record -e sched:sched_switch -c 1 -a -- sleep 5 $ perf script ls 30482 [000] 1379727.583037: sched:sched_switch: prev_comm=ls prev_pid=30482 .

Re: [Ksummit-2013-discuss] DT bindings as ABI [was: Do we have people interested in device tree janitoring / cleanup?]

2013-08-14 Thread H. Peter Anvin
On 08/13/2013 06:49 PM, Guenter Roeck wrote: > >> That is one aspect (hardware standardization)... but it is more to it >> than that. > > I have to deal with lots of embedded / non-PC x86 based systems. Worst one > I encountered so far was a board where the VGA memory space was re-used > for an eep

Re: [PATCH 04/37] cpufreq: at32ap: don't initialize part of policy that is set by core too

2013-08-14 Thread Hans-Christian Egtvedt
Around Wed 14 Aug 2013 20:07:44 +0530 or thereabout, Viresh Kumar wrote: > On 14 August 2013 20:05, Hans-Christian Egtvedt wrote: >> Around Wed 14 Aug 2013 19:01:53 +0530 or thereabout, Viresh Kumar wrote: >>> Many common initializations of struct policy are moved to core now and hence >>> this dr

Re: Regression V3.11-rc1 bisected: [readdir] convert procfs

2013-08-14 Thread Richard Genoud
2013/8/12 Richard Genoud : > Hi, > > I've found something peculiar while I was testing v3.11: > There's a lot of directory missing (actually hiding) in /proc : > > /proc/sys/, /proc/fs/, /proc/bus/ etc... > all the directories that are not PIDs are in "stealth mode": > they don't appear with an ls

Re: [PATCH v3 2/5] ARM: dts: add reference voltage property for MXS LRADC

2013-08-14 Thread Pawel Moll
On Tue, 2013-08-13 at 22:23 +0100, Jonathan Cameron wrote: > On 07/22/13 15:04, Hector Palacios wrote: > > Some LRADC channels have fixed pre-dividers so they can measure > > different voltages at full scale. The reference voltage allows to > > expose a scaling attribute through the IIO sysfs so th

Re: [PATCH 6/8] drm/i2c: tda998x: fix sync generation and calculation

2013-08-14 Thread Russell King - ARM Linux
On Tue, Aug 06, 2013 at 12:20:16AM +0200, Sebastian Hesselbarth wrote: > This fixes the wrong sync generation and sync calculation of TDA998x > for HS/VS-based sync detection. > > Signed-off-by: Sebastian Hesselbarth The plus point with this is that interlaced modes (1080i) do work with the TDA9

Re: [PATCH v3] Documentation: dt: bindings: TI WiLink modules

2013-08-14 Thread Benoit Cousson
Hi Luca, On 30/07/2013 22:21, Luciano Coelho wrote: Add device tree bindings documentation for the TI WiLink modules. Currently only the WLAN part of the WiLink6, WiLink7 and WiLink8 modules is supported. Signed-off-by: Luciano Coelho --- In v3, use IRQ_TYPE_LEVEL_HIGH in the example, as sugg

Re: [patch 9/9] mm: workingset: keep shadow entries in check

2013-08-14 Thread Johannes Weiner
Hey Andi! On Mon, Aug 12, 2013 at 01:56:31AM +0200, Andi Kleen wrote: > > I really like the idea of using the spare slots in the radix tree > for something useful. It's amazing we haven't used that before. > > I wonder if with some clever encoding even more information could be fit? What do you

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-14 Thread Guenter Roeck
On 08/14/2013 05:44 AM, Peter Maydell wrote: On 14 August 2013 11:33, Russell King - ARM Linux wrote: On Mon, Aug 12, 2013 at 04:04:08PM -0700, Guenter Roeck wrote: Hacked diff is below. Can I write that up as clean patch and submit it, or do we need a test on real hardware ? Well, if we wan

Re: [PATCH 04/37] cpufreq: at32ap: don't initialize part of policy that is set by core too

2013-08-14 Thread Viresh Kumar
On 14 August 2013 20:05, Hans-Christian Egtvedt wrote: > Around Wed 14 Aug 2013 19:01:53 +0530 or thereabout, Viresh Kumar wrote: >> Many common initializations of struct policy are moved to core now and hence >> this driver doesn't need to do it. This patch removes such code. >> >> Most recent of

<    1   2   3   4   5   6   7   8   9   >