[PATCH, REGRESSION v4] mm: make apply_to_page_range more robust

2016-01-21 Thread Mika Penttilä
Recent changes (4.4.0+) in module loader triggered oops on ARM : The module in question is in-tree module : drivers/misc/ti-st/st_drv.ko The BUG is here : [ 53.638335] [ cut here ] [ 53.642967] kernel BUG at mm/memory.c:1878! [ 53.647153] Internal error: Oops - BUG: 0

Re: [perf/x86] 75925e1ad7: BUG: unable to handle kernel paging request at 000045b8

2016-01-21 Thread Peter Zijlstra
On Fri, Jan 22, 2016 at 12:33:24PM +0800, kernel test robot wrote: > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > > commit 75925e1ad7f5a4e867bd14ff8e7f114ea1596434 >

Re: [PATCH 0/2] Fix for ADJ_SETOFFSET w/ ADJ_NANO

2016-01-21 Thread Thomas Gleixner
On Thu, 21 Jan 2016, Shuah Khan wrote: > On 01/21/2016 04:03 PM, John Stultz wrote: > > David Herrmann mailed me pointing out that one of the > > changes that landed in 4.5-rc broke users of ADJ_SETOFFSET > > when used with ADJ_NANO. > > > > I've implemented a fix to this issue and also

Re: [PATCH 4.3 00/55] 4.3.4-stable review

2016-01-21 Thread Greg Kroah-Hartman
On Thu, Jan 21, 2016 at 09:42:53AM +, Mel Gorman wrote: > On Wed, Jan 20, 2016 at 04:43:35PM -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.3.4 release. > > Any particular reason why "[PATCH 4.3-stable 0/5] Disable automatic numa > balancing on

Re: [PATCH 4.3 02/55] vrf: fix double free and memory corruption on register_netdevice failure

2016-01-21 Thread Greg Kroah-Hartman
On Thu, Jan 21, 2016 at 01:37:34AM +, Ben Hutchings wrote: > On Wed, 2016-01-20 at 16:43 -0800, Greg Kroah-Hartman wrote: > > 4.3-stable review patch.  If anyone has any objections, please let me > > know. > > > > -- > > > > From: Ben Hutchings > [...] > > It's really From:

Re: [PATCH 3.10 00/35] 3.10.95-stable review

2016-01-21 Thread Greg Kroah-Hartman
On Thu, Jan 21, 2016 at 08:06:27AM +0100, Willy Tarreau wrote: > On Wed, Jan 20, 2016 at 04:14:51PM -0700, Shuah Khan wrote: > > On 01/20/2016 03:00 PM, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 3.10.95 release. > > > There are 35 patches in this series,

Re: [PATCH 4.3 00/55] 4.3.4-stable review

2016-01-21 Thread Greg Kroah-Hartman
On Thu, Jan 21, 2016 at 04:24:36AM -0800, Guenter Roeck wrote: > On 01/20/2016 04:43 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 4.3.4 release. > >There are 55 patches in this series, all will be posted as a response > >to this one. If anyone has any

Re: [PATCH 4.3 00/55] 4.3.4-stable review

2016-01-21 Thread Greg Kroah-Hartman
On Wed, Jan 20, 2016 at 06:39:48PM -0700, Shuah Khan wrote: > On 01/20/2016 05:43 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.3.4 release. > > There are 55 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] clk: rockchip: rk3036: Add apll as the critical clock

2016-01-21 Thread Xing Zheng
Hi Heiko, On 2016年01月21日 17:21, Heiko Stuebner wrote: Hi Xing, Am Mittwoch, 20. Januar 2016, 16:37:17 schrieb Xing Zheng: The apll may be closed if there are some child clock nodes below it when the device startup. Therefore, the apll should be keep critical. The apll tree like this:

[PATCH] mmc: dw_mmc: fix err handle of dw_mci_probe

2016-01-21 Thread Shawn Lin
This patch add correct err handle if dw_mci_ctrl_reset failed while probing. Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 065a8f5..ec19984 100644 ---

Re: tags: Unify emacs and exuberant rules

2016-01-21 Thread Michal Marek
On 2016-01-21 06:22, Dave Jones wrote: > On Wed, Jan 20, 2016 at 06:22:04PM +, Linux Kernel wrote: > > Web: > https://git.kernel.org/torvalds/c/93209d65c1d38f86ffb3f61a1214130b581a9709 > > Commit: 93209d65c1d38f86ffb3f61a1214130b581a9709 > > Parent:

[PATCH] mmc: dw_mmc: fix num_slots setting

2016-01-21 Thread Shawn Lin
This patch make num_slots to 1 if pdata->num_slot is not defined. Meanwhile, we need to make sure num_slots should not larger that the supported slots Signed-off-by: Shawn Lin --- drivers/mmc/host/dw_mmc.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git

Re: [RFC PATCH v3] POWER/runtime: refining the rpm_suspend function

2016-01-21 Thread Zhaoyang Huang
On 22 January 2016 at 03:32, Pavel Machek wrote: > >> - goto repeat; >> + >> + /*check expires firstly for auto suspend mode, >> + *if not, just go ahead to the async >> + */ > > English, coding style. >

Re: [PATCH 23/33] x86/asm/bpf: Create stack frames in bpf_jit.S

2016-01-21 Thread Ingo Molnar
* Alexei Starovoitov wrote: > > > I could be missing something. I think either this patch is not need or > > > you > > > need to teach the tool to ignore all JITed stuff. I don't think it's > > > practical to annotate everything. Different JITs do their own magic. s390 > > > JIT is even

Re: wireless-drivers: random cleanup patches piling up

2016-01-21 Thread Dan Carpenter
On Thu, Jan 21, 2016 at 04:52:45PM -0800, Joe Perches wrote: > Whitespace patches, where git diff -w does not show > any difference and objdiff on the objects for a few > randconfigs are identical, maybe could be sifted > into a separate category from other patches. > Maybe the kbuild test robot

Re: [PATCH V3 00/11] Add T210 support in Tegra soctherm

2016-01-21 Thread Wei Ni
On 2016年01月21日 22:56, Thierry Reding wrote: > * PGP Signed by an unknown key > > On Mon, Jan 18, 2016 at 06:02:25PM +0800, Wei Ni wrote: >> This patchset adds following functions for tegra_soctherm driver: >> 1. add T210 support. >> 2. export debugfs to show some registers. >> 3. add thermtrip

[PATCH V2 1/1] gpio-f7188x: Add F81866 GPIO supports

2016-01-21 Thread Peter Hung
Add F81866 GPIO supports Fintek F81866 is a SuperIO. It contains HWMON/GPIO/Serial Ports. and it has totally 72(9x8 sets) gpio pins. Here is the PDF spec: http://www.alldatasheet.com/datasheet-pdf/pdf/459085/FINTEK/F81866AD-I.html The control method is the same with F7188x, but we should care

[PATCH V2 0/1] gpio-f7188x: Add F81866 GPIO supports

2016-01-21 Thread Peter Hung
Fintek F81866 is a SuperIO. It contains HWMON/GPIO/Serial Ports. and it has totally 72(9x8 sets) gpio pins. Here is the PDF spec: http://www.alldatasheet.com/datasheet-pdf/pdf/459085/FINTEK/F81866AD-I.html The control method is the same with F7188x, but we should care the address of GPIO8x.

[PATCH v6 2/5] cpufreq: powernv: Remove cpu_to_chip_id() from hot-path

2016-01-21 Thread Shilpasri G Bhat
cpu_to_chip_id() does a DT walk through to find out the chip id by taking a contended device tree lock. This adds an unnecessary overhead in a hot path. So instead of calling cpu_to_chip_id() everytime cache the chip ids for all cores in the array 'core_to_chip_map' and use it in the hotpath.

[PATCH v6 5/5] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-01-21 Thread Shilpasri G Bhat
Create sysfs attributes to export throttle information in /sys/devices/system/cpu/cpufreq/chipN. The newly added sysfs files are as follows: 1)/sys/devices/system/cpu/cpufreq/chip0/throttle_frequencies This gives the throttle stats for each of the available frequencies. The throttle stat of a

[PATCH v6 1/5] cpufreq: powernv: Hot-plug safe the kworker thread

2016-01-21 Thread Shilpasri G Bhat
In the kworker_thread powernv_cpufreq_work_fn(), we can end up sending an IPI to a cpu going offline. This is a rare corner case which is fixed using {get/put}_online_cpus(). Along with this fix, this patch adds changes to do oneshot cpumask_{clear/and} operation. Suggested-by: Shreyas B Prabhu

[PATCH v6 4/5] cpufreq: powernv: Replace pr_info with trace print for throttle event

2016-01-21 Thread Shilpasri G Bhat
Currently we use printk message to notify the throttle event. But this can flood the console if the cpu is throttled frequently. So replace the printk with the tracepoint to notify the throttle event. And also events like throttle below nominal frequency and OCC_RESET are reduced to

[PATCH v6 3/5] cpufreq: powernv/tracing: Add powernv_throttle tracepoint

2016-01-21 Thread Shilpasri G Bhat
This patch adds the powernv_throttle tracepoint to trace the CPU frequency throttling event, which is used by the powernv-cpufreq driver in POWER8. Signed-off-by: Shilpasri G Bhat Reviewed-by: Gautham R. Shenoy CC: Ingo Molnar CC: Steven Rostedt --- No changes since v2.

[PATCH v6 0/5] cpufreq: powernv: Redesign the presentation of throttle notification and solve bug-fixes in the driver

2016-01-21 Thread Shilpasri G Bhat
In POWER8, OCC(On-Chip-Controller) can throttle the frequency of the CPU when the chip crosses its thermal and power limits. Currently, powernv-cpufreq driver detects and reports this event as a console message. Some machines may not sustain the max turbo frequency in all conditions and can be

Re: [PATCH, REGRESSION v3] mm: make apply_to_page_range more robust

2016-01-21 Thread Pekka Enberg
On 01/22/2016 01:12 AM, David Rientjes wrote: NACK to your patch as it is just covering up buggy code silently. The problem needs to be addressed in change_memory_common() to return if there is no size to change (numpages == 0). It's a two line fix to that function. So add a WARN_ON there

Re: [PATCH v13 04/23] perf config: Document variables for 'annotate' section in man page

2016-01-21 Thread Taeung Song
Hi, Arnaldo Sorry for my tardy response. On 01/21/2016 11:45 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Jan 08, 2016 at 08:39:34PM +0900, Taeung Song escreveu: Explain 'annotate' section and its variables. 'hide_src_code', 'use_offset', 'jump_arrows', 'show_linenr', 'show_nr_jump' and

Re: [PATCH v2 3/4] x86/efi: print size and base in binary units in efi_print_memmap

2016-01-21 Thread Andy Shevchenko
On Fri, Jan 22, 2016 at 12:35 AM, Andrew Morton wrote: > On Thu, 21 Jan 2016 17:22:31 +0200 Andy Shevchenko > wrote: > >> From: Robert Elliott >> >> Print the base in the best-fit B, KiB, MiB, etc. units rather than >> always MiB. This avoids rounding, which can be misleading. >> >> Use proper

Re: [PATCH] perf core: Get rid of 'uses dynamic stack allocation' warning

2016-01-21 Thread kbuild test robot
Hi Wang, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.4 next-20160121] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Wang-Nan/perf-core-Get-rid-of-uses-dynamic

[RFC] mm: shall we add an entry in meminfo to show the memory from module?

2016-01-21 Thread Xishi Qiu
Currently /proc/meminfo will not show the memory from module. This entry "VmallocUsed: xxx" only shows the memory in the range [VMALLOC_START, VMALLOC_END] alloced by vmalloc() ->... -> __vmalloc_node_range(). The memory which used by module is from module_alloc() -> __vmalloc_node_range().

RE: [RFC] spi-nor: fix cross die reads on Micron multi-die devices

2016-01-21 Thread beanhuo
> Hi Bean, > > On Thu, 21 Jan 2016 01:06:48 + > Bean Huo 霍斌斌 (beanhuo) wrote: > > > Hi, Adam and Boris > > > > For Micron MT25Q ,MT25T and MT35Q, they does not exist this action > > even they are Multi-die devices. So when the last byte of the die > > selected is read, the next byte output

[PATCH v7 2/2] power: add documentation for ACT8945A's charger DT bindings

2016-01-21 Thread Wenyou Yang
This patch adds documentation for the DT bindings of the charger subdevice of ACT8945A MFD. Signed-off-by: Wenyou Yang Reviewed-by: Krzysztof Kozlowski --- Changes in v7: None Changes in v6: None Changes in v5: - collect Reviewed-by from Krzysztof. Changes in v4: - change the properties

Re: [lkp] [kallsyms] 06862f34f6: BUG: unable to handle kernel NULL pointer dereference at (null)

2016-01-21 Thread Ard Biesheuvel
On 22 January 2016 at 03:20, kernel test robot wrote: > FYI, we noticed the below changes on > > https://git.linaro.org/people/ard.biesheuvel/linux-arm kallsyms-text-relative > commit 06862f34f614bb6ff6a9fc9c4b0d849e2ee2018d ("kallsyms: add support for > relative offsets in kallsyms address

[PATCH v7 1/2] power: act8945a: add charger driver for ACT8945A

2016-01-21 Thread Wenyou Yang
This patch adds new driver for Active-semi ACT8945A ActivePath charger (part of ACT8945A MFD driver) providing power supply class information to userspace. The driver can be configured through DT (such as, total timer, precondition timer and input over-voltage threshold). Signed-off-by: Wenyou

[PATCH v7 0/2] power: act8945a: add charger driver for the sub-device of ACT8945A MFD

2016-01-21 Thread Wenyou Yang
The ACT8945A is a Multi Function Device with the following subdevices: - Regulator - Charger This patch set is to add regulator driver for ACT8945A. It is based on the patch set: http://lists.infradead.org/pipermail/linux-arm-kernel/2016-January/401044.html Changes in v7: - use the

[PATCH] perf core: Get rid of 'uses dynamic stack allocation' warning

2016-01-21 Thread Wang Nan
On s390 with CONFIG_WARN_DYNAMIC_STACK set, 'uses dynamic stack allocation' warning is issued when defining 'struct perf_sample_data' local variable. This patch suppress this warning by allocating extra 255 bytes and compute aligned pointer manually. Reported-by: kbuild test robot

Re: [PATCH kernel] vfio: Only check for bus IOMMU when NOIOMMU is selected

2016-01-21 Thread Alexey Kardashevskiy
On 01/22/2016 05:34 PM, Alexey Kardashevskiy wrote: Recent change 03a76b60 "vfio: Include No-IOMMU mode" disabled VFIO on systems which do not implement iommu_ops for the PCI bus even though there is an VFIO IOMMU driver for it such as SPAPR TCE driver for PPC64/powernv platform. This moves

[PATCH v7 2/2] mfd: add documentation for ACT8945A DT bindings

2016-01-21 Thread Wenyou Yang
The Active-semi ACT8945A PMIC is a Multi-Function Device, it has two subdevices: - Regulator - Charger This patch adds documentation for ACT8945A DT bindings. Signed-off-by: Wenyou Yang Acked-by: Rob Herring --- Changes in v7: None Changes in v6: - change the regulator name. Changes in

[PATCH v7 1/2] mfd: act8945a: add Active-semi ACT8945A PMIC MFD driver

2016-01-21 Thread Wenyou Yang
This patch adds support for the Active-semi ACT8945A PMIC. It is a Multi Function Device with the following subdevices: - Regulator - Charger It is interfaced to the host controller using I2C interface, ACT8945A is a child device of the I2C. Signed-off-by: Wenyou Yang Reviewed-by: Krzysztof

[PATCH v7 0/2] mfd: act8945a: add Active-semi ACT8945A PMIC MFD driver

2016-01-21 Thread Wenyou Yang
This patch set adds support for the Active-semi ACT8945A PMIC MFD driver. It is a Multi Function Device with the following subdevices: - Regulator - Charger It is interfaced to the host controller using I2C interface, ACT8945A is a child device of the I2C. Changes in v7: - remove struct

[RFC PATCH 0/1] Adding previous syscall context to seccomp

2016-01-21 Thread Daniel Sangorrin
Hi, During my presentation last year at Linuxcon Japan [1], I released a proof-of-concept patch [2] for the seccomp subsystem. The main purpose of that patch was to let applications restrict the order in which their system calls are requested. In more technical terms, a host-based anomaly

[RFC PATCH 1/1] seccomp: provide information about the previous syscall

2016-01-21 Thread Daniel Sangorrin
This patch allows applications to restrict the order in which its system calls may be requested. In order to do that, we provide seccomp-BPF scripts with information about the previous system call requested. An example use case consists of detecting (and stopping) return oriented attacks that

Re: [PATCH v3] kallsyms: add support for relative offsets in kallsyms address table

2016-01-21 Thread Ard Biesheuvel
On 22 January 2016 at 04:44, Michael Ellerman wrote: > On Thu, 2016-01-21 at 14:55 -0800, Kees Cook wrote: >> On Thu, Jan 21, 2016 at 2:50 PM, Andrew Morton >> wrote: >> > On Thu, 21 Jan 2016 18:19:43 +0100 Ard Biesheuvel >> > wrote: >> > >> > > Similar to how relative extables are

RE: [PATCH v6 1/2] power: act8945a: add charger driver for ACT8945A

2016-01-21 Thread Yang, Wenyou
Hi Peter, Thank you for so much advice. > -Original Message- > From: Peter Korsgaard [mailto:jac...@gmail.com] On Behalf Of Peter Korsgaard > Sent: 2016年1月21日 4:25 > To: Yang, Wenyou > Cc: Sebastian Reichel ; Dmitry Eremin-Solenikov > ; David Woodhouse ; Rob > Herring ; Pawel Moll ;

[PATCH kernel] vfio: Only check for bus IOMMU when NOIOMMU is selected

2016-01-21 Thread Alexey Kardashevskiy
Recent change 03a76b60 "vfio: Include No-IOMMU mode" disabled VFIO on systems which do not implement iommu_ops for the PCI bus even though there is an VFIO IOMMU driver for it such as SPAPR TCE driver for PPC64/powernv platform. This moves iommu_present() call under #ifdef CONFIG_VFIO_NOIOMMU as

Re: [PATCH v5 5/5] cpufreq: powernv: Add sysfs attributes to show throttle stats

2016-01-21 Thread Gautham R Shenoy
On Thu, Jan 21, 2016 at 03:08:59PM +0530, Shilpasri G Bhat wrote: > Signed-off-by: Shilpasri G Bhat Reviewed-by: Gautham R. Shenoy -- Thanks and Regards gautham.

Re: [PATCH perf 3/4] perf tools: Fix unused variables: x86_{32,64}_regoffset_table

2016-01-21 Thread Wangnan (F)
On 2016/1/22 13:56, 平松雅巳 / HIRAMATU,MASAMI wrote: From: Wangnan (F) [mailto:wangn...@huawei.com] On 2016/1/20 21:59, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 19, 2016 at 09:33:06PM +, Ben Hutchings escreveu: gcc 5 doesn't seem to care about these, but gcc 6 does and that results in a

Re: [PATCH, REGRESSION v3] mm: make apply_to_page_range more robust

2016-01-21 Thread Mika Penttilä
On 01/22/2016 01:12 AM, David Rientjes wrote: > On Thu, 21 Jan 2016, Mika Penttilä wrote: > >> Recent changes (4.4.0+) in module loader triggered oops on ARM : >> >> The module in question is in-tree module : >> drivers/misc/ti-st/st_drv.ko >> >> The BUG is here : >> >> [ 53.638335]

Re: [PATCH RFC] locking/mutexes: don't spin on owner when wait list is not NULL.

2016-01-21 Thread Davidlohr Bueso
On Thu, 21 Jan 2016, Waiman Long wrote: On 01/21/2016 04:29 AM, Ding Tianhong wrote: I got the vmcore and found that the ifconfig is already in the wait_list of the rtnl_lock for 120 second, but my process could get and release the rtnl_lock normally several times in one second, so it means

[GIT PULL] ext4 changes for 4.5

2016-01-21 Thread Theodore Ts'o
(I thought I had sent this earlier, but apparently the e-mail never left my machine. Apologies if this is a duplicate, but I'm pretty sure it was never sent on my end.) The following changes since commit f41683a204ea61568f0fd0804d47c19561f2ee39: Merge tag 'ext4_for_linus_stable' of

Re: [PATCH] perf/kvm: Guest Symbol Resolution for powerpc

2016-01-21 Thread Ravi Bangoria
Hi Arnaldo, On Wednesday 13 January 2016 10:29 PM, Arnaldo Carvalho de Melo wrote: Em Tue, Dec 29, 2015 at 03:38:40PM +0530, Ravi Bangoria escreveu: 'perf kvm {record|report}' is used to record and report the profiled performance of any workload on a guest. From the host, we can collect guest

Re: [PATCHv8 1/4] EDAC, altera: Add Altera L2 Cache and OCRAM EDAC Support

2016-01-21 Thread Vladimir Zapolskiy
Hi Thor, On 21.01.2016 19:34, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Adding L2 Cache and On-Chip RAM EDAC support for the > Altera SoCs using the EDAC device model. The SDRAM > controller is using the Memory Controller model. > > Each type of ECC is individually

[PATCH v2 2/3] perf kvm: enable record|report feature on powerpc

2016-01-21 Thread Ravi Bangoria
This patch contains core logic for enabling perf kvm {record|report} on powerpc. For perf kvm record, This patch will replace default event(cycle) with kvm_hv:kvm_guest_exit while recording guest data from host. For perf kvm report, This patch makes use of the 'kvm_guest_exit' tracepoint and

Re: [PATCH V2 3/3] vhost_net: basic polling support

2016-01-21 Thread Jason Wang
On 01/20/2016 10:35 PM, Michael S. Tsirkin wrote: > On Tue, Dec 01, 2015 at 02:39:45PM +0800, Jason Wang wrote: >> This patch tries to poll for new added tx buffer or socket receive >> queue for a while at the end of tx/rx processing. The maximum time >> spent on polling were specified through a

[PATCH v2 3/3] perf kvm: Fix output fields instead of 'trace' for perf kvm report on powerpc

2016-01-21 Thread Ravi Bangoria
commit d49dadea7862 ("perf tools: Make 'trace' or 'trace_fields' sort key default for tracepoint events") makes 'trace' sort key as a default while displaying report for tracepoint. As tracepoint(kvm_hv:kvm_guest_exit) is used as a default event for recording data, perf kvm report will display

[PATCH v2 1/3] perf kvm: Introduce evsel as argument to perf_event__preprocess_sample

2016-01-21 Thread Ravi Bangoria
This patch changes prototype of perf_event__preprocess_sample() with additional argument evsel added at last. This change is required because perf_event__preprocess_sample() function will use evsel to determine cpumode of samples for powerpc architecture. Signed-off-by: Ravi Bangoria ---

[PATCH v2 0/3] perf kvm: Guest Symbol Resolution for powerpc

2016-01-21 Thread Ravi Bangoria
'perf kvm {record|report}' is used to record and report the profiled performance of any workload on a guest. From the host, we can collect guest kernel statistics which is useful in finding out any contentions in guest kernel symbols for a certain workload. This feature is not available on powerpc

RE: [PATCH perf 3/4] perf tools: Fix unused variables: x86_{32,64}_regoffset_table

2016-01-21 Thread 平松雅巳 / HIRAMATU,MASAMI
>From: Wangnan (F) [mailto:wangn...@huawei.com] > >On 2016/1/20 21:59, Arnaldo Carvalho de Melo wrote: >> Em Tue, Jan 19, 2016 at 09:33:06PM +, Ben Hutchings escreveu: >>> gcc 5 doesn't seem to care about these, but gcc 6 does and that >>> results in a build failure. >> Ben, please CC the

Re: [PATCH V2 2/3] vhost: introduce vhost_vq_more_avail()

2016-01-21 Thread Jason Wang
On 01/20/2016 10:09 PM, Michael S. Tsirkin wrote: > On Tue, Dec 01, 2015 at 02:39:44PM +0800, Jason Wang wrote: >> Signed-off-by: Jason Wang > Wow new API with no comments anywhere, and no > commit log to say what it's good for. > Want to know what it does and whether > it's correct? You have

Re: [PATCH 1/2] regulator: ltc3589: make IRQ optional

2016-01-21 Thread Lothar Waßmann
Hi, > On Thu, Jan 21, 2016 at 12:33:11PM +0100, Lothar Waßmann wrote: > > > On Thu, Jan 21, 2016 at 11:26:11AM +0100, Lothar Waßmann wrote: > > > > > On Thu, Jan 21, 2016 at 08:05:24AM +0100, Lothar Waßmann wrote: > > > > > > > On Wed, Jan 20, 2016 at 01:29:51PM +0100, Lothar Waßmann wrote: > >

[PATCH] MAINTAINERS: return arch/sh to maintained state, with new maintainers

2016-01-21 Thread Rich Felker
From: Rich Felker Add Yoshinori Sato and Rich Felker as maintainers for arch/sh (SUPERH). Signed-off-by: Rich Felker Signed-off-by: Yoshinori Sato Acked-by: D. Jeff Dionne Acked-by: Rob Landley Acked-by: Peter Zijlstra (Intel) Acked-by: Simon Horman Acked-by: Geert Uytterhoeven ---

Re: UBSAN: run-time undefined behavior sanity checker

2016-01-21 Thread Dave Jones
On Thu, Jan 21, 2016 at 08:57:17PM +, Linux Kernel wrote: > Web: > https://git.kernel.org/torvalds/c/c6d308534aef6c99904bf5862066360ae067abc4 > Commit: c6d308534aef6c99904bf5862066360ae067abc4 > Parent: 68920c973254c5b71a684645c5f6f82d6732c5d6 > Refname:

RE: [PATCH v3 3/4] KVM: x86: Add lowest-priority support for vt-d posted-interrupts

2016-01-21 Thread Wu, Feng
> -Original Message- > From: Radim Krčmář [mailto:rkrc...@redhat.com] > Sent: Friday, January 22, 2016 4:17 AM > To: Wu, Feng > Cc: pbonz...@redhat.com; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: Re: [PATCH v3 3/4] KVM: x86: Add lowest-priority support for vt-d >

RE: [PATCH v3 2/4] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2016-01-21 Thread Wu, Feng
> -Original Message- > From: Radim Krčmář [mailto:rkrc...@redhat.com] > Sent: Friday, January 22, 2016 3:50 AM > To: Wu, Feng > Cc: pbonz...@redhat.com; linux-kernel@vger.kernel.org; > k...@vger.kernel.org > Subject: Re: [PATCH v3 2/4] KVM: x86: Use vector-hashing to deliver lowest- >

Re: [RFC PATCH] mmc: dw_mmc: remove redundant num_slots check

2016-01-21 Thread Jaehoon Chung
On 01/22/2016 12:07 PM, Shawn Lin wrote: > On 2016/1/22 10:46, Jaehoon Chung wrote: >> Hi, Shawn. >> >> On 01/21/2016 04:52 PM, Shawn Lin wrote: >>> num_slots comes from pdata if existing, otherwise from >>> dw_mci_parse_dt which make it at least one slot. If >>> num_slots is less than 1 for the

Re: [PATCH 0/6] perf core: Read from overwrite ring buffer

2016-01-21 Thread Wangnan (F)
On 2016/1/22 11:21, Alexei Starovoitov wrote: On Fri, Jan 22, 2016 at 10:21:19AM +0800, Wangnan (F) wrote: On 2016/1/21 14:51, Wangnan (F) wrote: On 2016/1/20 10:20, Alexei Starovoitov wrote: On Wed, Jan 20, 2016 at 09:37:42AM +0800, Wangnan (F) wrote: On 2016/1/20 1:42, Alexei

Re: [PATCH 2/2] i2c: enable i2c adapter to suspend/resume asynchronously

2016-01-21 Thread Fu, Zhonghui
Hi Wolfram, What do you think about this patch? Thanks, Zhonghui On 12/24/2015 10:44 PM, Fu, Zhonghui wrote: > Now, PM core supports asynchronous suspend/resume mode for devices > during system suspend/resume, and the power state transition of one > device may be completed in separate

Re: [PATCH 1/2] i2c: enable i2c device to suspend/resume asynchronously

2016-01-21 Thread Fu, Zhonghui
Hi Wolfram, What do you think about this patch? Thanks, Zhonghui On 12/24/2015 10:41 PM, Fu, Zhonghui wrote: > Now, PM core supports asynchronous suspend/resume mode for devices > during system suspend/resume, and the power state transition of one > device may be completed in separate

Re: [PATCH 2/2] mmc/sdhci-acpi: enable sdhci-acpi device to suspend/resume asynchronously

2016-01-21 Thread Fu, Zhonghui
On 1/12/2016 10:43 PM, Ulf Hansson wrote: > On 28 December 2015 at 16:41, Fu, Zhonghui > wrote: >> Now, PM core supports asynchronous suspend/resume mode for devices >> during system suspend/resume, and the power state transition of one >> device may be completed in separate kernel thread. PM

[PATCH 2/2 v2] mmc/sdhci-acpi: enable sdhci-acpi device to suspend/resume asynchronously

2016-01-21 Thread Fu, Zhonghui
This patch enables sdhci-acpi devices to suspend/resume asynchronously. This will improve system suspend/resume speed. After enabling the sdhci-acpi devices and all their child devices to suspend/resume asynchronously on ASUS T100TA, the system suspend-to-idle time is reduced from 1645ms to

Re: [PATCH 23/33] x86/asm/bpf: Create stack frames in bpf_jit.S

2016-01-21 Thread Alexei Starovoitov
On Thu, Jan 21, 2016 at 09:55:31PM -0600, Josh Poimboeuf wrote: > On Thu, Jan 21, 2016 at 06:44:28PM -0800, Alexei Starovoitov wrote: > > On Thu, Jan 21, 2016 at 04:49:27PM -0600, Josh Poimboeuf wrote: > > > bpf_jit.S has several callable non-leaf functions which don't honor > > >

[ANNOUNCE]: SCST 3.1 release

2016-01-21 Thread Vladislav Bolkhovitin
Hi All, I'm glad to announce that SCST version 3.1 has just been released and available for download from http://scst.sourceforge.net/downloads.html. Highlights for this release: - Cluster support for SCSI reservations. This feature is essential for initiator-side clustering approaches based

Re: [BUG] Regression introduced with "block: split bios to max possible length"

2016-01-21 Thread Linus Torvalds
On Thu, Jan 21, 2016 at 7:21 PM, Keith Busch wrote: > On Thu, Jan 21, 2016 at 05:12:13PM -0800, Linus Torvalds wrote: >> >> I assume that in this case it's simply that >> >> - max_sectors is some odd number in sectors (ie 65535) >> >> - the block size is larger than a sector (ie 4k) > >

Re: [PATCH 31/33] bpf: Add __bpf_prog_run() to stacktool whitelist

2016-01-21 Thread Josh Poimboeuf
On Thu, Jan 21, 2016 at 06:55:41PM -0800, Alexei Starovoitov wrote: > On Thu, Jan 21, 2016 at 04:49:35PM -0600, Josh Poimboeuf wrote: > > stacktool reports the following false positive warnings: > > > > stacktool: kernel/bpf/core.o: __bpf_prog_run()+0x5c: sibling call from > > callable

Re: [PATCH v3 2/4] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2016-01-21 Thread Yang Zhang
On 2016/1/22 1:21, rkrc...@redhat.com wrote: 2016-01-21 05:33+, Wu, Feng: From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Yang Zhang On 2016/1/20 9:42, Feng Wu wrote: + /* +* We may find a

[PATCH v3] HID: Support for CMedia CM6533 HID audio jack controls

2016-01-21 Thread Ben Chen
Thanks for your time. The C-Media CM6533 is a USB audio chip featuring it's jack detection capability.The device originates an interrupt transfer via HID interface each time when a jack event occurs. The purpose of this patch is to handle hid raw events to keep the operating system informed of

Re: [Xen-devel] [PATCH v2 16/16] ARM64: XEN: Initialize Xen specific UEFI runtime services

2016-01-21 Thread Shannon Zhao
On 2016/1/19 1:03, Stefano Stabellini wrote: > On Fri, 15 Jan 2016, Shannon Zhao wrote: >> > From: Shannon Zhao >> > >> > When running on Xen hypervisor, runtime services are supported through >> > hypercall. So call Xen specific function to initialize runtime services. >> > >> >

Re: [GIT PULL] NVMe changes for 4.5-rc1

2016-01-21 Thread Linus Torvalds
On Thu, Jan 21, 2016 at 1:27 PM, Jens Axboe wrote: > > Note that pulling this in will conflict with master, since the code was > forked off pretty early, and we had a good chunk of nvme fixes later in > the 4.4 cycle. Not just conflict, but conflict in bad ways. I don't think I'll be able to fix

Re: [PATCH 23/33] x86/asm/bpf: Create stack frames in bpf_jit.S

2016-01-21 Thread Josh Poimboeuf
On Thu, Jan 21, 2016 at 06:44:28PM -0800, Alexei Starovoitov wrote: > On Thu, Jan 21, 2016 at 04:49:27PM -0600, Josh Poimboeuf wrote: > > bpf_jit.S has several callable non-leaf functions which don't honor > > CONFIG_FRAME_POINTER, which can result in bad stack traces. > > > > Create a stack

Re: [PATCH] watchdog: Add watchdog timer support for the WinSystems EBC-C384

2016-01-21 Thread Guenter Roeck
On 01/21/2016 05:11 PM, William Breathitt Gray wrote: The WinSystems EBC-C384 has an onboard watchdog timer. The timeout range supported by the watchdog timer is 1 second to 255 minutes. Timeouts under 256 seconds have a 1 second resolution, while the rest have a 1 minute resolution. This

Re: [PATCH v3] kallsyms: add support for relative offsets in kallsyms address table

2016-01-21 Thread Michael Ellerman
On Thu, 2016-01-21 at 14:55 -0800, Kees Cook wrote: > On Thu, Jan 21, 2016 at 2:50 PM, Andrew Morton > wrote: > > On Thu, 21 Jan 2016 18:19:43 +0100 Ard Biesheuvel > > wrote: > > > > > Similar to how relative extables are implemented, it is possible to emit > > > the kallsyms table in such a

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

2016-01-21 Thread Horng-Shyang Liao
Hi Rob, On Wed, 2016-01-20 at 10:38 -0600, Rob Herring wrote: > On Wed, Jan 20, 2016 at 01:14:38PM +0800, hs.l...@mediatek.com wrote: > > From: HS Liao > > > > This adds documentation for the MediaTek Global Command Engine (GCE) unit > > found in MT8173 SoCs. > > > > Signed-off-by: HS Liao >

Re: [PATCH 1/2] mmc: enable mmc host device to suspend/resume asynchronously

2016-01-21 Thread Fu, Zhonghui
On 1/12/2016 10:42 PM, Ulf Hansson wrote: > On 28 December 2015 at 16:39, Fu, Zhonghui > wrote: >> Now, PM core supports asynchronous suspend/resume mode for devices >> during system suspend/resume, and the power state transition of one >> device may be completed in separate kernel thread. PM

[PATCH 1/2 v2] mmc: enable mmc host device to suspend/resume asynchronously

2016-01-21 Thread Fu, Zhonghui
This patch enables mmc hosts to suspend/resume asynchronously. This will improve system suspend/resume speed. After applying this patch and enabling all mmc hosts' child devices to suspend/resume asynchronously on ASUS T100TA, the system suspend-to-idle time is reduced from 1645ms to 1107ms, and

linux-next: Tree for Jan 22

2016-01-21 Thread Stephen Rothwell
Hi all, Please do not add any material for v4.6 to your linux-next included branches until after v4.5-rc1 is released. Changes since 20160121: The aio tree still had a build failure so I used the version from next-20160111. Non-merge commits (relative to Linus' tree): 1023 910 files changed

Re: [PATCH] mm: memcontrol: only manage socket pressure for CONFIG_INET

2016-01-21 Thread Masanari Iida
Hi, I hit this while I was testing 4.5-rc1 with randconfig during merger period. And now I noticed that it was fixed after Linus merged akpm branch. commit eae21770b4fed5597623aad0d618190fa60426ff Merge: e9f57eb 9f273c2 Author: Linus Torvalds Date: Thu Jan 21 12:32:08 2016 -0800 Merge

Re: [BUG] Regression introduced with "block: split bios to max possible length"

2016-01-21 Thread Keith Busch
On Thu, Jan 21, 2016 at 05:12:13PM -0800, Linus Torvalds wrote: > On Thu, Jan 21, 2016 at 2:51 PM, Keith Busch wrote: > > > > My apologies for the trouble. I trust it really is broken, but I don't > > quite see how. The patch supposedly splits the transfer to the max size > > the request queue

Re: [PATCH 0/6] perf core: Read from overwrite ring buffer

2016-01-21 Thread Alexei Starovoitov
On Fri, Jan 22, 2016 at 10:21:19AM +0800, Wangnan (F) wrote: > > > On 2016/1/21 14:51, Wangnan (F) wrote: > > > > > >On 2016/1/20 10:20, Alexei Starovoitov wrote: > >>On Wed, Jan 20, 2016 at 09:37:42AM +0800, Wangnan (F) wrote: > >>> > >>>On 2016/1/20 1:42, Alexei Starovoitov wrote: > On

[PATCH] bus: arm-cci: Add missing of_node_put

2016-01-21 Thread Amitoj Kaur Chawla
for_each_child_of_node performs an of_node_get on each iteration, so to break out of the loop an of_node_put is required. Found using Coccinelle. The semantic patch used for this is as follows: // @@ expression e; local idexpression n; @@ for_each_child_of_node(n, ...) { ... when !=

Re: [PATCH RFC] locking/mutexes: don't spin on owner when wait list is not NULL.

2016-01-21 Thread Paul E. McKenney
On Thu, Jan 21, 2016 at 06:48:54PM -0800, Davidlohr Bueso wrote: > On Thu, 21 Jan 2016, Paul E. McKenney wrote: > > >I did some testing, which exposed it to the 0day test robot, which > >did note some performance differences. I was hoping that it would > >clear up some instability from other

Re: [RFC PATCH] mmc: dw_mmc: remove redundant num_slots check

2016-01-21 Thread Shawn Lin
On 2016/1/22 10:46, Jaehoon Chung wrote: Hi, Shawn. On 01/21/2016 04:52 PM, Shawn Lin wrote: num_slots comes from pdata if existing, otherwise from dw_mci_parse_dt which make it at least one slot. If num_slots is less than 1 for the existing pdata case, current code return -ENODEV. But

Re: linux-4.4 bisected: kwin5 stuck on kde5 loading screen with radeon

2016-01-21 Thread Michel Dänzer
[ Trimming KDE folks from Cc ] On 21.01.2016 19:09, Daniel Vetter wrote: > On Thu, Jan 21, 2016 at 05:36:46PM +0900, Michel Dänzer wrote: >> On 21.01.2016 16:58, Daniel Vetter wrote: >>> >>> Can you please point me at the vblank on/off jump bug please? >> >> AFAIR I originally reported it in

Re: linux-next: build failure after merge of the akpm tree

2016-01-21 Thread Stephen Rothwell
Hi all, On Fri, 22 Jan 2016 11:24:42 +1100 Stephen Rothwell wrote: > > On Thu, 21 Jan 2016 07:38:59 +1100 Stephen Rothwell > wrote: > > > > On Wed, 20 Jan 2016 15:09:47 +0100 Takashi Iwai wrote: > > > > > > On Sat, 16 Jan 2016 09:51:29 +0100, > > > Takashi Iwai wrote: > > > > > > > >

Re: [PATCH 31/33] bpf: Add __bpf_prog_run() to stacktool whitelist

2016-01-21 Thread Alexei Starovoitov
On Thu, Jan 21, 2016 at 04:49:35PM -0600, Josh Poimboeuf wrote: > stacktool reports the following false positive warnings: > > stacktool: kernel/bpf/core.o: __bpf_prog_run()+0x5c: sibling call from > callable instruction with changed frame pointer > stacktool: kernel/bpf/core.o:

Re: [PATCH RFC] locking/mutexes: don't spin on owner when wait list is not NULL.

2016-01-21 Thread Davidlohr Bueso
On Thu, 21 Jan 2016, Paul E. McKenney wrote: I did some testing, which exposed it to the 0day test robot, which did note some performance differences. I was hoping that it would clear up some instability from other patches, but no such luck. ;-) Oh, that explains why we got a performance

Re: [lkp] [locking/mutexes] cb4bbc457b: -40.0% unixbench.score

2016-01-21 Thread Davidlohr Bueso
On Fri, 22 Jan 2016, kernel test robot wrote: FYI, we noticed the below changes on https://github.com/0day-ci/linux Ding-Tianhong/locking-mutexes-don-t-spin-on-owner-when-wait-list-is-not-NULL/20160121-173317 commit cb4bbc457bfed6194ffab1b10c7be73b3f16ca2d ("locking/mutexes: don't

Re: [RFC PATCH] mmc: dw_mmc: remove redundant num_slots check

2016-01-21 Thread Jaehoon Chung
Hi, Shawn. On 01/21/2016 04:52 PM, Shawn Lin wrote: > num_slots comes from pdata if existing, otherwise from > dw_mci_parse_dt which make it at least one slot. If > num_slots is less than 1 for the existing pdata case, > current code return -ENODEV. But dw_mci_probe seems to > treat this a

Re: [PATCH 23/33] x86/asm/bpf: Create stack frames in bpf_jit.S

2016-01-21 Thread Alexei Starovoitov
On Thu, Jan 21, 2016 at 04:49:27PM -0600, Josh Poimboeuf wrote: > bpf_jit.S has several callable non-leaf functions which don't honor > CONFIG_FRAME_POINTER, which can result in bad stack traces. > > Create a stack frame before the call instructions when > CONFIG_FRAME_POINTER is enabled. > >

Re: linux-next: build failure after merge of the akpm tree

2016-01-21 Thread Stephen Rothwell
Hi all, On Fri, 22 Jan 2016 11:24:42 +1100 Stephen Rothwell wrote: > > On Thu, 21 Jan 2016 07:38:59 +1100 Stephen Rothwell > wrote: > > > > On Wed, 20 Jan 2016 15:09:47 +0100 Takashi Iwai wrote: > > > > > > On Sat, 16 Jan 2016 09:51:29 +0100, > > > Takashi Iwai wrote: > > > > > > > >

Re: [PATCH RFC] locking/mutexes: don't spin on owner when wait list is not NULL.

2016-01-21 Thread Paul E. McKenney
On Thu, Jan 21, 2016 at 01:23:09PM -0800, Tim Chen wrote: > On Thu, 2016-01-21 at 17:29 +0800, Ding Tianhong wrote: > > > > > diff --git a/kernel/locking/mutex.c b/kernel/locking/mutex.c > > index 0551c21..596b341 100644 > > --- a/kernel/locking/mutex.c > > +++ b/kernel/locking/mutex.c > > @@

Re: [PATCH 0/6] perf core: Read from overwrite ring buffer

2016-01-21 Thread Wangnan (F)
On 2016/1/21 14:51, Wangnan (F) wrote: On 2016/1/20 10:20, Alexei Starovoitov wrote: On Wed, Jan 20, 2016 at 09:37:42AM +0800, Wangnan (F) wrote: On 2016/1/20 1:42, Alexei Starovoitov wrote: On Tue, Jan 19, 2016 at 11:16:44AM +, Wang Nan wrote: This patchset introduces two methods to

  1   2   3   4   5   6   7   8   9   10   >