[tip:x86/asm] sched/x86/32, kgdb: Don't use thread.ip in sleeping_thread_to_gdb_regs()

2016-08-24 Thread tip-bot for Brian Gerst
Commit-ID: 4e047aa7f267c3449b6d323510d35864829aca70 Gitweb: http://git.kernel.org/tip/4e047aa7f267c3449b6d323510d35864829aca70 Author: Brian Gerst AuthorDate: Sat, 13 Aug 2016 12:38:16 -0400 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:27:40 +0200 sched/x86/32, kgdb: Don't

[tip:x86/asm] sched: Remove __schedule() non-standard frame annotation

2016-08-24 Thread tip-bot for Brian Gerst
Commit-ID: 01175255fd8e3e993353a779f819ec8c0c59137e Gitweb: http://git.kernel.org/tip/01175255fd8e3e993353a779f819ec8c0c59137e Author: Brian Gerst AuthorDate: Sat, 13 Aug 2016 12:38:22 -0400 Committer: Ingo Molnar CommitDate: Wed, 24 Aug 2016 12:31:51 +0200 sched: Remove __schedule()

Re: [PATCH 1/2] tty: serial_core: convert uart_open to use tty_port_open

2016-08-24 Thread One Thousand Gnomes
On Mon, 22 Aug 2016 17:39:09 -0500 Rob Herring wrote: > tty_port_open handles much of the common parts of tty opening. Convert > uart_open to use it and move the serial_core specific parts into > tty_port.activate function. This will be needed to use tty_port functions > directly from in kernel

[PATCH v2 6/7] arm64: dts: exynos: Add dts file for Exynos5433-based TM2 board

2016-08-24 Thread Chanwoo Choi
This patch adds the Device Tree source for Exynos5433-based Samsung TM2 board. This board fully support the all things for mobile target. This patch supports the following devices: 1. basic SoC - Initial booting for Samsung Exynos5433 SoC - DRAM LPDDR3 (3GB) - eMMC (32GB) - ARM architecture timer

[PATCH v2 7/7] arm64: dts: exynos: Add dts file for Exynos5433-based TM2E board

2016-08-24 Thread Chanwoo Choi
This patch adds the Device Tree source for Exynos5433-based Samsung TM2E board. TM2E board is the most similar with TM2 board. The exynos5433-tm2e.dts include the difference between TM2 and TM2E. Signed-off-by: Chanwoo Choi Signed-off-by: Jaehoon Chung Signed-off-by: Seung-Woo Kim

Re: [PATCH] [media] v4l2-async: Always unregister the subdev on failure

2016-08-24 Thread Alban Bedel
On Fri, 1 Jul 2016 13:55:44 +0200 Hans Verkuil wrote: > On 05/11/2016 06:32 PM, Alban Bedel wrote: > > On Wed, 11 May 2016 12:22:44 -0400 > > Javier Martinez Canillas wrote: > > > >> Hello Alban, > >> > >> On 05/11/2016 11:40 AM, Alban Bedel wrote: > >>> In v4l2_async_test_notify() if the

Re: [PATCH 3/5] hwrng: amd: Be consitent with the driver name

2016-08-24 Thread LABBE Corentin
On Wed, Aug 24, 2016 at 06:58:11PM +0800, Herbert Xu wrote: > On Fri, Aug 19, 2016 at 03:42:55PM +0200, LABBE Corentin wrote: > > The driver name is displayed each time differently. > > This patch make use of the same name everywhere. > > > > Signed-off-by: LABBE Corentin > > --- > >

Re: Why do we need reset_control_get_optional() ?

2016-08-24 Thread Philipp Zabel
Am Dienstag, den 16.08.2016, 18:41 +0900 schrieb Masahiro Yamada: > Hi Arnd, > > 2016-08-06 0:35 GMT+09:00 Arnd Bergmann : > > > > > config RESET_FOO > > bool "FOO reset controller" if COMPILE_TEST && !ARCH_FOO > > default ARCH_FOO > > > > then I think we get both: you won't be

[PATCH v2 2/7] Documentation: bindings: Add Exynos5433 PMU compatible

2016-08-24 Thread Chanwoo Choi
This patch adds the exynos5433 PMU compatible to support the access of PMU (Power Management Unit) block. Signed-off-by: Chanwoo Choi Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 1 + 1 file changed, 1 insertion(+) diff

[PATCH v2 5/7] arm64: dts: exynos: Add dts files for Samsung Exynos5433 64bit SoC

2016-08-24 Thread Chanwoo Choi
This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on Octa-core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports PSCI (Power State Coordination Interface) v0.1. This patch includes following Device Tree node to support Exynos5433 SoC: 1. Octa cores for

[PATCH v2 4/7] pinctrl: samsung: Add GPF support for Exynos5433

2016-08-24 Thread Chanwoo Choi
From: Joonyoung Shim This patch add the support of GPF[1-5] pin of Exynos5433 SoC. The GPFx need to support the multiple memory map because the registers of GPFx are located in the different domain. Cc: Linus Walleij Cc: Rob Herring Cc: Mark Rutland Cc: Tomasz Figa Cc: Krzysztof Kozlowski

[PATCH v2 0/7] arm64: dts: Add the dts file for Exynos5433 and TM/TM2E board

2016-08-24 Thread Chanwoo Choi
This patchset adds the Device Tree file for Samsung 64-bit Exynos5433 SoC and TM/TM2E board based on Exynos5433. The Exynos5433 has Octa-core CPUs (quad Cortex-A57 and quad Cortex-A53). The TM2 and TM2E are the Samsung board based on Exynos5433 SoC. I sent the Exynos5433 patches[2]. But it was

[PATCH v2 3/7] pinctrl: samsung: Add the support the multiple IORESOURCE_MEM for one pin-bank

2016-08-24 Thread Chanwoo Choi
This patch supports the multiple IORESOURCE_MEM resources for one pin-bank. In the pre-existing Exynos series, the registers of the gpio bank are included in the one memory map. But, some gpio bank need to support the one more memory map (IORESOURCE_MEM) because the registers of gpio bank are

[PATCH v2 1/7] clocksource: exynos_mct: Add the support for ARM64

2016-08-24 Thread Chanwoo Choi
This patch adds the support for ARM 64bit. The delay_timer is only supported on ARM 32bit. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Kukjin Kim Cc: Krzysztof Kozlowski Signed-off-by: Chanwoo Choi --- drivers/clocksource/Kconfig | 2 +- drivers/clocksource/exynos_mct.c | 4 2

[PATCH] usbnet: ax88179_178a: Add support for writing the EEPROM

2016-08-24 Thread Alban Bedel
Implement the .set_eeprom callback to allow setting the MAC address as well as a few other parameters. Note that the EEPROM must have a correct PID/VID checksum set otherwise the SROM is used and reads return the SROM content. Signed-off-by: Alban Bedel --- drivers/net/usb/ax88179_178a.c | 57

Re: [RFC PATCH 0/3] UART slave device bus

2016-08-24 Thread One Thousand Gnomes
> So you mean if I do "hciconfig hci0 down", then the uart-bus should > "down" the tty and only on "hciconfig hci0 up" it should "up" the > tty? I would expect a uart-bus slave-device takes control of the > device ("up" it) on probe. It's hardwired anyway. Today you can switch stacks at runtime,

Re: [PATCH for-next 2/2] IB/hns: Add support of ACPI to the Hisilicon RoCE driver

2016-08-24 Thread Leon Romanovsky
On Wed, Aug 24, 2016 at 04:44:50AM +0800, Salil Mehta wrote: > This patch is meant to add support of ACPI to the Hisilicon RoCE > driver. > > Changes done are primarily meant to detect the type and then either > use DT specific or ACPI spcific functions. Where ever possible, > this patch tries to

[PATCH v2] [media] v4l2-async: Always unregister the subdev on failure

2016-08-24 Thread Alban Bedel
In v4l2_async_test_notify() if the registered_async callback or the complete notifier returns an error the subdev is not unregistered. This leave paths where v4l2_async_register_subdev() can fail but leave the subdev still registered. Add the required calls to v4l2_device_unregister_subdev() to

Re: CVE-2014-9900 fix is not upstream

2016-08-24 Thread Lennart Sorensen
On Tue, Aug 23, 2016 at 10:25:45PM +0100, Al Viro wrote: > Sadly, sizeof is what we use when copying that sucker to userland. So these > padding bits in the end would've leaked, true enough, and the case is somewhat > weaker. And any normal architecture will have those, but then any such >

Re: [PATCH v2 1/5] ethernet: add sun8i-emac driver

2016-08-24 Thread LABBE Corentin
> > +/* Set Management Data Clock, must be call after device reset */ > > +static void sun8i_emac_set_mdc(struct net_device *ndev) > > +{ > > + struct sun8i_emac_priv *priv = netdev_priv(ndev); > > + unsigned long rate; > > + u32 reg; > > + > > + rate = clk_get_rate(priv->ahb_clk); > > +

Re: [PATCH v2 5/8] hisi_sas: add v2 hw slot complete internal abort support

2016-08-24 Thread John Garry
On 24/08/2016 13:59, Hannes Reinecke wrote: On 08/24/2016 01:05 PM, John Garry wrote: Add code in slot_complete_v2_hw() to deal with the slots which have completed due to internal abort. The status codes have the following meaning: - STAT_IO_ABORTED: the IO has been aborted due to internal

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-24 Thread Vincent Palatin
Sorry if I'm making redundant comments with previous discussions, I might have missed a few threads. On Mon, Aug 22, 2016 at 2:05 PM, Heikki Krogerus wrote: > The purpose of USB Type-C connector class is to provide > unified interface for the user space to get the status and > basic information

Re: [PATCH] nvme: Fix nvme_get/set_features() with a NULL result pointer

2016-08-24 Thread Jens Axboe
On 08/24/2016 04:52 AM, Andy Lutomirski wrote: nvme_set_features() callers seem to expect that passing NULL as the result pointer is acceptable. Teach nvme_set_features() not to try to write to the NULL address. For symmetry, make the same change to nvme_get_features(), despite the fact that

Re: [PATCH] net: phy: micrel: remove suspend/resume

2016-08-24 Thread Christophe Leroy
Le 23/08/2016 à 21:03, Florian Fainelli a écrit : +others, On 08/23/2016 04:13 AM, Christophe Leroy wrote: In ERRATA DS8700A dated 05 May 2016, Microship recommends to not use software power down mode on KSZ8041 family. s/Microship/Microchip/ They say they have no plan to fix this

Re: [PATCH 1/3] perf/x86/intel/bts: Fix confused ordering of PMU callbacks

2016-08-24 Thread Alexander Shishkin
Alexander Shishkin writes: > Alexander Shishkin writes: > >> Signed-off-by: Alexander Shishkin > > Ok, this one is broken, please disregard. Vince, can you try the following (with the other two in this series)? --- >From 68713194b3df8e565c4d319a80e9e7338fa1ec13 Mon Sep 17 00:00:00 2001

Re: [PATCH] drm/tegra: Fix window[0] base address corruption

2016-08-24 Thread Thierry Reding
On Sun, Aug 21, 2016 at 11:57:58AM +0300, Dmitry Osipenko wrote: > Window uses shared stride for UV planes and tegra_dc_window struct > defines array of 2 strides per window. That's not taken in account > during setting up of the window addresses and strides, resulting in > out-of-bounds write of

Re: [PATCH][RFC v3] PCI: Workaround to enable poweroff on Mac Pro 11

2016-08-24 Thread Lukas Wunner
On Fri, Aug 19, 2016 at 04:30:25PM +0800, Chen Yu wrote: > People reported that they can not do a poweroff nor a > suspend to ram on their Mac Pro 11. After some investigations > it was found that, once the PCI bridge :00:1c.0 reassigns its > mm windows to ([mem 0x7fa0-0x7fbf] and >

Re: [PATCH v4] block: make sure big bio is splitted into at most 256 bvecs

2016-08-24 Thread Jens Axboe
On 08/23/2016 07:49 AM, Ming Lei wrote: After arbitrary bio size is supported, the incoming bio may be very big. We have to split the bio into small bios so that each holds at most BIO_MAX_PAGES bvecs for safety reason, such as bio_clone(). This patch fixes the following kernel crash: [

[v.3] clocksource:clps711x-timer:- Unmap a region obtained by remap.

2016-08-24 Thread Arvind Yadav
iounmap frees the mapping when timer id is not matching. Signed-off-by: Arvind Yadav --- drivers/clocksource/clps711x-timer.c | 41 +++- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/drivers/clocksource/clps711x-timer.c

Re: [v.1] clk:clk-rockchip:-of_iomap failed to remap then abort clock initialization.

2016-08-24 Thread arvind Yadav
yes, I am referring this code for clock control. --Arvind On Tuesday 23 August 2016 09:45 PM, Heiko Stübner wrote: Hi Arvind, Am Samstag, 13. August 2016, 20:56:18 schrieb Arvind Yadav: -check return of 'of_iomap'.if It's falied to remap then abort. -Unmap a region obtained by remap.

Re: [PATCH] perf tools: Fix error handling of lzma decompression

2016-08-24 Thread Arnaldo Carvalho de Melo
Em Sun, Aug 21, 2016 at 03:57:33PM +0800, Shawn Lin escreveu: > lzma_decompress_to_file never actually close the file > pointer, let's fix it. > > Signed-off-by: Shawn Lin Thanks, I changed the logic a bit to shorten the patch, this is how it ended up: commit

Re: [PATCH][RFC] printk: make pr_cont buffer per-cpu

2016-08-24 Thread Sergey Senozhatsky
On (08/24/16 10:19), Petr Mladek wrote: > > On (08/23/16 13:47), Petr Mladek wrote: > > [..] > > > > if (!(lflags & LOG_NEWLINE)) { > > > > + if (!this_cpu_read(cont_printing)) { > > > > + if (system_state == SYSTEM_RUNNING) { > > > > +

Re: [v.3] clocksource:clps711x-timer:- Unmap a region obtained by remap.

2016-08-24 Thread Daniel Lezcano
On 08/24/2016 04:10 PM, Arvind Yadav wrote: > iounmap frees the mapping when timer id is not matching. > > Signed-off-by: Arvind Yadav What is the difference with the V2 ? > --- > drivers/clocksource/clps711x-timer.c | 41 > +++- > 1 file changed, 22

ARM,SoC: About the use DT-defined properties by 3rd-party drivers

2016-08-24 Thread Sebastian Frias
Hi, Given a SoC and its SDK, 3rd party users of said SoC (customers of the SoC's manufacturer) may need/want to write kernel modules. Since the DT describes the HW, it would make sense to expose some HW properties through the DT, and have 3rd party users rely on them to write their drivers in a

Re: [RFC PATCH 0/3] UART slave device bus

2016-08-24 Thread Marcel Holtmann
Hi Alan, >> So you mean if I do "hciconfig hci0 down", then the uart-bus should >> "down" the tty and only on "hciconfig hci0 up" it should "up" the >> tty? I would expect a uart-bus slave-device takes control of the >> device ("up" it) on probe. It's hardwired anyway. > > Today you can switch

kernel BUG at net/unix/garbage.c:149!"

2016-08-24 Thread Nikolay Borisov
Hello, I hit the following BUG: [1851513.239831] [ cut here ] [1851513.240079] kernel BUG at net/unix/garbage.c:149! [1851513.240313] invalid opcode: [#1] SMP [1851513.248320] CPU: 37 PID: 11683 Comm: nginx Tainted: G O 4.4.14-clouder3 #26

Re: [PATCH v2 1/3] drm/panel: simple-panel: add the delay timing for Sharp LQ123P1JX31

2016-08-24 Thread Thierry Reding
On Fri, Jul 22, 2016 at 09:42:30AM +0800, Yakir Yang wrote: > According to page 16 of Sharp LQ123P1JX31 datasheet, we need to add the > missing delay timing. Panel prepare time should be t1 (0.5ms~10ms) plus > t3 (0ms~100ms), and panel enable time should equal to t7 (0ms~50ms), and > panel

RE: [PATCH for-next 2/2] IB/hns: Add support of ACPI to the Hisilicon RoCE driver

2016-08-24 Thread Salil Mehta
> -Original Message- > From: Leon Romanovsky [mailto:l...@kernel.org] > Sent: Wednesday, August 24, 2016 2:59 PM > To: Salil Mehta > Cc: dledf...@redhat.com; da...@davemloft.net; Huwei (Xavier); oulijun; > Zhuangyuzeng (Yisen); mehta.salil@gmail.com; linux- > r...@vger.kernel.org;

Re: [PATCH v2 5/8] hisi_sas: add v2 hw slot complete internal abort support

2016-08-24 Thread Hannes Reinecke
On 08/24/2016 04:07 PM, John Garry wrote: > On 24/08/2016 13:59, Hannes Reinecke wrote: >> On 08/24/2016 01:05 PM, John Garry wrote: >>> Add code in slot_complete_v2_hw() to deal with the >>> slots which have completed due to internal abort. >>> >>> The status codes have the following meaning: >>>

Re: [v.3] clocksource:clps711x-timer:- Unmap a region obtained by remap.

2016-08-24 Thread arvind Yadav
This clocksource(_clps711x_clksrc_init) initialization is not depend on irq. We should check irq only for clockevent(_clps711x_clkevt_init) initialization. In V2, I was checking irq for both the initialization. --Arvind Y On Wednesday 24 August 2016 07:51 PM, Daniel Lezcano wrote: On

[PATCH] misc: retire the old BMP085 driver

2016-08-24 Thread Linus Walleij
Patches merged to the IIO BMP085 driver makes it fully compliant with all features found in this old misc driver. Retire this old driver in favor of the new one in the proper subsystem. Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Jonathan Cameron Cc: Marek Belisko Cc: H. Nikolaus Schaller

Re: [PATCH] usbnet: ax88179_178a: Add support for writing the EEPROM

2016-08-24 Thread Oliver Neukum
On Wed, 2016-08-24 at 15:52 +0200, Alban Bedel wrote: > Implement the .set_eeprom callback to allow setting the MAC address > as well as a few other parameters. Note that the EEPROM must have a > correct PID/VID checksum set otherwise the SROM is used and reads > return the SROM content. > >

[PATCH v2] misc: retire the old BMP085 driver

2016-08-24 Thread Linus Walleij
Patches merged to the IIO BMP085 driver makes it fully compliant with all features found in this old misc driver. Retire this old driver in favor of the new one in the proper subsystem. Cc: Arnd Bergmann Cc: Greg Kroah-Hartman Cc: Jonathan Cameron Cc: Marek Belisko Cc: H. Nikolaus Schaller

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-24 Thread Kani, Toshimitsu
On Tue, 2016-08-23 at 21:48 -0700, Dan Williams wrote: > On Tue, Aug 23, 2016 at 9:28 PM, Kani, Toshimitsu > > > BTW, why does devm_memremap_pages() put a whole range to > > pgmap_radix as device memory, but only initialize page->pgmap for > > its data range?  Is there particular reason for this

linux kernel 3.19.X does not load when compiled with binutils 2.6, works fine when compiled with binutils 2.22

2016-08-24 Thread luigi.genoni
Hi all, recentrly I was in need to compile and run linux kernel 3.19.8 on some servers, with different bios and cpus. so i noticed that If i compile this kernel with binutils 2.6 (and 2.7) it does not load the image, both lilo, grub/grub2 show the message: loading kernel loading ramdisk

Re: [RFC/PATCH 1/2] cpuidle: Allow idle-states to be disabled at start

2016-08-24 Thread Daniel Lezcano
On 08/19/2016 12:26 AM, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > Currently all the idle states registered by a cpu-idle driver are > enabled by default. This patch adds a mechanism which allows the > driver to hint if an idle-state should start in a disabled state. The > cpu-idle

Re: [PATCH] usbnet: ax88179_178a: Add support for writing the EEPROM

2016-08-24 Thread Alban Bedel
On Wed, 24 Aug 2016 16:30:39 +0200 Oliver Neukum wrote: > On Wed, 2016-08-24 at 15:52 +0200, Alban Bedel wrote: > > Implement the .set_eeprom callback to allow setting the MAC address > > as well as a few other parameters. Note that the EEPROM must have a > > correct PID/VID checksum set

Re: [RFC/PATCH 1/2] cpuidle: Allow idle-states to be disabled at start

2016-08-24 Thread Balbir Singh
On 25/08/16 00:44, Daniel Lezcano wrote: > On 08/19/2016 12:26 AM, Gautham R. Shenoy wrote: >> From: "Gautham R. Shenoy" >> >> Currently all the idle states registered by a cpu-idle driver are >> enabled by default. This patch adds a mechanism which allows the >> driver to hint if an idle-state

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-24 Thread Thomas Petazzoni
Hello, On Sun, 21 Aug 2016 15:11:58 +0200, Ralph Sennhauser wrote: > Commit cb4f71c4298853db0c6751b1209e4535956f136c changes the order of > the network interfaces for armada-38x. As a special exception to the > "order by register address" rule says the comment in the dtsi. The > commit messages

[8086:0416] i915 Inability to drive internal (eDP) panel since 4.7 final

2016-08-24 Thread Tony Vroon
Good morning, Could you please CC me on any replies as I am not subscribed to this mailing list. Recent i915 development appears to have stopped my eDP panel from being driven correctly. The last working release was 4.6.7; any 4.7 kernel will not drive the screen and 4.8-RC3 does not drive the

Re: [PATCH for-next 2/2] IB/hns: Add support of ACPI to the Hisilicon RoCE driver

2016-08-24 Thread Leon Romanovsky
On Wed, Aug 24, 2016 at 02:25:12PM +, Salil Mehta wrote: > > It looks like we should retain the int as a return type or if you have > some other opinion or if I have missed something here please share :) Thanks for the explanation. > > Best regards > Salil signature.asc Description: PGP

Re: [v.1] clk:clk-rockchip:-of_iomap failed to remap then abort clock initialization.

2016-08-24 Thread Heiko Stübner
Hi Arvind, Am Mittwoch, 24. August 2016, 19:52:45 schrieb arvind Yadav: > yes, I am referring this code for clock control. Please definitly do not use that old gate driver anymore! Instead please look at the real clock drivers for specific Rockchip socs in the same directory. Which Rockchip

Re: [PATCH v2] perf/x86/amd: Make HW_CACHE_REFERENCES and HW_CACHE_MISSES measure L2

2016-08-24 Thread Borislav Petkov
On Wed, Aug 24, 2016 at 02:12:08PM +0100, Matt Fleming wrote: > While the Intel PMU monitors the LLC when perf enables the > HW_CACHE_REFERENCES and HW_CACHE_MISSES events, these events monitor > L1 instruction cache fetches (0x0080) and instruction cache misses > (0x0081) on the AMD PMU. > >

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-24 Thread Dan Williams
[ adding Konstantin ] On Wed, Aug 24, 2016 at 7:40 AM, Kani, Toshimitsu wrote: > On Tue, 2016-08-23 at 21:48 -0700, Dan Williams wrote: >> On Tue, Aug 23, 2016 at 9:28 PM, Kani, Toshimitsu > > >> > BTW, why does devm_memremap_pages() put a whole range to >> > pgmap_radix as device memory, but

[PATCH] drm/bridge: analogix_dp: Don't read EDID if panel present

2016-08-24 Thread Sean Paul
If there's a panel connected to the analogix_dp bridge, rely on the panel driver for modes, rather than reading EDID *and* calling get_modes() on the panel. This allows panels with a valid EDID to read it in the panel driver (e.g. simple_panel), and panels with invalid EDID to homebrew modes in

[PATCH v3] drm/bridge: analogix_dp: Remove duplicated code

2016-08-24 Thread Sean Paul
From: Tomeu Vizoso Remove code for reading the EDID and DPCD fields and use the helpers instead. Besides the obvious code reduction, other helpers are being added to the core that could be used in this driver and will be good to be able to use them instead of duplicating them. Signed-off-by:

[PATCH net-next 0/2] rxrpc: More fixes

2016-08-24 Thread David Howells
lls/linux-fs.git rxrpc-rewrite-20160824-1 David --- David Howells (2): rxrpc: Fix conn-based retransmit rxrpc: Make /proc/net/rxrpc_calls safer net/rxrpc/ar-internal.h |4 +++- net/rxrpc/call_object.c |3 +++ net/rxrpc/conn_client.c |1 + net/rxrpc/conn_event.c |

[PATCH net-next 2/2] rxrpc: Make /proc/net/rxrpc_calls safer

2016-08-24 Thread David Howells
Make /proc/net/rxrpc_calls safer by stashing a copy of the peer pointer in the rxrpc_call struct and checking in the show routine that the peer pointer, the socket pointer and the local pointer obtained from the socket pointer aren't NULL before we use them. Signed-off-by: David Howells ---

[PATCH net-next 1/2] rxrpc: Fix conn-based retransmit

2016-08-24 Thread David Howells
If a duplicate packet comes in for a call that has just completed on a connection's channel then there will be an oops in the data_ready handler because it tries to examine the connection struct via a call struct (which we don't have - the pointer is unset). Since the connection struct pointer is

Re: Replacing specific kmalloc() calls by kmalloc_array()?

2016-08-24 Thread Paolo Bonzini
- Original Message - > From: "SF Markus Elfring" > To: "Paolo Bonzini" > Cc: "Julia Lawall" , "walter harms" , > k...@vger.kernel.org, > linux-s...@vger.kernel.org, "Christian Bornträger" , > "Cornelia Huck" > , "David Hildenbrand" , > "Heiko Carstens" > , "Martin Schwidefsky" , >

[PATCH net-next 0/2] rxrpc: Add better client conn management strategy

2016-08-24 Thread David Howells
-fs.git rxrpc-rewrite-20160824-2 David --- David Howells (2): rxrpc: Dup the main conn list for the proc interface rxrpc: Improve management and caching of client connection objects net/rxrpc/ar-internal.h | 58 ++- net/rxrpc/call_event.c |4 net/rxrpc/call_object.c

[PATCH net-next 2/2] rxrpc: Improve management and caching of client connection objects

2016-08-24 Thread David Howells
Improve the management and caching of client rxrpc connection objects. >From this point, client connections will be managed separately from service connections because AF_RXRPC controls the creation and re-use of client connections but doesn't have that luxury with service connections. Further,

[PATCH net-next 1/2] rxrpc: Dup the main conn list for the proc interface

2016-08-24 Thread David Howells
The main connection list is used for two independent purposes: primarily it is used to find connections to reap and secondarily it is used to list connections in procfs. Split the procfs list out from the reap list. This allows us to stop using the reap list for client connections when they

Re: [PATCH v05 60/72] arch/arm/include/uapi/asm/signal.h: use __kernel_size_t instead of size_t

2016-08-24 Thread Arnd Bergmann
On Monday, August 22, 2016 8:33:17 PM CEST Mikko Rapeli wrote: > diff --git a/arch/arm/include/uapi/asm/signal.h > b/arch/arm/include/uapi/asm/signal.h > index 33073bd..859f2de 100644 > --- a/arch/arm/include/uapi/asm/signal.h > +++ b/arch/arm/include/uapi/asm/signal.h > @@ -113,7 +113,7 @@

Re: [RFC/PATCH 1/2] cpuidle: Allow idle-states to be disabled at start

2016-08-24 Thread Daniel Lezcano
On 08/24/2016 04:48 PM, Balbir Singh wrote: > > > On 25/08/16 00:44, Daniel Lezcano wrote: >> On 08/19/2016 12:26 AM, Gautham R. Shenoy wrote: >>> From: "Gautham R. Shenoy" >>> >>> Currently all the idle states registered by a cpu-idle driver are >>> enabled by default. This patch adds a

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-24 Thread Dan Williams
On Tue, Aug 23, 2016 at 7:47 PM, Fengguang Wu wrote: > On Tue, Aug 23, 2016 at 04:42:15PM -0700, Dan Williams wrote: >> I was not able to reproduce this, I tried on Fedora 23 and Fedora 24 >> and both attempts succeeded. > > > Hi Dan, it looks the error only happens with separated obj dir, when >

Re: [RFC][PATCH] Kconfig: ARCH_HISI: Add PINCTRL to HISI platform

2016-08-24 Thread Wei Xu
Hi John, On 22/08/2016 23:45, John Stultz wrote: > Things won't work if PINCTRL isn't enabled, > so make sure to explicitly set it rather > then betting that we have some other platform > configed in which selects it. > > Cc: Arnd Bergmann > Cc: Wei Xu > Cc: Catalin Marinas > Cc: Will Deacon

Re: [PATCH 3/4] KVM-S390: Less function calls in kvm_s390_import_bp_data() after error detection

2016-08-24 Thread Christian Borntraeger
On 08/17/2016 02:10 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 17 Aug 2016 19:25:50 +0200 > > The kfree() function was called in a few cases by the > kvm_s390_import_bp_data() function during error handling > even if a passed variable contained a null pointer. > > Adjust

[PATCH v2 7/8] staging/lustre: release MGC device if connect fails

2016-08-24 Thread Oleg Drokin
From: "John L. Hammond" In lustre_fill_super() if lustre_start_mgc() fails then call lustre_common_put_super() to release a reference on the MGC device attached to the LSI. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/20851 Intel-bug-id:

[PATCH v2 0/8] Lustre fixes

2016-08-24 Thread Oleg Drokin
Here are some more recent Lustre fixes and a cleanup. This resend fixes the "fix panic at mdc_free_open()" patch to actually work. Please consider. Alexander Boyko (1): staging/lustre/mdc: fix panic at mdc_free_open() Andrew Perepechko (1): staging/lustre: avoid clearing i_nlink for inodes

[PATCH v2 3/8] staging/lustre: avoid clearing i_nlink for inodes in use

2016-08-24 Thread Oleg Drokin
From: Andrew Perepechko The patch removes find_cbdata callbacks and clear_nlink from dentry_iput path, since this piece of code makes a few races possible. The test case reproduces one of the possible races described in LU-7925: 1) two hard links are created for the same file 2) the test calls

Re: [PATCH v2 0/3] arm64: defconfig: enable various configs for HiKey

2016-08-24 Thread Wei Xu
Hi Guodong, On 24/08/2016 03:42, Guodong Xu wrote: > Enable various configs for HiKey, including: > 1. HiSilicon Kirin DRM > 2. ADV7533 > 3. HiSi Powerkey > 4. Bluetooth > Series applied to the hisilicon soc tree. Thanks! Best Regards, Wei > v2: > - Removed CMA size 128M change. Leave that

Re: livepatch/kprobes incompatibility

2016-08-24 Thread Masami Hiramatsu
On Tue, 23 Aug 2016 21:13:00 -0400 Jessica Yu wrote: > Hi Masami, Petr, > > I'm trying to figure out where we are exactly with fixing the problems with > livepatch + kprobes, and I was wondering if there will be any more updates to > the ipmodify patchset that was originally merged back in 2014

[PATCH v2 1/8] staging/lustre: const correct set_lock_data()

2016-08-24 Thread Oleg Drokin
From: "John L. Hammond" Change the __u64 *cookie parameter of md_ops->set_lock_data() to const struct lustre_handle *lockh. Signed-off-by: John L. Hammond Reviewed-on: http://review.whamcloud.com/17072 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-7403 Reviewed-by: Frank Zago

[PATCH v2 2/8] staging/lustre/mdc: fix panic at mdc_free_open()

2016-08-24 Thread Oleg Drokin
From: Alexander Boyko Assertion was happened for open request when rq_replay is set to 1. ASSERTION(mod->mod_open_req->rq_replay == 0) But this situation is not fatal for client, and could happened when mdc_close() failed. The fix allow to free such requests. If mdc_close fail, MDS doesn`t

[PATCH v2 6/8] staging/lustre/llite: changes to avoid cache corruption

2016-08-24 Thread Oleg Drokin
From: Lokesh Nagappa Jaliminche ll_find_alias is responsible for getting alias for inode which can be reused. Directories are assumed to have unique alias, where in case of non-directories there can be multiple aliases. In case of lustre there can be two type of aliases i.e. discon_alias and

[PATCH v2 8/8] staging/lustre/o2iblnd: handle mixed page size configurations.

2016-08-24 Thread Oleg Drokin
From: James Simmons Currently it is not possible to send LNet traffic between two nodes using infiniband hardware that have different page sizes for the case when RDMA fragments are used. When two nodes establish a connection they tell the other node the maximum number of RDMA fragments they

[PATCH v2 4/8] staging/lustre/llite: check return value for obd_set_info_async

2016-08-24 Thread Oleg Drokin
From: Yang Sheng The return value is ignored in client_common_fill_super. Restore to check it and error out. Signed-off-by: Yang Sheng Reviewed-on: http://review.whamcloud.com/21125 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8360 Reviewed-by: Emoly Liu Reviewed-by: Bob Glossman

[PATCH v2 5/8] staging/lustre/llite: Fix suspicious dereference of pointer 'vma->vm_file'

2016-08-24 Thread Oleg Drokin
From: Dmitry Eremin Remove useless LASSERT(vma->vm_file) because of if it's NULL it will crash early in file_inode(vma->vm_file). Signed-off-by: Dmitry Eremin Reviewed-on: http://review.whamcloud.com/21171 Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8372 Reviewed-by: John L. Hammond

Re: [PATCH 1/4] arm64: dts: Add display subsystem DT nodes for hi6220-hikey

2016-08-24 Thread Wei Xu
Hi John, On 22/08/2016 23:48, John Stultz wrote: > From: Xinliang Liu > > Add ade and dsi DT nodes for hikey board. > > Cc: Guodong Xu > Cc: Wei Xu > Cc: Rob Herring > Cc: Mark Rutland > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm-ker...@lists.infradead.org > Cc:

Re: [PATCH 2/4] KVM-S390: Use memdup_user() rather than duplicating its implementation

2016-08-24 Thread Christian Borntraeger
On 08/17/2016 02:08 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 17 Aug 2016 18:41:43 +0200 > > * Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This issue was detected by using the Coccinelle software. > > * Return

Re: [PATCH 1/3] net: fs_enet: merge NAPI RX and NAPI TX

2016-08-24 Thread Christophe Leroy
Le 24/08/2016 à 15:07, Eric Dumazet a écrit : On Wed, 2016-08-24 at 12:36 +0200, Christophe Leroy wrote: Initially, a NAPI TX routine has been implemented separately from NAPI RX, as done on the freescale/gianfar driver. By merging NAPI RX and NAPI TX, we reduce the amount of TX completion

Re: [PATCH] arm64: dts: hikey: extend default cma size to 128MB

2016-08-24 Thread Rob Herring
On Wed, Aug 24, 2016 at 8:35 AM, Guodong Xu wrote: > To support display in Debian on HiKey, cma heap is used to allocate > graphic buffers. The default size of CMA is 16 MB which is not enought. s/enought/enough/ > > Increase the default CMA size to 128 MB. > > cc: Rob Herring > cc: Fathi

Re: livepatch/kprobes incompatibility

2016-08-24 Thread Masami Hiramatsu
On Wed, 24 Aug 2016 11:39:59 +0200 Petr Mladek wrote: > Well, there is one more problem. We should also warn when a kprobe > is not longer accessible because the function call is redirected > by a livepatch. My last notes about it are: > > + worked on the check for lost Kprobes; decided that

Re: [PATCH v2] misc: retire the old BMP085 driver

2016-08-24 Thread H. Nikolaus Schaller
HI, > Am 24.08.2016 um 16:38 schrieb Linus Walleij : > > Patches merged to the IIO BMP085 driver makes it fully compliant > with all features found in this old misc driver. Retire this old > driver in favor of the new one in the proper subsystem. > > Cc: Arnd Bergmann > Cc: Greg Kroah-Hartman

RE: [PATCH] ARM: imx: add cpuidle support for i.mx6ul

2016-08-24 Thread Yongcai Huang
Best Regards! Anson Huang > -Original Message- > From: Lucas Stach [mailto:l.st...@pengutronix.de] > Sent: 2016-08-24 5:09 PM > To: Yongcai Huang > Cc: linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org; Fabio > Estevam ; shawn...@kernel.org; > li...@armlinux.org.uk;

Re: [PATCH v6 0/3] virtually mapped stacks

2016-08-24 Thread Andy Lutomirski
On Wed, Aug 24, 2016 at 3:12 AM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> On Thu, Aug 11, 2016 at 2:35 AM, Andy Lutomirski wrote: >> > Andy Lutomirski (3): >> > fork: Add generic vmalloced stack support >> > dma-api: Teach the "DMA-from-stack" check about vmapped stacks >> >

Re: [PATCH v05 14/72] include/uapi/asm-generic/ipcbuf.h: include linux/posix_types.h

2016-08-24 Thread Arnd Bergmann
On Monday, August 22, 2016 8:32:31 PM CEST Mikko Rapeli wrote: > Fixes userspace compilation error: > > error: unknown type name ‘__kernel_key_t’ > > Signed-off-by: Mikko Rapeli > Looks good. I was on Cc for patches 14, 15, 16, 17, 18, 35, 65 and 71. They all seem reasonable to me, the only

Re: [PATCH 2/2] arm64: dts: set UART1 clock frequency to 150MHz

2016-08-24 Thread Wei Xu
Hi Jorge, On 08/07/2016 09:11, Jorge Ramirez-Ortiz wrote: > Enable support for higher baud rates (up to 3Mbps) in UART1 - required > for bluetooth transfers. > > Signed-off-by: Jorge Ramirez-Ortiz > Tested-by: Jorge Ramirez-Ortiz > --- Applied to the hisi-dt-4.9 branch. Thanks! Best Regards,

Re: linux kernel 3.19.X does not load when compiled with binutils 2.6, works fine when compiled with binutils 2.22

2016-08-24 Thread Lennart Sorensen
On Wed, Aug 24, 2016 at 04:42:20PM +0200, luigi.gen...@it.telecomitalia.it wrote: > Hi all, > > recentrly I was in need to compile and run linux kernel 3.19.8 on some > servers, with different bios and cpus. > > so i noticed that If i compile this kernel with binutils 2.6 (and 2.7) it > does

Re: [PATCH v7 0/4] ARM: SoC: add a new platform, UniPhier (arch/arm/mach-uniphier)

2016-08-24 Thread Arnd Bergmann
On Thursday, August 18, 2016 3:46:17 AM CEST Masahiro Yamada wrote: > 2016-01-18 22:49 GMT+09:00 Arnd Bergmann : > > On Monday 18 January 2016 19:54:08 Masahiro Yamada wrote: > > I collected a couple of GPG signatures and > finally, I managed to host my git tree in the kernel.org site. > > From

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-24 Thread Kani, Toshimitsu
On Tue, 2016-08-23 at 22:48 -0700, Dan Williams wrote: > On Tue, Aug 23, 2016 at 8:58 PM, Dan Williams > > > > Does the attached patch fix this for you? > > Sorry, should be this much simpler patch that also mirrors what > driver/nvdimm/pmem.c is doing... Yes, this change works fine. :-)

Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

2016-08-24 Thread Oleg Nesterov
On 08/24, Michal Hocko wrote: > > Sounds better? > diff --git a/kernel/fork.c b/kernel/fork.c > index b89f0eb99f0a..ddde5849df81 100644 > --- a/kernel/fork.c > +++ b/kernel/fork.c > @@ -914,7 +914,8 @@ void mm_release(struct task_struct *tsk, struct mm_struct > *mm) > > /* >*

Re: [PATCH 3/4] dt-binding: remoteproc: venus rproc dt binding document

2016-08-24 Thread Stanimir Varbanov
Hi Rob, On 08/23/2016 08:32 PM, Rob Herring wrote: > On Fri, Aug 19, 2016 at 06:53:19PM +0300, Stanimir Varbanov wrote: >> Add devicetree binding document for Venus remote processor. >> >> Signed-off-by: Stanimir Varbanov >> --- >> .../devicetree/bindings/remoteproc/qcom,venus.txt | 33 >>

Re: [patch 2/2] i2c: mux: mellanox: add driver

2016-08-24 Thread Peter Rosin
On 2016-08-24 15:56, Vadim Pasternak wrote: > From: Vadim Pasternak > > This driver allows I2C routing controlled through CPLD select registers on > wide > range of Mellanox systems (CPLD Lattice device). > MUX selection is provided by digital and analog HW. Analog part is not under > SW >

Re: [PATCH v2] misc: retire the old BMP085 driver

2016-08-24 Thread Arnd Bergmann
On Wednesday, August 24, 2016 4:38:52 PM CEST Linus Walleij wrote: > Patches merged to the IIO BMP085 driver makes it fully compliant > with all features found in this old misc driver. Retire this old > driver in favor of the new one in the proper subsystem. > > Cc: Arnd Bergmann > Acked-by:

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-24 Thread Huang, Ying
Hi, Mel, Mel Gorman writes: > On Wed, Aug 17, 2016 at 04:49:07PM +0100, Mel Gorman wrote: >> > Yes, we could try to batch the locking like DaveC already suggested >> > (ie we could move the locking to the caller, and then make >> > shrink_page_list() just try to keep the lock held for a few

Re: [PATCH v2] kernel/fork: fix CLONE_CHILD_CLEARTID regression in nscd

2016-08-24 Thread Michal Hocko
On Wed 24-08-16 17:32:00, Oleg Nesterov wrote: > On 08/24, Michal Hocko wrote: > > > > Sounds better? > > diff --git a/kernel/fork.c b/kernel/fork.c > > index b89f0eb99f0a..ddde5849df81 100644 > > --- a/kernel/fork.c > > +++ b/kernel/fork.c > > @@ -914,7 +914,8 @@ void mm_release(struct

Re: [PATCH] wan-cosa: Use memdup_user() rather than duplicating its implementation

2016-08-24 Thread Jan Kasprzak
Hello, SF Markus Elfring wrote: : From: Markus Elfring : Date: Sat, 20 Aug 2016 10:10:12 +0200 : : Reuse existing functionality from memdup_user() instead of keeping : duplicate source code. : : This issue was detected by using the Coccinelle software. What about the GFP_DMA

Re: [PATCH 01/10] reset: ath79: add driver Kconfig option

2016-08-24 Thread Arnd Bergmann
On Wednesday, August 24, 2016 3:28:53 PM CEST Philipp Zabel wrote: > if RESET_CONTROLLER > > +config RESET_ATH79 > + bool "AR71xx Reset Driver" if COMPILE_TEST > + default ATH79 > + help > + This enables the ATH79 reset controller driver that supports the > +

<    5   6   7   8   9   10   11   12   13   14   >