Re: [PATCH] backlight: pwm: handle EPROBE_DEFER while requesting the PWM

2015-03-11 Thread Lee Jones
On Thu, 19 Feb 2015, Nicolas Ferre wrote: > When trying to request the PWM device with devm_pwm_get(), the EPROBE_DEFER > flag is not handled properly. It can lead to the PWM not being found. > > Signed-off-by: Boris Brezillon > Signed-off-by: Nicolas Ferre > --- > drivers/video/backlight/pwm_

Re: [PATCH] f2fs: add fast symlink support

2015-03-11 Thread Wanpeng Li
Sorry, please ignore this one which w/o patch description. On Thu, Mar 12, 2015 at 02:35:33PM +0800, Wanpeng Li wrote: >Signed-off-by: Wanpeng Li >--- > fs/f2fs/f2fs.h | 15 ++ > fs/f2fs/file.c | 2 ++ > fs/f2fs/inode.c | 9 +++-- > fs/f2fs/namei.c

[PATCH v2] drm/i915: Fix BUG in i915_gem.c when switch to console

2015-03-11 Thread Xi Ruoyao
In intel_crtc_page_flip, intel_display.c, the code changed the framebuffer assigned to plane crtc->primary by crtc->primary->fb = fb; However, it forgot to change crtc->primary->state->fb. However, when we switch to console, some kernel code will read crtc->primary->state->fb to get the framebuff

Re: [PATCH RFC] leds: Add status code trigger

2015-03-11 Thread Raphaël Teysseyre
> > For a heartbeat-like pattern : > > 0 1000 > > 255 100 > > 0 100 > > 255 100 > > That would be "slowly go to zero intensity, quickly go to max > intensity, to zero, to maximum". If you wanted to turn the LED on/off > without going thro

[PATCH] f2fs: add fast symlink support

2015-03-11 Thread Wanpeng Li
This patch introduces the improvement fast symlinks to allow storage of the target path within inode, thus symlinks with short target paths are more accessed quickly. It will fall back to using the original slow symlink if the target path exceeds the available inode space. Signed-off-by: Wanpen

[PATCH] f2fs: add fast symlink support

2015-03-11 Thread Wanpeng Li
Signed-off-by: Wanpeng Li --- fs/f2fs/f2fs.h | 15 ++ fs/f2fs/file.c | 2 ++ fs/f2fs/inode.c | 9 +++-- fs/f2fs/namei.c | 53 + include/linux/f2fs_fs.h | 2 ++ 5 files changed, 75 insertions(+), 6

Re: linux-next: Tree for Mar 11 (arm build failure, ASoC)

2015-03-11 Thread Peter Ujfalusi
Hi, On 03/11/2015 05:51 PM, Guenter Roeck wrote: > On Wed, Mar 11, 2015 at 04:35:58PM +1100, Stephen Rothwell wrote: >> Hi all, >> >> Changes since 20150310: >> >> New tree: drm-exynos >> >> The sound-asoc tree still had its build failure so I used the version from >> next-20150306. >> >> The regu

Re: [PATCH] spi: fsl-spi: use of_iomap() to map parameter ram on CPM1

2015-03-11 Thread leroy christophe
Le 06/03/2015 12:44, Mark Brown a écrit : On Wed, Mar 04, 2015 at 09:00:39AM +0100, leroy christophe wrote: Le 03/03/2015 19:44, Mark Brown a écrit : Why are we using of_iomap() rather than a generic I/O mapping function here? because all drivers for powerpc seems to be using of_iomap(), as o

Re: efivarfs and writev() support

2015-03-11 Thread Al Viro
On Wed, Mar 11, 2015 at 08:12:52AM -0700, Marcel Holtmann wrote: > Hi Matt, > > >> it seems that efivarfs only supports readv(), but when it comes to > >> writev(), I am getting an error. Is there any reason to not support > >> vectored write on this filesystem? Especially with the uint32 header >

[LKP] [locking/rwsem] 1a99367023f: no primary result change, +23.6% will-it-scale.time.system_time

2015-03-11 Thread Huang Ying
FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 1a99367023f6ac664365a37fa508b059e31d0e88 ("locking/rwsem: Check for active lock before bailing on spinning") There is some minor will-it-scale.per_thread_ops changes below (-1.8%)

Re: [PATCH] 9p/trans_virtio: fix hot-unplug

2015-03-11 Thread Michael S. Tsirkin
On Thu, Mar 12, 2015 at 11:54:10AM +1030, Rusty Russell wrote: > "Michael S. Tsirkin" writes: > > On device hot-unplug, 9p/virtio currently will kfree channel while > > it might still be in use. > > > > Of course, it might stay used forever, so it's an extremely ugly hack, > > but it seems better

Re: [PATCH] sound:pci:Change return type of function,shift_bits in xonar_dg.c to avoid overflow

2015-03-11 Thread Takashi Iwai
At Thu, 12 Mar 2015 00:35:46 -0400, Nicholas Krause wrote: > > This changes the return type of the function,shift_bits to unsigned > long in order to avoid overflowing issues with this function when > called as found when running sparse on the kernel source tree. What overflows exactly? Did you

Re: [PATCH 04/12] time: Add debugging checks to warn if we see delays

2015-03-11 Thread Ingo Molnar
* John Stultz wrote: > Recently there's been some request for better sanity > checking in the time code, so that its more clear > when something is going wrong since timekeeping issues > could manifest in a large number of strange ways with > various subsystems. > > Thus, this patch adds some e

Re: [ALSA] f2c5784f827: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5

2015-03-11 Thread Takashi Iwai
At Thu, 12 Mar 2015 12:01:04 +0800, Fengguang Wu wrote: > > Hi Takashi, > > We noticed the below dmesg errors on > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-regmap > commit f2c5784f82792221990f708dff42a71a4a51b721 ("ALSA: hda - Use regmap for > amp accesses") >

€950,000.00 EURO

2015-03-11 Thread Qatar Foundation
Dear Beneficiary, You have been selected to receive €950,000.00 EURO as charity donations / aid of the Qatar Foundation. Reply back for more information. Yours sincerely, Engineer Saad Al Muhannadi. Reply to: qatarhari...@gmail.com President of the Qatar Foundation -- To unsubscribe from this

[PATCH/RESEND] irqchip: gic: Don't complain in gic_get_cpumask() if UP system

2015-03-11 Thread Stephen Boyd
In a uniprocessor implementation the interrupt processor targets registers are read-as-zero/write-ignored (RAZ/WI). Unfortunately gic_get_cpumask() will print a critical message saying GIC CPU mask not found - kernel will fail to boot. if these registers all read as zero, but there won't actuall

Re: [PATCH 41/45] include/uapi/sound/emu10k1.h: hide gpr_valid, tram_valid and code_valid in userspace

2015-03-11 Thread Takashi Iwai
At Wed, 11 Mar 2015 10:46:29 +0100, Arnd Bergmann wrote: > > On Wednesday 11 March 2015 07:11:18 Takashi Iwai wrote: > > At Wed, 11 Mar 2015 03:22:04 +0200, > > Mikko Rapeli wrote: > > > > > > On Tue, Feb 17, 2015 at 07:27:38AM +0100, Takashi Iwai wrote: > > > > At Tue, 17 Feb 2015 00:05:44 +0100

Re: [PATCH 9/15] clk: don't export static symbol

2015-03-11 Thread Stephen Boyd
On 03/11, Julia Lawall wrote: > From: Julia Lawall > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) > > // > @r@ > type T; > identifier f; > @@ > > static T f (...) { ... } > > @@ > identifier r.f; > declarer name EXPORT_SYMBOL_GPL; > @@ > > -EXPOR

[Patch v2 3/3] dt: OF_UNITTEST make dependency broken, fix unittest.c after move

2015-03-11 Thread Frank Rowand
From: Frank Rowand Fix an of_unittest.c include path to account for the move of unittest.c into unittest-data/. Signed-off-by: Frank Rowand --- drivers/of/unittest-data/unittest.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/of/unittest-data/unittest.c ==

[Patch v2 2/3] dt: OF_UNITTEST make dependency broken, move unittest.c

2015-03-11 Thread Frank Rowand
From: Frank Rowand Move of_unittest.c into unittest-data/ This is based on v4.0-rc3. All checkpatch errors are ignored, as this is just a file move. At least two of the checkpatch errors appear to be real bugs, to be addressed in a future patch. Signed-off-by: Frank Rowand --- drivers/of/u

RE: [E1000-devel] [PATCH v3] ixgbe: make VLAN filter conditional

2015-03-11 Thread Hiroshi Shimamoto
> On 03/10/2015 05:59 PM, Hiroshi Shimamoto wrote: > > From: Hiroshi Shimamoto > > > > Disable hardware VLAN filtering if netdev->features VLAN flag is dropped. > > > > In SR-IOV case, there is a use case which needs to disable VLAN filter. > > For example, we need to make a network function with

[Patch v2 1/3] dt: OF_UNITTEST make dependency broken, framework fixes

2015-03-11 Thread Frank Rowand
From: Frank Rowand This 3 patch series is not bisectable. If CONFIG_OF_UNITTEST=y then the kernel will not build with just patch 1 or just patches 1 and 2 applied. If CONFIG_OF_UNITTEST=y then a kernel image make will always cause .version to be incremented, even if there are not source changes

[PATCH] trace: don't use __weak in header files

2015-03-11 Thread Stephen Rothwell
The commit that added a check for this to checkpatch says: "Using weak declarations can have unintended link defects. The __weak on the declaration causes non-weak definitions to become weak." In this case, when a PowerPC kernel is built with CONFIG_KPROBE_EVENT but not CONFIG_UPROBE_EVENT, it g

[PATCH net] virtio-net: correctly delete napi hash

2015-03-11 Thread Jason Wang
We don't delete napi from hash list during module exit. This will cause the following panic when doing module load and unload: BUG: unable to handle kernel paging request at 004e0075 IP: [] napi_hash_add+0x6b/0xf0 PGD 3c5d5067 PUD 0 Oops: [#1] SMP ... Call Trace: [] init_vqs+0x107/0x4

Re: [PATCH 02/12] clocksource: Simplify logic around clocksource wrapping safety margins

2015-03-11 Thread Ingo Molnar
* John Stultz wrote: > The clocksource logic has a number of places where we try to > include a safety margin. Most of these are 12% safety margins, > but they are inconsistently applied and sometimes are applied > on top of each other. > > Additionally, in the previous patch, we corrected an i

linux-next: Tree for Mar 12

2015-03-11 Thread Stephen Rothwell
Hi all, Changes since 20150311: New tree: extcon The sound-asoc tree still had its build failure so I used the version from next-20150306. Non-merge commits (relative to Linus' tree): 3727 3627 files changed, 144763 insertions(+), 78727 dele

[Patch 3/3] dt: OF_UNITTEST make dependency broken, fix unittest.c after move

2015-03-11 Thread Frank Rowand
From: Frank Rowand Fix an of_unittest.c include path to account for the move of unittest.c into unittest-data/. Signed-off-by: Frank Rowand --- drivers/of/unittest-data/unittest.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: b/drivers/of/unittest-data/unittest.c ==

Re: [PATCH v1 1/2] x86: kconfig: remove X86_UP_IOAPIC

2015-03-11 Thread David Rientjes
On Wed, 11 Mar 2015, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > X86_UP_IOAPIC is a way so that 32-bit UP systems can enable > X86_IOAPIC. X86_UP_IOAPIC is only as a visible user option if > you are on a 32-bit system but have X86_UP_APIC enabled. X86_UP_APIC > will be enabled by fo

[Patch 2/3] dt: OF_UNITTEST make dependency broken, move unittest.c

2015-03-11 Thread Frank Rowand
From: Frank Rowand Move of_unittest.c into unittest-data/ This is based on v4.0-rc3. All checkpatch errors are ignored, as this is just a file move. At least two of the checkpatch errors appear to be real bugs, to be addressed in a future patch. Signed-off-by: Frank Rowand --- drivers/of/u

[Patch 1/3] dt: OF_UNITTEST make dependency broken, framework fixes

2015-03-11 Thread Frank Rowand
From: Frank Rowand This 3 patch series is not bisectable. If CONFIG_OF_UNITTEST=y then the kernel will not build with just patch 1 or just patches 1 and 2 applied. If CONFIG_OF_UNITTEST=y then a kernel image make will always cause .version to be incremented, even if there are not source changes

Re: [PATCH] phy: exynos-mipi-video: Fix unbalanced lock on non-regmap path

2015-03-11 Thread Kishon Vijay Abraham I
On Wednesday 11 March 2015 05:36 AM, Axel Lin wrote: Remove the second lock on non-regmap path. Fixes: 278270e39efa (phy: exynos-mipi-video: Use spin_lock to protct state->regmap rmw operations) Reported-by: Julia Lawall Signed-off-by: Axel Lin merged after squashing it with the original

Re: [PATCH 18/22] usb: gadget: serial: %pF is only for function pointers

2015-03-11 Thread Scott Wood
On Wed, 2015-03-11 at 23:45 -0500, Felipe Balbi wrote: > On Wed, Mar 11, 2015 at 10:13:53PM -0500, Scott Wood wrote: > > Use %pS for actual addresses, otherwise you'll get bad output > > on arches like ppc64 where %pF expects a function descriptor. > > > > Signed-off-by: Scott Wood > > Cc: linux-

Re: [PATCH 0/6] new zram statistics reporting scheme

2015-03-11 Thread Sergey Senozhatsky
On (03/12/15 14:11), Minchan Kim wrote: > I think we don't need CONFIG_ZRAM_OLD_STATS. > For example, for mem_used_max, we could add pr_warn_once in > *mem_used_max_show* but not *mem_used_max_store*. so, old users will see > deprecated message when they try to *read* the vaule old stat while they

[RFC PATCH] PCI: Disable MSI/MSI-X only if device is shutdown

2015-03-11 Thread Fam Zheng
If the device doesn't support shutdown, disabling interrupts may cause trouble. For example, virtio-scsi-pci doesn't implement shutdown, and after we disable MSI-X, futher notifications from device will be delivered to IRQ, which is unexpected. This IRQ will not be cleared, and may prevent us from

Re: [PATCH v10 16/21] irqchip: Add GICv2 specific ACPI boot support

2015-03-11 Thread Jason Cooper
On Thu, Mar 12, 2015 at 09:46:39AM +0800, Hanjun Guo wrote: > On 2015/3/12 7:11, Jason Cooper wrote: > > Hey Grant, > > > > On Wed, Mar 11, 2015 at 06:04:50PM +, Grant Likely wrote: > >> On 11 Mar 2015 12:42, "Hanjun Guo" wrote: > >>> From: Tomasz Nowicki > >>> > >>> ACPI kernel uses MADT tab

Re: [PATCH] mm/memory hotplog: postpone the reset of obsolete pgdat

2015-03-11 Thread David Rientjes
On Thu, 12 Mar 2015, Gu Zheng wrote: > Qiu Xishi reported the following BUG when testing hot-add/hot-remove node > under > stress condition. > [ 1422.011064] BUG: unable to handle kernel paging request at 00025f60 > [ 1422.011086] IP: [] next_online_pgdat+0x1/0x50 > [ 1422.011178] PGD 0 >

Re: [PATCH 0/6] new zram statistics reporting scheme

2015-03-11 Thread Minchan Kim
On Thu, Mar 12, 2015 at 11:16:09AM +0900, Sergey Senozhatsky wrote: > On (03/12/15 10:55), Minchan Kim wrote: > > I really appreciate you enhance stat functions, esp, working with iostat! > > thanks! my pleasure. > > > One thing I want to discuss is sometime we could remove RO fields > > in /sys/

Re: [PATCH 0/6] new zram statistics reporting scheme

2015-03-11 Thread Sergey Senozhatsky
On (03/12/15 11:16), Sergey Senozhatsky wrote: > > cat /sys/block/zram/mem_used_max > > cat /sys/block/zram/mm_stat | awk friend > > > > How about changing only writeable, not readable for duplicated stats > > in /sys/block/zram? So, user will have writeable stat to set some > > op

Re: [alsa-devel] [PATCH] ASoC: wm8994: Manage wm8994's MCLK in codec driver

2015-03-11 Thread Inha Song
Hi, Chanwoo, Thanks for your comments. On Thu, 12 Mar 2015 13:33:49 +0900 Chanwoo Choi wrote: > Hi Inha, > > On 03/12/2015 11:49 AM, Inha Song wrote: > > Previously, When we use wm8994 codec, we should control its MCLK in machine > > driver. > > But, It should be managed by wm8994 codec drive

[PATCH 2/4] workqueue: split apply_workqueue_attrs() into 3 stages

2015-03-11 Thread Lai Jiangshan
Current apply_workqueue_attrs() includes pwqs-allocation and pwqs-installation, so when we batch multiple apply_workqueue_attrs()s as a transaction, we can't ensure the transaction must succeed or fail as a complete unit. To solve this, we split apply_workqueue_attrs() into three stages. The first

[PATCH 3/4] workqueue: Create low-level unbound workqueues cpumask

2015-03-11 Thread Lai Jiangshan
From: Frederic Weisbecker Create a cpumask that limit the affinity of all unbound workqueues. This cpumask is controlled though a file at the root of the workqueue sysfs directory. It works on a lower-level than the per WQ_SYSFS workqueues cpumask files such that the effective cpumask applied fo

[PATCH 4/4] workqueue: Allow modifying low level unbound workqueue cpumask

2015-03-11 Thread Lai Jiangshan
Allow to modify the low-level unbound workqueues cpumask through sysfs. This is performed by traversing the entire workqueue list and calling wq_unbound_install_ctx_prepare() on the unbound workqueues with the low level mask passed in. Only after all the preparation are done, we commit them all tog

[PATCH 1/4] workqueue: Reorder sysfs code

2015-03-11 Thread Lai Jiangshan
From: Frederic Weisbecker The sysfs code usually belongs to the botom of the file since it deals with high level objects. In the workqueue code it's misplaced and such that we'll need to work around functions references to allow the sysfs code to call APIs like apply_workqueue_attrs(). Lets move

[PATCH 0/4] workqueue: Introduce low-level unbound wq sysfs cpumask v4

2015-03-11 Thread Lai Jiangshan
This patchset mostly copies from Frederic and split the apply_workqueue_attrs() as TJ's suggest. This patchset doesn't include the patch "workqueue: Allow changing attributions of ordered workqueues", I hope to reduce the review processing. The handling for the ordered workqueue will be repose aft

[PATCH v4] x86: Fix sibling map with NumaChip

2015-03-11 Thread Daniel J Blueman
On NumaChip systems, the physical processor ID assignment wasn't accounting for the number of nodes in AMD multi-module processors, giving an incorrect sibling map: $ cd /sys/devices/system/cpu/cpu29/topology $ grep . * core_id:5 core_siblings:,ff00 core_siblings_list:24-31 physical_pa

RE: [PATCH V2 2/3 net-next] Drivers: hv: vmbus: Fix a bug in the signalling logic with kick_q

2015-03-11 Thread KY Srinivasan
> -Original Message- > From: devel [mailto:driverdev-devel-boun...@linuxdriverproject.org] On > Behalf Of KY Srinivasan > Sent: Wednesday, March 11, 2015 8:32 PM > To: Jason Wang > Cc: o...@aepfle.de; net...@vger.kernel.org; linux-kernel@vger.kernel.org; > gre...@linuxfoundation.org; a...

Re: [PATCH 18/22] usb: gadget: serial: %pF is only for function pointers

2015-03-11 Thread Felipe Balbi
On Wed, Mar 11, 2015 at 10:13:53PM -0500, Scott Wood wrote: > Use %pS for actual addresses, otherwise you'll get bad output > on arches like ppc64 where %pF expects a function descriptor. > > Signed-off-by: Scott Wood > Cc: linux-...@vger.kernel.org > Cc: Felipe Balbi > --- > drivers/usb/gadget

Re: [PATCH v2 0/3] btrfs: ENOMEM bugfixes

2015-03-11 Thread Omar Sandoval
On Tue, Feb 24, 2015 at 02:47:03AM -0800, Omar Sandoval wrote: > Hi, everyone, > > This patch series fixes a few bugs that occur under low memory conditions. > These were exposed by a change in behavior of GFP_NOFS allocations in > 3.19-rc7, > by commit 9879de7373fc ("mm: page_alloc: embed OOM ki

Re: [alsa-devel] [PATCH] ASoC: wm8994: Manage wm8994's MCLK in codec driver

2015-03-11 Thread Chanwoo Choi
Hi Inha, On 03/12/2015 11:49 AM, Inha Song wrote: > Previously, When we use wm8994 codec, we should control its MCLK in machine > driver. > But, It should be managed by wm8994 codec driver, not machine driver. > > This patch add MCLK clock DT parsing logic and control own MCLK. > > Signed-off-b

Re: [PATCH v2] rds: avoid potential stack overflow

2015-03-11 Thread David Miller
From: Arnd Bergmann Date: Wed, 11 Mar 2015 22:46:59 +0100 > The rds_iw_update_cm_id function stores a large 'struct rds_sock' object > on the stack in order to pass a pair of addresses. This happens to just > fit withint the 1024 byte stack size warning limit on x86, but just > exceed that limit

Re: [rhashtable] [ INFO: possible recursive locking detected ]

2015-03-11 Thread David Miller
From: Herbert Xu Date: Thu, 12 Mar 2015 14:47:13 +1100 > rhashtable: Add annotation to nested lock > > Commit aa34a6cb0478842452bac58edb50d3ef9e178c92 ("rhashtable: > Add arbitrary rehash function") killed the annotation on the > nested lock which leads to bitching from lockdep. > > Rep

[PATCH 00/12] Increased clocksource validation and cleanups (v4)

2015-03-11 Thread John Stultz
So here is another round of this series, which is the result of earlier discussions with Linus and his suggestions around improvements to clocksource validation in the hope we can more easily catch bad hardware. There's also a few cleanups Linus suggested as well as a few I've been meaning to get

[PATCH 05/12] time: Add infrastructure to cap clocksource reads to the max_cycles value

2015-03-11 Thread John Stultz
When calculating the current delta since the last tick, we currently have no hard protections to prevent a multiplication overflow from occurring. This patch introduces infrastructure to allow a cap that limits the read delta value to the max_cycles value, which is where an overflow would occur.

[PATCH 07/12] time: Add warnings when overflows or underflows are observed

2015-03-11 Thread John Stultz
It was suggested that the underflow/overflow protection should probably throw some sort of warning out, rather then just silently fixing the issue. So this patch adds some warnings here. The flag variables used are not protected by locks, but since we can't print from the reading functions, just b

[PATCH 01/12] clocksource: Simplify clocks_calc_max_nsecs logic

2015-03-11 Thread John Stultz
The previous clocks_calc_max_nsecs had some unecessarily complex bit logic to find the max interval that could cause multiplication overflows. Since this is not in the hot path, just do the divide to make it easier to read. The previous implementation also had a subtle issue that it avoided overfl

RE: [PATCH RFC] f2fs: add fast symlink

2015-03-11 Thread Chao Yu
Hi Wanpeng, > -Original Message- > From: Wanpeng Li [mailto:wanpeng...@linux.intel.com] > Sent: Wednesday, March 11, 2015 7:52 PM > To: Jaegeuk Kim > Cc: Changman Lee; Chao Yu; linux-f2fs-de...@lists.sourceforge.net; > linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; Wanpeng Li

[PATCH 10/12] sparc: Convert to using clocksource_register_hz()

2015-03-11 Thread John Stultz
While cleaning up some clocksource code, I noticed the time_32 implementation uses the clocksource_hz2mult() helper, but doesn't use the clocksource_register_hz() method. I don't believe the Sparc clocksource is a default clocksource, so we shouldn't need to self-define the mult/shift pair. So co

[PATCH 08/12] clocksource: Improve clocksource watchdog reporting

2015-03-11 Thread John Stultz
The clocksource watchdog reporting has been less helpful then desired, as it just printed the delta between the two clocksources. This prevents any useful analysis of why the skew occurred. Thus this patch tries to improve the output when we mark a clocksource as unstable, printing out the cycle l

[PATCH 02/12] clocksource: Simplify logic around clocksource wrapping safety margins

2015-03-11 Thread John Stultz
The clocksource logic has a number of places where we try to include a safety margin. Most of these are 12% safety margins, but they are inconsistently applied and sometimes are applied on top of each other. Additionally, in the previous patch, we corrected an issue where we unintentionally in eff

[PATCH 11/12] clocksource: Add some debug info about clocksources being registered

2015-03-11 Thread John Stultz
Print the mask, max_cycles, and max_idle_ns values for clocksources being registered. Cc: Dave Jones Cc: Linus Torvalds Cc: Thomas Gleixner Cc: Richard Cochran Cc: Prarit Bhargava Cc: Stephen Boyd Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: John Stultz --- kernel/time/clocksource.c

[PATCH 06/12] time: Try to catch clocksource delta underflows

2015-03-11 Thread John Stultz
In the case where there is a broken clocksource where there are multiple actual clocks that aren't perfectly aligned, we may see small "negative" deltas when we subtract 'now' from 'cycle_last'. The values are actually negative with respect to the clocksource mask value, not necessarily negative i

[PATCH 09/12] clocksource: Mostly kill clocksource_register()

2015-03-11 Thread John Stultz
A long running project has been to cleanup remaining uses of clocksource_register(), replacing it with the simpler clocksource_register_khz/hz() functions. However, there are a few cases where we need to self-define our mult/shift values, so switch the function to a more obviously internal __clock

[PATCH 03/12] clocksource: Add max_cycles to clocksource structure

2015-03-11 Thread John Stultz
In order to facilitate some clocksource validation, add a max_cycles entry to the structure which will hold the maximum cycle value that can safely be multiplied without potentially causing an overflow. Cc: Dave Jones Cc: Linus Torvalds Cc: Thomas Gleixner Cc: Richard Cochran Cc: Prarit Bharga

[PATCH 12/12] clocksource: Rename __clocksource_updatefreq_* to __clocksource_update_freq_*

2015-03-11 Thread John Stultz
Ingo requested this function be renamed to improve readability, so I've renamed __clocksource_updatefreq_scale() as well as the __clocksource_updatefreq_hz/khz() functions to avoid squishedtogethernames. This touches some of the sh clocksources, which I've not tested. The arch/arm/plat-omap chang

[PATCH 04/12] time: Add debugging checks to warn if we see delays

2015-03-11 Thread John Stultz
Recently there's been some request for better sanity checking in the time code, so that its more clear when something is going wrong since timekeeping issues could manifest in a large number of strange ways with various subsystems. Thus, this patch adds some extra infrastructure to add a check upd

[PATCH] staging: fsl-mc: Corrected email addresses in TODO file

2015-03-11 Thread J. German Rivera
Signed-off-by: J. German Rivera --- drivers/staging/fsl-mc/TODO | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fsl-mc/TODO b/drivers/staging/fsl-mc/TODO index 49ebfd9..d78288b 100644 --- a/drivers/staging/fsl-mc/TODO +++ b/drivers/staging/fsl-mc/TODO @@ -

Re: [PATCH v4] HID: multitouch: Add support for button type usage

2015-03-11 Thread Jiri Kosina
On Wed, 11 Mar 2015, Benjamin Tissoires wrote: > On Mar 11 2015 or thereabouts, Seth Forshee wrote: > > According to [1], Windows Precision Touchpad devices must supply > > a button type usage in the device capabilities feature report. A > > value of 0 indicates that the device contains a depressi

Re: [PATCH 3/15] net/mlx5_core: don't export static symbol

2015-03-11 Thread David Miller
From: Julia Lawall Date: Wed, 11 Mar 2015 17:56:25 +0100 > From: Julia Lawall > > The semantic patch that fixes this problem is as follows: > (http://coccinelle.lip6.fr/) ... > Signed-off-by: Julia Lawall Applied, thank you Julia. -- To unsubscribe from this list: send the line "unsubscribe

[PATCH] kobject: WARN as tip when call kobject_get() to a kobject not initialized

2015-03-11 Thread Ethan Zhao
call kobject_get() to kojbect that is not initalized or released will only leave following like call trace to us: ---[ cut here ] [ 54.545816] WARNING: CPU: 0 PID: 213 at include/linux/kref.h:47 kobject_get+0x41/0x50() [ 54.642595] Modules linked in: i2c_i801(+) mfd_core sh

[ALSA] f2c5784f827: snd_hda_codec_hdmi hdaudioC1D0: Unable to sync register 0x4f0009. -5

2015-03-11 Thread Fengguang Wu
Hi Takashi, We noticed the below dmesg errors on git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-regmap commit f2c5784f82792221990f708dff42a71a4a51b721 ("ALSA: hda - Use regmap for amp accesses") <6>[ 17.709789] snd_hda_intel :02:00.1: Disabling MSI <6>[ 17.71011

[PATCH 5/7] dm: add full blk-mq support to request-based DM

2015-03-11 Thread Mike Snitzer
Commit e5863d9ad ("dm: allocate requests in target when stacking on blk-mq devices") served as the first step toward fully utilizing blk-mq in request-based DM -- it enabled stacking a old-style (request_fn) request_queue ontop of the underlying blk-mq device(s). This first step didn't improve per

[PATCH 0/7] dm: add full blk-mq support to request-based DM

2015-03-11 Thread Mike Snitzer
This patchset updates request-based DM (used exclussively by DM multipath) to support blk-mq I/O path or the old ->request_fn I/O path -- the default is still the old ->request_fn I/O path. Like was done for SCSI, I've exposed a dm-mod.ko 'use_blk_mq' module parameter and a CONFIG_DM_MQ_DEFAULT.

[PATCH 6/7] dm: optimize dm_mq_queue_rq to _not_ use kthread if using pure blk-mq

2015-03-11 Thread Mike Snitzer
dm_mq_queue_rq() is in atomic context so care must be taken to not sleep -- as such GFP_ATOMIC is used for the md->bs bioset allocations and dm-mpath's call to blk_get_request(). In the future the bioset allocations will hopefully go away (by removing support for partial completions of a request).

[PATCH 3/7] blk-mq: export blk_mq_run_hw_queues

2015-03-11 Thread Mike Snitzer
Rename blk_mq_run_queues to blk_mq_run_hw_queues, add async argument, and export it. DM's suspend support must be able to run the queue without starting stopped hw queues. Signed-off-by: Mike Snitzer --- block/blk-mq.c | 8 include/linux/blk-mq.h | 1 + 2 files changed, 5 inser

[PATCH 4/7] blk-mq: don't wait in blk_mq_queue_enter() if __GFP_WAIT isn't set

2015-03-11 Thread Mike Snitzer
From: Keith Busch Return -EBUSY if we're unable to enter a queue immediately when allocating a blk-mq request without __GFP_WAIT. Signed-off-by: Keith Busch Signed-off-by: Mike Snitzer --- block/blk-mq.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/block/blk-mq

[PATCH 7/7] dm: add 'use_blk_mq' module param and expose in per-device ro sysfs attr

2015-03-11 Thread Mike Snitzer
Request-based DM's blk-mq support defaults to off; but a user can easily change the default using the dm_mod.use_blk_mq module/boot option. Also, you can check what mode a given request-based DM device is using with: cat /sys/block/dm-X/dm/use_blk_mq This change enabled further cleanup and reduce

[PATCH 2/7] blk-mq: add blk_mq_init_allocated_queue and export blk_mq_register_disk

2015-03-11 Thread Mike Snitzer
Add a variant of blk_mq_init_queue that allows a previously allocated queue to be initialized. blk_mq_init_allocated_queue models blk_init_allocated_queue -- which was also created for DM's use. DM's approach to device creation requires a placeholder request_queue be allocated for use with alloc_

[PATCH 1/7] blk-mq: fix use of incorrect goto label in blk_mq_init_queue error path

2015-03-11 Thread Mike Snitzer
If percpu_ref_init() fails the 'err_hctxs' label should be used instead of 'err_map'. Signed-off-by: Mike Snitzer --- block/blk-mq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 4f4bea2..459840c 100644 --- a/block/blk-mq.c +++ b/block/

[PATCH] mm/memory hotplog: postpone the reset of obsolete pgdat

2015-03-11 Thread Gu Zheng
Qiu Xishi reported the following BUG when testing hot-add/hot-remove node under stress condition. [ 1422.011064] BUG: unable to handle kernel paging request at 00025f60 [ 1422.011086] IP: [] next_online_pgdat+0x1/0x50 [ 1422.011178] PGD 0 [ 1422.011180] Oops: [#1] SMP [ 1422.011409] AC

Re: linux-next: Tree for Mar 11 (powerpc build failure due to vmx crypto code)

2015-03-11 Thread Herbert Xu
On Wed, Mar 11, 2015 at 08:51:32PM -0700, Guenter Roeck wrote: > > Yes, this helps. > > Feel free to add > > Tested-by: Guenter Roeck Thanks for testing and the quick feedback. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pu

Re: [PATCH v6 09/30] PCI: Separate pci_host_bridge creation out of pci_create_root_bus()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:06AM +0800, Yijing Wang wrote: > This patch separate pci_host_bridge creation out > of pci_create_root_bus(), and try to make a generic > pci_host_bridge, then we could place generic PCI > infos like domain number in it. Also Ripping out > pci_host_bridge creation from

Re: linux-next: Tree for Mar 11 (powerpc build failure due to vmx crypto code)

2015-03-11 Thread Guenter Roeck
On 03/11/2015 08:28 PM, Herbert Xu wrote: On Wed, Mar 11, 2015 at 07:43:22PM -0700, Guenter Roeck wrote: It looks like the perl scripts do run - I see the .S files, and I do see .o files created. But I still get the error. Looking into the object files, I see $ nm vmx-crypto.o | grep aes_p8_

Re: [PATCH v6 30/30] PCI: Remove pci_bus_assign_domain_nr()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:27AM +0800, Yijing Wang wrote: > Now we save the domain number in pci_host_bridge, > we could remove pci_bus_assign_domain_nr() and > clean the domain member in pci_bus. > > Signed-off-by: Yijing Wang > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/pci.c |

Re: [rhashtable] [ INFO: possible recursive locking detected ]

2015-03-11 Thread Herbert Xu
On Wed, Mar 11, 2015 at 11:41:56PM -0400, David Miller wrote: > From: Herbert Xu > Date: Thu, 12 Mar 2015 14:37:45 +1100 > > > rhashtable: Add annotation to nested lock > > > > Commit aa34a6cb0478842452bac58edb50d3ef9e178c92 ("rhashtable: > > Add arbitrary rehash function") killed the annota

Re: [PATCH v4 2/2] cgroups: add a pids subsystem

2015-03-11 Thread Tejun Heo
On Wed, Mar 11, 2015 at 11:13:48AM -0400, Austin S Hemmelgarn wrote: > I did not necessarily word this very clearly. What I meant is that > /proc/sys/kernel/pid_max is essentially an external limiting factor that > caps the total number of pids that can be under the root cgroup and it's > children

[PATCH kernel] vfio-pci: Add missing break to enable VFIO_PCI_ERR_IRQ_INDEX

2015-03-11 Thread Alexey Kardashevskiy
This adds a missing break statement to VFIO_DEVICE_SET_IRQS handler without which vfio_pci_set_err_trigger() would never be called. While we are here, add another "break" to VFIO_PCI_REQ_IRQ_INDEX case so if we add more indexes later, we won't miss it. Signed-off-by: Alexey Kardashevskiy --- dr

Re: [PATCH v6 28/30] PCI: Export find_pci_host_bridge() and rename to pci_find_host_bridge()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:25AM +0800, Yijing Wang wrote: > Signed-off-by: Yijing Wang > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/host-bridge.c |6 +++--- > drivers/pci/pci.h |2 ++ > 2 files changed, 5 insertions(+), 3 deletions(-) > > diff --git a/drivers/pci/host-b

Re: [PATCH v2] clk: qcom: Properly change rates for ahbix clock

2015-03-11 Thread Kenneth Westfield
On Fri, Mar 06, 2015 at 03:41:53PM -0800, Stephen Boyd wrote: > The ahbix clock can never be turned off in practice. To change the > rates we need to switch the mux off the M/N counter to an always on > source (XO), reprogram the M/N counter to get the rate we want and > finally switch back to the

Re: [rhashtable] [ INFO: possible recursive locking detected ]

2015-03-11 Thread David Miller
From: Herbert Xu Date: Thu, 12 Mar 2015 14:37:45 +1100 > rhashtable: Add annotation to nested lock > > Commit aa34a6cb0478842452bac58edb50d3ef9e178c92 ("rhashtable: > Add arbitrary rehash function") killed the annotation on the > nested lock which leads to bitching from lockdep. > > Rep

Re: [rhashtable] [ INFO: possible recursive locking detected ]

2015-03-11 Thread Herbert Xu
On Thu, Mar 12, 2015 at 11:29:24AM +0800, Fengguang Wu wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next.git master > > commit aa34a6cb0478842452bac58edb50d3ef9e178c92 > Author:

Re: [PATCH v6 21/30] PCI: Introduce pci_bus_child_max_busnr()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:18AM +0800, Yijing Wang wrote: > Sometimes, we need to know the highest reserved > busnr for children bus. Because parent's > bus->busn_res could have padding in it. > This function return the max child busnr as > pci_scan_child_bus(). > > Signed-off-by: Yijing Wang

RE: [PATCH V2 3/3 net-next] hyperv: Support batched notification

2015-03-11 Thread KY Srinivasan
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Wednesday, March 11, 2015 8:09 PM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; gre...

[PATCH 15/22] drm: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/drm_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/

RE: [PATCH V2 2/3 net-next] Drivers: hv: vmbus: Fix a bug in the signalling logic with kick_q

2015-03-11 Thread KY Srinivasan
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Wednesday, March 11, 2015 8:08 PM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; gre...

[PATCH 01/22] mm/memblock.c: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: linux...@kvack.org --- mm/memblock.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mm/memblock.c b/mm/membl

Re: [PATCH v6 21/30] PCI: Introduce pci_bus_child_max_busnr()

2015-03-11 Thread Bjorn Helgaas
On Mon, Mar 09, 2015 at 10:34:18AM +0800, Yijing Wang wrote: > Sometimes, we need to know the highest reserved > busnr for children bus. Because parent's > bus->busn_res could have padding in it. > This function return the max child busnr as > pci_scan_child_bus(). I'm not convinced about this one

[PATCH 16/22] mfd: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood Cc: Samuel Ortiz Cc: Lee Jones --- drivers/mfd/mc13xxx-core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/

[BUG] perf report: ordered events and flushing bug

2015-03-11 Thread Stephane Eranian
Hi, I am working on the JIT support to improve the flow and have perf record inject the MMAPs at the end of the collection. For that I piggyback on the buildid pass. To avoid rewriting the entire perf.data file, I simply append the the MMAP records at the end of the file. And that puts them out-of

[PATCH 14/22] parisc: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: linux-par...@vger.kernel.org --- drivers/parisc/superio.c |

[PATCH 11/22] powerpc/32: %pF is only for function pointers

2015-03-11 Thread Scott Wood
Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Even on other architectures, refrain from setting a bad example that people copy. Signed-off-by: Scott Wood Cc: linuxppc-...@lists.ozlabs.org --- arch/powerpc/mm/pgtable_3

  1   2   3   4   5   6   7   8   9   10   >