Re: [PATCH 1/2] cpufreq: powernv: Adding fast_switch for schedutil

2016-11-06 Thread Akshay Adiga
Thanks Viresh for taking a look at it. I will make the mentioned changes in the next version of the patch. Regards Akshay Adiga On 11/04/2016 12:03 PM, Viresh Kumar wrote: On 04-11-16, 10:57, Akshay Adiga wrote: Adding fast_switch which does light weight operation to set the desired pstate

Re: [PATCH] gpio: tegra186: Add support for T186 GPIO

2016-11-06 Thread Linus Walleij
On Wed, Nov 2, 2016 at 11:48 AM, Suresh Mangipudi wrote: > Add GPIO driver for T186 based platforms. > Adds support for MAIN and AON GPIO's from T186. > > Signed-off-by: Suresh Mangipudi Stephen/Thierry/Alexandre: Can I get your review on this Tegra thing? Yours, Linus Walleij

[PATCH] ARC: [plat-eznps] remove IPI clear from SMP operations

2016-11-06 Thread Noam Camus
From: Noam Camus Generic IRQ mechanism is already acknowledge the IPI IRQ. Doing this once more time in IPI handler is not needed. Signed-off-by: Noam Camus --- arch/arc/plat-eznps/smp.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/arch/arc/plat-eznps/smp.c b/a

Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA

2016-11-06 Thread Chen Feng
On 2016/11/7 15:44, Chen Feng wrote: > On 2016/11/7 15:27, Joonsoo Kim wrote: >> On Mon, Nov 07, 2016 at 03:08:49PM +0800, Chen Feng wrote: >>> >>> >>> On 2016/11/7 14:15, Joonsoo Kim wrote: On Tue, Nov 01, 2016 at 03:58:32PM +0800, Chen Feng wrote: > Hello, I hava a question on cma zone

Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA

2016-11-06 Thread Chen Feng
On 2016/11/7 15:27, Joonsoo Kim wrote: > On Mon, Nov 07, 2016 at 03:08:49PM +0800, Chen Feng wrote: >> >> >> On 2016/11/7 14:15, Joonsoo Kim wrote: >>> On Tue, Nov 01, 2016 at 03:58:32PM +0800, Chen Feng wrote: Hello, I hava a question on cma zone. When we have cma zone, cma zone wil

Re: [PATCH v2] drm: move allocation out of drm_get_format_name()

2016-11-06 Thread Christian König
Am 07.11.2016 um 01:48 schrieb Eric Engestrom: Fixes: 90844f00049e9f42573fd31d7c32e8fd31d3fd07 drm: make drm_get_format_name thread-safe Signed-off-by: Eric Engestrom [danvet: Clarify that the returned pointer must be freed with kfree().] Signed-off-by: Daniel Vetter

[PATCH v2 1/2] cpufreq: powernv: Adding fast_switch for schedutil

2016-11-06 Thread Akshay Adiga
Adding fast_switch which does light weight operation to set the desired pstate. Both global and local pstates are set to the same desired pstate. Signed-off-by: Akshay Adiga --- Changes from v1 : - Removed unnecessary check for index out of bound. drivers/cpufreq/powernv-cpufreq.c | 20

[PATCH v2 2/2] cpufreq: powernv: Use PMCR to verify global and local pstate

2016-11-06 Thread Akshay Adiga
As fast_switch() may get called with interrupt disable mode, we cannot hold a mutex to update the global_pstate_info. So currently, fast_switch() does not update the global_pstate_info and it will end up with stale data whenever pstate is updated through fast_switch(). As the gpstate_timer can fir

Re: [RFC PATCH 0/3] x86/RAS: Dump error record to dmesg if no consumers

2016-11-06 Thread Ingo Molnar
* Borislav Petkov wrote: > From: Borislav Petkov > > Right, > > so this is not a good thing: systems may not have any error record > consumers registered and in such cases, any logged MCEs disappear into > the void. And this shouldn't happen. > > So let's dump them to dmesg as a last resort.

Re: [PATCH 2/2] cpufreq: powernv: Use PMSR to verify global and local pstate

2016-11-06 Thread Akshay Adiga
Thanks Viresh for taking a look at it. I will make the mentioned changes in the next version of the patch and will add Shilpa and Gautham to the mail chain. Regards Akshay Adiga On 11/04/2016 12:11 PM, Viresh Kumar wrote: On 04-11-16, 10:57, Akshay Adiga wrote: As fast_switch may get called

Re: [PATCH v3 1/2] x86/AMD: Fix cpu_llc_id for AMD Fam17h systems

2016-11-06 Thread Ingo Molnar
* Borislav Petkov wrote: > Lemme clean up the commit message a bit more and add tags: > > --- > From: Yazen Ghannam > Date: Tue, 1 Nov 2016 11:51:02 -0500 > Subject: [PATCH] x86/AMD: Fix cpu_llc_id for AMD Fam17h systems > > cpu_llc_id (Last Level Cache ID) derivation on AMD Fam17h has an > u

[PATCH v3 0/2] set specific ddr frequency when stop ddr dvfs

2016-11-06 Thread Lin Huang
We need ddr run a specific frequency when ddr dvfs stop working. So we implement get suspend frequency function in devfreq framework, and call it in rk3399 dmc driver. Lin Huang (2): PM/devfreq: add suspend frequency support PM/devfreq: rk3399: get devfreq suspend frequency drivers/devfreq/

Re: [PATCH v3 2/2] x86/AMD: Group cpu_llc_id assignment by topology feature and family

2016-11-06 Thread Ingo Molnar
* Borislav Petkov wrote: > Ditto, clean it up and add tags: > > --- > From: Yazen Ghannam > Date: Tue, 1 Nov 2016 11:51:03 -0500 > Subject: [PATCH] x86/AMD: Group cpu_llc_id assignment > > Currently, we assume that a system has multiple last level caches only > if there are multiple nodes, an

[PATCH V2 linux-next] ext4: fix block_validity definition

2016-11-06 Thread Fabian Frederick
Fix ext4 documentation according to commit 45f1a9c3f63d ("ext4: enable block_validity by default") Also fix some typos. Reviewed-by: Darrick J. Wong Signed-off-by: Fabian Frederick --- V2: Replace beginning of the definition (suggested by Darrick). Documentation/filesystems/ext4.txt | 7 +++-

Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA

2016-11-06 Thread Joonsoo Kim
On Mon, Nov 07, 2016 at 03:08:49PM +0800, Chen Feng wrote: > > > On 2016/11/7 14:15, Joonsoo Kim wrote: > > On Tue, Nov 01, 2016 at 03:58:32PM +0800, Chen Feng wrote: > >> Hello, I hava a question on cma zone. > >> > >> When we have cma zone, cma zone will be the highest zone of system. > >> > >>

Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA

2016-11-06 Thread Chen Feng
On 2016/11/7 14:15, Joonsoo Kim wrote: > On Tue, Nov 01, 2016 at 03:58:32PM +0800, Chen Feng wrote: >> Hello, I hava a question on cma zone. >> >> When we have cma zone, cma zone will be the highest zone of system. >> >> In android system, the most memory allocator is ION. Media system will >> al

Photos of Kernel Summit & Plumber's in Santa Fe

2016-11-06 Thread Len Brown
https://goo.gl/photos/4YUMndSYj6Ztcw3dA Enjoy! cheers, -Len

Re: [PATCH 2/2] s390: squash facilities_src.h into gen_facilities.c

2016-11-06 Thread Heiko Carstens
On Sun, Nov 06, 2016 at 12:45:28PM +0900, Masahiro Yamada wrote: > We generally expect headers in arch/$(ARCH)/include/asm directory > are included from kernel sources, but facilities_src.h is not; > it is included from the arch/s390/tools/gen_facilities.c tool. > > There is no reason to expose th

[PATCH v4 3/3] arm: dts: mt2701: Add node for Mediatek JPEG Decoder

2016-11-06 Thread Rick Chang
Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- This patch depends on: CCF "Add clock support for Mediatek MT2701"[1] iommu and smi "Add the dtsi node of iommu and smi for mt2701"[2] [1] http://lists.infradead.org/pipermail/linux-mediatek/2016-October/007271.html [2] https://patc

[PATCH v4 2/3] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

2016-11-06 Thread Rick Chang
Add v4l2 driver for Mediatek JPEG Decoder Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- drivers/media/platform/Kconfig | 15 + drivers/media/platform/Makefile |2 + drivers/media/platform/mtk-jpeg/Makefile |2 + drivers/media/pla

[PATCH v4 0/3] Add Mediatek JPEG Decoder

2016-11-06 Thread Rick Chang
This series of patches provide a v4l2 driver to control Mediatek JPEG decoder for decoding JPEG image and Motion JPEG bitstream. changes since v3: - Revise DT binding documentation - Revise compatible string changes since v2: - Revise DT binding documentation changes since v1: - Rebase for v4.9

[PATCH v4 1/3] dt-bindings: mediatek: Add a binding for Mediatek JPEG Decoder

2016-11-06 Thread Rick Chang
Add a DT binding documentation for Mediatek JPEG Decoder of MT2701 SoC. Signed-off-by: Rick Chang Signed-off-by: Minghsiu Tsai --- .../bindings/media/mediatek-jpeg-codec.txt | 35 ++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindi

Re: [PATCH v11 00/22] Add Mediated device support

2016-11-06 Thread Alexey Kardashevskiy
On 07/11/16 17:36, Kirti Wankhede wrote: > > > On 11/7/2016 11:45 AM, Alexey Kardashevskiy wrote: >> On 07/11/16 14:59, Kirti Wankhede wrote: >>> >>> >>> On 11/7/2016 9:00 AM, Alexey Kardashevskiy wrote: On 05/11/16 08:10, Kirti Wankhede wrote: > > ... > > > Patch series tested w

Re: [PATCH] staging: lustre: o2iblnd: replace space indentation with tabs

2016-11-06 Thread Greg KH
On Mon, Nov 07, 2016 at 03:55:36AM +, James Simmons wrote: > > > On Mon, 2016-11-07 at 02:02 +, James Simmons wrote: > > > > This patch fixes all CODE_INDENT checkpatch errors in o2iblnd. > > > Reviewed-by: James Simmons > > [] > > > > diff --git a/drivers/staging/lustre/lnet/klnds/o2ibln

RE: [PATCH v11 01/22] vfio: Mediated device Core driver

2016-11-06 Thread Tian, Kevin
> From: Kirti Wankhede [mailto:kwankh...@nvidia.com] > Sent: Saturday, November 05, 2016 5:11 AM > [...] > > Signed-off-by: Kirti Wankhede > Signed-off-by: Neo Jia > Change-Id: I73a5084574270b14541c529461ea2f03c292d510 Jike has given his reviewed-by for some patches in v10. Please include his

[PATCH v3 2/2] PM/devfreq: rk3399: get devfreq suspend frequency

2016-11-06 Thread Lin Huang
We need ddr run a specific frequency when ddr dvfs stop working. For example: if we enable two monitor, then we will stop ddr dvfs, but we hope ddr can run in highest frequency obviously. Signed-off-by: Lin Huang --- Changes in v2: - None Changes in v3: - None drivers/devfreq/rk3399_dmc.c | 2 +

Re: [PATCH v11 00/22] Add Mediated device support

2016-11-06 Thread Kirti Wankhede
On 11/7/2016 11:45 AM, Alexey Kardashevskiy wrote: > On 07/11/16 14:59, Kirti Wankhede wrote: >> >> >> On 11/7/2016 9:00 AM, Alexey Kardashevskiy wrote: >>> On 05/11/16 08:10, Kirti Wankhede wrote: ... Patch series tested with linux-next upto commit 14970f204b19 @Fri Oct 28 R

Hello Dear

2016-11-06 Thread CatherineWormer
I am Sgt Catherine Wormer a self sufficient, hard working woman that enjoys hanging out with friends and family. I love learning new things and going new places. I'm down to earth, loving, I'm direct, loyal, funny, and honest. Please respond to my mail at my private box ( catherineworme...@gma

[RESEND PATCH v3 2/2] PM/devfreq: rk3399: get devfreq suspend frequency

2016-11-06 Thread Lin Huang
We need ddr run a specific frequency when ddr dvfs stop working. For example: if we enable two monitor, then we will stop ddr dvfs, but we hope ddr can run in highest frequency obviously. Signed-off-by: Lin Huang --- Changes in v2: - None Changes in v3: - None drivers/devfreq/rk3399_dmc.c | 2 +

[RESEND PATCH v3 1/2] PM/devfreq: add suspend frequency support

2016-11-06 Thread Lin Huang
Add suspend frequency support and if needed set it to the frequency obtained from the suspend opp (can be defined using opp-v2 bindings and is optional). Signed-off-by: Lin Huang --- Changes in v2: - use update_devfreq() instead devfreq_update_status() Changes in v3: - fix build error drivers/d

[RESEND PATCH v3 0/2] set specific ddr frequency when stop ddr dvfs

2016-11-06 Thread Lin Huang
We need ddr run a specific frequency when ddr dvfs stop working. So we implement get suspend frequency function in devfreq framework, and call it in rk3399 dmc driver. Lin Huang (2): PM/devfreq: add suspend frequency support PM/devfreq: rk3399: get devfreq suspend frequency drivers/devfreq/

Re: -fno-PIE, take #3

2016-11-06 Thread Theodore Ts'o
On Fri, Nov 04, 2016 at 07:39:37PM +0100, Sebastian Andrzej Siewior wrote: > Debian gcc's is nowdays compiled with --enable-default-pie which means it does > -fPIE by default. This breaks atleast x86-64 compiles. > This is the third attempt to fix it, this time by using runtime detection of > the -

Re: [PATCH v6 0/6] Introduce ZONE_CMA

2016-11-06 Thread Joonsoo Kim
On Fri, Oct 14, 2016 at 12:03:10PM +0900, js1...@gmail.com wrote: > From: Joonsoo Kim > > Hello, > > Changes from v5 > o Add acked/reviewed-by tag from Vlastimil and Aneesh > o Rebase on next-20161013 > o Cosmetic change on patch 1 > o Optimize span of ZONE_CMA on multiple node system Hello, An

[PATCH v3 1/2] PM/devfreq: add suspend frequency support

2016-11-06 Thread Lin Huang
Add suspend frequency support and if needed set it to the frequency obtained from the suspend opp (can be defined using opp-v2 bindings and is optional). Signed-off-by: Lin Huang --- Changes in v2: - use update_devfreq() instead devfreq_update_status() Changes in v3: - fix build error drivers/d

arm: why set MIN_GAP to 128M size

2016-11-06 Thread Chenjie (K)
Hi everyone arm: /* gap between mmap and stack */ #define MIN_GAP (128*1024*1024UL) The min_gap is 128M, in the mmap_base function unsigned long gap = rlimit(RLIMIT_STACK); if (gap < MIN_GAP) gap = MIN_GAP; else if (gap > MAX_GAP) gap = MAX_GAP; I can not use the "1

Re: [PATCH v11 00/22] Add Mediated device support

2016-11-06 Thread Alexey Kardashevskiy
On 07/11/16 14:59, Kirti Wankhede wrote: > > > On 11/7/2016 9:00 AM, Alexey Kardashevskiy wrote: >> On 05/11/16 08:10, Kirti Wankhede wrote: >>> This series adds Mediated device support to Linux host kernel. Purpose >>> of this series is to provide a common interface for mediated device >>> manag

Re: [PATCH v6 2/6] mm/cma: introduce new zone, ZONE_CMA

2016-11-06 Thread Joonsoo Kim
On Tue, Nov 01, 2016 at 03:58:32PM +0800, Chen Feng wrote: > Hello, I hava a question on cma zone. > > When we have cma zone, cma zone will be the highest zone of system. > > In android system, the most memory allocator is ION. Media system will > alloc unmovable memory from it. > > On low memor

Re: [Resend][PATCH] cpufreq: conservative: Decrease frequency faster when the timer deferred

2016-11-06 Thread Viresh Kumar
For the record, I have never got the original mail with this subject. On 06-11-16, 11:19, Stratos Karafotis wrote: > Conservative governor changes the CPU frequency in steps. > That means that if a CPU runs at max frequency, it will need several > sampling periods to return at min frequency when t

Re: [PATCH 2/2] pinctrl: tegra: Add driver to configure voltage and power of io pads

2016-11-06 Thread Laxman Dewangan
On Saturday 05 November 2016 03:54 AM, Linus Walleij wrote: On Wed, Nov 2, 2016 at 10:09 AM, Laxman Dewangan wrote: NVIDIA Tegra124 and later SoCs support the multi-voltage level and low power state of some of its IO pads. The IO pads can work in the voltage of the 1.8V and 3.3V of IO power r

Re: [PATCH v4 10/10] IB/mlx5: Simplify completion into a wait_event

2016-11-06 Thread Binoy Jayan
Hi Linus, On 3 November 2016 at 21:07, Linus Torvalds wrote: > This is wrong. Will change it back. > Since that "umr_context" variable is on the stack, and you are waiting > for it to be fully done, it really should be a completion. Thank you for sharing your insight with wait_event and comple

[patch v5 1/1] i2c: add master driver for mellanox systems

2016-11-06 Thread vadimp
From: Vadim Pasternak Device driver for Mellanox I2C controller logic, implemented in Lattice CPLD device. Device supports: - Master mode - One physical bus - Polling mode The Kconfig currently controlling compilation of this code is: drivers/i2c/busses/Kconfig:config I2C_MLXCPLD Signed-off-

Re: [PATCH 3/3] clk: qcom: Set BRANCH_HALT_DELAY flags for venus core0/1 clks

2016-11-06 Thread Rajendra Nayak
On 11/05/2016 01:48 AM, 'Stephen Boyd' wrote: > On 11/04, Sricharan wrote: >> Hi, >>> >>> A better design would be to check if the associated GDSC is in hw >>> control mode and then skip the checks because the clocks are no >>> longer under the control of the registers. I presume we only >>> enab

Re: [PATCH for-next 01/11] IB/hns: Add the interface for querying QP1

2016-11-06 Thread Anurup M
On 11/4/2016 10:06 PM, Salil Mehta wrote: > From: Lijun Ou > > In old code, It only added the interface for querying non-specific > QP. This patch mainly adds an interface for querying QP1. > > Signed-off-by: Lijun Ou > Reviewed-by: Wei Hu (Xavier) > Signed-off-by: Salil Mehta > --- > dri

Re: [PATCH v2 1/2] cpufreq: add new attribute type cpufreq_freq_attr_wr_perm()

2016-11-06 Thread Viresh Kumar
On 04-11-16, 09:55, Markus Mayer wrote: > From: Markus Mayer > > With the new attribute type, it is possible to create write-only > CPUfreq attributes. > > Signed-off-by: Markus Mayer > --- > include/linux/cpufreq.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/include/linux/cp

linux-next: no release today

2016-11-06 Thread Stephen Rothwell
Hi all, There will be no linx-next release today. -- Cheers, Stephen Rothwell

Re: [PATCH v11 00/22] Add Mediated device support

2016-11-06 Thread Kirti Wankhede
Verified that this patch series gets applied cleanly to Linux-next upto: bc33b0ca11e3 Linux 4.9-rc4 Also tested this patch series with above kernel. Thanks, Kirti On 11/7/2016 9:29 AM, Kirti Wankhede wrote: > > > On 11/7/2016 9:00 AM, Alexey Kardashevskiy wrote: >> On 05/11/16 08:10, Kirti Wa

Re: [RFC][PATCH] mm: merge as soon as possible when pcp alloc/free

2016-11-06 Thread Anshuman Khandual
On 11/07/2016 07:18 AM, Xishi Qiu wrote: > On 2016/11/5 20:29, Anshuman Khandual wrote: > >> On 11/05/2016 01:27 PM, Xishi Qiu wrote: >>> Usually the memory of android phones is very small, so after a long >>> running, the fragment is very large. Kernel stack which called by >>> alloc_thread_stack

Re: [PATCH v2 2/2] cpufreq: stats: clear statistics

2016-11-06 Thread Viresh Kumar
On 04-11-16, 09:55, Markus Mayer wrote: > From: Markus Mayer > > Allow CPUfreq statistics to be cleared by writing anything to > /sys/.../cpufreq/stats/reset. > > Signed-off-by: Markus Mayer > --- > Documentation/cpu-freq/cpufreq-stats.txt | 6 ++ > drivers/cpufreq/cpufreq_stats.c

Re: [PATCH v2 1/2] cpufreq: add new attribute type cpufreq_freq_attr_wr_perm()

2016-11-06 Thread Viresh Kumar
On 07-11-16, 10:03, Viresh Kumar wrote: > On 04-11-16, 09:55, Markus Mayer wrote: > > From: Markus Mayer > > > > With the new attribute type, it is possible to create write-only > > CPUfreq attributes. > > > > Signed-off-by: Markus Mayer > > --- > > include/linux/cpufreq.h | 4 > > 1 file

Re: [PATCH v7 2/2] x86/apic: x2apic write eoi msr notrace

2016-11-06 Thread Wanpeng Li
2016-11-03 5:10 GMT+08:00 Borislav Petkov : > On Mon, Oct 31, 2016 at 09:37:02AM +0800, Wanpeng Li wrote: >> From: Wanpeng Li >> >> | RCU used illegally from idle CPU! >> | rcu_scheduler_active = 1, debug_locks = 0 >> | RCU used illegally from extended quiescent state! >> | no locks held by swappe

Re: [PATCH 2/2] staging: lustre: obdclass: Add handling of error returned by lustre_cfg_new

2016-11-06 Thread James Simmons
> On Nov 6, 2016, at 12:11 PM, Christophe JAILLET wrote: > > > 'lustre_cfg_new()' can return ERR_PTR(-ENOMEM). > > Handle these errors and propagate the error code to the callers. > > > > Error handling has been rearranged in 'lustre_process_log()' with the > > addition of a label in order to fr

[PATCH] shmem: fix pageflags after swapping DMA32 object

2016-11-06 Thread Hugh Dickins
If shmem_alloc_page() does not set PageLocked and PageSwapBacked, then shmem_replace_page() needs to do so for itself. Without this, it puts newpage on the wrong lru, re-unlocks the unlocked newpage, and system descends into "Bad page" reports and freeze; or if CONFIG_DEBUG_VM=y, it hits an earlie

Re: [PATCH v11 00/22] Add Mediated device support

2016-11-06 Thread Kirti Wankhede
On 11/7/2016 9:00 AM, Alexey Kardashevskiy wrote: > On 05/11/16 08:10, Kirti Wankhede wrote: >> This series adds Mediated device support to Linux host kernel. Purpose >> of this series is to provide a common interface for mediated device >> management that can be used by different devices. This s

Re: [PATCH v3] drm: bridge: add DesignWare HDMI I2S audio support

2016-11-06 Thread Kuninori Morimoto
Hi Russell > > + platform = platform_device_register_full(&pdevinfo); > > + if (IS_ERR_OR_NULL(platform)) > > + return PTR_ERR(platform); > > This is wrong. If platform is NULL, PTR_ERR() will return zero, which > will be interpreted as success. Please, avoid using IS_ERR_OR_NULL

Re: [PATCH] staging: lustre: o2iblnd: replace space indentation with tabs

2016-11-06 Thread James Simmons
> On Mon, 2016-11-07 at 02:02 +, James Simmons wrote: > > > This patch fixes all CODE_INDENT checkpatch errors in o2iblnd. > > Reviewed-by: James Simmons > [] > > > diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c > > > b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c >

Re: [PATCH 22/29] staging: lustre: llite: add LL_IOC_FUTIMES_3

2016-11-06 Thread James Simmons
> On Thu, Oct 27, 2016 at 06:11:56PM -0400, James Simmons wrote: > > From: John L. Hammond > > > > Add a new regular file ioctl LL_IOC_FUTIMES_3 similar to futimes() but > > which allows setting of all three inode timestamps. Use this ioctl > > during HSM restore to ensure that the volatile file

Re: [PATCH v11 00/22] Add Mediated device support

2016-11-06 Thread Alexey Kardashevskiy
On 05/11/16 08:10, Kirti Wankhede wrote: > This series adds Mediated device support to Linux host kernel. Purpose > of this series is to provide a common interface for mediated device > management that can be used by different devices. This series introduces > Mdev core module that creates and mana

RE: [PATCH kernel v4 7/7] virtio-balloon: tell host vm's unused page info

2016-11-06 Thread Li, Liang Z
> Please squish this and patch 5 together. It makes no sense to separate them. > OK. > > +static void send_unused_pages_info(struct virtio_balloon *vb, > > + unsigned long req_id) > > +{ > > + struct scatterlist sg_in; > > + unsigned long pfn = 0, bmap_len, pfn_lim

Re: [PATCH 14/17] ASoC: add simple-graph-card document

2016-11-06 Thread Kuninori Morimoto
Hi Mark > This document really needs quite a bit of fleshing out but I'm not sure > that should be a blocker for the series as a whole especially given that > English is not your native language - we can build out later. I think I'm sorry about my English... > One thing I'm not 100% clear on h

[PATCH v8 0/2] x86/apic: x2apic write eoi msr notrace

2016-11-06 Thread Wanpeng Li
RCU used illegally from idle CPU! rcu_scheduler_active = 1, debug_locks = 0 RCU used illegally from extended quiescent state! no locks held by swapper/1/0. do_trace_write_msr native_write_msr native_apic_msr_eoi_write smp_reschedule_interrupt reschedule_interrupt Reschedule interru

[PATCH v8 1/2] x86/msr: Add write msr notrace

2016-11-06 Thread Wanpeng Li
From: Wanpeng Li Add write msr notrace, it will be used by later patch. Suggested-by: Peter Zijlstra Suggested-by: Paolo Bonzini Acked-by: Paolo Bonzini Reviewed-by: Borislav Petkov Cc: Ingo Molnar Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Paolo Bonzini Cc: Borislav

[PATCH v8 2/2] x86/apic: x2apic write eoi msr notrace

2016-11-06 Thread Wanpeng Li
From: Wanpeng Li RCU used illegally from idle CPU! rcu_scheduler_active = 1, debug_locks = 0 RCU used illegally from extended quiescent state! no locks held by swapper/1/0. do_trace_write_msr native_write_msr native_apic_msr_eoi_write smp_reschedule_interrupt reschedule_interrupt

[PATCH v8 2/3] Documentation: Add binding document for Lattice iCE40 FPGA manager

2016-11-06 Thread Joel Holdsworth
This adds documentation of the device tree bindings of the Lattice iCE40 FPGA driver for the FPGA manager framework. Signed-off-by: Joel Holdsworth --- .../bindings/fpga/lattice-ice40-fpga-mgr.txt| 21 + 1 file changed, 21 insertions(+) create mode 100644 Documentat

[PATCH v8 3/3] fpga: Add support for Lattice iCE40 FPGAs

2016-11-06 Thread Joel Holdsworth
The Lattice iCE40 is a family of FPGAs with a minimalistic architecture and very regular structure, designed for low-cost, high-volume consumer and system applications. This patch adds support to the FPGA manager for configuring the SRAM of iCE40LM, iCE40LP, iCE40HX, iCE40 Ultra, iCE40 UltraLite a

[PATCH v8 1/3] of: Add vendor prefix for Lattice Semiconductor

2016-11-06 Thread Joel Holdsworth
Lattice Semiconductor Corporation is a manufacturer of integrated circuits and IP products, including low-power FPGAs, video connectivity devices and millimeter wave wireless products. Website: http://latticesemi.com Signed-off-by: Joel Holdsworth Acked-by: Rob Herring --- Documentation/device

Re: [PATCH] staging: lustre: o2iblnd: replace space indentation with tabs

2016-11-06 Thread Joe Perches
On Mon, 2016-11-07 at 02:02 +, James Simmons wrote: > > This patch fixes all CODE_INDENT checkpatch errors in o2iblnd. > Reviewed-by: James Simmons [] > > diff --git a/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c > > b/drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c [] > > @@ -1637

[lkp] [net] af1fee9821: BUG:spinlock_trylock_failure_on_UP_on_CPU

2016-11-06 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git master commit af1fee98219992ba2c12441a447719652ed7e983 ("net: phy: Add support for Microsemi VSC 8530/40 Fast Ethernet PHY") in testcase: boot on test machine: qemu-system-x86_64 -enable-kv

Re: kernel BUG at arch/x86/kernel/traps.c:643! when run Redhat7(v3.10) in kvm guest

2016-11-06 Thread Kefeng Wang
Hi all, any ideas, thanks. + gonglei, haibin On 2016/10/17 15:51, Kefeng Wang wrote: > > > On 2016/10/15 2:36, Andy Lutomirski wrote: >> On Thu, Oct 13, 2016 at 11:14 PM, Kefeng Wang >> wrote: >>> Hi all, >>> >>> We met BUG_ON in do_device_not_available(fpu exception handler) when run >>> red

Re: [PATCH v3] x86/cpuid: expose AVX512_4VNNIW and AVX512_4FMAPS features to kvm guest

2016-11-06 Thread He Chen
On Fri, Nov 04, 2016 at 11:52:35AM +0100, Borislav Petkov wrote: > Please CC me on your future submissions, thanks. > Sure. > On Fri, Nov 04, 2016 at 03:07:19PM +0800, He Chen wrote: > > The spec can be found in Intel Software Developer Manual or in > > Instruction Set Extensions Programming Ref

Re: [PATCH] staging: lustre: o2iblnd: replace space indentation with tabs

2016-11-06 Thread James Simmons
> This patch fixes all CODE_INDENT checkpatch errors in o2iblnd. Reviewed-by: James Simmons > Signed-off-by: Nicholas Hanley > --- > .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c| 2 +- > .../staging/lustre/lnet/klnds/o2iblnd/o2iblnd_cb.c | 22 > +++--- > 2 files chan

Re: [PATCH v2] staging: lustre: fixed shadowed variable in socklnd_cb.c

2016-11-06 Thread James Simmons
> Removed redundant declaration of variable 'tx' in local scope > Fixed: sparse warning: > socklnd_cb.c:2476:41: warning: symbol 'tx' shadows an earlier one > socklnd_cb.c:2435:25: originally declared here Reviewed-by: James Simmons > Signed-off-by: Andrew Kanner > --- > drivers/staging/lust

Re: [PATCH 12/14] staging/lustre/llite: update ras window correctly

2016-11-06 Thread James Simmons
> From: Bobi Jam > > When stride-RA hit case miss, we only reset normal sequential > read-ahead window, but not reset the stride IO to avoid the overhead > of re-detecting stride IO. While when the normal RA window is set > to not insect with the stride-RA window, when we try to increase > the s

Re: [PATCH 11/14] staging/lustre/ptlrpc: Correctly calculate hrp->hrp_nthrs

2016-11-06 Thread James Simmons
On Wed, 2 Nov 2016, Oleg Drokin wrote: > From: Amir Shehata > > cpu_pattern can specify exactly 1 cpu in a partition: > "0[0]". That means CPT0 will have CPU 0. CPU 0 can have > hyperthreading enabled. This combination would result in > > weight = cfs_cpu_ht_nsiblings(0); > hrp->hrp_nthrs = cfs

Re: [PATCH 09/14] staging/lustre/ptlrpc: Suppress error for flock requests

2016-11-06 Thread James Simmons
> From: Patrick Farrell > > -EAGAIN is a normal return when requesting POSIX flocks. > We can't recognize exactly that case here, but it's the > only case that should result in -EAGAIN on LDLM_ENQUEUE, so > don't print to console in that case. Reviewed-by: James Simmons > Signed-off-by: Patr

Re: [PATCH v5 02/23] of: device: Export of_device_{get_modalias, uvent_modalias} to modules

2016-11-06 Thread Chen-Yu Tsai
On Mon, Nov 7, 2016 at 9:29 AM, Peter Chen wrote: > On Fri, Nov 04, 2016 at 01:51:34PM -0700, Stephen Boyd wrote: >> Quoting Peter Chen (2016-10-24 18:16:32) >> > On Mon, Oct 24, 2016 at 12:48:24PM -0700, Stephen Boyd wrote: >> > > Quoting Chen-Yu Tsai (2016-10-24 05:19:05) >> > > > Hi, >> > > > >

Re: [PATCH 13/14] staging/lustre/llite: do not clear uptodate bit in page delete

2016-11-06 Thread James Simmons
> From: Jinshan Xiong > > Otherwise, if the race between page fault and truncate occurs, it > will cause the page fault routine to return an EIO error. > > In filemap_fault() { > page_not_uptodate: > ... > ClearPageError(page); > error = mapping->a_ops->readpage(file, pa

Re: [PATCH 14/14] staging/lustre: Get rid of LIBLUSTRE_CLIENT and its users

2016-11-06 Thread James Simmons
> This define only made sense in a userspace library client, not in the kernel. Reviewed-by: James Simmons > Signed-off-by: Oleg Drokin > --- > drivers/staging/lustre/lustre/include/lustre_lib.h | 2 -- > drivers/staging/lustre/lustre/ldlm/ldlm_request.c | 15 +-- > 2 files cha

Re: [PATCH] media: i2c-polling: add i2c-polling driver

2016-11-06 Thread Matt Ranostay
On Sun, Nov 6, 2016 at 5:21 PM, Matt Ranostay wrote: > There are several thermal sensors that only have a low-speed bus > interface but output valid video data. This patchset enables support > for the AMG88xx "Grid-Eye" sensor family. > > Cc: Attila Kinali > Cc: Marek Vasut > Cc: Luca Barbato >

Re: [PATCH 10/14] staging/lustre/llite: protect from accessing NULL lli_clob

2016-11-06 Thread James Simmons
> From: Bobi Jam > > Need to check file's lli_clob object before calling > lov_read_and_clear_async_rc(). Reviewed-by: James Simmons > Signed-off-by: Bobi Jam > Reviewed-by: Jinshan Xiong > Reviewed-by: Oleg Drokin > Reviewed-on: http://review.whamcloud.com/23031 > Intel-bug-id: https://j

Re: [PATCH 08/14] staging/lustre/ldlm: engage ELC for all ldlm enqueue req

2016-11-06 Thread James Simmons
> From: Hongchao Zhang > > If there is no request passed into ldlm_cli_enqueue, the enqueue > request will not engage ELC to drop unneeded locks. currently, > this kind of request is mainly related to EXTENT locks enqueue > requests (except for glimpse EXTENT lock for it has an intent). Reviewe

Re: [PATCH 07/14] staging/lustre/ldlm: Reinstate ldlm_enqueue_pack()

2016-11-06 Thread James Simmons
> The function becomes used again with the next patch, so bring it back > from dead, only this time make it static. Reviewed-by: James Simmons > Reverts: bf2a033360f7 ("staging/lustre/ldlm: Remove unused > ldlm_enqueue_pack()") > Signed-off-by: Oleg Drokin > --- > drivers/staging/lustre/lus

Re: [PATCH 06/14] staging/lustre/llite: drop_caches hangs in cl_inode_fini()

2016-11-06 Thread James Simmons
> From: Andrew Perepechko > > This patch releases cl_pages on error in ll_write_begin() > to avoid memory and object reference leaks. Also, it > reuses per-cpu lu_env in ll_invalidatepage() in the same > way as done in ll_releasepage(). Reviewed-by: James Simmons > Signed-off-by: Andrew Pere

Re: [PATCH 05/14] staging/lustre: Get rid of cl_env hash table

2016-11-06 Thread James Simmons
> From: Jinshan Xiong > > cl_env hash table is under heavy contention when there are lots of > processes doing IO at the same time; > reduce lock contention by replacing cl_env cache with percpu array; > remove cl_env_nested_get() and cl_env_nested_put(); > remove cl_env_reenter() and cl_env_ree

Re: [PATCH 03/14] staging/lustre: conflicting PW & PR extent locks on a client

2016-11-06 Thread James Simmons
> From: Andriy Skulysh > > PW lock isn't replayed once a lock is marked > LDLM_FL_CANCELING and glimpse lock doesn't wait for > conflicting locks on the client. So the server will > grant a PR lock in response to the glimpse lock request, > which conflicts with the PW lock in LDLM_FL_CANCELING >

Re: [PATCH v2 06/14] ASoC: sun4i-codec: Add support for A31 playback through headphone output

2016-11-06 Thread Chen-Yu Tsai
On Mon, Nov 7, 2016 at 2:57 AM, Maxime Ripard wrote: > On Fri, Nov 04, 2016 at 09:08:11AM +0800, Chen-Yu Tsai wrote: >> On Fri, Nov 4, 2016 at 1:36 AM, Maxime Ripard >> wrote: >> > Hi, >> > >> > On Thu, Nov 03, 2016 at 03:55:48PM +0800, Chen-Yu Tsai wrote: >> >> +/* headphone controls */ >> >> +s

Re: [RFC][PATCH] mm: merge as soon as possible when pcp alloc/free

2016-11-06 Thread Xishi Qiu
On 2016/11/5 20:29, Anshuman Khandual wrote: > On 11/05/2016 01:27 PM, Xishi Qiu wrote: >> Usually the memory of android phones is very small, so after a long >> running, the fragment is very large. Kernel stack which called by >> alloc_thread_stack_node() usually alloc 16K memory, and it failed >

Re: [PATCH v5 02/23] of: device: Export of_device_{get_modalias, uvent_modalias} to modules

2016-11-06 Thread Peter Chen
On Fri, Nov 04, 2016 at 01:51:34PM -0700, Stephen Boyd wrote: > Quoting Peter Chen (2016-10-24 18:16:32) > > On Mon, Oct 24, 2016 at 12:48:24PM -0700, Stephen Boyd wrote: > > > Quoting Chen-Yu Tsai (2016-10-24 05:19:05) > > > > Hi, > > > > > > > > On Tue, Oct 18, 2016 at 9:56 AM, Stephen Boyd >

Re: [PATCH 01/14] staging/lustre/ldlm: Drop unused blocking_refs flock field

2016-11-06 Thread James Simmons
> blocking_refs is only used on the server, so drop it on the client. Reviewed-by: James Simmons > Signed-off-by: Oleg Drokin > --- > drivers/staging/lustre/lustre/include/lustre_dlm.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/staging/lustre/lustre/include/lustre_dlm

Re: [PATCH 04/14] staging/lustre/llite: clear inode timestamps after losing UPDATE lock

2016-11-06 Thread James Simmons
> From: Niu Yawei > > Otherwise, those leftovers would interfere with new timestamps > especially when the timestamps are set back in time on the other > clients. Reviewed-by: James Simmons > Signed-off-by: Jinshan Xiong > Signed-off-by: Niu Yawei > Reviewed-on: http://review.whamcloud.com

Re: [PATCH 02/14] staging/lustre/ldlm: fix export reference problem

2016-11-06 Thread James Simmons
> From: Hongchao Zhang > > 1, in client_import_del_conn, the export returned from >class_conn2export is not released after using it. > > 2, in ptlrpc_connect_interpret, the export is not released >if the connect_flags isn't compatible. Reviewed-by: James Simmons > Signed-off-by: Hon

[PATCH] media: i2c-polling: add i2c-polling driver

2016-11-06 Thread Matt Ranostay
There are several thermal sensors that only have a low-speed bus interface but output valid video data. This patchset enables support for the AMG88xx "Grid-Eye" sensor family. Cc: Attila Kinali Cc: Marek Vasut Cc: Luca Barbato Signed-off-by: Matt Ranostay --- drivers/media/i2c/Kconfig |

Re: [PATCH] drm/sun4i: Propagate error to the caller

2016-11-06 Thread Gustavo Padovan
Hi Christophe, 2016-11-04 Christophe JAILLET : > If 'sun4i_layers_init()' returns an error, propagate it instead of > returning -EINVAL unconditionally. > > Signed-off-by: Christophe JAILLET > --- > drivers/gpu/drm/sun4i/sun4i_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Revi

Re: [PATCH] drm: move allocation out of drm_get_format_name()

2016-11-06 Thread Eric Engestrom
On Sunday, 2016-11-06 08:03:47 -0500, Rob Clark wrote: > On Sun, Nov 6, 2016 at 4:47 AM, Christian König > wrote: > > Am 05.11.2016 um 17:49 schrieb Rob Clark: > >> > >> On Sat, Nov 5, 2016 at 12:38 PM, Eric Engestrom wrote: > >>> > >>> On Saturday, 2016-11-05 13:11:36 +0100, Christian König wrot

[GIT PULL] openrisc fix for v4.9-rc5

2016-11-06 Thread Guenter Roeck
Hi Linus, Please pull an openrisc fix for Linux v4.9-rc5 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git openrisc-for-linus-v4.9-rc5 I had promised to send this patch to you directly if no one else picked it up. See https://groups.google.com/forum/#!t

[PATCH v2] drm: move allocation out of drm_get_format_name()

2016-11-06 Thread Eric Engestrom
Fixes: 90844f00049e9f42573fd31d7c32e8fd31d3fd07 drm: make drm_get_format_name thread-safe Signed-off-by: Eric Engestrom [danvet: Clarify that the returned pointer must be freed with kfree().] Signed-off-by: Daniel Vetter Cc: Rob Clark Cc: Christian König Suggested-by: Vil

Re: [patch v4 1/1] i2c: add master driver for mellanox systems

2016-11-06 Thread Vladimir Zapolskiy
Hi Vadim, please find below some more nitpickings. On 11/04/2016 11:15 AM, vad...@mellanox.com wrote: From: Vadim Pasternak [snip] diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index d252276..b9e1c4c 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/K

Re: [PATCH 2/3] tpm: transition tpm_vtpm_proxy documentation to the Sphinx

2016-11-06 Thread Stefan Berger
On 11/04/2016 11:01 PM, Jarkko Sakkinen wrote: On Thu, Nov 03, 2016 at 05:57:51PM -0600, Jarkko Sakkinen wrote: Transitioned the tpm_vtpm_proxy documentation to the Sphinx infrastructure and removed parts from the documentation that are easier to pull from the sources. Restructured vtpm_proxy.h

Re: [PATCH v7 3/3] fpga: Add support for Lattice iCE40 FPGAs

2016-11-06 Thread Joel Holdsworth
+#include +#include +#include +#include Hi Joel, The build breaks without this: #include Alan Go it! - thanks!

Re: [PATCH 1/3] tpm, tpm_vtpm_proxy: add kdoc comments for VTPM_PROXY_IOC_NEW_DEV

2016-11-06 Thread Stefan Berger
On 11/04/2016 11:00 PM, Jarkko Sakkinen wrote: On Thu, Nov 03, 2016 at 05:57:50PM -0600, Jarkko Sakkinen wrote: Added kdoc comments for VTPM_PROXY_IOC_NEW_DEV so that these can be imported to the kernel documentation written with rst markup and generated with Sphinx. Signed-off-by: Jarkko Sakki

Re: [PATCH 10/13] ARM: dts: exynos: replace to "max-frequecy" instead of "clock-freq-min-max"

2016-11-06 Thread Jaehoon Chung
On 11/05/2016 12:04 AM, Krzysztof Kozlowski wrote: > On Fri, Nov 04, 2016 at 12:19:49PM +0100, Heiko Stuebner wrote: >> Hi Jaehoon, >> >> Am Freitag, 4. November 2016, 19:21:30 CET schrieb Jaehoon Chung: >>> On 11/04/2016 03:41 AM, Krzysztof Kozlowski wrote: On Thu, Nov 03, 2016 at 03:21:32PM

  1   2   3   >