Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Byungchul Park
On Tue, Mar 22, 2016 at 02:52:43PM +0900, Sergey Senozhatsky wrote: > On (03/22/16 11:13), Byungchul Park wrote: > [..] > > what about a "normal" case, when things are not going to explode printk(), > but we have several lockups on the same lock (which is probably more > likely than printk recursi

undefined reference to `early_panic'

2016-03-21 Thread kbuild test robot
Hi Dan, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 643ad15d47410d37d43daf3ef1c8ac52c281efa5 commit: 888cdbc2c9a76a0e450f533b1957cdbfe7d483d5 hugetlb: fix compile error on tile date: 9 weeks ag

[lkp] [powercap] 897ce43d3c: kmsg.intel_rapl:invalid_domain_id

2016-03-21 Thread kernel test robot
FYI, we noticed the below changes on https://github.com/0day-ci/linux Srinivas-Pandruvada/powercap-intel_rapl-PSys-support/20160319-021553 commit 897ce43d3cc5556155782f7d4b0c2a61db4f8e07 ("powercap: intel_rapl: PSys support") As below, the log "intel_rapl: invalid domain id 4" showed with your

Re: [PATCH] dma-buf/sync_file: de-stage sync_file

2016-03-21 Thread Sumit Semwal
Thanks for the patch, Gustavo! On 18 March 2016 at 19:49, Gustavo Padovan wrote: > From: Gustavo Padovan > > sync_file is useful to connect one or more fences to the file. The file is > used by userspace to track fences. > I think it is worthwhile to add relevant bits to the Documentation as wel

Re: linux-next: Crash in arm_pmu_device_probe() due to 'drivers/perf: arm_pmu: make info messages more verbose'

2016-03-21 Thread Dirk Behme
On 18.03.2016 14:30, Guenter Roeck wrote: Hi Dirk, On 03/18/2016 02:18 AM, Dirk Behme wrote: Hi Guenter, On 18.03.2016 07:44, Guenter Roeck wrote: Hi, I am seeing the attached crash when running a realview-pb-a8 image with realview_defconfig in qemu. bisect wasn't successful, but a commit an

Re: [PATCH v11 1/9] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2016-03-21 Thread David Long
On 03/15/2016 07:04 AM, Marc Zyngier wrote: David, On 09/03/16 05:32, David Long wrote: From: "David A. Long" Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64. Signed-off-by: David A. Long --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/ptrace.h | 31 +++

[lkp] [cpuidle] 664ef5b861: No primary result change, +13.7% turbostat.PkgWatt

2016-03-21 Thread kernel test robot
FYI, we noticed that turbostat.PkgWatt +13.7% change with your commit. https://github.com/0day-ci/linux Rik-van-Riel/cpuidle-break-out-of-idle-polling-loop-after-HLT-threshold/20160319-053854 commit 664ef5b8615ff12b03b46988408b4c0a15eab07c ("cpuidle: use high confidence factors only when conside

Re: [PATCH 1/2] usb: dwc3: core: Introduce dwc3_device_reinit()

2016-03-21 Thread Felipe Balbi
Hi, John Youn writes: > [ text/plain ] > On 3/16/2016 6:56 AM, Felipe Balbi wrote: >> >> heh, +john >> >> Felipe Balbi writes: >>> [ text/plain ] >>> >>> Hi, >>> >>> Roger Quadros writes: [ text/plain ] We will need this function for a workaround. The function issues a softres

RE: [PATCH v2 3/3] Make core_pattern support namespace

2016-03-21 Thread Zhao Lei
Hi, Eric W. Biederman > -Original Message- > From: Eric W. Biederman [mailto:ebied...@xmission.com] > Sent: Monday, March 21, 2016 2:00 PM > To: Zhao Lei > Cc: linux-kernel@vger.kernel.org; contain...@lists.linux-foundation.org; > Mateusz Guzik > Subject: Re: [PATCH v2 3/3] Make core_pat

Re: [PATCH] cpufreq: powernv: Define per_cpu chip pointer to optimize hot-path

2016-03-21 Thread Viresh Kumar
On 18-03-16, 20:28, Shilpasri G Bhat wrote: > From: Michael Neuling > > "cpufreq: powernv: Remove cpu_to_chip_id() from hot-path" introduced If the patch is already committed, you should provide its commit id as well. > 'core_to_chip_map' array to cache the chip-id of all cores. Replace > this

[PATCH] PCI: Restore inclusion of pci/hotplug Kconfig

2016-03-21 Thread Tero Roponen
Commit e7e127e3c767 ("PCI: Include pci/hotplug Kconfig directly from pci/Kconfig") added one line to pci/Kconfig. However, for some mysterious reason it isn't there now, even though there are no traces of removing it in the git log. I detected this issue when 'make oldconfig' removed all the optio

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Sergey Senozhatsky
On (03/21/16 09:56), Byungchul Park wrote: > > > > + if (!sync_print) { > > > > + if (in_sched) { > > > > + /* > > > > +* @in_sched messages may come too early, when > > > > we don't > > > > +* yet have @prin

Re: [GIT PULL] Protection Keys (pkeys) support

2016-03-21 Thread Ingo Molnar
* Linus Torvalds wrote: > So I finally got around to this one and the objtool pull request, and > note that there's a conflict in the arch/x86/Kconfig file. > > And I'm not sending this email because the conflict would have been > hard to resolve - it was completely trivial. But the conflict do

Re: [RESEND PATCH V4 1/4] stm class: provision for statically assigned masterIDs

2016-03-21 Thread Alexander Shishkin
Chunyan Zhang writes: > From: Mathieu Poirier > > Some architecture like ARM assign masterIDs at the HW design > phase. Those are therefore unreachable to users, making masterID > management in the generic STM core irrelevant. > > In this kind of configuration channels are shared between master

Re: [PATCH v3 10/19] x86, 64bit: Set ident_mapping for kaslr

2016-03-21 Thread Baoquan He
On 03/07/16 at 03:34pm, Kees Cook wrote: > > #ifdef CONFIG_EARLY_PRINTK > > /* early_serial_console.c */ > > extern int early_serial_base; > > diff --git a/arch/x86/boot/compressed/misc_pgt.c > > b/arch/x86/boot/compressed/misc_pgt.c > > new file mode 100644 > > index 000..954811e > > --- /

Re: [PATCH] zram: export the number of available comp streams

2016-03-21 Thread Sergey Senozhatsky
Hello Minchan, On (03/18/16 10:25), Minchan Kim wrote: [..] > > aha, ok. > > > > > (ie, simple code, removing > > > max_comp_streams knob, no need to this your stat, guarantee parallel > > > level, guarantee consumed memory space). > > > > I'll take a look and prepare some numbers (most likely n

Re: [PATCH v3] iio: add driver for Microchip MCP413X/414X/415X/416X/423X/424X/425X/426X

2016-03-21 Thread Slawomir Stepien
On Mar 20, 2016 19:15, Joachim Eastwood wrote: > Hi Jonathan, > > On 20 March 2016 at 18:25, Jonathan Cameron wrote: > > On 20/03/16 16:12, Joachim Eastwood wrote: > >>> +static int mcp4131_exec(struct mcp4131_data *data, > >>> + u8 addr, u8 cmd, > >>> + u16 val) > >>>

Re: [PATCH] Drivers: hv: vmbus: handle various crash scenarios

2016-03-21 Thread Vitaly Kuznetsov
KY Srinivasan writes: >> -Original Message- >> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] >> Sent: Friday, March 18, 2016 5:33 AM >> To: de...@linuxdriverproject.org >> Cc: linux-kernel@vger.kernel.org; KY Srinivasan ; >> Haiyang Zhang ; Alex Ng (LIS) >> ; Radim Krcmar ; Cathy >>

Re: [PATCH v4 1/2] lightnvm: add non-continuous lun target creation support

2016-03-21 Thread Javier González
Hi Wenwei, > On 19 Mar 2016, at 13:52, Wenwei Tao wrote: > > Hi Javier > > Thanks for the comment. > I've been busy recently, so this letter is kind of late, hope you don't mind. > I use the qemu-nvme you mentioned and configure the nvme device driver > follow the example, it turns out the nvme

Re: [RFC PATCH 0/4] cgroup aware workqueues

2016-03-21 Thread Michael Rapoport
Hi Bandan, > From: Bandan Das > > At Linuxcon last year, based on our presentation "vhost: sharing is better" [1], > we had briefly discussed the idea of cgroup aware workqueues with Tejun. The > following patches are a result of the discussion. They are in no way complete in > that the chang

Re: [LKP] [lkp] [futex] 65d8fc777f: +25.6% will-it-scale.per_process_ops

2016-03-21 Thread Thomas Gleixner
On Mon, 21 Mar 2016, Huang, Ying wrote: > > FYI, we noticed 25.6% performance improvement due to commit > > > >65d8fc777f6d "futex: Remove requirement for lock_page() in > > get_futex_key()" > > > > in the will-it-scale.per_process_ops test. > > > > will-it-scale.per_process_ops tests the f

Re: [PATCH] perf: fix event leak when perf_event_open() failed to create event_file

2016-03-21 Thread Alexander Shishkin
Leon Yu writes: > If something went wrong in anon_inode_getfile, event_file will be set to > non-zero error number and able to bypass the NULL test afterward. > > Consolidate the error path by testing event_file with handly > IS_ERR_OR_NULL() helper since we do want to free event in both cases. >

Re: [PATCH 1/2] of: add vendor prefix for Holtek Semiconductor

2016-03-21 Thread Robin van der Gracht
On Fri, 18 Mar 2016 16:32:59 -0500 Rob Herring wrote: > I think holtek being a bit longer would be better here. Thank you for your feedback. I'll adjust this. Kind regards, -- Robin van der Gracht Protonic Holland

RE: [PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW protection

2016-03-21 Thread Yunhui Cui
Hi Bean, I tested with flash N25Q128A again. In fact, It must output "Micron EVCR Quad bit not clear" in spi-nor.c, if the status register write enable/disable bit is set. Could you give some suggestions about this ? Thanks Yunhui -Original Message- From: Bean Huo 霍斌斌 (beanhuo) [mailto:

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Byungchul Park
On Mon, Mar 21, 2016 at 04:35:07PM +0900, Sergey Senozhatsky wrote: > On (03/21/16 09:56), Byungchul Park wrote: > > > > > + if (!sync_print) { > > > > > + if (in_sched) { > > > > > + /* > > > > > + * @in_sched messages may come too early, wh

Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker

2016-03-21 Thread Jiri Olsa
On Fri, Mar 18, 2016 at 02:38:52PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 18, 2016 at 12:16:23PM -0500, Josh Poimboeuf escreveu: > > On Fri, Mar 18, 2016 at 01:45:22PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Fri, Mar 18, 2016 at 11:38:15AM -0500, Josh Poimboeuf escreveu: > > >

[PATCH] mwifiex: advertise low priority scan feature

2016-03-21 Thread Wei-Ning Huang
From: Amitkumar Karwar Low priority scan handling code which delays or aborts scan operation based on Tx traffic is removed recently. The reason is firmware already takes care of it in our new feature scan channel gap. Hence we should advertise low priority scan support to cfg80211. This patch f

Re: [PATCH] mwifiex: advertise low priority scan feature

2016-03-21 Thread Wei-Ning Huang
Tested-by: Wei-Ning Huang On Mon, Mar 21, 2016 at 4:07 PM, Wei-Ning Huang wrote: > From: Amitkumar Karwar > > Low priority scan handling code which delays or aborts scan > operation based on Tx traffic is removed recently. The reason > is firmware already takes care of it in our new feature sca

Delete flush cache all in arm64 platform.

2016-03-21 Thread Chen Feng
Hi Mark, With 68234df4ea7939f98431aa81113fbdce10c4a84b arm64: kill flush_cache_all() The documented semantics of flush_cache_all are not possible to provide for arm64 (short of flushing the entire physical address space by VA), and there are currently no users; KVM uses VA maintenance exclusively,

Re: [PATCH v4 2/2] auxdisplay: ht16k33: Driver for LED controller

2016-03-21 Thread Robin van der Gracht
On Fri, 18 Mar 2016 16:42:17 -0500 Rob Herring wrote: > On Wed, Mar 16, 2016 at 04:52:09PM +0100, Robin van der Gracht wrote: > > This is a driver for the Holtek HT16K33 RAM mapping LED controller > > with keyscan. > > Wrap your lines to less than 80 chars. I must have missed that one.. > > >

Re: [RFC v3 1/3] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2016-03-21 Thread Horng-Shyang Liao
On Sat, 2016-03-19 at 19:58 -0500, Rob Herring wrote: > On Fri, Mar 18, 2016 at 07:27:12PM +0800, HS Liao wrote: > > This adds documentation for the MediaTek Global Command Engine (GCE) unit > > found in MT8173 SoCs. > > > > Signed-off-by: HS Liao > > --- > > .../devicetree/bindings/soc/mediatek

Re: [PATCH RFC 0/2] pxa_camera transition to v4l2 standalone device

2016-03-21 Thread Hans Verkuil
On 03/19/2016 10:01 PM, Robert Jarzmik wrote: > Hi Hans and Guennadi, > > As Hans is converting sh_mobile_ceu_camera.c, That's not going as fast as I hoped. This driver is quite complex and extracting it from soc-camera isn't easy. I also can't spend as much time as I'd like on this. > let's se

[PATCH net-next 1/3] net: add the AF_KCM entries to family name tables

2016-03-21 Thread Dexuan Cui
This is for the recent kcm driver, which introduces AF_KCM(41) in b7ac4eb(kcm: Kernel Connection Multiplexor module). Signed-off-by: Dexuan Cui Cc: Signed-off-by: Tom Herbert --- net/core/sock.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net/core/sock.c b/net/c

[PATCH net-next 2/3] hv_sock: introduce Hyper-V Sockets

2016-03-21 Thread Dexuan Cui
Hyper-V Sockets (hv_sock) supplies a byte-stream based communication mechanism between the host and the guest. It's somewhat like TCP over VMBus, but the transportation layer (VMBus) is much simpler than IP. With Hyper-V Sockets, applications between the host and the guest can talk to each other d

Re: [PATCH 1/4] vfs: add file_dentry()

2016-03-21 Thread Miklos Szeredi
On Mon, Mar 21, 2016 at 6:28 AM, Al Viro wrote: > On Thu, Mar 17, 2016 at 10:02:00AM +0100, Miklos Szeredi wrote: >> Add a new helper, file_dentry() [*], to get the filesystem's own dentry >> from the file. This simply compares file_inode(file->f_path.dentry) to >> file_inode(file) and if they ar

[PATCH net-next 3/3] net: add the AF_HYPERV entries to family name tables

2016-03-21 Thread Dexuan Cui
This is for the hv_sock driver, which introduces AF_HYPERV(42). Signed-off-by: Dexuan Cui Cc: "K. Y. Srinivasan" Cc: Haiyang Zhang --- net/core/sock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/core/sock.c b/net/core/sock.c index 7e73c26..51ffc54 100644 --- a

Re: [PATCH] drm/radeon: evergreen_hpd_init()/_fini(): fix HPD IRQ bitset

2016-03-21 Thread Nicolai Stange
Nicolai Stange writes: > The values of all but the RADEON_HPD_NONE members of the radeon_hpd_id > enum transform 1:1 into bit positions within the 'enabled' bitset as > assembled by evergreen_hpd_init(): > > enabled |= 1 << radeon_connector->hpd.hpd; > > However, if ->hpd.hpd happens to equal R

[PATCH v2 3/5] staging: rtl9712: Fixed FSF address warning in ethernet.h

2016-03-21 Thread Parth Sane
Fixed checkpatch check caused by FSF address paragraph as per guidelines. Signed-off-by: Parth Sane --- Changes in v2: - Added commit message drivers/staging/rtl8712/ethernet.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/ethernet.h b/drivers/staging/r

[PATCH v2 0/5] staging: rtl8712: Fixed checkpatch warning due to FSF address block

2016-03-21 Thread Parth Sane
Fixed checkpatch warning caused due to FSF address block. Linux already has a copy of the GPL, so as per checkpatch this address block is unnecessary. Parth Sane (5): staging: rtl8712: Fixed FSF address warning in basic_types.h staging: rtl8712: Fixed FSF address warning in drv_types.h stagi

[PATCH v2 1/5] staging: rtl8712: Fixed FSF address warning in basic_types.h

2016-03-21 Thread Parth Sane
Fixed checkpatch check caused by FSF address paragraph as per guidelines. Signed-off-by: Parth Sane --- Changes in v2: - Added commit message drivers/staging/rtl8712/basic_types.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/basic_types.h b/drivers/stag

Re: [PATCH 1/5] mm: memcontrol: Remove redundant hot plug notifier test.

2016-03-21 Thread Michal Hocko
On Fri 18-03-16 22:26:07, Richard Cochran wrote: > The test for ONLINE is redundant because the following test for !DEAD > already includes the online case. This patch removes the superfluous > code. The code used to do something specific to CPU_ONLINE in the past but now it really seems to be po

Re: [PATCH V5 2/3] arm64: dts: add Hi6220 pinctrl configuration nodes

2016-03-21 Thread Linus Walleij
On Fri, Feb 19, 2016 at 12:58 PM, Guodong Xu wrote: > From: Zhong Kaihua > > Add Hi6220 pinctrl configuration nodes > > Signed-off-by: Zhong Kaihua Acked-by: Linus Walleij But actually: Haojian is the person who should be acking this, he engineered pinctrl-single for HiSilicon. Yours, Linus

[PATCH v2 4/5] staging: rtl9712: Fixed FSF address warning in hal_init.c

2016-03-21 Thread Parth Sane
Fixed checkpatch warning caused due to FSF address block as per guidelines. Signed-off-by: Parth Sane --- Changes in v2: - Added commit message. drivers/staging/rtl8712/hal_init.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/stagin

[PATCH v2 2/5] staging: rtl8712: Fixed FSF address warning in drv_types.h

2016-03-21 Thread Parth Sane
Fixed checkpatch check caused by FSF address paragraph as per guidelines. Signed-off-by: Parth Sane --- Changes in v2: - Added commit message drivers/staging/rtl8712/drv_types.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/drv_types.h b/drivers/staging

Re: [PATCH 3/5] Drivers: hv: vmbus: Fix a bug in hv_need_to_signal_on_read()

2016-03-21 Thread Vitaly Kuznetsov
"K. Y. Srinivasan" writes: > We need to issue a full memory barrier prior making a signalling > decision. Any reason this should be mb()? This is pretty strong and will probably lead to performace regression ... and, btw, we have another mb() in hv_ringbuffer_read(). Could you please describe t

[PATCH v2 5/5] staging: rtl9712: Fixed FSF address warning in ieee80211.c

2016-03-21 Thread Parth Sane
Fixed checkpatch warning caused to FSF address block as per guidelines. Signed-off-by: Parth Sane --- Changes in v2: - Added commit message drivers/staging/rtl8712/ieee80211.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/r

Re: [PATCH 2/3] x86/topology: Fix AMD core count

2016-03-21 Thread Peter Zijlstra
On Mon, Mar 21, 2016 at 11:07:46AM +0800, Huang Rui wrote: > > > The issue is that Linux assumes: > > > > > > nr_logical_cpus = nr_cores * nr_siblings > > > > > > But AMD reports its CU unit as 2 cores, but then sets num_smp_siblings > > > to 2 as well. > But I am confused with c->x86_max_core

Re: [PATCH] ARM: dts: rockchip: Add mdio node to ethernet node

2016-03-21 Thread Tomeu Vizoso
On 18 March 2016 at 22:34, Andreas Färber wrote: > Am 18.03.2016 um 12:20 schrieb Tomeu Vizoso: >> So the dwmac device manages to probe again. >> >> Signed-off-by: Tomeu Vizoso >> Fixes: 88f8b1bb41c6 ("stmmac: Fix 'eth0: No PHY found' regression") >> --- >> arch/arm/boot/dts/rk3288-rock2-som.dts

Re: [PATCH 2/3] x86/topology: Fix AMD core count

2016-03-21 Thread Borislav Petkov
On Mon, Mar 21, 2016 at 11:07:46AM +0800, Huang Rui wrote: > OK, we will find some fam15h, fam16h platforms to verify it. Please > wait for my feedback. > > But I am confused with c->x86_max_cores /= smp_num_siblings, what is > the real meaning of c->x86_max_cores here for AMD, the whole compute >

Re: [PATCH v2 3/3] Make core_pattern support namespace

2016-03-21 Thread Eric W. Biederman
Zhao Lei writes: > Hi, Eric W. Biederman > >> -Original Message- >> From: Eric W. Biederman [mailto:ebied...@xmission.com] >> Sent: Monday, March 21, 2016 2:00 PM >> To: Zhao Lei >> Cc: linux-kernel@vger.kernel.org; contain...@lists.linux-foundation.org; >> Mateusz Guzik >> Subject: Re:

Re: [PATCH] mpt3sas: Don't overreach ioc->reply_post[] during initialization

2016-03-21 Thread Johannes Thumshirn
On Freitag, 18. März 2016 12:45:42 CET Calvin Owens wrote: > In _base_make_ioc_operational(), we walk ioc->reply_queue_list and pull > a pointer out of successive elements of ioc->reply_post[] for each entry > in that list if RDPQ is enabled. > > Since the code pulls the pointer for the next itera

Re: [PATCH 2/3] x86/topology: Fix AMD core count

2016-03-21 Thread Borislav Petkov
On Mon, Mar 21, 2016 at 11:46:19AM +0800, Huang Rui wrote: > I quickly applied this patch on tip/master with on a fam15h machine. > The issue is still existed, only one core can be detected. Huh, what? So that 6386 has 16 cores, according to wikipedia, that must be 8 compute units. Correct? Are

RE: [PATCH] mwifiex: advertise low priority scan feature

2016-03-21 Thread Amitkumar Karwar
> From: linux-wireless-ow...@vger.kernel.org [mailto:linux-wireless- > ow...@vger.kernel.org] On Behalf Of Wei-Ning Huang > Sent: Monday, March 21, 2016 1:37 PM > To: Linux Wireless > Cc: LKML; Amitkumar Karwar; djku...@chromium.org; Wei-Ning Huang; > Nishant Sarmukadam; kv...@codeaurora.org; net..

Re: [PATCH 5/5] Drivers: hv: vmbus: Implement copy-free read APIs

2016-03-21 Thread Vitaly Kuznetsov
"K. Y. Srinivasan" writes: > Implement copy-free read APIs. > > Signed-off-by: K. Y. Srinivasan > --- > drivers/hv/ring_buffer.c | 55 > ++ > include/linux/hyperv.h |6 + > 2 files changed, 61 insertions(+), 0 deletions(-) > > diff --git

Re: [PATCH 1/1] Btrfs: Code Cleanup

2016-03-21 Thread Anand Jain
Hi Flex, diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index 366b335..5c16f04 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -2325,7 +2325,10 @@ int btrfs_init_new_device(struct btrfs_root *root, char *device_path) if (seeding_dev) { sb->s_flags &=

Re: [RFC PATCH 0/4] cgroup aware workqueues

2016-03-21 Thread Christian Borntraeger
On 03/18/2016 11:14 PM, Bandan Das wrote: [..] > Netperf: > Two guests running netperf in parallel. > Without patches With patches > > TCP_STREAM (10^6 bits/second) 975.45 978.88 > TCP_RR (Trans/second)

Re: [PATCH v2 14/18] mm/balloon: use general movable page feature into balloon

2016-03-21 Thread kbuild test robot
-migration/20160321-143339 config: x86_64-randconfig-x000-201612 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): drivers/virtio/virtio_balloon.c: In function 'virtballoon_probe&#

Re: [PATCH] ARM: dts: rockchip: Add mdio node to ethernet node

2016-03-21 Thread Michael Trimarchi
Hi On Mon, Mar 21, 2016 at 9:23 AM, Tomeu Vizoso wrote: > On 18 March 2016 at 22:34, Andreas Färber wrote: >> Am 18.03.2016 um 12:20 schrieb Tomeu Vizoso: >>> So the dwmac device manages to probe again. >>> >>> Signed-off-by: Tomeu Vizoso >>> Fixes: 88f8b1bb41c6 ("stmmac: Fix 'eth0: No PHY foun

Re: [PATCH v11 4/9] arm64: add conditional instruction simulation support

2016-03-21 Thread David Long
On 03/14/2016 03:38 AM, Marc Zyngier wrote: On Mon, 14 Mar 2016 09:34:55 +0530 Pratyush Anand wrote: Hi Pratyush, On 13/03/2016:12:09:03 PM, Marc Zyngier wrote: On Wed, 9 Mar 2016 00:32:18 -0500 David Long wrote: +pstate_check_t * const opcode_condition_checks[16] = { + __check_eq,

Re: [PATCH] lan78xx: Protect runtime_auto check by #ifdef CONFIG_PM

2016-03-21 Thread Oliver Neukum
On Sun, 2016-03-20 at 11:43 +0100, Geert Uytterhoeven wrote: > If CONFIG_PM=n: > > drivers/net/usb/lan78xx.c: In function ‘lan78xx_get_stats64’: > drivers/net/usb/lan78xx.c:3274: error: ‘struct dev_pm_info’ has no > member named ‘runtime_auto’ > > If PM is disabled, the runtime_auto flag

Re: [RFC PATCH] Add support for eXclusive Page Frame Ownership (XPFO)

2016-03-21 Thread Juerg Haefliger
Hi Laura, Sorry for the late reply. I was on FTO and then traveling for the past couple of days. On 03/01/2016 02:31 AM, Laura Abbott wrote: > On 02/26/2016 06:21 AM, Juerg Haefliger wrote: >> This patch adds support for XPFO which protects against 'ret2dir' kernel >> attacks. The basic idea is

Re: [PATCH 0/3] ARM: OMAP3: Fix McBSP2/3 hwmod setup for sidetone

2016-03-21 Thread Peter Ujfalusi
Paul, On 03/19/16 21:31, Paul Walmsley wrote: > On Fri, 18 Mar 2016, Peter Ujfalusi wrote: > >> The series addresses a long standing issue with McBSP2/3 regarding to hwmod >> setup. When booting with DT a warning is printed that mcbsp2/3 is using two >> hwmod. >> The root of the issue is the way

Re: [PATCH] jbd2: remove excess descriptions for handle_s

2016-03-21 Thread Jan Kara
On Sat 19-03-16 17:06:03, Luis de Bethencourt wrote: > Commit bf6993276f74 ("jbd2: Use tracepoints for history file") > removed the members j_history, j_history_max and j_history_cur from struct > handle_s but the descriptions stayed lingering. Removing them. > > Signed-off-by: Luis de Bethencourt

[PATCH] net: smc911x: avoid unused variable warnings

2016-03-21 Thread Arnd Bergmann
The change to use the generic DMA engine API in the smc911x driver has led to a harmless warning about unused local variables: smsc/smc911x.c: In function 'smc911x_probe': smsc/smc911x.c:1796:20: error: unused variable 'param' smsc/smc911x.c:1795:17: error: unused variable 'mask' smsc/smc911x.c:17

Re: [LKP] [lkp] [futex] 65d8fc777f: +25.6% will-it-scale.per_process_ops

2016-03-21 Thread Huang, Ying
Thomas Gleixner writes: > On Mon, 21 Mar 2016, Huang, Ying wrote: >> > FYI, we noticed 25.6% performance improvement due to commit >> > >> >65d8fc777f6d "futex: Remove requirement for lock_page() in >> > get_futex_key()" >> > >> > in the will-it-scale.per_process_ops test. >> > >> > will-

Re: [RFC PATCH] Add support for eXclusive Page Frame Ownership (XPFO)

2016-03-21 Thread Juerg Haefliger
Hi Balbir, Apologies for the slow reply. On 03/01/2016 03:10 AM, Balbir Singh wrote: > > > On 27/02/16 01:21, Juerg Haefliger wrote: >> This patch adds support for XPFO which protects against 'ret2dir' kernel >> attacks. The basic idea is to enforce exclusive ownership of page frames >> by eit

Re: [PATCH v6 4/7] clk: mediatek: Add MT2701 clock support

2016-03-21 Thread James Liao
Hi Mike, Sorry to use this old email to ask questions. Do you have any concern to apply this patch series into next version of kernel? Or do you really need a new patch series with less CLK_OF_DECLARE()? Best regards, James On Thu, 2016-02-25 at 14:24 +0800, James Liao wrote: > Hi Mike, > >

[PATCH 2/2] arm64: Fix watchpoint recursion when single-step is wrongly triggered in irq

2016-03-21 Thread He Kuang
On arm64, watchpoint handler enables single-step to bypass the next instruction for not recursive enter. If an irq is triggered right after the watchpoint, a single-step will be wrongly triggered in irq handler, which causes the watchpoint address not stepped over and system hang. Problem can be f

Re: [PATCH 3/3] ASoC: omap-mcbsp: Enable/disable sidetone block auto clock gating for omap3

2016-03-21 Thread Peter Ujfalusi
Paul, On 03/19/16 21:37, Paul Walmsley wrote: > On Fri, 18 Mar 2016, Peter Ujfalusi wrote: > >> OMAP3's McBSP2 and McBSP3 module have integrated sidetone block with >> dedicated SYSCONFIG register. The sidetone is operating from the maain >> McBSP module's ICLK. For normal operation the sidetone

[PATCH 1/2] arm64: Store breakpoint single step state into pstate

2016-03-21 Thread He Kuang
From: Wang Nan Store breakpoint single step state into pstate to fix the recursion issue on ARM64. Signed-off-by: Kaixu Xia Signed-off-by: Hanjun Guo --- arch/arm64/include/asm/debug-monitors.h | 9 ++ arch/arm64/include/uapi/asm/ptrace.h| 10 +++ arch/arm64/kernel/hw_breakpoint.

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Byungchul Park
On Mon, Mar 21, 2016 at 05:07:51PM +0900, Byungchul Park wrote: > On Mon, Mar 21, 2016 at 04:35:07PM +0900, Sergey Senozhatsky wrote: > > On (03/21/16 09:56), Byungchul Park wrote: > > > > > > + if (!sync_print) { > > > > > > + if (in_sched) { > > > > > > + /* > > > >

Re: [PATCH 43/71] jbd2: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Jan Kara
On Sun 20-03-16 21:40:50, Kirill A. Shutemov wrote: > PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago > with promise that one day it will be possible to implement page cache with > bigger chunks than PAGE_SIZE. > > This promise never materialized. And unlikely will. > >

Re: [PATCH 32/71] ext2: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Jan Kara
On Sun 20-03-16 21:40:39, Kirill A. Shutemov wrote: > PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago > with promise that one day it will be possible to implement page cache with > bigger chunks than PAGE_SIZE. > > This promise never materialized. And unlikely will. > >

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Sergey Senozhatsky
On (03/21/16 17:07), Byungchul Park wrote: [..] > > > > > It will not print the "lockup suspected" message at all, for e.g. > > > > > rq->lock, > > > > > p->pi_lock and any locks which are used within wake_up_process(). > > > > > > > > this will switch to old SYNC printk() mode should such a lock

Re: [PATCH 62/71] udf: get rid of PAGE_CACHE_* and page_cache_{get,release} macros

2016-03-21 Thread Jan Kara
On Sun 20-03-16 21:41:09, Kirill A. Shutemov wrote: > PAGE_CACHE_{SIZE,SHIFT,MASK,ALIGN} macros were introduced *long* time ago > with promise that one day it will be possible to implement page cache with > bigger chunks than PAGE_SIZE. > > This promise never materialized. And unlikely will. > >

Re: [PATCH v2 0/3] ARM: OMAP3: Fix McBSP2/3 hwmod setup for sidetone

2016-03-21 Thread Peter Ujfalusi
Paul, On 03/19/16 21:38, Paul Walmsley wrote: > On Fri, 18 Mar 2016, Peter Ujfalusi wrote: > >> Hi, >> >> Chanes since v1: >> - removed the ASoC patch as Mark has applied it already >> - Added my signed-off to the hwmod patch >> - New patch to handle the case when the sidetone hwmod has been remo

Re: [PATCH 2/3] x86/topology: Fix AMD core count

2016-03-21 Thread Thomas Gleixner
On Mon, 21 Mar 2016, Huang Rui wrote: > I quickly applied this patch on tip/master with on a fam15h machine. Can you use tip/x86/urgent please? Thanks, tglx

[patch] crypto: marvell/cesa - remove unneeded condition

2016-03-21 Thread Dan Carpenter
creq->cache[] is an array inside the struct, it's not a pointer and it can't be NULL. Signed-off-by: Dan Carpenter diff --git a/drivers/crypto/marvell/hash.c b/drivers/crypto/marvell/hash.c index 7ca2e0f..7a5058d 100644 --- a/drivers/crypto/marvell/hash.c +++ b/drivers/crypto/marvell/hash.c @@ -

Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64

2016-03-21 Thread Andreas Schwab
This patch may fix a few LTP tests. Andreas. diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h index 3631903..d1010db 100644 --- a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h +++ b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h @@ -25,18 +25,

Re: Major KVM issues with kernel 4.5 on the host

2016-03-21 Thread Paolo Bonzini
On 19/03/2016 01:08, Marc Haber wrote: >> > >>> > > http://q.bofh.de/~mh/stuff/20160317-fan-syslog-kvm-4.5 >> > >> > This one doesn't want: >> > >> > HTTP request sent, awaiting response... 403 Forbidden >> > 2016-03-18 22:57:46 ERROR 403: Forbidden. > Idiot me. File permissions fixed. > >> >

Re: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-21 Thread Mathias Nyman
On 21.03.2016 06:18, Rajesh Bhagat wrote: Hi I think clearing the whole command ring is a bit too much in this case. It may cause issues for all attached devices when one command times out. Hi Mathias, I understand your point, But I want to understand how would completion handler be cal

Re: [patch] crypto: marvell/cesa - remove unneeded condition

2016-03-21 Thread Boris Brezillon
On Mon, 21 Mar 2016 12:03:43 +0300 Dan Carpenter wrote: > creq->cache[] is an array inside the struct, it's not a pointer and it > can't be NULL. > > Signed-off-by: Dan Carpenter Acked-by: Boris Brezillon > > diff --git a/drivers/crypto/marvell/hash.c b/drivers/crypto/marvell/hash.c > index

Re: [GIT PULL] xfs: updates for 4.6-rc1

2016-03-21 Thread Jan Kara
On Mon 21-03-16 13:05:05, Dave Chinner wrote: The resolution of conflict in fs/ext4/inode.c is fine except for one minor issue: > diff --cc fs/ext4/inode.c > index b2e9576,2b98171..e5ba3b0 > --- a/fs/ext4/inode.c > +++ b/fs/ext4/inode.c > @@@ -3289,10 -3161,10 +3289,10 @@@ out > } > #endif >

Re: [PATCH 2/3] x86/topology: Fix AMD core count

2016-03-21 Thread Huang Rui
On Mon, Mar 21, 2016 at 09:26:43AM +0100, Borislav Petkov wrote: > On Mon, Mar 21, 2016 at 11:46:19AM +0800, Huang Rui wrote: > > I quickly applied this patch on tip/master with on a fam15h machine. > > The issue is still existed, only one core can be detected. > > Huh, what? > > So that 6386 has

[PATCH] KVM: fix spin_lock_init order on x86

2016-03-21 Thread Paolo Bonzini
kvm_arch_init_vm is now using mmu_lock, causing lockdep to complain: [ 284.440294] INFO: trying to register non-static key. [ 284.445259] the code is fine but needs lockdep annotation. [ 284.450736] turning off the locking correctness validator. ... [ 284.528318] [] lock_acquire+0xd3/0x240 [

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-4.6-1 tag

2016-03-21 Thread Michael Ellerman
On Sat, 2016-03-19 at 15:57 -0700, Linus Torvalds wrote: > On Fri, Mar 18, 2016 at 5:07 AM, Michael Ellerman wrote: > > > > I couldn't convince git request-pull to generate a sane diffstat below, it > > seems to be confused because I merged powerpc-4.5-4 into my next. > > Yes, if there are multipl

Re: intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-21 Thread Stephane Gasparini
— Steph > On Mar 18, 2016, at 6:52 PM, Srinivas Pandruvada > wrote: > > On Fri, 2016-03-18 at 17:13 +0100, Stephane Gasparini wrote: >> Rafael, >> >> Why in step 3) both atom_set_pstate() and atom_set_pstate() were not >> both >> changed to use wrmsrl ? > Initial Atom support was experimen

Re: [PATCH] sched: Add preempt checks in preempt_schedule() code

2016-03-21 Thread Peter Zijlstra
On Fri, Mar 18, 2016 at 01:06:02PM -0400, Steven Rostedt wrote: > Now by breaking out the preempt off/on tracing into their own code: > preempt_disable_check() and preempt_enable_check(), we can add these to > the preempt_schedule() code. As preemption would then be disabled, even > if they were to

Re: [RFC][PATCH v5 1/2] printk: Make printk() completely async

2016-03-21 Thread Sergey Senozhatsky
On (03/21/16 17:47), Byungchul Park wrote: [..] > > Is there any reason why you don't put the wake_up_process() out of the > > critical section with my suggestion, even though it can solve the infinite > > recuresion you worried about? > > Just to be sure, whether you take my suggestion or not is

[RFC PATCH v1 0/4] Add Rockchip RGA support

2016-03-21 Thread Yakir Yang
Hi, Mark and all. This patch set would add the RGA direct rendering based 2d graphics acceleration module. This patch set is based on git repository below: git://people.freedesktop.org/~airlied/linux drm-next commit id: 568d7c764ae01f3706085ac8f0d8a8ac7e826bd7 And the RGA driver is based on Exy

Re: intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-21 Thread Stephane Gasparini
— Steph > On Mar 18, 2016, at 10:44 PM, Rafael J. Wysocki wrote: > > On Fri, Mar 18, 2016 at 7:32 PM, Stephane Gasparini > wrote: >> >> — >> Steph >> >> >> >> >>> On Mar 18, 2016, at 6:52 PM, Srinivas Pandruvada >>> wrote: >>> >>> On Fri, 2016-03-18 at 17:13 +0100, Stephane Gasparin

[PATCH] Extend PCIE_BUS_PEER2PEER to set MRSS=128 to fix CNS3xxx BM DMA.

2016-03-21 Thread Krzysztof Halasa
The platform in question is Cavium CNS3xxx, ARMv6. A recent patch by Arnd Bergmann (498a92d42596 "ARM: cns3xxx: pci: avoid potential stack overflow") converted an explicit setting of PCI_EXP_DEVCTL_READRQ = 0 (i.e., max 128 bytes for bus-mastering PCIe DMA read request) to: +pcie_bus_config =

[RFC PATCH v1 1/4] drm: rockchip: add a common subdrv interfaces

2016-03-21 Thread Yakir Yang
Introduce a common subdrv register/unregister interfaces, help external driver to hook the drm open/close event. Signed-off-by: Yakir Yang --- drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 49 + drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 15 + 2 files chang

Re: [PATCH v11 6/9] arm64: kprobes instruction simulation support

2016-03-21 Thread David Long
On 03/11/2016 10:56 PM, Marc Zyngier wrote: On Wed, 9 Mar 2016 00:32:20 -0500 David Long wrote: David, From: Sandeepa Prabhu Kprobes needs simulation of instructions that cannot be stepped from a different memory location, e.g.: those instructions that uses PC-relative addressing. In simul

[RFC PATCH v1 3/4] ARM: dts: rockchip: add RGA device node for RK3288

2016-03-21 Thread Yakir Yang
This patch add the RGA dt config of rk3288 SoC. Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 8ac49f3..af948b9 100644 --- a/arch/arm/boot/dts/rk328

[RFC PATCH v1 4/4] ARM: dst: rockchip: enable RGA support on veyron devices

2016-03-21 Thread Yakir Yang
Signed-off-by: Yakir Yang --- arch/arm/boot/dts/rk3288-veyron.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-veyron.dtsi b/arch/arm/boot/dts/rk3288-veyron.dtsi index 9fce91f..5eb4e97 100644 --- a/arch/arm/boot/dts/rk3288-veyron.dtsi +++ b/arch/arm/boot/dts/

[RFC PATCH v1 2/4] drm: rockchip: add RGA driver support

2016-03-21 Thread Yakir Yang
Rockchip RGA is a separate 2D raster graphic acceleration unit. It accelerates 2D graphics operations, such as point/line drawing, image scaling, rotation, BitBLT, alpha blending and image blur/sharpness. The RGA driver is based on Exynos G2D driver, it is performed by two tasks simply. 1. Configu

Re: [PATCH 1/4] efi: Move efi_status_to_err() to drivers/firmware/efi/

2016-03-21 Thread Ard Biesheuvel
On 17 March 2016 at 13:57, Matt Fleming wrote: > Move efi_status_to_err() to the architecture independent code as it's > generally useful in all bits of EFI code where there is a need to > convert an efi_status_t to a kernel error value. > > Cc: Kweh Hock Leong > Cc: Borislav Petkov > Cc: Ard Bi

Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64

2016-03-21 Thread Arnd Bergmann
On Monday 21 March 2016 10:07:49 Andreas Schwab wrote: > This patch may fix a few LTP tests. > Thanks for analyzing. > diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h > index 3631903..d1010db 100644 > --- a/sysdeps/unix/sysv/linux/aarch

Re: [PATCH 2/3] x86/topology: Fix AMD core count

2016-03-21 Thread Huang Rui
On Mon, Mar 21, 2016 at 09:21:29AM +0100, Peter Zijlstra wrote: > On Mon, Mar 21, 2016 at 11:07:46AM +0800, Huang Rui wrote: > > > > The issue is that Linux assumes: > > > > > > > > nr_logical_cpus = nr_cores * nr_siblings > > > > > > > > But AMD reports its CU unit as 2 cores, but then s

<    1   2   3   4   5   6   7   8   9   >