Re: [PATCH tip/core/rcu 11/15] rcu: Avoid spurious RCU CPU stall warnings

2012-09-06 Thread Steven Rostedt
On Thu, 2012-09-06 at 16:56 +0200, Peter Zijlstra wrote: > On Thu, 2012-08-30 at 11:56 -0700, Paul E. McKenney wrote: > > > > If a given CPU avoids the idle loop but also avoids starting a new > > RCU grace period for a full minute, RCU can issue spurious RCU CPU > > stall warnings. This commit f

Re: [PATCH] x86, 32-bit: Fix invalid stack address while in softirq

2012-09-06 Thread Robert Richter
On 06.09.12 09:14:42, Steven Rostedt wrote: > On Thu, 2012-09-06 at 12:04 +0200, Robert Richter wrote: > > > please take a look at this. Not sure if Linus want to look at this too > > and if we need more optimization here. > > It could probably go either way. Although the function has several > l

Re: [RFC PATCH 2/5] arm: omap: remove ocp2scp_usb_phy_ick clock node

2012-09-06 Thread ABRAHAM, KISHON VIJAY
Hi, On Wed, May 30, 2012 at 4:26 PM, Kishon Vijay Abraham I wrote: > "ocp2scp_usb_phy_ick" clock node was a fake clock node created > to control MODULEMODE of ocp2scp. Since the hwmod for ocp2scp is now added > (which can be used to control MODULEMODE) this clock node is removed. > > Cc: Benoit C

Re: [PATCH] arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp

2012-09-06 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Jul 2, 2012 at 2:25 PM, Kishon Vijay Abraham I wrote: > Made *ocp2scp_usb_phy_phy_48m* as the main_clk for ocp2scp. > Since this ocp2scp module does not have any fck but does have a > single opt_clock, it is added as the main_clk for ocp2scp. Also > removed phy_48m as the optional clo

[PATCH 3/3] usb: musb: omap: Add device tree support for omap musb glue

2012-09-06 Thread Kishon Vijay Abraham I
Added device tree support for omap musb driver and updated the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/usb/omap-usb.txt | 33 drivers/usb/musb/omap2430.c| 54 +

[PATCH 0/5] usb: phy/otg: add dt support

2012-09-06 Thread Kishon Vijay Abraham I
This patch series adds device tree support for phy's (twl4030 and twl6030). A new omap-usb2 phy driver has been added (with only dt suppport) to perform phy configurations. Previously this configuration was performed by twl6030, using pdata function pointers. With the addition of omap-usb2 to per

[PATCH 4/5] drivers: usb: twl4030: Add device tree support for twl4030 usb

2012-09-06 Thread Kishon Vijay Abraham I
Add device tree support for twl4030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 19 ++ drivers/usb/otg/twl4030-usb.c | 26 +++

[PATCH 1/3] arm: omap: hwmod: add a new addr space in otg for writing to control module

2012-09-06 Thread Kishon Vijay Abraham I
The mailbox register for usb otg in omap is present in control module. On detection of any events VBUS or ID, this register should be written to send the notification to musb core. Till we have a separate control module driver to write to control module, omap2430 will handle the register writes to

[PATCH 5/5] arm: omap: phy: remove unused functions from omap-phy-internal.c

2012-09-06 Thread Kishon Vijay Abraham I
All the unnessary functions in omap-phy-internal is removed. These functionality are now handled by omap-usb2 phy driver. Cc: Felipe Balbi Signed-off-by: Kishon Vijay Abraham I Acked-by: Tony Lindgren --- arch/arm/mach-omap2/omap_phy_internal.c | 138 --- arch/arm/

[PATCH 1/5] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-06 Thread Kishon Vijay Abraham I
All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related functionality like srp. This also includes device tree support for usb2 phy driver and the documentation with device tree binding information is

[PATCH 2/5] drivers: usb: otg: make twl6030_usb as a comparator driver to omap_usb2

2012-09-06 Thread Kishon Vijay Abraham I
All the PHY configuration other than VBUS, ID GND and OTG SRP are removed from twl6030. The phy configurations are taken care by the dedicated usb2 phy driver. So twl6030 is made as comparator driver for VBUS and ID detection. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/Kconfig

[PATCH 3/5] drivers: usb: twl6030: Add dt support for twl6030 usb

2012-09-06 Thread Kishon Vijay Abraham I
Add device tree support for twl6030 usb driver. Update the Documentation with device tree binding information. Signed-off-by: Kishon Vijay Abraham I --- .../devicetree/bindings/usb/twl-usb.txt| 21 +++ drivers/usb/otg/twl6030-usb.c | 39 +-

Re: [PATCH tip/core/rcu 11/15] rcu: Avoid spurious RCU CPU stall warnings

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:56 -0700, Paul E. McKenney wrote: > > If a given CPU avoids the idle loop but also avoids starting a new > RCU grace period for a full minute, RCU can issue spurious RCU CPU > stall warnings. This commit fixes this issue by adding a check for > ongoing grace period to avo

[PATCH 2/3] usb: musb: omap: write directly to mailbox instead of using phy

2012-09-06 Thread Kishon Vijay Abraham I
The glue layer should directly write to mailbox register (present in control module) instead of calling phy layer to write to mailbox register. Writing to mailbox register notifies the core of events like device connect/disconnect. Currently writing to control module register is taken care in this

Re: [PATCH tip/core/rcu 10/15] rcu: Protect rcu_node accesses during CPU stall warnings

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:56 -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > The print_other_cpu_stall() function accesses a number of rcu_node > fields without protection from the ->lock. In theory, this is not > a problem because the fields accessed are all integers, but in > prac

[PATCH 1/2] ARM: tegra: fix return value for debugfs init

2012-09-06 Thread Peter De Schrijver
tegra_powergate_debugfs_init() always returns -ENOMEM. It shouldn't do that when registering the debugfs entry succeeded. Signed-off-by: Peter De Schrijver --- arch/arm/mach-tegra/powergate.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-tegra/powergate

[PATCH 2/2] ARM: tegra: fix debugfs entry for Tegra30

2012-09-06 Thread Peter De Schrijver
Tegra30 has more powerdomains than Tegra20. The debugfs code did not take this into account. Signed-off-by: Peter De Schrijver --- arch/arm/mach-tegra/powergate.c | 40 ++ 1 files changed, 35 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-tegra/po

[PATCH 0/3] omap: musb: Add device tree support

2012-09-06 Thread Kishon Vijay Abraham I
This patch series adds device tree support for MUSB. The glue layer is now made to write to mailbox register (present in control module) instead of calling phy layer to write to mailbox register. Writing to mailbox register notifies the core of events like device connect/disconnect. Previously th

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-06 Thread Josh Triplett
On Thu, Sep 06, 2012 at 03:53:58PM +0200, Sasha Levin wrote: > On 09/04/2012 07:01 PM, Mathieu Desnoyers wrote: > >> #define do_for_each_ftrace_rec(pg, rec) > >> \ > >> > for (pg = ftrace_pages_start, rec = &pg->records[pg->index]; > >> >

Re: [PATCH 04/10] net/macb: Fix a race in macb_start_xmit()

2012-09-06 Thread Nicolas Ferre
On 09/05/2012 11:30 PM, David Miller : > From: Nicolas Ferre > Date: Wed, 5 Sep 2012 10:19:11 +0200 > >> From: Havard Skinnemoen >> >> Fix a race in macb_start_xmit() where we unconditionally set the TSTART bit. >> If an underrun just happened (we do this with interrupts disabled, so it >> migh

Re: [RFC,PATCH v2] efi: Add support for a UEFI variable filesystem

2012-09-06 Thread Matt Fleming
On Thu, 2012-09-06 at 22:37 +0800, Jeremy Kerr wrote: > That's correct, but we can't use unlink to delete a secure variable, we > need to do a write instead, in order to provide the authentication > descriptor. Ah, duh. Thanks for clearing that up. -- To unsubscribe from this list: send the lin

[PATCH] HID: picoLCD: Remove use of deprecated function

2012-09-06 Thread Emil Goode
The flush_delayed_work_sync function is deprecated, we can instead call flush_delayed_work directly. Sparse is giving a warning: drivers/hid/hid-picolcd_fb.c:611:2: warning: ‘flush_delayed_work_sync’ is deprecated (declared at include/linux/workqueue.h:454) [-Wdeprecated-de

Re: [PATCH] Add feature-removal-schedule.txt removal to feature-removal-schedule.txt

2012-09-06 Thread Steven Rostedt
On Thu, 2012-09-06 at 22:29 +0800, Cong Wang wrote: > I don't think feature-removal-schedule.txt is for kernel users, it > is a kind of a TODO list for kernel developers. And this is exactly what Linus was complaining about. It shouldn't be used as a TODO list for developers. -- Steve -- To un

Re: [PATCH tip/core/rcu 03/15] rcu: Properly initialize ->boost_tasks on CPU offline

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:56 -0700, Paul E. McKenney wrote: > When rcu_preempt_offline_tasks() clears tasks from a leaf rcu_node > structure, it does not NULL out the structure's ->boost_tasks field. > This commit therefore fixes this issue. What would have been the side-effects of this? Would rcu

Re: snd-usb: "delay: estimated 0, actual 352"

2012-09-06 Thread Daniel Mack
On 06.09.2012 16:31, Takashi Iwai wrote: > At Thu, 6 Sep 2012 15:17:58 +0200, > Markus Trippelsdorf wrote: >> >> On 2012.09.06 at 15:08 +0200, Takashi Iwai wrote: >>> At Thu, 6 Sep 2012 11:43:48 +0200, >>> Markus Trippelsdorf wrote: On 2012.09.06 at 10:21 +0200, Takashi Iwai wrote: >

Re: [PATCH tip/core/rcu 01/15] rcu: Add PROVE_RCU_DELAY to provoke difficult races

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:56 -0700, Paul E. McKenney wrote: > +#ifdef CONFIG_PROVE_RCU_DELAY > + udelay(10); /* Make preemption more probable. */ cond_resched(); /* for extra fun? */ > +#endif /* #ifdef CONFIG_PROVE_RCU_DELAY */ -- To unsubscribe from this list: send

RE: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-06 Thread David Laight
> My solution to making 'break' work in the iterator is: > > for (bkt = 0, node = NULL; bkt < HASH_SIZE(name) && node == NULL; bkt++) > hlist_for_each_entry(obj, node, &name[bkt], member) I'd take a look at the generated code. Might come out a bit better if the condition is ch

Re: [PATCH tip/core/rcu 23/23] rcu: Simplify quiescent-state detection

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > The current quiescent-state detection algorithm is needlessly > complex. Heh! Be careful, we might be led into believing all this RCU is actually really rather simple and this complexity is a bug on your en

Re: [RFC,PATCH v2] efi: Add support for a UEFI variable filesystem

2012-09-06 Thread Jeremy Kerr
Hi Matt, I think this is the problematic chunk of code, static int efivars_unlink(struct inode *dir, struct dentry *dentry) { struct efivar_entry *var = dentry->d_inode->i_private; struct efivars *efivars = var->efivars; efi_status_t status; spin_lock(&efiva

[PATCH 2/2] serial: mxs-auart: put the device in mxs_auart_probe()

2012-09-06 Thread Huang Shijie
We call the get_device() in the mxs_auart_probe(). For the balance of the reference count, we should put the device in the mxs_auart_remove(). Signed-off-by: Huang Shijie --- drivers/tty/serial/mxs-auart.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/tty/seria

[PATCH 1/2] serial: mxs-auart: fix the wrong setting order

2012-09-06 Thread Huang Shijie
After set the AUART_CTRL0_CLKGATE, the UART will gate all the clocks off. So the following line will not take effect. writel(AUART_INTR_RXIEN | AUART_INTR_RTIEN | AUART_INTR_CTSMIEN, u->membase +

Re: [PATCH v2 09/10] net/macb: ethtool interface: add register dump feature

2012-09-06 Thread Ben Hutchings
On Thu, 2012-09-06 at 16:20 +0200, Nicolas Ferre wrote: > Add macb_get_regs() ethtool function and its helper function: > macb_get_regs_len(). > The version field is deduced from the IP revision which gives the > "MACB or GEM" information. An additional version field is reserved. > > Signed-off-by

Re: [PATCH] x86, efi: 1:1 pagetable mapping for virtual EFI calls

2012-09-06 Thread Jan Beulich
>>> On 06.09.12 at 15:15, Matt Fleming wrote: > From: Matt Fleming > > Some firmware still needs a 1:1 (virt->phys) mapping even after we've > called SetVirtualAddressMap(). So install the mapping alongside our > existing kernel mapping whenever we make EFI calls in virtual mode. > > This bug w

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-06 Thread Mathieu Desnoyers
* Sasha Levin (levinsasha...@gmail.com) wrote: > On 09/04/2012 07:01 PM, Mathieu Desnoyers wrote: > >> #define do_for_each_ftrace_rec(pg, rec) > >> \ > >> > for (pg = ftrace_pages_start, rec = &pg->records[pg->index]; > >> > \ > >> >

Re: drm/vmwgfx: add MODULE_DEVICE_TABLE so vmwgfx loads at boot

2012-09-06 Thread Jakob Bornecrantz
On Thu, Sep 6, 2012 at 3:35 PM, Tim Gardner wrote: > Dave - I couldn't find this patch in your git repo at > git://people.freedesktop.org/~airlied/linux in the drm-next or drm-fixes > branches. > > https://patchwork.kernel.org/patch/1379071/ > > It appears to fix a real problem for Mac users - > h

Re: snd-usb: "delay: estimated 0, actual 352"

2012-09-06 Thread Takashi Iwai
At Thu, 6 Sep 2012 15:17:58 +0200, Markus Trippelsdorf wrote: > > On 2012.09.06 at 15:08 +0200, Takashi Iwai wrote: > > At Thu, 6 Sep 2012 11:43:48 +0200, > > Markus Trippelsdorf wrote: > > > > > > On 2012.09.06 at 10:21 +0200, Takashi Iwai wrote: > > > > At Thu, 06 Sep 2012 09:35:26 +0200, > > >

Re: [RFC,PATCH v2] efi: Add support for a UEFI variable filesystem

2012-09-06 Thread Matt Fleming
(Cc'ing Peter Jones who wrote a auth deletion patch for efivars) On Thu, 2012-09-06 at 22:23 +0800, Jeremy Kerr wrote: > Hi Matt, > > > Am I correct in thinking that this filesystem doesn't handle deletion of > > authenticated variables? > > Unless I'm missing something, this should work fine; w

Re: [PATCH tip/core/rcu 17/23] rcu: Fix day-zero grace-period initialization/cleanup race

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > The current approach to grace-period initialization is vulnerable to > extremely low-probabity races. These races stem fro the fact that the > old grace period is marked completed on the same traversal thro

Re: [PATCH] Add feature-removal-schedule.txt removal to feature-removal-schedule.txt

2012-09-06 Thread Cong Wang
On Tue, Sep 4, 2012 at 11:39 PM, Steven Rostedt wrote: > On Wed, 2012-08-29 at 09:28 +0800, Cong Wang wrote: >> On Tue, Aug 28, 2012 at 2:22 AM, Steven Rostedt wrote: >> > The file feature-removal-schedule.txt is ignored by most people except >> > for people that add to it. It's more of a global

Re: [PATCH tip/core/rcu 18/23] rcu: Add random PROVE_RCU_DELAY to grace-period initialization

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > > 1. CPU 0 completes a grace period, but needs an additional > grace period, so starts initializing one, initializing all > the non-leaf rcu_node strcutures and the first leaf rcu_node > structure. Because C

Re: [RFC,PATCH v2] efi: Add support for a UEFI variable filesystem

2012-09-06 Thread Jeremy Kerr
Hi Matt, Am I correct in thinking that this filesystem doesn't handle deletion of authenticated variables? Unless I'm missing something, this should work fine; we just pass the EFI_VARIABLE_AUTHENTICATION_2 descriptor (with the usual attribute header), but no data following the descriptor.

Re: [PATCH 1/1] [SCSI] scsi_debug: Add "removable" parameter

2012-09-06 Thread Douglas Gilbert
On 12-09-06 06:04 AM, Martin Pitt wrote: Add "removable" module parameter to set the "removable" attribute of any subsequently created debug block device. It is a writable driver option, so that you can switch between removable and "fixed" media block devices in between the add_host calls. This

Re: [PATCH tip/core/rcu 16/23] rcu: Prevent initialization-time quiescent-state race

2012-09-06 Thread Peter Zijlstra
On Wed, 2012-09-05 at 11:19 -0700, Paul E. McKenney wrote: > I tried that, and got a surprisingly large set of conflicts. Ah, OK, > the problem is that breaking up rcu_gp_kthread() into subfunctions > did enough code motion to defeat straightforward rebasing. Is there > some way to tell "git reba

Re: [PATCH] UDF: Fix incorrect error handling in udf_direct_IO()

2012-09-06 Thread Jan Kara
On Thu 06-09-12 11:08:11, Ian Abbott wrote: > My recent patch to add DIRECT_IO support to the UDF filesystem handler > contains a mistake in the error recovery if blockdev_direct_IO() fails. > The test `rw && WRITE` should be `rw & WRITE`. Fix it. > > Signed-off-by: Ian Abbott Thanks. I've fol

[PATCH v2 09/10] net/macb: ethtool interface: add register dump feature

2012-09-06 Thread Nicolas Ferre
Add macb_get_regs() ethtool function and its helper function: macb_get_regs_len(). The version field is deduced from the IP revision which gives the "MACB or GEM" information. An additional version field is reserved. Signed-off-by: Nicolas Ferre --- v2: - modify MACB_GREGS_NBR name and adapt to n

Re: [Ping^3] Re: [PATCH] sg_io: allow UNMAP and WRITE SAME without CAP_SYS_RAWIO

2012-09-06 Thread Lukáš Czerner
On Thu, 6 Sep 2012, Paolo Bonzini wrote: > Date: Thu, 06 Sep 2012 14:36:53 +0200 > From: Paolo Bonzini > To: Ric Wheeler > Cc: ax...@kernel.dk, Mike Snitzer , > Alan Cox , > Martin K. Petersen , > linux-kernel@vger.kernel.org, linux-s...@vger.kernel.org > Subject: Re: [Ping^3] Re: [P

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-06 Thread Pedro Alves
On 09/06/2012 02:53 PM, Sasha Levin wrote: > So I think that for the hash iterator it might actually be simpler. > > My solution to making 'break' work in the iterator is: > > for (bkt = 0, node = NULL; bkt < HASH_SIZE(name) && node == NULL; bkt++) > hlist_for_each_entry(obj,

Re: [RFC,PATCH v2] efi: Add support for a UEFI variable filesystem

2012-09-06 Thread Matt Fleming
On Thu, 2012-09-06 at 13:40 +0800, Jeremy Kerr wrote: > From: Matthew Garrett > > The existing EFI variables code only supports variables of up to 1024 > bytes. This limitation existed in version 0.99 of the EFI specification, > but was removed before any full releases. Since variables can now be

Re: [PATCH tip/core/rcu 14/23] rcu: Remove now-unused rcu_state fields

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > Moving the RCU grace-period processing to a kthread and adjusting the > tracing resulted in two of the rcu_state structure's fields being unused. > This commit therefore removes them. > > Signed-off-by: Pau

Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > Some uses of RCU benefit from shorter grace periods, while others benefit > more from the greater efficiency provided by longer grace periods. > Therefore, this commit allows the durations to be controlled f

Re: [PATCH v5 1/4] Runtime Interpreted Power Sequences

2012-09-06 Thread Heiko Stübner
Hi Alexander, Am Freitag, 31. August 2012, 13:34:03 schrieb Alexandre Courbot: > Some device drivers (panel backlights especially) need to follow precise > sequences for powering on and off, involving gpios, regulators, PWMs > with a precise powering order and delays to respect between each steps.

Re: [PATCH -v3 14/14] x86, mm: Map ISA area with connected ram range at the same time

2012-09-06 Thread Jacob Shin
On Thu, Sep 06, 2012 at 10:22:19AM +0300, Pekka Enberg wrote: > On Wed, Sep 5, 2012 at 1:02 AM, Pekka Enberg wrote: > > > How significant is the speed gain? The "isa_done" flag makes code flow > > > more difficult to follow. > > On Wed, 5 Sep 2012, Yinghai Lu wrote: > > Not really much. > > > >

3.6-rc4 audit_log_d_path oops.

2012-09-06 Thread Dave Jones
Hit this in overnight fuzz testing.. BUG: unable to handle kernel NULL pointer dereference at 0020 IP: [] audit_log_d_path+0x35/0xf0 PGD 12fded067 PUD 142c06067 PMD 0 Oops: [#1] SMP Modules linked in: tun fuse ipt_ULOG binfmt_misc nfnetlink nfc caif_socket caif phonet can llc2

Re: [PATCH 1/3] btrfs: remove unnecessary -ENOMEM BUG_ON check in extent-tree.c/exclude_super_stripes

2012-09-06 Thread Wang Sheng-Hui
On 2012年09月06日 18:09, David Sterba wrote: > On Thu, Sep 06, 2012 at 02:40:41PM +0800, Wang Sheng-Hui wrote: >> The memory allocation failure is BUG_ON in add_excluded_extent (following >> the code path) and btrfs_rmap_block. No need to BUG_ON -ENOMEM inside >> exclude_super_stripes itself. > > No

Re: [PATCH] OMAP GPIO - don't wake from suspend unless requested.

2012-09-06 Thread Shubhrajyoti
On Thursday 06 September 2012 12:32 PM, NeilBrown wrote: > From: NeilBrown > Subject: [PATCH] OMAP GPIO - don't wake from suspend unless requested. > > Current kernel will wake from suspend on an event on any active > GPIO even if enable_irq_wake() wasn't called. > > There are two reasons that the

Re: [PATCH v6 12/12] KVM: indicate readonly access fault

2012-09-06 Thread Avi Kivity
On 08/22/2012 03:47 PM, Xiao Guangrong wrote: > On 08/22/2012 08:06 PM, Avi Kivity wrote: >> On 08/21/2012 06:03 AM, Xiao Guangrong wrote: >>> Introduce write_readonly_mem in mmio-exit-info to indicate this exit is >>> caused by write access on readonly memslot >> >> Please document this in chapte

Re: [PATCH] builddeb: remove unneeded explicit Architecture

2012-09-06 Thread maximilian attems
On Thu, Sep 06, 2012 at 02:00:04PM +, maximilian attems wrote: > On Wed, Sep 05, 2012 at 08:26:05PM +, maximilian attems wrote: > > On Wed, Sep 05, 2012 at 07:40:09PM +0300, Tzafrir Cohen wrote: > > > > > > $ grep CROSS_COMPILE .config > > > CONFIG_CROSS_COMPILE="arm-linux-gnueabihf-" > >

Re: [PATCH] Don't clobber access methods when !regmap

2012-09-06 Thread Pantelis Antoniou
Hi, On Sep 6, 2012, at 5:01 PM, Peter Ujfalusi wrote: > Hi, > > On 09/05/2012 07:43 PM, Pantelis Antoniou wrote: >> The driver in question (twl4030.c) does not call >> snd_soc_codec_set_cache_io(). >> However the snd-soc core does call it in sound/soc/soc-core.c in >> soc_probe_codec. >> >> I

Re: [PATCH 08/10] net/macb: macb_get_drvinfo: add GEM/MACB suffix to differentiate revision

2012-09-06 Thread Nicolas Ferre
On 09/06/2012 01:27 AM, Ben Hutchings : > On Wed, 2012-09-05 at 11:00 +0200, Nicolas Ferre wrote: >> Add an indication about which revision of the hardware we are running in >> info->driver string. >> >> Signed-off-by: Nicolas Ferre >> --- >> drivers/net/ethernet/cadence/macb.c |4 >> 1

Re: [PATCH] Don't clobber access methods when !regmap

2012-09-06 Thread Peter Ujfalusi
Hi, On 09/05/2012 07:43 PM, Pantelis Antoniou wrote: > The driver in question (twl4030.c) does not call snd_soc_codec_set_cache_io(). > However the snd-soc core does call it in sound/soc/soc-core.c in > soc_probe_codec. > > I do see that there's a commit 98d3088e534a2a61f6690b5426909b0c3b57a785

Re: [PATCH] builddeb: remove unneeded explicit Architecture

2012-09-06 Thread maximilian attems
On Wed, Sep 05, 2012 at 08:26:05PM +, maximilian attems wrote: > On Wed, Sep 05, 2012 at 07:40:09PM +0300, Tzafrir Cohen wrote: > > > > $ grep CROSS_COMPILE .config > > CONFIG_CROSS_COMPILE="arm-linux-gnueabihf-" > > > > Command: > > > > KBUILD_DEBARCH=armhf make ARCH=arm KBUILD_IMAGE=uIma

Re: [PATCH V3 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-09-06 Thread Bjorn Helgaas
On Tue, Sep 4, 2012 at 6:45 AM, Matthew Garrett wrote: > On Thu, Aug 23, 2012 at 05:44:22PM -0600, Bjorn Helgaas wrote: >> On Thu, Aug 23, 2012 at 10:36 AM, Matthew Garrett wrote: >> > EFI provides support for providing PCI ROMs via means other than the ROM >> > BAR. This support vanishes after w

Re: [PATCH] KVM: tsc deadline timer works only when hrtimer high resolution configured

2012-09-06 Thread Avi Kivity
On 09/04/2012 06:07 PM, Liu, Jinsong wrote: > From 728a17e2de591b557c3c8ba31076b4bf2ca5ab42 Mon Sep 17 00:00:00 2001 > From: Liu, Jinsong > Date: Wed, 5 Sep 2012 03:18:15 +0800 > Subject: [PATCH] KVM: tsc deadline timer works only when hrtimer high > resolution configured > > This is for 2 reaso

Re: [PATCH 0/2] arm/dts: AM33XX: Add reg and interrupt property for all nodes

2012-09-06 Thread Benoit Cousson
Hi Vaihbav, On 08/27/2012 02:31 PM, Vaibhav Hiremath wrote: > This series is trivial patch-series and should be considered as > preparation for the future where we supposed to get rid of > hwmod dependency. > > 1/2: Converts all hex numbers to lowercase, fixing inconsistency > 2/2: Add reg and in

Re: [RFC PATCH] perf: add SLANG_INC for slang.h

2012-09-06 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 06, 2012 at 10:11:22AM +0800, Liang Li escreveu: > On 2012-09-06 06:41, Arnaldo Carvalho de Melo wrote: > > > Does: > > > > > > SLANG_INC ?= -I=/usr/include/slang > > > > > > work any better? Its hard to tell from the above error which bit of the > > > > I'll try later > > > > > sy

Re: [PATCH v3 01/17] hashtable: introduce a small and naive hashtable

2012-09-06 Thread Sasha Levin
On 09/04/2012 07:01 PM, Mathieu Desnoyers wrote: >> #define do_for_each_ftrace_rec(pg, rec) >> \ >> > for (pg = ftrace_pages_start, rec = &pg->records[pg->index]; >> > \ >> > pg && rec == &pg->records[pg->index];

Re: [PATCH v2] Documentation: Chinese translation of Documentation/arm/Booting

2012-09-06 Thread harryxiyou
2012/9/6 Ninja Tekkaman : > This is a Chinese translated version of Documentation/arm/Booting > > Signed-off-by: Fu Wei > --- Acked-by: Harry Wei Good job ;-) -- Thanks Harry Wei -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

Re: [PATCH tip/core/rcu 07/23] rcu: Provide OOM handler to motivate lazy RCU callbacks

2012-09-06 Thread Steven Rostedt
On Thu, 2012-09-06 at 15:46 +0200, Peter Zijlstra wrote: > On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > > + get_online_cpus(); > > + for_each_online_cpu(cpu) > > + for_each_rcu_flavor(rsp) > > + smp_call_function_single(cpu, rcu_oom_no

Re: [PATCH 2/2] perf header: Prepare tracepoint events regardless of name

2012-09-06 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 06, 2012 at 11:10:46AM +0900, Namhyung Kim escreveu: > From: Namhyung Kim > > Current perf_evlist__set_tracepoint_names is a misnomer because it > finds and sets correspoding event_format in addition to the name. So > skipping it when a event has set name already caused a trouble. >

Re: [PATCH tip/core/rcu 07/23] rcu: Provide OOM handler to motivate lazy RCU callbacks

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > + get_online_cpus(); > + for_each_online_cpu(cpu) > + for_each_rcu_flavor(rsp) > + smp_call_function_single(cpu, rcu_oom_notify_cpu, > +rsp, 1

Re: [PATCH] Chinese translation of Documentation/gpio.txt

2012-09-06 Thread harryxiyou
On Thu, Sep 6, 2012 at 3:24 PM, Linus Walleij wrote: > 2012/9/5 Dong Aisheng : > > Thanks for your help Dong, Wei can you please check Dong's > comments and submit a version with his ACK, and I'll apply it. > Acked-by: Harry Wei This patch is made by Wei Fu, so i think he is the best one to add

Re: [PATCH tip/core/rcu 06/23] rcu: Break up rcu_gp_kthread() into subfunctions

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > +static int rcu_gp_kthread(void *arg) > +{ > + struct rcu_state *rsp = arg; > + struct rcu_node *rnp = rcu_get_root(rsp); > + > + for (;;) { > + > + /* Handle grace-period start. */ > + for (;

Re: [PATCH v2 1/5] fat: allocate persistent inode numbers

2012-09-06 Thread Namjae Jeon
2012/9/6 OGAWA Hirofumi : > Namjae Jeon writes: > In this long discusstion about the FAT acceptance over NFS, our belief is still that the objective should be to reduce errors as much as possible and then if there are certain scenarios - at least that could be highlighted as a

drm/vmwgfx: add MODULE_DEVICE_TABLE so vmwgfx loads at boot

2012-09-06 Thread Tim Gardner
Dave - I couldn't find this patch in your git repo at git://people.freedesktop.org/~airlied/linux in the drm-next or drm-fixes branches. https://patchwork.kernel.org/patch/1379071/ It appears to fix a real problem for Mac users - http://bugs.launchpad.net/bugs/1039157. See https://bugs.launchpad.

Re: [PATCH tip/core/rcu 03/23] rcu: Move RCU grace-period cleanup into kthread

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > static void rcu_report_qs_rsp(struct rcu_state *rsp, unsigned long flags) > __releases(rcu_get_root(rsp)->lock) > { > + raw_spin_unlock_irqrestore(&rcu_get_root(rsp)->lock, flags); > + wake_up(&rsp->gp_wq); /* Memor

Re: linux-next: Tree for Sept 6 (does not boot on AMD64)

2012-09-06 Thread Sedat Dilek
On Thu, Sep 6, 2012 at 1:48 PM, Sedat Dilek wrote: > On Thu, Sep 6, 2012 at 9:23 AM, Stephen Rothwell > wrote: >> Hi all, >> >> Changes since 20120905: >> >> New tree: arm64 >> >> The powerpc tree gained a build failure for which I reverted 3 commits. >> >> The net-next tree lost its build failu

Re: [PATCH tip/core/rcu 01/23] rcu: Move RCU grace-period initialization into a kthread

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > +static int rcu_gp_kthread(void *arg) > +{ > + unsigned long flags; > + struct rcu_data *rdp; > + struct rcu_node *rnp; > + struct rcu_state *rsp = arg; > + > + for (;;) { > + > + /* Handle grac

Re: [PATCH] OMAP GPIO - don't wake from suspend unless requested.

2012-09-06 Thread Felipe Balbi
Hi, On Thu, Sep 06, 2012 at 05:02:45PM +1000, NeilBrown wrote: > On Thu, 6 Sep 2012 11:18:09 +0530 "Shilimkar, Santosh" > wrote: > > > On Thu, Sep 6, 2012 at 8:35 AM, NeilBrown wrote: > > > On Mon, 3 Sep 2012 22:59:06 -0700 "Shilimkar, Santosh" > > > wrote: > > > >> After thinking bit more on

Re: [PATCH 0/4] arm/dts: omap: add dt data for MUSB

2012-09-06 Thread Felipe Balbi
Hi, On Mon, Aug 06, 2012 at 06:53:11PM +0530, Kishon Vijay Abraham I wrote: > This patch series adds dt data for MUSB and related modules to > get MUSB working > > These patches were initially part of > [PATCH v6 00/11] omap: musb: Add device tree support > > These patches can be tested by apply

Re: [PATCH v3 0/3] DaVinci DMA engine conversion

2012-09-06 Thread Daniel Mack
Hi Matt, On 27.08.2012 17:33, Daniel Mack wrote: > On 23.08.2012 03:09, Matt Porter wrote: >> This series begins the conversion of the DaVinci private EDMA API >> implementation to a DMA engine driver and converts two of the three >> in-kernel users of the private EDMA API to DMA engine. >> >> The

[PATCH] perf: remove sw events from multiplexing rotation list

2012-09-06 Thread Stephane Eranian
Software events (sw,tracepoints,...) do not need to be multiplexed. However, when using a SW event, the SW PMU (TYPE_SOFTWARE, TYPE_TRACEPOINT) was added to the per-cpu rotation_list. That list is used by perf_rotate_context() to iterate over all the PMUs to rotate event lists and multiplex. This

[PATCH] x86, efi: 1:1 pagetable mapping for virtual EFI calls

2012-09-06 Thread Matt Fleming
From: Matt Fleming Some firmware still needs a 1:1 (virt->phys) mapping even after we've called SetVirtualAddressMap(). So install the mapping alongside our existing kernel mapping whenever we make EFI calls in virtual mode. This bug was discovered on ASUS machines where the firmware implementat

Re: [PATCH] [mcelog] Start using the new sysfs tunables location

2012-09-06 Thread Andi Kleen
> Even if we decide not to remove these tunables from under their current > per-cpu location, I still think it is much cleaner to have them > available under /sys/devices/system/machinecheck. "much cleaner" is not sufficient justification to break an ABI. -Andi -- a...@linux.intel.com -- Spea

Re: [PATCH v7 1/7] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-06 Thread Felipe Balbi
On Thu, Sep 06, 2012 at 01:03:02PM +, Arnd Bergmann wrote: > On Thursday 06 September 2012, ABRAHAM, KISHON VIJAY wrote: > > > diff --git a/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt > > > b/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt > > > index d2fe064..bb0c7f4 100644

Re: snd-usb: "delay: estimated 0, actual 352"

2012-09-06 Thread Markus Trippelsdorf
On 2012.09.06 at 15:08 +0200, Takashi Iwai wrote: > At Thu, 6 Sep 2012 11:43:48 +0200, > Markus Trippelsdorf wrote: > > > > On 2012.09.06 at 10:21 +0200, Takashi Iwai wrote: > > > At Thu, 06 Sep 2012 09:35:26 +0200, > > > Takashi Iwai wrote: > > > > > > In short, a patch like below may fix the is

Re: [PATCH] x86, 32-bit: Fix invalid stack address while in softirq

2012-09-06 Thread Steven Rostedt
On Thu, 2012-09-06 at 12:04 +0200, Robert Richter wrote: > please take a look at this. Not sure if Linus want to look at this too > and if we need more optimization here. It could probably go either way. Although the function has several lines, it looks like the actual assembly produced wouldn't

[PATCH 7/8] thp, s390: disable thp for kvm host on s390

2012-09-06 Thread Gerald Schaefer
This patch is part of the architecture backend for thp on s390. It disables thp for kvm hosts, because there is no kvm host hugepage support so far. Existing thp mappings are split by follow_page() with FOLL_SPLIT, and future thp mappings are prevented by setting VM_NOHUGEPAGE in mm->def_flags. Si

[PATCH 3/8] thp: introduce pmdp_invalidate()

2012-09-06 Thread Gerald Schaefer
On s390, a valid page table entry must not be changed while it is attached to any CPU. So instead of pmd_mknotpresent() and set_pmd_at(), an IDTE operation would be necessary there. This patch introduces the pmdp_invalidate() function, to allow architecture-specific implementations. Signed-off-by:

Re: [PATCH] virtio-balloon spec: provide a version of the "silent deflate" feature that works

2012-09-06 Thread Paolo Bonzini
Il 06/09/2012 14:51, Michael S. Tsirkin ha scritto: > On Thu, Sep 06, 2012 at 02:13:14PM +0200, Paolo Bonzini wrote: >> Il 06/09/2012 12:53, Michael S. Tsirkin ha scritto: It is useful because it lets guests inflate the balloon aggressively, and then use ballooned-out pages even in places

[PATCH 5/8] thp, s390: thp splitting backend for s390

2012-09-06 Thread Gerald Schaefer
This patch is part of the architecture backend for thp on s390. It provides the functions related to thp splitting, including serialization against gup. Unlike other archs, pmdp_splitting_flush() cannot use a tlb flushing operation to serialize against gup on s390, because that wouldn't be stopped

[PATCH 6/8] thp, s390: thp pagetable pre-allocation for s390

2012-09-06 Thread Gerald Schaefer
This patch is part of the architecture backend for thp on s390. It provides the pagetable pre-allocation functions pgtable_trans_huge_deposit() and pgtable_trans_huge_withdraw(). Unlike other archs, s390 has no struct page * as pgtable_t, but rather a pointer to the page table. So instead of saving

[PATCH 8/8] thp, s390: architecture backend for thp on s390

2012-09-06 Thread Gerald Schaefer
This implements the architecture backend for transparent hugepages on s390. Signed-off-by: Gerald Schaefer --- arch/s390/Kconfig | 1 + arch/s390/include/asm/hugetlb.h | 18 +--- arch/s390/include/asm/pgtable.h | 189 arch/s390/include/as

[PATCH 2/8] thp: remove assumptions on pgtable_t type

2012-09-06 Thread Gerald Schaefer
The thp page table pre-allocation code currently assumes that pgtable_t is of type "struct page *". This may not be true for all architectures, so this patch removes that assumption by replacing the functions prepare_pmd_huge_pte() and get_pmd_huge_pte() with two new functions that can be defined a

[PATCH 4/8] thp: make MADV_HUGEPAGE check for mm->def_flags

2012-09-06 Thread Gerald Schaefer
This adds a check to hugepage_madvise(), to refuse MADV_HUGEPAGE if VM_NOHUGEPAGE is set in mm->def_flags. On s390, the VM_NOHUGEPAGE flag will be set in mm->def_flags for kvm processes, to prevent any future thp mappings. In order to also prevent MADV_HUGEPAGE on such an mm, hugepage_madvise() sho

[PATCH 1/8] thp, x86: introduce HAVE_ARCH_TRANSPARENT_HUGEPAGE

2012-09-06 Thread Gerald Schaefer
Cleanup patch in preparation for transparent hugepage support on s390. Adding new architectures to the TRANSPARENT_HUGEPAGE config option can make the "depends" line rather ugly, like "depends on (X86 || (S390 && 64BIT)) && MMU". This patch adds a HAVE_ARCH_TRANSPARENT_HUGEPAGE instead. x86 already

[PATCH 0/8] thp: transparent hugepages on s390

2012-09-06 Thread Gerald Schaefer
This patch series adds support for transparent hugepages on s390. Small changes to common code are necessary with regard to a different pgtable_t, tlb flushing and kvm behaviour on s390, see patches 2 to 4. Also, (x86) Kconfig is touched by patch 1. Changes since RFC v2: [PATCH 1/8] introduce HA

Re: snd-usb: "delay: estimated 0, actual 352"

2012-09-06 Thread Takashi Iwai
At Thu, 6 Sep 2012 11:43:48 +0200, Markus Trippelsdorf wrote: > > On 2012.09.06 at 10:21 +0200, Takashi Iwai wrote: > > At Thu, 06 Sep 2012 09:35:26 +0200, > > Takashi Iwai wrote: > > > > In short, a patch like below may fix the issue (note: completely > > untested!) > > No it doesn't, unfortuna

Re: [PATCH v7 1/7] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-06 Thread Arnd Bergmann
On Thursday 06 September 2012, ABRAHAM, KISHON VIJAY wrote: > > diff --git a/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt > > b/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt > > index d2fe064..bb0c7f4 100644 > > --- a/Documentation/devicetree/bindings/bus/omap-ocp2scp.txt > > ++

Re: [RFC] memory-hotplug: remove MIGRATE_ISOLATE from free_area->free_list

2012-09-06 Thread Michal Nazarewicz
> On Wed, Sep 05, 2012 at 07:28:23PM +0200, Michal Nazarewicz wrote: >> If you ask me, I'm not convinced that this improves anything. On Thu, Sep 06 2012, Minchan Kim wrote: > At least, it removes MIGRATE_ISOLATE type in free_area->free_list > which is very irony type as I mentioned. I really don'

[PATCH 9/9] ARM i.MX: remove PWM platform support

2012-09-06 Thread Sascha Hauer
As the pwm driver now is devicetree only, remove the platform support for this device. Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/clk-imx21.c |1 - arch/arm/mach-imx/clk-imx25.c |8 --- arch/arm/mach-imx/clk-imx27.c |1 - a

<    1   2   3   4   5   6   7   8   >