Re: [PATCH RFC 1/2] rtc/hpet: Factorize hpet_rtc_timer_init()

2016-06-23 Thread Pratyush Anand
Hi Thomas, On 23/06/2016:10:33:26 AM, Thomas Gleixner wrote: > On Tue, 21 Jun 2016, Pratyush Anand wrote: > > > This patch factorize hpet_rtc_timer_init(), so that counter can be > > initialized before irq is registered. > > This changelog is useless. It tells what the patch does, but not WHY th

Applied "ASoC: tpa6130a2: Register component" to the asoc tree

2016-06-23 Thread Mark Brown
The patch ASoC: tpa6130a2: Register component has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus durin

Re: [PATCH] tools/vm/slabinfo: fix spelling mistake: "Ocurrences" -> "Occurrences"

2016-06-23 Thread Christoph Lameter
On Thu, 23 Jun 2016, Colin King wrote: > From: Colin Ian King Acked-by: Christoph Lameter

Applied "ASoC: tpa6130a2: Use snd soc volsw functions" to the asoc tree

2016-06-23 Thread Mark Brown
The patch ASoC: tpa6130a2: Use snd soc volsw functions has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Applied "ASoC: tap6130a2: Use regmap" to the asoc tree

2016-06-23 Thread Mark Brown
The patch ASoC: tap6130a2: Use regmap has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the ne

Re: [PATCH] tracing: Fix oops caused by graph notrace filter

2016-06-23 Thread Steven Rostedt
On Thu, 23 Jun 2016 10:20:31 -0400 (EDT) Chunyu Hu wrote: > I tried the patch, if just for resolving the oops issue, it's indeed enough. > But if we care about just this filter, and compare this with the > trace_graph_entry > filter handling, I found that, the depth 0 item will be submitted to t

Re: [PATCH] arm64:swiotlb:Enable only when Input size through command line

2016-06-23 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc4] [cannot apply to arm64/for-next/core next-20160623] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Manjeet-Pawar/arm64-swiotlb-Enable-only-when-Input

Re: [PATCH v2 12/18] mm, compaction: more reliably increase direct compaction priority

2016-06-23 Thread Vlastimil Babka
On 06/01/2016 03:51 PM, Michal Hocko wrote: On Tue 31-05-16 15:08:12, Vlastimil Babka wrote: During reclaim/compaction loop, compaction priority can be increased by the should_compact_retry() function, but the current code is not optimal. Priority is only increased when compaction_failed() is tr

Re: [PATCH v3 08/10] drm/rockchip: analogix_dp: correct the connector display color format and bpc

2016-06-23 Thread Sean Paul
On Tue, Jun 14, 2016 at 7:46 AM, Yakir Yang wrote: > Rockchip VOP couldn't output YUV video format for eDP controller, so > when driver detect connector support YUV video format, we need to hack > it down to RGB888. > > Signed-off-by: Yakir Yang > Acked-by: Mark Yao > --- > Changes in v3: > - Ho

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Sinan Kaya
On 6/23/2016 10:12 AM, Wim Osterholt wrote: > On Wed, Jun 22, 2016 at 11:54:39PM -0400, ok...@codeaurora.org wrote: >> On 2016-06-21 18:13, Wim Osterholt wrote: pr_info("%s:%d irq = %d penalty = %d\n", __func__, __LINE__, irq, penalty); >>> >>> This produced some 6

Re: [PATCH] tracing: Fix oops caused by graph notrace filter

2016-06-23 Thread Chunyu Hu
- Original Message - > From: "Steven Rostedt" > To: "Chunyu Hu" > Cc: linux-kernel@vger.kernel.org > Sent: Thursday, June 23, 2016 10:39:20 PM > Subject: Re: [PATCH] tracing: Fix oops caused by graph notrace filter > > On Thu, 23 Jun 2016 10:20:31 -0400 (EDT) > Chunyu Hu wrote: > > >

Re: [PATCH] Maxim/driver: Add driver for maxim ds26522

2016-06-23 Thread David Miller
From: Zhao Qiang Date: Thu, 23 Jun 2016 09:09:45 +0800 > +MODULE_DESCRIPTION(DRV_DESC); There is no definition of DRV_DESC, so this makes it look like you didn't even compile this driver.

[PATCH] x86/perf/intel/rapl: Fix module name collision with powercap intel-rapl

2016-06-23 Thread ville . syrjala
From: Ville Syrjälä Since commit 4b6e2571bf00 ("x86/perf/intel/rapl: Make the Intel RAPL PMU driver modular") the rapl perf module calls itself intel-rapl. That name was already in use by the rapl powercap driver, which now fails to load if the perf module is loaded. Fix the problem by renaming

Re: [PATCH] snic: Fix use-after-free in case of a dma mapping error

2016-06-23 Thread Laurence Oberman
- Original Message - > From: "Johannes Thumshirn" > To: "Martin K . Petersen" , "James Bottomley" > > Cc: "Linux SCSI Mailinglist" , "Linux Kernel > Mailinglist" , > "Narsimhulu Musini" , "Sesidhar Baddela" > , "Johannes Thumshirn" > > Sent: Thursday, June 23, 2016 8:37:20 AM > Subj

[PATCH] capabilities: add capability cgroup controller

2016-06-23 Thread Topi Miettinen
There are many basic ways to control processes, including capabilities, cgroups and resource limits. However, there are far fewer ways to find out useful values for the limits, except blind trial and error. Currently, there is no way to know which capabilities are actually used. Even the source co

Re: [PATCH] tracing: Fix oops caused by graph notrace filter

2016-06-23 Thread Steven Rostedt
On Thu, 23 Jun 2016 10:58:55 -0400 (EDT) Chunyu Hu wrote: > Sure, if your time allowing me to send it tomorrow, If not, feel free > to fix it as your way. I'll let you do it ;-) (I need minions!) -- Steve

Re: [LTP] [patch V2 00/20] timer: Refactor the timer wheel

2016-06-23 Thread Cyril Hrubis
Hi! > Two points: > 1) sigtimedwait() is unusual in that it uses the jiffies timer. Most >system call timeouts (including specifically the one in FUTEX_WAIT) >use the high-resolution timer subsystem, which is a whole different >animal with tighter guarantees, and That is likely POSIX

Re: [PATCH] dsa: mv88e6xxx: hide unused functions

2016-06-23 Thread Vivien Didelot
Hi, Arnd Bergmann writes: > When CONFIG_NET_DSA_HWMON is disabled, we get warnings about two unused > functions whose only callers are all inside of an #ifdef: > > drivers/net/dsa/mv88e6xxx.c:3257:12: 'mv88e6xxx_mdio_page_write' defined but > not used [-Werror=unused-function] > drivers/net/dsa

Re: [PATCH v6 3/6] crypto: AF_ALG -- add asymmetric cipher interface

2016-06-23 Thread Denis Kenzior
Hi Stephan, >> This brings me to another proposal for read buffer sizing: AF_ALG akcipher can guarantee that partial reads (where the read buffer is shorter than the output of the crypto op) will work using the same semantics as SOCK_DGRAM/SOCK_SEQPACKET. With those sockets, as much data as will

Re: [LTP] [patch V2 00/20] timer: Refactor the timer wheel

2016-06-23 Thread Thomas Gleixner
On Thu, 23 Jun 2016, Cyril Hrubis wrote: > > 1) sigtimedwait() is unusual in that it uses the jiffies timer. Most > >system call timeouts (including specifically the one in FUTEX_WAIT) > >use the high-resolution timer subsystem, which is a whole different > >animal with tighter guarant

[PATCH] Validate num_values for HIDIOCGUSAGES, HIDIOCSUSAGES commands.

2016-06-23 Thread Scott Bauer
This patch validates the num_values parameter from userland during the HIDIOCGUSAGES and HIDIOCSUSAGES commands. Previously, if the report id was set to HID_REPORT_ID_UNKNOWN, we would fail to validate the num_values parameter leading to a heap overflow. Signed-off-by: Scott Bauer --- drivers/hi

Re: [PATCH 5/5] irqtime: drop local_irq_save/restore from irqtime_account_irq

2016-06-23 Thread Rik van Riel
On Thu, 2016-06-23 at 15:52 +0200, Paolo Bonzini wrote: > > On 22/06/2016 23:55, Rik van Riel wrote: > > > > > > > > > > > > > + hardirq_time = > > > > READ_ONCE(per_cpu(cpu_hardirq_time, > > > > cpu)); > > > Which makes this per_cpu(,cpu) usage somewhat curious. What's > > > wron

[PATCH v3] Add kernel parameter to blacklist modules

2016-06-23 Thread Prarit Bhargava
Blacklisting a module in linux has long been a problem. The current procedure is to use rd.blacklist=module_name, however, that doesn't cover the case after the initramfs and before a boot prompt (where one is supposed to use /etc/modprobe.d/blacklist.conf to blacklist runtime loading). Using rd.s

[RFC 0/5] rework fences on struct sync_file

2016-06-23 Thread Gustavo Padovan
From: Gustavo Padovan Hi all, This is an attempt to improve fence support on Sync File. The basic idea is to have only sync_file->fence and store all fences there, either as normal fences or fence_arrays. That way we can remove some potential duplication when using fence_array with sync_file: th

[RFC 2/5] dma-buf/fence-array: add fence_array_teardown()

2016-06-23 Thread Gustavo Padovan
From: Gustavo Padovan When using fences in sync files we need to clean up everything when the sync file needs to be freed, thus we need to teardown fence_array, by removing the callback of its fences and putting extra references to the fence_array base fence. Signed-off-by: Gustavo Padovan ---

[RFC 1/5] dma-buf/fence: add .teardown() ops

2016-06-23 Thread Gustavo Padovan
From: Gustavo Padovan fence_array requires a function to clean up its state before we are able to call fence_put() and release it. Signed-off-by: Gustavo Padovan --- drivers/dma-buf/fence.c | 7 +++ include/linux/fence.h | 7 +++ 2 files changed, 14 insertions(+) diff --git a/driver

[RFC 4/5] dma-buf/fence-array: add fence_array_get_fences()

2016-06-23 Thread Gustavo Padovan
From: Gustavo Padovan This function returns a copy of the array of fences. Signed-off-by: Gustavo Padovan --- drivers/dma-buf/fence-array.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/dma-buf/fence-array.c b/drivers/dma-buf/fence-array.c index 601448a..ce98249 1

[RFC 5/5] dma-buf/sync_file: rework fence storage in struct file

2016-06-23 Thread Gustavo Padovan
From: Gustavo Padovan Create sync_file->fence to abstract the type of fence we are using for each sync_file. If only one fence is present we use a normal struct fence but if there is more fences to be added to the sync_file a fence_array is created. This behaviour is transparent all sync_file fu

[RFC 3/5] dma-buf/fence: add .get_fences() ops

2016-06-23 Thread Gustavo Padovan
From: Gustavo Padovan get_fences() should return a copy of all fences in the fence as some fence subclass (such as fence_array) can store more than one fence at time. Signed-off-by: Gustavo Padovan --- drivers/dma-buf/fence.c | 14 ++ include/linux/fence.h | 3 +++ 2 files chang

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-23 Thread Dietmar Eggemann
On 21/06/16 09:41, Peter Zijlstra wrote: > On Mon, Jun 20, 2016 at 03:49:34PM +0100, Dietmar Eggemann wrote: >> On 20/06/16 13:35, Vincent Guittot wrote: > >>> It will go through wake_up_new_task and post_init_entity_util_avg >>> during its fork which is enough to set last_update_time. Then, it wi

Re: [PATCH v3 3/9] kexec_file: Factor out kexec_locate_mem_hole from kexec_add_buffer.

2016-06-23 Thread Thiago Jung Bauermann
Am Donnerstag, 23 Juni 2016, 01:44:07 schrieb Dave Young: > Hmm, hold on. For declaring a struct in a header file, comment should be > just after each fields, like below, your format is for a function instead: > struct pci_slot { > struct pci_bus *bus;/* The bus this slot is on

RE: [PATCH] ACPI: don't show an error when we're not in charge of PCIe hotplug.

2016-06-23 Thread Mario_Limonciello
> -Original Message- > From: rjwyso...@gmail.com [mailto:rjwyso...@gmail.com] On Behalf Of > Rafael J. Wysocki > Sent: Wednesday, June 22, 2016 5:48 PM > To: Andy Lutomirski ; Limonciello, Mario > > Cc: Rafael Wysocki ; Peter Jones ; > Linux ACPI ; linux-kernel@vger.kernel.org; Len > Brown

Re: [PATCH v2] mailbox: pcc: Add PCC request and free channel declarations

2016-06-23 Thread Prakash, Prashanth
Hi Rafael, On 6/22/2016 6:49 PM, Rafael J. Wysocki wrote: > On Thursday, June 16, 2016 02:09:38 PM Hoan Tran wrote: >> Exports pcc_mbox_request_channel() and pcc_mbox_free_channel() >> declarations into a pcc.h header file. >> >> v2 >> * Introduce pcc.h header file for pcc client methods >> >> v1

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Sinan Kaya
On 6/23/2016 10:55 AM, Sinan Kaya wrote: > On 6/23/2016 10:12 AM, Wim Osterholt wrote: >> On Wed, Jun 22, 2016 at 11:54:39PM -0400, ok...@codeaurora.org wrote: >>> On 2016-06-21 18:13, Wim Osterholt wrote: > > pr_info("%s:%d irq = %d penalty = %d\n", __func__, __LINE__, irq, >

Re: [PATCH] staging: emxx_udc: allow modular build

2016-06-23 Thread Arnd Bergmann
On Wednesday, June 22, 2016 2:34:33 PM CEST Arnd Bergmann wrote: > A change to the usb gadget core allowed certain API functions to be > part of a loadable module, which breaks having emxx_udc built-in: > > drivers/staging/built-in.o: In function `nbu2ss_drv_probe': > (.text+0x2428): undefined ref

Re: [PATCH 5/8] KEYS: Provide software public key query function [ver #2]

2016-06-23 Thread Mat Martineau
David, On Thu, 23 Jun 2016, David Howells wrote: Provide a query function for the software public key implementation. This permits information about such a key to be obtained using query_asymmetric_key() or KEYCTL_PKEY_QUERY. Signed-off-by: David Howells --- crypto/asymmetric_keys/public_k

Re: [RFC PATCH v2 1/9] mailbox: Add Amlogic Meson Message-Handling-Unit

2016-06-23 Thread Neil Armstrong
On 06/22/2016 06:31 AM, Jassi Brar wrote: > On Tue, Jun 21, 2016 at 3:32 PM, Neil Armstrong > wrote: >> Add Amlogic Meson SoCs Message-Handling-Unit as mailbox controller >> with 2 independent channels/links to communicate with a remote processor. >> >> Signed-off-by: Neil Armstrong > > . >

Re: [PATCH] input: tegra-kbc: fix spelling mistake: "porperly" -> "properly"

2016-06-23 Thread Thierry Reding
On Thu, Jun 23, 2016 at 10:58:27AM +0100, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_err message > > Signed-off-by: Colin Ian King > --- > drivers/input/keyboard/tegra-kbc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Thierry Redi

Re: [PATCH v9] input: tablet: add Pegasus Notetaker tablet driver

2016-06-23 Thread Martin Kepplinger
Am 2016-06-15 um 15:01 schrieb Martin Kepplinger: > This adds a driver for the Pegasus Notetaker Pen. When connected, > this uses the Pen as an input tablet. > > This device was sold in various different brandings, for example > "Pegasus Mobile Notetaker M210", > "Genie e-note The Notetaker", >

Re: [PATCH RESEND v4 6/9] irqchip/ls1x-cpu: Move the CPU IRQ driver from arch/mips/loongson32/common/

2016-06-23 Thread Jason Cooper
Hi folks! On Thu, May 19, 2016 at 09:44:17AM +0800, Binbin Zhou wrote: Commit message? > Signed-off-by: Chunbo Cui > Signed-off-by: Binbin Zhou > Signed-off-by: Huacai Chen > --- > arch/mips/include/asm/irq_cpu.h | 1 + > arch/mips/loongson32/common/irq.c | 128 +--- > dr

Re: [PATCH v2 1/3] block: provide helpers for reading block count

2016-06-23 Thread Sagi Grimberg
Looks good, for the series: Reviewed-by: Sagi Grimbeg

[PATCH v2] staging: emxx_udc: allow modular build

2016-06-23 Thread Arnd Bergmann
A change to the usb gadget core allowed certain API functions to be part of a loadable module, which breaks having emxx_udc built-in: drivers/staging/built-in.o: In function `nbu2ss_drv_probe': (.text+0x2428): undefined reference to `usb_ep_set_maxpacket_limit' The original patch already fixed to

Re: [RFC, DEBUGGING 1/2] mm: pass NR_FILE_PAGES/NR_SHMEM into node_page_state

2016-06-23 Thread Arnd Bergmann
On Thursday, June 23, 2016 2:51:11 PM CEST Mel Gorman wrote: > On Thu, Jun 23, 2016 at 03:17:43PM +0200, Arnd Bergmann wrote: > > > I have an alternative fix for this in a private tree. For now, I've asked > > > Andrew to withdraw the series entirely as there are non-trivial collisions > > > with O

Re: [RFC PATCH v2 05/18] sched: add task flag for preempt IRQ tracking

2016-06-23 Thread Josh Poimboeuf
On Wed, Jun 22, 2016 at 05:09:11PM -0700, Andy Lutomirski wrote: > On Wed, Jun 22, 2016 at 9:30 AM, Josh Poimboeuf wrote: > > Andy, > > > > So I got a chance to look at this some more. I'm thinking that to make > > this feature more consistently useful, we shouldn't only annotate > > pt_regs fram

Re: [PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-23 Thread Stefano Stabellini
On Thu, 23 Jun 2016, Stefano Stabellini wrote: > On Jun 23, 2016 8:27 AM, "Manjeet Pawar" wrote: > > > > From: Rohit Thapliyal > > > > swiotlb implementation not required to be enabled in arm and > > disabling it reduces uImage size by 16KB. > > > > How so? There are no DMA operations on ARM? X

Re: [PATCH] KVM: nVMX: VMX instructions: fix segment checks when L1 is in long mode.

2016-06-23 Thread Paolo Bonzini
On 18/06/2016 11:01, Quentin Casasnovas wrote: > Cross-checking the KVM/VMX VMREAD emulation code with the Intel Software > Developper Manual Volume 3C - "VMREAD - Read Field from Virtual-Machine > Control Structure", I found that we're enforcing that the destination > operand is NOT located in a

Re: [PATCH] ceph: fix spelling mistake: "resgister" -> "register"

2016-06-23 Thread Joe Perches
On Thu, 2016-06-23 at 14:45 +0100, Colin King wrote: > trivial fix to spelling mistake in pr_err message [] > diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c [] > @@ -71,7 +71,7 @@ int ceph_fscache_register_fs(struct ceph_fs_client* fsc) >     &ceph_fscache_fs

[PATCH][V2] ceph: fix spelling mistake: "resgister" -> "register"

2016-06-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in pr_err message and add newline at end of message Signed-off-by: Colin Ian King --- fs/ceph/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ceph/cache.c b/fs/ceph/cache.c index 238c55b..d0f2b06 100644 --- a/f

Re: [PATCH 19/27] mm: Move vmscan writes and file write accounting to the node

2016-06-23 Thread Mel Gorman
On Thu, Jun 23, 2016 at 04:06:09PM +0200, Vlastimil Babka wrote: > On 06/23/2016 03:57 PM, Mel Gorman wrote: > >On Wed, Jun 22, 2016 at 04:40:39PM +0200, Michal Hocko wrote: > >>On Tue 21-06-16 15:15:58, Mel Gorman wrote: > >>>As reclaim is now node-based, it follows that page write activity > >>>d

Re: [PATCH v6 2/2] mtd: nand: sunxi: add reset line support

2016-06-23 Thread Boris Brezillon
On Mon, 20 Jun 2016 12:48:38 +0800 Icenowy Zheng wrote: > The NAND controller on some sun8i chips needs its reset line to be > deasserted before they can enter working state. > > Signed-off-by: Icenowy Zheng > --- >  Changes in v2: >    - Corrected the error checking code of reset line. > >

Re: [PATCH] arm64:swiotlb:Enable only when Input size through command line

2016-06-23 Thread Konrad Rzeszutek Wilk
On June 23, 2016 10:30:34 AM EDT, Catalin Marinas wrote: >On Thu, Jun 23, 2016 at 05:43:40PM +0530, Manjeet Pawar wrote: >> From: Rohit Thapliyal >> >> swiotlb default size of 64M is too big as >> default value therefore it is made configurable >> through command line through swiotlb_size param

RE: regression caused by bb6ab52f2bef ("intel_pstate: Do not set utilization update hook too early")

2016-06-23 Thread Doug Smythies
On 2016.06.17 08:32 Jisheng Zhang wrote: > Second, sorry again for report incorrect commit, > I were too tired this morning so I remember the wrong commit. > The regression is caused by bb6ab52f2bef ("intel_pstate: Do not > set utilization update hook too early"), so I update the email title. Su

Re: linux-next: manual merge of the audit tree with the security tree

2016-06-23 Thread Paul Moore
On Thu, Jun 23, 2016 at 2:01 AM, Heiko Carstens wrote: > On Thu, Jun 23, 2016 at 02:18:14PM +1000, Stephen Rothwell wrote: >> Hi Paul, >> >> Today's linux-next merge of the audit tree got a conflict in: >> >> arch/s390/kernel/ptrace.c >> >> between commit: >> >> 0208b9445bc0 ("s390/ptrace: run

Re: [PATCH] config: Add android config fragments

2016-06-23 Thread Rob Herring
On Thu, Jun 23, 2016 at 1:14 AM, Amit Pundir wrote: > On 23 June 2016 at 08:50, Rob Herring wrote: >> On Wed, Jun 22, 2016 at 2:53 AM, Amit Pundir wrote: >>> On 8 June 2016 at 22:09, Rob Herring wrote: Copy the config fragments from the AOSP common kernel tree. It is becoming possible

Re: Reported regressions for 4.7 as of Sunday, 2016-06-19

2016-06-23 Thread Quinn Tran
-Original Message- From: Johannes Thumshirn Date: Thursday, June 23, 2016 at 12:22 AM To: Quinn Tran Cc: "Martin K. Petersen" , Linus Torvalds , Josh Boyer , Thorsten Leemhuis , linux-kernel , linux-scsi Subject: Re: Reported regressions for 4.7 as of Sunday, 2016-06-19 >[+ Cc linux

Re: [PATCH v4] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-06-23 Thread Alex Williamson
On Mon, 30 May 2016 21:06:37 +0800 Yongji Xie wrote: > Current vfio-pci implementation disallows to mmap > sub-page(size < PAGE_SIZE) MMIO BARs because these BARs' mmio > page may be shared with other BARs. This will cause some > performance issues when we passthrough a PCI device with > this kin

Re: futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op

2016-06-23 Thread Darren Hart
On Thu, Jun 23, 2016 at 03:40:36PM +0200, Thomas Gleixner wrote: > On Thu, 23 Jun 2016, Michael Kerrisk (man-pages) wrote: > > On 06/23/2016 09:18 AM, Thomas Gleixner wrote: > > Once upon a time, you told me the following: > > > > On 15 May 2014 at 16:14, Thomas Gleixner wrote: > > > On Thu, 15 M

Re: [PATCH V2 3/3] perf script: Add callindent option

2016-06-23 Thread Andi Kleen
> Here I think we should try to make the output more compact, so perhaps > we should have some way to ask 'perf script' to show just timestamp > deltas from the previous entry, for instance, i.e. replace that 'time' > with a new 'delta' -F entry. Agreed, also have a way to hide the numerical addre

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Bjorn Helgaas
[+cc Alex, FYI] This thread is about a regression that we'll want to fix before v4.7 releases. It looks like it's related to these changes which were merged via the ACPI tree: 9e5ed6d1fb87 ACPI,PCI,IRQ: remove SCI penalize function 1fcb6a813c4f ACPI,PCI,IRQ: remove redundant code in acpi_irq

Re: [PATCH v3 02/10] drm/rockchip: analogix_dp: split the lcdc select setting into device data

2016-06-23 Thread Heiko Stuebner
Am Donnerstag, 23. Juni 2016, 10:32:53 schrieb Sean Paul: > On Tue, Jun 14, 2016 at 7:46 AM, Yakir Yang wrote: > > eDP controller need to declare which vop provide the video source, > > and it's defined in GRF registers. > > > > But different chips have different GRF register address, so we need

Re: [PATCH V2 0/3] perf script: Add callindent option

2016-06-23 Thread Andi Kleen
On Thu, Jun 23, 2016 at 04:40:55PM +0300, Adrian Hunter wrote: > Hi > > Andi Kleen sent a couple of patches to add a callindent option to > perf script. Andi was agreeable to this alternative implementation. > > While there are some differences in the resulting output, the main > difference is: >

Re: [RFC PATCH v2 05/18] sched: add task flag for preempt IRQ tracking

2016-06-23 Thread Josh Poimboeuf
On Wed, Jun 22, 2016 at 12:17:25PM -0700, Andy Lutomirski wrote: > On Wed, Jun 22, 2016 at 11:40 AM, Josh Poimboeuf wrote: > > On Wed, Jun 22, 2016 at 11:26:21AM -0700, Andy Lutomirski wrote: > >> > > >> > So are you suggesting something like: > >> > > >> > .macro ENTRY_CALL func pt_regs_o

Re: [PATCH] mm/hugetlb: clear compound_mapcount when freeing gigantic pages

2016-06-23 Thread Mike Kravetz
On 06/22/2016 09:25 AM, Gerald Schaefer wrote: > While working on s390 support for gigantic hugepages I ran into the following > "Bad page state" warning when freeing gigantic pages: > > BUG: Bad page state in process bash pfn:580001 > page:03d11640 count:0 mapcount:0 mapping:

Re: [PATCH v4 2/2] reset: add TI SYSCON based reset driver

2016-06-23 Thread Philipp Zabel
Am Donnerstag, den 23.06.2016, 09:28 -0500 schrieb Andrew F. Davis: > On 06/23/2016 04:05 AM, Philipp Zabel wrote: > > Am Mittwoch, den 22.06.2016, 14:46 -0500 schrieb Andrew F. Davis: > > [...] > +depends on HAS_IOMEM > +select MFD_SYSCON > +help > +

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-23 Thread Linus Torvalds
On Thu, Jun 23, 2016 at 7:31 AM, Oleg Nesterov wrote: > > I didn't see the patches yet, quite possibly I misunderstood... But no, > I don't this we can do this (if we are not going to move ti->flags to > task_struct at least). Argh. Yes, ti->flags is used by others. Everything else should be thre

Re: [PATCH v2 1/3] block: add QUEUE_FLAG_DAX for devices to advertise their DAX support

2016-06-23 Thread Yigal Korman
On Thu, Jun 23, 2016 at 2:54 AM, Toshi Kani wrote: > > Currently, presence of direct_access() in block_device_operations > indicates support of DAX on its block device. Because > block_device_operations is instantiated with 'const', this DAX > capablity may not be enabled conditinally. > > In pre

[PATCH] printk: introduce should_ignore_loglevel()

2016-06-23 Thread Sergey Senozhatsky
Due to deferred printing, console log level is inspected when the actual printing occurs, which may provoke console_unlock() and console_cont_flush() to waste CPU cycles on every message that has loglevel above the current console_loglevel. Schematically, console_unlock() does the following: cons

Re: [LTP] [patch V2 00/20] timer: Refactor the timer wheel

2016-06-23 Thread Cyril Hrubis
Hi! > > That is likely POSIX conformance bug, since POSIX explicitly states that > > sigtimedwait() shall use CLOCK_MONOTONIC to measure the timeout. > > > > "If the Monotonic Clock option is supported, the CLOCK_MONOTONIC clock > > shall be used to measure the time interval specified by the timeo

Re: [RFC PATCH v2 05/18] sched: add task flag for preempt IRQ tracking

2016-06-23 Thread Andy Lutomirski
On Thu, Jun 23, 2016 at 9:19 AM, Josh Poimboeuf wrote: > On Wed, Jun 22, 2016 at 12:17:25PM -0700, Andy Lutomirski wrote: >> On Wed, Jun 22, 2016 at 11:40 AM, Josh Poimboeuf wrote: >> > On Wed, Jun 22, 2016 at 11:26:21AM -0700, Andy Lutomirski wrote: >> >> > >> >> > So are you suggesting somethin

Re: [PATCH] tools/vm/slabinfo: fix spelling mistake: "Ocurrences" -> "Occurrences"

2016-06-23 Thread Sergey Senozhatsky
On (06/23/16 09:55), Colin King wrote: > trivial fix to spelling mistake > > Signed-off-by: Colin Ian King good eye. thanks. -ss > --- > tools/vm/slabinfo.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/vm/slabinfo.c b/tools/vm/slabinfo.c > index 1889

Re: Reported regressions for 4.7 as of Sunday, 2016-06-19

2016-06-23 Thread Linus Torvalds
On Thu, Jun 23, 2016 at 9:13 AM, Quinn Tran wrote: > > > QT: setting up the interrupt vector does not mean the interrupt starts firing > immediately. Actually, it very much can mean that. If the interrupt can possibly be shared, there is a very real possibility of it fiding immediately. Now, wi

Re: [PATCH] coresight: add PM runtime calls to coresight_simple_func()

2016-06-23 Thread Sudeep Holla
On 17/06/16 18:41, Mathieu Poirier wrote: It is mandatory to enable a coresight block's power domain before trying to access management registers. Otherwise the transaction simply stalls, leading to a system hang. Signed-off-by: Mathieu Poirier --- drivers/hwtracing/coresight/coresight-pri

Re: [RFC v3 42/45] nfs: Add richacl support

2016-06-23 Thread Weston Andros Adamson
> On Apr 24, 2015, at 7:04 AM, Andreas Gruenbacher > wrote: > > Changes nfs to support the "system.richacl" xattr instead of > "system.nfs4_acl". > > The "system.nfs4_acl" xattr nfs uses directly exposes the on-the-wire format > of > NFSv4's acl attribute to user space. This has at least two

Re: [RFC, DEBUGGING 1/2] mm: pass NR_FILE_PAGES/NR_SHMEM into node_page_state

2016-06-23 Thread Mel Gorman
On Thu, Jun 23, 2016 at 05:56:57PM +0200, Arnd Bergmann wrote: > On Thursday, June 23, 2016 2:51:11 PM CEST Mel Gorman wrote: > > On Thu, Jun 23, 2016 at 03:17:43PM +0200, Arnd Bergmann wrote: > > > > I have an alternative fix for this in a private tree. For now, I've > > > > asked > > > > Andrew

[PATCH] powerpc/mm: update arch_{add,remove}_memory() for radix

2016-06-23 Thread Reza Arbab
These functions are making direct calls to the hash table APIs, leading to a BUG() on systems using radix. Switch them to the vmemmap_{create,remove}_mapping() wrappers, and move to the __meminit section. Signed-off-by: Reza Arbab --- arch/powerpc/mm/mem.c | 8 1 file changed, 4 insert

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-23 Thread Andy Lutomirski
On Thu, Jun 23, 2016 at 9:30 AM, Linus Torvalds wrote: > On Thu, Jun 23, 2016 at 7:31 AM, Oleg Nesterov wrote: >> >> I didn't see the patches yet, quite possibly I misunderstood... But no, >> I don't this we can do this (if we are not going to move ti->flags to >> task_struct at least). > > Argh.

Re: [PATCH 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-06-23 Thread Hoan Tran
On Tue, Jun 7, 2016 at 11:05 AM, Hoan Tran wrote: > Hi Jassi, > > Thanks for your reply ! > > On Tue, Jun 7, 2016 at 10:20 AM, Jassi Brar wrote: >> On Tue, May 24, 2016 at 6:31 AM, Hoan Tran wrote: >>> Hi Rob, >>> >>> Thanks for your review ! >>> >>> On Mon, May 23, 2016 at 1:30 PM, Rob Herring

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

2016-06-23 Thread Bjorn Helgaas
On Thu, Jun 23, 2016 at 11:44:29AM +1000, Stephen Rothwell wrote: > Hi Bjorn, > > Today's linux-next merge of the pci tree got a conflict in: > > drivers/nvme/host/pci.c > > between commit: > > edb50a5403d2 ("NVMe: Only release requested regions") > > from Linus' tree and commit: > > a1

Re: [PATCH v3 0/9] kexec_file_load implementation for PowerPC

2016-06-23 Thread Thiago Jung Bauermann
Am Donnerstag, 23 Juni 2016, 09:57:51 schrieb Balbir Singh: > On 23/06/16 03:02, Thiago Jung Bauermann wrote: > >>> 3. have IMA pass-on its event log (where integrity measurements are > >>> > >>>registered) accross kexec to the second kernel, so that the event > >>>history is preserved. >

Re: [PATCH V2 3/3] perf script: Add callindent option

2016-06-23 Thread Arnaldo Carvalho de Melo
Em Thu, Jun 23, 2016 at 09:20:32AM -0700, Andi Kleen escreveu: > > Here I think we should try to make the output more compact, so perhaps > > we should have some way to ask 'perf script' to show just timestamp > > deltas from the previous entry, for instance, i.e. replace that 'time' > > with a new

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

2016-06-23 Thread Bjorn Helgaas
On Thu, Jun 23, 2016 at 11:51:54AM +1000, Stephen Rothwell wrote: > Hi Bjorn, > > After merging the pci tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/misc/genwqe/card_base.c: In function 'genwqe_pci_remove': > drivers/misc/genwqe/card_base.c:1155:6: war

Re: [PATCH v3 0/3] acpi/pmic: add opregion driver for Intel BXT WhiskeyCove PMIC

2016-06-23 Thread Bin Gao
> Well, I'm dropping the old series due to comments from Aaron on the > second patch. > > I will be waiting for an update addressing the Aaron's comments in > [2/3] and [3/3]. Right, there was no change on [1/3]. I'll address Aaron's comments and re-send all as v4. Thanks. -Bin

Re: [PATCH v2] pwm: improve args checking in pwm_apply_state()

2016-06-23 Thread Thierry Reding
On Wed, Jun 22, 2016 at 01:46:48PM -0700, Brian Norris wrote: > On Wed, Jun 22, 2016 at 10:41:14PM +0200, Boris Brezillon wrote: > > On Wed, 22 Jun 2016 12:16:59 -0700 > > Brian Norris wrote: > > > Notably, you're dropping the 'if (!pwm) { }' safety checks that are part > > > of pwm_disable() and

Re: [PATCH net-next v2 3/4] cgroup: bpf: Add bpf_skb_in_cgroup_proto

2016-06-23 Thread Martin KaFai Lau
On Thu, Jun 23, 2016 at 11:53:50AM +0200, Daniel Borkmann wrote: > >diff --git a/kernel/bpf/verifier.c b/kernel/bpf/verifier.c > >index 668e079..68753e0 100644 > >--- a/kernel/bpf/verifier.c > >+++ b/kernel/bpf/verifier.c > >@@ -1062,6 +1062,10 @@ static int check_map_func_compatibility(struct > >

Re: [PATCH] input: tegra-kbc: fix spelling mistake: "porperly" -> "properly"

2016-06-23 Thread Dmitry Torokhov
On Thu, Jun 23, 2016 at 05:48:04PM +0200, Thierry Reding wrote: > On Thu, Jun 23, 2016 at 10:58:27AM +0100, Colin King wrote: > > From: Colin Ian King > > > > trivial fix to spelling mistake in dev_err message > > > > Signed-off-by: Colin Ian King > > --- > > drivers/input/keyboard/tegra-kbc.c

[PATCH] Input: apanel - spelling mistake: "skiping" -> "skipping"

2016-06-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in pr_notice message Signed-off-by: Colin Ian King --- drivers/input/misc/apanel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/misc/apanel.c b/drivers/input/misc/apanel.c index a8d2b8d..53630af 100644 --

Re: [PATCH] input: ams_delta_serio: fix spelling mistake: "paritiy" -> "parity"

2016-06-23 Thread Dmitry Torokhov
On Thu, Jun 23, 2016 at 10:12:25AM +0100, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_warn message > > Signed-off-by: Colin Ian King Applied, thank you. > --- > drivers/input/serio/ams_delta_serio.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(

[PATCH] spi: spi-ti-qspi: spelling mistake: "trasnfers" -> "transfers"

2016-06-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in dev_dbg message Signed-off-by: Colin Ian King --- drivers/spi/spi-ti-qspi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi-ti-qspi.c b/drivers/spi/spi-ti-qspi.c index 29ea8d2..ac0b072 100644 --- a/driv

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-23 Thread Oleg Nesterov
On 06/23, Linus Torvalds wrote: > > But that does bring up another possibility: do it at wait() time, when > we do release_thread(). That's when we *used* to synchronously free > it, before we did the lockless RCU walks. Let me quote my previous email ;) And we can't free/nullify it when

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-23 Thread Alex Williamson
On Thu, 23 Jun 2016 11:21:58 -0500 Bjorn Helgaas wrote: > [+cc Alex, FYI] > > This thread is about a regression that we'll want to fix before v4.7 > releases. It looks like it's related to these changes which were > merged via the ACPI tree: > > 9e5ed6d1fb87 ACPI,PCI,IRQ: remove SCI penalize

Re: [PATCH v5 8/9] Input: synaptics-rmi4 - add support for F54 diagnostics

2016-06-23 Thread Dmitry Torokhov
Hi Nick, On Wed, Jun 22, 2016 at 11:08:32PM +0100, Nick Dyer wrote: > Function 54 implements access to various RMI4 diagnostic features. > > This patch adds support for retrieving this data. It registers a V4L2 > device to output the data to user space. > > Signed-off-by: Nick Dyer > --- > dri

Re: [PATCH] Input: apanel - spelling mistake: "skiping" -> "skipping"

2016-06-23 Thread Dmitry Torokhov
On Thu, Jun 23, 2016 at 05:57:40PM +0100, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in pr_notice message > > Signed-off-by: Colin Ian King Applied, thank you. > --- > drivers/input/misc/apanel.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > d

[PATCH] powerpc/powernv: spelling mistake: "Retrived" -> "Retrieved"

2016-06-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in pr_debug message Signed-off-by: Colin Ian King --- arch/powerpc/platforms/powernv/opal-memory-errors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/powernv/opal-memory-errors.c b/arch/powerpc

Re: [PATCH] coresight: add PM runtime calls to coresight_simple_func()

2016-06-23 Thread Mathieu Poirier
On 23 June 2016 at 10:37, Sudeep Holla wrote: > > > On 17/06/16 18:41, Mathieu Poirier wrote: >> >> It is mandatory to enable a coresight block's power domain before >> trying to access management registers. Otherwise the transaction >> simply stalls, leading to a system hang. >> >> Signed-off-by

Re: [PATCH v3 00/13] Virtually mapped stacks with guard pages (x86, core)

2016-06-23 Thread Oleg Nesterov
On 06/23, Andy Lutomirski wrote: > > That sounds a bit more fragile than I'm really comfortable with, > although it'll at least oops reliably if we get it wrong. > > But I'm planning on moving ti->flags (and the rest of thread_info, > either piecemeal or as a unit) into task_struct on architectures

[PATCH] tcm_qla2xxx: fix spelling mistake: "seperator" -> "separator"

2016-06-23 Thread Colin King
From: Colin Ian King trivial fix to spelling mistake in pr_err message Signed-off-by: Colin Ian King --- drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c index 6643f6f

Re: [PATCH] kvm: x86: use getboottime64

2016-06-23 Thread Paolo Bonzini
On 17/06/2016 17:48, Arnd Bergmann wrote: > KVM reads the current boottime value as a struct timespec in order to > calculate the guest wallclock time, resulting in an overflow in 2038 > on 32-bit systems. > > The data then gets passed as an unsigned 32-bit number to the guest, > and that in tur

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-23 Thread Peter Zijlstra
On Thu, Jun 23, 2016 at 04:35:54PM +0100, Dietmar Eggemann wrote: > > The things we ran into with these patches were that: > > > > 1) You need to update the cfs_rq _before_ any entity attach/detach > > (and might need to update_tg_load_avg when update_cfs_rq_load_avg() > > returns true).

Re: [PATCH] powerpc/mm: update arch_{add,remove}_memory() for radix

2016-06-23 Thread Aneesh Kumar K.V
Reza Arbab writes: > These functions are making direct calls to the hash table APIs, > leading to a BUG() on systems using radix. > > Switch them to the vmemmap_{create,remove}_mapping() wrappers, and > move to the __meminit section. They are really not the same. They can possibly end up using

Re: [PATCH 1/6] arm64: alternatives: drop enable parameter from _else and _endif macro

2016-06-23 Thread Catalin Marinas
On Mon, May 09, 2016 at 05:49:45PM +0100, Andre Przywara wrote: > Commit 77ee306c0aea9 ("arm64: alternatives: add enable parameter to > conditional asm macros") extended the alternative assembly macros. > Unfortunately this does not really work as one would expect, as the > enable parameter in fact

<    1   2   3   4   5   6   7   8   9   10   >