[PATCH 2/5] mdacon: make mda_vram_base u16 *

2016-07-15 Thread Jiri Slaby
Given every user of mda_vram_base expects a pointer, let mda_vram_base be a pointer to u16. The offset calculation in mda_detect had to be adjusted by / 2 (due to different pointer arithmetic now). We introduce a cast to a value returned from VGA_MAP_MEM. But I will change VGA_MAP_MEM to return

[PATCH 3/5] mdacon: replace MDA_ADDR macro by inline function

2016-07-15 Thread Jiri Slaby
MDA_ADDR is one of those macros which could be an inline function. So convert MDA_ADDR to mda_addr. Signed-off-by: Jiri Slaby --- drivers/video/console/mdacon.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git

[PATCH] kernel-doc: Fix up warning output

2016-07-15 Thread Daniel Vetter
While trying to make gpu docs warning free I stumbled over one output which wasn't following proper compiler error output standards. Fix it up for more quickfix awesomeness. Cc: Jonathan Corbet Cc: Jani Nikula Cc: linux-...@vger.kernel.org Signed-off-by:

Re: Memory and IO space Enabling different in x86 and ARM64

2016-07-15 Thread Arnd Bergmann
On Friday, July 15, 2016 8:29:49 AM CEST Bharat Kumar Gogada wrote: > I observe that memory and IO space are enabled by BIOS in x86. > > In ARM64 we need to call pci_enable_device form End Point to enable these > resources. > > Why the resource enablement is different in x86 and ARM64 ? > >

Re: [PATCH] x86/tsc: remove the unused check_tsc_disabled()

2016-07-15 Thread Ingo Molnar
* Wei Jiangang wrote: > check_tsc_disabled() was introduced by commit c73deb6aecda ("perf/x86: > Add ability to calculate TSC from perf sample timestamps"). > The only caller arch_perf_update_userpage() had been refactored > by commit fa9cbf320e99 ("perf/x86: Move

Re: linux-next: manual merge of the akpm tree with the arm tree

2016-07-15 Thread Russell King
On Fri, Jul 15, 2016 at 06:29:47PM +1000, Stephen Rothwell wrote: > Hi Andrew, > > Today's linux-next merge of the akpm tree got a conflict in: > > arch/arm/mm/dma-mapping.c > > between commits: > > f12708965069 ("ARM: 8561/3: dma-mapping: Don't use outer_flush_range when > the L2C is

Re: [PATCH] media: Doc add missing documentation for samsung,exynos4212-jpeg

2016-07-15 Thread Krzysztof Kozlowski
On 07/15/2016 10:28 AM, Jacek Anaszewski wrote: > On 07/15/2016 10:17 AM, Krzysztof Kozlowski wrote: >> On 07/15/2016 10:14 AM, Jacek Anaszewski wrote: However if these compatibles are exactly equal then only one should be preferred. It makes everything easier. Second can be still

Re: [PATCH v2 1/2] net: ethernet: ethoc: use phydev from struct net_device

2016-07-15 Thread Tobias Klauser
On 2016-07-15 at 09:59:11 +0200, Philippe Reynes wrote: > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phy in the private structure, and update the driver to use the > one

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

2016-07-15 Thread Tobias Klauser
On 2016-07-15 at 09:59:12 +0200, Philippe Reynes wrote: > There are two generics functions phy_ethtool_{get|set}_link_ksettings, > so we can use them instead of defining the same code in the driver. > > Signed-off-by: Philippe Reynes Reviewed-by: Tobias

Re: [PATCH v1] x86, kasan, ftrace: Put APIC interrupt handlers into .irqentry.text

2016-07-15 Thread kbuild test robot
-interrupt-handlers-into-irqentry-text/20160715-152601 config: x86_64-acpi-redef (attached as .config) compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All warnings (new ones prefixed by >>): >> ar

Re: [PATCH] media: Doc add missing documentation for samsung,exynos4212-jpeg

2016-07-15 Thread Krzysztof Kozlowski
On 07/15/2016 11:18 AM, Jacek Anaszewski wrote: > On 07/15/2016 10:33 AM, Krzysztof Kozlowski wrote: >> On 07/15/2016 10:28 AM, Jacek Anaszewski wrote: >>> On 07/15/2016 10:17 AM, Krzysztof Kozlowski wrote: On 07/15/2016 10:14 AM, Jacek Anaszewski wrote: >> However if these compatibles

Re: [PATCH] media: Doc add missing documentation for samsung,exynos4212-jpeg

2016-07-15 Thread Jacek Anaszewski
On 07/15/2016 11:30 AM, Krzysztof Kozlowski wrote: On 07/15/2016 11:18 AM, Jacek Anaszewski wrote: On 07/15/2016 10:33 AM, Krzysztof Kozlowski wrote: On 07/15/2016 10:28 AM, Jacek Anaszewski wrote: On 07/15/2016 10:17 AM, Krzysztof Kozlowski wrote: On 07/15/2016 10:14 AM, Jacek Anaszewski

Re: [PATCH] ARM: tegra: fix erroneous address in dts

2016-07-15 Thread Ralf Ramsauer
On 07/15/2016 12:02 AM, Thierry Reding wrote: > On Thu, Jul 14, 2016 at 06:48:57PM +0200, Ralf Ramsauer wrote: >> c90bb7b enabled the high speed UARTs of the Jetson TK1. The address >> specification inside the dts is wrong. Fix it and use the correct >> address. >> >> Fixes: c90bb7b9b9 ("ARM:

Re: [PATCH v2 02/10] irqchip: add irqchip driver for nuc900

2016-07-15 Thread Wan ZongShun
2016-07-15 15:00 GMT+08:00 Arnd Bergmann : > On Friday, July 15, 2016 1:15:58 PM CEST Wan Zongshun wrote: >> >> Actually, I have two choice to implement this function: >> >> option1: >> >> void __exception_irq_entry aic_handle_irq(struct pt_regs *regs) >> { >> u32 hwirq; >>

Re: [PATCH v9 3/4] perf: xgene: Add APM X-Gene SoC Performance Monitoring Unit driver

2016-07-15 Thread Mark Rutland
On Thu, Jul 14, 2016 at 11:05:48AM -0700, Tai Tri Nguyen wrote: > Hi Joe, > > On Thu, Jul 14, 2016 at 10:54 AM, Tai Tri Nguyen wrote: > > Hi Joe, > > > > On Thu, Jul 14, 2016 at 10:47 AM, Joe Perches wrote: > >> On Thu, 2016-07-14 at 10:27 -0700, Tai Nguyen

[PATCH v4 2/8] drm/mediatek: add *driver_data for different hardware settings

2016-07-15 Thread YT Shen
There are some hardware settings changed, between MT8173 & MT2701: DISP_OVL address offset changed, color format definition changed. DISP_RDMA fifo size changed. DISP_COLOR offset changed. And add prefix for mtk_ddp_main & mtk_ddp_ext & mutex_mod. Signed-off-by: YT Shen ---

Re: [PATCH v2 06/14] ARM: sun8i: clk: Add clk-factor rate application method

2016-07-15 Thread Maxime Ripard
On Fri, Jul 01, 2016 at 02:53:52AM +0200, Ondřej Jirman wrote: > On 30.6.2016 22:40, Maxime Ripard wrote: > > Hi, > > > > On Sat, Jun 25, 2016 at 05:45:03AM +0200, meg...@megous.com wrote: > >> From: Ondrej Jirman > >> > >> PLL1 on H3 requires special factors application

[RFCv2 3/4] perf: util: only open events on CPUs an evsel permits

2016-07-15 Thread Mark Rutland
In systems with heterogeneous CPU PMUs, it's possible for each evsel to cover a distinct set of CPUs, and hence the cpu_map associated with each evsel may have a distinct idx<->id mapping. Any of these may be distinct from the evlist's cpu map. Events can be tied to the same fd so long as they

[PATCH v4 1/8] drm/mediatek: rename macros, add chip prefix

2016-07-15 Thread YT Shen
Add MT8173 prefix for hardware related macros. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 60 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_drm_ddp.c

[PATCH v4 3/8] drm/mediatek: add shadow register support

2016-07-15 Thread YT Shen
We need to acquire mutex before using the resources, and need to release it after finished. So we don't need to write registers in the blanking period. Signed-off-by: YT Shen --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 75 +++

Re: [PATCH v2 06/14] ARM: sun8i: clk: Add clk-factor rate application method

2016-07-15 Thread Maxime Ripard
On Fri, Jul 01, 2016 at 02:50:57AM +0200, Ondřej Jirman wrote: > >> /** > >> + * sun8i_h3_apply_pll1_factors() - applies n, k, m, p factors to the > >> + * register using an algorithm that tries to reserve the PLL lock > >> + */ > >> + > >> +static void sun8i_h3_apply_pll1_factors(struct

Re: [PATCH 1/2] usb: typec: Add USB Power Delivery sink port support

2016-07-15 Thread Greg Kroah-Hartman
On Fri, Jul 15, 2016 at 01:38:12PM +0300, Felipe Balbi wrote: > > Hi, > > Bin Gao writes: > > +static void print_message(int port, bool is_cmsg, u8 msg, bool recv) > > +{ > > + pr_info("sink port %d: %s message %s %s\n", port, > > + is_cmsg ?

Re: [PATCH 08/36] usb: serial: ti_usb_3410_5052: Remove useless dev_dbg messages

2016-07-15 Thread Johan Hovold
On Thu, May 12, 2016 at 10:48:40AM +0200, Mathieu OTHACEHE wrote: > Remove useless or redundant dev_dbg messages. > Fix debug-message typos. > > Signed-off-by: Mathieu OTHACEHE > --- > drivers/usb/serial/ti_usb_3410_5052.c | 28 +--- > 1 file

Re: [PATCH] media: Doc add missing documentation for samsung,exynos4212-jpeg

2016-07-15 Thread Krzysztof Kozlowski
On 07/15/2016 10:14 AM, Jacek Anaszewski wrote: >> However if these compatibles are exactly equal then >> only one should be preferred. It makes everything easier. Second can be >> still documented e.g. as deprecated. > > Still, both of them are present in the driver. Shouldn't it be reflected >

BAS Email Внимание !!

2016-07-15 Thread POLYMER WEBMASTER BG
Вие сте превишили ограничението за съхранение на вашата пощенска кутия, кликнете по-долу линк за увеличаване на квотата limit.Click тук: = >> http://web-intech-bg.yolasite.com/ Техническа поддръжка 192.168.0.1 BAS ADMIN

Re: System freezes after OOM

2016-07-15 Thread Michal Hocko
Let me paste the patch with the full changelog and the explanation so that we can reason about it more easily. If I am making some false assumptions then please point them out. --- >From ed46e3f7f5a6e896331eeadc9d09e2796acb3d01 Mon Sep 17 00:00:00 2001 From: Michal Hocko Date:

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

2016-07-15 Thread Philippe Reynes
There are two generics functions phy_ethtool_{get|set}_link_ksettings, so we can use them instead of defining the same code in the driver. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/smsc/smsc9420.c | 24 ++-- 1 files changed, 2

[PATCH 1/2] net: ethernet: smsc9420: use phydev from struct net_device

2016-07-15 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes ---

Re: [patch V2 30/67] powerpc/numa: Convert to hotplug state machine

2016-07-15 Thread Ingo Molnar
* Anton Blanchard wrote: > Hi Anna-Maria, > > > >> Install the callbacks via the state machine and let the core invoke > > >> the callbacks on the already online CPUs. > > > > > > This is causing an oops on ppc64le QEMU, looks like a NULL > > > pointer: > > > > Did you

Re: [PATCH v1 0/3] Add Hisilicon MDIO bus driver and FEMAC driver

2016-07-15 Thread Dongpo Li
Hi Arnd, On 2016/7/15 16:41, Arnd Bergmann wrote: > On Friday, July 15, 2016 4:26:32 PM CEST Dongpo Li wrote: >> This patch set adds a Hisilicon MDIO bus driver and >> a Fast Ethernet MAC(FEMAC) driver. >> We also abstract a general interface "of_phy_get_and_connect" >> for PHY connect. User will

Re: [PATCH] metag: Remove duplicate KERN_ prefix

2016-07-15 Thread James Hogan
Hi Joe, On Thu, Jul 14, 2016 at 10:10:13AM -0700, Joe Perches wrote: > Use a bare printk to avoid a duplicate KERN_ in logging output. > > Signed-off-by: Joe Perches Thanks, applied for 4.8. This appears to have been introduced accidentally while I was checkpatch cleaning

[PATCH 1/4] usb: host: xhci: Move the xhci quirks checking to the right place

2016-07-15 Thread Baolin Wang
It will reset the xhci quirks in xhci_gen_setup() function when xhci try to add one hcd, thus we need to move the XHCI_LPM_SUPPORT quirk checking after adding hcd. Signed-off-by: Baolin Wang --- drivers/usb/host/xhci-plat.c |8 1 file changed, 4

[PATCH 3/4] usb: dwc3: core: Move the mode setting to the right place

2016-07-15 Thread Baolin Wang
When dwc3 core enters into suspend mode, the system (especially for mobile device) may power off the dwc3 controller for power saving, that will cause dwc3 controller lost the mode operation when resuming dwc3 core. Thus we can move the mode setting into dwc3_core_init() function to avoid this

[PATCH 0/4] Support dwc3 host suspend/resume

2016-07-15 Thread Baolin Wang
For mobile devices, they usually require very strict power management. Such as dwc3 controller, we should enter suspend mode when no cable plug in, then we can power off the dwc3 controller for saving power. Now dwc3 gadget can support suspend/resume well, but we also want to suspend/ resume the

[PATCH 2/4] usb: host: xhci: Introduce one new 'usb3_slow_suspend' member for xhci private data

2016-07-15 Thread Baolin Wang
Now some usb controllers (such as dwc3 controller) need 'XHCI_SLOW_SUSPEND' quirk when suspending the xhci, thus we need to add 'usb3_slow_suspend' member in xhci platform data to support this. Signed-off-by: Baolin Wang --- drivers/usb/host/xhci-plat.c |3 +++

[PATCH 1/3] xen-blkfront: fix places not updated after introducing 64KB page granularity

2016-07-15 Thread Bob Liu
Two places didn't get updated when 64KB page granularity was introduced, this patch fix them. Signed-off-by: Bob Liu --- drivers/block/xen-blkfront.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/xen-blkfront.c

[PATCH 1/1] mfd: qcom_rpm: add missing of_node_put after calling of_parse_phandle

2016-07-15 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Cc: Bjorn Andersson Cc: Lee Jones Signed-off-by: Peter Chen --- drivers/mfd/qcom_rpm.c | 1 + 1 file changed, 1

Re: [PATCH 7/8] uio: bind uio_dmem_genirq via OF

2016-07-15 Thread Russell King - ARM Linux
On Fri, Jul 15, 2016 at 02:34:02PM +0530, Anup Patel wrote: > +static int uio_dmem_genirq_alloc_platdata(struct platform_device *pdev) > +{ > + struct uio_dmem_genirq_pdata pdata; > + u32 dma_bits, regions; > + u32 sizes[MAX_UIO_MAPS]; > + int ret; > + > + memset(, 0,

[PATCH v2 2/4] iio: adc: add support for Allwinner SoCs ADC

2016-07-15 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch adds the ADC driver which is based on the MFD for the same SoCs ADC. This also registers the thermal adc channel in the iio map array so iio_hwmon could use it without modifying the

[PATCH v2 4/4] hwmon: iio: add label for channels read by iio_hwmon

2016-07-15 Thread Quentin Schulz
Currently, iio_hwmon only exposes values of the IIO channels it can read but no label by channel is exposed. This adds exposition of sysfs files containing label for IIO channels it can read based on extended_name field of the iio_chan_spec of the channel. If the extended_name field is empty, the

[PATCH v2 3/4] mfd: add support for Allwinner SoCs ADC

2016-07-15 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. For now, only the ADC and the thermal sensor drivers are probed by the MFD, the touchscreen controller support will be added later. Signed-off-by: Quentin Schulz

[PATCH v2 1/4] hwmon: iio_hwmon: defer probe when no channel is found

2016-07-15 Thread Quentin Schulz
iio_channel_get_all returns -ENODEV when it cannot find either phandles and properties in the Device Tree or channels whose consumer_dev_name matches iio_hwmon in iio_map_list. The iio_map_list is filled in by iio drivers which might be probed after iio_hwmon. It is better to defer the probe of

[PATCH v2 0/4] add support for Allwinner SoCs ADC

2016-07-15 Thread Quentin Schulz
The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. The first four channels can be used either for the ADC or the touchscreen and the fifth channel is used for the thermal sensor. We currently have a driver for the two latter functions in

Dear Friend,

2016-07-15 Thread mario dunne
Dear Friend, Greetings to you i sent you a letter a month ago, but I'm not sure if you got it, I have not heard from you, and this is the reason why i repeat this again.

[PATCH 03/14] resource limits: track highwater mark of file sizes

2016-07-15 Thread Topi Miettinen
Track maximum size of files created, to be able to configure RLIMIT_FSIZE resource limits. The information is available with taskstats and cgroupstats netlink socket. Signed-off-by: Topi Miettinen --- fs/attr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/attr.c

[PATCH 1/2] net: ethernet: ti: cpmac: use phydev from struct net_device

2016-07-15 Thread Philippe Reynes
The private structure contain a pointer to phydev, but the structure net_device already contain such pointer. So we can remove the pointer phy in the private structure, and update the driver to use the one contained in struct net_device. Signed-off-by: Philippe Reynes ---

[PATCH 06/14] resource limits: track highwater mark of cores dumped

2016-07-15 Thread Topi Miettinen
Track maximum size of core dump written, to be able to configure RLIMIT_CORE resource limits. The information is available with taskstats and cgroupstats netlink socket. Signed-off-by: Topi Miettinen --- fs/coredump.c | 11 --- 1 file changed, 8 insertions(+), 3

[PATCH 04/14] resource limits: track highwater mark of VM data segment

2016-07-15 Thread Topi Miettinen
Track maximum size of data VM, to be able to configure RLIMIT_DATA resource limits. The information is available with taskstats and cgroupstats netlink socket. Signed-off-by: Topi Miettinen --- arch/x86/ia32/ia32_aout.c | 2 ++ fs/binfmt_aout.c | 2 ++

Re: [PATCH v15 01/10] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2016-07-15 Thread Catalin Marinas
On Fri, Jul 08, 2016 at 12:35:45PM -0400, David Long wrote: > --- a/arch/arm64/include/asm/ptrace.h > +++ b/arch/arm64/include/asm/ptrace.h > @@ -74,6 +74,7 @@ > #define COMPAT_PT_DATA_ADDR 0x10004 > #define COMPAT_PT_TEXT_END_ADDR 0x10008 > #ifndef __ASSEMBLY__ >

Re: [PATCH 12/36] usb: serial: ti_usb_3410_5052: Use generic read/write callbacks

2016-07-15 Thread Johan Hovold
On Thu, May 12, 2016 at 10:48:44AM +0200, Mathieu OTHACEHE wrote: > Remove read_bulk_callback, write_bulk_callback, write, write_room, > chars_in_buffer, throttle and unthrottle callbacks who uselessly > reimplements generic functions. > > Signed-off-by: Mathieu OTHACEHE >

Re: [PATCH 16/36] usb: serial: ti_usb_3410_5052: Use bulk_out_size in TIOCGSERIAL

2016-07-15 Thread Johan Hovold
On Thu, May 12, 2016 at 10:48:48AM +0200, Mathieu OTHACEHE wrote: > Use bulk_out_size instead of recalculate it with kfifo_size > > Signed-off-by: Mathieu OTHACEHE > --- > drivers/usb/serial/ti_usb_3410_5052.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH RESEND] iwlwifi, Do not implement thermal zone unless ucode is loaded

2016-07-15 Thread Stanislaw Gruszka
On Thu, Jul 14, 2016 at 09:44:22AM +, Grumbach, Emmanuel wrote: > > If I understad correctly this error happen 100% of the time, not only during > > init. Hence seems there is an issue here, i.e. cur_ucode is not marked > > correctly as IWL_UCODE_REGULAR or iwl_mvm_get_temp() fail 100% of the

Re: [PATCH 18/36] usb: serial: ti_usb_3410_5052: Change ti_write_byte function arguments

2016-07-15 Thread Johan Hovold
On Thu, May 12, 2016 at 10:48:50AM +0200, Mathieu OTHACEHE wrote: > Remove useless ti_device pointer, and change addr to u32. > Move function upper to avoid function prototyping. That's just noise. Having an occasional prototype is just fine. You may want to consider reordering functions for the

[PATCH] lkdtm: hide unused functions

2016-07-15 Thread Arnd Bergmann
A conversion of the lkdtm core module added an "#ifdef CONFIG_KPROBES" check, but a number of functions then become unused: drivers/misc/lkdtm_core.c:340:16: error: 'lkdtm_debugfs_entry' defined but not used [-Werror=unused-function] drivers/misc/lkdtm_core.c:122:12: error:

Re: [PATCH] ARM: exynos_defconfig: Enable bus frequency scaling with DEVFREQ/DEVFREQ-Event

2016-07-15 Thread Javier Martinez Canillas
Hello Chanwoo, On 07/14/2016 09:33 PM, Chanwoo Choi wrote: > This patch enables the bus frequency scaling driver with DEVFREQ and > DEVFREQ-Event framework. This patches already was merged for Odroid-U3/XU3 > ,Trats2 and Rinato/Monk boards. > > Signed-off-by: Chanwoo Choi

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

2016-07-15 Thread Tejun Heo
Hello, Linus. Optimization for setting unbound worker affinity masks collided with recent scheduler changes triggering warning messages. This late pull request fixes the bug by removing the optimization. Thanks. The following changes since commit db06d759d6cf903aeda8c107fd3abd366dd80200:

Re: [PATCH v2 06/13] sched: Store maximum per-cpu capacity in root domain

2016-07-15 Thread Morten Rasmussen
On Thu, Jul 14, 2016 at 04:15:20PM +0100, Morten Rasmussen wrote: > On Thu, Jul 14, 2016 at 03:25:36PM +0200, Vincent Guittot wrote: > > On 13 July 2016 at 18:37, Morten Rasmussen wrote: > > > Also, for SMT max capacity is less than 1024 already. No? > > > > Yes, it is.

[tip:x86/mm] x86/mm: Remove kernel_unmap_pages_in_pgd() and efi_cleanup_page_tables()

2016-07-15 Thread tip-bot for Andy Lutomirski
Commit-ID: d92fc69ccac4c0a20679fdbdc81b2010685a6f33 Gitweb: http://git.kernel.org/tip/d92fc69ccac4c0a20679fdbdc81b2010685a6f33 Author: Andy Lutomirski AuthorDate: Thu, 14 Jul 2016 13:22:51 -0700 Committer: Ingo Molnar CommitDate: Fri, 15 Jul 2016

Re: System freezes after OOM

2016-07-15 Thread Mikulas Patocka
On Fri, 15 Jul 2016, Michal Hocko wrote: > On Thu 14-07-16 13:38:42, David Rientjes wrote: > > On Thu, 14 Jul 2016, Michal Hocko wrote: > > > > > > It prevents the whole system from livelocking due to an oom killed > > > > process > > > > stalling forever waiting for mempool_alloc() to

[tip:x86/mm] x86/dumpstack/64: Handle faults when printing the "Stack: " part of an OOPS

2016-07-15 Thread tip-bot for Andy Lutomirski
Commit-ID: 98f30b1207932b6553ea605c99393d8afca12324 Gitweb: http://git.kernel.org/tip/98f30b1207932b6553ea605c99393d8afca12324 Author: Andy Lutomirski AuthorDate: Thu, 14 Jul 2016 13:22:53 -0700 Committer: Ingo Molnar CommitDate: Fri, 15 Jul 2016

[tip:x86/mm] x86/dumpstack: Try harder to get a call trace on stack overflow

2016-07-15 Thread tip-bot for Andy Lutomirski
Commit-ID: 9a2e9da3e003112399f2863b7b6b911043c01895 Gitweb: http://git.kernel.org/tip/9a2e9da3e003112399f2863b7b6b911043c01895 Author: Andy Lutomirski AuthorDate: Thu, 14 Jul 2016 13:22:52 -0700 Committer: Ingo Molnar CommitDate: Fri, 15 Jul 2016

[tip:x86/mm] x86/mm/64: In vmalloc_fault(), use CR3 instead of current->active_mm

2016-07-15 Thread tip-bot for Andy Lutomirski
Commit-ID: 46aea3873401836abb7f01200e7946e7d518b359 Gitweb: http://git.kernel.org/tip/46aea3873401836abb7f01200e7946e7d518b359 Author: Andy Lutomirski AuthorDate: Thu, 14 Jul 2016 13:22:54 -0700 Committer: Ingo Molnar CommitDate: Fri, 15 Jul 2016

Re: [PATCH v7 4/9] acpi/arm64: Add GTDT table parse driver

2016-07-15 Thread Rafael J. Wysocki
On Friday, July 15, 2016 03:32:35 PM Fu Wei wrote: > Hi Rafael, > > > > On 14 July 2016 at 04:30, Rafael J. Wysocki wrote: > > On Wed, Jul 13, 2016 at 7:53 PM, wrote: > >> From: Fu Wei > >> > >> This patch adds support for parsing

Re: [PATCH 5/8] uio: fix dmem_region_start computation

2016-07-15 Thread Jan Viktorin
On Fri, 15 Jul 2016 20:32:24 +0900 Greg Kroah-Hartman wrote: > On Fri, Jul 15, 2016 at 02:34:00PM +0530, Anup Patel wrote: > > From: Jan Viktorin > > > > The variable i contains a total number of resources (including > > IORESOURCE_IRQ).

Re: [PATCH 2/2] workqueue:Fix affinity of an unbound worker of a node with 1 online CPU

2016-07-15 Thread Tejun Heo
On Fri, Jul 15, 2016 at 03:30:41PM +1000, Michael Ellerman wrote: > It looks like this still hasn't gone to Linus for 4.7? > > Could it please, it's a pretty nasty regression on our boxes. Sorry about that. Just sent out the pull request. Thanks. -- tejun

Re: [PATCH 22/36] usb: serial: ti_usb_3410_5052: Change ti_get/set_serial_info function arguments

2016-07-15 Thread Johan Hovold
On Thu, May 12, 2016 at 10:48:54AM +0200, Mathieu OTHACEHE wrote: > It is sufficient to pass usb_serial_port structure to ti_get_serial_info > and ti_set_serial_info. > > Also move functions above ioctl to avoid function prototyping > and use unsigned int instead of unsigned for cwait variable.

[v5.2 PATCH 5/5] drm/rockchip: cdn-dp: add cdn DP support for rk3399

2016-07-15 Thread Chris Zhong
Add support for cdn DP controller which is embedded in the rk3399 SoCs. The DP is compliant with DisplayPort Specification, Version 1.3, This IP is compatible with the rockchip type-c PHY IP. There is a uCPU in DP controller, it need a firmware to work, please put the firmware file to

[PATCH v1 1/3] net: Add MDIO bus driver for the Hisilicon FEMAC

2016-07-15 Thread Dongpo Li
This patch adds a separate driver for the MDIO interface of the Hisilicon Fast Ethernet MAC. Signed-off-by: Dongpo Li Reviewed-by: Jiancheng Xue Acked-by: Rob Herring --- .../bindings/net/hisilicon-femac-mdio.txt |

[PATCH v1 3/3] net: hisilicon: Add Fast Ethernet MAC driver

2016-07-15 Thread Dongpo Li
This patch adds the Hisilicon Fast Ethernet MAC(FEMAC) driver. The FEMAC supports max speed 100Mbps and has been used in many Hisilicon SoC. Signed-off-by: Dongpo Li Reviewed-by: Jiancheng Xue ---

[PATCH v1 0/3] Add Hisilicon MDIO bus driver and FEMAC driver

2016-07-15 Thread Dongpo Li
This patch set adds a Hisilicon MDIO bus driver and a Fast Ethernet MAC(FEMAC) driver. We also abstract a general interface "of_phy_get_and_connect" for PHY connect. User will have no bother with getting "phy-mode" and "phy-handle" any more. Changes in v1: - Pass private data structure instead of

Re: [PATCH 1/2] usb: typec: Add USB Power Delivery sink port support

2016-07-15 Thread Oliver Neukum
On Fri, 2016-07-15 at 10:25 +0300, Felipe Balbi wrote: > > +int pd_sink_queue_msg(struct pd_sink_msg *msg) > > +{ > > + unsigned long flags; > > + struct pd_sink_port *port; > > + > > + if (msg->port < 0 || msg->port >= MAX_NR_SINK_PORTS) { > > + pr_err("Invalid port

Re: [PATCH] media: Doc add missing documentation for samsung,exynos4212-jpeg

2016-07-15 Thread Jacek Anaszewski
On 07/15/2016 10:33 AM, Krzysztof Kozlowski wrote: On 07/15/2016 10:28 AM, Jacek Anaszewski wrote: On 07/15/2016 10:17 AM, Krzysztof Kozlowski wrote: On 07/15/2016 10:14 AM, Jacek Anaszewski wrote: However if these compatibles are exactly equal then only one should be preferred. It makes

Re: [PATCH v2 2/5] locking/pvqspinlock: Fix missed PV wakeup problem

2016-07-15 Thread Peter Zijlstra
On Fri, Jul 15, 2016 at 05:39:46PM +0800, Pan Xinhui wrote: > >I'm thinking you're trying to say this: > > > > > >CPU0 CPU1CPU2 > > > >__pv_queued_spin_unlock_slowpath() > > ... > > smp_store_release(>locked, 0); > >

Re: powerpc/pmac/smp: Add missing FROZEN hotplug notifier transitions

2016-07-15 Thread Michael Ellerman
On Mon, 2016-04-04 at 09:30:01 UTC, Anna-Maria Gleixner wrote: > The FROZEN transitions are used when a CPU suspends/resumes. In case > of a suspend/resume, only the up prepare (CPU_UP_PREPARE_FROZEN) is > handled. The error handling transition CPU_UP_CANCELED_FROZEN as well > as the

Re: [PATCH 07/36] usb: serial: ti_usb_3410_5052: Remove closing_wait module parameter

2016-07-15 Thread Johan Hovold
On Thu, May 12, 2016 at 10:48:39AM +0200, Mathieu OTHACEHE wrote: > Closing wait delay is configurable per device using TIOCSSERIAL. Please try to make the commit messages self-contained and not rely on the commit summary to make sense. > Also initialise tty_port closing_wait in port_probe with

Re: System freezes after OOM

2016-07-15 Thread Mikulas Patocka
On Thu, 14 Jul 2016, David Rientjes wrote: > There is no guarantee that _anything_ can return memory to the mempool, You misunderstand mempools if you make such claims. There is in fact guarantee that objects will be returned to mempool. In the past I reviewed device mapper thoroughly to

Re: System freezes after OOM

2016-07-15 Thread Mikulas Patocka
On Fri, 15 Jul 2016, Michal Hocko wrote: > On Thu 14-07-16 13:35:35, Mikulas Patocka wrote: > > On Thu, 14 Jul 2016, Michal Hocko wrote: > > > On Thu 14-07-16 10:00:16, Mikulas Patocka wrote: > > > > But it needs other changes to honor the PF_LESS_THROTTLE flag: > > > > > > > > static int

Re: [PATCH 24/36] usb: serial: ti_usb_3410_5052: Use usb_serial_generic_open

2016-07-15 Thread Johan Hovold
On Thu, May 12, 2016 at 10:48:56AM +0200, Mathieu OTHACEHE wrote: > Use usb_serial_generic_open in open callback to start read urb. > Also remove useless usb_device pointer. > > Signed-off-by: Mathieu OTHACEHE > --- > drivers/usb/serial/ti_usb_3410_5052.c | 21

[PATCH 1/5] mdacon: align code in mda_detect properly

2016-07-15 Thread Jiri Slaby
This is just a whitespace cleanup. The code was a mess having multiple commands on one line like: scr_writew(0xAA55, p); if (scr_readw(p) == 0xAA55) count++; Indent that properly and make it nicer for reading. Signed-off-by: Jiri Slaby --- drivers/video/console/mdacon.c | 60

[PATCH 4/5] m32r, microblaze, x86, xtensa: use generic vga.h

2016-07-15 Thread Jiri Slaby
What these architectures declare is the same as what can be found in asm-generic/vga.h. So use that header instead. Signed-off-by: Jiri Slaby Cc: Michal Simek Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin"

[PATCH 5/5] frv, mn10300, s390, sh: remove empty vga.h

2016-07-15 Thread Jiri Slaby
Provided the architectures do not need any special handling (they seem not to support vga at all, actually), there is no need to have an empty vga.h. Let them refer to the generic one instead. Signed-off-by: Jiri Slaby Cc: David Howells Cc: Martin

Re: [PATCH v1 0/3] Add Hisilicon MDIO bus driver and FEMAC driver

2016-07-15 Thread Arnd Bergmann
On Friday, July 15, 2016 4:26:32 PM CEST Dongpo Li wrote: > This patch set adds a Hisilicon MDIO bus driver and > a Fast Ethernet MAC(FEMAC) driver. > We also abstract a general interface "of_phy_get_and_connect" > for PHY connect. User will have no bother with getting > "phy-mode" and

Re: [PATCH v15 00/10] arm64: Add kernel probes (kprobes) support

2016-07-15 Thread Alex Bennée
Marc Zyngier writes: > On 15/07/16 08:50, Catalin Marinas wrote: >> On Thu, Jul 14, 2016 at 01:09:08PM -0400, William Cohen wrote: >>> On 07/14/2016 12:22 PM, Catalin Marinas wrote: On Fri, Jul 08, 2016 at 12:35:44PM -0400, David Long wrote: > David A. Long (3):

[PATCH 1/7] ARM: dts: at91: ariag25 : fix onewire node

2016-07-15 Thread Alexandre Belloni
Remove the unit-address from the oneiwire node as it doesn't have a reg property. Solves: Warning (unit_address_vs_reg): Node /onewire@0 has a unit name, but no reg property Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-ariag25.dts | 2 +- 1

[PATCH 1/1] memory: emif: add missing of_node_put after calling of_parse_phandle

2016-07-15 Thread Peter Chen
of_node_put needs to be called when the device node which is got from of_parse_phandle has finished using. Signed-off-by: Peter Chen --- drivers/memory/emif.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/memory/emif.c b/drivers/memory/emif.c index

[RFCv2 1/4] perf stat: balance opening and reading events

2016-07-15 Thread Mark Rutland
In create_perf_stat_counter, when a target CPU has not been provided, we call __perf_evsel__open with empty_cpu_map, and open a single FD per thread. However, in read_counter we assume that we opened events for the product of threads and CPUs described in the evsel's cpu_map. Thus, if an evsel

[RFCv2 2/4] perf: util: Add more cpu_map helpers

2016-07-15 Thread Mark Rutland
In some cases it's necessry to figure out the map-local index of a given Linux logical CPU ID. Add a new helper, cpu_map__idx, to acquire this. As the logic is largely the same as the existing cpu_map__has, this is rewritten in terms of the new helper. At the same time, add the inverse operation,

[PATCH v4 0/8] MT2701 DRM support

2016-07-15 Thread YT Shen
This is MT2701 DRM support PATCH v4, based on 4.7-rc1. We add DSI interrupt control, transfer function for MIPI DSI panel support. Most codes are the same, except some register changed. For example: - DISP_OVL address offset changed, color format definition changed. - DISP_RDMA fifo size

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

2016-07-15 Thread 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 '.text' section. So there exists an offset

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

2016-07-15 Thread Song Shan Gong
Change log: >From V1: 1.change func name from 'fix__arch_module_baseaddr' to 'fix__arch_module_text_start'; 2.Parse '.text' start addr from 'sys' through 'sysfs__read_ull', not 'hex2u64()'; 2.Perfect code: check return value and allocated pointer by 'strdup'. Song Shan Gong (1): s390/perf: fix

[PATCH 10/14] resource limits: track highwater mark of address space size

2016-07-15 Thread Topi Miettinen
Track maximum size of address space, to be able to configure RLIMIT_AS resource limits. The information is available with taskstats and cgroupstats netlink socket. Signed-off-by: Topi Miettinen --- mm/mmap.c | 4 mm/mremap.c | 3 +++ 2 files changed, 7 insertions(+)

[PATCH 08/14] resource limits: track highwater mark of number of files

2016-07-15 Thread Topi Miettinen
Track maximum number of files for the process, to be able to configure RLIMIT_NOFILE resource limits. The information is available with taskstats and cgroupstats netlink socket. Signed-off-by: Topi Miettinen --- fs/file.c | 4 1 file changed, 4 insertions(+) diff --git

[PATCH 13/14] resource limits: track highwater mark of niceness

2016-07-15 Thread Topi Miettinen
Track maximum nice priority, to be able to configure RLIMIT_NICE resource limits. The information is available with taskstats and cgroupstats netlink socket. Signed-off-by: Topi Miettinen --- kernel/sched/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 14/14] resource limits: track highwater mark of RT priority

2016-07-15 Thread Topi Miettinen
Track maximum RT priority, to be able to configure RLIMIT_RTPRIO resource limits. The information is available with taskstats and cgroupstats netlink socket. Signed-off-by: Topi Miettinen --- kernel/sched/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 05/36] usb: serial: ti_usb_3410_5052: Remove unused data structures

2016-07-15 Thread Johan Hovold
On Thu, May 12, 2016 at 10:48:37AM +0200, Mathieu OTHACEHE wrote: > ti_read_data_request, ti_read_data_bytes and ti_interrupt are unused. > > Signed-off-by: Mathieu OTHACEHE > --- > drivers/usb/serial/ti_usb_3410_5052.c | 21 - > 1 file changed, 21

Re: [-next] cxl: Use for_each_compatible_node() macro

2016-07-15 Thread Michael Ellerman
On Tue, 2016-12-07 at 11:30:11 UTC, weiyj...@163.com wrote: > From: Wei Yongjun > > Use for_each_compatible_node() macro instead of open coding it. > > Generated by Coccinelle. > > Signed-off-by: Wei Yongjun > Reviewed-by: Andrew

Re: System freezes after OOM

2016-07-15 Thread Tetsuo Handa
On 2016/07/15 2:07, Ondrej Kozina wrote: > On 07/14/2016 05:31 PM, Michal Hocko wrote: >> On Thu 14-07-16 16:08:28, Ondrej Kozina wrote: >> [...] >>> As Mikulas pointed out, this doesn't work. The system froze as well with the >>> patch above. Will try to tweak the patch with Mikulas's

Re: [PATCH RFC] uio: allow use on nommu systems

2016-07-15 Thread Greg Kroah-Hartman
On Thu, Jul 14, 2016 at 09:58:29PM -0400, Rich Felker wrote: > On Fri, Jul 15, 2016 at 10:42:37AM +0900, Greg Kroah-Hartman wrote: > > On Thu, Jul 14, 2016 at 08:53:06PM -0400, Rich Felker wrote: > > > mmap of uio devices does not seem to work without further > > > nommu-specific support, but

Re: v4.4.12-rt20 build: 0 failures 5 warnings (v4.4.12-rt20)

2016-07-15 Thread Sebastian Andrzej Siewior
* Arnd Bergmann | 2016-07-15 09:07:20 [+0200]: >Cc linux-rt-us...@vger.kernel.org, let's have a look at the individual >warnings: thanks. > >> Warnings Summary: 5 >>9 ../kernel/sched/core.c:3473:12: warning: 'preemptible_lazy' defined >> but not used [-Wunused-function] > >This was

[tip:x86/mm] x86/smp: Remove unnecessary initialization of thread_info::cpu

2016-07-15 Thread tip-bot for Andy Lutomirski
Commit-ID: eb43e8f85fffc1ba535e0362a872101dfe48abe3 Gitweb: http://git.kernel.org/tip/eb43e8f85fffc1ba535e0362a872101dfe48abe3 Author: Andy Lutomirski AuthorDate: Thu, 14 Jul 2016 13:22:59 -0700 Committer: Ingo Molnar CommitDate: Fri, 15 Jul 2016

  1   2   3   4   5   6   7   8   9   10   >