Re: [PATCH 1/2] kthread: don't use to_live_kthread() in kthread_stop()

2016-11-09 Thread Thomas Gleixner
On Mon, 31 Oct 2016, Oleg Nesterov wrote: > kthread_stop() had to use to_live_kthread() simply because it was not > possible to access kthread->exited after the exiting kthread clears > task_struct->vfork_done. Now that to_kthread() is always valid we can > do wake_up_process() + wait_for_comple

Re: BUG: 'list_empty(&vgdev->free_vbufs)' is true!

2016-11-09 Thread Gerd Hoffmann
On Di, 2016-11-08 at 22:37 +0200, Michael S. Tsirkin wrote: > On Mon, Nov 07, 2016 at 09:43:24AM +0100, Jiri Slaby wrote: > > Hi, > > > > I can relatively easily reproduce this bug: How? > > BUG: 'list_empty(&vgdev->free_vbufs)' is true! > The following might be helpful for debugging - if kerne

Re: [PATCH] drivers: tca8418: Change the interrupt type

2016-11-09 Thread Maxime Ripard
Hello Dmitry, On Tue, Nov 08, 2016 at 04:04:00PM -0800, Dmitry Torokhov wrote: > On Mon, Nov 07, 2016 at 03:40:24PM +0100, Maxime Ripard wrote: > > The TCA8418 interrupt has a level trigger, not a edge one. > > > > Signed-off-by: Maxime Ripard > > Hmm, maybe we could rely on OF data for trigger

Re: [PATCH 1/6] clk: stm32f4: Add PLL_I2S & PLL_SAI for STM32F429/469 boards

2016-11-09 Thread Radosław Pietrzyk
I would expect that VCO clock will force recalculation for all its children if I am not mistaken. 2016-11-08 17:19 GMT+01:00 Gabriel Fernandez : > On 11/08/2016 09:52 AM, Radosław Pietrzyk wrote: >> >> 2016-11-08 9:35 GMT+01:00 Gabriel Fernandez : >>> >>> Hi Radosław >>> >>> Many thanks for review

Re: [PATCH] wireless: fix bogus maybe-uninitialized warning

2016-11-09 Thread Johannes Berg
> Ideally we prefer that drivers/net/wireless and net/wireless changes > are > split into different patches as they get applied to different trees. > Johannes, is it ok if I take this change through my tree this time? Sure, please do, thanks. (I don't particularly care about the lib80211 stuff a

Re: [PATCH] gpio: davinci: Use unique labels for each gpio chip

2016-11-09 Thread Linus Walleij
On Thu, Nov 3, 2016 at 12:34 PM, Axel Haslam wrote: > The gpiod framework uses the chip label to match a specific chip. > The davinci gpio driver, creates several chips using always the same > label, which is not compatible with gpiod. > > To allow platform data to declare gpio lookup tables, and

Re: [Intel-gfx] [REGRESSION] Linux 4.9-rc4: gfx glitches on Intel Sandybridge (was: Re: Linux 4.9-rc4)

2016-11-09 Thread Martin Steigerwald
Am Dienstag, 8. November 2016, 16:17:59 CET schrieb Martin Steigerwald: > Am Dienstag, 8. November 2016, 16:11:31 CET schrieb Martin Steigerwald: > > Am Montag, 7. November 2016, 19:09:36 CET schrieb Jani Nikula: > > > On Mon, 07 Nov 2016, Martin Steigerwald wrote: > > > > It is also the same kind

[PATCH v4 0/2] pinctrl: samsung: Add the support the multiple IORESOURCE_MEM

2016-11-09 Thread Chanwoo Choi
This patches support the multiple IORESOURCE_MEM resources for one pin-bank to support tye GPF of Samsung 64-bit Exynos5433 SoC. The exynos5433 device-tree patches were already merged. Changes from v3: - Merged the Exynos5433, TM2/TM2E Device-tree patch. - Fix the build error of pinctrl-s3c64xx/s3

[PATCH v4 1/2] pinctrl: samsung: Add the support the multiple IORESOURCE_MEM for one pin-bank

2016-11-09 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 separ

Re: [PATCH 7/8] blk-wbt: add general throttling mechanism

2016-11-09 Thread Jan Kara
On Tue 08-11-16 08:41:09, Jens Axboe wrote: > On Tue, Nov 08 2016, Jan Kara wrote: > > On Tue 01-11-16 15:08:50, Jens Axboe wrote: > > > We can hook this up to the block layer, to help throttle buffered > > > writes. > > > > > > wbt registers a few trace points that can be used to track what is >

[PATCH v4 2/2] pinctrl: samsung: Add GPF support for Exynos5433

2016-11-09 Thread Chanwoo Choi
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 Cc: Sylwester Nawrocki

Re: [PATCH] ACPI / gpio: avoid warning for gpio hogging code

2016-11-09 Thread Linus Walleij
On Tue, Nov 8, 2016 at 2:40 PM, Arnd Bergmann wrote: > The newly added acpi_gpiochip_scan_gpios function produces a few harmless > warnings: > > drivers/gpio/gpiolib-acpi.c: In function ‘acpi_gpiochip_add’: > drivers/gpio/gpiolib-acpi.c:925:7: error: ‘dflags’ may be used uninitialized > in this

Re: [PATCH v4 1/3] leds: Introduce userspace leds driver

2016-11-09 Thread Jacek Anaszewski
Hi, On 11/09/2016 08:05 AM, Pavel Machek wrote: Hi! +struct uleds_device { + struct uleds_user_dev user_dev; + struct led_classdev led_cdev; + struct mutexmutex; + enum uleds_statestate; + wait_queue_head_t waitq; + unsigned c

Re: [PATCH] arm64: dts: marvell: add unique identifiers for Armada A8k SPI controllers

2016-11-09 Thread Gregory CLEMENT
Hi Marcin, On mar., nov. 08 2016, Thomas Petazzoni wrote: > Hello, > > On Tue, 8 Nov 2016 17:31:32 +0100, Marcin Wojtas wrote: >> Enabling SPI controllers, which are attached to different busses >> inside an SoC, may result in overlapping enumeration and cause >> sysfs registration failure.

Re: [PATCH 2/2] kthread: don't use to_live_kthread() in kthread_park() and kthread_unpark()

2016-11-09 Thread Thomas Gleixner
On Mon, 31 Oct 2016, Oleg Nesterov wrote: > I think we need to unexport kthread_park/unpark, and either make it return > "void" or actually fix the race with kthred_stop/exit. This patch just adds > WARN_ON(PF_EXITING) for now. I'll have a look. > The usage of kthread_park() in cpuhp code (cpu.c

Re: [PATCH] arm64: dts: marvell: add unique identifiers for Armada A8k SPI controllers

2016-11-09 Thread Marcin Wojtas
Thanks a lot! Marcin 2016-11-09 9:47 GMT+01:00 Gregory CLEMENT : > Hi Marcin, > > On mar., nov. 08 2016, Thomas Petazzoni > wrote: > >> Hello, >> >> On Tue, 8 Nov 2016 17:31:32 +0100, Marcin Wojtas wrote: >>> Enabling SPI controllers, which are attached to different busses >>> inside an SoC,

RE: [PATCH] mwifiex: fix memory leak in mwifiex_save_hidden_ssid_channels()

2016-11-09 Thread Amitkumar Karwar
> From: Ricky Liang [mailto:jcli...@chromium.org] > Sent: Wednesday, November 09, 2016 9:07 AM > Cc: Ricky Liang; Amitkumar Karwar; Nishant Sarmukadam; Kalle Valo; open > list:MARVELL MWIFIEX WIRELESS DRIVER; open list:NETWORKING DRIVERS; open > list > Subject: [PATCH] mwifiex: fix memory leak in >

[PATCH RESEND] tools-powerpc: Return false instead of -1

2016-11-09 Thread Andrew Shadura
From: Peter Senna Tschudin Returning a negative value for a boolean function seem to have the undesired effect of returning true. require_paranoia_below() is a boolean function, but the variable used to store the return value is an integer, receiving -1 or 0. This patch convert rc to bool, replac

[PATCH V4 0/2] Add ACPI support for HiSilicon SoCs Host Controllers

2016-11-09 Thread Dongdong Liu
This patchset adds ACPI support for the HiSilicon Hip05/Hip06/Hip07 SoC PCIe controllers. The two patches respectively: - rework the current HiSilicon driver to add support for ECAM platforms(not RC). - adds the HiSilicon ACPI specific quirks. This patchset is based on br

[PATCH V4 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-11-09 Thread Dongdong Liu
PCIe controller in Hip05/HIP06/HIP07 SoCs is not ECAM compliant. It is non ECAM only for the RC bus config space;for any other bus underneath the root bus we support ECAM access. Add specific quirks for PCI config space accessors.This involves: 1. New initialization call hisi_pcie_init() to obtain

[PATCH V4 1/2] PCI: hisi: Add ECAM support for devices that are not RC

2016-11-09 Thread Dongdong Liu
This patch modifies the current Hip05/Hip06 PCIe host controller driver to add support for 'almost ECAM' compliant platforms. Some controllers are ECAM compliant for all the devices of the hierarchy except the root complex; this patch adds support for such controllers. This is needed in preparatio

[PATCH] rcu: Avoid unnecessary contention of rcu node lock

2016-11-09 Thread Byungchul Park
It's unnecessary to try to print stacks of blocked tasks in the case that ndetected == 0. Furthermore, calling rcu_print_detail_task_stall() causes to acquire rnp locks as many times as the number of leaf nodes plus one for root node. It's unnecessary at all in the case. Signed-off-by: Byungchul P

Re: [PATCH 6/8] block: add scalable completion tracking of requests

2016-11-09 Thread Jan Kara
On Tue 08-11-16 08:25:52, Jens Axboe wrote: > On 11/08/2016 06:30 AM, Jan Kara wrote: > >On Tue 01-11-16 15:08:49, Jens Axboe wrote: > >>For legacy block, we simply track them in the request queue. For > >>blk-mq, we track them on a per-sw queue basis, which we can then > >>sum up through the hardw

Re: [PATCH v2] irqchip/renesas-irqc: Postpone driver initialization

2016-11-09 Thread Marc Zyngier
Hi Geert, On 08/11/16 19:35, Geert Uytterhoeven wrote: > Currently the renesas-irqc driver uses postcore_initcall(). > > However, the new CPG/MSSR driver uses subsys_initcall(). Hence the > IRQC's probe will be deferred, which causes the Micrel Ethernet PHY to > not find its interrupt on R-Car Ge

Re: [PATCH] net/mlx4_en: Fix bpf_prog_add ref_cnt in mlx4

2016-11-09 Thread Daniel Borkmann
On 11/09/2016 08:35 AM, Zhiyi Sun wrote: There are rx_ring_num queues. Each queue will load xdp prog. So bpf_prog_add() should add rx_ring_num to ref_cnt. Signed-off-by: Zhiyi Sun Your analysis looks incorrect to me. Please elaborate in more detail why you think current code is buggy ... Cal

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-09 Thread John Garry
I'd suggest requiring #address-cells=<1> and #size-cells=<0> in the master node, and listing the children by reg property. If the address is not easily expressed as a single integer, use a larger #address-cells value. We already have something equivalent to reg in "module-id" (see patch 02/11),

[PATCH] [RFC] drivers: dma-coherent: use MEMREMAP_WB instead of MEMREMAP_WC

2016-11-09 Thread Jaewon Kim
Commit 6b03ae0d42bf (drivers: dma-coherent: use MEMREMAP_WC for DMA_MEMORY_MA) added MEMREMAP_WC for DMA_MEMORY_MAP. If, however, CPU cache can be used on DMA_MEMORY_MAP, I think MEMREMAP_WC can be changed to MEMREMAP_WB. On my local ARM device, memset in dma_alloc_from_coherent sometimes takes muc

Re: [RFC] fs: add userspace critical mounts event support

2016-11-09 Thread Daniel Wagner
[CC: added Harald] On 11/08/2016 11:47 PM, Luis R. Rodriguez wrote: On Wed, Oct 05, 2016 at 09:46:33PM +0200, Luis R. Rodriguez wrote: On Wed, Oct 05, 2016 at 11:08:06AM -0700, Linus Torvalds wrote: On Wed, Oct 5, 2016 at 11:00 AM, Luis R. Rodriguez wrote: On Tue, Sep 13, 2016 at 09:38:17PM

Re: [PATCH v2] spi: atmel: use managed resource for gpio chip select

2016-11-09 Thread Nicolas Ferre
Le 08/11/2016 à 18:49, Alexandre Belloni a écrit : > On 08/11/2016 at 18:48:52 +0100, Nicolas Ferre wrote : >> Use the managed gpio CS pin request so that we avoid having trouble >> in the cleanup code. >> In fact, if module was configured with DT, cleanup code released >> invalid pin. Since resou

Re: [v16, 0/7] Fix eSDHC host version register bug

2016-11-09 Thread Wolfram Sang
Can you please update your CC list? There is nothing i2c related in this patch series, so you could drop the i2c-list. signature.asc Description: PGP signature

Re: [PATCH] x86/cpufeatures: Enable new AVX512 cpu features

2016-11-09 Thread Borislav Petkov
On Tue, Nov 08, 2016 at 04:08:44PM -0800, Gayatri Kammela wrote: > Modify cpufeatures.h to add new AVX512 instruction groups/features > for enuermation in /proc/cpuinfo: AVX512IFMA and AVX512VBMI > > Also modify the xstate.c to clear the flags in > fpu__xstate_clear_all_cpu_caps(). This is alread

Re: [PATCH] gcov: support GCC 7.1

2016-11-09 Thread Peter Oberparleiter
On 31.10.2016 10:35, Martin Liška wrote: > Starting from GCC 7.1, __gcov_exit is a new symbol expected > to be implemented in a profiling runtime. I tested your patch with kernel 4.9-rc4 compiled with GCC 7.0.0 20161107 (experimental) and validated that it fixes the build error due to a missing __

Re: [Ksummit-discuss] Including images on Sphinx documents

2016-11-09 Thread Markus Heiser
Am 07.11.2016 um 18:01 schrieb Josh Triplett : > On Mon, Nov 07, 2016 at 07:55:24AM -0200, Mauro Carvalho Chehab wrote: >> 2) add an Sphinx extension that would internally call ImageMagick and/or >> inkscape to convert the bitmap; > > This seems sensible; Sphinx should directly handle the sourc

Re: [PATCH v4 1/4] usb: dbc: early driver for xhci debug capability

2016-11-09 Thread Thomas Gleixner
On Tue, 1 Nov 2016, Lu Baolu wrote: > +static int __init xdbc_init(void) > +{ ... > + base = ioremap_nocache(xdbc.xhci_start, xdbc.xhci_length); > + if (!base) { > + xdbc_trace("failed to remap the io address\n"); > + ret = -ENOMEM; > + goto free_and_quit

[PATCH] mm/hugetlb.c: mark alloc_gigantic_page stub inline

2016-11-09 Thread Arnd Bergmann
A cleanup patch introduced a new stub helper function but accidentally did not mark that 'inline' as all the other stubs are here, and this causes a warning when it is not used: mm/hugetlb.c:1166:21: error: 'alloc_gigantic_page' defined but not used [-Werror=unused-function] Fixes: akpm-current

Re: [PATCH] [RFC] drivers: dma-coherent: use MEMREMAP_WB instead of MEMREMAP_WC

2016-11-09 Thread Brian Starkey
Hi Jaewon, On Wed, Nov 09, 2016 at 06:10:09PM +0900, Jaewon Kim wrote: Commit 6b03ae0d42bf (drivers: dma-coherent: use MEMREMAP_WC for DMA_MEMORY_MA) added MEMREMAP_WC for DMA_MEMORY_MAP. If, however, CPU cache can be used on DMA_MEMORY_MAP, I think MEMREMAP_WC can be changed to MEMREMAP_WB. On

[GIT PULL] two bug fixes for 4.9-rc5

2016-11-09 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Two bug fixes * A memory alignment fix in the s390 only hypfs code * A fix for the generic percpu code that caused ftrace to br

[PATCH] staging: sm750fb: prefix global identifiers

2016-11-09 Thread Arnd Bergmann
Renaming some symbols inside this driver caused a conflict with an existing function, which in turn results in a link error: drivers/staging/sm750fb/sm750fb.o: In function `enable_dma': ddk750_hwi2c.c:(.text.enable_dma+0x0): multiple definition of `enable_dma' This adds a sm750_ prefix to each gl

[PATCH 4/6] net: phy: Initialize mdio clock at probe function

2016-11-09 Thread Yendapally Reddy Dhananjaya Reddy
Initialize mdio clock divisor in probe function. The ext bus bit available in the same register will be used by mdio mux to enable external mdio. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/net/phy/mdio-bcm-iproc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) dif

[PATCH 3/6] net: mdio-mux: Add MDIO mux driver for NSP SoC

2016-11-09 Thread Yendapally Reddy Dhananjaya Reddy
NSP SoC supports the mdio multiplexer which has the bus selection logic. This multiplexer has child buses for PCIe, USB. The bus could be internal or external to SOC where PHYs are attached. Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/net/phy/Kconfig| 9 +++ driv

[PATCH 1/6] dt-bindings: mdio-mux: Add documentation for mdio mux for NSP SoC

2016-11-09 Thread Yendapally Reddy Dhananjaya Reddy
Add documentation for mdio mux available in Broadcom NSP SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- .../devicetree/bindings/net/brcm,mdio-mux-nsp.txt | 57 ++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/brcm,mdio-m

[PATCH 6/6] arm: dts: nsp: Add USB nodes to device tree

2016-11-09 Thread Yendapally Reddy Dhananjaya Reddy
Add USB nodes to the Northstar plus device tree file Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- arch/arm/boot/dts/bcm-nsp.dtsi | 57 arch/arm/boot/dts/bcm958625k.dts | 16 +++ 2 files changed, 73 insertions(+) diff --git a/arch/arm/bo

[PATCH 0/6] USB support for Broadcom NSP SoC

2016-11-09 Thread Yendapally Reddy Dhananjaya Reddy
This patch set contains the usb support for Broadcom NSP SoC. The usb phy is connected through mdio interface. The mdio interface can be used to access either internal phys or external phys using a multiplexer. The first patch provides the documentation details for mdio-mux and second patch provid

[PATCH 2/6] dt-bindings: phy: Add documentation for NSP USB3 PHY

2016-11-09 Thread Yendapally Reddy Dhananjaya Reddy
Add documentation for USB3 PHY available in Northstar plus SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- .../devicetree/bindings/phy/brcm,nsp-usb3-phy.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/brcm,nsp-

Re: [RFC] ARCv2: MCIP: Deprecate setting of affinity in Device Tree

2016-11-09 Thread Marc Zyngier
Hi Vineet, On 08/11/16 20:57, Vineet Gupta wrote: > +CC MarcZ > > Hi Marc, > > I have a question below > [...] > So as discussed in a prior thread, we no longer support setting the default > affinity via DT (so removed from xlate function). However we are now using the > domain map function t

[PATCH 5/6] phy: Add USB3 PHY support for Broadcom NSP SoC

2016-11-09 Thread Yendapally Reddy Dhananjaya Reddy
This patch adds support for Broadcom NSP USB3 PHY Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- drivers/phy/Kconfig| 9 +++ drivers/phy/Makefile | 1 + drivers/phy/phy-bcm-nsp-usb3.c | 176 + 3 files changed, 186 insertions

[PATCH] timers: Fix timer inaccuracy

2016-11-09 Thread Joonwoo Park
When a new timer list enqueued into the time wheel, array index for the given expiry time is: expires = (expires + LVL_GRAN(lvl)) >> LVL_SHIFT(lvl); idx = LVL_OFFS(lvl) + (expires & LVL_MASK); The granularity of the expiry time level is being added to the index in order to fire the timer afte

Re: [PATCH v5 2/5] driver core: Functional dependencies tracking support

2016-11-09 Thread Andrzej Hajda
On 09.11.2016 07:45, Greg Kroah-Hartman wrote: > On Tue, Nov 08, 2016 at 09:58:24PM +0100, Luis R. Rodriguez wrote: Furthermore -- how does this framework compare to Andrzej's resource tracking solution? I confess I have not had a chance yet to review yet but in light of

Re: [PATCH v4 1/4] usb: dbc: early driver for xhci debug capability

2016-11-09 Thread Thomas Gleixner
On Tue, 1 Nov 2016, Lu Baolu wrote: > +static void early_xdbc_write(struct console *con, const char *str, u32 n) > +{ > + int chunk, ret; > + static char buf[XDBC_MAX_PACKET]; > + int use_cr = 0; > + > + if (!xdbc.xdbc_reg) > + return; > + memset(buf, 0, XDBC_MAX_PAC

Re: [PATCH v5 2/5] driver core: Functional dependencies tracking support

2016-11-09 Thread Greg Kroah-Hartman
On Wed, Nov 09, 2016 at 10:36:54AM +0100, Andrzej Hajda wrote: > On 09.11.2016 07:45, Greg Kroah-Hartman wrote: > > On Tue, Nov 08, 2016 at 09:58:24PM +0100, Luis R. Rodriguez wrote: > Furthermore -- how does this framework compare to Andrzej's resource > tracking > solution? I conf

Re: [Intel-gfx] [REGRESSION] Linux 4.9-rc4: gfx glitches on Intel Sandybridge (was: Re: Linux 4.9-rc4)

2016-11-09 Thread Jani Nikula
On Wed, 09 Nov 2016, Martin Steigerwald wrote: > Also no graphics glitches with external DisplayPort connected display. Thanks for confirming this. The fix should make it to -rc5. > *However*, I got a soft freeze and a hard freeze (well after about a > minute I gave up and rebooted by pressing p

Re: [PATCH v2] spi: atmel: use managed resource for gpio chip select

2016-11-09 Thread Alexandre Belloni
On 09/11/2016 at 10:16:18 +0100, Nicolas Ferre wrote : > Le 08/11/2016 à 18:49, Alexandre Belloni a écrit : > > On 08/11/2016 at 18:48:52 +0100, Nicolas Ferre wrote : > >> Use the managed gpio CS pin request so that we avoid having trouble > >> in the cleanup code. > >> In fact, if module was confi

答复: [PATCH] add one parameter wro_enable to enable relaxed ordering for IXGBE

2016-11-09 Thread maowenan
I have verified that the performance will be enhanced certainly when I enabled Relax Ordering on SPARC, but think it is not very flexible to disable or enable Relax Ordering feature using CONFIG_SPARC currently, So I want to use module parameter to set RO instead of "#ifndef CONFIG_SPARC", no ne

Re: [PATCH] net/mlx4_en: Fix bpf_prog_add ref_cnt in mlx4

2016-11-09 Thread Zhiyi Sun
On Wed, Nov 09, 2016 at 10:05:31AM +0100, Daniel Borkmann wrote: > On 11/09/2016 08:35 AM, Zhiyi Sun wrote: > > There are rx_ring_num queues. Each queue will load xdp prog. So > > bpf_prog_add() should add rx_ring_num to ref_cnt. > > > > Signed-off-by: Zhiyi Sun > > Your analysis looks incorrect

Re: [PATCH v10 1/7] x86/arch_prctl/64: Use SYSCALL_DEFINE2 to define sys_arch_prctl

2016-11-09 Thread Borislav Petkov
On Tue, Nov 08, 2016 at 10:39:50AM -0800, Kyle Huey wrote: <--- Add commit message here. > Signed-off-by: Kyle Huey > --- > arch/x86/kernel/process_64.c | 3 ++- > arch/x86/um/syscalls_64.c| 3 ++- > 2 files changed, 4 insertions(+), 2 deletions(-) ... > void arch_switch_to(struct task_s

Re: [PATCH] [RFC] drivers: dma-coherent: use MEMREMAP_WB instead of MEMREMAP_WC

2016-11-09 Thread Jaewon Kim
On 2016년 11월 09일 18:27, Brian Starkey wrote: > Hi Jaewon, > > On Wed, Nov 09, 2016 at 06:10:09PM +0900, Jaewon Kim wrote: >> Commit 6b03ae0d42bf (drivers: dma-coherent: use MEMREMAP_WC for >> DMA_MEMORY_MA) >> added MEMREMAP_WC for DMA_MEMORY_MAP. If, however, CPU cache can be used on >> DMA_MEM

[PATCH] sparc32: Fix inverted invalid_frame_pointer checks on sigreturns

2016-11-09 Thread Andreas Larsson
Signed-off-by: Andreas Larsson --- arch/sparc/kernel/signal_32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/sparc/kernel/signal_32.c b/arch/sparc/kernel/signal_32.c index c3c12ef..9c0c8fd 100644 --- a/arch/sparc/kernel/signal_32.c +++ b/arch/sparc/kernel/signal_3

Re: [PATCH 1/6] clk: stm32f4: Add PLL_I2S & PLL_SAI for STM32F429/469 boards

2016-11-09 Thread Gabriel Fernandez
On 11/09/2016 09:10 AM, Radosław Pietrzyk wrote: I would expect that VCO clock will force recalculation for all its children if I am not mistaken. Sure BR Gabriel. 2016-11-08 17:19 GMT+01:00 Gabriel Fernandez : On 11/08/2016 09:52 AM, Radosław Pietrzyk wrote: 2016-11-08 9:35 GMT+01:00 Gab

Re: [PATCH] MIPS: fix duplicate define

2016-11-09 Thread James Hogan
On Tue, Nov 08, 2016 at 09:43:35PM +, Sudip Mukherjee wrote: > The mips build of ip27_defconfig is failing with the error: > In file included from ../arch/mips/include/asm/mach-ip27/spaces.h:29:0, > from ../arch/mips/include/asm/page.h:12, > from ../arch/mips/v

Re: ILP32 for ARM64: testing with glibc testsuite

2016-11-09 Thread Yury Norov
On Mon, Nov 07, 2016 at 01:53:59PM +0530, Yury Norov wrote: > Hi all, > > [add libc-alpha mail list] > > For libc-alpha: this is the part of LKML submission with latest > patches for aarch64/ilp32. > https://www.spinics.net/lists/arm-kernel/msg537846.html > > Glibc that I use has also included c

Re: [PATCH net v2 2/4] net: ethernet: ti: cpsw: fix device and of_node leaks

2016-11-09 Thread Johan Hovold
On Tue, Nov 08, 2016 at 05:19:29PM -0600, Grygorii Strashko wrote: > > > On 11/03/2016 12:40 PM, Johan Hovold wrote: > > Make sure to drop the references taken by of_get_child_by_name() and > > bus_find_device() before returning from cpsw_phy_sel(). > > > > Note that holding a reference to the cp

Re: [PATCH] timers: Fix timer inaccuracy

2016-11-09 Thread Thomas Gleixner
On Wed, 9 Nov 2016, Joonwoo Park wrote: > When a new timer list enqueued into the time wheel, array index > for the given expiry time is: > > expires = (expires + LVL_GRAN(lvl)) >> LVL_SHIFT(lvl); > idx = LVL_OFFS(lvl) + (expires & LVL_MASK); > > The granularity of the expiry time level is b

Re: [Intel-gfx] [REGRESSION] Linux 4.9-rc4: gfx glitches on Intel Sandybridge (was: Re: Linux 4.9-rc4)

2016-11-09 Thread Martin Steigerwald
Am Mittwoch, 9. November 2016, 11:42:36 CET schrieb Jani Nikula: > > *However*, I got a soft freeze and a hard freeze (well after about a > > minute I gave up and rebooted by pressing power button long enough to > > forcefully switch off the laptop) when playing PlaneShift using > > drm-intel-fixes

Re: [PATCH v10 2/7] x86/arch_prctl/64: Rename do_arch_prctl to do_arch_prctl_64

2016-11-09 Thread Borislav Petkov
On Tue, Nov 08, 2016 at 10:39:51AM -0800, Kyle Huey wrote: > In order to introduce new arch_prctls that are not 64 bit only, rename the > existing 64 bit implementation to do_arch_prctl_64. Also rename the second do_arch_prctl_64() > argument to arch_prctl, whi

Re: module: Ensure a module's state is set accordingly during module coming cleanup code

2016-11-09 Thread Jessica Yu
+++ Rusty Russell [26/10/16 11:24 +1030]: Aaron Tomlin writes: In load_module() in the event of an error, for e.g. unknown module parameter(s) specified we go to perform some module coming clean up operations. At this point the module is still in a "formed" state when it is actually going away.

Re: [PATCH v7 3/3] drm/fence: add out-fences support

2016-11-09 Thread Daniel Vetter
On Wed, Nov 09, 2016 at 11:39:11AM +0900, Gustavo Padovan wrote: > > On Tue, Nov 08, 2016 at 03:54:50PM +0900, Gustavo Padovan wrote: > > > + if (!access_ok(VERIFY_WRITE, fence_ptr, sizeof(*fence_ptr))) > > > + return -EFAULT; > > > > Same comment about igt coverage I made

Re: [PATCH v4 0/4] MIPS: Remote processor driver

2016-11-09 Thread Thomas Gleixner
On Wed, 2 Nov 2016, Matt Redfearn wrote: > The MIPS remote processor driver allows non-Linux firmware to take > control of and execute on one of the systems VPEs. The CPU must be > offlined from Linux first. A sysfs interface is created which allows > firmware to be loaded and changed at runtime. A

Re: [PATCH] proc: optimize render_sigset_t()

2016-11-09 Thread Alexey Dobriyan
On Wed, Nov 9, 2016 at 12:37 AM, Andrei Vagin wrote: > @@ -245,10 +247,13 @@ void render_sigset_t(struct seq_file *m, const char > *header, > if (sigismember(set, i+2)) x |= 2; > if (sigismember(set, i+3)) x |= 4; > if (sigismember(set, i+4)) x |=

Re: [PATCH] net/mlx4_en: Fix bpf_prog_add ref_cnt in mlx4

2016-11-09 Thread Daniel Borkmann
On 11/09/2016 10:45 AM, Zhiyi Sun wrote: On Wed, Nov 09, 2016 at 10:05:31AM +0100, Daniel Borkmann wrote: On 11/09/2016 08:35 AM, Zhiyi Sun wrote: There are rx_ring_num queues. Each queue will load xdp prog. So bpf_prog_add() should add rx_ring_num to ref_cnt. Signed-off-by: Zhiyi Sun Your

Re: [PATCH] [RFC] drivers: dma-coherent: use MEMREMAP_WB instead of MEMREMAP_WC

2016-11-09 Thread Brian Starkey
Hi, On Wed, Nov 09, 2016 at 06:47:26PM +0900, Jaewon Kim wrote: On 2016년 11월 09일 18:27, Brian Starkey wrote: Hi Jaewon, On Wed, Nov 09, 2016 at 06:10:09PM +0900, Jaewon Kim wrote: Commit 6b03ae0d42bf (drivers: dma-coherent: use MEMREMAP_WC for DMA_MEMORY_MA) added MEMREMAP_WC for DMA_MEMORY

Re: [PATCH v10 3/7] x86/arch_prctl: Add do_arch_prctl_common

2016-11-09 Thread Borislav Petkov
On Tue, Nov 08, 2016 at 10:39:52AM -0800, Kyle Huey wrote: > Add do_arch_prctl_common to handle arch_prctls that are not specific to 64 do_arch_prctl_common() > bits. Call it from the syscall entry point, but not any of the other "... to 64-bit mode." Or something like that... > callsites

Re: [PATCH v2 00/12] mm: page migration enhancement for thp

2016-11-09 Thread Anshuman Khandual
On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: > Hi everyone, > > I've updated thp migration patches for v4.9-rc2-mmotm-2016-10-27-18-27 > with feedbacks for ver.1. > > General description (no change since ver.1) > === > > This patchset enhances page migra

Re: [PATCH v3 2/3] PCI: qcom: add support to msm8996 PCIE controller

2016-11-09 Thread Vivek Gautam
Hi, On Fri, Nov 4, 2016 at 6:29 PM, Srinivas Kandagatla wrote: > This patch adds support to msm8996/apq8096 pcie, MSM8996 supports > Gen 1/2, One lane, 3 pcie root-complex with support to MSI and > legacy interrupts and it conforms to PCI Express Base 2.1 specification. > > This patch adds post_i

Re: [PATCH -v4 1/8] locking/drm: Kill mutex trickery

2016-11-09 Thread Peter Zijlstra
On Fri, Oct 07, 2016 at 05:43:51PM +0200, Peter Zijlstra wrote: > On Fri, Oct 07, 2016 at 04:52:44PM +0200, Peter Zijlstra wrote: > > Poking at lock internals is not cool. Since I'm going to change the > > implementation this will break, take it out. > > > So something like the below would serve

Re: module: When modifying a module's text ignore modules which are going away too

2016-11-09 Thread Jessica Yu
+++ Aaron Tomlin [07/11/16 11:46 +]: Hi Jessica, Any thoughts? Hi Aaron, Thanks for your patience as I slowly work through a large swath of emails :-) Anyway, this looks fine to me. A going module's text should be (or soon will be) rw anyway, so checking for going modules in the ro case

[PATCH v2] leds: ledtrig-heartbeat: Make top brightness adjustable

2016-11-09 Thread Jacek Anaszewski
LED class heartbeat trigger allowed only for blinking with max_brightness value. This patch adds more flexibility by exploiting part of LED core software blink infrastructure. Signed-off-by: Jacek Anaszewski Cc: Pavel Machek Cc: Hans de Goede --- Changes since v1: - after introduction of work_f

[PATCH 4.4 01/69] i2c: xgene: Avoid dma_buffer overrun

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hoan Tran commit 603616017c35f4d0fbdbcace72adf9bf949c4a65 upstream. SMBus block command uses the first byte of buffer for the data length. The dma_buffer should be increased by 1 to avoid the o

[PATCH 4.4 04/69] h8300: fix syscall restarting

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mark Rutland commit 21753583056d48a5fad964d6f272e28168426845 upstream. Back in commit f56141e3e2d9 ("all arches, signal: move restart_block to struct task_struct"), all architectures and core c

[PATCH 4.4 00/69] 4.4.31-stable review

2016-11-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.31 release. There are 69 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Fri Nov 11 10:28:46 UTC 2016. Anything receive

[PATCH 4.4 05/69] libxfs: clean up _calc_dquots_per_chunk

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Darrick J. Wong commit 58d789678546d46d7bbd809dd7dab417c0f23655 upstream. The function xfs_calc_dquots_per_chunk takes a parameter in units of basic blocks. The kernel seems to get the units w

[PATCH 4.4 22/69] USB: serial: fix potential NULL-dereference at probe

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 126d26f66d9890a69158812a6caa248c05359daa upstream. Make sure we have at least one port before attempting to register a console. Currently, at least one driver binds to a "d

[PATCH 4.4 26/69] GenWQE: Fix bad page access during abort of resource allocation

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Gerald Schaefer commit a7a7aeefbca2982586ba2c9fd7739b96416a6d1d upstream. When interrupting an application which was allocating DMAable memory, it was possible, that the DMA memory was dealloca

[PATCH 4.4 19/69] ubifs: Fix regression in ubifs_readdir()

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit a00052a296e54205cf238c75bd98d17d5d02a6db upstream. Commit c83ed4c9dbb35 ("ubifs: Abort readdir upon error") broke overlayfs support because the fix exposed an internal

[PATCH 4.4 06/69] mm/list_lru.c: avoid error-path NULL pointer deref

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Polakov commit 1bc11d70b5db7c6bb1414b283d7f09b1fe1ac0d0 upstream. As described in https://bugzilla.kernel.org/show_bug.cgi?id=177821: After some analysis it seems to be that the prob

[PATCH 4.4 24/69] xhci: use default USB_RESUME_TIMEOUT when resuming ports.

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 7d3b016a6f5a0fa610dfd02b05654c08fa4ae514 upstream. USB2 host inititated resume, and system suspend bus resume need to use the same USB_RESUME_TIMEOUT as elsewhere. This re

[PATCH 4.4 14/69] ALSA: hda - Fix headset mic detection problem for two Dell laptops

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 6aecd8715802d23dc6a0859b50c62d2b0a99de3a upstream. They uses the codec ALC255, and have the different pin cfg definition from the ones in the existing pin quirk table. Now addin

[PATCH 4.4 32/69] USB: serial: cp210x: fix tiocmget error handling

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit de24e0a108bc48062e1c7acaa97014bce32a919f upstream. The current tiocmget implementation would fail to report errors up the stack and instead leaked a few bits from the stack

[PATCH 4.4 30/69] xhci: add restart quirk for Intel Wildcatpoint PCH

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 4c39135aa412d2f1381e43802523da110ca7855c upstream. xHC in Wildcatpoint-LP PCH is similar to LynxPoint-LP and need the same quirks to prevent machines from spurious restart

[PATCH 4.4 12/69] ALSA: hda - allow 40 bit DMA mask for NVidia devices

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 3ab7511eafdd5c4f40d2832f09554478dfbea170 upstream. Commit 49d9e77e72cf ("ALSA: hda - Fix system panic when DMA > 40 bits for Nvidia audio controllers") simply disabled any

[PATCH 4.4 33/69] dm: free io_barrier after blk_cleanup_queue call

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit d09960b0032174eb493c4c13be5b9c9ef36dc9a7 upstream. dm_old_request_fn() has paths that access md->io_barrier. The party destroying io_barrier should ensure that no future

[PATCH 4.4 11/69] ALSA: hda - Raise AZX_DCAPS_RIRB_DELAY handling into top drivers

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 7d9a180895ee8c301df7f9447429009795c56c21 upstream. AZX_DCAPS_RIRB_DELAY is dedicated only for Nvidia and its purpose is just to set a flag in bus. So it's better to be set

[PATCH 4.4 09/69] ALSA: usb-audio: Add quirk for Syntek STK1160

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marcel Hasler commit bdc3478f90cd4d2928197f36629d5cf93b64dbe9 upstream. The stk1160 chip needs QUIRK_AUDIO_ALIGN_TRANSFER. This patch resolves the issue reported on the mailing list (http://mar

[PATCH 4.4 28/69] vt: clear selection before resizing

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Scot Doyle commit 009e39ae44f4191188aeb6dfbf661b771dbbe515 upstream. When resizing a vt its selection may exceed the new size, resulting in an invalid memory access [1]. Clear the selection bef

[PATCH 4.4 27/69] Fix potential infoleak in older kernels

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds Not upstream as it is not needed there. So a patch something like this might be a safe way to fix the potential infoleak in older kernels. THIS IS UNTESTED. It's a very obvious

[PATCH 4.4 18/69] ubifs: Abort readdir upon error

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit c83ed4c9dbb358b9e7707486e167e940d48bfeed upstream. If UBIFS is facing an error while walking a directory, it reports this error and ubifs_readdir() returns the error c

[PATCH 4.4 29/69] hv: do not lose pending heartbeat vmbus packets

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Long Li commit 407a3aee6ee2d2cb46d9ba3fc380bc29f35d020c upstream. The host keeps sending heartbeat packets independent of the guest responding to them. Even though we respond to the heartbeat

[PATCH 4.4 17/69] btrfs: fix races on root_log_ctx lists

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chris Mason commit 570dd45042a7c8a7aba1ee029c5dd0f5ccf41b9b upstream. btrfs_remove_all_log_ctxs takes a shortcut where it avoids walking the list because it knows all of the waiters are patient

[PATCH 4.4 23/69] USB: serial: ftdi_sio: add support for Infineon TriBoard TC2X7

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Tauner commit ca006f785fbfd7a5c901900bd3fe2b26e946a1ee upstream. This adds support to ftdi_sio for the Infineon TriBoard TC2X7 engineering board for first-generation Aurix SoCs with Tric

[PATCH 4.4 25/69] usb: increase ohci watchdog delay to 275 msec

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Bryan Paluch commit ed6d6f8f42d7302f6f9b6245f34927ec20d26c12 upstream. Increase ohci watchout delay to 275 ms. Previous delay was 250 ms with 20 ms of slack, after removing slack time some ohci

[PATCH 4.4 13/69] ALSA: hda - Adding a new group of pin cfg into ALC295 pin quirk table

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit f771d5bb71d4df9573d12386400540516672208b upstream. We have a new Dell laptop model which uses ALC295, the pin definition is different from the existing ones in the pin quirk tab

  1   2   3   4   5   6   7   8   9   10   >