RE: hit a KASan bug related to Perf during stress test

2016-10-24 Thread Ni, BaoleX
Thanks a lot, guys. I will take Peter's patch to do stress test. -Original Message- From: Oleg Nesterov [mailto:o...@redhat.com] Sent: Monday, October 24, 2016 11:53 PM To: Peter Zijlstra Cc: Ni, BaoleX; mi...@redhat.com; a...@kernel.org; linux-kernel@vger.kernel.org; alexander.shish...@

Re: [PATCH v3] pinctrl: Add SX150X GPIO Extender Pinctrl Driver

2016-10-24 Thread Neil Armstrong
Hi Linus, Le 24/10/2016 16:39, Linus Walleij a écrit : > On Mon, Oct 24, 2016 at 6:51 AM, Andrey Smirnov > wrote: > >> It seem strange to me that the driver uses "handle_edge_irq", given >> how none of the individual interrupts seem to require any ACKing, >> since it is all handled in sx150x_irq

Re: [PATCH 1/6] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-24 Thread Lukasz Majewski
Hi Sascha, > On Sun, Oct 23, 2016 at 11:45:41PM +0200, Lukasz Majewski wrote: > > The code has been rewritten to remove "generic" calls to > > imx_pwm_{enable|disable|config}. > > > > Such approach would facilitate switch to atomic PWM (a.k.a > > ->apply()) implementation. > > > > Suggested-by:

RE: [PATCH v5 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-10-24 Thread Sricharan
Hi Marek, > diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c > index 5e6d7bbf9b70..59b4f2ce4f5f 100644 > --- a/drivers/iommu/exynos-iommu.c > +++ b/drivers/iommu/exynos-iommu.c > @@ -781,10 +781,6 @@ static void exynos_iommu_detach_device(struct > i

Re: linux.conf.au 2017 - Kernel Miniconf CFP

2016-10-24 Thread Andrew Donnellan
On 04/10/16 21:18, Andrew Donnellan wrote: Greetings, * TL;DR - LCA Kernel Miniconf, Hobart, Australia, {16,17} Jan 2017 - Submissions by 23:59, 21 November (Anywhere on Earth) CFP less than a month away! See https://linux.conf.au/schedule/presentation/6/ for submission details.

Re: [PATCH v2 RESEND] drivers/usb: Skip auto handoff for TI and RENESAS usb controllers

2016-10-24 Thread Mathias Nyman
On 24.10.2016 17:52, Babu Moger wrote: On 10/24/2016 5:54 AM, Yoshihiro Shimoda wrote: Hi, From: Mathias Nyman Sent: Monday, October 24, 2016 6:58 PM On 22.10.2016 01:25, Babu Moger wrote: Never seen XHCI auto handoff working on TI and RENESAS cards. Eventually, we force handoff. This code

Re: [PATCH v2] drm/fb-helper: Don't call dirty callback for untouched clips

2016-10-24 Thread Takashi Iwai
On Fri, 21 Oct 2016 14:52:07 +0200, Ville Syrjälä wrote: > > On Thu, Oct 20, 2016 at 05:05:30PM +0200, Takashi Iwai wrote: > > Since 4.7 kernel, we've seen the error messages like > > > > kernel: [TTM] Buffer eviction failed > > kernel: qxl :00:02.0: object_init failed for (4026540032, 0x00

Re: [PATCH 1/6] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-24 Thread Boris Brezillon
On Tue, 25 Oct 2016 08:32:59 +0200 Sascha Hauer wrote: > On Tue, Oct 25, 2016 at 08:27:37AM +0200, Boris Brezillon wrote: > > On Tue, 25 Oct 2016 07:54:54 +0200 > > Sascha Hauer wrote: > > > > > On Sun, Oct 23, 2016 at 11:45:41PM +0200, Lukasz Majewski wrote: > > > > The code has been rewri

Re: [PATCH] drm/amd/powerplay: mark symbols static where possible

2016-10-24 Thread Daniel Vetter
On Mon, Oct 24, 2016 at 10:41:16PM +0200, Arnd Bergmann wrote: > On Monday, October 24, 2016 8:07:16 PM CEST Deucher, Alexander wrote: > > > > > In fact, these functions are only used in the file in which they are > > > > > declared and don't need a declaration, but can be made static. > > > > > So

UBIFS LEB properties tree with odd addresses

2016-10-24 Thread Naga Sureshkumar Relli
Hi, We are testing UBIFS (NOR) on Zynq Ultrascale+ MPSoC GQSPI controller driver. Apart from my previous mail thread about UBIFS, i.e along with dma issue I am facing one more Problem related to offsets. Info about GQSPI Controller: This controller can access the flash device in the following mo

Re: [PATCH V1] mfd: pv88080: Expand driver for GPIO function support.

2016-10-24 Thread Lee Jones
vides communication through the I2C interface. > and contains the following components: > > - Regulators > - Configurable GPIOs > > Kconfig and Makefile are updated to reflect support for PV88080 PMIC. > > Signed-off-by: Eric Jeong > > --- > This patch app

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-24 Thread Vignesh R
On Tuesday 25 October 2016 11:46 AM, John Syne wrote: > >> On Oct 24, 2016, at 11:01 PM, John Syne wrote: >> >>> >>> On Oct 24, 2016, at 10:52 PM, Mugunthan V N wrote: >>> [...] >> >> --- >> include/linux/mfd/ti_am335x_tscadc.h | 4 ++-- >> 1 file changed, 2 insertions(+), 2 del

Re: [PATCH 6/6] pwm: imx: Introduce "polarity_supported" flag to PWMv2 driver

2016-10-24 Thread Boris Brezillon
Hi Lukasz, On Mon, 24 Oct 2016 23:14:58 +0200 Lukasz Majewski wrote: > Hi Boris, > > > On Mon, 24 Oct 2016 17:28:52 +0200 > > Boris Brezillon wrote: > > > > > On Sun, 23 Oct 2016 23:45:46 +0200 > > > Lukasz Majewski wrote: > > > > > > > The need for set_polarity() function has been remo

Re: [RESEND PATCH v3 kernel 4/7] virtio-balloon: speed up inflate/deflate process

2016-10-24 Thread Michael S. Tsirkin
On Fri, Oct 21, 2016 at 02:24:37PM +0800, Liang Li wrote: > The implementation of the current virtio-balloon is not very > efficient, the time spends on different stages of inflating > the balloon to 7GB of a 8GB idle guest: > > a. allocating pages (6.5%) > b. sending PFNs to host (68.3%) > c. add

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-24 Thread Lee Jones
On Mon, 24 Oct 2016, John Syne wrote: > > On Oct 24, 2016, at 11:01 PM, John Syne wrote: > >> On Oct 24, 2016, at 10:52 PM, Mugunthan V N wrote: > >> > >> On Tuesday 25 October 2016 02:28 AM, John Syne wrote: > > On Oct 23, 2016, at 11:02 PM, Mugunthan V N wrote: > > > > Increase A

Re: [PATCH 1/6] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-24 Thread Sascha Hauer
On Tue, Oct 25, 2016 at 08:27:37AM +0200, Boris Brezillon wrote: > On Tue, 25 Oct 2016 07:54:54 +0200 > Sascha Hauer wrote: > > > On Sun, Oct 23, 2016 at 11:45:41PM +0200, Lukasz Majewski wrote: > > > The code has been rewritten to remove "generic" calls to > > > imx_pwm_{enable|disable|config}.

Re: [PATCH 1/6] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-24 Thread Boris Brezillon
On Tue, 25 Oct 2016 07:54:54 +0200 Sascha Hauer wrote: > On Sun, Oct 23, 2016 at 11:45:41PM +0200, Lukasz Majewski wrote: > > The code has been rewritten to remove "generic" calls to > > imx_pwm_{enable|disable|config}. > > > > Such approach would facilitate switch to atomic PWM (a.k.a ->apply()

Re: [PATCH v3 1/1] x86/platform/intel-mid: Retrofit pci_platform_pm_ops ->get_state hook

2016-10-24 Thread Lukas Wunner
On Mon, Oct 24, 2016 at 02:05:45PM +0300, Andy Shevchenko wrote: > On Mon, 2016-10-24 at 12:09 +0200, Lukas Wunner wrote: > > I note that you're exporting intel_mid_pci_set_power_state() even > > though there's currently no module user, so perhaps you're intending > > to call the function from some

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-24 Thread John Syne
> On Oct 24, 2016, at 11:01 PM, John Syne wrote: > >> >> On Oct 24, 2016, at 10:52 PM, Mugunthan V N wrote: >> >> On Tuesday 25 October 2016 02:28 AM, John Syne wrote: > On Oct 23, 2016, at 11:02 PM, Mugunthan V N wrote: > > Increase ADC reference clock from 3MHz to 24MHz so tha

[PATCH v1] ARM: at91/dt: add dts file for sama5d36ek CMP board

2016-10-24 Thread Wenyou Yang
The difference between sama5d36ek_cmp.dts and sama5d36ek.dts is listed as below. 1. The USB host nodes are removed, that is, the USB host is disabled. 2. The gpio_keys node is added to wake up from the sleep. 3. The sama5d3xdm.dtsi isn't included, because the pins for LCD are conflicted with

[PATCH] x86/platform/intel-mid: Unexport intel_mid_pci_set_power_state()

2016-10-24 Thread Lukas Wunner
There's no module user of this. Cc: x...@kernel.org Cc: Andy Shevchenko Signed-off-by: Lukas Wunner --- arch/x86/platform/intel-mid/pwr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/platform/intel-mid/pwr.c b/arch/x86/platform/intel-mid/pwr.c index 67375dd..ef03852 100644 --- a

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-24 Thread John Syne
> On Oct 24, 2016, at 10:52 PM, Mugunthan V N wrote: > > On Tuesday 25 October 2016 02:28 AM, John Syne wrote: On Oct 23, 2016, at 11:02 PM, Mugunthan V N wrote: Increase ADC reference clock from 3MHz to 24MHz so that the sampling rates goes up from 100K samples per second

Re: [PATCH v2 00/10] ufs-qcom: phy/hcd: Clean up qcom-ufs phy and ufs-qcom hcd

2016-10-24 Thread Vivek Gautam
Hi Martin, On Tue, Oct 25, 2016 at 6:10 AM, Martin K. Petersen wrote: >> "Vivek" == Vivek Gautam writes: > > Vivek, > > Vivek> These patches cleanup the ufs phy driver to an extent. > Vivek> Subsequent patches will target to clean the phy_init() of these > Vivek> qcom-ufs phy drivers in or

Re: [PATCH] advansys: fix build warning for PCI=n

2016-10-24 Thread Hannes Reinecke
On 10/24/2016 05:51 PM, Arnd Bergmann wrote: > The advansys probe function tries to handle both ISA and PCI cases, > each hidden in an #ifdef when unused. This leads to a warning > indicating that when PCI is disabled we could be using uninitialized > data: > > drivers/scsi/advansys.c: In function

Re: [PATCH 5/7] ASoC: constify snd_soc_ops structures

2016-10-24 Thread Julia Lawall
On Mon, 24 Oct 2016, Mark Brown wrote: > On Sat, Oct 15, 2016 at 04:55:49PM +0200, Julia Lawall wrote: > > > --- > > sound/soc/generic/simple-card.c |2 +- > > sound/soc/generic/simple-scu-card.c |2 +- > > sound/soc/intel/boards/bdw-rt5677.c |

Re: [PATCH 1/6] pwm: imx: Rewrite imx_pwm_*_v1 code to facilitate switch to atomic pwm operation

2016-10-24 Thread Sascha Hauer
On Sun, Oct 23, 2016 at 11:45:41PM +0200, Lukasz Majewski wrote: > The code has been rewritten to remove "generic" calls to > imx_pwm_{enable|disable|config}. > > Such approach would facilitate switch to atomic PWM (a.k.a ->apply()) > implementation. > > Suggested-by: Stefan Agner > Suggested-by

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-10-24 Thread Mugunthan V N
On Tuesday 25 October 2016 02:28 AM, John Syne wrote: >> > On Oct 23, 2016, at 11:02 PM, Mugunthan V N wrote: >> > >> > Increase ADC reference clock from 3MHz to 24MHz so that the >> > sampling rates goes up from 100K samples per second to 800K >> > samples per second on AM335x and AM437x SoC. >>

Re: [PATCH 1/3] [media] au0828-video: Use kcalloc() in au0828_init_isoc()

2016-10-24 Thread Julia Lawall
On Mon, 24 Oct 2016, Mauro Carvalho Chehab wrote: > Em Mon, 24 Oct 2016 23:28:44 +0100 > Andrey Utkin escreveu: > > > On Mon, Oct 24, 2016 at 10:59:24PM +0200, SF Markus Elfring wrote: > > > From: Markus Elfring > > > Date: Mon, 24 Oct 2016 22:08:47 +0200 > > > > > > * Multiplications for the

[PATCH v2] drm/mediatek: fixed the calc method of data rate per lane

2016-10-24 Thread Jitao Shi
Tune dsi frame rate by pixel clock, dsi add some extra signal (i.e. Tlpx, Ths-prepare, Ths-zero, Ths-trail,Ths-exit) when enter and exit LP mode, this signal will cause h-time larger than normal and reduce FPS. Need to multiply a coefficient to offset the extra signal's effect. coefficient = ((htot

Re: [PATCH v2] IB/mlx5: avoid bogus -Wmaybe-uninitialized warning

2016-10-24 Thread Leon Romanovsky
On Mon, Oct 24, 2016 at 10:48:21PM +0200, Arnd Bergmann wrote: > We get a false-positive warning in linux-next for the mlx5 driver: > > infiniband/hw/mlx5/mr.c: In function ‘mlx5_ib_reg_user_mr’: > infiniband/hw/mlx5/mr.c:1172:5: error: ‘order’ may be used uninitialized in > this function [-Werror

Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of randomness

2016-10-24 Thread LABBE Corentin
On Mon, Oct 24, 2016 at 10:10:20PM +0200, Maxime Ripard wrote: > On Sat, Oct 22, 2016 at 03:53:28PM +0200, Corentin Labbe wrote: > > Since SID's content is constant over reboot, > > That's not true, at least not across all the Allwinner SoCs, and > especially not on the A10 and A20 that this drive

RE: [v7, 1/3] nand: pl353: Add basic driver for arm pl353 smc nand interface

2016-10-24 Thread Punnaiah Choudary Kalluri
> -Original Message- > From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] > Sent: Tuesday, October 25, 2016 4:30 AM > To: Punnaiah Choudary Kalluri > Cc: Boris Brezillon ; Punnaiah Choudary > Kalluri ; mark.rutl...@arm.com; linux- > m...@lists.infradead.org; michal.si...@xili

Re: [PATCH v7 0/6] x86/arch_prctl Add ARCH_[GET|SET]_CPUID for controlling the CPUID instruction

2016-10-24 Thread Kyle Huey
On Tue, Oct 18, 2016 at 7:03 PM, Kyle Huey wrote: > rr (http://rr-project.org/), a userspace record-and-replay reverse- > execution debugger, would like to trap and emulate the CPUID instruction. > This would allow us to a) mask away certain hardware features that rr does > not support (e.g. RDRAN

Re: [PATCH 4/7] mm: defer vmalloc from atomic context

2016-10-24 Thread Andrey Ryabinin
On 10/22/2016 06:17 PM, Christoph Hellwig wrote: > We want to be able to use a sleeping lock for freeing vmap to keep > latency down. For this we need to use the deferred vfree mechanisms > no only from interrupt, but from any atomic context. > > Signed-off-by: Christoph Hellwig > --- > mm/vm

Re: [PATCH] shmem: avoid huge pages for small files

2016-10-24 Thread Dave Chinner
On Mon, Oct 24, 2016 at 01:34:53PM -0700, Dave Hansen wrote: > On 10/21/2016 03:50 PM, Dave Chinner wrote: > > On Fri, Oct 21, 2016 at 06:00:07PM +0300, Kirill A. Shutemov wrote: > >> On Fri, Oct 21, 2016 at 04:01:18PM +1100, Dave Chinner wrote: > >> To me, most of things you're talking about is hi

[PATCH V1]iio: adc: spmi-vadc: Changes to support different scaling

2016-10-24 Thread Rama Krishna Phani A
Add changes to support different scale functions to convert adc code to physical units. Signed-off-by: Rama Krishna Phani A --- drivers/iio/adc/qcom-spmi-vadc.c | 319 ++- 1 file changed, 249 insertions(+), 70 deletions(-) diff --git a/drivers/iio/adc/qcom-sp

[PATCH 4/6] ACPICA: Events: Cleanup acpi_ev_initialize_region()

2016-10-24 Thread Lv Zheng
This patch changes acpi_ev_initialize_region(), stop returning AE_NOT_EXIST from it so that, not only in acpi_ds_load2_end_op(), but all places invoking this function won't emit exceptions. This patch also removes acpi_ns_locked from acpi_ev_initialize_region() as we have tuned table/namespace mut

[PATCH 6/6] ACPICA: Tables: Add acpi_tb_unload_table()

2016-10-24 Thread Lv Zheng
This patch introduces acpi_tb_unload_table() to eliminate redundant code from acpi_ex_unload_table() and acpi_unload_parent_table(). No functional change. Lv Zheng. Signed-off-by: Lv Zheng --- drivers/acpi/acpica/actables.h | 2 ++ drivers/acpi/acpica/exconfig.c | 35 +-

[PATCH 5/6] ACPICA: Tables: Cleanup acpi_tb_install_and_load_table()

2016-10-24 Thread Lv Zheng
acpi_tb_install_and_load_table() can invoke acpi_tb_load_table() to eliminate redundant code. No functional change. Lv Zheng. Signed-off-by: Lv Zheng --- drivers/acpi/acpica/actables.h | 3 +-- drivers/acpi/acpica/exconfig.c | 7 +++ drivers/acpi/acpica/tbdata.c | 45 +--

[PATCH 3/6] ACPICA: Dispatcher: Tune interpreter lock around acpi_ev_initialize_region()

2016-10-24 Thread Lv Zheng
In code path of acpi_ev_initialize_region(), there are namespace modification code unlocked. This patch tunes the code to make sure such modification are locked. Lv Zheng. Reported-by: Imre Deak Signed-off-by: Lv Zheng --- drivers/acpi/acpica/dsinit.c | 11 +++ drivers/acpi/acpica/dsm

[PATCH 2/6] ACPICA: Dispatcher: Fix an unbalanced lock exit path in acpi_ds_auto_serialize_method()

2016-10-24 Thread Lv Zheng
There is a lock unbalanced exit path in acpi_ds_initialize_method(), this patch corrects it. Lv Zheng. Signed-off-by: Lv Zheng --- drivers/acpi/acpica/dsmethod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c in

[PATCH 1/6] ACPICA: Dispatcher: Fix order issue of method termination

2016-10-24 Thread Lv Zheng
The last step of the method termination should be the end of the method serialization. Otherwise, the steps happening after it will face the race issues that cannot be protected by the method serialization mechanism. This patch fixes this issue by moving the per-method-object deletion code prior t

[PATCH 0/6] ACPICA: Interpreter: Improve lock order fixes

2016-10-24 Thread Lv Zheng
This patchset improves ACPICA intepreter lock order fixes. Including several urgent regression fixes [PATCH 0-3]. Patches tested with customized ACPI table where _PS0/_PS3 methods are customized to invoke a serialized control method which creates named objects. When pm_async=yes, AE_ALREADY_EXISTS

[PATCH net-next] ibmveth: calculate correct gso_size and set gso_type

2016-10-24 Thread Jon Maxwell
We recently encountered a bug where a few customers using ibmveth on the same LPAR hit an issue where a TCP session hung when large receive was enabled. Closer analysis revealed that the session was stuck because the one side was advertising a zero window repeatedly. We narrowed this down to the

[PATCH v3 2/2] fpga: Add support for Lattice iCE40 FPGAs

2016-10-24 Thread Joel Holdsworth
The Lattice iCE40 is a family of FPGAs with a minimalistic architecture and very regular structure, designed for low-cost, high-volume consumer and system applications. This patch adds support to the FPGA manager for configuring the SRAM of iCE40LM, iCE40LP, iCE40HX, iCE40 Ultra, iCE40 UltraLite a

[PATCH v3 1/2] of: Add vendor prefix for Lattice Semiconductor

2016-10-24 Thread Joel Holdsworth
--- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 1992aa9..d64a835 100644 --- a/Documentation/devicetree/bindings/vendor-

Re: [v2 2/2] fpga: Add support for Lattice iCE40 FPGAs

2016-10-24 Thread Joel Holdsworth
Hi Joel, Thanks for submitting your driver! I didn't see any huge problems, just minor things below... Alan Hi Alan, Thanks for your feedback. I've implemented all your suggestions and I'll resubmit. I had a question about the status of the fpga-manager framework. Is there active work

RE: [v7, 1/3] nand: pl353: Add basic driver for arm pl353 smc nand interface

2016-10-24 Thread Punnaiah Choudary Kalluri
> -Original Message- > From: Jason Gunthorpe [mailto:jguntho...@obsidianresearch.com] > Sent: Tuesday, October 25, 2016 10:16 AM > To: Punnaiah Choudary Kalluri > Cc: Boris Brezillon ; > mark.rutl...@arm.com; linux-...@lists.infradead.org; > michal.si...@xilinx.com; ezequiel.gar...@free-

Re: [RFC 0/8] Define coherent device memory node

2016-10-24 Thread Aneesh Kumar K.V
Jerome Glisse writes: > On Mon, Oct 24, 2016 at 10:01:49AM +0530, Anshuman Khandual wrote: > >> [...] > >> Core kernel memory features like reclamation, evictions etc. might >> need to be restricted or modified on the coherent device memory node as >> they can be performance limiting. The RF

[PATCH] gpio: mxc: Shift generic request/free after gpiochip registration

2016-10-24 Thread Deepak Das
generic gpio request/free should be added after gpiocip registration to validate mapping of gpiochip with pinctrl subsystem. gpiochip->pin_ranges list contains the information used by pinctrl subsystem to configure corresponding pins for gpio usage. This list will be empty if gpiochip fails to map

Re: [v2 2/2] fpga: Add support for Lattice iCE40 FPGAs

2016-10-24 Thread Joel Holdsworth
On 10/24/2016 04:28 PM, Moritz Fischer wrote: Hi Joel, Ha, finally someone beat me to submitting my driver, I had an ugly hack to bitbang the SPI since I couldn't figure out a good way to assert the creset after the CS. Thanks! Hi Moritz - yeah I figured someone might have a driver in the

Re: [v7, 1/3] nand: pl353: Add basic driver for arm pl353 smc nand interface

2016-10-24 Thread Jason Gunthorpe
On Tue, Oct 25, 2016 at 03:58:49AM +, Punnaiah Choudary Kalluri wrote: > > I have hacked the v7 patchset enough to work on 4.8 and hacked it some > > more to work on my hardware. The driver appears to be in no better > > shape than the 3.12 out-of-tree Xilinx release I was using previously.. >

Re: linux.git: printk() problem

2016-10-24 Thread Sergey Senozhatsky
On (10/24/16 21:15), Linus Torvalds wrote: [..] > No. Most cont lines never hit the delay, because when the line is > completed, it is flushed (and then printed synchronously, assuming it > can get the console lock). > > So the timeout only ever comes into effect if the line isn't completed > in t

[PATCH v1] I2C Designware Core Supports SMBUS BLOCK

2016-10-24 Thread tnhuynh
From: Tin Huynh Free and Open IPMI use SMBUS BLOCK Read/Write to support SSIF protocol. However, I2C Designwave Core Driver doesn't handle the case at the moment. The below patch supports this feature. Signed-off-by: Tin Huynh --- drivers/i2c/busses/i2c-designware-core.c| 42

Re: [RFC 0/8] Define coherent device memory node

2016-10-24 Thread Aneesh Kumar K.V
Jerome Glisse writes: > On Mon, Oct 24, 2016 at 10:01:49AM +0530, Anshuman Khandual wrote: > >> [...] > >> Core kernel memory features like reclamation, evictions etc. might >> need to be restricted or modified on the coherent device memory node as >> they can be performance limiting. The RF

Re: linux.git: printk() problem

2016-10-24 Thread Linus Torvalds
On Mon, Oct 24, 2016 at 9:06 PM, Sergey Senozhatsky wrote: > > 1) the way we dumpstack on x86 (at least on x86) is a spaghetti of > printk() and pr_cont() calls. for instance, arch/x86/kernel/dumpstack_64.c > show_regs() does pr_cont() to print out the registers, while the stack and > backtrace ar

Re: [RFC 3/8] mm: Isolate coherent device memory nodes from HugeTLB allocation paths

2016-10-24 Thread Aneesh Kumar K.V
Dave Hansen writes: > On 10/23/2016 09:31 PM, Anshuman Khandual wrote: >> This change is part of the isolation requiring coherent device memory nodes >> implementation. >> >> Isolation seeking coherent device memory node requires allocation isolation >> from implicit memory allocations from user

Re: linux.git: printk() problem

2016-10-24 Thread Joe Perches
On Tue, 2016-10-25 at 13:06 +0900, Sergey Senozhatsky wrote: > so how about skipping mod_timer in deferred_cont_flush() and just > cont_flush() when we are in oops? here is probably one more thing we > need to "fix" first. oops_in_progress is unreliable. x86 oops_end() > does bust_spinlocks

Re: [PATCH 5/8] ARM: gr8: Add missing pwm channel 1 pin

2016-10-24 Thread Chen-Yu Tsai
On Fri, Oct 21, 2016 at 1:07 AM, Maxime Ripard wrote: > On Thu, Oct 20, 2016 at 10:10:03PM +0800, Chen-Yu Tsai wrote: >> On Thu, Oct 20, 2016 at 4:12 PM, Maxime Ripard >> wrote: >> > The PWM controller has two different channels, but only the first pin was >> > exposed in the DTSI. Add the other

Re: linux.git: printk() problem

2016-10-24 Thread Sergey Senozhatsky
On (10/24/16 19:22), Linus Torvalds wrote: > On Mon, Oct 24, 2016 at 7:06 PM, Linus Torvalds > wrote: > > On Mon, Oct 24, 2016 at 6:55 PM, Sergey Senozhatsky > > wrote: > >> > >> I think cont_flush() should grab the logbuf_lock lock, because > >> it does log_store() and touches the cont.len. so s

[PATCH] powerpc: Use pr_warn instead of pr_warning

2016-10-24 Thread Joe Perches
At some point, pr_warning will be removed so all logging messages use a consistent _warn style. Update arch/powerpc/ Miscellanea: o Coalesce formats o Realign arguments o Use %s, __func__ instead of embedded function names o Remove unnecessary line continuations Signed-off-by: Joe Perches ---

Re: [PATCH] ARM64: dts: bcm2835: Fix bcm2837 compatible string

2016-10-24 Thread Eric Anholt
e<#secure method=pgpmime mode=sign> Andreas Färber writes: > bcm2837-rpi-3-b.dts, its only in-tree user, was overriding it as > "brcm,bcm2837" already. Pulled to bcm2835-dt-64-next. Thanks!

Re: [RESEND PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-10-24 Thread Michael S. Tsirkin
On Sun, Oct 23, 2016 at 11:29:25AM +, Li, Liang Z wrote: > > On Fri, Oct 21, 2016 at 10:25:21AM -0700, Dave Hansen wrote: > > > On 10/20/2016 11:24 PM, Liang Li wrote: > > > > Dave Hansen suggested a new scheme to encode the data structure, > > > > because of additional complexity, it's not imp

Re: [PATCH 0/6] pwm: imx: Provide atomic operation for IMX PWM driver

2016-10-24 Thread Stefan Agner
Hi Lukasz, Thanks for your work, great to see this coming along! :-) On 2016-10-24 23:26, Lukasz Majewski wrote: > Hi Boris, > >> On Sun, 23 Oct 2016 23:45:40 +0200 >> Lukasz Majewski wrote: >> >> > This patch set brings atomic operation to i.MX's PWMv2 driver. >> > >> > This work has been supp

Re: [PATCH][TRIVIAL] crypto: ccp - fix typo "CPP"

2016-10-24 Thread Herbert Xu
Paul Bolle wrote: > The abbreviation for Cryptographic Coprocessor is "CCP". > > Signed-off-by: Paul Bolle Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Re: [PATCH V2 4/8] PM / OPP: Pass struct dev_pm_opp_supply to _set_opp_voltage()

2016-10-24 Thread Viresh Kumar
On 24-10-16, 16:14, Stephen Boyd wrote: > On 10/20, Viresh Kumar wrote: > > Pass the entire supply structure instead of all of its fields. > > > > Signed-off-by: Viresh Kumar > > --- > > This patch should be combined with the previous one. I think it is a fair to do this separately as this is a

Re: [PATCH] hwrng: meson: Remove unneeded platform MODULE_ALIAS

2016-10-24 Thread Herbert Xu
On Wed, Oct 19, 2016 at 04:50:18PM -0300, Javier Martinez Canillas wrote: > The Amlogic Meson is a DT-only platform, which means the devices are > registered via OF and not using the legacy platform devices support. > > So there's no need to have a MODULE_ALIAS("platform:meson-rng") since > the re

Re: [PATCH] crypto: engine - Handle the kthread worker using the new API

2016-10-24 Thread Herbert Xu
On Wed, Oct 19, 2016 at 01:54:30PM +0200, Petr Mladek wrote: > Use the new API to create and destroy the crypto engine kthread > worker. The API hides some implementation details. > > In particular, kthread_create_worker() allocates and initializes > struct kthread_worker. It runs the kthread the

Re: [PATCH v2] hwrng: meson: Fix module autoload for OF registration

2016-10-24 Thread Herbert Xu
On Mon, Oct 17, 2016 at 04:51:17PM -0300, Javier Martinez Canillas wrote: > If the driver is built as a module, autoload won't work because the module > alias information is not filled. So user-space can't match the registered > device with the corresponding module. > > Export the module alias inf

Re: [RESEND][PATCH] crypto: caam: add support for iMX6UL

2016-10-24 Thread Herbert Xu
On Mon, Oct 17, 2016 at 01:28:00PM +0200, Marcus Folkesson wrote: > i.MX6UL does only require three clocks to enable CAAM module. > > Signed-off-by: Marcus Folkesson > Acked-by: Rob Herring > Reviewed-by: Horia Geantă Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apan

Re: [PATCH] padata: Remove unused but set variables

2016-10-24 Thread Herbert Xu
Steffen Klassert wrote: > On Mon, Oct 17, 2016 at 12:16:08PM +0200, Tobias Klauser wrote: >> Remove the unused but set variable pinst in padata_parallel_worker to >> fix the following warning when building with 'W=1': >> >> kernel/padata.c: In function ‘padata_parallel_worker’: >> kernel/pada

Re: [PATCH V2 2/8] PM / OPP: Don't use OPP structure outside of rcu protected section

2016-10-24 Thread Viresh Kumar
On 24-10-16, 15:52, Stephen Boyd wrote: > On 10/20, Viresh Kumar wrote: > > The OPP structure must not be used out of the rcu protected section. > > Cache the values to be used in separate variables instead. > > > > Signed-off-by: Viresh Kumar > > Was this found by visual inspection or through s

Re: linux-next: manual merge of the pm tree with the imx-mxs tree

2016-10-24 Thread Lina Iyer
On Tue, Oct 25 2016 at 17:51 -0600, Rafael J. Wysocki wrote: On Tuesday, October 25, 2016 10:47:29 AM Stephen Rothwell wrote: Hi Rafael, Today's linux-next merge of the pm tree got a conflict in: arch/arm/mach-imx/gpc.c between commits: eef0b282bb58 ("ARM: imx: gpc: Initialize all power

linux-next: Tree for Oct 25

2016-10-24 Thread Stephen Rothwell
Hi all, There will probably be no linux-next releases next week while I attend the Kernel Summit. Changes since 20161024: The pm tree gained a conflict against the imx-mxs tree. The mali-dp tree gained a conflict against the drm-misc tree. The sunxi tree gained a build failure so I used the

Re: [GIT PULL] xen: xenfs fixes for 4.9-rc2

2016-10-24 Thread Linus Torvalds
On Mon, Oct 24, 2016 at 9:37 AM, David Vrabel wrote: > > I think the changes are trivial and uncontroversial. Hmm. Sadly, they are also buggy. This: if (files->mode & S_IFLNK) { is simply wrong. The correct test for S_IFLNK is to do if ((files->mode & S_IFMT) =

Re: [PATCH -next 1/2] Input: synaptics-rmi4 - add support for F55 sensor tuning

2016-10-24 Thread Guenter Roeck
Hi Andrew, On 10/24/2016 05:59 PM, Andrew Duggan wrote: Hi Guenter, I have a couple of comments below. Thanks a lot for the feedback. On 09/30/2016 08:22 PM, Guenter Roeck wrote: Sensor tuning support is needed to determine the number of enabled tx and rx electrodes for use in F54 functio

Re: [PATCH net-next] ethernet: fix min/max MTU typos

2016-10-24 Thread Jarod Wilson
On Mon, Oct 24, 2016 at 02:42:26PM +0200, Stefan Richter wrote: > Fixes: d894be57ca92('ethernet: use net core MTU range checking in more > drivers') > CC: Jarod Wilson > CC: Thomas Falcon > Signed-off-by: Stefan Richter Wuf. Thank you, Stefan. Way too many bleeding eyeball hours staring at all

Re: [PATCH net-next 2/2 v2] firewire: net: set initial MTU = 1500 unconditionally, fix IPv6 on some CardBus cards

2016-10-24 Thread Jarod Wilson
On Mon, Oct 24, 2016 at 02:26:13PM +0200, Stefan Richter wrote: > firewire-net, like the older eth1394 driver, reduced the initial MTU to > less than 1500 octets if the local link layer controller's asynchronous > packet reception limit was lower. > > This is bogus, since this reception limit does

[PATCH 1/2] mm/memblock: prepare a capability to support memblock near alloc

2016-10-24 Thread Zhen Lei
If HAVE_MEMORYLESS_NODES is selected, and some memoryless numa nodes are actually exist. The percpu variable areas and numa control blocks of that memoryless numa nodes need to be allocated from the nearest available node to improve performance. Although memblock_alloc_try_nid and memblock_virt_al

[PATCH 2/2] arm64/numa: support HAVE_MEMORYLESS_NODES

2016-10-24 Thread Zhen Lei
Some numa nodes may have no memory. For example: 1) a node has no memory bank plugged. 2) a node has no memory bank slots. To ensure percpu variable areas and numa control blocks of the memoryless numa nodes to be allocated from the nearest available node to improve performance, defined node_dista

[PATCH 0/2] to support memblock near alloc and memoryless on arm64

2016-10-24 Thread Zhen Lei
If HAVE_MEMORYLESS_NODES is selected, and some memoryless numa nodes are actually exist. The percpu variable areas and numa control blocks of that memoryless numa nodes need to be allocated from the nearest available node to improve performance. In the beginning, I added a new function: phys_addr_

[PATCH v3] x86/msr: Add write msr notrace to avoid the debug codes splash

2016-10-24 Thread Wanpeng Li
As Peterz pointed out: | The thing is, many many smp_reschedule_interrupt() invocations don't | actually execute anything much at all and are only send to tickle the | return to user path (which does the actual preemption). This patch add write msr notrace to avoid the debug codes splash. Sugges

Re: [PATCH 5/5] ARM: dts: Add LEGO MINDSTORTMS EV3 dts

2016-10-24 Thread David Lechner
On 10/24/2016 10:50 AM, David Lechner wrote: On 10/24/2016 06:58 AM, Sekhar Nori wrote: On Saturday 22 October 2016 12:06 AM, David Lechner wrote: +}; + +&spi1 { +status = "okay"; +pinctrl-names = "default"; +pinctrl-0 = <&spi1_pins>, <&spi1_cs0_pin>; + +/* TODO: LCD Display goe

Re: [PATCH/RFT v2 07/17] ARM: davinci: da8xx: Enable the usb20 "per" clk on phy_clk_enable

2016-10-24 Thread David Lechner
On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote: From: Axel Haslam While probing ochi phy with usb20 phy as a parent clock for usb11_phy, the usb20_phy clock enable would time out. This is because the usb20 module clock needs to enabled while trying to lock the usb20_phy PLL. Call clk enabl

Re: [PATCH] x86/smp: Add irq_enter/exit() in smp_reschedule_interrupt()

2016-10-24 Thread Wanpeng Li
2016-10-24 22:32 GMT+08:00 Paolo Bonzini : > > > On 19/10/2016 16:30, Wanpeng Li wrote: >> Cc Radim, >> 2016-10-19 22:10 GMT+08:00 Paolo Bonzini : >>> >>> >>> On 19/10/2016 16:01, Wanpeng Li wrote: 2016-10-18 8:01 GMT+08:00 Wanpeng Li : > 2016-10-17 18:08 GMT+08:00 Paolo Bonzini : > [.

Re: [PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-24 Thread Jens Axboe
On 10/24/2016 07:00 PM, Martin K. Petersen wrote: "Arnd" == Arnd Bergmann writes: Arnd> The blkdev_report_zones produces a harmless warning when Arnd> -Wmaybe-uninitialized is set, after gcc gets a little confused Arnd> about the multiple 'goto' here: Arnd> block/blk-zoned.c: In function 'blk

Re: Linux-4.X-rcY patches can't be applied with git?

2016-10-24 Thread Jarod Wilson
On Mon, Oct 24, 2016 at 05:06:42PM -0700, Linus Torvalds wrote: > On Mon, Oct 24, 2016 at 4:18 PM, Jarod Wilson wrote: > > > > But in that case, what if your patch generation script used a filter to > > exclude those binary files? No harm to that target audience, and it would > > actually make the

xfs integer overflow in kernel >=4.4.8

2016-10-24 Thread OM
Hello, I have attached the output of my findings, with the help of others. Initially reported on Gentoo Bugzilla here: https://bugs.gentoo.org/show_bug.cgi?id=584332 Thanks in advance, be well. emese, sorry for the multiple CC's, also spender's bouncing my mail for not having a valid hostname set

Crypto Fixes for 4.9

2016-10-24 Thread Herbert Xu
Hi Linus: This push fixes a regression caused by the stack vmalloc change. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus Andrew Lutomirski (1): hwrng: core - Don't use a stack buffer in add_early_randomness() drivers/char/hw_random/core.c

RE: [PATCH] net: fec: hard phy reset on open

2016-10-24 Thread Andy Duan
From: Manfred Schlaegl Sent: Monday, October 24, 2016 10:43 PM > To: Andy Duan > Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH] net: fec: hard phy reset on open > > On 2016-10-24 16:03, Andy Duan wrote: > > From: manfred.schla...@gmx.at Sent: > Monday, > > Oct

RE: [PATCH V2 1/5] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042

2016-10-24 Thread Troy Jia
> -Original Message- > From: Shawn Guo [mailto:shawn...@kernel.org] > Sent: Monday, October 24, 2016 4:37 PM > To: Troy Jia > Cc: rui.zh...@intel.com; edubez...@gmail.com; robh...@kernel.org; Scott Wood > ; devicet...@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; linux-kernel@vger.k

Re: [PATCH v2 1/5] ARC: SMP: Use "unsigned virq" in smp_ipi_irq_setup instead of "signed irq"

2016-10-24 Thread Vineet Gupta
On 10/24/2016 05:46 AM, Yuriy Kolerov wrote: > This function takes a cpu number and a virq number and registers an > appropriate handler per cpu. However smp_ipi_irq_setup is incorrectly > used in several places of ARC platform code - hwirq is passed instead > of virq. This patch is intended to cla

[PATCH V3 2/2] powerpc/mpc85xx: Update TMU device tree node for T1023/T1024

2016-10-24 Thread Jia Hongtao
From: Hongtao Jia Update #thermal-sensor-cells from 0 to 1 according to the new binding. The sensor specifier added is the monitoring site ID, and represents the "n" in TRITSRn and TRATSRn. Signed-off-by: Jia Hongtao --- Changes for V3: * Update the commit log to a better description. Changes

[PATCH V3 1/2] powerpc/mpc85xx: Update TMU device tree node for T1040/T1042

2016-10-24 Thread Jia Hongtao
From: Hongtao Jia Update #thermal-sensor-cells from 0 to 1 according to the new binding. The sensor specifier added is the monitoring site ID, and represents the "n" in TRITSRn and TRATSRn. Signed-off-by: Jia Hongtao --- Changes for V3: * Update the commit log to a better description. Changes

Re: [PATCH v2 2/5] ARC: SMP: Pass virq to smp_ipi_irq_setup instead of hwirq

2016-10-24 Thread Vineet Gupta
On 10/24/2016 05:46 AM, Yuriy Kolerov wrote: > This function takes a cpu number and a virq number and registers an > appropriate handler per cpu. However smp_ipi_irq_setup is incorrectly > used in several places of ARC platform code - hwirq is passed instead of > virq. There is a code with an examp

Re: linux.git: printk() problem

2016-10-24 Thread Sergey Senozhatsky
On (10/25/16 10:55), Sergey Senozhatsky wrote: > I think cont_flush() should grab the logbuf_lock lock, because > it does log_store() and touches the cont.len. so something like > this perhaps > > diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c > index c7f490f..47f887c 100644 > --- a/

Re: linux.git: printk() problem

2016-10-24 Thread Linus Torvalds
On Mon, Oct 24, 2016 at 7:06 PM, Linus Torvalds wrote: > On Mon, Oct 24, 2016 at 6:55 PM, Sergey Senozhatsky > wrote: >> >> I think cont_flush() should grab the logbuf_lock lock, because >> it does log_store() and touches the cont.len. so something like >> this perhaps > > Absolutely. Good catch.

[PATCH v2] net: skip genenerating uevents for network namespaces that are exiting

2016-10-24 Thread Andrei Vagin
No one can see these events, because a network namespace can not be destroyed, if it has sockets. Unlike other devices, uevent-s for network devices are generated only inside their network namespaces. They are filtered in kobj_bcast_filter() My experiments shows that net namespaces are destroyed

Re: linux.git: printk() problem

2016-10-24 Thread Linus Torvalds
On Mon, Oct 24, 2016 at 6:55 PM, Sergey Senozhatsky wrote: > > I think cont_flush() should grab the logbuf_lock lock, because > it does log_store() and touches the cont.len. so something like > this perhaps Absolutely. Good catch. >> - if (wake_klogd) >> + if (wake_klogd || cont.len) >

Re: [PATCH v2 2/8] mm/swap: Add cluster lock

2016-10-24 Thread Huang, Ying
Hi, Jonathan, Thanks for review. Jonathan Corbet writes: > On Thu, 20 Oct 2016 16:31:41 -0700 > Tim Chen wrote: > >> From: "Huang, Ying" >> >> This patch is to reduce the lock contention of swap_info_struct->lock >> via using a more fine grained lock in swap_cluster_info for some swap >> ope

  1   2   3   4   5   6   7   8   9   10   >