[PATCH 1/2] trace-cmd: Introduce tracecmd_peek_next_data()

2016-07-07 Thread Namhyung Kim
The tracecmd_peek_next_data() is similar to tracecmd_read_next_data() but it doesn't consume the record. Signed-off-by: Namhyung Kim --- trace-cmd.h | 3 +++ trace-input.c | 43 +++ 2 files changed, 46 insertions(+) diff --git

[PATCH 2/2] trace-cmd: Use tracecmd_peek_next_data() in fgraph_ent_handler

2016-07-07 Thread Namhyung Kim
When a task was migrated to other cpu in the middle of a function, the fgraph_exit record will be in a different cpu than the enter record. But currently fgraph_ent_handler() only peeks at the same cpu so it could read an incorrect record. For example, please see following raw records:

Re: [PATCH] drm/radeon: Remove deprecated create_singlethread_workqueue

2016-07-07 Thread Michel Dänzer
On 07.07.2016 16:43, Christian König wrote: > Am 07.07.2016 um 05:32 schrieb Michel Dänzer: >> On 06.07.2016 22:45, Tejun Heo wrote: >>> On Wed, Jul 06, 2016 at 12:12:52PM +0900, Michel Dänzer wrote: >>> Not being very familiar with the workqueue APIs, I'll describe how it's supposed to

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-07 Thread Andrew Vagin
On Thu, Jul 07, 2016 at 12:17:35PM -0700, James Bottomley wrote: > On Thu, 2016-07-07 at 20:21 +0200, Michael Kerrisk (man-pages) wrote: > > On 7 July 2016 at 17:01, James Bottomley > > wrote: > [Serge already answered the parenting issue] > > > On Thu,

Re: [PATCH v12 1/2] Documentation: DT: dma: Add Xilinx zynqmp dma device tree binding documentation

2016-07-07 Thread Vinod Koul
On Fri, Jul 01, 2016 at 05:07:05PM +0530, Kedareswara rao Appana wrote: > Device-tree binding documentation for Xilinx zynqmp dma engine > used in Zynq UltraScale+ MPSoC. And I missed the cleanup part, so both applied now -- ~Vinod

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-07 Thread Andrei Vagin
On Thu, Jul 7, 2016 at 10:41 PM, Andrei Vagin wrote: > On Thu, Jul 7, 2016 at 8:26 PM, James Bottomley > wrote: >> On Thu, 2016-07-07 at 20:00 -0700, Andrew Vagin wrote: >>> On Thu, Jul 07, 2016 at 07:16:18PM -0700, Andrew Vagin wrote: >>>

Re: [PATCH v12 2/2] dmaengine: Add Xilinx zynqmp dma engine driver support

2016-07-07 Thread Vinod Koul
On Fri, Jul 01, 2016 at 05:07:06PM +0530, Kedareswara rao Appana wrote: > +static int zynqmp_dma_chan_probe(struct zynqmp_dma_device *zdev, > +struct platform_device *pdev) > +{ > + struct zynqmp_dma_chan *chan; > + struct resource *res; > + struct device_node

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-07 Thread Andrei Vagin
On Thu, Jul 7, 2016 at 8:26 PM, James Bottomley wrote: > On Thu, 2016-07-07 at 20:00 -0700, Andrew Vagin wrote: >> On Thu, Jul 07, 2016 at 07:16:18PM -0700, Andrew Vagin wrote: >> > On Thu, Jul 07, 2016 at 12:17:35PM -0700, James Bottomley wrote: >> > > On

Re: [v4] powerpc: Export thread_struct.used_vr/used_vsr to user space

2016-07-07 Thread Simon Guo
On Thu, Jul 07, 2016 at 11:21:18PM +1000, Benjamin Herrenschmidt wrote: > I think the right fix is that if a restore_sigcontext() has the MSR bits set, > it should set the corresponding used_* flag. > > Or is there a reason why that won't work ? That sounds reaonable to me. I will prepare a

Re: Introspecting userns relationships to other namespaces?

2016-07-07 Thread W. Trevor King
On Thu, Jul 07, 2016 at 08:26:47PM -0700, James Bottomley wrote: > On Thu, 2016-07-07 at 20:00 -0700, Andrew Vagin wrote: > > On Thu, Jul 07, 2016 at 07:16:18PM -0700, Andrew Vagin wrote: > > > I think we can show all required information in fdinfo. We open > > > a namespaces file (/proc/pid/ns/N)

Re: [PATCH 0/4] regulator: tps65917/palmas: Cleanups and bugfixes

2016-07-07 Thread Keerthy
On Friday 20 May 2016 11:46 AM, Laxman Dewangan wrote: On Friday 20 May 2016 10:01 AM, Keerthy wrote: + Lee Jones On Saturday 07 May 2016 12:31 AM, Nishanth Menon wrote: On 05/06/2016 12:14 PM, Mark Brown wrote: On Fri, May 06, 2016 at 12:44:23PM +0530, Laxman Dewangan wrote: When you

Re: [PATCH 0/2] Fix issue with alternatives/paravirt patches

2016-07-07 Thread Christopher Arges
On Tue, Jul 05, 2016 at 10:34:58PM -0400, Jessica Yu wrote: > Hi, > > A few months ago, Chris Arges reported a bug involving alternatives/paravirt > patching that was discussed here [1] and here [2]. To briefly summarize the > bug, patch modules that contained .altinstructions or

Re: [PATCH v2 0/5] dmaengine: vdma: AXI DMAS Enhancments

2016-07-07 Thread Vinod Koul
On Fri, Jun 24, 2016 at 10:51:21AM +0530, Kedareswara rao Appana wrote: > This patch series does the following thing. > ---> Add support for AXI DMA Multi-channel DMA mode. > ---> Delete AXI DMA binding doc. > ---> Rename the driver and update config options. Applied after changing the patch tags

[git pull] drm fixes

2016-07-07 Thread Dave Airlie
Hi Linus, One nouveau fix, and a few AMD Polaris fixes and some Allwinner fixes. I've got some vmware fixes that I might send separate over the weekend, they fix some black screens, but I'm still debating them. Dave. The following changes since commit

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-07 Thread Ravi Bangoria
Hi Michael, On Wednesday 06 July 2016 03:38 PM, Michael Ellerman wrote: Ravi Bangoria writes: On Thursday 30 June 2016 11:51 AM, Michael Ellerman wrote: On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: diff --git a/tools/perf/util/annotate.c

Re: [PATCH v2] kexec: Fix kdump failure with notsc

2016-07-07 Thread Wei, Jiangang
Hi , Eric Thanks for your comments firstly. On Thu, 2016-07-07 at 12:55 -0500, Eric W. Biederman wrote: > Wei Jiangang writes: > > > If we specify the 'notsc' boot parameter for the dump-capture kernel, > > and then trigger a crash(panic) by using "ALT-SysRq-c" or

[PATCH v4 2/3] perf annotate: Enable cross arch annotate

2016-07-07 Thread Ravi Bangoria
Change current data structures and function to enable cross arch annotate. Current implementation does not contain logic of record on one arch and annotating on other. This remote annotate is partially possible with current implementation for x86 (or may be arm as well) only. But, to make remote

[PATCH v4 3/3] perf annotate: add powerpc support

2016-07-07 Thread Ravi Bangoria
From: Naveen N. Rao Powerpc has long list of branch instructions and hardcoding them in table appears to be error-prone. So, add new function to find instruction instead of creating table. This function dynamically create table(list of 'struct ins'), and instead

[PATCH v4 1/3] perf: Define macro for normalized arch names

2016-07-07 Thread Ravi Bangoria
Define macro for each normalized arch name and use them instead of using arch name as string Signed-off-by: Ravi Bangoria --- Changes in v4: - Moved position of patch tools/perf/arch/common.c | 36 ++--

[PATCH v4 0/3] perf annotate: Enable cross arch annotate

2016-07-07 Thread Ravi Bangoria
Perf can currently only support code navigation (branches and calls) in annotate when run on the same architecture where perf.data was recorded. But cross arch annotate is not supported. This patchset enables cross arch annotate. Currently I've used x86 and arm instructions which are already

Re: [PATCH 1/2] HID: logitech-hidpp: add battery support for HID++ 2.0 devices

2016-07-07 Thread Peter Hutterer
On Fri, Jul 08, 2016 at 01:21:08AM +0200, Bastien Nocera wrote: > On Wed, 2016-06-29 at 19:28 +1000, Peter Hutterer wrote: > > If the 0x1000 Unified Battery Level Status feature exists, expose the > > battery > > level. > > > > The main drawback is that while a device is plugged in its battery >

Re: linux-next: please clean up the lightnvm tree

2016-07-07 Thread Matias Bjørling
On 07/08/2016 06:22 AM, Stephen Rothwell wrote: Hi Matias, I noticed that the commits in the lightnvm tree have been applied to the block tree as a series of patches (i.e. effectively rebased). Could you please remove all the duplicate patches from the lightnvm tree (which I think is the whole

Re: [PATCH v7 07/11] powerpc/powernv: Add platform support for stop instruction

2016-07-07 Thread Michael Neuling
> > > > > > @@ -439,7 +540,18 @@ timebase_resync: > > >    */ > > >   bne cr4,clear_lock > > >   > > > - /* Restore per core state */ > > > + /* > > > +  * First thread in the core to wake up and its waking up > > > with > > > +  * complete hypervisor state loss. Restore per core > > >

linux-next: please clean up the lightnvm tree

2016-07-07 Thread Stephen Rothwell
Hi Matias, I noticed that the commits in the lightnvm tree have been applied to the block tree as a series of patches (i.e. effectively rebased). Could you please remove all the duplicate patches from the lightnvm tree (which I think is the whole tree, curretly) before they start causing merge

Re: [PATCH v7 07/11] powerpc/powernv: Add platform support for stop instruction

2016-07-07 Thread Shreyas B Prabhu
On 07/08/2016 07:50 AM, Michael Neuling wrote: > >> diff --git a/arch/powerpc/include/asm/cpuidle.h >> b/arch/powerpc/include/asm/cpuidle.h >> index d2f99ca..3d7fc06 100644 >> --- a/arch/powerpc/include/asm/cpuidle.h >> +++ b/arch/powerpc/include/asm/cpuidle.h >> @@ -13,6 +13,8 @@ >> #ifndef

Re: perf bpf examples

2016-07-07 Thread Wangnan (F)
On 2016/7/8 1:58, Brendan Gregg wrote: On Thu, Jul 7, 2016 at 10:54 AM, Brendan Gregg wrote: On Wed, Jul 6, 2016 at 6:49 PM, Wangnan (F) wrote: On 2016/7/7 4:29, Brendan Gregg wrote: G'Day, Are perf bpf examples shared anywhere? I've seen

Re: linux-next: manual merge of the block tree with Linus' tree

2016-07-07 Thread Stephen Rothwell
Hi all, On Fri, 8 Jul 2016 13:07:50 +1000 Stephen Rothwell wrote: > > + * Get the bios in the request so we can re-queue them. > + */ > - if (shadow[j].request->cmd_flags & > -

linux-next: manual merge of the block tree with the btrfs-kdave tree

2016-07-07 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/volumes.h between commit: 26112f7f4726 ("btrfs: take an fs_info parameter directly when the root is not used otherwise") from the btrfs-kdave tree and commit: 81a75f6781de ("btrfs: use bio fields for op

linux-next: manual merge of the block tree with the btrfs-kdave tree

2016-07-07 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/volumes.c between commit: 26112f7f4726 ("btrfs: take an fs_info parameter directly when the root is not used otherwise") from the btrfs-kdave tree and commit: 4e49ea4a3d27 ("block/fs/drivers: remove rw

linux-next: manual merge of the block tree with the btrfs-kdave tree

2016-07-07 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/inode.c between commit: b286384aac32 ("btrfs: root->fs_info cleanup, add fs_info convenience variables") 26112f7f4726 ("btrfs: take an fs_info parameter directly when the root is not used otherwise")

Re: [PATCH 4.4 00/32] 4.4.15-stable review

2016-07-07 Thread Shuah Khan
On 07/06/2016 07:19 PM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.15 release. > There are 32 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.6 00/31] 4.6.4-stable review

2016-07-07 Thread Shuah Khan
On 07/06/2016 07:18 PM, Greg Kroah-Hartman wrote: > --- > Note, I'm on vacation this week, so I only took a few "easy" patches for > the stable trees, due to me not having much time to debug anything here, > and because, well, I'm on vacation and supposed to be ignoring

RE: [PATCH 2/4] soc: fsl: add GUTS driver for QorIQ platforms

2016-07-07 Thread Yangbo Lu
Hi Arnd, > -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Thursday, July 07, 2016 4:30 PM > To: Yangbo Lu > Cc: Scott Wood; linuxppc-...@lists.ozlabs.org; Mark Rutland; Ulf Hansson; > linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; linux- >

Re: [PATCH 1/1] arm64/hugetlb: clear PG_dcache_clean if the page is dirty when munmap

2016-07-07 Thread Leizhen (ThunderTown)
On 2016/7/7 23:37, Catalin Marinas wrote: > On Thu, Jul 07, 2016 at 08:09:04PM +0800, Zhen Lei wrote: >> At present, PG_dcache_clean is only cleared when the related huge page >> is about to be freed. But sometimes, there maybe a process is in charge >> to copy binary codes into a shared memory,

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-07 Thread Andrew Vagin
On Thu, Jul 07, 2016 at 07:16:18PM -0700, Andrew Vagin wrote: > On Thu, Jul 07, 2016 at 12:17:35PM -0700, James Bottomley wrote: > > On Thu, 2016-07-07 at 20:21 +0200, Michael Kerrisk (man-pages) wrote: > > > On 7 July 2016 at 17:01, James Bottomley > > >

linux-next: manual merge of the block tree with the btrfs-kdave tree

2016-07-07 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/extent-tree.c between commit: b286384aac32 ("btrfs: root->fs_info cleanup, add fs_info convenience variables") [again, no commiter Signed-off-by] from the btrfs-kdave tree and commit: b3d3fa519905 ("btrfs:

linux-next: manual merge of the block tree with the btrfs-kdave tree

2016-07-07 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/disk-io.c between commit: b286384aac32 ("btrfs: root->fs_info cleanup, add fs_info convenience variables") 26112f7f4726 ("btrfs: take an fs_info parameter directly when the root is not used otherwise")

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-07 Thread James Bottomley
On Thu, 2016-07-07 at 20:00 -0700, Andrew Vagin wrote: > On Thu, Jul 07, 2016 at 07:16:18PM -0700, Andrew Vagin wrote: > > On Thu, Jul 07, 2016 at 12:17:35PM -0700, James Bottomley wrote: > > > On Thu, 2016-07-07 at 20:21 +0200, Michael Kerrisk (man-pages) > > > wrote: > > > > On 7 July 2016 at

linux-next: manual merge of the block tree with the btrfs-kdave tree

2016-07-07 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/btrfs/compression.c between commit: 26112f7f4726 ("btrfs: take an fs_info parameter directly when the root is not used otherwise") [This commit has no Signed-off-by from its committer :-(] d42b410c1511 ("Btrfs:

Re: [PATCH v2] clkdev: add devm_of_clk_get()

2016-07-07 Thread Kuninori Morimoto
Hi Michael Thank you for your feedback > > struct clk *clk_get(struct device *dev, const char *con_id) > > { > > ... > > if (dev) { > > clk = __of_clk_get_by_name(dev->of_node, dev_id, con_id); > > > >

Re: [CRIU] Introspecting userns relationships to other namespaces?

2016-07-07 Thread James Bottomley
On Thu, 2016-07-07 at 19:16 -0700, Andrew Vagin wrote: > On Thu, Jul 07, 2016 at 12:17:35PM -0700, James Bottomley wrote: > > On Thu, 2016-07-07 at 20:21 +0200, Michael Kerrisk (man-pages) > > wrote: > > > On 7 July 2016 at 17:01, James Bottomley > > >

Re: [PATCH v3] f2fs: fix to avoid data update racing between GC and DIO

2016-07-07 Thread Jaegeuk Kim
Hi Chao, Could you take a look at this in xfstests/generic/013? [ 502.480850] == [ 502.480864] [ INFO: possible circular locking dependency detected ] [ 502.480877] 4.7.0-rc1+ #124 Tainted: G OE [ 502.480886]

RE: [PATCH v2 0/3] Cache id

2016-07-07 Thread Yu, Fenghua
> From: Borislav Petkov [mailto:b...@suse.de] > Sent: Thursday, July 07, 2016 9:21 AM > On Wed, Jul 06, 2016 at 03:07:15PM -0700, Fenghua Yu wrote: > > From: Fenghua Yu > > > > This patch set introduces cache id to identify a cache in platform. It > > can be useful in such

linux-next: manual merge of the block tree with Linus' tree

2016-07-07 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: drivers/block/xen-blkfront.c between commit: 7b427a59538a ("xen-blkfront: save uncompleted reqs in blkfront_resume()") from Linus' tree and commit: c2df40dfb8c0 ("drivers: use req op accessor") 3a5e02ced11e

Re: [PATCH v11 00/22] Add HiSilicon RoCE driver

2016-07-07 Thread oulijun
在 2016/7/2 17:39, Lijun Ou 写道: > The HiSilicon Network Substem is a long term evolution IP which is > supposed to be used in HiSilicon ICT SoCs. HNS (HiSilicon Network > Sybsystem) also has a hardware support of performing RDMA with > RoCEE. > The driver for HiSilicon RoCEE(RoCE Engine) is a

Re: [PATCH v7 00/11] powerpc/powernv/cpuidle: Add support for POWER ISA v3 idle states

2016-07-07 Thread Michael Neuling
Except for the issue with patch 7 I've already commented on the rest of this series is good with me.  FWIW: Acked-by: Michael Neuling Thanks. On Fri, 2016-07-08 at 02:17 +0530, Shreyas B. Prabhu wrote: > POWER ISA v3 defines a new idle processor core mechanism. In summary, >

Re: [PATCH v7 09/11] cpuidle/powernv: cleanup powernv_add_idle_states

2016-07-07 Thread Michael Neuling
>   /* > @@ -230,7 +238,7 @@ static int powernv_add_idle_states(void) >   strcpy(powernv_states[nr_idle_states].desc, > "FastSleep"); >   powernv_states[nr_idle_states].flags = > CPUIDLE_FLAG_TIMER_STOP; >  

Re: [PATCH 08/31] mm, vmscan: simplify the logic deciding whether kswapd sleeps

2016-07-07 Thread Joonsoo Kim
On Thu, Jul 07, 2016 at 11:17:01AM +0100, Mel Gorman wrote: > On Thu, Jul 07, 2016 at 10:20:39AM +0900, Joonsoo Kim wrote: > > > @@ -3249,9 +3249,19 @@ static void kswapd_try_to_sleep(pg_data_t *pgdat, > > > int order, > > > > > > prepare_to_wait(>kswapd_wait, , TASK_INTERRUPTIBLE); > > > >

Re: [PATCH v3 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-07-07 Thread Yakir Yang
On 07/08/2016 10:26 AM, Yakir Yang wrote: Sean, Thanks for your review. On 07/02/2016 03:46 AM, Sean Paul wrote: On Fri, Jul 1, 2016 at 5:19 AM, Yakir Yang wrote: The full name of PSR is Panel Self Refresh, panel device could refresh itself with the hardware

RE: [PATCH v2] irqchip/qeic: move qeic driver from drivers/soc/fsl/qe

2016-07-07 Thread Qiang Zhao
On Thu, Jul 07, 2016 at 10:25PM , Jason Cooper wrote: > -Original Message- > From: Jason Cooper [mailto:ja...@lakedaemon.net] > Sent: Thursday, July 07, 2016 10:25 PM > To: Qiang Zhao > Cc: o...@buserror.net; t...@linutronix.de;

Re: [PATCH v3 4/4] drm/rockchip: analogix_dp: implement PSR function

2016-07-07 Thread Yakir Yang
Sean, On 07/02/2016 04:05 AM, Sean Paul wrote: On Fri, Jul 1, 2016 at 5:19 AM, Yakir Yang wrote: Alway enable the PSR function for Rockchip analogix_dp driver. If panel don't support PSR, then the core analogix_dp would ignore this setting. Signed-off-by: Yakir Yang

Re: [PATCH v3 1/4] drm/rockchip: vop: export line flag function

2016-07-07 Thread Yakir Yang
Sean, On 07/01/2016 11:32 PM, Sean Paul wrote: On Fri, Jul 1, 2016 at 11:30 AM, Sean Paul wrote: On Fri, Jul 1, 2016 at 5:19 AM, Yakir Yang wrote: VOP have integrated a hardware counter which indicate the exact display line that vop is scanning.

Re: [PATCH v3 3/4] drm/bridge: analogix_dp: add the PSR function support

2016-07-07 Thread Yakir Yang
Sean, Thanks for your review. On 07/02/2016 03:46 AM, Sean Paul wrote: On Fri, Jul 1, 2016 at 5:19 AM, Yakir Yang wrote: The full name of PSR is Panel Self Refresh, panel device could refresh itself with the hardware framebuffer in panel, this would make lots of sense to

Re: [PATCH 04/31] mm, vmscan: begin reclaiming pages on a per-node basis

2016-07-07 Thread Joonsoo Kim
On Thu, Jul 07, 2016 at 10:48:08AM +0100, Mel Gorman wrote: > On Thu, Jul 07, 2016 at 10:12:12AM +0900, Joonsoo Kim wrote: > > > @@ -1402,6 +1406,11 @@ static unsigned long isolate_lru_pages(unsigned > > > long nr_to_scan, > > > > > > VM_BUG_ON_PAGE(!PageLRU(page), page); > > > > >

Re: [PATCH] usb: gadget: f_midi: Add checking if it need align buffer's size to an ep's maxpacketsize

2016-07-07 Thread Baolin Wang
On 7 July 2016 at 20:51, Michal Nazarewicz wrote: > On Thu, Jul 07 2016, Baolin Wang wrote: >> Some gadget device (such as dwc3 gadget) requires quirk_ep_out_aligned_size >> attribute, which means it need to align the request buffer's size to an ep's >> maxpacketsize. >> >>

Re: [PATCH 0/2 v3] Add pl031 RTC support for Hi6220

2016-07-07 Thread Michael Turquette
Quoting Arnd Bergmann (2016-07-07 01:22:30) > On Wednesday, July 6, 2016 5:58:14 PM CEST John Stultz wrote: > > On Wed, Jul 6, 2016 at 12:38 AM, Arnd Bergmann wrote: > > > On Wednesday, July 6, 2016 12:20:15 AM CEST John Stultz wrote: > > >> On Wed, Jul 6, 2016 at 12:04 AM, Olof

Re: [PATCH v7 07/11] powerpc/powernv: Add platform support for stop instruction

2016-07-07 Thread Michael Neuling
> diff --git a/arch/powerpc/include/asm/cpuidle.h > b/arch/powerpc/include/asm/cpuidle.h > index d2f99ca..3d7fc06 100644 > --- a/arch/powerpc/include/asm/cpuidle.h > +++ b/arch/powerpc/include/asm/cpuidle.h > @@ -13,6 +13,8 @@ >  #ifndef __ASSEMBLY__ >  extern u32

Re: [PATCH] [RFC V1]s390/perf: fix 'start' address of module's map

2016-07-07 Thread Songshan Gong
在 7/7/2016 9:49 AM, Song Shan Gong 写道: At preset, when creating module's map, perf gets 'start' address by parsing 'proc/modules', but it's module base address, isn't the start address of '.text' section. In most archs, it's OK. But for s390, it places 'GOT' and 'PLT' relocations before

Re: [PATCH v3 2/4] drm/rockchip: add an common abstracted PSR driver

2016-07-07 Thread Yakir Yang
Sean, On 07/02/2016 02:00 AM, Sean Paul wrote: On Fri, Jul 1, 2016 at 5:19 AM, Yakir Yang wrote: The PSR driver have exported four symbols for specific device driver: - rockchip_drm_psr_register() - rockchip_drm_psr_unregister() - rockchip_drm_psr_enable() -

linux-next: manual merge of the drm-msm tree with the arm tree

2016-07-07 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the drm-msm tree got a conflict in: drivers/gpu/drm/msm/msm_drv.c between commit: 062993b15e8e ("drm: convert DT component matching to component_match_add_release()") from the arm tree and commits: 1e6753864384 ("drm/msm: Add display components by

[PATCH] vfs: Update lookup_dcache() comment

2016-07-07 Thread Oleg Drokin
commit 6c51e513a3aa ("lookup_dcache(): lift d_alloc() into callers") removed the need_lookup argument from lookup_dcache(), but the comment was forgotten. Also it no longer allocates a new dentry if nothing was found. Signed-off-by: Oleg Drokin --- fs/namei.c | 5 ++--- 1

[PATCH] nfsd: Correct a comment for NFSD_MAY_ defines location

2016-07-07 Thread Oleg Drokin
Those are now defined in fs/nfsd/vfs.h Signed-off-by: Oleg Drokin --- fs/nfsd/nfsfh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfsd/nfsfh.c b/fs/nfsd/nfsfh.c index a891944..7e49dcb 100644 --- a/fs/nfsd/nfsfh.c +++ b/fs/nfsd/nfsfh.c @@ -298,7

Re: [PATCH v3 4/6] drm/panel: simple: Add support for Samsung LSN122DL01-C01 2560x1600 panel

2016-07-07 Thread Yakir Yang
Doug, On 06/14/2016 01:00 AM, Doug Anderson wrote: Yakir, On Sat, Jun 11, 2016 at 7:56 PM, Yakir Yang wrote: The Samsung LSN122DL01-C01 is an 12.2" 2560x1600 (WQXGA) TFT-LCD panel connected using eDP interfaces. Signed-off-by: Yakir Yang ---

Re: [PATCH v2 2/2] clk: hi6220: initialize UART1 clock to 150MHz

2016-07-07 Thread Michael Turquette
Quoting Jorge Ramirez (2016-07-07 01:55:05) > On 07/07/2016 08:31 AM, Jorge Ramirez wrote: > > On 07/06/2016 11:43 PM, Michael Turquette wrote: > >> Quoting Guodong Xu (2016-06-29 01:45:55) > >>> >From: Jorge Ramirez-Ortiz > >>> > > >>> >Early at boot, during the

[PATCH] nfsd: Make creates return EEXIST correctly instead of EPERM

2016-07-07 Thread Oleg Drokin
It looks like we are bit overzealous about failing mkdir/create/mknod with permission denied if the parent dir is not writeable. Need to make sure the name does not exist first, because we need to return EEXIST in that case. Signed-off-by: Oleg Drokin --- A very similar

Re: [PATCH 7/7] gpu: drm: vc4_hdmi: add missing of_node_put after calling of_parse_phandle

2016-07-07 Thread Eric Anholt
Peter Chen writes: > of_node_put needs to be called when the device node which is got > from of_parse_phandle has finished using. > > Cc: Eric Anholt > Signed-off-by: Peter Chen Applied this to drm-vc4-next. Thanks! signature.asc

Re: [RESEND PATCH v2 02/13] drivers: clk: st: Simplify clock binding of STiH4xx platforms

2016-07-07 Thread Michael Turquette
Quoting Rob Herring (2016-06-19 08:04:58) > On Thu, Jun 16, 2016 at 11:20:22AM +0200, Gabriel Fernandez wrote: > > This patch reworks the clock binding to avoid too much detail in DT. > > Now we have only compatible string per type of clock > > (remark from Rob https://lkml.org/lkml/2016/5/25/492)

Re: [PATCH] [RFC] Kbuild: avoid "make tinyconfig" warnings

2016-07-07 Thread Masahiro Yamada
Hi Arnd, 2016-07-06 22:49 GMT+09:00 Arnd Bergmann : >> >> >> The dependency "tinyconfig: $(obj)/conf" is redundant. >> >> >> It is already specified by: >> >> allnoconfig allyesconfig allmodconfig alldefconfig randconfig: $(obj)/conf >> $< --$@ $(Kconfig) > > > I don't

Re: linux-next: build warning after merge of the wireless-drivers-next tree

2016-07-07 Thread Stephen Rothwell
Hi all, On Fri, 8 Jul 2016 11:32:14 +1000 Stephen Rothwell wrote: > > After merging the wireless-drivers-next tree, today's linux-next build > (arm multi_v7_defconfig, x86_64 allmodconfig) produced this warning: > > drivers/net/wireless/marvell/mwifiex/scan.c: In

linux-next: build warning after merge of the wireless-drivers-next tree

2016-07-07 Thread Stephen Rothwell
Hi all, After merging the wireless-drivers-next tree, today's linux-next build (arm multi_v7_defconfig, x86_64 allmodconfig) produced this warning: drivers/net/wireless/marvell/mwifiex/scan.c: In function 'mwifiex_cancel_scan': drivers/net/wireless/marvell/mwifiex/scan.c:2031:44: warning:

Re: [PATCH 1/2] i2c-dev: don't get i2c adapter via i2c_dev

2016-07-07 Thread Wolfram Sang
On Tue, Jul 05, 2016 at 07:57:06PM -0700, Viresh Kumar wrote: > There is no code protecting i2c_dev to be freed after it is returned > from i2c_dev_get_by_minor() and using it to access the value which we > already have (minor) isn't safe really. > > Avoid using it and get the adapter directly

Re: [PATCH v2] clkdev: add devm_of_clk_get()

2016-07-07 Thread Michael Turquette
Quoting Kuninori Morimoto (2016-07-07 17:03:00) > > Hi Russell > > > > > > +struct clk *devm_of_clk_get(struct device *dev, > > > > > + struct device_node *np, int index) > > > > > > > > Any reason not to use devm_clk_get? Why do we need this helper? > > > > > >

Re: [PATCH 2/2] net: ethernet: bcmgenet: use phy_ethtool_{get|set}_link_ksettings

2016-07-07 Thread Florian Fainelli
On 07/05/2016 02:07 PM, Philippe Reynes wrote: > Hi Florian, > > On 05/07/16 06:30, Florian Fainelli wrote: >> Le 04/07/2016 16:03, David Miller a écrit : >>> From: Philippe Reynes >>> Date: Sun, 3 Jul 2016 17:33:57 +0200 >>> There are two generics functions

[PATCH v3] ACPI / EC: Fix an order issue in ec_remove_handlers()

2016-07-07 Thread Lv Zheng
There is an order issue in ec_remove_handlers() that the functions invoked in it are not able to handle the current restrictions (see comments below). If ec_remove_handlers() is invoked during runtime after _REG(CONNECT) is invoked, this issue will be uncovered. Link:

Re: [PATCH v4 3/3] Doc/memory-barriers: Add Korean translation

2016-07-07 Thread Byungchul Park
On Fri, Jul 08, 2016 at 07:50:39AM +0900, SeongJae Park wrote: > > I will add my opinion in korean. > > Thank you for kind and faithful review. I agree with most of your opinions > and > suggestions. Most of your suggestions looks much better than mine. > > However, I also have some different

Re: [PATCH 1/1] usb: quirks: Add no-lpm quirk for Elan Microelectronics Touchpad

2016-07-07 Thread Lu Baolu
Hi, On 07/07/2016 05:53 AM, Joseph Salisbury wrote: > BugLink: http://bugs.launchpad.net/bugs/1498667 > > As reported in BugLink, this device has an issue with Linux Power Management > so s/"Linux Power Management"/"USB Link Power Management" Best regards, Lu Baolu > adding a quirk. This

Re: iommu/rockchip: Fix bugs and enable on ARM64

2016-07-07 Thread Mark yao
On 2016年06月27日 20:57, Joerg Roedel wrote: On Fri, Jun 24, 2016 at 10:13:25AM +0800, Shunqian Zheng wrote: drivers/gpu/drm/rockchip/rockchip_drm_drv.c | 100 +++-- drivers/gpu/drm/rockchip/rockchip_drm_drv.h | 3 + drivers/gpu/drm/rockchip/rockchip_drm_gem.c | 221

Re: [PATCH v5 6/8] drm/rockchip: Do not use DMA mapping API if attached to IOMMU domain

2016-07-07 Thread Mark yao
On 2016年06月24日 10:13, Shunqian Zheng wrote: From: Tomasz Figa The API is not suitable for subsystems consisting of multiple devices and requires severe hacks to use it. To mitigate this, this patch implements allocation and address space management locally by using helpers

Re: [PATCH v5 7/8] drm/rockchip: Use common IOMMU API to attach devices

2016-07-07 Thread Mark yao
On 2016年06月24日 10:13, Shunqian Zheng wrote: 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. Since previous patch added support for direct IOMMU address space management, there is

Re: [PATCHv2 3/6] x86/arch_prctl/vdso: add ARCH_MAP_VDSO_*

2016-07-07 Thread Dmitry Safonov
On 07/06/2016 05:30 PM, Andy Lutomirski wrote: On Wed, Jun 29, 2016 at 3:57 AM, Dmitry Safonov wrote: Add API to change vdso blob type with arch_prctl. As this is usefull only by needs of CRIU, expose this interface under CONFIG_CHECKPOINT_RESTORE. +#ifdef

Re: [RFC PATCH 0/1] Portable Device Tree Connector -- conceptual

2016-07-07 Thread David Gibson
On Sat, Jul 02, 2016 at 04:55:49PM -0700, frowand.l...@gmail.com wrote: > From: Frank Rowand > > Hi All, > > This is version 2 of this email. > > Changes from version 1: > > - some rewording of the text > - removed new (theoretical) dtc directive "/connector/" >

Re: [PATCH v4 2/2] KVM: nVMX: Fix preemption timer bit set in vmcs02 even if L1 doesn't enable it

2016-07-07 Thread Wanpeng Li
2016-07-07 22:11 GMT+08:00 Paolo Bonzini : > > > On 07/07/2016 15:23, Wanpeng Li wrote: >> >> if (kvm_lapic_hv_timer_in_use(vcpu) && >> + (is_guest_mode(vcpu) || >>

Re: linux-next: manual merge of the mac80211-next tree with the wireless-drivers-next tree

2016-07-07 Thread Stephen Rothwell
Hi Kalle, On Thu, 07 Jul 2016 19:10:24 +0300 Kalle Valo wrote: > > Stephen, if it's not too much trouble for you it would be good to CC > linux-wireless on wireless related problems. Not everyone follow lkml > (or linux-next). I have added linux-wirel...@vger.kernel.org as

Re: [PATCH v2 1/7] lib: string: add functions to case-convert strings

2016-07-07 Thread Rasmus Villemoes
On Tue, Jul 05 2016, Markus Mayer wrote: > Add a collection of generic functions to convert strings to lowercase > or uppercase. > > Changing the case of a string (with or without copying it first) seems > to be a recurring requirement in the kernel that is currently being >

[PATCH 3/4] x86: disallow running with 32-bit PTEs to work around erratum

2016-07-07 Thread Dave Hansen
From: Dave Hansen The Intel(R) Xeon Phi(TM) Processor x200 Family (codename: Knights Landing) has an erratum where a processor thread setting the Accessed or Dirty bits may not do so atomically against its checks for the Present bit. This may cause a thread (which

[PATCH 4/4] x86: use pte_none() to test for empty PTE

2016-07-07 Thread Dave Hansen
From: Dave Hansen The page table manipulation code seems to have grown a couple of sites that are looking for empty PTEs. Just in case one of these entries got a stray bit set, use pte_none() instead of checking for a zero pte_val(). The use pte_same() makes me a

[PATCH 2/4] x86, pagetable: ignore A/D bits in pte/pmd/pud_none()

2016-07-07 Thread Dave Hansen
From: Dave Hansen The erratum we are fixing here can lead to stray setting of the A and D bits. That means that a pte that we cleared might suddenly have A/D set. So, stop considering those bits when determining if a pte is pte_none(). The same goes for the other

[PATCH 0/4] [RFC][v4] Workaround for Xeon Phi PTE A/D bits erratum

2016-07-07 Thread Dave Hansen
This patch survived a bunch of testing over the past week, including on hardware affected by the issue. A debugging patch showed the "stray" bits being set, and no ill effects were noticed. Barring any heartburn from folks, I think this is ready for the tip tree. -- The Intel(R) Xeon Phi(TM)

[PATCH 1/4] x86, swap: move swap offset/type up in PTE to work around erratum

2016-07-07 Thread Dave Hansen
From: Dave Hansen This erratum can result in Accessed/Dirty getting set by the hardware when we do not expect them to be (on !Present PTEs). Instead of trying to fix them up after this happens, we just allow the bits to get set and try to ignore them. We do this

[GIT PULL] Fix for AppArmor oops in apparmor_setprocattr()

2016-07-07 Thread James Morris
Please pull. Note: it may be possible to get a local privilege escalation out of this bug. The following changes since commit ac904ae6e6f0a56be7b9a1cf66fbd50dd025fb06: Merge branch 'for-linus' of git://git.kernel.dk/linux-block (2016-07-07 15:34:09 -0700) are available in the git

Re: [PATCH v2] clkdev: add devm_of_clk_get()

2016-07-07 Thread Kuninori Morimoto
Hi Russell > > > > +struct clk *devm_of_clk_get(struct device *dev, > > > > + struct device_node *np, int index) > > > > > > Any reason not to use devm_clk_get? Why do we need this helper? > > > > Because of_clk_get() can parse "clocks", "#clock-cells" on DT. > >

Re: Hang due to nfs letting tasks freeze with locked inodes

2016-07-07 Thread Dave Chinner
On Wed, Jul 06, 2016 at 06:07:18PM -0400, Jeff Layton wrote: > On Wed, 2016-07-06 at 12:46 -0500, Seth Forshee wrote: > > We're seeing a hang when freezing a container with an nfs bind mount while > > running iozone. Two iozone processes were hung with this stack trace. > > > >  []

Re: Fix issue with alternatives/paravirt patches

2016-07-07 Thread Jessica Yu
+++ Petr Mladek [07/07/16 17:56 +0200]: On Tue 2016-07-05 22:34:58, Jessica Yu wrote: Hi, A few months ago, Chris Arges reported a bug involving alternatives/paravirt patching that was discussed here [1] and here [2]. To briefly summarize the bug, patch modules that contained .altinstructions

Re: High rate of touch_softlockup makes Soft Lockup detector useless

2016-07-07 Thread Joel Fernandes
On Thu, Jul 7, 2016 at 4:06 PM, Joel Fernandes wrote: >>> Digging in further, I found that the softlockup watchdog is touched >>> 1000s of times per second by the NOHZ code. >>> prints revealed the following 2 functions calling touch_softlockup_watchdog: >>> [ 165.960292]

Re: [PULL] seccomp update (next)

2016-07-07 Thread James Morris
On Thu, 7 Jul 2016, Kees Cook wrote: > Hi, > > Please pull these seccomp changes for next. Pulled, thanks. -- James Morris

[GIT PULL] ACPI fixes for v4.7-rc7

2016-07-07 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ acpi-4.7-rc7 to receive ACPI fixes for v4.7-rc7 with top-most commit b6d90158c935d4a22e56f41647b479ab5ea449d4 Merge branches 'acpica-fixes', 'acpi-pci-fixes' and 'acpi-debug-fixes' on top of

[GIT PULL] Power management fixes for v4.7-rc7

2016-07-07 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm-4.7-rc7 to receive power management fixes for v4.7-rc7 with top-most commit 7fe39a21557b251e101671f2c3f79558a756afef Merge branches 'pm-cpuidle-fixes' and 'pm-sleep-fixes' on top of commit

[PATCH] bindings: PCI: artpec: correct pci binding example

2016-07-07 Thread Niklas Cassel
From: Niklas Cassel - Increase config size. When using a PCIe switch, the previous config size only had room for one device. - Add bus range. Inherited optional property. - Map downstream I/O to PCI address 0. We can map it to any address, but let's be consistent

Re: [PATCH 00/31] Move LRU page reclaim from zones to nodes v8

2016-07-07 Thread Dave Chinner
On Fri, Jul 01, 2016 at 04:37:15PM +0100, Mel Gorman wrote: > Previous releases double accounted LRU stats on the zone and the node > because it was required by should_reclaim_retry. The last patch in the > series removes the double accounting. It's not integrated with the series > as reviewers

[PATCH 16/16] gpu: ipu-v3: rename CSI client device

2016-07-07 Thread Steve Longerbeam
Rename the CSI client device in the client_reg[] table to "imx-ipuv3-csi". Signed-off-by: Steve Longerbeam --- drivers/gpu/ipu-v3/ipu-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/ipu-v3/ipu-common.c

  1   2   3   4   5   6   7   8   9   10   >