Re: [PATCH v2] of_mdio: fix phy interrupt passing

2014-02-19 Thread Sergei Shtylyov
Hello. On 19-02-2014 3:13, David Miller wrote: The of_mdiobus_register_phy() is not setting phy->irq thus causing some drivers to incorrectly assume that the PHY does not have an IRQ associated with it. Not only do some drivers report no IRQ they do not install an interrupt handler for the

Re: [PATCH 2/6] seqno-fence: Hardware dma-buf implementation of fencing (v4)

2014-02-19 Thread Maarten Lankhorst
op 17-02-14 19:41, Christian König schreef: Am 17.02.2014 19:24, schrieb Rob Clark: On Mon, Feb 17, 2014 at 12:36 PM, Christian König wrote: Am 17.02.2014 18:27, schrieb Rob Clark: On Mon, Feb 17, 2014 at 11:56 AM, Christian König wrote: Am 17.02.2014 16:56, schrieb Maarten Lankhorst:

Re: [PATCH] kvm: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Paolo Bonzini
Il 19/02/2014 11:15, Alexander Gordeev ha scritto: As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces.

[sctp] ef2820a735: -50% netperf Throughput_Mbps

2014-02-19 Thread Fengguang Wu
Hi Matija, We noticed the below changes on commit ef2820a735f74ea60335f8ba3801b844f0cb184d (" net: sctp: Fix a_rwnd/rwnd management to reflect real state of the receiver's buffer") in netperf SCTP_STREAM tests: cd0f0b95fd2cd2b ef2820a735f74ea60335f8ba3 ---

Re: [PATCH] bcache: fix NULL pointer deref in blk_add_request_payload

2014-02-19 Thread Lars Ellenberg
On Wed, Feb 19, 2014 at 01:07:14PM +, Lars Ellenberg wrote: > bch_generic_make_request_hack() tries to be smart, > and fake a bi_max_bvecs = bi_vcnt. I meant to include a cover letter with the Oops backtrace, and this: Note that this patch is relevant for 3.13 and before. With 3.14, this

[PATCH] bcache: fix NULL pointer deref in blk_add_request_payload

2014-02-19 Thread Lars Ellenberg
bch_generic_make_request_hack() tries to be smart, and fake a bi_max_bvecs = bi_vcnt. If those bios have been REQ_DISCARD, and get submitted to a driver (md raid) that uses bio_clone, the clone will end up with bi_io_vec == NULL, passed down the stack, end up in sd_prep_fn and

Re: [PATCH v3] sched/deadline: Fix bad accounting of nr_running

2014-02-19 Thread Juri Lelli
On 02/19/2014 11:32 AM, Juri Lelli wrote: > On 02/19/2014 09:46 AM, Peter Zijlstra wrote: >> On Tue, Feb 18, 2014 at 09:50:12PM -0500, Steven Rostedt wrote: >>> Rationale for this odd behavior is that, when a task is throttled, it is removed only from the dl_rq, but we keep it on_rq

[vfs] 73c12e50a: +13349.5% softirqs.RCU

2014-02-19 Thread Fengguang Wu
Hi Eric, FYI, we noticed the below changes on commit 73c12e50af3a756137071c1e1c1e99cffcbaa835 ("vfs: Lazily remove mounts on unlinked files and directories."): test case: dbench 5c39777e797e7ba 73c12e50af3a756137071c1e1 --- - 6.22 ~ 0%

[PATCH] perf/x86/uncore: Fix IVT/SNB-EP uncore CBOX NID filter table

2014-02-19 Thread Stephane Eranian
This patch updates the CBOX PMU filters mapping tables for SNB-EP and IVT (model 45 and 62 respectively). The NID umask always comes in addition to another umask. When set, the NID filter is applied. The current mapping tables were missing some code/umask combinations to account for the NID

Re: [PATCH 04/15] regulator: max8973: Remove redundant error message

2014-02-19 Thread Mark Brown
On Tue, Feb 18, 2014 at 04:11:00PM +0530, Sachin Kamat wrote: > kzalloc prints its own OOM message upon failure. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 02/15] regulator: ti-abb: Do not hardcode return value

2014-02-19 Thread Mark Brown
On Tue, Feb 18, 2014 at 04:10:58PM +0530, Sachin Kamat wrote: > Propagate the error value returned by the function instead. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH 03/15] regulator: ti-abb: Remove redundant error message

2014-02-19 Thread Mark Brown
On Tue, Feb 18, 2014 at 04:10:59PM +0530, Sachin Kamat wrote: > kzalloc prints its own OOM message upon failure. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-19 Thread Mark Brown
On Wed, Feb 19, 2014 at 11:09:40AM +0100, Krzysztof Kozlowski wrote: > I can't only find a way to set this from DTS. There are no bindings for > regulation_constraints->state_{disk,mem,standby}. > Should the driver set manually after obtaining init_data from DTS? Someone should work out a

Re: [PATCH] regulator: da9052: Add ramp speed information for the DVC regulators

2014-02-19 Thread Mark Brown
On Thu, Feb 06, 2014 at 03:35:21PM +0100, Philipp Zabel wrote: > Some LDOs and DCDCs have a fixed ramp speed of 6.25 mV/µs. This patch adds > the set_voltage_time_sel function to let consumers know about this. Applied, thanks. signature.asc Description: Digital signature

Re: [RFC PATCH v2 1/2] mfd: syscon: Support early initialization

2014-02-19 Thread Mark Brown
On Wed, Feb 19, 2014 at 12:44:50PM +0100, Michal Simek wrote: > On 02/19/2014 12:41 PM, Lee Jones wrote: > > I believe you were waiting for Arnd and/or Mark to comment. > yes on Arnd because Mark already applied that regmap part. > But of course any input how to get this done will be helpful.

Re: [Devel] ACPI: Also allow ACPI table adding via initrd not only overriding

2014-02-19 Thread Thomas Gleixner
On Wed, 19 Feb 2014, Thomas Renninger wrote: > On Tuesday, February 18, 2014 07:59:17 PM Moore, Robert wrote: > > Maybe not exactly "running", but at the very least, ACPICA must be > > initialized. > > > > All of this of course depends on how early the table needs to be loaded. > > I'd say as

Re: locking changes in tty broke low latency feature

2014-02-19 Thread Stanislaw Gruszka
Hello, On Tue, Feb 18, 2014 at 05:12:13PM -0500, Peter Hurley wrote: > On 02/18/2014 04:38 AM, Stanislaw Gruszka wrote: > >Hi, > > > >setserial has low_latency option which should minimize receive latency > >(scheduler delay). AFAICT it is used if someone talk to external device > >via

Re: [PATCH v3 2/4] of: reimplement the matching method for __of_match_node()

2014-02-19 Thread Grant Likely
On Wed, 19 Feb 2014 16:15:45 +0800, Kevin Hao wrote: > In the current implementation of __of_match_node(), it will compare > each given match entry against all the node's compatible strings > with of_device_is_compatible(). > > To achieve multiple compatible strings per node with ordering from >

Re: [PATCH 3.13 39/40] intel_pstate: Take core C0 time into account for core busy calculation

2014-02-19 Thread Stefan Lippers-Hollmann
Hi On Tuesday 18 February 2014, Greg Kroah-Hartman wrote: > 3.13-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Dirk Brandewie > > commit fcb6a15c2e7e76d493e6f91ea889ab40e1c643a4 upstream. > > Take non-idle time into account when

Re: [PATCH v3 2/4] of: reimplement the matching method for __of_match_node()

2014-02-19 Thread Grant Likely
On Wed, 19 Feb 2014 16:15:45 +0800, Kevin Hao wrote: > In the current implementation of __of_match_node(), it will compare > each given match entry against all the node's compatible strings > with of_device_is_compatible(). > > To achieve multiple compatible strings per node with ordering from >

From Mrs. Tan Ruby

2014-02-19 Thread Mrs. Tan Ruby
As you read this letter, please don't feel bad, because I believe everyone will die some day. My name is Mrs. Tan Ruby I have been suffering from ovarian cancer Disease and the doctor says that I have just few days to live on earth. I am From Singapore, but based in Burkina Faso, Africa since for

Re: [workqueue] BUG: unable to handle kernel paging request at ffff880000798f60

2014-02-19 Thread Peter Zijlstra
On Wed, Feb 19, 2014 at 08:41:22PM +0800, Fengguang Wu wrote: > Greetings, > > I got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git > > commit 84604340d034a074036e86e85c4055a1c7ea5529 > Author: Peter Zijlstra > AuthorDate: Tue Feb 11

RE: [PATCH net-next 12/14] r8152: replace netif_rxwithnetif_receive_skb

2014-02-19 Thread hayeswang
Francois Romieu [mailto:rom...@fr.zoreil.com] > Sent: Wednesday, February 19, 2014 3:47 PM > To: hayeswang > Cc: net...@vger.kernel.org; nic_s...@realtek.com; > linux-kernel@vger.kernel.org; linux-...@vger.kernel.org > Subject: Re: [PATCH net-next 12/14] r8152: replace >

Re: [PATCH v3 02/15] mfd: max14577: Rename and add MAX14577 symbols to prepare for max77836

2014-02-19 Thread Krzysztof Kozlowski
Dear Mark, Dmitry, David and Anton, I want to push whole MAX77836 patchset through Lee Jones' MFD tree and I still need acks from power and regulator subsystems. I would appreciate if you could find time to look at these patches and let me know your opinion (or just add Acked-by): [PATCH v3

[PATCH Resend] Expose do_timer CPU via sysctl to userspace as R/W

2014-02-19 Thread henrik
From: Henrik Austad Looks like this got dropped by vger a few days ago, resending. This allows everybody in a system to read which core is currently running do_timer() as well as letting root change this. A few things to keep in mind - This is intended as a debug-feature, except for testing

Re: [PATCH] atm: libahci: replace obselete simple_strtoul() with kstrtouint()

2014-02-19 Thread Sergei Shtylyov
Hello. On 19-02-2014 10:05, David Miller wrote: From 18bd7236f36a248a0871f810cec3c1e98f098a91 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Wed, 19 Feb 2014 13:44:24 +0900 Subject: [PATCH] atm: libahci: replace obselete simple_strtoul() with kstrtouint() Signed-off-by: Daeseok Youn

Re: [PATCH v3 3/6] drivers: of: implement reserved-memory handling for dma

2014-02-19 Thread Marek Szyprowski
Hello, On 2014-02-18 17:58, Grant Likely wrote: On Tue, 18 Feb 2014 14:37:58 +0100, Marek Szyprowski wrote: > From: Josh Cartwright > > Add support for handling 'shared-dma-pool' reserved-memory nodes using > dma exclusive driver (dma_alloc_coherent()). > > Signed-off-by: Josh Cartwright >

Re: [PATCH] ata: libahci: make ahci_pmp_retry_softreset() as static

2014-02-19 Thread Sergei Shtylyov
Hello. On 19-0202014 9:07, Daeseok Youn wrote: From 2a428e5e45bca3fc38fad17b9e2e14c5e6514ca0 Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Wed, 19 Feb 2014 10:56:37 +0900 Subject: [PATCH] ata: libahci: make ahci_pmp_retry_softreset() as static This header is not needed. sparse

Re: [PATCH 1/2] usb: dwc3: core: continue probing if usb phy library returns -ENODEV/-ENXIO

2014-02-19 Thread Roger Quadros
Hi, On 02/12/2014 11:46 AM, Kishon Vijay Abraham I wrote: > On Wednesday 29 January 2014 08:17 PM, Heikki Krogerus wrote: >> Hi, >> >> On Tue, Jan 28, 2014 at 10:30:36AM -0600, Felipe Balbi wrote: >>> On Tue, Jan 28, 2014 at 05:32:30PM +0200, Heikki Krogerus wrote: On Mon, Jan 27, 2014 at

Re: [sched] BUG: unable to handle kernel NULL pointer dereference at 00000040

2014-02-19 Thread Peter Zijlstra
On Wed, Feb 19, 2014 at 08:21:32PM +0800, Fengguang Wu wrote: > Greetings, > > I got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched/core > > commit 38033c37faab850ed5d33bb675c4de6c66be84d8 > Author: Peter Zijlstra >

Re: [Xen-devel] [PATCH net-next v5 2/9] xen-netback: Change TX path from grant copy to mapping

2014-02-19 Thread David Vrabel
On 19/02/14 09:54, Ian Campbell wrote: > On Tue, 2014-02-18 at 18:46 +, David Vrabel wrote: >> On 18/02/14 17:40, Ian Campbell wrote: >>> On Mon, 2014-01-20 at 21:24 +, Zoltan Kiss wrote: @@ -344,8 +346,26 @@ struct xenvif *xenvif_alloc(struct device *parent, domid_t domid,

[patch]blk-mq: remove obsolete comments

2014-02-19 Thread Shaohua Li
We now have blk_mq_stop/start_queues API, delete the obsolete comments. Signed-off-by: Shaohua Li --- block/blk-mq.c |5 - 1 file changed, 5 deletions(-) Index: linux/block/blk-mq.c === --- linux.orig/block/blk-mq.c

[patch]blk-mq: add REQ_SYNC early

2014-02-19 Thread Shaohua Li
Add REQ_SYNC early, so rq_dispatched[] in blk_mq_rq_ctx_init is set correctly. Signed-off-by: Shaohua Li --- block/blk-mq.c |2 ++ 1 file changed, 2 insertions(+) Index: linux/block/blk-mq.c === --- linux.orig/block/blk-mq.c

Re: [PATCH v7 4/8] ARM: sunxi: Add driver for SD/MMC hosts found on Allwinner sunxi SoCs

2014-02-19 Thread Hans de Goede
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On 02/19/2014 10:46 AM, Maxime Ripard wrote: > Hi Hans, > > On Tue, Feb 18, 2014 at 09:49:21PM +0100, Hans de Goede wrote: >> Hi, >> >> On 02/18/2014 04:37 PM, Maxime Ripard wrote: >> >> >> + +for (i = 0; i < data->sg_len; i++)

Re: [PATCH 3/3] ahci: st: Add support for ST's SATA IP

2014-02-19 Thread Lee Jones
> >> Cc: Tejun Heo > >> Cc: linux-...@vger.kernel.org > >> Signed-off-by: Lee Jones > > > > Please consider basing it on top of Hans' refactored ahci_platform. > > > > http://www.spinics.net/lists/linux-ide/msg47628.html > > Which reminds I must test the version I've rebased on top of

Re: Does it need to implement irq_set_type method in the ioapic_chip?

2014-02-19 Thread Thomas Gleixner
On Wed, 19 Feb 2014, carl peng wrote: > At last, the device will be connected to AMBA bus, so the interrupt > pin will be connected to IOAPIC through AMBA bus. The device now > is in the pre-silicon verification stage. > > So my question is the same: > Why does APIC driver not implement the

Re: [BUG] sched: tip/master show panic while booting/rebooting

2014-02-19 Thread Peter Zijlstra
On Wed, Feb 19, 2014 at 11:12:11AM +0800, Michael wang wrote: > On 02/18/2014 07:22 PM, Peter Zijlstra wrote: > > On Tue, Feb 18, 2014 at 01:12:03PM +0800, Michael wang wrote: > >> Hi, Folks > >> > >> Got below panic while testing tip/master on x86 box, it randomly > >> occur while booting or

Re: [PATCH 3/3] ahci: st: Add support for ST's SATA IP

2014-02-19 Thread Hans de Goede
Hi, On 02/19/2014 12:36 AM, Tejun Heo wrote: > On Mon, Feb 17, 2014 at 12:56:58PM +, Lee Jones wrote: >> Cc: Tejun Heo >> Cc: linux-...@vger.kernel.org >> Signed-off-by: Lee Jones > > Please consider basing it on top of Hans' refactored ahci_platform. > >

[PATCH RT] kernel/hrtimer: be non-freezeable in cpu_chill()

2014-02-19 Thread Sebastian Andrzej Siewior
Since we replaced msleep() by hrtimer I see now and then (rarely) this: | [] Waiting for /dev to be fully populated... | = | [ BUG: udevd/229 still has locks held! ] | 3.12.11-rt17 #23 Not tainted | - | 1 lock held by

Re: [PATCH] arm64: make a single hook to syscall_trace() for all syscall features

2014-02-19 Thread AKASHI Takahiro
Hi, On 02/18/2014 02:35 AM, Will Deacon wrote: On Fri, Feb 07, 2014 at 10:07:31AM +, AKASHI Takahiro wrote: Currently syscall_trace() is called only for ptrace. With additional TIF_xx flags introduced, it is now called in all the cases of audit, ftrace and seccomp in addition to ptrace.

[PATCH v5 1/2] x86, tsc: Fallback to normal calibration if fast MSR calibration fails

2014-02-19 Thread Mika Westerberg
From: Thomas Gleixner If we cannot calibrate TSC via MSR based calibration try_msr_calibrate_tsc() stores zero to fast_calibrate and returns that to the caller. This value gets then propagated further to clockevents code resulting division by zero oops like the one below: divide error:

[PATCH v5 2/2] x86, tsc: Add missing Baytrail frequency to the table

2014-02-19 Thread Mika Westerberg
Intel Baytrail is based on Silvermont core so MSR_FSB_FREQ[2:0] == 0 means that the CPU reference clock runs at 83.3MHz. Add this missing frequency to the table. Signed-off-by: Mika Westerberg --- arch/x86/kernel/tsc_msr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 0/2] Fix missing misc nodes

2014-02-19 Thread One Thousand Gnomes
On Tue, 18 Feb 2014 20:56:31 -0500 valdis.kletni...@vt.edu wrote: > On Tue, 18 Feb 2014 02:27:23 -0300, Lucas De Marchi said: > > > These patches are not intended for merging as is... clearly we have at least > > one problem: fram's minor is clashing with logibm's. I don't know what to do > >

Re: [RFC PATCH v2 1/2] mfd: syscon: Support early initialization

2014-02-19 Thread Michal Simek
On 02/19/2014 12:41 PM, Lee Jones wrote: > FAO Arnd, Mark, > >> Some platforms need to get system controller >> ready as soon as possible. >> The patch provides early_syscon_initialization >> which create early mapping for all syscon compatible >> devices in early_syscon_probe. >> Regmap is get

Re: [PATCH] timberdale: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Lee Jones
> As result of deprecation of MSI-X/MSI enablement functions > pci_enable_msix() and pci_enable_msi_block() all drivers > using these two interfaces need to be updated to use the > new pci_enable_msi_range() and pci_enable_msix_range() > interfaces. > > Signed-off-by: Alexander Gordeev > Cc:

Re: [PATCH] et131x: fix allocation failures

2014-02-19 Thread One Thousand Gnomes
On Wed, 19 Feb 2014 09:14:19 +0800 "Zhao\, Gang" wrote: > Alan, thanks for resending this patch. But it seems you overlooked > something we discussed earlier. > > On Mon, 2014-02-17 at 22:13:08 +0800, Alan wrote: > > We should check the ring allocations don't fail. > > If we get a fail we need

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-19 Thread Peter Zijlstra
On Wed, Feb 19, 2014 at 12:07:02PM +0100, Torvald Riegel wrote: > > Its not only hardware; also the kernel/user boundary has this same > > problem. We cannot a-priory say what userspace will do; in fact, because > > we're a general purpose OS, we must assume it will willfully try its > > bestest

Re: [RFC PATCH v2 1/2] mfd: syscon: Support early initialization

2014-02-19 Thread Lee Jones
FAO Arnd, Mark, > Some platforms need to get system controller > ready as soon as possible. > The patch provides early_syscon_initialization > which create early mapping for all syscon compatible > devices in early_syscon_probe. > Regmap is get via syscon_early_regmap_lookup_by_phandle() > >

Re: [PATCH 01/17] amba: Let runtime PM callbacks be available for CONFIG_PM

2014-02-19 Thread Ulf Hansson
On 19 February 2014 10:40, Russell King - ARM Linux wrote: > On Tue, Feb 04, 2014 at 04:58:42PM +0100, Ulf Hansson wrote: >> Convert to the SET_PM_RUNTIME_PM macro while defining the runtime PM >> callbacks. This means the callbacks becomes available for both >> CONFIG_PM_SLEEP and

Re: [PATCH 1/2] arm64: Add seccomp support

2014-02-19 Thread AKASHI Takahiro
On 02/19/2014 12:38 AM, Catalin Marinas wrote: On Fri, Feb 07, 2014 at 10:11:31AM +, AKASHI Takahiro wrote: --- a/arch/arm64/kernel/ptrace.c +++ b/arch/arm64/kernel/ptrace.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include @@ -1064,6

Re: [PATCH 1/4] ACPI: Provide support for ACPI table adding via OS

2014-02-19 Thread Thomas Renninger
On Tuesday, February 18, 2014 12:51:07 PM H. Peter Anvin wrote: > On 02/18/2014 10:44 AM, Thomas Renninger wrote: > > On Tuesday, February 18, 2014 10:27:23 AM H. Peter Anvin wrote: > >> Why can't you add SSDTs? It would be particularly useful. > > > > There are 2 ways how ACPI tables get added:

Re: [RFC PATCH v2 1/2] mfd: syscon: Support early initialization

2014-02-19 Thread Alexander Shiyan
Среда, 19 февраля 2014, 15:14 +04:00 от Alexander Shiyan : > Среда, 19 февраля 2014, 12:04 +01:00 от Michal Simek > : > > Some platforms need to get system controller > > ready as soon as possible. > > The patch provides early_syscon_initialization > > which create early mapping for all syscon

Re: [PATCH 2/2] arm64: is_compat_task is defined both in asm/compat.h and linux/compat.h

2014-02-19 Thread AKASHI Takahiro
On 02/18/2014 04:32 AM, Will Deacon wrote: On Fri, Feb 07, 2014 at 10:11:32AM +, AKASHI Takahiro wrote: kernel/seccomp.c includes linux/compat.h and, indicrectly, asm/compat.h via asm/syscall.h. Due to the duplicated definition of is_compat_task, compiling this file will fail in the case of

Re: [Devel] ACPI: Also allow ACPI table adding via initrd not only overriding

2014-02-19 Thread Thomas Renninger
On Tuesday, February 18, 2014 07:59:17 PM Moore, Robert wrote: > Maybe not exactly "running", but at the very least, ACPICA must be > initialized. > > All of this of course depends on how early the table needs to be loaded. I'd say as early as possible. Not sure about Thomas' use case. I expect

Re: [RFC PATCH v2 1/2] mfd: syscon: Support early initialization

2014-02-19 Thread Alexander Shiyan
Среда, 19 февраля 2014, 12:04 +01:00 от Michal Simek : > Some platforms need to get system controller > ready as soon as possible. > The patch provides early_syscon_initialization > which create early mapping for all syscon compatible > devices in early_syscon_probe. > Regmap is get via

Re: [PATCH 4/4] Staging: comedi: addi-data: don't initialize a static variable to 0

2014-02-19 Thread Ian Abbott
On 2014-02-19 07:38, Chase Southwood wrote: In hwdrv_apci1564.c, one static variable is zero initialized. This is unneeded and redundant, so we remove the initialization. Signed-off-by: Chase Southwood Reviewed-by: Ian Abbott -- -=( Ian Abbott @ MEV Ltd.E-mail: )=- -=( Tel:

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-19 Thread Torvald Riegel
On Tue, 2014-02-18 at 22:47 +0100, Peter Zijlstra wrote: > On Tue, Feb 18, 2014 at 10:21:56PM +0100, Torvald Riegel wrote: > > Yes, I do. But that seems to be "volatile" territory. It crosses the > > boundaries of the abstract machine, and thus is input/output. Which > > fraction of your atomic

Re: [PATCH 2/4] Staging: comedi: addi-data: cleanup brace usage in hwdrv_apci1564.c

2014-02-19 Thread Ian Abbott
On 2014-02-19 07:37, Chase Southwood wrote: hwdrv_apci1564.c had many single statments wrapped in braces, so we can delete these. Also, some else statements were improperly placed, fix these too. Signed-off-by: Chase Southwood Reviewed-by: Ian Abbott -- -=( Ian Abbott @ MEV Ltd.

Re: [PATCH 3/4] Staging: comedi: addi-data: replace printk() with dev_err() in hwdrv_apci1564.c

2014-02-19 Thread Ian Abbott
On 2014-02-19 07:37, Chase Southwood wrote: There were a small handful of printk() calls in hwdrv_apci1564.c. It is generally better to use dev_err() for error messages instead, so I switched all the printk() calls out, as well as cleaned up the error strings. Signed-off-by: Chase Southwood

[RFC PATCH v2 0/2] Syscon early initialization

2014-02-19 Thread Michal Simek
Hi, this series come from my discussion with Arnd at KS and then on some other threads/IRCs(Arnd and Mark) that SoC vendors are more and more try to add misc functionality to one memory region. For this purpose syscon driver is in the kernel. But regular syscon driver is initialized too late and

Re: [PATCH 1/4] Staging: comedi: addi-data: cleanup comments in hwdrv_apci1564.c

2014-02-19 Thread Ian Abbott
On 2014-02-19 07:36, Chase Southwood wrote: hwdrv_apci1564.c had a lot of commented out conditional statements that were often identical to other un-commented out statements nearby, so it should be safe to just delete all of these commented out lines. This patch also converts the remaining

[RFC PATCH v2 2/2] ARM: zynq: Use early syscon initialization

2014-02-19 Thread Michal Simek
Use early syscon initialization to simplify slcr code. - Remove two slcr inits (zynq_slcr_init, zynq_early_slcr_init) - Directly use regmap accesses in zynq_slcr_read/write - Remove zynq_clock_init() and use addresses from syscon (This is the most problematic part now because clock doesn't

[RFC PATCH v2 1/2] mfd: syscon: Support early initialization

2014-02-19 Thread Michal Simek
Some platforms need to get system controller ready as soon as possible. The patch provides early_syscon_initialization which create early mapping for all syscon compatible devices in early_syscon_probe. Regmap is get via syscon_early_regmap_lookup_by_phandle() Regular device probes attach device

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-19 Thread Torvald Riegel
On Tue, 2014-02-18 at 14:58 -0800, Paul E. McKenney wrote: > On Tue, Feb 18, 2014 at 10:40:15PM +0100, Torvald Riegel wrote: > > xagsmtp4.20140218214207.8...@vmsdvm9.vnet.ibm.com > > X-Xagent-Gateway: vmsdvm9.vnet.ibm.com (XAGSMTP4 at VMSDVM9) > > > > On Tue, 2014-02-18 at 09:16 -0800, Paul E.

Re: [PATCHv3 2/6] mailbox: Introduce a new common API

2014-02-19 Thread Jassi Brar
Hi Kumar, On 19 February 2014 03:02, Kumar Gala wrote: > > On Feb 15, 2014, at 12:25 PM, Jassi Brar wrote: > >> Introduce common framework for client/protocol drivers and >> controller drivers of Inter-Processor-Communication (IPC). >> >> Client driver developers should have a look at >>

Re: [PATCH 1/2] driver: regmap: add regmap_parse_val api

2014-02-19 Thread Nenghua Cao
On 02/19/2014 03:50 PM, Mark Brown wrote: > On Wed, Feb 19, 2014 at 01:28:43PM +0800, Nenghua Cao wrote: >>Update Liam and Mark's mail. > > I can't do anything useful with patches that are quoted, sorry. None of > the tools know how to strip out quotes. > Hi ,Mark Sorry for giving

Re: [PATCH v3 5/6] arm64: ftrace: Add system call tracepoint

2014-02-19 Thread AKASHI Takahiro
On 02/18/2014 04:29 AM, Will Deacon wrote: On Fri, Feb 07, 2014 at 10:18:55AM +, AKASHI Takahiro wrote: This patch allows system call entry or exit to be traced as ftrace events, ie. sys_enter_*/sys_exit_*, if CONFIG_FTRACE_SYSCALLS is enabled. Those events appear and can be controlled

Re: [PATCH v3 1/6] arm64: Add ftrace support

2014-02-19 Thread AKASHI Takahiro
On 02/18/2014 03:12 AM, Will Deacon wrote: On Fri, Feb 07, 2014 at 10:18:51AM +, AKASHI Takahiro wrote: This patch implements arm64 specific part to support function tracers, such as function (CONFIG_FUNCTION_TRACER), function_graph (CONFIG_FUNCTION_GRAPH_TRACER) and function profiler

[PATCH 2/2] asoc: soc-core: use regmap's parse_val to do endian translation

2014-02-19 Thread Nenghua Cao
From: Nenghua Cao In snd_soc_bytes_put function, it forces cpu to do cpu_to_be translation, but for mmio bus which uses REGMAP_ENDIAN_NATIVE, it doesn't need to do endian translation. So it is better to use regmap's api which can decide if this translation is needed according to bus

[PATCH 1/2] driver: regmap: add regmap_parse_val api

2014-02-19 Thread Nenghua Cao
From: Nenghua Cao In some cases, we need regmap's format parse_val function to do be/le translation according to the bus configuration. For example, snd_soc_bytes_put() uses regmap to write/read values, and use cpu_to_be() directly to covert MASK into big endian. This is a defect, and should

Re: [PATCH] gcov: fix memory allocation problem in gcov_info_dup

2014-02-19 Thread Yuan Pengfei
Using -fprofile-values is one case that will cause the memory allocation problem. More changes are needed to fully support -fprofile-values. I submit this patch first because I think it is obvious and does no harm. > I'm unaware of any user of -fprofile-values in the kernel. Are you > trying to

[PATCH v2 1/1] ACPI, PCI, ISA: Call ISA-specific code only for architectures which support ISA.

2014-02-19 Thread Tomasz Nowicki
This commit moves ISA-specific code to separate function and makes that function depend on CONFIG_{E}ISA so that we do not have to maintain acpi_isa_irq_to_gsi() function for architectures which do not support ISA. Signed-off-by: Tomasz Nowicki --- drivers/acpi/pci_irq.c | 35

Re: [PATCH v2 0/3] usb: chipidea: msm: Clean and fix glue layer driver

2014-02-19 Thread Ivan T. Ivanov
Hi, I will need some time to recreate USB test environment. I will come back when I am ready. Regards, Ivan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v4 1/2] memory: ti-aemif: introduce AEMIF driver

2014-02-19 Thread Ivan Khoronzhuk
On 02/18/2014 10:30 PM, Greg KH wrote: On Wed, Feb 05, 2014 at 09:46:13PM +0200, Ivan Khoronzhuk wrote: Add new AEMIF driver for EMIF16 Texas Instruments controller. The EMIF16 module is intended to provide a glue-less interface to a variety of asynchronous memory devices like ASRA M, NOR and

Re: [PATCH] irqchip:gic: change access of gicc_ctrl register to read modify write.

2014-02-19 Thread Marc Zyngier
Hi Feng, On 18/02/14 22:12, Feng Kan wrote: > This change is made to preserve the GIC v2 releated bits in the > GIC_CPU_CTRL register (also known as the GICC_CTLR register in spec). > The original code only set the enable/disable group bit in this register. > This code will preserve all other

Re: [PATCH v3] sched/deadline: Fix bad accounting of nr_running

2014-02-19 Thread Juri Lelli
On 02/19/2014 09:46 AM, Peter Zijlstra wrote: > On Tue, Feb 18, 2014 at 09:50:12PM -0500, Steven Rostedt wrote: >> >>> Rationale for this odd behavior is that, when a task is throttled, it >>> is removed only from the dl_rq, but we keep it on_rq (as this is not >>> a "full dequeue", that is the

Re: [PATCH 1/2] ACPI, PCI, ISA: Call ISA-specific code only for architectures which support ISA.

2014-02-19 Thread Tomasz Nowicki
On 15.02.2014 02:05, Rafael J. Wysocki wrote: On Monday, February 10, 2014 02:00:10 PM Tomasz Nowicki wrote: This commit enables ISA-specific code if and only if CONFIG_{E}ISA is set in the kernel configuration so that we do not have to maintain acpi_isa_irq_to_gsi() function for

Re: [PATCH 2/2] ACPI, PCI, ISA: Fix memory leak when there is no IRQ in the ACPI subsystem.

2014-02-19 Thread Tomasz Nowicki
On 18.02.2014 16:26, Rafael J. Wysocki wrote: On Tuesday, February 18, 2014 11:21:39 AM Tomasz Nowicki wrote: On 18.02.2014 02:02, Rafael J. Wysocki wrote: On Monday, February 10, 2014 02:00:11 PM Tomasz Nowicki wrote: Whenever we register ISA interrupt or not, we need to free the IRQ routing

Re: [PATCH] nfsd: check passed socket's net matches NFSd superblock's one

2014-02-19 Thread Stanislav Kinsbursky
18.02.2014 19:44, J. Bruce Fields пишет: On Tue, Feb 18, 2014 at 07:19:31PM +0400, Stanislav Kinsbursky wrote: 18.02.2014 02:19, J. Bruce Fields пишет: On Sat, Feb 15, 2014 at 09:51:20AM +0800, Weng Meiling wrote: Hi Bruce, The upstream has merged your git tree for-3.14, but there is no this

scripts/get_maintainer.pl: http addresses in MAINTAINER's L: line

2014-02-19 Thread Paul Bolle
Andrew, Joe, (You two touched this script the most, it seems.) The MAINTAINERS entry for the "TARGET SUBSYSTEM" uses an http address for one of its L: lines. The "DC395x SCSI driver" does that too. This shows up as a useless line in the output of scripts/get_maintainer.pl: [...] (open

Re: [PATCH v2 0/11] remove cpu_load in rq

2014-02-19 Thread Alex Shi
>> Removing cpu_load completely certainly makes things simpler, my worry is >> just how much was lost by doing it. I agree that cpu_load needs a >> cleanup, but I can't convince myself that just removing it completely >> and not having any longer term view of cpu load anymore is without any >>

[PATCH 2/3] perf tests: Add pmu-bison.o make test

2014-02-19 Thread Jiri Olsa
Adding pmu-bison.o make test: $ make -f tests/make make_util_pmu_bison_o - make_util_pmu_bison_o: cd . && make -f Makefile DESTDIR=/tmp/tmp.0u99hQn8Ga util/pmu-bison.o $ make -f tests/make make_util_pmu_bison_o_O - make_util_pmu_bison_o_O: cd . && make -f Makefile O=/tmp/tmp.sWKDLGS71O

[PATCH 1/3] perf tests: Fix *.o make tests

2014-02-19 Thread Jiri Olsa
Enable and fix *.o object make tests. Following tests are now available: $ make -f tests/make make_perf_o_O - make_perf_o_O: cd . && make -f Makefile O=/tmp/tmp.iF5vI5emGy DESTDIR=/tmp/tmp.epDPFVhH0s perf.o $ make -f tests/make make_util_map_o_O - make_util_map_o_O: cd . && make -f

[PATCH 3/3] perf tools: Fix bison OUTPUT directories dependency

2014-02-19 Thread Jiri Olsa
The bison and flex C objects don't have dependency for creating output directories. This could lead to build failure if the one of those objects is picked up by make to be build as the first one (reported by Arnaldo). Also following make fails: $ rm -rf /tmp/krava; mkdir /tmp/krava; make

Re: x86_pmu_start WARN_ON.

2014-02-19 Thread Peter Zijlstra
On Tue, Feb 18, 2014 at 05:20:57PM -0500, Vince Weaver wrote: > On Tue, 18 Feb 2014, Vince Weaver wrote: > > > On Mon, 17 Feb 2014, Peter Zijlstra wrote: > > > > > Enable CONFIG_FRAME_POINTER for better stack traces; I suspect the > > > list_del_event() is just random stack garbage. The path

[PATCH] ntb: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Jon Mason Cc:

[PATCH] timberdale: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Samuel Ortiz Cc:

[PATCH] portdrv: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Bjorn Helgaas Cc:

[PATCH] mic: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Harshavardhan R

[PATCH] vmw_vmci: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Greg Kroah-Hartman

[PATCH v2] samples/seccomp/Makefile: Do not build tests if cross-compiling for MIPS

2014-02-19 Thread Markos Chandras
The Makefile is designed to use the host toolchain so it may be unsafe to build the tests if the kernel has been configured and built for another architecture. This fixes a build problem when the kernel has been configured and built for the MIPS architecture but the host is not MIPS

[PATCH] kvm: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Gleb Natapov Cc:

[PATCH] xen-pciback: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Konrad Rzeszutek

[PATCH] tsi721: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Matt Porter Cc:

[PATCH] virtio: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Rusty Russell Cc:

[PATCH] ioat: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. Signed-off-by: Alexander Gordeev Cc: Dan Williams Cc:

[PATCH] xhci: Use pci_enable_msix_range() instead of pci_enable_msix()

2014-02-19 Thread Alexander Gordeev
As result of deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range() interfaces. This update also cleans up a bit xhci_setup_msi() and

Re: [PATCH 3/3] iio: adc: Add MEN 16z188 ADC driver

2014-02-19 Thread Johannes Thumshirn
On Tue, Feb 18, 2014 at 07:17:04PM +, Jonathan Cameron wrote: > > > On February 18, 2014 3:34:14 PM GMT+00:00, Johannes Thumshirn > wrote: > >Add support for MEN 16z188 ADC IP Core on MCB FPGAs. > > > >Signed-off-by: Johannes Thumshirn > Looks pretty good apart from the nitpicks. One more

Re: [PATCH] nouveau, ACPI: fix regression caused by b072e53

2014-02-19 Thread Maarten Lankhorst
op 19-02-14 05:53, Jiang Liu schreef: On some platforms, ACPI _DSM method (nouveau_op_dsm_muid, function 0) has special requirements on the fourth parameter, which is different from ACPI specifications. So revert to the private implementation to check availability of _DSM functions instead of

Re: [PATCH v2 11/14] regulator: s2mps11: Add opmode for S2MPS14 regulators

2014-02-19 Thread Krzysztof Kozlowski
On Wed, 2014-02-19 at 13:08 +0900, Mark Brown wrote: > On Tue, Feb 18, 2014 at 09:12:09AM +0100, Krzysztof Kozlowski wrote: > > On Tue, 2014-02-18 at 09:35 +0900, Mark Brown wrote: > > > > I don't understand the above? Are you saying that suspend mode actually > > > turns off the regulator or

<    1   2   3   4   5   6   7   8   9   10   >