Re: [PATCH v2] iio: imu: kmx61: Drop odr_bits from kmx61_samp_freq_table

2015-02-02 Thread Daniel Baluta
On Sun, Feb 1, 2015 at 12:11 PM, Jonathan Cameron wrote: > On 05/01/15 23:00, Hartmut Knaack wrote: >> Daniel Baluta schrieb am 05.01.2015 um 10:21: >>> odr_bits values are between 0 and 11, so we can use the index >>> in kmx61_samp_freq_table instead of odr_bits structure member. >>> >>>

[BUG]rmmod null_blk lead to general protection fault on 3.19.0-rc6

2015-02-02 Thread Jinpu Wang
When rmmod null_blk lead to GPF below: [ 29.193712] IPv6: ADDRCONF(NETDEV_CHANGE): ib0: link becomes ready [ 62.216289] general protection fault: [#1] SMP DEBUG_PAGEALLOC [ 62.216586] Dumping ftrace buffer: [ 62.216660](ftrace buffer empty) [ 62.216730] Modules linked in:

Re: [PATCH v2 3/3] lib: rename lib/find_next_bit.c to lib/find_bit.c

2015-02-02 Thread Rasmus Villemoes
On Sat, Jan 31 2015, yury.no...@gmail.com wrote: > From: Yury Norov > > This file contains implementation for: > - find_last_bit; > - find_first_zero_bit; > - find_first_bit; > - find_next_zero_bit; > - find_next_bit. > [and a few _le variants] > So giving more generic name looks reasonable.

[PATCH v3 3/3] netlabel: Less function calls in netlbl_mgmt_add_common() after error detection

2015-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 2 Feb 2015 11:00:24 +0100 The functions "cipso_v4_doi_putdef" and "kfree" could be called in some cases by the netlbl_mgmt_add_common() function during error handling even if the passed variables contained still a null pointer. * This implementation detail could

Re: [PATCH] x86: mce: Avoid timer double-add during CMCI interrupt storms.

2015-02-02 Thread Borislav Petkov
On Fri, Jan 23, 2015 at 12:03:35PM +0100, Borislav Petkov wrote: > I've uploaded it as a branch if you want to give it a run as there are > other changes to MCE pending for 3.20 which might cause merge conflicts: > > git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git, branch mce-fb > >

Re: [PATCH v4 6/6] KVM: nVMX: Enable nested posted interrupt processing

2015-02-02 Thread Paolo Bonzini
On 28/01/2015 17:02, Wincy Van wrote: > +static int vmx_deliver_nested_posted_interrupt(struct kvm_vcpu *vcpu, > + int vector) > +{ > + if (is_guest_mode(vcpu) && > + vector == to_vmx(vcpu)->nested.posted_intr_nv && > +

Re: [PATCH v2 3/3] lib/string_helpers.c: Change semantics of string_escape_mem

2015-02-02 Thread Andy Shevchenko
On Sat, 2015-01-31 at 00:39 +0100, Rasmus Villemoes wrote: > On Fri, Jan 30 2015, Andy Shevchenko > wrote: > >> >> * Return: > >> >> - * The amount of the characters processed to the destination buffer, or > >> >> - * %-ENOMEM if the size of buffer is not enough to put an escaped > >> >>

Re: [PATCH] usb: gadget: nokia: Add mass storage driver to g_nokia

2015-02-02 Thread Andrzej Pietrasiewicz
Hello Pali, W dniu 31.01.2015 o 10:53, Pali Rohár pisze: This patch adds removable mass storage support to g_nokia gadget (for N900). It means that at runtime block device can be exported or unexported. For a hint please see this thread: http://www.spinics.net/lists/linux-usb/msg119669.html

Linux 3.12.37

2015-02-02 Thread Jiri Slaby
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I'm announcing the release of the 3.12.37 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be

Re: [PATCH 2/2] tty: serial: 8250_core: Check that port->line is >=0

2015-02-02 Thread Andy Shevchenko
On Mon, 2015-02-02 at 09:09 +0100, Michal Simek wrote: > On 01/31/2015 12:23 AM, Greg Kroah-Hartman wrote: > > On Thu, Jan 15, 2015 at 03:55:08PM +0100, Michal Simek wrote: > >> This patch should be the part of: > >> "tty: serial: 8250_core: use the ->line argument as a hint in > >>

Re: [PATCH] media: i2c: ADV7604: Migrate to regmap

2015-02-02 Thread Hans Verkuil
Hi Pablo, Jean-Michel, On 02/01/2015 11:08 AM, Jean-Michel Hautbois wrote: > This is a preliminary patch in order to add support for ALSA. > It replaces all current i2c access with regmap. > Add the registers which will then be used too, as these are declared at init. > > Signed-off-by: Pablo

Re: [PATCH v2 1/3] lib: find_*_bit reimplementation

2015-02-02 Thread Rasmus Villemoes
On Sat, Jan 31 2015, yury.no...@gmail.com wrote: > From: Yury Norov > > New implementations takes less space in source file (see diffstat) > and in object. For me it's 710 vs 453 bytes of text. > New version generally looks good. Please include a summary of the changes between the versions

Re: [PATCH 2/2] drivers: xen/block: add multi-page ring support

2015-02-02 Thread Roger Pau Monné
El 23/01/15 a les 10.14, Bob Liu ha escrit: > Extend xen/block to support multi-page ring. > * xen-blkback notify blkfront with feature-multi-ring-pages > * xen-blkfront write to xenstore about how many pages are used as the ring > > If using 4 pages as the ring, inflight requests inscreased

Re: [PATCH 1/4] clocksource: mmp: add mmp timer driver

2015-02-02 Thread Mark Rutland
On Mon, Feb 02, 2015 at 08:31:36AM +, Chao Xie wrote: > From: Chao Xie > > MMP timer is attached to APB bus, It has the following > limitation. > 1. When get count of timer counter, it need some delay >to get a stable count. > 2. When set match register, it need disable the counter >

Re: [PATCHv4 00/36] perf tools: New build framework

2015-02-02 Thread Jiri Olsa
On Mon, Jan 26, 2015 at 11:12:00AM +0100, Jiri Olsa wrote: > hi, > I'm following up on latest post from Alexis: > http://marc.info/?l=linux-kernel=141427580405357=2 > > thanks for feedback and testing! > > v4 changes: > - updated to the current Arnaldo's perf/core branch > - added

Re: [PATCH] gfs2: use __vmalloc GFP_NOFS for fs-related allocations.

2015-02-02 Thread Steven Whitehouse
Hi, On 02/02/15 08:11, Dave Chinner wrote: On Mon, Feb 02, 2015 at 01:57:23AM -0500, Oleg Drokin wrote: Hello! On Feb 2, 2015, at 12:37 AM, Dave Chinner wrote: On Sun, Feb 01, 2015 at 10:59:54PM -0500, gr...@linuxhacker.ru wrote: From: Oleg Drokin leaf_dealloc uses vzalloc as a fallback

Re: [PATCH v3] staging: comedi: drivers: dyna_pci10xx: Removed variables that is never used

2015-02-02 Thread Ian Abbott
On 31/01/15 13:44, Rickard Strandqvist wrote: Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist ---

Re: [PATCH v3] staging: comedi: drivers: jr3_pci: Removed variables that is never used

2015-02-02 Thread Ian Abbott
On 31/01/15 13:39, Rickard Strandqvist wrote: Variable was assigned a value that was never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist ---

Re: [PATCH v6] media: au0828 - convert to use videobuf2

2015-02-02 Thread Lad, Prabhakar
On Thu, Jan 29, 2015 at 4:41 PM, Shuah Khan wrote: > Convert au0828 to use videobuf2. Tested with NTSC. > Tested video and vbi devices with xawtv, tvtime, > and vlc. Ran v4l2-compliance to ensure there are > no failures. > > Video compliance test results summary: > Total: 75, Succeeded: 75,

[PATCH v3 2/3] netlabel: Deletion of an unnecessary check before the function call "cipso_v4_doi_free"

2015-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 2 Feb 2015 10:40:30 +0100 The cipso_v4_doi_free() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

Re: [PATCH] regmap: Fix i2c word access when using SMBus access functions

2015-02-02 Thread Lars-Peter Clausen
On 02/02/2015 12:48 AM, Guenter Roeck wrote: [...] static int regmap_i2c_write(void *context, const void *data, size_t count) { struct device *dev = context; @@ -180,7 +216,10 @@ static const struct regmap_bus *regmap_get_i2c_bus(struct i2c_client *i2c, else if

Re: [PATCH] media: adv7604: CP CSC uses a different register on adv7604 and adv7611

2015-02-02 Thread Hans Verkuil
Hi Jean-Michel, On 01/26/2015 02:52 PM, Jean-Michel Hautbois wrote: > The bits are the same, but register is 0xf4 on ADV7611 instead of 0xfc. > When reading back the value in log_status, differentiate both. > > Signed-off-by: Jean-Michel Hautbois > --- > drivers/media/i2c/adv7604.c | 6 +-

[PATCH v3 1/3] netlabel: Deletion of an unnecessary check before the function call "cipso_v4_doi_putdef"

2015-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 2 Feb 2015 10:01:45 +0100 The cipso_v4_doi_putdef() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

[PATCH v3 0/3] netlabel: Deletion of a few unnecessary checks

2015-02-02 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 2 Feb 2015 11:15:56 +0100 Further update suggestions were taken into account after patches were applied from static source code analysis. Markus Elfring (3): Deletion of an unnecessary check before the function call "cipso_v4_doi_putdef" Deletion of an

[PATCH v4 1/1] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-02-02 Thread Roger Quadros
This driver observes the USB ID pin connected over a GPIO and updates the USB cable extcon states accordingly. The existing GPIO extcon driver is not suitable for this purpose as it needs to be taught to understand USB cable states and it can't handle more than one cable per instance. For the

Re: [PATCH] einj: Documentation text corrections and streamlining

2015-02-02 Thread Borislav Petkov
On Fri, Jan 30, 2015 at 07:13:20PM +, Luck, Tony wrote: > >> How about a paragraph telling people how to check whether their platform > >> supports > > > > I took your text and massaged it into the doc, diff ontop: > > Acked-by: Tony Luck Queued for 3.21. -- Regards/Gruss, Boris.

Re: [PATCH] iommu: arm-smmu: avoid build warning

2015-02-02 Thread Will Deacon
On Fri, Jan 30, 2015 at 09:55:55PM +, Arnd Bergmann wrote: > ARM allmodconfig gained a new warning when dma_addr_t is 32-bit wide: > > drivers/iommu/arm-smmu.c: In function 'arm_smmu_iova_to_phys_hard': > drivers/iommu/arm-smmu.c:1255:3: warning: right shift count >= width of type > > This

Re: [RFC PATCH v3 3/3] mm/compaction: enhance compaction finish condition

2015-02-02 Thread Vlastimil Babka
On 02/02/2015 08:15 AM, Joonsoo Kim wrote: > Compaction has anti fragmentation algorithm. It is that freepage > should be more than pageblock order to finish the compaction if we don't > find any freepage in requested migratetype buddy list. This is for > mitigating fragmentation, but, there is a

[PATCH V2] acpi:apd:add AMD ACPI2Platform device support for x86 system.

2015-02-02 Thread Ken Xue
>From b9654ecbfaebde00aee746a024eec9fe8de24b97 Mon Sep 17 00:00:00 2001 From: Ken Xue Date: Mon, 2 Feb 2015 17:32:24 +0800 Subject: [PATCH] This new feature is to interpret AMD specific ACPI device to platform device such as I2C, UART found on AMD CZ and later chipsets. It based on example

RE: [PATCH v2 2/3] hv: vmbus_post_msg: retry the hypercall on some transient errors

2015-02-02 Thread Dexuan Cui
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, February 2, 2015 17:41 PM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; KY > Srinivasan;

Re: Linux 3.19-rc7

2015-02-02 Thread Geert Uytterhoeven
On Mon, Feb 2, 2015 at 6:16 AM, Linus Torvalds wrote: > Jan Kara (2): > quota: Switch ->get_dqblk() and ->set_dqblk() to use bytes as space > units Can't copy_to_xfs_dqblk/copy_from_xfs_dqblk be done in XFS instead? function old new delta

Re: [PATCH 3/3] iio: ad_sigma_delta: cleanup wait_for_completion return handling

2015-02-02 Thread Lars-Peter Clausen
On 02/02/2015 10:50 AM, Nicholas Mc Guire wrote: On Mon, 02 Feb 2015, Lars-Peter Clausen wrote: On 02/02/2015 09:37 AM, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int, rather than introducing a new variable the wait_for_completion_timeout is moved

RE: [PATCH v2 1/3] hv: hv_util: move vmbus_open() to a later place

2015-02-02 Thread Dexuan Cui
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, February 2, 2015 17:36 PM > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; KY > Srinivasan;

Re: [PATCH] regmap: Fix i2c word access when using SMBus access functions

2015-02-02 Thread Jean Delvare
Hi Guenter, On Sun, 1 Feb 2015 15:48:01 -0800, Guenter Roeck wrote: > SMBUs access functions assume that 16 bit values are formatted as Correct spelling is SMBus (lowercase U.) Also I think "16 bit" is better spelled "16-bit" (more occurrences below.) > little endian numbers. The direct i2c

[PATCH v2] spi/xilinx: Fix access invalid memory on xilinx_spi_tx

2015-02-02 Thread Ricardo Ribalda Delgado
On 1 and 2 bytes per word, the transfer of the 3 last bytes will access memory outside tx_ptr. Although this has not trigger any error on real hardware, we should better fix this. Fixes: 24ba5e593f391507 Remove rx_fn and tx_fn pointer Signed-off-by: Ricardo Ribalda Delgado --- v2: v1 was

Re: [PATCH v2 2/7] usb: extcon: Fix USB-Host cable name

2015-02-02 Thread Chanwoo Choi
On 02/02/2015 07:01 PM, Roger Quadros wrote: > On 02/02/15 11:55, Chanwoo Choi wrote: >> Hi Roger, >> >> On 02/02/2015 06:09 PM, Roger Quadros wrote: >>> Chanwoo, >>> >>> On 02/02/15 07:04, Chanwoo Choi wrote: Hi Roger, On 01/30/2015 11:05 PM, Roger Quadros wrote: > Hi, >

Re: [PATCH 14/42] perf record: Add --index option for building index table

2015-02-02 Thread Jiri Olsa
On Mon, Feb 02, 2015 at 11:52:26AM +0200, Adrian Hunter wrote: > On 02/02/15 11:15, Jiri Olsa wrote: > > On Mon, Feb 02, 2015 at 10:34:50AM +0200, Adrian Hunter wrote: > > > > SNIP > > > >>> but how about bump up the header version for this feature? ;-) > >>> > >>> currently it's: > >>> > >>>

[3.16.y-ckt stable] Linux 3.16.7-ckt5

2015-02-02 Thread Luis Henriques
I am announcing the release of the Linux 3.16.7-ckt5 kernel. The updated 3.16.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.16.y and can be browsed at: http://kernel.ubuntu.com/git?p=ubuntu/linux.git;h=refs/heads/linux-3.16.y;a=shortlog The diff from

Re: [PATCH v2 2/7] usb: extcon: Fix USB-Host cable name

2015-02-02 Thread Roger Quadros
On 02/02/15 11:55, Chanwoo Choi wrote: > Hi Roger, > > On 02/02/2015 06:09 PM, Roger Quadros wrote: >> Chanwoo, >> >> On 02/02/15 07:04, Chanwoo Choi wrote: >>> Hi Roger, >>> >>> On 01/30/2015 11:05 PM, Roger Quadros wrote: Hi, On 30/01/15 13:04, Roger Quadros wrote: > Felipe &

Re: block layer copying user io vectors

2015-02-02 Thread Christoph Hellwig
On Fri, Jan 30, 2015 at 05:43:04PM +, Andy Falanga (afalanga) wrote: > > > This function does something that seems rather strange. On line 859, > > > a for loop determines the number of pages needed for the copying of > > > the user data to kernel space. Then the memory is allocated (line >

Re: [RFC PATCH v3 2/3] mm/page_alloc: factor out fallback freepage checking

2015-02-02 Thread Vlastimil Babka
On 02/02/2015 08:15 AM, Joonsoo Kim wrote: > This is preparation step to use page allocator's anti fragmentation logic > in compaction. This patch just separates fallback freepage checking part > from fallback freepage management part. Therefore, there is no functional > change. > >

[PATCH 1/2 v3] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
typo fixed as suggested by Laxman Dewangan v3: merged dev_err into one line as suggested by Laxman Dewangan This patch was only compile tested with tegra_defconfig (implies CONFIG_SPI_TEGRA20_SFLASH=y) Patch is against 3.19.0-rc6 -next-20150202 drivers/spi/spi-tegra20-sflash.c |8 1 fi

Re: [PATCH v2 2/7] usb: extcon: Fix USB-Host cable name

2015-02-02 Thread Chanwoo Choi
Hi Roger, On 02/02/2015 06:09 PM, Roger Quadros wrote: > Chanwoo, > > On 02/02/15 07:04, Chanwoo Choi wrote: >> Hi Roger, >> >> On 01/30/2015 11:05 PM, Roger Quadros wrote: >>> Hi, >>> >>> On 30/01/15 13:04, Roger Quadros wrote: Felipe & Chanwoo, On 26/01/15 14:15, Roger Quadros

Re: [PATCH 14/42] perf record: Add --index option for building index table

2015-02-02 Thread Adrian Hunter
On 02/02/15 11:15, Jiri Olsa wrote: > On Mon, Feb 02, 2015 at 10:34:50AM +0200, Adrian Hunter wrote: > > SNIP > >>> but how about bump up the header version for this feature? ;-) >>> >>> currently it's: >>> >>> struct perf_file_header { >>> u64 magic; >>>

Re: [PATCH 3/3] iio: ad_sigma_delta: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
On Mon, 02 Feb 2015, Lars-Peter Clausen wrote: > On 02/02/2015 09:37 AM, Nicholas Mc Guire wrote: >> return type of wait_for_completion_timeout is unsigned long not int, rather >> than introducing a new variable the wait_for_completion_timeout is moved >> into the if condition as the return value

Re: Linux 3.19-rc5

2015-02-02 Thread Zdenek Kabelac
Dne 30.1.2015 v 02:49 Rafael J. Wysocki napsal(a): On Thursday, January 29, 2015 05:12:11 PM Linus Torvalds wrote: On Thu, Jan 29, 2015 at 5:22 PM, Rafael J. Wysocki wrote: On Wednesday, January 21, 2015 05:54:00 PM Peter Hurley wrote: Yeah, but the debug check is triggering worse behavior,

Re: Reading /sys with side effects (was Re: [PATCH 1/2] Documentation: leds: Add description of LED Flash class extension)

2015-02-02 Thread Pavel Machek
On Mon 2015-02-02 10:07:02, Jacek Anaszewski wrote: > On 01/30/2015 05:40 PM, Greg KH wrote: > >On Fri, Jan 30, 2015 at 09:55:30AM +0100, Jacek Anaszewski wrote: > >>Hi Pavel, > >> > >>On 01/29/2015 10:14 PM, Pavel Machek wrote: > >>>Hi! > >>> > >>+ - flash_fault - list of flash faults

Re: [PATCH v2 3/3] hv: vmbus_open(): reset the channel state on ENOMEM

2015-02-02 Thread Jason Wang
On Mon, Feb 2, 2015 at 12:37 PM, Dexuan Cui wrote: Without this patch, the state is put to CHANNEL_OPENING_STATE, and when the driver is loaded next time, vmbus_open() will fail immediately due to newchannel->state != CHANNEL_OPEN_STATE. CC: "K. Y. Srinivasan" Signed-off-by: Dexuan Cui

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2015-02-02 Thread Boris Brezillon
Hi Brian, On Sun, 1 Feb 2015 23:57:37 -0800 Brian Norris wrote: > Hi Boris, > > BTW, this series has a few conflicts with other things I have queued, so > you'll need to refresh. Yes, that's not a problem, but I'd like to be sure this is the way we want to go before rebasing this series. >

[PATCH] stagging: media: tlg2300: Fixes Checkpatch error

2015-02-02 Thread Pushpendra Singh
Error: Missing a blank line after declarations Singed-off-by: pushpendra.si...@smartplayin.com to: pramod.gu...@smartplayin.com cc: kiran.pad...@smartplayin.com cc: chowdegowda...@smartplayin.com --- drivers/staging/media/tlg2300/pd-alsa.c | 2 ++ 1 file changed,

Re: [PATCH v2 2/3] hv: vmbus_post_msg: retry the hypercall on some transient errors

2015-02-02 Thread Jason Wang
On Mon, Feb 2, 2015 at 12:36 PM, Dexuan Cui wrote: I got HV_STATUS_INVALID_CONNECTION_ID on Hyper-V 2008 R2 when keeping running "rmmod hv_netvsc; modprobe hv_netvsc; rmmod hv_utils; modprobe hv_utils" in a Linux guest. Looks the host has some kind of throttling mechanism if some kinds of

Re: [PATCH 3/3] iio: ad_sigma_delta: cleanup wait_for_completion return handling

2015-02-02 Thread Lars-Peter Clausen
On 02/02/2015 09:37 AM, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int, rather than introducing a new variable the wait_for_completion_timeout is moved into the if condition as the return value is only used to detect timeout. But the return value

Re: [PATCH v2 1/3] hv: hv_util: move vmbus_open() to a later place

2015-02-02 Thread Jason Wang
On Mon, Feb 2, 2015 at 12:35 PM, Dexuan Cui wrote: Before the line vmbus_open() returns, srv->util_cb can be already running and the variables, like util_fw_version, are needed by the srv->util_cb. A questions is why we do this for util only? Can callbacks of other devices be called

Re: [PATCH 0/6] randomize kernel physical address and virtual address separately

2015-02-02 Thread Baoquan He
On 02/01/15 at 05:13am, Andy Lutomirski wrote: > On Sun, Feb 1, 2015 at 12:10 AM, Baoquan He wrote: > > On 01/20/15 at 08:19pm, Andy Lutomirski wrote: > >> On 01/20/2015 07:37 PM, Baoquan He wrote: > >> > >> I have no idea what the #PF thing you're referring to is, but I have > >> code to

Re: [PATCH] KVM: PPC: Convert openpic lock to raw_spinlock

2015-02-02 Thread Purcareata Bogdan
Ping? On 22.01.2015 11:39, Bogdan Purcareata wrote: This patch enables running intensive I/O workloads, e.g. netperf, in a guest deployed on a RT host. It also enable guests to be SMP. The openpic spinlock becomes a sleeping mutex on a RT system. This no longer guarantees that EPR is atomic

Re: [PATCH 01/13] kdbus: add documentation

2015-02-02 Thread Daniel Mack
Hi Andy, On 01/29/2015 01:09 PM, Andy Lutomirski wrote: > On Jan 29, 2015 6:42 AM, "Daniel Mack" wrote: >> As we explained before, currently, D-Bus peers do collect the same >> information already if they need to have them, but they have to do deal >> with the inherit races in such cases. kdbus

Re: [sched] [ INFO: suspicious RCU usage. ]

2015-02-02 Thread Kirill Tkhai
Hi, Fengguang, We already fixed that in f7b8a47da17c "sched: Remove lockdep check in sched_move_task()". В Вс, 01/02/2015 в 20:22 -0800, Fengguang Wu пишет: > Hi Kirill, > > FYI the RCU warning shows up since this commit, however there are > several other BUGs, so it's not necessarily a

Re: [PATCH] can: janz-ican3: fix type missmatch in assignment

2015-02-02 Thread Marc Kleine-Budde
On 02/01/2015 09:34 AM, Nicholas Mc Guire wrote: > From: Nicholas Mc Guire > > return type of wait_for_completion_timeout is unsigned long not int, this > patch removes the type missmatch by moving the call into the condition. > > Signed-off-by: Nicholas Mc Guire Thanks, applied to can-next.

Re: [PATCH] mtd: avoid registering reboot notifier twice

2015-02-02 Thread Brian Norris
On Mon, Feb 02, 2015 at 10:01:51AM +0100, Ricard Wanderlof wrote: > > > On 02/02/2015 12:07 AM, Brian Norris wrote: > > > > > > No driver should be calling mtd_device_parse_register() multiple times > > > on the same mtd_info. Under what context do you see this? What driver? > >

Re: [PATCH 1/2] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Laxman Dewangan
On Monday 02 February 2015 02:38 PM, Nicholas Mc Guire wrote: On Mon, 02 Feb 2015, Laxman Dewangan wrote: + if (WARN_ON(dma_timeout == 0)) { dev_err(tsd->dev, - "spi trasfer timeout, err %d\n", ret); +

[PATCH 2/2 v2] spi: tegra20-slink: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already states "timeout" there is little point in printing the 0 here as it just restates "timeout". Signed-off-by: Nicholas Mc Guire

[PATCH 1/2 v2] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already states "timeout" there is little point in printing the 0 here. Signed-off-by: Nicholas Mc Guire --- v2: typo fixed as

Re: [PATCH 14/42] perf record: Add --index option for building index table

2015-02-02 Thread Jiri Olsa
On Mon, Feb 02, 2015 at 10:34:50AM +0200, Adrian Hunter wrote: SNIP > > but how about bump up the header version for this feature? ;-) > > > > currently it's: > > > > struct perf_file_header { > > u64 magic; > > u64 size;

[PATCH v2] spi: tegra114: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already explicitly states "timeout" there is little point in printing the 0 here which also just says "timeout". Signed-off-by:

Re: [PATCH v2 2/7] usb: extcon: Fix USB-Host cable name

2015-02-02 Thread Roger Quadros
Chanwoo, On 02/02/15 07:04, Chanwoo Choi wrote: > Hi Roger, > > On 01/30/2015 11:05 PM, Roger Quadros wrote: >> Hi, >> >> On 30/01/15 13:04, Roger Quadros wrote: >>> Felipe & Chanwoo, >>> >>> On 26/01/15 14:15, Roger Quadros wrote: The recommended name for USB-Host cable state is "USB-Host"

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

2015-02-02 Thread Nicolas Dichtel
Le 02/02/2015 03:33, Stephen Rothwell a écrit : Hi all, Today's linux-next merge of the net-next tree got a conflict in drivers/net/vxlan.c between commit 33564bbb2cf1 ("vxlan: setup the right link netns in newlink hdlr") from the net tree and commit ac5132d1a03f ("vxlan: Only bind to sockets

Re: [PATCH 1/2] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
On Mon, 02 Feb 2015, Laxman Dewangan wrote: > On Sunday 01 February 2015 06:30 PM, Nicholas Mc Guire wrote: >> return type of wait_for_completion_timeout is unsigned long not int, this >> patch adds an appropriate variable and fixes up the assignment. >> As the string in dev_err already states

Re: Reading /sys with side effects (was Re: [PATCH 1/2] Documentation: leds: Add description of LED Flash class extension)

2015-02-02 Thread Jacek Anaszewski
On 01/30/2015 05:40 PM, Greg KH wrote: On Fri, Jan 30, 2015 at 09:55:30AM +0100, Jacek Anaszewski wrote: Hi Pavel, On 01/29/2015 10:14 PM, Pavel Machek wrote: Hi! + - flash_fault - list of flash faults that may have occurred: + * led-over-voltage - flash controller

Re: [PATCH] spi: tegra114: cleanup wait_for_completion return handling

2015-02-02 Thread Laxman Dewangan
On Sunday 01 February 2015 07:25 PM, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already explicitly states "timeout" there is little point in printing

Re: [PATCH] kvmppc: Implement H_LOGICAL_CI_{LOAD,STORE} in KVM

2015-02-02 Thread David Gibson
On Mon, Feb 02, 2015 at 09:59:16AM +0100, Paolo Bonzini wrote: > > > On 02/02/2015 08:45, David Gibson wrote: > > + case H_LOGICAL_CI_LOAD: > > + ret = kvmppc_h_logical_ci_load(vcpu); > > + if (ret == H_TOO_HARD) { > > + printk("Punting

Re: [PATCH 2/2] spi: tegra20-slink: cleanup wait_for_completion return handling

2015-02-02 Thread Laxman Dewangan
On Sunday 01 February 2015 06:32 PM, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already states "timeout" there is little point in printing the 0 here

Re: [PATCH 1/2] spi: tegra20-sflash: cleanup wait_for_completion return handling

2015-02-02 Thread Laxman Dewangan
On Sunday 01 February 2015 06:30 PM, Nicholas Mc Guire wrote: return type of wait_for_completion_timeout is unsigned long not int, this patch adds an appropriate variable and fixes up the assignment. As the string in dev_err already states "timeout" there is little point in printing the 0 here.

Re: [PATCH] mtd: avoid registering reboot notifier twice

2015-02-02 Thread Ricard Wanderlof
> On 02/02/2015 12:07 AM, Brian Norris wrote: > > > > No driver should be calling mtd_device_parse_register() multiple times > > on the same mtd_info. Under what context do you see this? What driver? > arch/cris/arch-v32/drivers/axisflashmap.c Looking at it another way, why should it not be

Re: [PATCH] mtd: avoid registering reboot notifier twice

2015-02-02 Thread Brian Norris
On Mon, Feb 02, 2015 at 08:08:17AM +0100, Niklas Cassel wrote: > > On 02/02/2015 12:07 AM, Brian Norris wrote: > > On Sun, Feb 01, 2015 at 02:08:50AM +0100, Niklas Cassel wrote: > >> Calling mtd_device_parse_register with the same mtd_info > >> (e.g. registering several partitions on a single

Re: [PATCH v3 00/20] power_supply: Allow safe usage of power supply

2015-02-02 Thread Marc Dietrich
Am Freitag, 30. Januar 2015, 15:47:38 schrieb Krzysztof Kozlowski: > Hi, > > The patchset changes power supply API and drivers implementing > power supply class. > > > TLDR for driver and subsystem maintainers > = > Two patches of patchset change

man-pages-3.79 is released

2015-02-02 Thread Michael Kerrisk (man-pages)
Gidday, The Linux man-pages maintainer proudly announces: man-pages-3.79 - man pages for Linux Tarball download: http://www.kernel.org/doc/man-pages/download.html Git repository: https://git.kernel.org/cgit/docs/man-pages/man-pages.git/ Online changelog:

Re: [PATCH] kvmppc: Implement H_LOGICAL_CI_{LOAD,STORE} in KVM

2015-02-02 Thread Paolo Bonzini
On 02/02/2015 08:45, David Gibson wrote: > + case H_LOGICAL_CI_LOAD: > + ret = kvmppc_h_logical_ci_load(vcpu); > + if (ret == H_TOO_HARD) { > + printk("Punting H_LOGICAL_CI_LOAD\n"); > + return RESUME_HOST; > + } > +

Re: [PATCH V3] cpuidle/powernv: Read target_residency value of idle states from DT if available

2015-02-02 Thread Preeti U Murthy
On 02/02/2015 12:09 PM, Michael Ellerman wrote: > On Mon, 2015-02-02 at 10:40 +0530, Preeti U Murthy wrote: >> The device tree now exposes the residency values for different idle states. >> Read >> these values instead of calculating residency from the latency values. The >> values >> exposed in

Re: [PATCH v9 2/5] mfd: AXP20x: Add bindings documentation

2015-02-02 Thread Lee Jones
On Sat, 31 Jan 2015, Chen-Yu Tsai wrote: > Hi Lee, > > On Thu, Jan 22, 2015 at 5:02 PM, Lee Jones wrote: > > On Thu, 22 Jan 2015, Chen-Yu Tsai wrote: > > > >> From: Carlo Caione > >> > >> Bindings documentation for the AXP20x driver. In this file also > >> sub-nodes are documented. > >> > >>

Re: [RESEND PATCH v2 7/9] mfd: rtsx: add support for rts524A

2015-02-02 Thread Lee Jones
> do you have reviewed this patchset? Yes, but ... a) You only sent it 7 working days ago -- give me a chance b) We are already at -rc7, so I have stopped accepting patches c) I currently have my head buried under a tonne of my own work ... so please don't nag -- you're beginning to sound like

linux-next: Tree for Feb 2

2015-02-02 Thread Stephen Rothwell
Hi all, Changes since 20150130: The net-next tree gained conflicts against the net tree. The spi tree lost its build failure. The kvm tree gained conflicts against Linus' tree. The target-updates tree gained a conflict against Linus' tree. The akpm-current tree gained a conflict against the

Re: PROBLEM: BUG appearing when trying to allocate interrupt on Exynos MCT after CPU hotplug

2015-02-02 Thread Marcin Jabrzyk
On 31/01/15 10:21, Daniel Lezcano wrote: On 01/31/2015 02:08 AM, Stephen Boyd wrote: Kept meaning to get back to this thread. Have you resolved it? On 10/29/14 03:38, Marcin Jabrzyk wrote: So I've tried this patch, it resolves one problem but introduces also new ones. As expected the BUG

[PATCH 3/3] iio: ad_sigma_delta: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, rather than introducing a new variable the wait_for_completion_timeout is moved into the if condition as the return value is only used to detect timeout. Signed-off-by: Nicholas Mc Guire --- Aside from the fixup of the

Re: [PATCH] clocksource: exynos_mct: fix for sleeping in atomic ctx handling cpu hotplug notif.

2015-02-02 Thread Marcin Jabrzyk
On 30/01/15 15:21, Damian Eppel wrote: This is to fix an issue of sleeping in atomic context when processing hotplug notifications in Exynos MCT(Multi-Core Timer). The issue was reproducible on Exynos 3250 (Rinato board) and Exynos 5420 (Arndale Octa board). Whilst testing cpu hotplug events

Re: [PATCH perf/core 1/2] [BUGFIX] perf-probe: Fix to handle optimized not-inlined but has no instance

2015-02-02 Thread Masami Hiramatsu
(2015/01/30 23:32), Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 30, 2015 at 11:21:35AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Fri, Jan 30, 2015 at 06:37:44PM +0900, Masami Hiramatsu escreveu: >>> Fix to handle optimized no-inline functions which have >>> only function definition but no

[PATCH 2/3] iio: qcom-spmi-iadc: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
This patch fixes two issues: * return type of wait_for_completion_timeout is unsigned long not int, rather than adding a dedicated variable the wait_for_completion_timeout is moved into the condition directly * the timeout of wait_for_completion_timeout is in jiffies but the value being

Re: [PATCH] kprobes/x86: Use the current code when modified by Kprobes using ftrace

2015-02-02 Thread Masami Hiramatsu
(2015/01/31 0:45), Petr Mladek wrote: > can_probe() checks if the given address points to the beginning of > an instruction. It analyzes all the instructions from the beginning > of the function until the given address. The code might be modified > by another Kprobe. In this case, the current code

[PATCH 1/3] iio: vf610_adc: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch only fixes up the return handling. Signed-off-by: Nicholas Mc Guire --- drivers/iio/adc/vf610_adc.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) Rather than changing timeout to unsigned long it can

Re: [PATCH 14/42] perf record: Add --index option for building index table

2015-02-02 Thread Adrian Hunter
On 01/02/15 20:06, Jiri Olsa wrote: > On Thu, Jan 29, 2015 at 05:06:55PM +0900, Namhyung Kim wrote: >> The new --index option will create indexed data file which can be >> processed by multiple threads parallelly. It saves meta event and >> sample data in separate files and merges them with an

Re: file name changes between reboots : /sys/class/hwmon/hwmon[0->1]/temp1_input

2015-02-02 Thread Clemens Ladisch
Toralf Förster wrote: > I'm wondering where to blame a nagging issue with these file names : > > # ls -l /sys/class/hwmon/hwmon?/temp?_input > -r--r--r-- 1 root root 4096 Jan 30 13:57 /sys/class/hwmon/hwmon1/temp1_input > -r--r--r-- 1 root root 4096 Jan 30 13:57 /sys/class/hwmon/hwmon2/temp1_input

[PATCH 3/5] spi: sh-msiof: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
From: Nicholas Mc Guire return type of wait_for_completion_timeout is unsigned long not int, this patch uses the return value of wait_for_completion_timeout in the condition directly rather than assigning it to an incorrect type variable. Signed-off-by: Nicholas Mc Guire --- The return type

[PATCH 4/5] spi: spi-imx: cleanup wait_for_completion handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int and always returns >=0 , this patch adds a suitable return variable and simplifies the return value checking as there is no < 0 case. Signed-off-by: Nicholas Mc Guire --- The return type of wait_for_completion_timeout is

[PATCH 5/5] spi: ti-qspi: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch uses the return value of wait_for_completion_timeout in the condition directly rather than assigning it to an incorrect type variable. Signed-off-by: Nicholas Mc Guire --- The return type of

[PATCH 1/5] spi: match var type to return type of wait_for_completion

2015-02-02 Thread Nicholas Mc Guire
From: Nicholas Mc Guire return type of wait_for_completion_timeout is unsigned long not int, this patch changes the type of m from int to unsigned long. Signed-off-by: Nicholas Mc Guire --- The return type of wait_for_completion_timeout is unsigned long not int. This patch resolves the type

[PATCH 2/5] spi: mxs: cleanup wait_for_completion return handling

2015-02-02 Thread Nicholas Mc Guire
return type of wait_for_completion_timeout is unsigned long not int, this patch uses the return value of wait_for_completion_timeout in the condition directly rather than adding a additional appropriately typed variable. Signed-off-by: Nicholas Mc Guire --- The return type of

[PATCH 1/4] clocksource: mmp: add mmp timer driver

2015-02-02 Thread Chao Xie
From: Chao Xie MMP timer is attached to APB bus, It has the following limitation. 1. When get count of timer counter, it need some delay to get a stable count. 2. When set match register, it need disable the counter first, and enable it after set the match register. The disabling need

[PATCH 4/4] arm: mmp: remove the old timer driver

2015-02-02 Thread Chao Xie
From: Chao Xie The new timer driver has been created under drivers/clocksource/. After change all SOCes to use the new driver, remove the old one. Signed-off-by: Chao Xie --- arch/arm/mach-mmp/Makefile | 2 +- arch/arm/mach-mmp/time.c | 247 -

[PATCH 0/4] drivers: clocksource: add mmp timer driver

2015-02-02 Thread Chao Xie
From: Chao Xie These patch will create a new timer driver in drivers/clocksource/ The timer driver will support all SOCes in mach-mmp There are two patches #2 and #3 changing the arch/mach-mmp to make DT and no-DT supported SOCes to make use of new timer driver The final patch will remove the

[PATCH 2/4] arm: mmp: make SOCes without DT use new timer driver

2015-02-02 Thread Chao Xie
From: Chao Xie For no DT support, directly call new timer's APIs to initialize timer. It need to initialize the timer first, then initialize the clock event device or clock source which are based on counter. Signed-off-by: Chao Xie --- arch/arm/mach-mmp/common.h | 2 --

[PATCH 3/4] arm: mmp: make SOCes with DT use new timer driver

2015-02-02 Thread Chao Xie
From: Chao Xie Change the dtsi and DT support for mmp SOCes to make them use the new timer driver. Signed-off-by: Chao Xie --- arch/arm/boot/dts/mmp2.dtsi | 19 --- arch/arm/boot/dts/pxa168.dtsi | 20 +--- arch/arm/boot/dts/pxa910.dtsi | 26

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