vgacon.c:undefined reference to `screen_info'

2016-11-20 Thread kbuild test robot
Hi Chen, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: f69405ce6c0fc9f4a039011007371b31f80b470d openrisc: include: asm: Kbuild: add default "vga.h"

Re: [PATCH v4] staging: slicoss: fix different address space warnings

2016-11-20 Thread Sergio Paracuellos
On Sat, Nov 19, 2016 at 2:20 PM, Greg KH wrote: > On Fri, Nov 18, 2016 at 06:57:18PM +0100, Sergio Paracuellos wrote: >> Remove incorrect __iomem annotation. >> >> This patch fix the following sparse warnings in slicoss driver: >> warning: incorrect type in assignment (different address spaces) >>

[PATCH net 12/18] net/ena: refactor skb allocation

2016-11-20 Thread Netanel Belgazal
To increase readability, refactor skb allocation to dedicated function This change does not impact the performance since the compiler optimize the code and elimitate the if condition. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 46 --

[PATCH net 03/18] net/ena: use napi_schedule_irqoff when possible

2016-11-20 Thread Netanel Belgazal
Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/ethernet/amazon/ena/ena_netdev.c index 8815217..e3acf76 100644 --- a/drivers/net/etherne

[PATCH net 10/18] net/ena: use READ_ONCE to access completion descriptors

2016-11-20 Thread Netanel Belgazal
Completion descriptors are accessed from the driver and from the device. To avoid reading the old value, use READ_ONCE macro. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_com.h | 1 + drivers/net/ethernet/amazon/ena/ena_eth_com.c | 8 2 files changed, 5 in

[PATCH net 17/18] net/ena: fix NULL dereference when removing the driver after device reset faild

2016-11-20 Thread Netanel Belgazal
If for some reason the device stop responding and the device reset failed to recover the device, the mmio register read datastructure will not be reinitialized. On driver removal, the driver will also tries to reset the device but this time the mmio data structure will be NULL. To solve this issue

[PATCH net 06/18] net/ena: fix ethtool RSS flow configuration

2016-11-20 Thread Netanel Belgazal
ena_flow_data_to_flow_hash and ena_flow_hash_to_flow_type treat the ena_flow_hash_to_flow_type enum as power of two values. Change the values of ena_admin_flow_hash_fields to be power of two values. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_admin_defs.h | 12 ++

[PATCH net 07/18] net/ena: refactor ena_get_stats64 to be atomic context safe

2016-11-20 Thread Netanel Belgazal
ndo_get_stat64 can be called from atomic context. However the current implementation sends an admin command to retrieve the statistics from the device. This admin commands uses sleep. Refactor the implementation of ena_get_stats64 to take the {rx,tx}bytes/cnt from the driver's inner counters and t

[PATCH net 08/18] net/ena: change sizeof() argument to be the type pointer

2016-11-20 Thread Netanel Belgazal
Instead of using: memset(ptr, 0x0, sizeof(struct ...)) use: memset(ptr, 0x0, sizeor(*ptr)) Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_com.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c

[PATCH net 18/18] net/ena: change driver's default timeouts and increase driver version

2016-11-20 Thread Netanel Belgazal
Driver version was increased to 1.1.2 Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_com.c| 4 ++-- drivers/net/ethernet/amazon/ena/ena_netdev.h | 9 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c b

[PATCH net 16/18] net/ena: fix error handling when probe fails

2016-11-20 Thread Netanel Belgazal
When driver fails in probe, it will release all resources, including adapter. In case of probe failure, ena_remove should not try to free the adapter resources. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dr

[PATCH net 05/18] net/ena: add hardware hints capability to the driver

2016-11-20 Thread Netanel Belgazal
The ENA device can update the ena driver about the desire timeouts. The hardware hints are transmitted as Asynchronous event to the driver. In case the device does not support this capability, the driver will use its own defines. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/e

[PATCH net 04/18] net/ena: reduce the severity of ena printouts

2016-11-20 Thread Netanel Belgazal
Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_com.c| 27 +-- drivers/net/ethernet/amazon/ena/ena_netdev.c | 14 +++--- 2 files changed, 28 insertions(+), 13 deletions(-) diff --git a/drivers/net/ethernet/amazon/ena/ena_com.c b/driver

[PATCH net 02/18] net/ena: fix queues number calculation

2016-11-20 Thread Netanel Belgazal
The ENA driver tries to open a queue per vCPU. To determine how many vCPUs the instance have it uses num_possible_cpus while it should have use num_online_cpus instead. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 2 +- 1 file changed, 1 insertion(+), 1 dele

[PATCH net 09/18] net/ena: change condition for host attribute configuration

2016-11-20 Thread Netanel Belgazal
Move the host info config to be the first admin command that is executed. This change require the driver to remove the 'feature check' from host info configuration flow. The check is removed since the supported features bitmask field is retrieved only after calling ENA_ADMIN_DEVICE_ATTRIBUTES admin

[PATCH net 14/18] net/ena: add IPv6 extended protocols to ena_admin_flow_hash_proto

2016-11-20 Thread Netanel Belgazal
We intend to use those fields in the future. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_admin_defs.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/ethernet/amazon/ena/ena_admin_defs.h b/drivers/net/ethernet/amazon/ena/ena_admin_defs.h index 3

[PATCH net 01/18] net/ena: remove RFS support from device feature list

2016-11-20 Thread Netanel Belgazal
Remove NETIF_F_NTUPLE from netdev->features. The ENA device driver does not support RFS acceleration. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers/net/et

[PATCH net 11/18] net/ena: fix potential access to freed memory during device reset

2016-11-20 Thread Netanel Belgazal
If the ena driver detects that the device is not behave as expected, it tries to reset the device. The reset flow calls ena_down, which will frees all the resources the driver allocates and then it will reset the device. This flow can cause memory corruption if the device is still writes to the dr

[PATCH net 00/18] Update ENA driver to version 1.1.2

2016-11-20 Thread Netanel Belgazal
Update Amazon's Elastic Network Adapter (ENA) driver version from 1.0.2 to 1.1.2 Netanel Belgazal (18): net/ena: remove RFS support from device feature list net/ena: fix queues number calculation net/ena: use napi_schedule_irqoff when possible net/ena: reduce the severity of ena printouts

[PATCH net 15/18] net/ena: remove affinity hint from the driver

2016-11-20 Thread Netanel Belgazal
To allow irqbalance to better distribute the napi handler, remove the smp affinity hint from the driver. Signed-off-by: Netanel Belgazal --- drivers/net/ethernet/amazon/ena/ena_netdev.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/net/ethernet/amazon/ena/ena_netdev.c b/drivers

[PATCH net 13/18] net/ena: remove redundant logic in napi callback for busy poll mode

2016-11-20 Thread Netanel Belgazal
sk_busy_loop can call the napi callback few million times a sec. For each call there is unmask interrupt. We want to reduce the number of unmasks. Add an atomic variable that will tell the napi handler if it was called from irq context or not. Unmask the interrupt only from irq context. A schenar

Re: [patch v8 1/1] i2c: add master driver for mellanox systems

2016-11-20 Thread Wolfram Sang
> Possibly I should add validation for "num" parameter at the beginning of > mlxcpld_i2c_xfer? There is 'max_num_msgs' in the quirk structure. Thanks, Wolfram signature.asc Description: PGP signature

arch/ia64/kernel/entry.S:621: Error: Operand 2 of `adds' should be a 14-bit integer (-8192-8191)

2016-11-20 Thread kbuild test robot
Hi Will, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: da48d094ce5d7c7dcdad9011648a81c42fd1c2ef Kconfig: remove HAVE_LATENCYTOP_SUPPORT date: 10 months ago config

RE: [patch v8 1/1] i2c: add master driver for mellanox systems

2016-11-20 Thread Vadim Pasternak
> -Original Message- > From: Wolfram Sang [mailto:wsa-...@sang-engineering.com] > Sent: Sunday, November 20, 2016 11:02 AM > To: Vadim Pasternak > Cc: w...@the-dreams.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; j...@resnulli.us; Michael Shych > > Subject: Re: [patch

Re: [PATCH] drivers/usb: use READ_ONCE instead of deprecated ACCESS_ONCE

2016-11-20 Thread Greg KH
On Sat, Nov 19, 2016 at 11:54:25AM -0800, Davidlohr Bueso wrote: > With the new standardized functions, we can replace all ACCESS_ONCE() > calls across relevant drivers/usb/. > > ACCESS_ONCE() does not work reliably on non-scalar types. For example > gcc 4.6 and 4.7 might remove the volatile tag f

Re: [PATCH 0/3] mtd: some minor cleanups for ooblayout APIs

2016-11-20 Thread Boris Brezillon
On Wed, 9 Nov 2016 11:08:07 +0900 Masahiro Yamada wrote: > - Remove unnecessary initializers > - Use min_t() helper Applied. Thanks, Boris > > Masahiro Yamada (3): > mtd: remove unneeded initializer in mtd_ooblayout_{get,set}_bytes() > mtd: use min_t() to refactor mtd_ooblayout_{get,s

Re: Possible corrupt file or patch

2016-11-20 Thread Greg KH
On Sun, Nov 20, 2016 at 01:41:46AM -0500, Walt Feasel wrote: > I have a few files that look perfectly fine in nano and > gedit but the patch file that gets made shows the columns > out of alignment. I have remade them several > times to the same effect. I have also made sure that > there isnt a tab

Re: logfs: GPF in logfs_alloc_inode

2016-11-20 Thread Dmitry Vyukov
On Fri, Nov 18, 2016 at 7:54 PM, Dmitry Vyukov wrote: > On Fri, Nov 18, 2016 at 7:45 PM, Omar Sandoval wrote: >> On Fri, Nov 18, 2016 at 11:09:54AM +0100, Dmitry Vyukov wrote: >>> Hello, >>> >>> The following program triggers GPF in logfs_alloc_inode: >>> https://gist.githubusercontent.com/dvyuko

Re: [PATCH v6 0/9] tpm: cleanup/fixes in existing event log support

2016-11-20 Thread Jarkko Sakkinen
On Sat, Nov 19, 2016 at 11:36:27AM -0700, Jason Gunthorpe wrote: > On Tue, Nov 15, 2016 at 10:54:53AM -0800, Jarkko Sakkinen wrote: > > On Tue, Nov 15, 2016 at 11:06:10AM -0700, Jason Gunthorpe wrote: > > > On Tue, Nov 15, 2016 at 09:40:12AM -0800, Jarkko Sakkinen wrote: > > > > > > > I applied fi

Re: [PATCH v4] media: Driver for Toshiba et8ek8 5MP sensor

2016-11-20 Thread Pavel Machek
Hi! > Just a few more comments... > > Please check my other review as well. I believe you may have missed the > comments in between in that one. Sorry for that. Would you have a link for that email or a copy? (I can't seem to find it.) Thanks,

Re: [PATCH net 07/18] net/ena: refactor ena_get_stats64 to be atomic context safe

2016-11-20 Thread kbuild test robot
Hi Netanel, [auto build test WARNING on net/master] url: https://github.com/0day-ci/linux/commits/Netanel-Belgazal/Update-ENA-driver-to-version-1-1-2/20161120-165649 config: i386-randconfig-x009-201647 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce

Re: [PATCH v2 19/46] mtd: nandsim: UAPI v1

2016-11-20 Thread Boris Brezillon
Daniel, Richard, On Wed, 21 Sep 2016 11:50:45 +0200 Daniel Walter wrote: > From: Richard Weinberger > > Expose nandsim creation and delete functions > to user-space Did you consider using configfs for nandsim dev creation/removal. The main benefit I see in using configfs is that you can exten

Re: [PATCH v2 00/46] Nandsim facelift (part I of II)

2016-11-20 Thread Boris Brezillon
Hi Richard, On Mon, 14 Nov 2016 17:24:18 +0100 Richard Weinberger wrote: > Boris, > > sorry for the late answer. I was not on CC, therefore this mail was > unnoticed by me. :-( > > On Sun, Oct 16, 2016 at 6:24 PM, Boris Brezillon > wrote: > > Daniel, Richard, > > > > On Wed, 21 Sep 2016 11:43

[PATCH v4 0/3] dmaengine: sun6i: add the support for the Allwinner A64 SOC.

2016-11-20 Thread Hao Zhang
Abort Allwinner A64 SOC : Allwinner A64 (sun50i) 64bit SoC features a Quad-Core Cortex-A53 ARM CPU, and a Mali400 MP2 GPU from ARM. It has 8 channel DMA which flexible data width of 8/16/32/64-bit. Detailed info about it is on Allwinner_A64_User_Manual_V1.0 page 196 and A64_Datasheet_V1.1 page 8

[PATCH v4 1/3] Documentation: DT: add dma compatible for sun50i A64 SOC

2016-11-20 Thread Hao Zhang
This add the property of Allwinner sun50i A64 dma. Signed-off-by: Hao Zhang --- Documentation/devicetree/bindings/dma/sun6i-dma.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/dma/sun6i-dma.txt b/Documentation/devicetree/bindings/dma/sun6i-dma.txt index

[PATCH v4 3/3] dmaengine: sun6i: share the dma driver with sun50i

2016-11-20 Thread Hao Zhang
Changes the limited buswith to 8 bytes,and add the test in sun6i_dma_config function Accroding to sun6i dma driver, i think ,if the client doesn't configure the address width with dmaengine_slave_config function, it would use the default width. So we can add the test in sun6i_dma_config function c

[PATCH v4 2/3] ARM64: dts: sun6i: add dma node for a64.

2016-11-20 Thread Hao Zhang
Accroding to the Allwinner_A64_User_Manual_V1.0 P198 the DMA base address is 0x01c02000. Signed-off-by: Hao Zhang --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/al

[PATCH v10 3/5] input: touchscreen: mxs-lradc: Add support for touchscreen

2016-11-20 Thread Ksenija Stanojevic
Add 4-wire/5-wire touchscreen controller. Signed-off-by: Ksenija Stanojevic --- Changes in v10: - none Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - remove touch_ret variable in probe and use ret instead - make error check on of_property_read_u32 in probe Ch

[PATCH v10 5/5] mfd: Move binding document

2016-11-20 Thread Ksenija Stanojevic
The bindings, which are now used in MFD, need also to be documented in the MFD binding document. Signed-off-by: Ksenija Stanojevic --- Changes in v10: - none Changes in v9: - format patch using -M option Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - add to the patchset Documentat

[PATCH v10 4/5] iio: adc: mxs-lradc: Remove driver

2016-11-20 Thread Ksenija Stanojevic
Since the driver has been split into mfd there is no reason for it to stay, so remove it. Signed-off-by: Ksenija Stanojevic Acked-by: Jonathan Cameron --- Changes in v10: - none Changes in v9: - none Changes in v8: - rebase onto 4.9-rc1 Changes in v7: - none Changes in v6: - none Chang

Re: [BUG 4.4.26] bio->bi_bdev == NULL in raid6 return_io()

2016-11-20 Thread Konstantin Khlebnikov
On 07.11.2016 23:34, Konstantin Khlebnikov wrote: On Mon, Nov 7, 2016 at 10:46 PM, Shaohua Li wrote: On Sat, Nov 05, 2016 at 01:48:45PM +0300, Konstantin Khlebnikov wrote: return_io() resolves request_queue even if trace point isn't active: static inline struct request_queue *bdev_get_queue(s

[PATCH v10 1/5] mfd: mxs-lradc: Add support for mxs-lradc MFD

2016-11-20 Thread Ksenija Stanojevic
Add core files for low resolution analog-to-digital converter (mxs-lradc) MFD driver. Signed-off-by: Ksenija Stanojevic --- Changes in v10: - fetch base address from DT - add a NULL check for of_match_device Changes in v9: - improve commit message. Changes in v8: - rebase onto 4.9-rc1 Chan

[PATCH v10 0/5] mxs-lradc: Split driver into MFD

2016-11-20 Thread Ksenija Stanojevic
Split existing driver mxs-lradc into MFD with touchscreen and IIO part. Tested on I.MX28 Ksenija Stanojevic (5): mfd: mxs-lradc: Add support for mxs-lradc MFD iio: adc: mxs-lradc: Add support for adc driver input: touchscreen: mxs-lradc: Add support for touchscreen iio: adc: mxs-lradc: Re

[PATCH v10 2/5] iio: adc: mxs-lradc: Add support for adc driver

2016-11-20 Thread Ksenija Stanojevic
Add support for sixteen-channel 12-bit resolution ADC and its functions, which include general-purpose ADC readings, battery voltage measurement, and die temperature measurement. Signed-off-by: Ksenija Stanojevic Reviewed-by: Jonathan Cameron --- Changes in v10: - none Changes in v9: - none

Re: [PATCH] x86/boot: Fail the boot if !M486 and CPUID is missing

2016-11-20 Thread Borislav Petkov
On Sat, Nov 19, 2016 at 03:37:30PM -0800, Andy Lutomirski wrote: > Linux will have all kinds of sporadic problems on systems that don't > have the CPUID instruction unless CONFIG_M486=y. In particular, > sync_core() will explode. Btw, I think we should do something like this, in addition: --- di

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-20 Thread Russell King - ARM Linux
None of the autobuilders are finding this problem, and they build a wide range of configurations. Maybe it's something specific to how you're building the kernel - can you give step by step instructions how to reproduce this please? On Sun, Nov 20, 2016 at 03:47:34AM +0100, Tobias Jakobi wrote: >

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-20 Thread Tobias Jakobi
Hello Russell, Russell King - ARM Linux wrote: > None of the autobuilders are finding this problem, and they build a > wide range of configurations. Maybe it's something specific to how > you're building the kernel - can you give step by step instructions > how to reproduce this please? Just usi

Re: [PATCH 3/3] ovl: redirect on rename-dir

2016-11-20 Thread Amir Goldstein
On Fri, Nov 18, 2016 at 5:37 PM, Amir Goldstein wrote: > On Thu, Nov 17, 2016 at 12:00 AM, Miklos Szeredi wrote: >> >> On Mon, Nov 14, 2016 at 5:25 PM, Amir Goldstein wrote: >> > On Sun, Nov 13, 2016 at 12:00 PM, Amir Goldstein >> > wrote: >> >> >> Looks goods, except for the case of change fr

arch/mips/vdso/elf.S:1:0: error: '-march=r3000' requires '-mfp32'

2016-11-20 Thread kbuild test robot
Hi Alex, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: ebb5e78cc63417a35254a791de66e1cc84f963cc MIPS: Initial implementation of a VDSO date: 1 year ago config: mi

[PATCH 1/1] subsystem drm: add fourcc for 16bit buffers

2016-11-20 Thread Rainer Hochecker
From: Rainer Hochecker In order to expose 16-bit dma buffers to Mesa, additional codes are required. R16 and RG16 are already defined by OpenGL. Motivation: allow CreateImageKHR to map 16 bit buffers created by VAAPI Signed-off-by: Rainer Hochecker --- include/uapi/drm/drm_fourcc.h | 6 ++

Re: [PATCH] drivers/usb: use READ_ONCE instead of deprecated ACCESS_ONCE

2016-11-20 Thread Mark Rutland
On Sun, Nov 20, 2016 at 10:39:32AM +0100, Greg KH wrote: > On Sat, Nov 19, 2016 at 11:54:25AM -0800, Davidlohr Bueso wrote: > > With the new standardized functions, we can replace all ACCESS_ONCE() > > calls across relevant drivers/usb/. > > > > ACCESS_ONCE() does not work reliably on non-scalar t

arch/mips/vdso/gettimeofday.c:1:0: error: '-march=r3000' requires '-mfp32'

2016-11-20 Thread kbuild test robot
Hi Guenter, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: 398c7500a1f5f74e207bd2edca1b1721b3cc1f1e MIPS: VDSO: Fix build error with binutils 2.24 and earlier date

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-20 Thread Russell King - ARM Linux
On Sun, Nov 20, 2016 at 12:43:38PM +0100, Tobias Jakobi wrote: > Hello Russell, > > Russell King - ARM Linux wrote: > > None of the autobuilders are finding this problem, and they build a > > wide range of configurations. Maybe it's something specific to how > > you're building the kernel - can y

Re: [PULL REQUEST] Please pull rdma.git

2016-11-20 Thread Leon Romanovsky
On Sat, Nov 19, 2016 at 06:11:22PM -0500, Doug Ledford wrote: > On 11/19/2016 2:46 PM, Or Gerlitz wrote: > > On Fri, Nov 18, 2016 at 4:01 AM, Doug Ledford wrote: > >> On 11/17/2016 5:24 PM, Or Gerlitz wrote: > > > > [...] > > Are you going to comment on that to the submitter? if not, they are > >

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-20 Thread Tobias Jakobi
Hey Russell, thanks for the quick reply and looking into this! Added Nicolas Pitre to Cc since the ksym trim stuff came from him. Russell King - ARM Linux wrote: > On Sun, Nov 20, 2016 at 12:43:38PM +0100, Tobias Jakobi wrote: >> Hello Russell, >> >> Russell King - ARM Linux wrote: >>> None of

Re: [PATCH] spi: davinci: Allow device tree devices to use DMA

2016-11-20 Thread Sekhar Nori
On Saturday 19 November 2016 10:11 AM, David Lechner wrote: > This makes SPI devices specified in a device tree use DMA when the master > controller has DMA configured. > > Since device tree is supposed to only describe the hardware, adding a > configuration option to device tree to enable DMA per

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-20 Thread Corentin Labbe
On Sun, Nov 20, 2016 at 12:34:22PM +, Russell King - ARM Linux wrote: > On Sun, Nov 20, 2016 at 12:43:38PM +0100, Tobias Jakobi wrote: > > Hello Russell, > > > > Russell King - ARM Linux wrote: > > > None of the autobuilders are finding this problem, and they build a > > > wide range of config

cc1: error: '-march=r3000' requires '-mfp32'

2016-11-20 Thread kbuild test robot
Hi James, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: 034827c727f7f3946a18355b63995b402c226c82 MIPS: Fix -mabi=64 build of vdso.lds date: 6 weeks ago config: mi

Re: [PATCH v5 0/2] platform: Add DT support for DA8xx

2016-11-20 Thread Sekhar Nori
On Wednesday 16 November 2016 04:37 PM, Alexandre Bailon wrote: > This add and enable the usb otg for da850 and da850-lcdk. > This series depends on "driver: dd DT support for DA8xx" patch set. I see that Bin has already applied this. > If this series is applied before the "usb: musb: da8xx: Fix

Re: [patch 4/8] x86/tsc: Verify TSC_ADJUST from idle

2016-11-20 Thread Peter Zijlstra
On Sat, Nov 19, 2016 at 01:47:37PM -, Thomas Gleixner wrote: > When entering idle, it's a good oportunity to verify that the TSC_ADJUST > MSR has not been tampered with (BIOS hiding SMM cycles). If tampering is > detected, emit a warning and restore it to the previous value. > +++ b/arch/x86/k

Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-20 Thread Russell King - ARM Linux
On Tue, Oct 25, 2016 at 07:32:00PM +1100, Nicholas Piggin wrote: > On Mon, 24 Oct 2016 17:05:26 +0200 > Arnd Bergmann wrote: > > > This adds an asm/asm-prototypes.h header for ARM to fix the > > broken symbol versioning for symbols exported from assembler > > files. > > > > In addition to the he

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-20 Thread Russell King - ARM Linux
On Sun, Nov 20, 2016 at 01:56:16PM +0100, Tobias Jakobi wrote: > Hey Russell, > > thanks for the quick reply and looking into this! > > Added Nicolas Pitre to Cc since the ksym trim stuff came from him. Arnd's patch "kbuild: provide include/asm/asm-prototypes.h for ARM" fixes it, but I think it'

Re: [RFC] timekeeping: Use cached readouts for monotonic and raw clocks in suspend

2016-11-20 Thread Thomas Gleixner
On Sat, 19 Nov 2016, Joel Fernandes wrote: > I am planning to add boot clock as a trace clock that can account suspend time > during tracing, however ktime_get_with_offset throws a warning as the > clocksource is attempted to be accessed in suspend. ktime_get_with_offset() cannot be used as trace

arch/xtensa/include/asm/initialize_mmu.h:41: Error: invalid register 'atomctl' for 'wsr' instruction

2016-11-20 Thread kbuild test robot
Hi Pete, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: d0b73b488c55df905ea8faaad079f8535629ed26 xtensa: Add config files for Diamond 233L - Rev C processor variant

core.c:undefined reference to `fpu_save'

2016-11-20 Thread kbuild test robot
Hi Andrew, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: c60f169202c7643991a8b4bfeea60e06843d5b5a arch/mn10300/kernel/fpu-nofpu.c: needs asm/elf.h d

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

2016-11-20 Thread Mauro Carvalho Chehab
Em Sat, 19 Nov 2016 22:59:01 - "David Woodhouse" escreveu: > > I think that graphviz and svg are the reasonable modern formats. Let's > > try to avoid bitmaps in today's world, except perhaps as intermediate > > generated things for what we can't avoid. Ok, I got rid of all bitmap images:

[patch v9 1/1] i2c: add master driver for mellanox systems

2016-11-20 Thread vadimp
From: Vadim Pasternak Device driver for Mellanox I2C controller logic, implemented in Lattice CPLD device. Device supports: - Master mode - One physical bus - Polling mode The Kconfig currently controlling compilation of this code is: drivers/i2c/busses/Kconfig:config I2C_MLXCPLD Signed-off-

Linux 4.9: Reported regressions as of Sunday, 2016-11-20

2016-11-20 Thread Thorsten Leemhuis
Hi! Here is my fourth regression report for Linux 4.9. It lists 10 regressions I'm aware of. 6 of them are new; 11 got fixed (wow!) since the last report -- that was two weeks ago, because I didn't find any spare time to compile a report last Sunday :-/ As always: Are you aware of any other regre

[PATCH] mtd: bcm47xxpart: fix parsing first block after aligned TRX

2016-11-20 Thread Rafał Miłecki
From: Rafał Miłecki After parsing TRX we should skip to the first block placed behind it. Our code was working only with TRX with length not aligned to the blocksize. In other cases (length aligned) it was missing the block places right after TRX. This fixes calculation and simplifies the commen

Re: [PATCH v4] media: Driver for Toshiba et8ek8 5MP sensor

2016-11-20 Thread Pavel Machek
Hi! > > + u32 min, max; > > + > > + v4l2_ctrl_handler_init(&sensor->ctrl_handler, 4); > > + > > + /* V4L2_CID_GAIN */ > > + v4l2_ctrl_new_std(&sensor->ctrl_handler, &et8ek8_ctrl_ops, > > + V4L2_CID_GAIN, 0, ARRAY_SIZE(et8ek8_gain_table) - 1, > > + 1,

Re: [PATCH v4] media: Driver for Toshiba et8ek8 5MP sensor

2016-11-20 Thread Pavel Machek
Hi! > > +static void et8ek8_reglist_to_mbus(const struct et8ek8_reglist *reglist, > > + struct v4l2_mbus_framefmt *fmt) > > +{ > > + fmt->width = reglist->mode.window_width; > > + fmt->height = reglist->mode.window_height; > > + > > + if (reglist->mode.pixel_form

Re: [PATCH net 00/18] Update ENA driver to version 1.1.2

2016-11-20 Thread David Miller
From: Netanel Belgazal Date: Sun, 20 Nov 2016 10:45:29 +0200 > Update Amazon's Elastic Network Adapter (ENA) driver version from 1.0.2 to > 1.1.2 This is insufficient. You must explain what this patch series is doing, how it is doing it, and why it is doing it that way. This is the message th

Re: [PATCH v4] media: Driver for Toshiba et8ek8 5MP sensor

2016-11-20 Thread Pavel Machek
Hi! > > + /* V4L2_CID_EXPOSURE */ > > + min = et8ek8_exposure_rows_to_us(sensor, 1); > > + max = et8ek8_exposure_rows_to_us(sensor, > > + sensor->current_reglist->mode.max_exp); > > Haven't I suggested to use lines instead? I vaguely remember doing so... > this wou

[PATCH 8/9] doc-rst: media/Makefile: reorganize the rules

2016-11-20 Thread Mauro Carvalho Chehab
Better organize the media/Makefile, in order to better split what's related to image conversion from the ones related to parse-headers.pl. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/Makefile | 45 +++- 1 file changed, 24 insertions(+), 21

[PATCH 9/9] docs-rst: fix media cleandocs target

2016-11-20 Thread Mauro Carvalho Chehab
The builddir prefix was missing on make cleandocs. Fix it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/Makefile.sphinx | 2 +- Documentation/media/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/Makefile.sphinx b/Documentation/Makefile.sp

[PATCH 0/9] Get rid of bitmap images

2016-11-20 Thread Mauro Carvalho Chehab
The goal of this patch series is to get rid of PNG images, using either graphviz or SVG for images. For old images generated with xfig, stored inside PDF, just convert them to SVG and cleanup the images using inkscape. Other images need to be rewritten in SVG. The pipeline image is actually a gr

[PATCH 4/9] [media] docs-rst: convert pipeline to SVG format

2016-11-20 Thread Mauro Carvalho Chehab
The pipeline image was produced from some dot file that has long missed. Create a pipeline.dot with the graph and convert it to SVG. As we're planning to add future support for graphviz graphics, also store the .dot file on the tree, as this will make easier when we add such Sphinx extension. Sign

[PATCH 3/9] [media] docs-rst: nv12mt zigzag images: replace by SVG images

2016-11-20 Thread Mauro Carvalho Chehab
Instead of using bitmap images to show the zigzag macroblock parsing, replace it by a SVG ones, with is scalable. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/Makefile|2 + Documentation/media/uapi/v4l/nv12mt.png | Bin 1920 -> 0 bytes Documentati

[PATCH 6/9] [media] docs-rst: replace bayer.png by a SVG image

2016-11-20 Thread Mauro Carvalho Chehab
SVG images are scalable, with makes easier to output on different formats. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/Makefile| 1 + Documentation/media/uapi/v4l/bayer.png | Bin 9725 -> 0 bytes Documentation/media/uapi/v4l/bayer.svg | 98

[PATCH 7/9] docs-rst: media: build SVG from graphviz files

2016-11-20 Thread Mauro Carvalho Chehab
Instead of keeping both SVG and graphviz files, dynamically build SVG from its graphviz sources. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/Makefile | 20 ++--- Documentation/media/uapi/v4l/pipeline.svg | 68 --- 2 files changed, 14

Re: [PATCH] drivers/usb: use READ_ONCE instead of deprecated ACCESS_ONCE

2016-11-20 Thread Davidlohr Bueso
Hi Greg! On Sun, 20 Nov 2016, Greg KH wrote: On Sat, Nov 19, 2016 at 11:54:25AM -0800, Davidlohr Bueso wrote: With the new standardized functions, we can replace all ACCESS_ONCE() calls across relevant drivers/usb/. ACCESS_ONCE() does not work reliably on non-scalar types. For example gcc 4.6

Re: [PATCH] x86/boot: Fail the boot if !M486 and CPUID is missing

2016-11-20 Thread Andy Lutomirski
On Nov 20, 2016 3:19 AM, "Borislav Petkov" wrote: > > On Sat, Nov 19, 2016 at 03:37:30PM -0800, Andy Lutomirski wrote: > > Linux will have all kinds of sporadic problems on systems that don't > > have the CPUID instruction unless CONFIG_M486=y. In particular, > > sync_core() will explode. > > Btw

Re: [PATCH] spi: davinci: Allow device tree devices to use DMA

2016-11-20 Thread David Lechner
On 11/20/2016 06:59 AM, Sekhar Nori wrote: On Saturday 19 November 2016 10:11 AM, David Lechner wrote: This makes SPI devices specified in a device tree use DMA when the master controller has DMA configured. Since device tree is supposed to only describe the hardware, adding a configuration opt

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-20 Thread Nicolas Pitre
On Sun, 20 Nov 2016, Russell King - ARM Linux wrote: > On Sun, Nov 20, 2016 at 01:56:16PM +0100, Tobias Jakobi wrote: > > Hey Russell, > > > > thanks for the quick reply and looking into this! > > > > Added Nicolas Pitre to Cc since the ksym trim stuff came from him. > > Arnd's patch "kbuild: p

Re: [PATCH] arm64: mm: Fix memmap to be initialized for the entire section

2016-11-20 Thread Ard Biesheuvel
On 17 November 2016 at 15:18, Robert Richter wrote: > Thanks for your answer. > > On 17.11.16 14:25:29, Will Deacon wrote: >> On Wed, Nov 09, 2016 at 08:51:32PM +0100, Robert Richter wrote: >> > Thus, I don't see where my patch breaks code. Even acpi_os_ioremap() >> > keeps the same behaviour as b

Re: [PATCH] iio: adc: New driver for TI ADS79XX chips

2016-11-20 Thread Peter Meerwald-Stadler
On Sat, 19 Nov 2016, Jonathan Cameron wrote: > On 18/11/16 22:28, David Lechner wrote: > > This adds a new driver for TI ADS79XX ADC chips. These communicate using > > SPI and come in 8/10/12-bit and 4/8/12/16 channel varieties. > > > > Signed-off-by: David Lechner some more trivial comments >

Re: commit 4dd1837d7589f468ed109556513f476e7a7f9121 breaks build

2016-11-20 Thread Russell King - ARM Linux
On Sun, Nov 20, 2016 at 12:03:50PM -0500, Nicolas Pitre wrote: > On Sun, 20 Nov 2016, Russell King - ARM Linux wrote: > > > On Sun, Nov 20, 2016 at 01:56:16PM +0100, Tobias Jakobi wrote: > > > Hey Russell, > > > > > > thanks for the quick reply and looking into this! > > > > > > Added Nicolas Pi

Re: [PATCH] x86/boot: Fail the boot if !M486 and CPUID is missing

2016-11-20 Thread Borislav Petkov
On Sun, Nov 20, 2016 at 08:22:25AM -0800, Andy Lutomirski wrote: > This makes me nervous: don't some CPUs actually need the cpuid > instruction when patching alternatives? Nope, we use boot_cpu_has() in apply_alternatives() if that is what you mean. > And with this approach, we won't have the cpu

Re: Possible corrupt file or patch

2016-11-20 Thread Walt Feasel
On Sun, Nov 20, 2016 at 10:50:49AM +0100, Greg KH wrote: > On Sun, Nov 20, 2016 at 01:41:46AM -0500, Walt Feasel wrote: > > I have a few files that look perfectly fine in nano and > > gedit but the patch file that gets made shows the columns > > out of alignment. I have remade them several > > time

Question: goal of twice disabling of preemption in exception handlers

2016-11-20 Thread Alexnader Kuleshov
Hello everyone, Exception handlers which may run on IST stack disable and enable preemption twice. For example do_int3() [1]. This one calls ist_enter() which disables preemption with preempt_disable() every time without any conditions. And later do_int3() calls preempt_disable() again [2] before

Re: [HMM v13 16/18] mm/hmm/migrate: new memory migration helper for use with device memory

2016-11-20 Thread Aneesh Kumar K.V
Jerome Glisse writes: . >> > + >> > + *pfns = hmm_pfn_from_pfn(pfn) | HMM_PFN_MIGRATE | flags; >> > + *pfns |= write ? HMM_PFN_WRITE : 0; >> > + migrate->npages++; >> > + get_page(page); >> > + >> > + if (!trylock_page(page)) { >> > +

Re: 'kbuild' merge before 4.9-rc1 breaks build and boot

2016-11-20 Thread Peter Wu
Hi Nicholas, Current git master (v4.9-rc5-364-g77079b1) with the latest kbuild fixes is still failing to load modules when built with CONFIG_MODVERSIONS=y on x86_64 using GCC 6.2.1. It can still be reproduced with make defconfig, then enabling CONFIG_MODVERSIONS=y. The build output contains:

[PATCH v2] iio: adc: New driver for TI ADS7950 chips

2016-11-20 Thread David Lechner
This adds a new driver for the TI ADS7950 family of ADC chips. These communicate using SPI and come in 8/10/12-bit and 4/8/12/16 channel varieties. Signed-off-by: David Lechner --- v2 changes: * Got rid of XX wildcards - using ADS7950 everywhere * Fixed some macro parentheses issues * Added TI_

Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-20 Thread Linus Torvalds
On Sun, Nov 20, 2016 at 5:21 AM, Russell King - ARM Linux wrote: > On Tue, Oct 25, 2016 at 07:32:00PM +1100, Nicholas Piggin wrote: >> >> Michal, what's your thoughts? If you merge my patch 2/2 and skip 1/2, it >> should not give any new build warnings or errors, so then arch patches can >> go via

Re: [PATCH net 00/18] Update ENA driver to version 1.1.2

2016-11-20 Thread Netanel Belgazal
Hi David, Sorry for not being clear on my first patch set. Those changes introduce some bug fixes, new features and some cleanups that matching the driver to the upstream standard. Bug Fixes: *net/ena: remove RFS support from device feature list *net/ena: fix queues number calculation *net/ena:

[PATCH] f2fs: set ->owner for debugfs status file's file_operations

2016-11-20 Thread Nicolai Stange
The struct file_operations instance serving the f2fs/status debugfs file lacks an initialization of its ->owner. This means that although that file might have been opened, the f2fs module can still get removed. Any further operation on that opened file, releasing included, will cause accesses to

Re: [PATCH net 07/18] net/ena: refactor ena_get_stats64 to be atomic context safe

2016-11-20 Thread Netanel Belgazal
> https://github.com/0day-ci/linux/commits/Netanel-Belgazal/Update-ENA-driver-to-version-1-1-2/20161120-165649 > config: i386-randconfig-x009-201647 (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > # save the attached .config to linux

[PATCH v6 0/2] Input: synaptics-rmi4 - F34 device reflash support

2016-11-20 Thread Nick Dyer
Hi Dmitry- Please find an updated set of patches to add F34 firmware update to the RMI4 driver. Changes in v6: - Properly free irq_memory in rmi_free_function_list() - Split out the sysfs changes for now - Various coding style improvements to the V7 patch (now checkpatch clean) Changes in v5: -

[PATCH v6 1/2] Input: synaptics-rmi4 - add support for F34 device reflash

2016-11-20 Thread Nick Dyer
Add support for updating firmware, triggered by a sysfs attribute. This patch has been tested on Synaptics S7300. Signed-off-by: Nick Dyer Tested-by: Chris Healy --- drivers/input/rmi4/Kconfig | 11 + drivers/input/rmi4/Makefile | 1 + drivers/input/rmi4/rmi_bus.c| 3 + drive

[PATCH v6 2/2] Input: synaptics-rmi4 - add support for F34 V7 bootloader

2016-11-20 Thread Nick Dyer
Port firmware update code from Samsung Galaxy S7 driver into mainline framework. This patch has been tested on Synaptics S7813. Signed-off-by: Nick Dyer Tested-by: Chris Healy --- drivers/input/rmi4/Makefile |2 +- drivers/input/rmi4/rmi_driver.c | 56 +- drivers/input/rmi4/rmi_f34.c

  1   2   3   >