Re: [PATCH/RFC 0/4] Probe deferral for IOMMU DT integration

2015-02-11 Thread Marek Szyprowski
Hello, On 2015-02-07 23:41, a...@arndb.de wrote: Laura Abbott hat am 6. Februar 2015 um 01:31 geschrieben: The requirement for this is based on a previous patch to add clock support to the ARM SMMU driver[2]. Once we have clock support, it's possible that the driver itself may need to be

Re: [PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-11 Thread Joe Perches
On Wed, 2015-02-11 at 11:33 +0300, Dan Carpenter wrote: > On Tue, Feb 10, 2015 at 03:27:11PM +0100, Bas Peters wrote: > > >> @@ -101,8 +101,7 @@ void rtl88eu_phy_rf6052_set_cck_txpower(struct > > >> adapter *adapt, u8 *powerlevel) > > >> ptr++; > > >> } > > >>

[PATCH] lpfc: Use setup_timer

2015-02-11 Thread Vaishali Thakkar
This patch introduces the use of function setup_timer. This is done using Coccinelle and semantic patch used is as follows: @@ expression x,y,z; @@ - init_timer (); + setup_timer (, y, z); - x.function = y; - x.data = z; Signed-off-by: Vaishali Thakkar --- drivers/scsi/lpfc/lpfc_init.c | 67

Re: Recommendations for a new MFD device driver?

2015-02-11 Thread Sascha Hauer
On Tue, Feb 10, 2015 at 03:20:39PM +0800, Lee Jones wrote: > On Fri, 06 Feb 2015, Sascha Hauer wrote: > > > Hi All, > > > > We are adding support for a new pretty typical MFD device, the MediaTek > > MT6397. Initial patches are already posted. It's a PMIC which among other > > things has

Re: [PATCH 5/6] ALSA: line6: Use explicit type for serial number

2015-02-11 Thread Takashi Iwai
At Tue, 10 Feb 2015 23:03:16 -0600, Chris Rorvick wrote: > > The serial number (aka ESN) is a 32-bit value. > > Signed-off-by: Chris Rorvick Applied, thanks. Takashi > --- > sound/usb/line6/driver.c | 2 +- > sound/usb/line6/driver.h | 2 +- > sound/usb/line6/pod.c | 4 ++-- >

Re: [PATCH 6/6] ALSA: line6: toneport: Use explicit type for firmware version

2015-02-11 Thread Takashi Iwai
At Tue, 10 Feb 2015 23:03:17 -0600, Chris Rorvick wrote: > > The firmware version is a single byte so have the variable type agree. > Since the address to this member is passed to the read function, using > an int is not even portable. > > Signed-off-by: Chris Rorvick Applied, thanks.

Re: [PATCH 4/6] ALSA: line6: Return EIO if read/write not successful

2015-02-11 Thread Takashi Iwai
At Tue, 10 Feb 2015 23:03:15 -0600, Chris Rorvick wrote: > > Signed-off-by: Chris Rorvick Applied, thanks. Takashi > --- > sound/usb/line6/driver.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/sound/usb/line6/driver.c b/sound/usb/line6/driver.c > index

Re: [PATCH 3/6] ALSA: line6: Return error if device not responding

2015-02-11 Thread Takashi Iwai
At Tue, 10 Feb 2015 23:03:14 -0600, Chris Rorvick wrote: > > Put an upper bound on how long we will wait for the device to respond to > a read/write request (i.e., 100 milliseconds) and return an error if > this is reached. > > Signed-off-by: Chris Rorvick Applied, thanks. Takashi > --- >

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-11 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 04:22:50PM -0800, Alexei Starovoitov wrote: > well, ->prio and ->pid are already printed by sched tracepoints > and their meaning depends on scheduler. So users taking that > into account. Right, so trace_events were/are root only, and root 'should' be in the root pid

[Patch 3/3] firmware: dmi_scan: use full dmi version for SMBIOS3

2015-02-11 Thread Ivan Khoronzhuk
New SMBIOS3 spec adds additional field for versioning - docrev. The docrev identifies the revision of a specification implemented in the table structures, so display SMBIOS version > 3 in format, like: 3.22.1 It's not affect on other part of code because version number is analyzed using

[Patch 2/3] firmware: dmi_scan: fix dmi_len type

2015-02-11 Thread Ivan Khoronzhuk
According to SMBIOSv3 specification the length of DMI table can be up to 32bits wide. So use appropriate type to avoid overflow. It's obvious that dmi_num theoretically can be more than u16 also, so it's can be changed to u32 or at least it's better to use int instead of u16, but on that moment I

Re: 1e918876 breaks r8169 (linux-3.18+)

2015-02-11 Thread Tomáš Szépe
Hi, > > > Since linux-3.18.0, r8169 is having problems driving one of my add-on > > > PCIe NICs. The interface is losing link for several seconds at a time, > > > the frequency being about once a minute when the traffic is high. > > > > > > The first loss of link is accompanied by the message

[Patch 1/3] firmware: dmi_scan: use direct access to static vars

2015-02-11 Thread Ivan Khoronzhuk
There is no reason to pass static vars to function that can use only them. The dmi_table() can use only dmi_len and dmi_num static vars, so use them directly. In this case we can freely change their type in one place and slightly decrease redundancy. Signed-off-by: Ivan Khoronzhuk ---

[Patch 0/3] firmware: dmi_scan: add some SMBIOSv3 corrections

2015-02-11 Thread Ivan Khoronzhuk
This series adds corrections to dmi_scan: - extends version to be like 3.4.5 format - fix dmi_len to be 32 bit wide Ivan Khoronzhuk (3): firmware: dmi_scan: use direct access to static vars firmware: dmi_scan: fix dmi_len type firmware: dmi_scan: use full dmi version for SMBIOS3

Re: [Patch 2/3] firmware: dmi_scan: fix dmi_len type

2015-02-11 Thread Ard Biesheuvel
On 11 February 2015 at 17:46, Ivan Khoronzhuk wrote: > According to SMBIOSv3 specification the length of DMI table can be > up to 32bits wide. So use appropriate type to avoid overflow. > > It's obvious that dmi_num theoretically can be more than u16 also, > so it's can be changed to u32 or at

Re: [Patch 3/3] firmware: dmi_scan: use full dmi version for SMBIOS3

2015-02-11 Thread Ard Biesheuvel
On 11 February 2015 at 17:46, Ivan Khoronzhuk wrote: > New SMBIOS3 spec adds additional field for versioning - docrev. > The docrev identifies the revision of a specification implemented in > the table structures, so display SMBIOS version > 3 in format, > like: 3.22.1 > > It's not affect on

[PATCHv2] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-11 Thread Yuwei Zheng
The ath9k_hif_usb_rx_cb function excute on the interrupt context, and ath9k_rx_tasklet excute on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have more chance to excute than ath9k_rx_tasklet. So in the worst condition, the rx.rxbuf receive list is always full, and the do

Re: intensive IO on usb-storage device causing system lock

2015-02-11 Thread Enrico Mioso
It seems the problem is also triggerable without rtorrent, but other tools like git when checking out lots of files (in the kernel git repository for example). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [Patch 3/3] firmware: dmi_scan: use full dmi version for SMBIOS3

2015-02-11 Thread Ivan Khoronzhuk
On 02/11/2015 11:55 AM, Ard Biesheuvel wrote: On 11 February 2015 at 17:46, Ivan Khoronzhuk wrote: New SMBIOS3 spec adds additional field for versioning - docrev. The docrev identifies the revision of a specification implemented in the table structures, so display SMBIOS version > 3 in

Re: [PATCH] ath9k_htc: add adaptive usb receive flow control to repair soft lockup with monitor mode

2015-02-11 Thread Yuwei Zheng
On 三, 2015-02-11 at 11:20 +0200, Kalle Valo wrote: > Yuwei Zheng writes: > > > The ath9k_hif_usb_rx_cb function excute on the interrupt context, and > > ath9k_rx_tasklet excute > > on the soft irq context. In other words, the ath9k_hif_usb_rx_cb have more > > chance to excute than > >

Re: [RFC] simple_char: New infrastructure to simplify chardev management

2015-02-11 Thread Jiri Kosina
On Tue, 10 Feb 2015, Andy Lutomirski wrote: > This isn't adequately tested, and I don't have a demonstration (yet). > It's here for review for whether it's a good idea in the first place > and for weather the fully_dynamic mechanism is a good idea. [ ... snip ... ] > Signed-off-by: Andy

Re: [Patch 2/3] firmware: dmi_scan: fix dmi_len type

2015-02-11 Thread Ivan Khoronzhuk
On 02/11/2015 11:53 AM, Ard Biesheuvel wrote: On 11 February 2015 at 17:46, Ivan Khoronzhuk wrote: According to SMBIOSv3 specification the length of DMI table can be up to 32bits wide. So use appropriate type to avoid overflow. It's obvious that dmi_num theoretically can be more than u16

[PATCH] mfd: intel_soc_pmic: Add missing error check for devm_kzalloc

2015-02-11 Thread Kiran Padwal
This patch add a missing check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Signed-off-by: Kiran Padwal --- drivers/mfd/intel_soc_pmic_core.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/intel_soc_pmic_core.c

Re: [Patch 2/3] firmware: dmi_scan: fix dmi_len type

2015-02-11 Thread Ard Biesheuvel
On 11 February 2015 at 18:10, Ivan Khoronzhuk wrote: > > On 02/11/2015 11:53 AM, Ard Biesheuvel wrote: >> >> On 11 February 2015 at 17:46, Ivan Khoronzhuk >> wrote: >>> >>> According to SMBIOSv3 specification the length of DMI table can be >>> up to 32bits wide. So use appropriate type to avoid

[PATCH 0/2] clk: Some fixes for the per-user clk API changes.

2015-02-11 Thread Javier Martinez Canillas
Hello, I found a couple of issues with todays' next (tag next-20150211) when booting an Exynos5420 Peach Pit Chromebook. These were regressions introduced when converting the clk API to return a per-user clk. This series is composed of the following trivial fixes: Javier Martinez Canillas (2

[PATCH 2/2] clk: composite: Set clk_core to composite rate and mux components

2015-02-11 Thread Javier Martinez Canillas
les linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.19.0-next-20150211-2-g1fb7f0e1150d #423 Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) task: ee48 ti: ee488000 task.ti: ee488000 PC is at clk_mux_determine_rate_flags+0x14/0x19c LR is at __clk_mux_determine_rate+0x24/0x2c pc

[PATCH 1/2] clk: Don't dereference parent clock if is NULL

2015-02-11 Thread Javier Martinez Canillas
The clock passed as an argument to clk_mux_determine_rate_flags() can not have a parent clock if is either a root clock or an orphan. In those cases parent is NULL so parent->hw shouldn't be dereferenced. Fixes: 035a61c314eb3 ("clk: Make clk API return per-user struct clk instances")

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-11 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 04:22:50PM -0800, Alexei Starovoitov wrote: > > It would need to do more that that. It may have to calculate the value > > that it returns, as the internal value may be different with different > > kernels. > > back to 'prio'... the 'prio' accessible from the program >

[PATCH] f2fs: use spinlock for segmap_lock instead of rwlock

2015-02-11 Thread Chao Yu
rwlock can provide better concurrency when there are much more readers than writers because readers can hold the rwlock simultaneously. But now, for segmap_lock rwlock in struct free_segmap_info, there is only one reader 'mount' from below call path: ->f2fs_fill_super ->build_segment_manager

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-11 Thread Miroslav Benes
On Mon, 9 Feb 2015, Josh Poimboeuf wrote: [...] > @@ -38,14 +39,34 @@ static void notrace klp_ftrace_handler(unsigned long ip, > ops = container_of(fops, struct klp_ops, fops); > > rcu_read_lock(); > + > func = list_first_or_null_rcu(>func_stack, struct klp_func, >

Re: [PATCH 1/1] staging: unisys: Remove allocation from declaration line

2015-02-11 Thread Dan Carpenter
On Wed, Feb 11, 2015 at 06:26:27AM +0800, Greg Kroah-Hartman wrote: > On Tue, Feb 10, 2015 at 02:02:14PM +0100, Quentin Lambert wrote: > > This patch removes allocation from declaration line because > > people are known to gloss over declarations. > > Again, who are these lazy people, and why are

[PATCH] openvswitch: Add missing initialization in validate_and_copy_set_tun()

2015-02-11 Thread Geert Uytterhoeven
net/openvswitch/flow_netlink.c: In function ‘validate_and_copy_set_tun’: net/openvswitch/flow_netlink.c:1749: warning: ‘err’ may be used uninitialized in this function If ipv4_tun_from_nlattr() returns a different positive value than OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS, err will be uninitialized,

[PATCH] drivers: net: xgene: Make xgene_enet_of_match depend on CONFIG_OF

2015-02-11 Thread Geert Uytterhoeven
If CONFIG_NET_XGENE=y but CONFIG_OF=n: drivers/net/ethernet/apm/xgene/xgene_enet_main.c:1033: warning: ‘xgene_enet_of_match’ defined but not used Signed-off-by: Geert Uytterhoeven --- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH v3 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-02-11 Thread Peter Zijlstra
On Tue, Feb 10, 2015 at 04:53:59PM -0500, Steven Rostedt wrote: > > >> In the future we might add a tracepoint and pass a single > > >> pointer to interesting data struct to it. bpf programs will walk > > >> data structures 'as safe modules' via bpf_fetch*() methods > > >> without exposing it as

[PATCH] drivers/net: Use setup_timer and mod_timer

2015-02-11 Thread Vaishali Thakkar
This patch introduces the use of functions setup_timer and mod_timer. This is done using Coccinelle and semantic patch used for this as follows: // @@ expression x,y,z,a,b; @@ -init_timer (); +setup_timer (, y, z); +mod_timer (, b); -x.function = y; -x.data = z; -x.expires = b; -add_timer();

[PATCH] mailbox, pl320-ipc: fixup return type of wait_for_completion_timeout

2015-02-11 Thread Nicholas Mc Guire
is against 3.19.0 (localversion-next is -next-20150211) drivers/mailbox/pl320-ipc.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mailbox/pl320-ipc.c b/drivers/mailbox/pl320-ipc.c index f3755e0..b898264 100644 --- a/drivers/mailbox/pl320-ipc.c +++ b/drivers

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-02-11 Thread Ohad Ben-Cohen
On Fri, Feb 6, 2015 at 2:34 AM, Bjorn Andersson wrote: >> Yep, will do as soon as I hear from Ohad on what to do with the patch >> "hwspinlock/core: maintain a list of registered hwspinlock banks" that I >> dropped from v7. Without that and dropping hwlock-base-id, I can't get >> the translations

[PATCH v2 1/3] media/videobuf2-dma-sg: Fix handling of sg_table structure

2015-02-11 Thread Ricardo Ribalda Delgado
When sg_alloc_table_from_pages() does not fail it returns a sg_table structure with nents and nents_orig initialized to the same value. dma_map_sg returns the number of areas mapped by the hardware, which could be different than the areas given as an input. The output must be saved to nent. The

[PATCH v2 2/3] media/videobuf2-dma-contig: Save output from dma_map_sg

2015-02-11 Thread Ricardo Ribalda Delgado
dma_map_sg returns the number of areas mapped by the hardware, which could be different than the areas given as an input. The output must be saved to nent. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH v2 3/3] media/videobuf2-dma-vmalloc: Save output from dma_map_sg

2015-02-11 Thread Ricardo Ribalda Delgado
dma_map_sg returns the number of areas mapped by the hardware, which could be different than the areas given as an input. The output must be saved to nent. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/v4l2-core/videobuf2-vmalloc.c | 6 +++--- 1 file changed, 3 insertions(+), 3

Re: [PATCH 1/1] Staging: dgnc: dgnc_tty: code style improvements

2015-02-11 Thread Dan Carpenter
That looks kind of uglier than before. Please run your patch throught scripts/checkpatch.pl --strict. regards, dan carpenter -- 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] clockevents: Introduce mode specific callbacks

2015-02-11 Thread Peter Zijlstra
On Wed, Feb 11, 2015 at 11:24:53AM +0800, Viresh Kumar wrote: > On 10 February 2015 at 22:15, Peter Zijlstra wrote: > > On Wed, Feb 04, 2015 at 01:06:23PM +0530, Viresh Kumar wrote: > >> + /* > >> + * Mode transition callback(s): Only one of the two groups should be > >> + *

bluetooth on n900 -- working patch

2015-02-11 Thread Pavel Machek
Hi! Here's current version of the bluetooth patch, I hope I did not miss anything. This time including dts changes, so that driver is active. I have firmware in /lib/firmware/nokia/bcmfw.bin Best regards, Pavel Signed-off-by:

Re: [PATCH v2 2/3] media/videobuf2-dma-contig: Save output from dma_map_sg

2015-02-11 Thread Marek Szyprowski
Hello, On 2015-02-11 11:33, Ricardo Ribalda Delgado wrote: dma_map_sg returns the number of areas mapped by the hardware, which could be different than the areas given as an input. The output must be saved to nent. Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Marek Szyprowski ---

Re: [PATCH v2 1/3] media/videobuf2-dma-sg: Fix handling of sg_table structure

2015-02-11 Thread Marek Szyprowski
Hello, On 2015-02-11 11:33, Ricardo Ribalda Delgado wrote: When sg_alloc_table_from_pages() does not fail it returns a sg_table structure with nents and nents_orig initialized to the same value. dma_map_sg returns the number of areas mapped by the hardware, which could be different than the

Re: [PATCH v2 3/3] media/videobuf2-dma-vmalloc: Save output from dma_map_sg

2015-02-11 Thread Marek Szyprowski
Hello, On 2015-02-11 11:33, Ricardo Ribalda Delgado wrote: dma_map_sg returns the number of areas mapped by the hardware, which could be different than the areas given as an input. The output must be saved to nent. Signed-off-by: Ricardo Ribalda Delgado Reviewed-by: Marek Szyprowski ---

[PATCH] pcmcia: Use setup_timer and mod_timer

2015-02-11 Thread Vaishali Thakkar
This patch introduces the use of functions setup_timer and mod_timer. This is done using Coccinelle and semantic patch used for this as follows: // @@ expression x,y,z,a,b; @@ -init_timer (); +setup_timer (, y, z); +mod_timer (, b); -x.function = y; -x.data = z; -x.expires = b; -add_timer();

bq2415x_charger, bq27x00_battery.c: comment cleanups

2015-02-11 Thread Pavel Machek
Cleanup comments for bq2415x_charger, bq27x00_battery.c. Signed-off-by: Pavel Machek diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c index 1f49986..2a226ca 100644 --- a/drivers/power/bq2415x_charger.c +++ b/drivers/power/bq2415x_charger.c @@ -13,12 +13,6 @@ *

Re: [PATCH] time, ntp: Do not update time_state in middle of leap second

2015-02-11 Thread Prarit Bhargava
On 02/10/2015 06:47 PM, John Stultz wrote: > On Sun, Feb 8, 2015 at 2:29 AM, Prarit Bhargava wrote: >> During leap second insertion testing it was noticed that a small window >> exists where the time_state could be reset such that >> time_state = TIME_OK, which then causes the leap second to

Re: [PATCH v3 1/2] dma: pl330: improve pl330_tx_status() function

2015-02-11 Thread Robert Baldyga
On 02/11/2015 01:23 AM, Vinod Koul wrote: > On Wed, Dec 10, 2014 at 11:55:17AM +0100, Robert Baldyga wrote: >> This patch adds possibility to read residue of DMA transfer. It's useful >> when we want to know how many bytes have been transferred before we >> terminate channel. It can take place,

Re: [PATCH 2/6] staging: rtl8188eu: hal: removed code indent error

2015-02-11 Thread Dan Carpenter
On Wed, Feb 11, 2015 at 01:40:37AM -0800, Joe Perches wrote: > On Wed, 2015-02-11 at 11:33 +0300, Dan Carpenter wrote: > > You can't fight checkpatch.pl. > > Sure you can, Ignore it whenever appropriate. People will just keep sending patches until something gets merged. It's rude to ignore

Re: [RFC PATCH 8/9] livepatch: allow patch modules to be removed

2015-02-11 Thread Jiri Slaby
On 02/10/2015, 08:57 PM, Josh Poimboeuf wrote: > On Tue, Feb 10, 2015 at 08:02:34PM +0100, Jiri Slaby wrote: >> On 02/09/2015, 06:31 PM, Josh Poimboeuf wrote: >>> --- a/kernel/livepatch/core.c >>> +++ b/kernel/livepatch/core.c >> ... >>> @@ -497,10 +500,6 @@ static struct attribute

[PATCH] pcmcia: Use setup_timer

2015-02-11 Thread Vaishali Thakkar
This patch introduces the use of function setup_timer. This is done using Coccinelle and semantic patch used is as follows: @@ expression x,y,z; @@ - init_timer (); + setup_timer (, y, z); - x.function = y; - x.data = z; Signed-off-by: Vaishali Thakkar --- drivers/pcmcia/omap_cf.c| 4

Re: [PATCH v3 2/2] dma: pl330: add DMA_PAUSE feature

2015-02-11 Thread Robert Baldyga
On 02/11/2015 01:24 AM, Vinod Koul wrote: > On Wed, Dec 10, 2014 at 11:55:18AM +0100, Robert Baldyga wrote: >> DMA_PAUSE command is used for halting DMA transfer on chosen channel. >> It can be useful when we want to safely read residue before terminating >> all requests on channel. Otherwise

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-11 Thread Raghavendra K T
On 02/10/2015 06:56 PM, Oleg Nesterov wrote: On 02/10, Raghavendra K T wrote: On 02/10/2015 06:23 AM, Linus Torvalds wrote: add_smp(>tickets.head, TICKET_LOCK_INC); if (READ_ONCE(lock->tickets.tail) & TICKET_SLOWPATH_FLAG) .. into something like val =

[PATCH v2] rtl2832: remove compiler warning

2015-02-11 Thread Luis de Bethencourt
Cleaning up the following compiler warning: rtl2832.c:703:12: warning: 'tmp' may be used uninitialized in this function Even though it could never happen since if rtl2832_rd_demod_reg () doesn't set tmp, this line would never run because we go to err. It is still nice to avoid compiler warnings.

Re: [PATCH 3/3] stmmac: Add AXI burst length support to platform device.

2015-02-11 Thread Chen Baozi
On Tue, Feb 10, 2015 at 11:48:37AM +, Mark Rutland wrote: > > On Mon, Feb 09, 2015 at 12:04:43PM +, Mark Rutland wrote: > > > On Sat, Feb 07, 2015 at 05:07:16AM +, Chen Baozi wrote: > > > > The AXI Bus Mode Register controls the AXI master behavior. It is mainly > > > > used to control

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Mark Rutland
On Wed, Feb 11, 2015 at 08:53:39AM +, Boris Brezillon wrote: > Hi Mark, > > On Tue, 10 Feb 2015 20:48:36 + > Mark Rutland wrote: > > > On Tue, Feb 10, 2015 at 03:52:01PM +, Boris Brezillon wrote: > > > Hi Mark, > > > > > > On Tue, 10 Feb 2015 15:36:28 + > > > Mark Rutland

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-11 Thread Russell King - ARM Linux
On Wed, Feb 11, 2015 at 09:28:37AM +0100, Marek Szyprowski wrote: > Hello, > > On 2015-01-27 09:25, Sumit Semwal wrote: > >Add some helpers to share the constraints of devices while attaching > >to the dmabuf buffer. > > > >At each attach, the constraints are calculated based on the following: >

Re: [PATCH 2/2 --resend] perf: update userspace page info for software event

2015-02-11 Thread Peter Zijlstra
On Thu, Feb 05, 2015 at 03:55:32PM -0800, Shaohua Li wrote: > For hardware event, the userspace page of the event gets updated in > context switch, so if we read time in the page, we get updated info. For > software event, this is missed currently. This patch makes the behavior > consistency. > >

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Mark Rutland
On Wed, Feb 11, 2015 at 09:11:59AM +, Peter Zijlstra wrote: > On Tue, Feb 10, 2015 at 08:48:36PM +, Mark Rutland wrote: > > From f390ccbb31f06efee49b4469943c8d85d963bfb5 Mon Sep 17 00:00:00 2001 > > From: Mark Rutland > > Date: Tue, 10 Feb 2015 20:14:33 + > > Subject: [PATCH] genirq:

Re: [PATCH 5/5] virtio: don't require a config space on the console device.

2015-02-11 Thread Amit Shah
On (Mon) 09 Feb 2015 [10:26:29], Rusty Russell wrote: > virtio: don't require a config space on the console device. > > Strictly, it's only needed when we have features (size or multiport). > > Signed-off-by: Rusty Russell Reviewed-by: Amit Shah > diff --git a/drivers/char/virtio_console.c

Re: [PATCH] rtl2832: remove compiler warning

2015-02-11 Thread Luis de Bethencourt
On Tue, Feb 10, 2015 at 09:35:52PM -0200, Mauro Carvalho Chehab wrote: > Em Tue, 10 Feb 2015 12:57:24 +0200 > Antti Palosaari escreveu: > > > On 02/09/2015 12:44 AM, Luis de Bethencourt wrote: > > > Cleaning the following compiler warning: > > > rtl2832.c:703:12: warning: 'tmp' may be used

[PATCH] Added Pids for Actisense Usb Devices

2015-02-11 Thread Mark Glover
From: Mark Glover Signed-off-by: Mark Glover --- drivers/usb/serial/ftdi_sio.c | 17 + drivers/usb/serial/ftdi_sio_ids.h | 21 + 2 files changed, 38 insertions(+) diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index

Re: [PATCH] Add LTC2941/LTC2943 Battery Gauge Driver

2015-02-11 Thread Mike Looijmans
On 22-01-15 03:24, Sebastian Reichel wrote: Hi, On Tue, Oct 28, 2014 at 08:05:12AM +0100, Mike Looijmans wrote: Both the LTC2941 and LTC2943 measure battery capacity. The LTC2943 is compatible with the LTC2941, it adds voltage and temperature monitoring, and uses a slightly different

Re: [PATCH] compat: Fix endian issue in union sigval

2015-02-11 Thread Bamvor Jian Zhang
On 2015/2/10 20:27, Catalin Marinas wrote: > cc'ing linux-arch as well. > > On Tue, Feb 10, 2015 at 10:10:11AM +, Zhang Jian(Bamvor) wrote: >> In 64bit architecture, sigval_int is the high 32bit of sigval_ptr in >> big endian kernel compare with low 32bit of sigval_ptr in little >> endian

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-11 Thread Rob Clark
On Wed, Feb 11, 2015 at 6:12 AM, Russell King - ARM Linux wrote: > On Wed, Feb 11, 2015 at 09:28:37AM +0100, Marek Szyprowski wrote: >> Hello, >> >> On 2015-01-27 09:25, Sumit Semwal wrote: >> >Add some helpers to share the constraints of devices while attaching >> >to the dmabuf buffer. >> > >>

[PATCH] fs: ufs: super.c: remove unnecessary casting of value.

2015-02-11 Thread Bas Peters
It is not necessary to cast the value returned by kmem_cache_alloc(), thus it can be deleted. This issue was detected using Coccinelle. Signed-off-by: Bas Peters --- fs/ufs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ufs/super.c b/fs/ufs/super.c index

Re: [PATCH 0/2] afs: Migrate to 64-bit timekeeping

2015-02-11 Thread David Howells
Tina Ruchandani wrote: > This patchset is an attempt to port afs's timekeeping > variables from time_t type to time64_t. AFS uses > get_seconds to store real (wall clock) time in seconds. > The time returned by get_seconds() will overflow on 32-bit systems > in year 2106 and beyond. > This

[PATCH v2] staging: panel: initialize lcd if lcd enabled

2015-02-11 Thread Sudip Mukherjee
initialiaze lcd parameters only if lcd is enabled. Signed-off-by: Sudip Mukherjee --- v2: fix indention of comment drivers/staging/panel/panel.c | 41 ++--- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/drivers/staging/panel/panel.c

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-02-11 Thread Mark Rutland
On Thu, Jan 29, 2015 at 03:58:42AM +, Suman Anna wrote: > On 01/22/2015 12:56 PM, Mark Rutland wrote: > > On Wed, Jan 21, 2015 at 05:56:37PM +, Suman Anna wrote: > >> On 01/21/2015 06:41 AM, Ohad Ben-Cohen wrote: > >>> On Tue, Jan 20, 2015 at 8:05 PM, Tony Lindgren wrote: > How about

Re: [PATCH] fs: btrfs: free-space-cache.c: remove two unnecessary checks before calling kfree()

2015-02-11 Thread SF Markus Elfring
> kfree checks whether the pointer it is passed is NULL. The two foregoing > checks are therefore unnecessary. > > This issue was detected using Coccinelle. Would you like to integrate my update suggestion "btrfs: Deletion of unnecessary checks before six function calls"?

[GIT PULL] Updates to AFS filesystem

2015-02-11 Thread David Howells
dc6d6844111d953d3fa2121da28d38be9359c911: Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband (2015-02-03 20:12:57 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags/afs-20150211

Re: [PATCH 1/2] staging: unisys: remove unused variable

2015-02-11 Thread Sudip Mukherjee
On Tue, Feb 10, 2015 at 02:34:15PM +0800, Greg Kroah-Hartman wrote: > On Tue, Feb 10, 2015 at 10:50:06AM +0530, Sudip Mukherjee wrote: > > > > > > But as I've missed this in the past, nevermind, I'll take it as is. Can > > > you resend your outstanding patches and I'll queue them up after > > >

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-02-11 Thread Mark Rutland
Hi, Sorry I've been away from this thread for a while. On Wed, Feb 11, 2015 at 10:29:37AM +, Ohad Ben-Cohen wrote: > On Fri, Feb 6, 2015 at 2:34 AM, Bjorn Andersson wrote: > >> Yep, will do as soon as I hear from Ohad on what to do with the patch > >> "hwspinlock/core: maintain a list of

Re: [PATCH v3 1/2] coresight: Adding coresight support for arm64 architecture

2015-02-11 Thread Catalin Marinas
On Tue, Feb 10, 2015 at 09:31:24PM -0700, mathieu.poir...@linaro.org wrote: > From: Mathieu Poirier > > Most CoreSight blocks are 64-bit ready. As such move configuration > entries from "arch/arm/Kconfig.config" to the driver's subdirectory > and source the newly created Kconfig from

[PATCH] ltc2941-battery-gauge: Fix typo in conversion formula (58 instead of 85)

2015-02-11 Thread Mike Looijmans
The driver reported 30% less than actually measured. This turned out to be caused by a simple typo in the formula to calculate the LSB quantity. Signed-off-by: Mike Looijmans --- drivers/power/ltc2941-battery-gauge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[drm-intel:drm-intel-next-queued 161/168] drivers/gpu/drm/i915/intel_ringbuffer.c:505:6: sparse: symbol 'intel_ring_setup_status_page' was not declared. Should it be static?

2015-02-11 Thread kbuild test robot
tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: db275e69533f74b3d5cf2884cb8bba9d7640724d commit: 64a008c61c4615ba0fffd1cdae7d39b4246048f8 [161/168] drm/i915: Make intel_ring_setup_status_page() static reproduce: # apt-get install sparse git checkout

[PATCH drm-intel] drm/i915: intel_ring_setup_status_page() can be static

2015-02-11 Thread kbuild test robot
drivers/gpu/drm/i915/intel_ringbuffer.c:505:6: sparse: symbol 'intel_ring_setup_status_page' was not declared. Should it be static? Signed-off-by: Fengguang Wu --- intel_ringbuffer.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.c

Re: [PATCH 0/4] perf: add support for profiling jitted code

2015-02-11 Thread Peter Zijlstra
On Wed, Feb 11, 2015 at 12:42:41AM +0100, Stephane Eranian wrote: > To enable synchronization of the runtime MMAPs with those recorded by > the kernel on behalf of the perf tool, the runtime needs to timestamp > any record in the dump file using the same time source. The current > patch series is

Re: [RFC PATCH v1] usb: dwc2: reduce dwc2 driver probe time

2015-02-11 Thread Roy
Hi John Youn: Could you please give some suggestions from your point of view, about this probe time issue ? Thanks a lot. at 2015/2/11 2:23, Julius Werner wrote: @@ -2703,7 +2703,7 @@ int dwc2_get_hwparams(struct dwc2_hsotg *hsotg) gusbcfg = readl(hsotg->regs + GUSBCFG);

Re: [PATCH] fs: btrfs: free-space-cache.c: remove two unnecessary checks before calling kfree()

2015-02-11 Thread Bas Peters
2015-02-11 12:30 GMT+01:00 SF Markus Elfring : >> kfree checks whether the pointer it is passed is NULL. The two foregoing >> checks are therefore unnecessary. >> >> This issue was detected using Coccinelle. > > Would you like to integrate my update suggestion "btrfs: Deletion of > unnecessary

Re: [PATCH v3 0/5] Add support for Fujitsu USB host controller

2015-02-11 Thread Mathias Nyman
On 10.02.2015 17:43, Sneeker Yeh wrote: > Hi > > 2015-01-31 0:38 GMT+08:00 Felipe Balbi : >> Hi, >> >> On Thu, Jan 29, 2015 at 10:23:12AM -0600, Felipe Balbi wrote: >>> On Tue, Jan 27, 2015 at 09:22:50AM -0600, Felipe Balbi wrote: Hi, On Sun, Jan 25, 2015 at 04:13:23PM +0800,

Re: [PATCH 1/6] ALSA: line6: Improve line6_read/write_data() interfaces

2015-02-11 Thread Chris Rorvick
On Wed, Feb 11, 2015 at 3:33 AM, Takashi Iwai wrote: > At Tue, 10 Feb 2015 23:03:12 -0600, > Chris Rorvick wrote: >> >> Use explicit types to reflect the range of valid values. > > Well, this isn't necessarily to be changed at these places. If we > want to be safer, there should be proper range

[PATCH] fs: proc: inode.c: remove unnecessary type cast

2015-02-11 Thread Bas Peters
Issue was detected using Coccinelle. Signed-off-by: Bas Peters --- fs/proc/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/inode.c b/fs/proc/inode.c index 8420a2f..e16ee87 100644 --- a/fs/proc/inode.c +++ b/fs/proc/inode.c @@ -57,7 +57,7 @@ static struct

Re: [PATCH v2 1/2] mmc: dw_mmc: fix bug that cause 'Timeout sending command'

2015-02-11 Thread Andrzej Hajda
Hi Alim, On 02/11/2015 03:57 AM, Addy wrote: > > On 2015/02/10 23:22, Alim Akhtar wrote: >> Hi Addy, >> >> On Mon, Feb 9, 2015 at 12:55 PM, Addy Ke wrote: >>> Because of some uncertain factors, such as worse card or worse hardware, >>> DAT[3:0](the data lines) may be pulled down by card, and

Re: [PATCH 3/4] perf inject: add jitdump mmap injection support

2015-02-11 Thread Peter Zijlstra
On Wed, Feb 11, 2015 at 12:42:44AM +0100, Stephane Eranian wrote: > diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf > index aa6a504..c86c412 100644 > --- a/tools/perf/Makefile.perf > +++ b/tools/perf/Makefile.perf > @@ -496,7 +499,8 @@ BUILTIN_OBJS += $(OUTPUT)builtin-inject.o >

Re: [PATCH] edac: fix memory leaks on failure path in edac_init()

2015-02-11 Thread Borislav Petkov
On Fri, Feb 06, 2015 at 12:50:53PM +0100, Borislav Petkov wrote: > On Thu, Feb 05, 2015 at 10:12:42PM -0800, Alexey Khoroshilov wrote: > > edac_init() does not deallocate already allocated resources on failure path. > > > > Found by Linux Driver Verification project (linuxtesting.org). > > > >

[PATCH v2] ALSA: line6: Improve line6_read/write_data() interfaces

2015-02-11 Thread Chris Rorvick
The address cannot be negative so make it unsigned. Also, an unsigned int is always sufficient for the length, so no need to overdo it with a size_t. Finally, add in range checks to see if the values passed in actually fit where they are used. Signed-off-by: Chris Rorvick --- This was dropped

Re: [PATCH] dmaengine: dw: support for clockless platforms

2015-02-11 Thread Andy Shevchenko
On Wed, 2015-02-11 at 10:10 +0800, Viresh Kumar wrote: > On Tue, Jan 20, 2015 at 8:57 PM, Heikki Krogerus > wrote: > > When requesting clock in the platform driver, leaving > > chip->clk value as NULL if -ENOENT is returned, and > > continue. With other errors returning failure. It makes the > >

Problems with suspend on recent kernel (not necessary a bug)

2015-02-11 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi list, first, just punish me if I post on the wrong place for that but I think it it. :-) I moved recently my laptop (levovon X61s) from kernel version v3.13.11 to v3.18.6. Everything was fine except that suspend to RAM is not working anymore.

Re: [PATCH] dmaengine: dw: support for clockless platforms

2015-02-11 Thread Russell King - ARM Linux
On Wed, Feb 11, 2015 at 02:02:39PM +0200, Andy Shevchenko wrote: > On Wed, 2015-02-11 at 10:10 +0800, Viresh Kumar wrote: > > > chip->clk = devm_clk_get(chip->dev, "hclk"); > > > - if (IS_ERR(chip->clk)) > > > - return PTR_ERR(chip->clk); > > > + if

Re: bluetooth on n900 -- working patch

2015-02-11 Thread Mark Rutland
On Wed, Feb 11, 2015 at 10:41:36AM +, Pavel Machek wrote: > Hi! > > Here's current version of the bluetooth patch, I hope I did not miss > anything. This time including dts changes, so that driver is active. > > I have firmware in /lib/firmware/nokia/bcmfw.bin > > Best regards, >

Re: [PATCH] fs: dlm: lockspace.c: removal of unnecessary check before calling kfree()

2015-02-11 Thread SF Markus Elfring
> kfree() checks its argument. It is therefore unnecessary to do this twice. > > This issue was detected using Coccinelle. Would you like to integrate my update suggestion 'fs-DLM: Deletion of unnecessary checks before the function call "kfree"'? https://lkml.org/lkml/2014/11/29/88

Re: [RFC][PATCH] x86: nit: wrong page size in init_memory_mapping() printks

2015-02-11 Thread Borislav Petkov
On Tue, Feb 10, 2015 at 01:20:30PM -0800, Dave Hansen wrote: > > From: Dave Hansen > > With 32-bit non-PAE kernels, we have 2 page sizes available > (at most): 4k and 4M. > > Enabling PAE replaces that 4M size with a 2M one (which 64-bit > systems use too). > > But, when booting a 32-bit

Re: [PATCH] fs: dlm: lockspace.c: removal of unnecessary check before calling kfree()

2015-02-11 Thread Bas Peters
2015-02-11 13:10 GMT+01:00 SF Markus Elfring : >> kfree() checks its argument. It is therefore unnecessary to do this twice. >> >> This issue was detected using Coccinelle. > > Would you like to integrate my update suggestion 'fs-DLM: Deletion of > unnecessary checks before the function call

Re: [PATCH] fs: btrfs: free-space-cache.c: remove two unnecessary checks before calling kfree()

2015-02-11 Thread SF Markus Elfring
>> https://lkml.org/lkml/2014/10/31/606 >> http://article.gmane.org/gmane.linux.kernel/1818924 >> https://systeme.lip6.fr/pipermail/cocci/2014-October/001321.html > > Oh, I see you already made the exact same change. Would you like to add any tags to my update suggestion? Regards, Markus -- To

Re: [PATCH] dmaengine: dw: support for clockless platforms

2015-02-11 Thread Andy Shevchenko
On Wed, 2015-02-11 at 12:07 +, Russell King - ARM Linux wrote: > On Wed, Feb 11, 2015 at 02:02:39PM +0200, Andy Shevchenko wrote: > > On Wed, 2015-02-11 at 10:10 +0800, Viresh Kumar wrote: > > > > chip->clk = devm_clk_get(chip->dev, "hclk"); > > > > - if (IS_ERR(chip->clk)) > > >

Re: [PATCH] fs: btrfs: free-space-cache.c: remove two unnecessary checks before calling kfree()

2015-02-11 Thread Bas Peters
Markus, 2015-02-11 13:18 GMT+01:00 SF Markus Elfring : >>> https://lkml.org/lkml/2014/10/31/606 >>> http://article.gmane.org/gmane.linux.kernel/1818924 >>> https://systeme.lip6.fr/pipermail/cocci/2014-October/001321.html >> >> Oh, I see you already made the exact same change. > > Would you like

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-11 Thread Marek Szyprowski
Hello, On 2015-02-11 12:12, Russell King - ARM Linux wrote: On Wed, Feb 11, 2015 at 09:28:37AM +0100, Marek Szyprowski wrote: On 2015-01-27 09:25, Sumit Semwal wrote: Add some helpers to share the constraints of devices while attaching to the dmabuf buffer. At each attach, the constraints

<    4   5   6   7   8   9   10   11   12   13   >