Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread joerg Reisenweber
On Wed 08 June 2016 15:04:02 Sergei Shtylyov wrote: > On 6/8/2016 1:02 PM, Felipe Balbi wrote: > >> * Pali Rohár [160607 05:53]: > Tony, what do you think about that patch? > >>> > >>> Tony, PING > >> > >> Yeah I don't know, AFAIK we don't have a generic way to > >> force MUSB to change mod

Re: NVMe over Fabrics target implementation

2016-06-08 Thread Christoph Hellwig
On Tue, Jun 07, 2016 at 10:21:41PM -0700, Nicholas A. Bellinger wrote: > *) Extensible to multiple types of backend drivers. > > nvme-target needs a way to absorb new backend drivers, that > does not effect existing configfs group layout or attributes. > > Looking at the nvmet/configfs layout as-

Re: [PATCH v2 2/6] drm/panel: simple: Add support for LG LP097QX1-SPA1 2048x1536 panel

2016-06-08 Thread Emil Velikov
Hi Yakir, On 8 June 2016 at 12:52, Yakir Yang wrote: > The LG LP097QX1-SPA1 is an 9.7", 2048x1536 (QXGA) TFT-LCD panel > connected using eDP interfaces. > > Signed-off-by: Yakir Yang > --- > Changes in v2: None > > drivers/gpu/drm/panel/panel-simple.c | 25 + > 1 file ch

Re: [alsa-devel] [PATCH v4] ASoC: rockchip: Add machine driver for RK3399 GRU Boards

2016-06-08 Thread kbuild test robot
Hi, [auto build test WARNING on rockchip/for-next] [also build test WARNING on v4.7-rc2 next-20160608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Xing-Zheng/ASoC-rockchip-Add-machine-driver

[PATCH] Add .set_antenna callback in ath6kl driver to remove wireless core warns

2016-06-08 Thread Prasun Maiti
Since add more warnings for inconsistent ops in cfg80211, the wireless core warns if a driver implements a cfg80211 callback but doesn't implements the inverse operation. The ath6kl driver implements a cfg80211 .get_antenna operation handler but doesn't have the inverse .set_antenna callback. So, i

Re: [PATCH V8 7/9] acpi: Add generic MCFG table handling

2016-06-08 Thread Tomasz Nowicki
On 08.06.2016 03:56, Bjorn Helgaas wrote: On Mon, May 30, 2016 at 05:14:20PM +0200, Tomasz Nowicki wrote: In order to handle PCI config space regions properly in ACPI, new MCFG interface is defined which does sanity checks on MCFG table and keeps its root pointer. The user is able to lookup MCFG

Re: [PATCH 0/2] *** r8723au: Replace semaphore lock with mutex ***

2016-06-08 Thread Jes Sorensen
Binoy Jayan writes: > Hi, > > These are a set of patches which removes semaphores from: > > drivers/staging/rtl8723au > > These are part of a bigger effort to eliminate all semaphores > from the linux kernel. > > They build correctly (individually and as a whole). > NB: I have not tested this as

Re: [PATCH] staging: rtl8712: Fixed multiple parenthesis alignment warnings in ieee80211.c

2016-06-08 Thread Parth Sane
No mate, that aint just cutting it. I tried putting it, maybe i’m doing something wrong? Regards, Parth > On 08-Jun-2016, at 5:46 PM, Luis de Bethencourt > wrote: > > On 08/06/16 12:58, Parth Sane wrote: >> I’m trying to fix line 224 but its simply not happening. Can you help me >> with this? >

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-08 Thread Horng-Shyang Liao
Hi Matthias, On Wed, 2016-06-08 at 12:45 +0200, Matthias Brugger wrote: > > On 08/06/16 07:40, Horng-Shyang Liao wrote: > > Hi Matthias, > > > > On Tue, 2016-06-07 at 18:59 +0200, Matthias Brugger wrote: > >> > >> On 03/06/16 15:11, Matthias Brugger wrote: > >>> > >>> > >> [...] > >> > >>

Re: [PATCH v3] mailbox: pcc: Support HW-Reduced Communication Subspace type 2

2016-06-08 Thread Ashwin Chaugule
+ Prashanth (Can you please have a look as well?) On 31 May 2016 at 15:35, Hoan Tran wrote: > Hi Ashwin, Hi, Sorry about the delay. I'm in the middle of switching jobs and locations, so its been a bit crazy lately. I dont have any major concerns with this code, although there could be subtle is

Re: [PATCH] spi: rockchip: Signal unfinished DMA transfers

2016-06-08 Thread Heiko Stübner
Am Mittwoch, 8. Juni 2016, 09:32:51 schrieb Tomeu Vizoso: > When using DMA, the transfer_one callback should return 1 because the > transfer hasn't finished yet. > > A previous commit changed the function to return 0 when the DMA channels > were correctly prepared. > > This manifested in Veyron b

[PATCH] arm64: defconfig: enable CONFIG_LOCALVERSION_AUTO

2016-06-08 Thread Masahiro Yamada
When CONFIG_LOCALVERSION_AUTO is disabled, the version string is just a tag name (or with a '+' appended if HEAD is not a tagged commit). During the development (and especially when git-bisecting), longer version string would be helpful to identify the commit we are running. This is a default y o

Re: [PATCH 06/10] mm: remove unnecessary use-once cache bias from LRU balancing

2016-06-08 Thread Michal Hocko
On Mon 06-06-16 15:48:32, Johannes Weiner wrote: > When the splitlru patches divided page cache and swap-backed pages > into separate LRU lists, the pressure balance between the lists was > biased to account for the fact that streaming IO can cause memory > pressure with a flood of pages that are u

Re: Nokia N900: musb is in wrong state after boot

2016-06-08 Thread Sergei Shtylyov
On 6/8/2016 3:18 PM, joerg Reisenweber wrote: Tony, what do you think about that patch? Tony, PING Yeah I don't know, AFAIK we don't have a generic way to force MUSB to change mode without ID pin. If you have figured something generic for that which does not actually tinker with the PHY regi

Re: [PATCH 1/2] x86/entry: Avoid interrupt flag save and restore

2016-06-08 Thread Paolo Bonzini
On 08/06/2016 14:16, Ingo Molnar wrote: > > The guest ones are not quite as consistent. I can fix that later, > > there's no reason also to have guest context tracking split between > > include/linux/context_tracking.h and include/linux/kvm_host.h. > > Could we please first do the cleanups befor

Re: [PATCH v3] powerpc: spinlock: Fix spin_unlock_wait()

2016-06-08 Thread Peter Zijlstra
On Wed, Jun 08, 2016 at 09:20:45PM +1000, Michael Ellerman wrote: > On Mon, 2016-06-06 at 16:46 +0200, Peter Zijlstra wrote: > > On Mon, Jun 06, 2016 at 10:17:25PM +1000, Michael Ellerman wrote: > > > On Mon, 2016-06-06 at 13:56 +0200, Peter Zijlstra wrote: > > > > On Mon, Jun 06, 2016 at 09:42:20P

Re: [PATCH] x86/efi: Auto enable EFI memmap on SGI UV systems

2016-06-08 Thread Matt Fleming
(Cc'ing people familiar with e820 map woes) On Thu, 02 Jun, at 03:50:35PM, Joseph Thelen wrote: > Currently, the EFI memory map entries are disabled by default and must > be enabled by passing the kernel boot option: > > add_efi_memmap > > The EFI memory map entries should be enabled on systems

[BUGFIX][PATCH v8 1/5] perf config: Handle the error about NULL at perf_config_set__delete()

2016-06-08 Thread Taeung Song
perf_config_set__delete() purge and free the config set that contains all config key-value pairs. But if the config set (i.e. 'set' variable at the function) is NULL, this is wrong so handle it. Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Masami Hiramatsu Cc: Namhyung Kim Cc: Wang Nan Signed-off

[PATCH v8 3/5] perf config: Reimplement perf_config() using perf_config_set__iter()

2016-06-08 Thread Taeung Song
Many sub-commands use perf_config() so everytime perf_config() is called, perf_config() always read config files. (i.e. user config '~/.perfconfig' and system config '$(sysconfdir)/perfconfig') But we need to use the config set that already contains all config key-value pairs to avoid this repetit

[PATCH v8 2/5] perf config: Bring declarations about config from util/cache.h to util/config.h

2016-06-08 Thread Taeung Song
Lately util/config.h has been added but util/cache.h has declarations of functions and extern variable for config features. To manage codes about configuration at one spot, move them to util/config.h and util/cache.h include util/config.h Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Masami Hiramats

[PATCH v8 5/5] perf config: Reimplement show_config() using perf_config_set__iter()

2016-06-08 Thread Taeung Song
Old show_config() directly use config set so there are many duplicated code with perf_config_set__iter(). So reimplement show_config() using perf_config() that use perf_config_set__iter() with config set that already contains all configs. Cc: Namhyung Kim Cc: Jiri Olsa Cc: Masami Hiramatsu Cc:

[PATCH v8 4/5] perf config: Use zfree() instead of free() at perf_config_set__delete()

2016-06-08 Thread Taeung Song
perf_config_set__delete() delete allocated the config set but the global variable 'config_set' is used all around. So purge and zfree by an address of the global variable , i.e. 'struct perf_config_set **' type instead of using local variable 'set' of which type is 'struct perf_config_set *'. Cc:

[RFC][PATCH v8 0/5] perf config: Reimplement perf_config() using perf_config_set__inter()

2016-06-08 Thread Taeung Song
Hello, :) This patchset is to reimplement perf_config() for efficient config management. Everytime perf_config() is called, perf_config() always read config files. (i.e. user config '~/.perfconfig' and system config '$(sysconfdir)/perfconfig') But we need to use 'struct perf_config_set config_se

Re: [PATCH v7 3/7] perf config: Add global variable 'config_set'

2016-06-08 Thread Taeung Song
My answer was too long.. To be short, many sub-commands use perf_config() so wherever new perf_config() is called, the config set that already contains all configs from config files should be shared. And when a sub-command is done, we need to free the config set at run_builtin() as below. So, IM

Re: [PATCH] x86/efi: remove unused variable efi

2016-06-08 Thread Matt Fleming
On Mon, 06 Jun, at 03:32:11PM, Colin Ian King wrote: > From: Colin Ian King > > Remove unused variable efi, it is never used. Fixes clang build > warning: > > arch/x86/boot/compressed/eboot.c:803:2: warning: Value stored to > 'efi' is never read > > Signed-off-by: Colin Ian King > --- > arc

Re: [PATCH] [efifb] Fix 16 color palette entry calculation

2016-06-08 Thread Matt Fleming
On Tue, 07 Jun, at 01:23:05PM, Peter Jones wrote: > > Looks right to me. > > Acked-By: Peter Jones Tomi, are you OK to take this one or would you like me to take it through the EFI tree?

Re: [PATCH -v2 00/33] implement atomic_fetch_$op

2016-06-08 Thread Peter Zijlstra
On Thu, Jun 02, 2016 at 11:33:04AM +0200, Peter Zijlstra wrote: > On Thu, Jun 02, 2016 at 09:27:36AM +, Vineet Gupta wrote: > > What's ur merge plan - are u going to rebase/respin once more so I can push > > those > > updates to Linus for 4.7-rc2. Or you could carry those ARC patches in ur >

Re: [PATCH v9 08/14] usb: otg: add OTG/dual-role core

2016-06-08 Thread Peter Chen
On Wed, Jun 08, 2016 at 01:12:10PM +0300, Roger Quadros wrote: > Hi, > > On 08/06/16 12:53, Peter Chen wrote: > > On Wed, Jun 08, 2016 at 12:03:40PM +0300, Roger Quadros wrote: > >> +int usb_otg_unregister(struct device *dev) > >> +{ > >> + struct usb_otg *otg; > >> + > >> + mutex_lock(&otg_list

Re: [RFC][PATCH 2/5] driver core: Functional dependencies tracking support

2016-06-08 Thread Mark Brown
On Thu, Jan 14, 2016 at 02:54:17AM +0100, Rafael J. Wysocki wrote: > + * A side effect of the link creation is re-ordering of dpm_list and the > + * devices_kset list by moving the consumer device and all devices depending > + * on it to the ends of those lists. How does this work in the scenario

Re: [PATCH 07/10] mm: base LRU balancing on an explicit cost model

2016-06-08 Thread Michal Hocko
On Mon 06-06-16 15:48:33, Johannes Weiner wrote: > Currently, scan pressure between the anon and file LRU lists is > balanced based on a mixture of reclaim efficiency and a somewhat vague > notion of "value" of having certain pages in memory over others. That > concept of value is problematic, beca

Re: linux-4.6/drivers/crypto/ux500/hash/hash_core.c: 2 * possible bad size ?

2016-06-08 Thread Linus Walleij
On Wed, May 18, 2016 at 9:46 AM, Herbert Xu wrote: > On Mon, May 16, 2016 at 07:13:12PM +0100, David Binderman wrote: >> Hello there, >> >> 1. >> >> linux-4.6/drivers/crypto/ux500/hash/hash_core.c:784]: (warning) Division by >> result of sizeof(). memmove() expects a size in bytes, did you intend

Re: [PATCH 1/2] x86/entry: Avoid interrupt flag save and restore

2016-06-08 Thread Ingo Molnar
* Paolo Bonzini wrote: > > > On 08/06/2016 14:16, Ingo Molnar wrote: > > > The guest ones are not quite as consistent. I can fix that later, > > > there's no reason also to have guest context tracking split between > > > include/linux/context_tracking.h and include/linux/kvm_host.h. > > > > C

Re: [PATCH -v2 00/33] implement atomic_fetch_$op

2016-06-08 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Jun 02, 2016 at 11:33:04AM +0200, Peter Zijlstra wrote: > > On Thu, Jun 02, 2016 at 09:27:36AM +, Vineet Gupta wrote: > > > > What's ur merge plan - are u going to rebase/respin once more so I can > > > push those > > > updates to Linus for 4.7-rc2. Or you

Re: [PATCH 08/10] mm: deactivations shouldn't bias the LRU balance

2016-06-08 Thread Michal Hocko
On Mon 06-06-16 15:48:34, Johannes Weiner wrote: > Operations like MADV_FREE, FADV_DONTNEED etc. currently move any > affected active pages to the inactive list to accelerate their reclaim > (good) but also steer page reclaim toward that LRU type, or away from > the other (bad). > > The reason why

Re: [PATCH v3 1/6] watchdog: add set_pretimeout interface

2016-06-08 Thread Vladimir Zapolskiy
Hi Wolfram, On 08.06.2016 09:34, Wolfram Sang wrote: > On Tue, Jun 07, 2016 at 08:38:42PM +0300, Vladimir Zapolskiy wrote: >> From: Robin Gong >> >> Add set_pretimeout since our watchdog driver has those interfaces and >> obviously, the new common watchdog framework didn't implement this >> inter

Re: [RFC][PATCH 3/5] PM core: Make async suspend/resume of devices use device links

2016-06-08 Thread Mark Brown
On Thu, Jan 14, 2016 at 02:55:25AM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make the device suspend/resume part of the core system > suspend/resume code use device links to ensure that supplier > and consumer devices will be suspended and resumed in the right > order in case

Re: [PATCHv9 2/2] selftest/x86: add mremap vdso test

2016-06-08 Thread Dmitry Safonov
On 05/21/2016 11:27 PM, Ingo Molnar wrote: Will look at applying this after the merge window. Ping? Thanks, Dmitry Safonov

[PATCH v2 04/15] mtd: nand: rename nand_get_flash_type() into nand_detect()

2016-06-08 Thread Boris Brezillon
The only caller of nand_get_flash_type() (nand_scan_ident()) actually don't use the returned nand_flash_dev pointer except for converting it to to an error code. Rename this function nand_detect() and make it return an integer. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 19

[PATCH v2 13/15] mtd: nand: samsung: retrieve ECC requirements from extended ID

2016-06-08 Thread Boris Brezillon
From: Hans de Goede On some nand controllers with hw-ecc the controller code wants to know the ecc strength and size and having these as 0, 0 is not accepted. Specifying these in devicetree is possible but undesirable as the nand may be different in different production runs of the same board, s

[PATCH v2 00/15] mtd: nand: allow vendor specific detection/initialization

2016-06-08 Thread Boris Brezillon
Hello, This patch series is a step forward in supporting vendor-specific functionalities. This series is mainly moving vendor-specific initialization or detection code out of the core, but also introduces an infrastructure allowing support for vendor-specific features. While those features might

[PATCH v2 05/15] mtd: nand: add manufacturer specific initialization/detection steps

2016-06-08 Thread Boris Brezillon
A lot of NANDs are implementing generic features in a non-generic way, or are providing advanced auto-detection logic where the NAND ID bytes meaning changes with the NAND generation. Providing this vendor specific initialization step will allow us to get rid of the full ids in the nand_ids table

[PATCH v2 02/15] mtd: nand: store nand ID in struct nand_chip

2016-06-08 Thread Boris Brezillon
Store the NAND ID in struct nand_chip to avoid passing id_data and id_len as function parameters. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 55 include/linux/mtd/nand.h | 13 +++ 2 files changed, 43 insertions(+), 2

[PATCH v2 01/15] mtd: nand: get rid of the mtd parameter in all auto-detection functions

2016-06-08 Thread Boris Brezillon
Now that struct nand_chip embeds an mtd_info object we can get rid of the mtd parameter and extract it from the chip parameter with the nand_to_mtd() helper. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 56 1 file changed, 30 inse

[PATCH v2 08/15] mtd: nand: move Hynix specific init/detection logic in nand_hynix.c

2016-06-08 Thread Boris Brezillon
Move Hynix specific initialization and detection logic into nand_hynix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 108 ++---

[PATCH v2 15/15] mtd: nand: hynix: add read-retry support for 1x nm MLC NANDs

2016-06-08 Thread Boris Brezillon
All Hynix MLC NANDs using the produced with the 1X nm process support read-retry. This read retry implementation should also be reusable for other Hynix NANDs, but the method to retrieve the read-retry parameters from the read-retry OTP area might change a bit (some NANDs are even using a fixed set

[PATCH v2 12/15] mtd: nand: move Macronix specific initialization in nand_macronix.c

2016-06-08 Thread Boris Brezillon
Move Macronix specific initialization into nand_macronix.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/nand_base.c | 11 --- drivers/mtd/nand/nand_ids.c

[PATCH v2 10/15] mtd: nand: move Micron specific init logic in nand_micron.c

2016-06-08 Thread Boris Brezillon
Move Micron specific initialization logic into nand_micron.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c | 31 +--- drivers/mtd/nand/nand_ids.c

[PATCH v2 11/15] mtd: nand: move AMD/Spansion specific init/detection logic in nand_amd.c

2016-06-08 Thread Boris Brezillon
Moving AMD/Spansion specific initialization/detection into nand_amd.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile| 1 + drivers/mtd/nand/nand_amd.c | 48

Re: [RFC][PATCH 1/6] staging: android: ion: return error value for ion_device_add_heap

2016-06-08 Thread Liviu Dudau
On Mon, Jun 06, 2016 at 11:23:28AM -0700, Laura Abbott wrote: > From: Laura Abbott > > > ion_device_add_heap doesn't return an error value. Change it to return > information to callers. > > Signed-off-by: Laura Abbott Reviewed-by: Liviu Dudau > --- > drivers/staging/android/ion/ion.c

[PATCH v2 14/15] mtd: nand: hynix: rework NAND ID decoding to extract more information

2016-06-08 Thread Boris Brezillon
The current NAND ID detection in nand_hynix.c is not handling the different scheme used by Hynix, thus forcing developers to add new entries in the nand_ids table each time they want to support a new MLC NAND. Enhance the detection logic to handle all known formats. This does not necessarily mean

[PATCH v2 07/15] mtd: nand: move Samsung specific init/detection logic in nand_samsung.c

2016-06-08 Thread Boris Brezillon
Move Samsung specific initialization and detection logic into nand_samsung.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c| 52 ++-- d

[PATCH v2 06/15] mtd: nand: kill the MTD_NAND_IDS Kconfig option

2016-06-08 Thread Boris Brezillon
MTD_NAND_IDS is selected by MTD_NAND, which makes it useless. Remove the Kconfig option and link nand_ids.o into the nand.o object file. Doing that also prevents adding an extra nand_ids.ko module when MTD_NAND is activated as a module. Signed-off-by: Boris Brezillon --- arch/cris/arch-v32/drive

[PATCH v2 03/15] mtd: nand: get rid of busw parameter

2016-06-08 Thread Boris Brezillon
Auto-detection functions are passed a busw parameter to retrieve the actual NAND bus width and eventually set the correct value in chip->options. Rework the nand_get_flash_type() function to get rid of this extra parameter and let detection code directly set the NAND_BUSWIDTH_16 flag in chip->optio

[PATCH v2 09/15] mtd: nand: move Toshiba specific init/detection logic in nand_toshiba.c

2016-06-08 Thread Boris Brezillon
Move Toshiba specific initialization and detection logic into nand_toshiba.c. This is part of the "separate vendor specific code from core" cleanup process. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/Makefile | 1 + drivers/mtd/nand/nand_base.c| 19 ++-- drivers/m

Re: [PATCH] futex: Calculate the futex key based on a tail page for file-based futexes

2016-06-08 Thread Davidlohr Bueso
On Tue, 07 Jun 2016, Mel Gorman wrote: Mike Galbraith reported that the LTP test case futex_wake04 was broken by commit 65d8fc777f6d ("futex: Remove requirement for lock_page() in get_futex_key()"). This test case uses futexes backed by hugetlbfs pages and so there is an associated inode with a

Re: [Intel-gfx] 4.7-rc0: redshift stopped working on intel display

2016-06-08 Thread Pavel Machek
Hi! > Could you try to apply the following patch [1], hopefully this fixes > the issue for you. > > [1] https://patchwork.freedesktop.org/patch/89111/ I updated the kernel, applied the patch and yes, that helped. Thanks! P

Re: [PATCH 1/2] mfd: sm-usb-dig: Add support for the TI SM-USB-DIG

2016-06-08 Thread Lee Jones
On Tue, 31 May 2016, Andrew F. Davis wrote: > The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. > Add MFD core support. > > Signed-off-by: Andrew F. Davis > --- > The SPI, GPIO, and 1Wire drivers are WIP. > > drivers/mfd/Kconfig| 8 +++ > drivers/mfd/Makefile |

Re: [PATCH v3 04/30] staging: unisys: visorbus: remove unused module parameters

2016-06-08 Thread Neil Horman
On Wed, Jun 08, 2016 at 02:13:47AM +, Binder, David Anthony wrote: > > -Original Message- > > From: Neil Horman [mailto:nhor...@redhat.com] > > Sent: Tuesday, June 07, 2016 9:23 AM > > To: Kershner, David A > > Cc: cor...@lwn.net; t...@linutronix.de; mi...@redhat.com; > > h...@zytor.co

[PATCH 1/6] virtio_net: add _UAPI prefix to virtio_net header guards

2016-06-08 Thread Mike Rapoport
This gives better namespacing and prevents conflicts with no-uapi version of virtio_net header that will be introduced in the following patch. Signed-off-by: Mike Rapoport --- include/uapi/linux/virtio_net.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/l

[PATCH 4/6] tuntap: use common code for virtio_net_hdr and skb GSO conversion

2016-06-08 Thread Mike Rapoport
Replace open coded conversion between virtio_net_hdr to skb GSO info with virtio_net_hdr_{from,to}_skb Signed-off-by: Mike Rapoport --- drivers/net/tun.c | 97 --- 1 file changed, 21 insertions(+), 76 deletions(-) diff --git a/drivers/net/tun.

[PATCH 5/6] virtio_net: use common code for virtio_net_hdr and skb GSO conversion

2016-06-08 Thread Mike Rapoport
Replace open coded conversion between virtio_net_hdr to skb GSO info with virtio_net_hdr_{from,to}_skb Signed-off-by: Mike Rapoport --- drivers/net/virtio_net.c | 78 +++- 1 file changed, 10 insertions(+), 68 deletions(-) diff --git a/drivers/net/virt

Re: [GIT PULL 00/24] perf/core improvements and fixes

2016-06-08 Thread Arnaldo Carvalho de Melo
Em Wed, Jun 08, 2016 at 08:10:50AM +0900, Taeung Song escreveu: > I found something weird about perf/core branch on your repository. > (I don't know whether it is just my illusion or not) > > I can't pull new commits on top of perf-core-for-mingo-20160606 > by normal way as below I forgot to push

[PATCH 3/6] macvtap: use common code for virtio_net_hdr and skb GSO conversion

2016-06-08 Thread Mike Rapoport
Replace open coded conversion between virtio_net_hdr to skb GSO info with virtio_net_hdr_{from,to}_skb Signed-off-by: Mike Rapoport --- drivers/net/macvtap.c | 95 --- 1 file changed, 6 insertions(+), 89 deletions(-) diff --git a/drivers/net/macvt

[PATCH 6/6] packet: use common code for virtio_net_hdr and skb GSO conversion

2016-06-08 Thread Mike Rapoport
Replace open coded conversion between virtio_net_hdr to skb GSO info with virtio_net_hdr_from_skb Signed-off-by: Mike Rapoport --- net/packet/af_packet.c | 36 ++-- 1 file changed, 2 insertions(+), 34 deletions(-) diff --git a/net/packet/af_packet.c b/net/packet/

[PATCH 0/6] virtio_net: use common code for virtio_net_hdr and skb GSO conversion

2016-06-08 Thread Mike Rapoport
Hi, This patches introduce virtio_net_hdr_{from,to}_skb functions for conversion of GSO information between skb and virtio_net_hdr. Mike Rapoport (6): virtio_net: add _UAPI prefix to virtio_net header guards virtio_net: introduce virtio_net_hdr_{from,to}_skb macvtap: use common code for vir

Re: [PATCH] kernel/sysrq: reset watchdog on all CPUs while processing sysrq-w

2016-06-08 Thread Ingo Molnar
* Andrey Ryabinin wrote: > Lengthy output of sysrq-w may take a lot of time on slow serial console. > Currently we reset NMI-watchdog on the current CPU to avoid softlockup. > Sometimes this doesn't work since watchdog might trigger on the other > CPU which is waiting for an IPI to proceed. > >

Re: NVMe over Fabrics target implementation

2016-06-08 Thread Sagi Grimberg
*) Extensible to multiple types of backend drivers. nvme-target needs a way to absorb new backend drivers, that does not effect existing configfs group layout or attributes. Looking at the nvmet/configfs layout as-is, there are no multiple backend types defined, nor a way to control backend fe

[PATCH 2/6] virtio_net: introduce virtio_net_hdr_{from,to}_skb

2016-06-08 Thread Mike Rapoport
The code for conversion between virtio_net_hdr and skb GSO info is duplicated at several places. Let's put it to a common place to allow reuse. Signed-off-by: Mike Rapoport --- include/linux/virtio_net.h | 101 + 1 file changed, 101 insertions(+) crea

Re: [RFC][PATCH 2/6] staging: android: ion: Switch to using an idr to manage heaps

2016-06-08 Thread Liviu Dudau
On Mon, Jun 06, 2016 at 11:23:29AM -0700, Laura Abbott wrote: > From: Laura Abbott > > > In anticipation of dynamic registration of heaps, switch to using > an idr for heaps. The idr makes it easier to control the assignment > and management + lookup of heap numbers. > > Signed-off-by: Laura Ab

Re: [PATCH 2/2] sched/debug: fix deadlock when enabling sched events

2016-06-08 Thread Josh Poimboeuf
On Wed, Jun 08, 2016 at 09:56:12AM +0200, Ingo Molnar wrote: > > * Josh Poimboeuf wrote: > > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@ -789,6 +789,13 @@ static void update_curr_fair(struct rq *rq) > > update_curr(cfs_rq_of(&rq->curr->se)); > > } > > > > +void trace_

Re: [PATCH 2/2] sched/debug: fix deadlock when enabling sched events

2016-06-08 Thread Ingo Molnar
* Josh Poimboeuf wrote: > On Wed, Jun 08, 2016 at 09:56:12AM +0200, Ingo Molnar wrote: > > > > * Josh Poimboeuf wrote: > > > > > --- a/kernel/sched/fair.c > > > +++ b/kernel/sched/fair.c > > > @@ -789,6 +789,13 @@ static void update_curr_fair(struct rq *rq) > > > update_curr(cfs_rq_of(&rq->

Re: [PATCH] watchdog: max77620: Add support for watchdog timer

2016-06-08 Thread Guenter Roeck
On 06/08/2016 01:58 AM, Laxman Dewangan wrote: Hi Guenter, Thanks for quick review. I will take care of most of comment. I have one query fr following comment. Thanks, Laxman On Tuesday 07 June 2016 11:26 PM, Guenter Roeck wrote: Hi, On Mon, Jun 06, 2016 at 05:22:44PM +0530, Laxman Dewangan

Re: [PATCH V8 7/9] acpi: Add generic MCFG table handling

2016-06-08 Thread Bjorn Helgaas
On Wed, Jun 08, 2016 at 02:21:30PM +0200, Tomasz Nowicki wrote: > On 08.06.2016 03:56, Bjorn Helgaas wrote: > >On Mon, May 30, 2016 at 05:14:20PM +0200, Tomasz Nowicki wrote: > >>In order to handle PCI config space regions properly in ACPI, new MCFG > >>interface is defined which does sanity checks

Re: [PATCH 09/10] mm: only count actual rotations as LRU reclaim cost

2016-06-08 Thread Michal Hocko
On Mon 06-06-16 15:48:35, Johannes Weiner wrote: > Noting a reference on an active file page but still deactivating it > represents a smaller cost of reclaim than noting a referenced > anonymous page and actually physically rotating it back to the head. > The file page *might* refault later on, but

Re: [RFC][PATCH 4/6] staging: android: ion: Pull out ion ioctls to a separate file

2016-06-08 Thread Liviu Dudau
On Mon, Jun 06, 2016 at 11:23:31AM -0700, Laura Abbott wrote: > > The number of Ion ioctls may continue to grow along with necessary > validation. Pull it out into a separate file for easier management > and review. > > Signed-off-by: Laura Abbott Reviewed-by: Liviu Dudau > --- > drivers/sta

Re: [PATCH V8 5/9] pci, acpi: add acpi hook to assign domain number.

2016-06-08 Thread Bjorn Helgaas
On Wed, Jun 08, 2016 at 12:21:19PM +0200, Tomasz Nowicki wrote: > On 08.06.2016 02:15, Bjorn Helgaas wrote: > >On Mon, May 30, 2016 at 05:14:18PM +0200, Tomasz Nowicki wrote: > >>PCI core code provides a config option (CONFIG_PCI_DOMAINS_GENERIC) > >>that allows assigning the PCI bus domain number

Re: dell-smm-hwmon: security problems

2016-06-08 Thread Guenter Roeck
On 06/08/2016 02:57 AM, Pali Rohár wrote: Hello! Mario wrote me about two I think security problems in dell-smm-hwmon driver and I would like to ask you, how to fix them. 1) File /proc/i8k (exists only when kernel is compiled with CONFIG_I8K) exports DMI_PRODUCT_SERIAL and it can be read by ord

[PATCH v2] futex: Calculate the futex key based on a tail page for file-based futexes

2016-06-08 Thread Mel Gorman
Mike Galbraith reported that the LTP test case futex_wake04 was broken by commit 65d8fc777f6d ("futex: Remove requirement for lock_page() in get_futex_key()"). This test case uses futexes backed by hugetlbfs pages and so there is an associated inode with a futex stored on such pages. The problem i

Re: 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-06-08 Thread Borislav Petkov
On Wed, Jun 08, 2016 at 01:50:28PM +0200, Christian König wrote: > What's the output of mplayer? Mplayer usually uses video acceleration when > it is available. Something like this? libavformat version 56.23.105 (internal) libavformat file format detected. [lavf] stream 0: video (h264), -vid 0 [l

[PATCH v2 0/7] fix bugs; enable iommu for ARM64

2016-06-08 Thread Shunqian Zheng
This series patches mainly for ARM64 supporting. To do this, it first add virtual iommu slave device which DRM can attach to, convert DRM driver to use common iommu API instead of the ARM32 functions, and then use DMA API in iommu driver to map, to flush cache. The v2 patches make a lot changes vs

[PATCH v2 1/7] iommu/rockchip: fix devm_{request,free}_irq parameter

2016-06-08 Thread Shunqian Zheng
From: Simon Xue Even though the iommu shares irq with its master, using the *dev of iommu instead of master's *dev for devm_{request,free}_irq makes things clear. Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng --- drivers/iommu/rockchip-iommu.c | 4 ++-- 1 file changed, 2 insertions(+

[PATCH v2 6/7] iommu/rockchip: use DMA API to map, to flush cache

2016-06-08 Thread Shunqian Zheng
Use DMA API instead of architecture internal functions like __cpuc_flush_dcache_area() etc. To support the virtual device like DRM the virtual slave iommu added in the previous patch, attaching to which the DRM can use it own domain->dev for dma_map_*(), dma_sync_*() even VOP is disabled. With th

[PATCH v2 7/7] iommu/rockchip: enable rockchip iommu on ARM64 platform

2016-06-08 Thread Shunqian Zheng
From: Simon Xue Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng --- drivers/iommu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index ad08603..5572621 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconf

[PATCH v2 2/7] iommu/rockchip: add map_sg callback for rk_iommu_ops

2016-06-08 Thread Shunqian Zheng
From: Simon Xue The iommu_dma_alloc() in iommu/dma-iommu.c calls iommu_map_sg() that requires the callback iommu_ops .map_sg(). Adding the default_iommu_map_sg() to rockchip iommu accordingly. Signed-off-by: Simon Xue Signed-off-by: Shunqian Zheng --- drivers/iommu/rockchip-iommu.c | 1 + 1 f

[PATCH v2 3/7] iommu/rockchip: support virtual iommu slave device

2016-06-08 Thread Shunqian Zheng
An virtual master device like DRM need to attach to iommu domain to share the domain with VOP(the one with actual iommu slave). We currently check the group is NULL to indicate a virtual master, which is not true since we decide to use the common iommu api to attach device in DRM. With this patch,

[PATCH v2 4/7] ARM: dts: rockchip: add virtual iommu for display

2016-06-08 Thread Shunqian Zheng
An virtual iommu without reg or interrupts for display. Adding this according to iommu driver changes. Signed-off-by: Shunqian Zheng --- arch/arm/boot/dts/rk3288.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 7fa

[PATCH v2 5/7] drm: rockchip: use common iommu api to attach iommu

2016-06-08 Thread Shunqian Zheng
Rockchip DRM used the arm special API, arm_iommu_*(), to attach iommu for ARM32 SoCs. This patch convert to common iommu API so it would support ARM64 like RK3399. The general idea is domain_alloc(), attach_device() and arch_setup_dma_ops() to set dma_ops manually for DRM at the last. Signed-off-

Re: [PATCH 3/3] x86, mpx, selftests: add MPX self test

2016-06-08 Thread Ingo Molnar
These patches look good to me, but it would be nice to get rid of uglies like: > +/* > + * Written by Dave Hansen > + * > + * run like this: > + pid=31390; BDIR="$(cat /proc/$pid/smaps | grep -B1 2097152 | head -1 | awk > -F- '{print $1}')"; ./mpx-dig $pid 0x$BDIR > + > +NOTE: > + assumes that

Re: [PATCH 4/6] x86/coredump: use core regs, rather that TIF_IA32 flag

2016-06-08 Thread Dmitry Safonov
On 06/07/2016 01:43 AM, Oleg Nesterov wrote: On 06/06, Oleg Nesterov wrote: On 06/01, Dmitry Safonov wrote: static int fill_thread_core_info(struct elf_thread_core_info *t, const struct user_regset_view *view, -long signr, size

Re: 274ad65c9d02 ("drm/radeon: hard reset r600 and newer GPU when hibernating.")

2016-06-08 Thread Christian König
Yes, exactly. VO: [xv] 1280x720 => 1280x720 Planar YV12 Mplayer is using xv without any acceleration (except for color space conversion). Try forcing mplayer to use VDPAU with "mplayer -vo vdpau $file". Regards, Christian. Am 08.06.2016 um 15:26 schrieb Borislav Petkov: On Wed, Jun 08, 201

Re: [PATCH] vme: Update documentation to match api

2016-06-08 Thread Luis de Bethencourt
On 05/06/16 21:35, Martyn Welch wrote: > The vme_register_driver() api changed in commit 5d6abf379d73 ("staging: > vme: make match() driver specific to improve non-VME64x support") but the > documentation wasn't updated. Update the documentation to match the API. > > Signed-off-by: Martyn Welch >

Re: [PATCH -v2 00/33] implement atomic_fetch_$op

2016-06-08 Thread Peter Zijlstra
On Wed, Jun 08, 2016 at 02:55:30PM +0200, Ingo Molnar wrote: > I'd much prefer to have all of these in the locking tree (i.e. > tip:locking/core), > to make it less painful all around. All the fetch_op stuff, yes certainly. But Vineet wanted to munge arch/arc/include/asm/atomic.h a bit in 4.7,

Re: [GIT PULL arm] Use _rcuidle tracepoints to allow tracing from idle

2016-06-08 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Thu, May 26, 2016 at 09:26:06AM -0700, Paul E. McKenney wrote: > > Hello, Ingo, > > > > This series changes a number of event tracepoints to their _rcuidle() form > > to allow use from idle without lockdep-RCU complaints, a straightforward > > modification that ha

Re: [PATCH] watchdog: max77620: Add support for watchdog timer

2016-06-08 Thread Laxman Dewangan
On Wednesday 08 June 2016 06:45 PM, Guenter Roeck wrote: On 06/08/2016 01:58 AM, Laxman Dewangan wrote: Hi Guenter, Thanks for quick review. I will take care of most of comment. I have one query fr following comment. Thanks, Laxman On Tuesday 07 June 2016 11:26 PM, Guenter Roeck wrote: Hi,

Re: [PATCH V2] watchdog: max77620: Add support for watchdog timer

2016-06-08 Thread Guenter Roeck
Hi, On 06/08/2016 03:17 AM, Laxman Dewangan wrote: Maxim PMIC MAX77620 is Power management IC which have multiple sub blocks like regulators (DCDC/LDOs), GPIO, RTC, Clock, Watchdog timer etc. Add the driver for watchdog timer under watchdog framework. The driver implements the watchdog callback

Re: [PATCH 2/2] gpio: Support cascaded GPIO chip lookup for OF

2016-06-08 Thread Pantelis Antoniou
Hi Rob, > On Jun 8, 2016, at 00:00 , Rob Herring wrote: > > +Mark R > > On Fri, Jun 3, 2016 at 3:26 PM, Pantelis Antoniou > wrote: >> In certain cases it makes sense to create cascaded GPIO which >> are not real GPIOs, merely point to the real backend GPIO chip. > > In what cases? Make it cle

Re: [PATCH 1/2] x86/entry: Avoid interrupt flag save and restore

2016-06-08 Thread Paolo Bonzini
> So I believe it would be cleaner to name the irqs-off code paths explicitly: > __guest_enter_irqsoff(), and propagate that naming into other parts as well? Ok, I'll send v2 with both the KVM cleanups and the entry optimizations. It should be four patches putting all things together. Thanks fo

Re: [PATCH net v2] sfc: report supported link speeds on SFP connections

2016-06-08 Thread Jarod Wilson
On Tue, Jun 07, 2016 at 05:20:16PM -0400, Jarod Wilson wrote: > On Mon, Jun 06, 2016 at 02:55:29PM -0400, Jarod Wilson wrote: > > On Mon, Jun 06, 2016 at 05:29:30PM +0100, Bert Kenward wrote: > > > 7000-series SFC NICs connected with an SFP+ module currently fail to > > > report any supported link

Re: [PATCH v10 1/7] regulator: fixed: add support for ACPI interface

2016-06-08 Thread Mark Brown
On Tue, Jun 07, 2016 at 09:42:48PM -0700, Greg Kroah-Hartman wrote: > On Thu, Jun 02, 2016 at 09:37:23AM +0800, Lu Baolu wrote: > > Add support to retrieve fixed voltage configure information through > > ACPI interface. This is needed for Intel Bay Trail devices, where a > > GPIO is used to contro

[PATCH] staging: slicoss: replacement of goto statements

2016-06-08 Thread Jaime Arrocha
From: Jaime Arrocha Replaced deprecated goto statements. Signed-off-by: Jaime Arrocha --- drivers/staging/slicoss/slicoss.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index

  1   2   3   4   5   6   7   8   9   10   >