Re: [PATCH] block-skd: Deletion of an unnecessary check before the function call kfree

2015-06-28 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Mon, 1 Dec 2014 18:15:46 +0100 The kfree() 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.

[PATCH] USB-mxuport: Delete an unnecessary check before the function call release_firmware

2015-06-28 Thread SF Markus Elfring
From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 28 Jun 2015 14:59:04 +0200 The release_firmware() 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.

Re: [PATCH] hpfs: add fstrim support

2015-06-28 Thread Al Viro
On Sun, Jun 28, 2015 at 12:52:11PM -0700, Linus Torvalds wrote: On Sun, Jun 28, 2015 at 6:16 AM, Mikulas Patocka miku...@twibright.com wrote: This patch adds support for fstrim to the HPFS filesystem. ... +#ifdef CONFIG_COMPAT + .compat_ioctl = hpfs_compat_ioctl, +#endif ...

Re: [Bug 100491] New: Oops under bitmap_start_sync [md_mod] at boot

2015-06-28 Thread Sami Liedes
On Thu, Jun 25, 2015 at 09:02:45PM +, bugzilla-dae...@bugzilla.kernel.org wrote: https://bugzilla.kernel.org/show_bug.cgi?id=100491 Bug ID: 100491 Summary: Oops under bitmap_start_sync [md_mod] at boot [...] Reading all physical valumes. This may take a while...

Re: [PATCH RFC v2 1/3] tty: serial core: provide method to search uart by phandle

2015-06-28 Thread Sergei Zviagintsev
Hi, Some comments below. On Sun, Jun 28, 2015 at 09:46:24PM +0200, Marek Belisko wrote: From: H. Nikolaus Schaller h...@goldelico.com 1. add registered uart_ports to a search list 2. provide a function to search an uart_port by phandle. This copies the mechanism how

Re: [PATCH RFC v2 2/3] tty: serial_core: Add hooks for uart slave drivers

2015-06-28 Thread Sergei Zviagintsev
Hi, Some minor comments below. On Sun, Jun 28, 2015 at 09:46:25PM +0200, Marek Belisko wrote: From: H. Nikolaus Schaller h...@goldelico.com 1. allow drivers to get notified in mctrl changes 2. allow drivers to get notified on rx data (indicating to the driver that the connected chip is

[PATCH RESEND] Bluetooth: btusb: Modify entry to support misc devices with BT interface

2015-06-28 Thread Xi Ruoyao
In the USB device table in btusb driver, the code specify a generic Bluetooth device by matching Device Descriptor. However, some devices with BT interface are classified as Miscellaneous Device and have different Device Descriptor, such as Realtek RTL8723AU. Then btusb wouldn't probe them. To

Re: [RFC PATCH v3] arm DMA: Fix allocation from CMA for coherent DMA

2015-06-28 Thread Lorenzo Nava
On Fri, Jun 26, 2015 at 6:25 PM, Catalin Marinas catalin.mari...@arm.com wrote: On Thu, Jun 18, 2015 at 11:44:22PM +0200, Lorenzo Nava wrote: diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 7e7583d..8e7f402 100644 --- a/arch/arm/mm/dma-mapping.c +++

Re: [RFCv4 PATCH 00/34] sched: Energy cost model for energy-aware scheduling

2015-06-28 Thread Abel Vesa
Hi, So I tried to play around a little bit with this patchset. I did a checkout from: git://linux-arm.org/linux-power.git energy_model_rfc_v4 and then, when I tried to enable the ENERGY_AWARE from sysfs inside qemu (x86_64) and I got this: [69452.750245] BUG: unable to handle kernel paging

Re: [PATCH] tty/vt: Fix the memory leak in visual_init

2015-06-28 Thread Peter Hurley
On 06/10/2015 03:21 AM, Dongxing Zhang wrote: If vc-vc_uni_pagedir_loc is not NULL, its refcount needs to be decreased before vc_uni_pagedir_loc is re-assigned. Reviewed-by: Peter Hurley pe...@hurleysoftware.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH v6 1/2] serial_core: add pci uart early console support

2015-06-28 Thread Peter Hurley
On 06/08/2015 02:17 PM, Bin Gao wrote: On some Intel Atom SoCs, the legacy IO port UART(0x3F8) is not available. Instead, a 8250 compatible PCI uart can be used as early console. This patch adds pci support to the 8250 early console driver uart8250. For example, to enable pci uart(00:21.3) as

[PATCH] um: Fix out-of-tree build

2015-06-28 Thread Richard Weinberger
Commit 30b11ee9a (um: Remove copypaste code from init.h) uncovered an issue wrt. out-of-tree builds. For out-of-tree builds, we must not rely on relative paths. Before 30b11ee9a it worked by chance as no host code included generated header files. Signed-off-by: Richard Weinberger rich...@nod.at

Re: [PATCH] hpfs: add fstrim support

2015-06-28 Thread Linus Torvalds
On Sun, Jun 28, 2015 at 1:59 PM, Al Viro v...@zeniv.linux.org.uk wrote: More to the point, why bother with -ioctl() at all? Why not make -fitrim() a super_block method and let do_vfs_ioctl() handle all marshalling? As in (int *)fitrim(struct super_block *, struct fstrim_range *);

Re: LIBCFS_ALLOC

2015-06-28 Thread Dan Carpenter
Yeah. You're right. Doing a vmalloc() when kmalloc() doesn't have even a tiny sliver of RAM isn't going to work. It's easier to use libcfs_kvzalloc() everywhere, but it's probably the wrong thing. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel

RE

2015-06-28 Thread Info
-- I am Mrs. Gloria C. Mackenzie, the power-ball lottery winner and I have donated $2,000,000.00 USD to you. -- 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] un-improve strrchr()

2015-06-28 Thread Joe Perches
On Sun, 2015-06-28 at 19:44 +0300, Alexey Dobriyan wrote: Commit 8da53d4595a53fb9a3380dd4d1c9bc24c7c9aab8 (lib/string.c: improve strrchr()) changed strrchr() implementation from rewind to the end and search backwards to search forward optimizing for characher not found case. However, common

Re: [tip:irq/urgent] avr32/at32ap: Fix race in installing chained IRQ handler

2015-06-28 Thread Hans-Christian Egtvedt
Around Fri 26 Jun 2015 12:47:18 -0700 or thereabout, tip-bot for Thomas Gleixner wrote: avr32/at32ap: Fix race in installing chained IRQ handler snipp Reported-by: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by: Thomas Gleixner t...@linutronix.de Cc: Julia Lawall

[PATCH] SCSI: DTC: Removed 0 initialization for statics

2015-06-28 Thread Rudhresh
Removed unneccessary initialization of zero to a static variable Signed-off-by: Rudhresh Kumar J rudhre...@cdac.in --- drivers/scsi/dtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index 4c74c7b..99164d6 100644 ---

Re: [PATCH] un-improve strrchr()

2015-06-28 Thread Alexey Dobriyan
Joe Perches wrote: On Sun, 2015-06-28 at 19:44 +0300, Alexey Dobriyan wrote: Commit 8da53d4595a53fb9a3380dd4d1c9bc24c7c9aab8 (lib/string.c: improve strrchr()) changed strrchr() implementation from rewind to the end and search backwards to search forward optimizing for characher not found

Re: [PATCH v2 1/2] tty: add missing rcu_read_lock for task_pgrp

2015-06-28 Thread Patrick Donnelly
On Sun, Jun 28, 2015 at 11:23 AM, Peter Hurley pe...@hurleysoftware.com wrote: On 06/27/2015 08:51 PM, Patrick Donnelly wrote: task_pgrp requires an rcu or tasklist lock to be obtained if the returned pid is to be dereferenced, which kill_pgrp does. Obtain an RCU lock for the duration of use.

[PATCH RESEND 10/10] Drivers: hv: vmbus: Permit sending of packets without payload

2015-06-28 Thread K. Y. Srinivasan
The guest may have to send a completion packet back to the host. To support this usage, permit sending a packet without a payload - we would be only sending the descriptor in this case. Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel.c |4 +++- 1 files changed, 3

[PATCH RESEND 05/10] Drivers: hv: vmbus: add special crash handler

2015-06-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com Full kernel hang is observed when kdump kernel starts after a crash. This hang happens in vmbus_negotiate_version() function on wait_for_completion() as Hyper-V host (Win2012R2 in my testing) never responds to CHANNELMSG_INITIATE_CONTACT as it thinks the

[PATCH RESEND 01/10] Drivers: hv: vmbus: remove hv_synic_free_cpu() call from hv_synic_cleanup()

2015-06-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com We already have hv_synic_free() which frees all per-cpu pages for all CPUs, let's remove the hv_synic_free_cpu() call from hv_synic_cleanup() so it will be possible to do separate cleanup (writing to MSRs) and final freeing. This is going to be used to

[PATCH RESEND 04/10] Drivers: hv: don't do hypercalls when hypercall_page is NULL

2015-06-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com At the very late stage of kexec a driver (which are not being unloaded) can try to post a message or signal an event. This will crash the kernel as we already did hv_cleanup() and the hypercall page is NULL. Move all common (between 32 and 64 bit code)

[PATCH RESEND 09/10] Drivers: hv: balloon: Enable dynamic memory protocol negotiation with Windows 10 hosts

2015-06-28 Thread K. Y. Srinivasan
From: Alex Ng ale...@microsoft.com Support Win10 protocol for Dynamic Memory. Thia patch allows guests on Win10 hosts to hot-add memory even when dynamic memory is not enabled on the guest. Signed-off-by: Alex Ng ale...@microsoft.com Signed-off-by: K. Y. Srinivasan k...@microsoft.com ---

Re: [PATCH 3/6] ASoC: fsl_ssi: enable AC'97 asymmetric rates

2015-06-28 Thread Maciej S. Szmigiero
W dniu 28.06.2015 16:01, Timur Tabi pisze: Maciej S. Szmigiero wrote: /* Are the RX and the TX clocks locked? */ if (!of_find_property(np, fsl,ssi-asynchronous, NULL)) { -ssi_private-cpu_dai_drv.symmetric_rates = 1; +if (!fsl_ssi_is_ac97(ssi_private)) +

Re: [PATCH v2 1/2] tty: add missing rcu_read_lock for task_pgrp

2015-06-28 Thread Peter Hurley
On 06/28/2015 01:20 PM, Patrick Donnelly wrote: On Sun, Jun 28, 2015 at 11:23 AM, Peter Hurley pe...@hurleysoftware.com wrote: On 06/27/2015 08:51 PM, Patrick Donnelly wrote: task_pgrp requires an rcu or tasklist lock to be obtained if the returned pid is to be dereferenced, which

[PATCH] ARM: tegra: paz00: set gpiod_lookup table conn_id's

2015-06-28 Thread Dmitry Osipenko
Commit 72daceb9a10a (net: rfkill: gpio: Add default GPIO driver mappings for ACPI) removed possibility to request GPIO by table index for non-ACPI platforms without changing it users. As result shutdown GPIO request will fail if request for reset GPIO succeeded or reset will be requested instead

[PATCH]drivers:staging:visorbus:Fix checkpatch warnings

2015-06-28 Thread Ravi Teja
This patch fixes checkpatch warnings Signed-off-by: Ravi Teja Darbha rav...@gmail.com --- drivers/staging/unisys/visorbus/visorchipset.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c

[PATCH RESEND 00/10] Drivers: hv: vmbus: Enable kexec and other misc cleanup

2015-06-28 Thread K. Y. Srinivasan
In addition to enabling kexec, this patch-set has a bunch of miscellaneous fixes. I have been having mail issues and hence resending the series. Alex Ng (1): Drivers: hv: balloon: Enable dynamic memory protocol negotiation with Windows 10 hosts K. Y. Srinivasan (1): Drivers: hv: vmbus:

[PATCH RESEND 03/10] Drivers: hv: vmbus: add special kexec handler

2015-06-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com When general-purpose kexec (not kdump) is being performed in Hyper-V guest the newly booted kernel fails with an MCE error coming from the host. It is the same error which was fixed in the Drivers: hv: vmbus: Implement the protocol for tearing down vmbus

[PATCH RESEND 02/10] kexec: define kexec_in_progress in !CONFIG_KEXEC case

2015-06-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com If some piece of code wants to check kexec_in_progress it has to be put in #ifdef CONFIG_KEXEC block to not break the build in !CONFIG_KEXEC case. Overcome this limitation by defining kexec_in_progress to false. Signed-off-by: Vitaly Kuznetsov

[PATCH RESEND 07/10] Drivers: hv: kvp: check kzalloc return value

2015-06-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com kzalloc() return value check was accidentally lost in 11bc3a5fa91f: Drivers: hv: kvp: convert to hv_utils_transport commit. We don't need to reset kvp_transaction.state here as we have the kvp_timeout_func() timeout function and in case we're in OOM

[PATCH REESEND 06/10] Drivers: hv: vmbus: prefer 'die' notification chain to 'panic'

2015-06-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com current_pt_regs() sometimes returns regs of the userspace process and in case of a kernel crash this is not what we need to report. E.g. when we trigger crash with sysrq we see the following: ... RIP: 0010:[815b8696] [815b8696]

[PATCH RESEND 08/10] Drivers: hv: fcopy: dynamically allocate smsg_out in fcopy_send_data()

2015-06-28 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com struct hv_start_fcopy is too big to be on stack on i386, the following warning is reported: drivers/hv/hv_fcopy.c:159:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] Reported-by: kbuild test robot

Re: [PATCH V2 4/6] slim: qcom: Add Qualcomm Slimbus controller driver

2015-06-28 Thread Sagar Dharia
On 6/17/2015 7:53 AM, Mark Brown wrote: On Tue, Jun 16, 2015 at 07:46:02PM -0600, Sagar Dharia wrote: + - dmaengine, and pipes used to communicate between controller and memory if + sps-BAM HW is used This needs more detail. +*/ + mb(); + if

[PATCH] gpu: host1x: Fix MLOCK's debug info

2015-06-28 Thread Dmitry Osipenko
MLOCK's debug info, spewed on CDMA timeout, contains meaningless MLOCK owner channel ID because HOST1X_SYNC_MLOCK_OWNER_CHID_F() returns shifted value, while unshifted should be used. Fix it by changing '_F' to '_V'. Signed-off-by: Dmitry Osipenko dig...@gmail.com ---

Re: [PATCH v2 1/2] tty: add missing rcu_read_lock for task_pgrp

2015-06-28 Thread Peter Hurley
Hi Patrick, On 06/27/2015 08:51 PM, Patrick Donnelly wrote: task_pgrp requires an rcu or tasklist lock to be obtained if the returned pid is to be dereferenced, which kill_pgrp does. Obtain an RCU lock for the duration of use. Signed-off-by: Patrick Donnelly batr...@batbytes.com ---

[PATCH RFC v2 1/3] tty: serial core: provide method to search uart by phandle

2015-06-28 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com 1. add registered uart_ports to a search list 2. provide a function to search an uart_port by phandle. This copies the mechanism how devm_usb_get_phy_by_phandle() works Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek

[PATCH RFC v2 2/3] tty: serial_core: Add hooks for uart slave drivers

2015-06-28 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com 1. allow drivers to get notified in mctrl changes 2. allow drivers to get notified on rx data (indicating to the driver that the connected chip is active) Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko

[PATCH RFC v2 3/3] misc: Add w2g0004 gps receiver driver

2015-06-28 Thread Marek Belisko
From: H. Nikolaus Schaller h...@goldelico.com Add driver for Wi2Wi w2g004 GPS module connected through uart. Use uart slave + notification hooks to glue with tty. Signed-off-by: H. Nikolaus Schaller h...@goldelico.com Signed-off-by: Marek Belisko ma...@goldelico.com ---

[PATCH RFC v2 0/3] UART slave device support

2015-06-28 Thread Marek Belisko
Post RFC V2 (test on 4.1) as it seems that V1 wasn't sent properly. Hi all, this patch series is our proposal to add hooks so that the driver for a device connected to an UART can monitor modem control lines and data activity of the connected chip. It contains an example for such a device

Re: [PATCH] hpfs: add fstrim support

2015-06-28 Thread Linus Torvalds
On Sun, Jun 28, 2015 at 6:16 AM, Mikulas Patocka miku...@twibright.com wrote: This patch adds support for fstrim to the HPFS filesystem. ... +#ifdef CONFIG_COMPAT + .compat_ioctl = hpfs_compat_ioctl, +#endif ... +#ifdef CONFIG_COMPAT + .compat_ioctl = hpfs_compat_ioctl,

Re: [PATCH] HID: microsoft: Add quirk for MS Surface Type/Touch cover

2015-06-28 Thread Reyad Attiyat
This is missing a device ID I will need to resubmit Sorry, Reyad Attiyat On Fri, Jun 26, 2015 at 1:00 AM, Reyad Attiyat reyad.atti...@gmail.com wrote: The newer frimware on MS Surface 2 tablets causes the type and touch cover keyboards to timeout when waiting for reports. Signed-off-by:

Re: [PATCH 2/2] vfio: powerpc/spapr: One function call less in tce_iommu_attach_group() after kzalloc() failure

2015-06-28 Thread Alexey Kardashevskiy
On 06/29/2015 02:24 AM, SF Markus Elfring wrote: From: Markus Elfring elfr...@users.sourceforge.net Date: Sun, 28 Jun 2015 17:58:42 +0200 The kfree() function was called even if a previous memory allocation try failed. tcegrp will be NULL and kfree() can handle this just fine (is not it the

Re: [PATCH] xen-netfront: Remove the meaningless code

2015-06-28 Thread David Miller
From: David Vrabel david.vra...@citrix.com Date: Fri, 26 Jun 2015 16:15:18 +0100 On 27/06/15 00:17, Liang Li wrote: The function netif_set_real_num_tx_queues() will return -EINVAL if the second parameter 1, so call this function with the second parameter set to 0 is meaningless.

Re: [PATCH] flow_dissector: Pre-initialize ip_proto in __skb_flow_dissect()

2015-06-28 Thread David Miller
From: Geert Uytterhoeven ge...@linux-m68k.org Date: Thu, 25 Jun 2015 15:10:32 +0200 net/core/flow_dissector.c: In function ‘__skb_flow_dissect’: net/core/flow_dissector.c:132: warning: ‘ip_proto’ may be used uninitialized in this function Signed-off-by: Geert Uytterhoeven

Re: [PATCH] drivers: net: xgene: Pre-initialize ret in xgene_enet_get_resources()

2015-06-28 Thread David Miller
From: Geert Uytterhoeven ge...@linux-m68k.org Date: Thu, 25 Jun 2015 15:13:29 +0200 If CONFIG_ACPI=n: drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function ‘xgene_enet_get_resources’: drivers/net/ethernet/apm/xgene/xgene_enet_main.c:951: warning: ‘ret’ may be used

[PATCH 2/3] percpu-rwsem: don't use percpu_rw_semaphore-rw_sem to exclude writers

2015-06-28 Thread Oleg Nesterov
percpu_down_write() does down_write() to exclude both the readers and other writers. We can rely on rcu_sync_enter() in exclusive mode and take -rw_sem right before wait_event(). Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/locking/percpu-rwsem.c |3 +-- 1 files changed, 1

[PATCH 3/3] percpu-rwsem: introduce percpu_rw_semaphore-recursive mode

2015-06-28 Thread Oleg Nesterov
Add percpu_rw_semaphore-recursive boolean. If it is true then the recursive percpu_down_read() is safe, percpu_down_write() doesn't exclude the new readers, like cpu_hotplug_begin(). Signed-off-by: Oleg Nesterov o...@redhat.com --- include/linux/percpu-rwsem.h | 15 ++-

[RESEND PATCH] regulator: Add lockdep asserts to help detecting locking misuse

2015-06-28 Thread Krzysztof Kozlowski
Add lockdep_assert_held_once() to functions explicitly mentioning that rdev or regulator_list mutex must be held. Using WARN_ONCE shouldn't pollute the dmesg to much. The patch (if CONFIG_LOCKDEP enabled) will show warnings in certain regulators calling regulator_notifier_call_chain() without

[PATCH v2] HID: microsoft: Add quirk for MS Surface Type/Touch cover

2015-06-28 Thread Reyad Attiyat
The newer firmware on MS Surface 2 tablets causes the type and touch cover keyboards to timeout when waiting for reports. The quirk HID_QUIRK_NO_INIT_REPORTS allows them to function normally. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com --- drivers/hid/usbhid/hid-quirks.c | 3 +++ 1

[GIT PULL REQUEST] md updates for 4.2

2015-06-28 Thread NeilBrown
The following changes since commit 0f57d86787d8b1076ea8f9cba2a46d534a27: Linux 4.1-rc8 (2015-06-14 15:51:10 -1000) are available in the git repository at: git://neil.brown.name/md/ tags/md/4.2 for you to fetch changes up to ab16bfc732c436658d13455f28b0b4a2608a7476: md: clear Blocked

[RESEND] mfd: rtsx: add support for rts522A

2015-06-28 Thread micky_ching
From: Micky Ching micky_ch...@realsil.com.cn rts522a(rts5227s) is derived from rts5227, and mainly same with rts5227. Add it to file mfd/rts5227.c to support this chip. Signed-off-by: Micky Ching micky_ch...@realsil.com.cn --- drivers/mfd/Kconfig | 7 ++-- drivers/mfd/rts5227.c

Re: [Intel-gfx] [v3 0/7] Crystalcove (CRC) PMIC based panel and pwm control

2015-06-28 Thread Paul Gortmaker
[Re: [Intel-gfx] [v3 0/7] Crystalcove (CRC) PMIC based panel and pwm control] On 26/06/2015 (Fri 20:47) Ville Syrjälä wrote: On Fri, Jun 26, 2015 at 06:31:37PM +0200, Daniel Vetter wrote: On Fri, Jun 26, 2015 at 02:32:03PM +0530, Shobhit Kumar wrote: Hi, Next update of the series

Re: [PATCH RESEND] Bluetooth: btusb: Modify entry to support misc devices with BT interface

2015-06-28 Thread Larry Finger
On 06/28/2015 04:49 PM, Xi Ruoyao wrote: In the USB device table in btusb driver, the code specify a generic Bluetooth device by matching Device Descriptor. However, some devices with BT interface are classified as Miscellaneous Device and have different Device Descriptor, such as Realtek

[git pull] m68knommu arch fixes for 4.2

2015-06-28 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Only a couple of small changes. Improved the m68knommu MAINTAINERS entry to make it clearer which m68k parts this applies to, and a print format clean up. Regards Greg The following changes since commit

Re: [PATCH v2 1/3] iio: magnetometer: Add support for MEMSIC MMC35240 sensor

2015-06-28 Thread Hartmut Knaack
Daniel Baluta schrieb am 24.04.2015 um 17:58: Minimal implementation for MMC35240 3-axis magnetometer sensor. It provides processed readings and possiblity to change the sampling frequency. Hi Daniel, please find a few issues inline, which you could address in a next rework patch set. I

[no subject]

2015-06-28 Thread Khan Maimunah (RW3) CMFT Manchester
You have been pick for a donation contact: ( gloriamackenzi...@gmail.com ) for more details... Privacy and Confidentiality Notice: The information contained in this e-mail is intended for the named recipient(s) only. It may contain privileged and confidential information. If you are not an

[PATCH 0/3] percpu-rwsem: introduce percpu_rw_semaphore-recursive mode

2015-06-28 Thread Oleg Nesterov
On 06/24, Oleg Nesterov wrote: So we need percpu_down_write_dont_block_readers(). I already thought about this before, I'll try to make the patch tomorrow on top of your changes. Never say tomorrow... This means that we do not need task_struct-cpuhp_ref, but we can't avoid livelock we

[PATCH 1/3] rcusync: introduce rcu_sync_struct-exclusive mode

2015-06-28 Thread Oleg Nesterov
Add rcu_sync_struct-exclusive boolean set by rcu_sync_init(), it obviously controls the exclusiveness of rcu_sync_enter(). This is what percpu_down_write() actually wants. We turn -gp_wait into struct completion gp_comp, it is used as a resource counter in exclusive mode. Otherwise we only use

Re: [lkp] [usb] 56aa45adcc5: Fixed: WARNING: at kernel/mutex.c:199 mutex_lock_nested+0x121/0x349()

2015-06-28 Thread Huang Ying
On Fri, 2015-06-26 at 11:01 -0500, Felipe Balbi wrote: Hi, On Fri, Jun 26, 2015 at 10:32:30AM +0800, Huang Ying wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 56aa45adcc5b793369e535a4b7177f1c7314b577 (usb:

[PATCH] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-06-28 Thread Reyad Attiyat
This commit checks for the URB_ZERO_PACKET flag and creates an extra zero-length td if the urb transfer length is a multiple of the endpoint max packet length. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com --- drivers/usb/host/xhci-ring.c | 41 - 1

Re: [PATCH] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-06-28 Thread Reyad Attiyat
Sorry I have forgotten to change the dp loop check line in the bulk_sg function. Will resubmit. On Sun, Jun 28, 2015 at 7:36 PM, Reyad Attiyat reyad.atti...@gmail.com wrote: This commit checks for the URB_ZERO_PACKET flag and creates an extra zero-length td if the urb transfer length is a

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-28 Thread Hui Wang
On 06/27/2015 11:03 AM, Raymond Yau wrote: Most Thinkpad Edge series laptops use conexant codec, so far although snip Is there anything I can debug or any information I can collect from my box to examine this? What is the linux distribution on your machine? And use showkey to catch the

[PATCH v2] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-06-28 Thread Reyad Attiyat
This commmit checks for the URB_ZERO_PACKET flag and creates an extra zero-length td if the urb transfer length is a multiple of the endpoint's max packet length. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com --- drivers/usb/host/xhci-ring.c | 43

[PATCH RFC 1/1] perf,tool: partial callgrap and time support

2015-06-28 Thread kan . liang
From: Kan Liang kan.li...@intel.com When multiple events are sampled it may not be needed to collect callgraphs for all of them. The sample sites are usually nearby, and it's enough to collect the callgraphs on a reference event (such as precise cycles or precise instructions). Similarly we also

[PATCH] mwifiex: usb: Fix double add error when submitting rx urb

2015-06-28 Thread Reyad Attiyat
There is an error that can occur where the driver adds the same URB to USB submission list twice. This happens since mwifiex_usb_submit_rem_rx can submit packets at same time as an rx urb complete callback. This causes list corruption and is fixed by not setting the skb to NULL when submitting

Re: [all better] Re: regression: massive trouble with fpu rework

2015-06-28 Thread Henrique de Moraes Holschuh
On Sun, 28 Jun 2015, Mike Galbraith wrote: On Sun, 2015-06-28 at 12:06 -0300, Henrique de Moraes Holschuh wrote: It is just that this kind of breakage should not be subtle if we can help it, because people will use a crippled system for years without noticing... If you can use it without

[PATCH] Input: elan_i2c - Add hover event for ST format

2015-06-28 Thread duson
Signed-off by: Duson Lin duson...@emc.com.tw --- drivers/input/mouse/elan_i2c_core.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/input/mouse/elan_i2c_core.c b/drivers/input/mouse/elan_i2c_core.c index 62641f2..ce97e28 100644 --- a/drivers/input/mouse/elan_i2c_core.c +++

Re: [PATCH v2 2/2] tty: check tcsetpgrp p is a process group

2015-06-28 Thread Patrick Donnelly
On Sun, Jun 28, 2015 at 12:07 PM, Peter Hurley pe...@hurleysoftware.com wrote: On 06/27/2015 08:51 PM, Patrick Donnelly wrote: This fixes a bug where a process can set the foreground process group to its pid even if its pid is not a valid pgrp. Signed-off-by: Patrick Donnelly

Re: [PATCH] power: axp288_charger: Fix broken extcon API calls

2015-06-28 Thread Chanwoo Choi
Hi Guenter, The similar patch[1] was already merged. [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4b703b1d4c46ca4a00109ca1a391943ec21991b3 Thanks, Chanwoo Choi On 06/27/2015 10:12 AM, Guenter Roeck wrote: The extcon API calls have been changed to add an

Re: [RFC Patch V1] ioatdma: Ignore IOAT devices under hotplug-capable PCI host bridge

2015-06-28 Thread Jiang Liu
Hi Dave, Gentle Ping:) Any suggestion about this patch? Thanks! Gerry On 2015/6/2 14:36, Jiang Liu wrote: The dmaengine core assumes that async DMA devices will only be removed when they not used anymore, or it assumes dma_async_device_unregister() will only be called by dma driver exit

Re: [RFC Patch V1] ioatdma: Ignore IOAT devices under hotplug-capable PCI host bridge

2015-06-28 Thread Jiang, Dave
On Jun 28, 2015, at 7:14 PM, Jiang Liu jiang@linux.intel.com wrote: Hi Dave, Gentle Ping:) Any suggestion about this patch? Thanks! Gerry I'm fine with it if Dan has no objections. On 2015/6/2 14:36, Jiang Liu wrote: The dmaengine core assumes that async DMA devices will only

Re: [RESEND PATCH 1/6] Document: bindings: DT: Add SMP enable method for MT6580 SoC platform

2015-06-28 Thread Yingjoe Chen
On Fri, 2015-06-19 at 02:01 +0800, Scott Shu wrote: For MT6580 SoC platform, the secondary cores are in powered off state as default, so compared with MT65xx series SoC, one new enable method is needed. This method using the SPM (System Power Manager) inside the SCYSYS to control the CPU

Re: [PATCH]drivers:staging:visorbus:Fix checkpatch warnings

2015-06-28 Thread Greg KH
On Sun, Jun 28, 2015 at 10:24:49PM +0530, Ravi Teja wrote: This patch fixes checkpatch warnings What warnings? Be specific please. -- 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] net: via: VIA_RHINE and VIA_VELOCITY should depend on HAS_DMA

2015-06-28 Thread David Miller
From: Geert Uytterhoeven ge...@linux-m68k.org Date: Fri, 26 Jun 2015 14:08:22 +0200 If NO_DMA=y: ... Before, the symbols depended implicitly on HAS_DMA through PCI or USE_OF. Add explicit dependencies on HAS_DMA to fix this. Fixes: commit b7d3282a245f4428 (net: via/Kconfig: replace USE_OF

[PATCH] kernel/ptrace.c: 2 blank lines, 2 sizeof parentheses

2015-06-28 Thread Ruben Carlo Benante
Fixed 4 checkpatch.pl warnings: kernel/ptrace.c:270: WARNING: Missing a blank line after declarations kernel/ptrace.c:413: WARNING: Missing a blank line after declarations kernel/ptrace.c:841: WARNING: sizeof siginfo should be sizeof(siginfo) kernel/ptrace.c:1140: WARNING: sizeof siginfo

Re: [PATCH RFC] MAINTAINERS: Update Zynq git tree location

2015-06-28 Thread Michal Simek
On 06/26/2015 06:04 PM, Soren Brinkmann wrote: The git tree for Zynq moved to Github. Update the MAINTAINERS record to reflect the change. Signed-off-by: Soren Brinkmann soren.brinkm...@xilinx.com --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [RFC PATCH 0/6] stop_machine: kill stop_cpus_mutex and stop_cpus_lock

2015-06-28 Thread Oleg Nesterov
On 06/26, Oleg Nesterov wrote: 2 cmpxchg()'s vs 2 spin_lock()'s. Plus wake_up(), but we can check waitqueue_active(). Do you think thi will be noticeably slower? Of course, if it races with another stop_two_cpus/stop_cpus it will sleep, but in this case we need to wait anyway. And I

linux-next: Tree for Jun 29

2015-06-28 Thread Stephen Rothwell
Hi all, Changes since 20150626: Undropped tree: edac-amd The modules tree lost its build failure. Non-merge commits (relative to Linus' tree): 1821 1683 files changed, 111393 insertions(+), 26077 deletions(-) I

[RFC][PATCH 1/1] drm/amdkfd: Remove redundant pdd validation

2015-06-28 Thread Maninder Singh
pdd is already dereferenced before this check. So it is redundtant to validate pdd here. Signed-off-by: Maninder Singh maninder...@samsung.com --- drivers/gpu/drm/amd/amdkfd/kfd_process.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH RFC] tun, macvtap: higher order allocations for skbs

2015-06-28 Thread Jason Wang
On 06/18/2015 06:20 PM, Michael S. Tsirkin wrote: Needs more testing. Anyone see anything wrong with this? Signed-off-by: Michael S. Tsirkin m...@redhat.com --- drivers/net/macvtap.c | 2 +- drivers/net/tun.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH] arm64: defconfig: Add Ceva ahci to the defconfig

2015-06-28 Thread Michal Simek
From: Suneel Garapati suneel.garap...@xilinx.com The Ceva ahci controller is available on the Xilinx Zynq UltraScale+ MPSoC. Signed-off-by: Suneel Garapati suneel.garap...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm64/configs/defconfig | 4 ++-- 1 file changed,

<    1   2   3