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

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

[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

[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

[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 |

[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

[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

[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

[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 ---

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 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 >

[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: -

[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

[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

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"

[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

[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

[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

[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

[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

[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

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: >>>

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

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

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()

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

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

[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

[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

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 >

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

[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 ---

[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

[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

[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

[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

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 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

[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

[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

[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

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: ---

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

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

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

[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

[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.

[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

[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

[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

[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

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

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:

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

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

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: '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:

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

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() >> >

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

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 > >

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))

[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

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

[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: -

Re: [RFC PATCH v2 1/2] macb: Add 1588 support in Cadence GEM.

2016-11-20 Thread Richard Cochran
On Fri, Nov 18, 2016 at 03:21:51PM +0100, Andrei Pistirica wrote: > - Frequency adjustment is not directly supported by this IP. This statement still makes no sense. Doesn't the following text... > addend is the initial value ns increment and similarly addendesub. > The ppb (parts per

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

2016-11-20 Thread Jerome Glisse
On Sun, Nov 20, 2016 at 11:51:48PM +0530, Aneesh Kumar K.V wrote: > Jerome Glisse writes: > > . > > >> > + > >> > +*pfns = hmm_pfn_from_pfn(pfn) | HMM_PFN_MIGRATE | flags; > >> > +*pfns |= write ? HMM_PFN_WRITE : 0; > >> > +

Re: [05/20] hwmon/via-cputemp: Remove pointless CPU check on each CPU

2016-11-20 Thread Sebastian Andrzej Siewior
On 2016-11-19 19:53:21 [-0800], Guenter Roeck wrote: > Problem is that I have no idea if any of the patches in this series really > work. > I wasn't copied on all patches, meaning I don't have the infrastructure, > meaning > I'll have to dig them up from patchwork for testing, and/or figure out

Re: [PATCH] audit: skip sessionid sentinel value when auto-incrementing

2016-11-20 Thread Paul Moore
On Thu, Nov 17, 2016 at 9:27 PM, Richard Guy Briggs wrote: > On 2016-11-17 18:34, Paul Moore wrote: >> On Tue, Nov 15, 2016 at 3:49 AM, Richard Guy Briggs wrote: >> > On 2016-11-14 15:17, Paul Moore wrote: >> >> On Thu, Nov 10, 2016 at 1:41 AM, Richard Guy

Re: logfs: GPF in logfs_alloc_inode

2016-11-20 Thread Richard Weinberger
On Sun, Nov 20, 2016 at 10:57 AM, Dmitry Vyukov wrote: > 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:

[PATCH v3] staging: skein: threefish_block.c Remove blank lines

2016-11-20 Thread Walt Feasel
Make suggested checkpatch modification for CHECK: Please don't use multiple blank lines Acked-by: Jason Cooper --- v3 adds previously missed ack and --to email for Jason v2 makes changes to correct for email format patch

[PATCH] printk: Add Kconfig option to set default console loglevel

2016-11-20 Thread Olof Johansson
Add a configuration option to set the default console loglevel. This is, as before, still possible to override at runtime through bootargs (loglevel=), sysrq and /proc/printk. There are cases where adding additional arguments on the commandline is impractical, and changing the default for the

[PATCH 3/5] usb: dwc2: fix default value for DMA support

2016-11-20 Thread Stefan Wahren
The current defaults for DMA results on a non-DMA platform in a unnecessary error message: Invalid value 0 for param gadget-dma So fix this by using dma_capable as default value. Fixes: 9962b62f1be ("usb: dwc2: Deprecate g-use-dma binding") Signed-off-by: Stefan Wahren

[PATCH 0/5] usb: dwc2: fix parameter handling

2016-11-20 Thread Stefan Wahren
This patch series fixes several parameter handling issues found on bcm2835 in gadget mode. It's based on Felipe's USB next. Stefan Wahren (5): usb: dwc2: Do not set host parameter in peripheral mode usb: dwc2: fix dwc2_get_device_property for u8 and u16 usb: dwc2: fix default value for DMA

[PATCH 2/5] usb: dwc2: fix dwc2_get_device_property for u8 and u16

2016-11-20 Thread Stefan Wahren
According to the Devicetree ePAPR [1] the datatypes u8 and u16 are not defined. So using device_property_read_u16() would result in a partial read of a 32-bit big-endian integer which is not intended. So we better read the complete 32-bit value. This fixes a regression on bcm2835 where the values

[PATCH 1/5] usb: dwc2: Do not set host parameter in peripheral mode

2016-11-20 Thread Stefan Wahren
Since commit "usb: dwc2: Improve handling of host and device hwparams" the host mode specific hardware parameter aren't initialized in peripheral mode from the register settings anymore. So we better do not set them in this case which avoids the following warnings on bcm2835: 256 invalid for

[PATCH 4/5] usb: dwc2: gadget: fix default value for gadget-dma-desc

2016-11-20 Thread Stefan Wahren
The current default for gadget DMA descriptor results on bcm2835 in a unnecessary error message: Invalid value 1 for param gadget-dma-desc So fix this by using hw->dma_desc_enable as default value. Fixes: dec4b55677e ("usb: dwc2: gadget: Add descriptor DMA parameter") Signed-off-by: Stefan

[PATCH 5/5] usb: dwc2: fix kernel-doc for dwc2_set_param

2016-11-20 Thread Stefan Wahren
Since there is no parameter @value replace it with @legacy. Fixes: 05ee799f202 ("usb: dwc2: Move gadget settings into core_params") Signed-off-by: Stefan Wahren --- drivers/usb/dwc2/params.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/3] rtc: sparc: make starfire explicitly non-modular

2016-11-20 Thread Alexandre Belloni
Hi Dave, I already carry both patches in my tree but I would gladly add an ack. On 20/11/2016 at 16:29:19 -0500, David Miller wrote : > From: Paul Gortmaker > Date: Mon, 31 Oct 2016 14:55:26 -0400 > > > The Kconfig currently controlling compilation of this code

[PATCH v5 0/2] console: Add persistent scrollback buffers for all VGA console

2016-11-20 Thread Manuel Schölling
Changes in v5: - Clearify documentation - Skip superfluous array initialization - Disable scrollback if buffer allocation fails - Refactor vgacon_switch_scrollback() - Rename vgacon_switch_scrollback() to vgacon_scrollback_switch() - Add check for fg_console in vgacon_scrollback_update

[PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-20 Thread Manuel Schölling
Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a new console is opened. This breaks tools like clear_console that rely on flushing the scrollback

[PATCH v5 1/2] console: Move scrollback data into its own struct

2016-11-20 Thread Manuel Schölling
This refactoring is in preparation for persistent scrollback support for VGA console. Signed-off-by: Manuel Schölling --- drivers/video/console/vgacon.c | 91 ++ 1 file changed, 47 insertions(+), 44 deletions(-) diff --git

[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 +

[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

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

2016-11-20 Thread Russell King - ARM Linux
On Sun, Nov 20, 2016 at 10:32:50AM -0800, Linus Torvalds wrote: > 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

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

2016-11-20 Thread Adam Borowski
On Sun, Nov 20, 2016 at 04:09:51PM +0100, Thorsten Leemhuis wrote: > Hi! Here is my fourth regression report for Linux 4.9. > == Current regressions == > > Desc: builddeb: fix cross-building to arm64 producing host-arch debs > Repo: 16-11-04

Re: [RFC PATCH v2 1/2] macb: Add 1588 support in Cadence GEM.

2016-11-20 Thread Richard Cochran
On Fri, Nov 18, 2016 at 03:21:51PM +0100, Andrei Pistirica wrote: > +#ifdef CONFIG_MACB_USE_HWSTAMP > +void macb_ptp_init(struct net_device *ndev); > +#else > +void macb_ptp_init(struct net_device *ndev) { } static inline ^^^ > +#endif > +void macb_ptp_init(struct net_device *ndev) > +{ > +

collect2: error: ld returned 1 exit status

2016-11-20 Thread kbuild test robot
Hi Linus, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 77079b133f242d3e3710c9b89ed54458307e54ff commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 3 months ago config:

Re: [PATCH 2/3] rtc: sparc: make starfire explicitly non-modular

2016-11-20 Thread David Miller
From: Paul Gortmaker Date: Mon, 31 Oct 2016 14:55:26 -0400 > The Kconfig currently controlling compilation of this code is: > > drivers/rtc/Kconfig:config RTC_DRV_STARFIRE > drivers/rtc/Kconfig:bool "Starfire RTC" > > ...meaning that it currently is not being

Re: [PATCH V3 0/3] Add support for session ID user filtering

2016-11-20 Thread Paul Moore
On Thu, Aug 18, 2016 at 1:43 PM, Richard Guy Briggs wrote: > https://github.com/linux-audit/audit-kernel/wiki/RFE-Session-ID-User-Filter > RFE Session ID User Filter > > https://github.com/linux-audit/audit-kernel/issues/4 > RFE: add a session ID filter to the kernel's user

Re: [PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-20 Thread kbuild test robot
Hi Manuel, [auto build test ERROR on linus/master] [also build test ERROR on v4.9-rc6 next-20161117] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url:

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

2016-11-20 Thread Netanel Belgazal
hub.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 build tree >

[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

[RFT v2 2/5] ASoC: samsung: smdk_wm8580: Remove old platforms and drop mach-types usage

2016-11-20 Thread Krzysztof Kozlowski
MACH_SMDKC100, MACH_SMDKV210 and MACH_SMDKC110 are no longer supported so we can drop the dead code. After this the driver no longer differentiates between machines (S3C24xx machines are not supported by it) so there is no need to override I2S device id in cpu_dai_name and SEC_PLAYBACK dai_link

[PATCH v2 5/5] ARM: s5pv210_defconfig: Remove old MACHs

2016-11-20 Thread Krzysztof Kozlowski
Remove non-existing MACH symbols from S5PV210 defconfig. Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/s5pv210_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/configs/s5pv210_defconfig b/arch/arm/configs/s5pv210_defconfig index

[RFT v2 0/5] ASoC: samsung: Minor cleanup for old machines

2016-11-20 Thread Krzysztof Kozlowski
Hi, Few patches removing dead code (machines not supported). Changes since v1: 1. Squash two smdk_wm8580 changes into patch #2. Now num_dai_links is always equal to two, so remove also SEC_PLAYBACK dai_link. (suggested by Lars-Peter Clausen). The second patch ([RFT v2 2/5] ASoC:

[PATCH v2 3/5] ASoC: samsung: Enable COMPILE_TEST for SmartQ and WM8580

2016-11-20 Thread Krzysztof Kozlowski
The I2S sound drivers for SmartQ board and WM8580 codec can be compile tested to increase build coverage. Signed-off-by: Krzysztof Kozlowski --- sound/soc/samsung/Kconfig | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sound/soc/samsung/Kconfig

[PATCH v2 1/5] ASoC: samsung: Remove non-existing MACH dependencies

2016-11-20 Thread Krzysztof Kozlowski
MACH_SMDKC100 was removed in commit b8529ec1c1b0 ("ARM: S5PC100: no more support S5PC100 SoC"). MACH_SMDKV210 and MACH_SMDKC110 in commit 28c8331d386 ("ARM: S5PV210: Remove support for board files"). Signed-off-by: Krzysztof Kozlowski --- sound/soc/samsung/Kconfig | 2 +- 1

[PATCH v2 4/5] ASoC: samsung: Enable COMPILE_TEST for entire Samsung ASoc

2016-11-20 Thread Krzysztof Kozlowski
Instead of build time, Samsung ASoC drivers have rather runtime dependency on Exynos or other Samsung platforms. For building they require Common Clock Framework. If it is provided they could be compile tested to increase build coverage. Signed-off-by: Krzysztof Kozlowski ---

  1   2   3   4   5   6   >