Re: [RFC PATCH 6/8] kthread: Enable parking requests from setup() and unpark() callbacks

2013-05-21 Thread Srivatsa S. Bhat
On 05/20/2013 09:31 PM, Frederic Weisbecker wrote: > When the watchdog code is boot-disabled by the user, for example > through the 'nmi_watchdog=0' boot option, the setup() callback of > the watchdog kthread requests to park the task, and that until the > user later re-enables the watchdog through

Re: [PATCH 1/1] numa, mm, memory-hotplug: Do not allocate pagetable to local node with MEMORY_HOTREMOVE enabled.

2013-05-21 Thread Pekka Enberg
On Thu, May 16, 2013 at 2:50 PM, Tang Chen wrote: > The following patch-set allocated pagetables to local node. > https://lkml.org/lkml/2013/4/11/829 > > Doing this will break memory hot-remove. > > Before removing memory, the kernel offlines memory. If offlining > memory fails, the memory cannot

Re: [PATCH] i2c: i2c-designware: Fix compilation warning

2013-05-21 Thread Mika Westerberg
On Mon, May 20, 2013 at 11:55:50PM +, EUNBONG SONG wrote: > > Fix the following compilation warning when CONFIG_PM_RUNTIME is not enabled: > > drivers/i2c/busses/i2c-designware-pcidrv.c:188: warning: > 'i2c_dw_pci_runtime_idle' defined but not used > > Signed-off-by: EunBong Song Thanks f

Re: [RFC 0/7] perf report/gtk: Add support for hierarchy view

2013-05-21 Thread Pekka Enberg
Hello, On Tue, May 21, 2013 at 9:14 AM, Namhyung Kim wrote: > This patchset implements a new feature that collects hist entries in a > hierachical manner. That means lower-level entries are belonged to an > upper-level entry. The entry hierachy is built on the sort keys > given, so users can se

[GIT PULL] s390 patches for the 3.10-rc3

2013-05-21 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: An additional sysfs attribute for channel paths and a couple of bux fixes. Alexander Shiyan (1): s390: remove non existent

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Eilon Greenstein
On Tue, 2013-05-21 at 09:54 +0300, Eliezer Tamir wrote: > On 20/05/2013 23:20, Or Gerlitz wrote: > > On Mon, May 20, 2013 at 1:16 PM, Eliezer Tamir > > wrote: > >> Add the ixgbe driver code implementing ndo_ll_poll. > >> It should be easy for other drivers to do something similar > >> in order to

Re: [PATCH 1/1] numa, mm, memory-hotplug: Do not allocate pagetable to local node with MEMORY_HOTREMOVE enabled.

2013-05-21 Thread Tang Chen
Hi On 05/21/2013 03:02 PM, Pekka Enberg wrote: .. Ugh. Special-casing for CONFIG_MEMORY_HOTPLUG is just begging for trouble. Were you able to determine which commit broke memory hot-remove? Please refer to the following patch-set. https://lkml.org/lkml/2013/4/11/829 patch21 and patch22 w

Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-21 Thread David Miller
From: Thomas Petazzoni Date: Tue, 21 May 2013 08:41:08 +0200 > Dear David Miller, > > On Mon, 20 May 2013 23:26:19 -0700 (PDT), David Miller wrote: >> From: Libo Chen >> Date: Tue, 21 May 2013 10:42:00 +0800 >> >> > I find a lot of mistakes using struct platform_driver without owner. >> > So I

[PATCH v2] mm: vmscan: add VM_BUG_ON on illegal return values from scan_objects

2013-05-21 Thread Oskar Andero
Add a VM_BUG_ON to catch any illegal value from the shrinkers. It's a potential bug if scan_objects returns a negative other than -1 and would lead to undefined behaviour. Cc: Glauber Costa Cc: Dave Chinner Cc: Andrew Morton Cc: Hugh Dickins Cc: Greg Kroah-Hartman Signed-off-by: Oskar Andero

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread David Miller
From: "Eilon Greenstein" Date: Tue, 21 May 2013 10:06:43 +0300 > Hopefully this series will be accepted so we can send follow up support > for the bnx2x as well. I think in two or three more iterations it will be merged. There are no objections on the fundamentals, it's just implementation deta

Re: [PATCH 3/5] partitions/msdos: enumerate also AIX LVM partitions

2013-05-21 Thread Philippe De Muyter
Hi Andrew, On Mon, May 20, 2013 at 04:41:52PM -0700, Andrew Morton wrote: > On Mon, 29 Apr 2013 23:18:31 +0200 Philippe De Muyter wrote: > > > Graft AIX partitions enumeration in partitions/msdos.c > > > > There is already a AIX disks detection logic in msdos.c. When an > > AIX disk has been f

Re: [PATCH v2] mm: vmscan: add VM_BUG_ON on illegal return values from scan_objects

2013-05-21 Thread Pekka Enberg
On Tue, May 21, 2013 at 10:13 AM, Oskar Andero wrote: > Add a VM_BUG_ON to catch any illegal value from the shrinkers. It's a > potential bug if scan_objects returns a negative other than -1 and > would lead to undefined behaviour. > > Cc: Glauber Costa > Cc: Dave Chinner > Cc: Andrew Morton >

Re: NOHZ: WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule, round 2

2013-05-21 Thread Borislav Petkov
On Tue, May 21, 2013 at 10:20:51AM +0800, Michael Wang wrote: > This is not enough to prove that policy->cpus is wrong, the cpu could > be online when get from policy->cpus, but offline when checked here, > since hotplug is able to happen during the period. Strictly speaking you're correct but I d

Re: [RFC 0/7] perf report/gtk: Add support for hierarchy view

2013-05-21 Thread Namhyung Kim
Hi Pekka, On Tue, 21 May 2013 10:04:05 +0300, Pekka Enberg wrote: > Hello, > > On Tue, May 21, 2013 at 9:14 AM, Namhyung Kim wrote: >> This patchset implements a new feature that collects hist entries in a >> hierachical manner. That means lower-level entries are belonged to an >> upper-level en

Re: [PATCH v2] mm: vmscan: add VM_BUG_ON on illegal return values from scan_objects

2013-05-21 Thread Glauber Costa
On 05/21/2013 11:17 AM, Pekka Enberg wrote: > It seems to me relaxing the shrinker API restrictions and changing the > "ret == -1" to "ret < 0" would be a much more robust approach... Dave had already spoken against it, and I agree with him Anybody returning any negative value different than -1 is

Re: [PATCH 2/5] Add aix lvm partitions support files

2013-05-21 Thread Philippe De Muyter
Hi Andrew, On Mon, May 20, 2013 at 04:39:27PM -0700, Andrew Morton wrote: > On Mon, 29 Apr 2013 23:18:30 +0200 Philippe De Muyter wrote: > > > adding partitions/aix.h and partitions/aix.c > > > > Partitions (called Logical Volumes in AIX) can be non-contiguous or > > even split on more than one

Re: [PATCH v3 net-next 1/4] net: implement support for low latency socket polling

2013-05-21 Thread Eliezer Tamir
On 20/05/2013 18:29, Eric Dumazet wrote: On Mon, 2013-05-20 at 13:16 +0300, Eliezer Tamir wrote: --- +static inline void skb_mark_ll(struct sk_buff *skb, struct napi_struct *napi) +{ + skb->dev_ref = napi; +} + +static inline void sk_mark_ll(struct sock *sk, struct sk_buff *skb) +{ +

Re: lockdep spew from tty

2013-05-21 Thread Benjamin Herrenschmidt
On Tue, 2013-05-21 at 11:22 +1000, Benjamin Herrenschmidt wrote: > Hi Greg ! Adding Jiri... > Caught that on a console today running some 3.10-almost-rc2 > (based on ec50f2a97a4a7098a81b40030e0bfe28bdc43740). Right now I don't > have the bandwidth to investigate but I though you might be > intere

Re: [PATCH 1/2] pinctrl: Don't override the error code in probe error handling

2013-05-21 Thread Maxime Ripard
Hi Axel, On Sun, May 19, 2013 at 01:58:37PM +0800, Axel Lin wrote: > Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0. > Also show error message if gpiochip_remove() fails. > > Signed-off-by: Axel Lin > Cc: Linus Walleij > Cc: Maxime Ripard > Cc: Tony Prisk For th

Re: [PATCH 4/5] ACPI / scan: Add second pass of companion offlining to hot-remove code

2013-05-21 Thread Xishi Qiu
On 2013/5/19 7:34, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > As indicated by comments in mm/memory_hotplug.c:remove_memory(), > if CONFIG_MEMCG is set, it may not be possible to offline all of the > memory blocks held by one module (FRU) in one pass (because one of > them may be use

Re: Subject : [ PATCH ] pci-reset-error_state-to-pci_channel_io_normal-at-report_slot_reset

2013-05-21 Thread Yanmin Zhang
On Mon, 2013-05-20 at 16:48 -0600, Bjorn Helgaas wrote: > On Fri, Apr 26, 2013 at 06:28:59AM +, Zhang, LongX wrote: > > From: Zhang Long > > > > Specific pci device drivers might have many functions to call > > pci_channel_offline to check device states. When slot_reset happens, > > drivers'

Re: linux-next: manual merge of the akpm tree with the net-next tree

2013-05-21 Thread Daniel Borkmann
Hi Stephen, On 05/21/2013 06:25 AM, Stephen Rothwell wrote: Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in arch/arm/net/bpf_jit_32.c between commit aafc787e41fd ("arm: bpf_jit: can call module_free() from any context") from the net-next tree and commit "ARM: net: bpf_jit

Re: [PATCH] tty: nwpserial: Pass correct pointer to free_irq()

2013-05-21 Thread Benjamin Krill
Acked-off-by: Benjamin Krill On Mon, 2013-05-20 at 19:07 +0200, Lars-Peter Clausen wrote: > free_irq() expects the same pointer that was passed to request_irq(), > otherwise > the IRQ is not freed. > > The issue was found using the following coccinelle script: > > > @r1@ > type T; > T devid;

Re: Subject : [ PATCH ] pci-reset-error_state-to-pci_channel_io_normal-at-report_slot_reset

2013-05-21 Thread Yanmin Zhang
On Mon, 2013-05-20 at 10:37 -0500, Linas Vepstas wrote: > I think Joe Liu has it right. I'm going to top-post because things > are a bit tangled below. I urge a review of > /Documentation/PCI/pci-error-recovery.txt, as that gives the details. > > The intended sequence is that, after an error, th

Re: [PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-21 Thread Hans Verkuil
On Tue 21 May 2013 05:49:35 Stephen Rothwell wrote: > Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"), > it has been basically impossible to build a kernel with CONFIG_HOTPLUG > turned off. Remove all the remaining references to it. > > Cc: linux-a...@vger.kernel.org > Cc: R

Re: [RFC PATCH 6/8] kthread: Enable parking requests from setup() and unpark() callbacks

2013-05-21 Thread Srivatsa S. Bhat
On 05/21/2013 11:04 AM, anish singh wrote: > On Mon, May 20, 2013 at 9:31 PM, Frederic Weisbecker > wrote: >> When the watchdog code is boot-disabled by the user, for example >> through the 'nmi_watchdog=0' boot option, the setup() callback of >> the watchdog kthread requests to park the task, an

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-21 Thread Chen Gang
On 05/21/2013 02:57 PM, Geert Uytterhoeven wrote: > On Tue, May 21, 2013 at 5:15 AM, Chen Gang wrote: >>> >> I think it would be better if we added a something like >>> >> CONFIG_HAVE_VGA_CONSOLE, which VGA_CONSOLE can then depend on. >>> >> Architectures >>> >> like x86 can then select the forme

Re: NOHZ: WARNING: at arch/x86/kernel/smp.c:123 native_smp_send_reschedule, round 2

2013-05-21 Thread Michael Wang
On 05/21/2013 03:21 PM, Borislav Petkov wrote: > On Tue, May 21, 2013 at 10:20:51AM +0800, Michael Wang wrote: >> This is not enough to prove that policy->cpus is wrong, the cpu could >> be online when get from policy->cpus, but offline when checked here, >> since hotplug is able to happen during t

Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-21 Thread Gu Zheng
On 05/21/2013 02:41 PM, Thomas Petazzoni wrote: > Dear David Miller, > > On Mon, 20 May 2013 23:26:19 -0700 (PDT), David Miller wrote: >> From: Libo Chen >> Date: Tue, 21 May 2013 10:42:00 +0800 >> >>> I find a lot of mistakes using struct platform_driver without owner. >>> So I pick up some of

Re: [PATCHv11 2/4] zbud: add to mm/

2013-05-21 Thread Mel Gorman
On Mon, May 20, 2013 at 10:42:25AM -0500, Seth Jennings wrote: > On Mon, May 20, 2013 at 02:54:39PM +0100, Mel Gorman wrote: > > On Sun, May 19, 2013 at 03:52:19PM -0500, Seth Jennings wrote: > > > My first guess is that the external fragmentation situation you are > > > referring to > > > is a wo

Re: [PATCH] PowerPC: kernel: need return the related error code when failure occurs.

2013-05-21 Thread Paul Mackerras
On Tue, May 21, 2013 at 01:48:58PM +0800, Chen Gang wrote: > > When error occurs, need return the related error code to let upper > caller know about it. > > ppc_md.nvram_size() can return the error code (e.g. core99_nvram_size() > in 'arch/powerpc/platforms/powermac/nvram.c'). > > And when '*pp

Re: [Xen-devel] Bye bye Mr tmem guy

2013-05-21 Thread Dario Faggioli
On lun, 2013-05-20 at 08:51 -0700, Dan Magenheimer wrote: > Hi Linux kernel folks and Xen folks -- > > Effective July 5, I will be resigning from Oracle and "retiring" > for a minimum of 12-18 months and probably/hopefully much longer. > Between now and July 5, I will be tying up loose ends relate

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Or Gerlitz
On Tue, May 21, 2013 at 10:06 AM, Eilon Greenstein wrote: > Or - at least for the bnx2x, it is easy to add support for this new ndo. Do you understand what's the equivalent of that mysterious module param for your driver/HW - or you just copied and pasted that black magic code? -- To unsubscribe

Re: [PATCH V2 1/2] ARM: mmc: bcm281xx SDHCI driver

2013-05-21 Thread Christian Daudt
Hi Arnd, Thanks for the review. See below for comments. On 13-05-16 03:09 PM, Arnd Bergmann wrote: On Friday 10 May 2013, Christian Daudt wrote: + +struct sdhci_bcm_kona_cfg { + unsigned intmax_freq; + int is_8bit; + int irq; + int

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Or Gerlitz
On Tue, May 21, 2013 at 10:14 AM, David Miller wrote: > From: "Eilon Greenstein" > Date: Tue, 21 May 2013 10:06:43 +0300 > >> Hopefully this series will be accepted so we can send follow up support >> for the bnx2x as well. > > I think in two or three more iterations it will be merged. > > There

[PATCH v4] clocksource: add Vybrid Family pit timer support

2013-05-21 Thread Jingchang Lu
Add Freescale Vybrid Family period interrupt timer support. Signed-off-by: Jingchang Lu --- v4: use family name names driver and symbol instead of SoC name. remove redundant code. use BUG_ON instead of WARN_ON. add necessory comment information. drivers/clocksource/Kconfig | 5

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Eilon Greenstein
On Tue, 2013-05-21 at 11:21 +0300, Or Gerlitz wrote: > On Tue, May 21, 2013 at 10:06 AM, Eilon Greenstein > wrote: > > Or - at least for the bnx2x, it is easy to add support for this new ndo. > > Do you understand what's the equivalent of that mysterious module > param for your driver/HW - or yo

Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-21 Thread Libo Chen
On 2013/5/21 16:00, Gu Zheng wrote: > On 05/21/2013 02:41 PM, Thomas Petazzoni wrote: > >> Dear David Miller, >> >> On Mon, 20 May 2013 23:26:19 -0700 (PDT), David Miller wrote: >>> From: Libo Chen >>> Date: Tue, 21 May 2013 10:42:00 +0800 >>> I find a lot of mistakes using struct platform_d

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Eliezer Tamir
On 21/05/2013 11:24, Or Gerlitz wrote: On Tue, May 21, 2013 at 10:14 AM, David Miller wrote: From: "Eilon Greenstein" Date: Tue, 21 May 2013 10:06:43 +0300 Hopefully this series will be accepted so we can send follow up support for the bnx2x as well. I think in two or three more iterations

Re: [PATCH] virtio-net: Reporting traffic queue distribution statistics through ethtool

2013-05-21 Thread Michael S. Tsirkin
On Tue, May 21, 2013 at 01:11:28PM +0800, Jason Wang wrote: > On 05/21/2013 09:26 AM, Narasimhan, Sriram wrote: > > > > -Original Message- > > From: Michael S. Tsirkin [mailto:m...@redhat.com] > > Sent: Monday, May 20, 2013 2:59 AM > > To: Narasimhan, Sriram > > Cc: ru...@rustcorp.com.au;

Re: [PATCH v6 3/7] KVM: MMU: fast invalidate all pages

2013-05-21 Thread Gleb Natapov
On Mon, May 20, 2013 at 05:40:47PM -0300, Marcelo Tosatti wrote: > On Mon, May 20, 2013 at 11:15:45PM +0300, Gleb Natapov wrote: > > On Mon, May 20, 2013 at 04:46:24PM -0300, Marcelo Tosatti wrote: > > > On Fri, May 17, 2013 at 05:12:58AM +0800, Xiao Guangrong wrote: > > > > The current kvm_mmu_zap

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread David Miller
From: Or Gerlitz Date: Tue, 21 May 2013 11:24:41 +0300 > On Tue, May 21, 2013 at 10:14 AM, David Miller wrote: >> From: "Eilon Greenstein" >> Date: Tue, 21 May 2013 10:06:43 +0300 >> >>> Hopefully this series will be accepted so we can send follow up support >>> for the bnx2x as well. >> >> I t

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-21 Thread Chen Gang
On 05/21/2013 02:13 PM, Marc Zyngier wrote: > On Tue, 21 May 2013 12:06:52 +0800, Chen Gang > wrote: >> On 05/20/2013 05:56 PM, Will Deacon wrote: >>> On Mon, May 20, 2013 at 08:15:04AM +0100, Marc Zyngier wrote: On Mon, 20 May 2013 14:48:05 +0800, Chen Gang wrote: > Need 'EXPORT_SY

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Eliezer Tamir
On 21/05/2013 11:39, David Miller wrote: From: Or Gerlitz Date: Tue, 21 May 2013 11:24:41 +0300 On Tue, May 21, 2013 at 10:14 AM, David Miller wrote: From: "Eilon Greenstein" Date: Tue, 21 May 2013 10:06:43 +0300 Hopefully this series will be accepted so we can send follow up support for

Re: [PATCH v6 3/7] KVM: MMU: fast invalidate all pages

2013-05-21 Thread Gleb Natapov
On Tue, May 21, 2013 at 11:36:57AM +0800, Xiao Guangrong wrote: > > So its better to just > > > > if (need_resched()) { > > kvm_mmu_complete_zap_page(&list); > > is kvm_mmu_commit_zap_page()? > Also we need to check that someone waits on mmu_lock before entering here. > > cond_resched_

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Or Gerlitz
On Tue, May 21, 2013 at 11:39 AM, David Miller wrote: > It's one of those "implementation details", I hate it too. Maybe if we bake it on this list little further we can see how to get away from that, or what's the most non ugly way for that? -- To unsubscribe from this list: send the line "unsu

[PATCH V3 0/2] Add DT support for tps6507x touchscreen

2013-05-21 Thread Vishwanathrao Badarkhe, Manish
Patch set adds DT support for tps6507x based touchscreen. Also, add DT data for tps6507x touchscreen in da850-evm by providing touchscreen node inside tps6507x mfd device. This patch series applies on top of linux-next tree and depends on [1]. [1]tps6507x-ts: update to devm_* API https://patch

[PATCH V3 1/2] tps6507x-ts: Add DT support

2013-05-21 Thread Vishwanathrao Badarkhe, Manish
Add device tree based support for TI's tps6507x touchscreen. Tested on da850-evm. Signed-off-by: Vishwanathrao Badarkhe, Manish --- Changes since V2: - Removed unnecessary code. - Updated Documentation to provide proper names of devicetree properties. Changes since V1: - Updated documenta

[PATCH V3 2/2] ARM: davinci: da850: add tps6507x touchscreen DT data

2013-05-21 Thread Vishwanathrao Badarkhe, Manish
Add tps6507x touchscreen DT node to da850-evm. Touchscreen DT data is added as per da850 board file. Tested on da850-evm. Signed-off-by: Vishwanathrao Badarkhe, Manish --- Changes since V2: - Updated names of devicetree properties. Changes since V1: - Updated commit message. :100644 100644 c9

Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-21 Thread Gu Zheng
On 05/21/2013 04:26 PM, Libo Chen wrote: > On 2013/5/21 16:00, Gu Zheng wrote: >> On 05/21/2013 02:41 PM, Thomas Petazzoni wrote: >> >>> Dear David Miller, >>> >>> On Mon, 20 May 2013 23:26:19 -0700 (PDT), David Miller wrote: From: Libo Chen Date: Tue, 21 May 2013 10:42:00 +0800 >>

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-21 Thread Will Deacon
On Tue, May 21, 2013 at 05:06:52AM +0100, Chen Gang wrote: > On 05/20/2013 05:56 PM, Will Deacon wrote: > > Should be ok once the arch timer driver has moved exclusively to virtual > > time. I'm also not sure we even need to implement read_current_timer() -- > > it's only used for delay-loop calibr

Re: Drop WARN on AMD lack of perfctrs

2013-05-21 Thread Robert Richter
On 17.05.13 12:57:30, Peter Zijlstra wrote: > > So what about something like the below? See my comments below, otherwise it looks fine to me. There is the question about core performance counters and its constraints on fam16h. Not sure if there are any. Cc'ing Jacob. -Robert > > --- > arch/x

Re: [GIT PULL v2] MFD: Fixes due for the v3.10 -rc:s

2013-05-21 Thread Samuel Ortiz
Hi Fabio, On Fri, May 17, 2013 at 09:51:40AM +0200, Fabio Baltieri wrote: > Hello Samuel, > > On Fri, May 17, 2013 at 12:43:37AM +0200, Samuel Ortiz wrote: > > > Fabio Baltieri (5): > > > mfd: abx500-core: Fix sparse warning > > > mfd: ab8500-sysctrl: Fix sparse warning > > > mf

Re: [RFC PATCH 6/8] kthread: Enable parking requests from setup() and unpark() callbacks

2013-05-21 Thread anish singh
On Tue, May 21, 2013 at 1:19 PM, Srivatsa S. Bhat wrote: > On 05/21/2013 11:04 AM, anish singh wrote: >> On Mon, May 20, 2013 at 9:31 PM, Frederic Weisbecker >> wrote: >>> When the watchdog code is boot-disabled by the user, for example >>> through the 'nmi_watchdog=0' boot option, the setup() c

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-21 Thread Marc Zyngier
On 21/05/13 09:41, Chen Gang wrote: > On 05/21/2013 02:13 PM, Marc Zyngier wrote: >> On Tue, 21 May 2013 12:06:52 +0800, Chen Gang >> wrote: >>> On 05/20/2013 05:56 PM, Will Deacon wrote: On Mon, May 20, 2013 at 08:15:04AM +0100, Marc Zyngier wrote: > On Mon, 20 May 2013 14:48:05 +0800, C

Re: [PATCH] ARM: bcm2835: override the HW UART periphid

2013-05-21 Thread Gordon Hollingworth
Have checked with the designer of the UART block and he confirmed that the 2835 PL011 contains a 16 deep fifo not 32 deep... Hardware guys, they can never just leave it alone!!! Gordon On 21 May 2013 07:07, Jongsung Kim wrote: > Jongsung Kim : >> diff --git a/arch/arm/boot/dts/bcm2835.dtsi > b

Re: [PATCH] PowerPC: kernel: need return the related error code when failure occurs.

2013-05-21 Thread Chen Gang
On 05/21/2013 04:10 PM, Paul Mackerras wrote: > On Tue, May 21, 2013 at 01:48:58PM +0800, Chen Gang wrote: >> > >> > When error occurs, need return the related error code to let upper >> > caller know about it. >> > >> > ppc_md.nvram_size() can return the error code (e.g. core99_nvram_size() >> >

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-21 Thread Will Deacon
On Tue, May 21, 2013 at 08:51:39AM +0100, Chen Gang wrote: > On 05/21/2013 02:57 PM, Geert Uytterhoeven wrote: > > On Tue, May 21, 2013 at 5:15 AM, Chen Gang wrote: > >>> >> I think it would be better if we added a something like > >>> >> CONFIG_HAVE_VGA_CONSOLE, which VGA_CONSOLE can then depend

Re: [Alsa-devel] add support for syba 7.1 surround sound card

2013-05-21 Thread Clemens Ladisch
good1.2...@gmail.com wrote: > Summary: add support for syba 7.1 surround sound card > Keywords: syba via VT1723 Tremor > Kernel: 3.8.8-203.fc18.x86_64 What are these three lines for? > add support for syba 7.1 surround sound card > actually the card only has 6 dmas, so it is really only 5.1 The

Re: [PATCH] Change internal SRAM memory type to "MT_MEMORY_SO"

2013-05-21 Thread Nicolas Ferre
On 20/05/2013 03:05, Wenyou Yang : Hi Russell, Wenyou, In fact this patch is targeted for myself and not Russell. It will join mainline using arm-soc git tree which is managed by Arnd and Olof. This patch is to change the internal SRAM memory type to "MT_MEMORY_SO", the right type. It tes

Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-21 Thread Thomas Petazzoni
Dear Gu Zheng, On Tue, 21 May 2013 16:00:19 +0800, Gu Zheng wrote: > > Or, maybe make the existing module_platform_driver() macro do this? > > But not all the modules use module_platform_driver() macro to replace the > module init/exit. Then maybe it's a good opportunity to convert those ones

Re: [PATCH] ARM: at91: Fix: Change internal SRAM memory type to "MT_MEMORY_SO"

2013-05-21 Thread Nicolas Ferre
On 20/05/2013 03:06, Wenyou Yang : Signed-off-by: Wenyou Yang Acked-by: Nicolas Ferre And stacked on at91-3.10-fixes. Best regards, --- arch/arm/mach-at91/setup.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-at91/setup.c b/arch/arm/mach-at91/setu

Re: [RFC PATCH 6/8] kthread: Enable parking requests from setup() and unpark() callbacks

2013-05-21 Thread Srivatsa S. Bhat
On 05/21/2013 02:28 PM, anish singh wrote: > On Tue, May 21, 2013 at 1:19 PM, Srivatsa S. Bhat > wrote: >> On 05/21/2013 11:04 AM, anish singh wrote: >>> On Mon, May 20, 2013 at 9:31 PM, Frederic Weisbecker >>> wrote: When the watchdog code is boot-disabled by the user, for example thr

Re: [GIT PULL v2] MFD: Fixes due for the v3.10 -rc:s

2013-05-21 Thread Fabio Baltieri
Hi Samuel, On Tue, May 21, 2013 at 10:56:50AM +0200, Samuel Ortiz wrote: > Hi Fabio, > > On Fri, May 17, 2013 at 09:51:40AM +0200, Fabio Baltieri wrote: > > Hello Samuel, > > > > On Fri, May 17, 2013 at 12:43:37AM +0200, Samuel Ortiz wrote: > > > > Fabio Baltieri (5): > > > > mfd: abx500-c

Re: [PATCH RFC 06/48] Audit: make kauditd_task per user namespace

2013-05-21 Thread Gao feng
On 05/07/2013 10:20 AM, Gao feng wrote: > + if (ns->audit.kauditd_task) > + kthread_stop(ns->audit.kauditd_task); This is buggy,will trigger warning scheduling while atomic: I will take care this problem. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" i

Re: [PATCH RFC 00/48] Add namespace support for audit

2013-05-21 Thread Gao feng
On 05/07/2013 10:20 AM, Gao feng wrote: > This patchset try to add namespace support for audit. > > I choose to assign audit to the user namespace. > Right now,there are six kinds of namespaces, such as > net, mount, ipc, pid, uts and user. the first five > namespaces have special usage. the audit

[PATCH] rcu: fix a race in hlist_nulls_for_each_entry_rcu macro

2013-05-21 Thread Roman Gushchin
Hi, all! This is a fix for a problem described here: https://lkml.org/lkml/2013/4/16/371 . --- Some network functions (udp4_lib_lookup2(), for instance) use the hlist_nulls_for_each_entry_rcu macro in a way that assumes restarting of a loop. In this case, it is strictly necessary to reread the h

Re: [PATCH 2/5] perf: Reorder parameters of strglobmatch

2013-05-21 Thread Arnaldo Carvalho de Melo
Em Fri, May 17, 2013 at 11:21:11AM +0900, Masami Hiramatsu escreveu: > (2013/05/16 23:55), Steven Rostedt wrote: > > I'm a bit confused to the rational here. Can you explain in more detail > > to why this patch is actually needed? > Yes, actually, this patch is not needed from the viewpoint of ex

[PATCH v2] PowerPC: kernel: need return the related error code when failure occurs

2013-05-21 Thread Chen Gang
When error occurs, need return the related error code to let upper caller know about it. ppc_md.nvram_size() can return the error code (e.g. core99_nvram_size() in 'arch/powerpc/platforms/powermac/nvram.c'). Also set ret value when only need it, so can save structions for normal cases. The orig

Re: [PATCH v2] ext4: Avoid unnecessarily writing back dirty pages before hole punching

2013-05-21 Thread Jan Kara
On Mon 20-05-13 17:04:35, Li Wang wrote: > For hole punching, currently ext4 will synchronously write back the > dirty pages fit into the hole, since the data on the disk responding > to those pages are to be deleted, it is benefical to directly release > those pages, no matter they are dirty or no

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-21 Thread Chen Gang
On 05/21/2013 04:58 PM, Marc Zyngier wrote: > I think you should try to implement Will's suggestion and drop > read_current_timer (and the ARCH_HAS_READ_CURRENT_TIMER macro) altogether. > > It would be a much better fix. OK, thanks. I will send patch v2. -- Chen Gang Asianux Corporation -- To

Re: [PATCH] arm64: kernel: compiling issue, need 'EXPORT_SYMBOL_GPL(read_current_timer)'

2013-05-21 Thread Chen Gang
On 05/21/2013 04:53 PM, Will Deacon wrote: > On Tue, May 21, 2013 at 05:06:52AM +0100, Chen Gang wrote: >> On 05/20/2013 05:56 PM, Will Deacon wrote: >>> Should be ok once the arch timer driver has moved exclusively to virtual >>> time. I'm also not sure we even need to implement read_current_timer

Re: [PATCH v3 0/2] dma: support Lynxpoint DMA

2013-05-21 Thread Andy Shevchenko
On Tue, 2013-05-14 at 10:24 +0530, Vinod Koul wrote: > On Wed, May 08, 2013 at 11:55:47AM +0300, Andy Shevchenko wrote: > > This is the rest of patch series related to ACPI DMA helpers and Lynxpoint > > DMAC. > > Patches are rebased against current Linus' tree and Vinod's branch > > for-linus. >

[PATCH v2] arm64: kernel: compiling issue, need delete read_current_timer().

2013-05-21 Thread Chen Gang
Under arm64, we will calibrate the delay loop statically using a known timer frequency, so delete read_current_timer(), or it will cause compiling issue with allmodconfig. The related error: ERROR: "read_current_timer" [lib/rbtree_test.ko] undefined! ERROR: "read_current_timer" [lib/interval_

Re: mount --no-canonical seems broken.

2013-05-21 Thread Karel Zak
On Mon, May 20, 2013 at 04:30:21PM -0700, Linda Walsh wrote: > widely known as "df" or "mount". > > I might point out that by default, > > findmnt / > > TARGET SOURCEFSTYPE OPTIONS > / /dev/root xfsrw,nodiratime,relatime,attr2,inode64,noquota > > > l /dev/root > ls: cannot access /d

Re: Re: [PATCH 2/5] perf: Reorder parameters of strglobmatch

2013-05-21 Thread Masami Hiramatsu
(2013/05/21 18:19), Arnaldo Carvalho de Melo wrote: > Em Fri, May 17, 2013 at 11:21:11AM +0900, Masami Hiramatsu escreveu: >> (2013/05/16 23:55), Steven Rostedt wrote: >>> I'm a bit confused to the rational here. Can you explain in more detail >>> to why this patch is actually needed? > >> Yes, a

Re: [PATCH 00/19] driver:usb&net: add missing platform_driver owner

2013-05-21 Thread Libo Chen
On 2013/5/21 17:06, Thomas Petazzoni wrote: > Dear Gu Zheng, > > On Tue, 21 May 2013 16:00:19 +0800, Gu Zheng wrote: > >>> Or, maybe make the existing module_platform_driver() macro do this? >> >> But not all the modules use module_platform_driver() macro to replace the >> module init/exit. > >

Re: [PATCH 0/2] PM / OPP: updates to enable sharing OPPs info

2013-05-21 Thread Sudeep KarkadaNagesha
Hi Rob, Grant, On 01/05/13 12:11, Sudeep KarkadaNagesha wrote: > From: Sudeep KarkadaNagesha > > These are couple of updates to existing PM/OPP library to support > sharing of OPPs between different device nodes. > > Currently all the cpu nodes are parsed until the OPPs are found. This > is ess

[PATCH 0/2] Set ab8500-codec dai slots from machine drivers

2013-05-21 Thread Fabio Baltieri
Hi Mark, these two patches rework the slot selection code in ab8500-codec to use the slots masks provided by the machine drivers instead of the hardcoded ones as suggested. The patches replaces some of the previous macros with a parametrized version in the effort of making the actual code compact

[PATCH 1/2] ASoC: ab8500-codec: Set tx dai slots from tx_mask

2013-05-21 Thread Fabio Baltieri
Replace hard-coded tx slot numbers from ab8500_codec_set_dai_tdm_slot using the ones requested by the machine driver in tx_mask instead. Signed-off-by: Fabio Baltieri --- sound/soc/codecs/ab8500-codec.c | 31 +++ sound/soc/codecs/ab8500-codec.h | 7 +++ 2 files c

[PATCH 2/2] ASoC: ab8500-codec: Set rx dai slots from rx_mask

2013-05-21 Thread Fabio Baltieri
Replace hard coded rx slot numbers from ab8500_codec_set_dai_tdm_slot using the ones requested by the machine driver in rx_mask instead. Signed-off-by: Fabio Baltieri --- sound/soc/codecs/ab8500-codec.c | 29 - sound/soc/codecs/ab8500-codec.h | 35 +++-

Re: [Xen-devel] [PATCH] xen: reuse the same pirq allocated when driver load first time

2013-05-21 Thread David Vrabel
On 20/05/13 21:38, Konrad Rzeszutek Wilk wrote: >> At this point I think that upstream option is to save the PIRQ value and >> re-use it. >> Will post a patch for it. > > Here is the patch. It works for me when passing in a NIC driver. > >>From 509499568d1cdf1f2a3fb53773c991f4b063eb56 Mon Sep 17

Re: Would like to form a pool of Linux copyright holders for faster GPL enforcement against Anthrax Kernels

2013-05-21 Thread Rob Landley
On 05/18/2013 01:27:21 PM, luke.leighton wrote: On Sat, May 18, 2013 at 8:24 AM, Eric Appleman wrote: > Would anyone be interested in forming such a pool? count me in. > Last I checked, I have 1 long-time poster of this list on board. Would > anyone else like to join? Ideally I'd like to

Re: [RFC PATCH 02/02] swapon: add "cluster-discard" support

2013-05-21 Thread Karel Zak
On Mon, May 20, 2013 at 09:04:25PM -0300, Rafael Aquini wrote: > - while ((c = getopt_long(argc, argv, "ahdefp:svVL:U:", > + while ((c = getopt_long(argc, argv, "ahcdefp:svVL:U:", > long_opts, NULL)) != -1) { > switch (c) { > case 'a

Re: [PATCH] arm64: kernel: need extern variable 'screen_info' for related driver using.

2013-05-21 Thread Chen Gang
On 05/21/2013 05:03 PM, Will Deacon wrote: > On Tue, May 21, 2013 at 08:51:39AM +0100, Chen Gang wrote: >> On 05/21/2013 02:57 PM, Geert Uytterhoeven wrote: >>> On Tue, May 21, 2013 at 5:15 AM, Chen Gang wrote: >>> I think it would be better if we added a something like >>> CONFIG_HAVE_VGA

Re: [PATCH v4] clocksource: add Vybrid Family pit timer support

2013-05-21 Thread Daniel Lezcano
On 05/21/2013 09:27 AM, Jingchang Lu wrote: > Add Freescale Vybrid Family period interrupt timer support. > > Signed-off-by: Jingchang Lu > --- > v4: > use family name names driver and symbol instead of SoC name. > remove redundant code. > use BUG_ON instead of WARN_ON. > add necessory co

Re: [PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-21 Thread Peter Stuge
Are you changing the code to have HOTPLUG always -on- or -off- ? From the commit message I had expected always -on-. Stephen Rothwell wrote: > --- a/include/asm-generic/vmlinux.lds.h > +++ b/include/asm-generic/vmlinux.lds.h > @@ -68,14 +68,6 @@ > * are handled as text/data or they can be disc

Re: [PATCH] Finally eradicate CONFIG_HOTPLUG

2013-05-21 Thread Mauro Carvalho Chehab
Em Tue, 21 May 2013 13:49:35 +1000 Stephen Rothwell escreveu: > Ever since commit 45f035ab9b8f ("CONFIG_HOTPLUG should be always on"), > it has been basically impossible to build a kernel with CONFIG_HOTPLUG > turned off. Remove all the remaining references to it. > > Cc: linux-a...@vger.kernel

Re: [RFC PATCH 02/02] swapon: add "cluster-discard" support

2013-05-21 Thread Karel Zak
On Mon, May 20, 2013 at 09:02:43PM -0400, KOSAKI Motohiro wrote: > > - if (fl_discard) > > + if (fl_discard) { > > flags |= SWAP_FLAG_DISCARD; > > + if (fl_discard > 1) > > + flags |= SWAP_FLAG_DISCARD_CLUSTER; > > This is not enough, IMHO. When running

[PATCH] tty: mxser: fix usage of opmode_ioaddr

2013-05-21 Thread Matwey V. Kornilov
From: Matwey V. Kornilov mxser_port->opmode_ioaddr is initialized only for MOXA_MUST_MU860_HWID chips, but no precautions have been undertaken to prevent reading and writing to undefined port number. Signed-off-by: Matwey V. Kornilov --- diff --git a/drivers/tty/mxser.c b/drivers/tty/mxser

Re: [PATCH v3 net-next 3/4] ixgbe: Add support for ndo_ll_poll

2013-05-21 Thread Eliezer Tamir
On 21/05/2013 11:43, Or Gerlitz wrote: On Tue, May 21, 2013 at 11:39 AM, David Miller wrote: It's one of those "implementation details", I hate it too. Maybe if we bake it on this list little further we can see how to get away from that, or what's the most non ugly way for that? I'm all fo

Re: [Xen-devel] Bye bye Mr tmem guy

2013-05-21 Thread Daniel Kiper
On Mon, May 20, 2013 at 08:51:47AM -0700, Dan Magenheimer wrote: > Hi Linux kernel folks and Xen folks -- > > Effective July 5, I will be resigning from Oracle and "retiring" > for a minimum of 12-18 months and probably/hopefully much longer. > Between now and July 5, I will be tying up loose ends

[PATCH 0/4] gpio-langwell: bugfix and amendments

2013-05-21 Thread Andy Shevchenko
There is locking bug fix and few amendments. Each commit message verbose enoough I think. Andy Shevchenko (4): gpio-langwell: initialize lock before usage gpio-langwell: amend error messages gpio-langwell: do not use direct access to iomapped memory gpio-langwell: use managed functions pci

[PATCH 4/4] gpio-langwell: use managed functions pcim_* and devm_*

2013-05-21 Thread Andy Shevchenko
This makes the error handling much more simpler than open-coding everything and in addition makes the probe function smaller an tidier. Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-langwell.c | 78 1 file changed, 20 insertions(+), 58 deletion

[PATCH 1/4] gpio-langwell: initialize lock before usage

2013-05-21 Thread Andy Shevchenko
Otherwise we will end up with traceback from LOCKDEP: INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-rc2-next-20130521-00028-g09aa9fc #487

[PATCH 2/4] gpio-langwell: amend error messages

2013-05-21 Thread Andy Shevchenko
Instead of hardcoded names let's use __func__ macro. Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-langwell.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/gpio/gpio-langwell.c b/drivers/gpio/gpio-langwell.c index c1f33dd..ab797cc 100644 --- a/drivers/gp

[PATCH 3/4] gpio-langwell: do not use direct access to iomapped memory

2013-05-21 Thread Andy Shevchenko
We better to use readl() function instead of bad looking direct access. Signed-off-by: Andy Shevchenko --- drivers/gpio/gpio-langwell.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/drivers/gpio/gpio-langwell.c b/drivers/gpio/gpio-langwell.c index ab797cc..652c

Re: [PATCH] mm: vmscan: add BUG_ON on illegal return values from scan_objects

2013-05-21 Thread Dave Chinner
On Mon, May 20, 2013 at 11:14:27AM +0200, Oskar Andero wrote: > Add a BUG_ON to catch any illegal value from the shrinkers. This fixes a > potential bug if scan_objects returns a negative other than -1, which > would lead to undefined behaviour. > > Cc: Glauber Costa > Cc: Dave Chinner > Cc: And

[RFC PATCH v2 3/4] usb: xhci: add USB2 Link power management BESL support

2013-05-21 Thread Mathias Nyman
usb 2.0 devices with link power managment (LPM) can describe their idle link timeouts either in BESL or HIRD format, so far xHCI has only supported HIRD but later xHCI errata add BESL support as well BESL timeouts need to inform exit latency changes with an evaluate context command the same way US

[RFC PATCH v2 4/4] usb: add usb2 Link PM variables to sysfs and usb_device

2013-05-21 Thread Mathias Nyman
Adds abitilty to tune L1 timeout (inactivity timer for usb2 link sleep) and BESL (best effort service latency)via sysfs. This also adds a new usb2_lpm_parameters structure with those variables to struct usb_device. Signed-off-by: Mathias Nyman --- drivers/usb/core/sysfs.c | 54 +++

  1   2   3   4   5   6   >