Re: [PATCH v4] staging: iio: ad7606: replace range/range_available with corresponding scale

2017-01-07 Thread Lars-Peter Clausen
On 01/07/2017 12:10 PM, Eva Rachel Retuya wrote: > Eliminate the non-standard attributes in_voltage_range and > in_voltage_range_available. Implement in_voltage_scale_available in place > of these attributes and update the SCALE accordingly. The array > scale_avail is introduced to hold the availab

Re: [PATCH v4] staging: iio: ad7606: replace range/range_available with corresponding scale

2017-01-07 Thread Jonathan Cameron
On 07/01/17 12:54, Lars-Peter Clausen wrote: > On 01/07/2017 12:10 PM, Eva Rachel Retuya wrote: >> Eliminate the non-standard attributes in_voltage_range and >> in_voltage_range_available. Implement in_voltage_scale_available in place >> of these attributes and update the SCALE accordingly. The arr

Re: [PATCH WIP 4/4] ARM: remove compile time vector base for CP15 case

2017-01-07 Thread Afzal Mohammed
Hi, On Sat, Jan 07, 2017 at 05:38:32PM +, Russell King - ARM Linux wrote: > On Sat, Jan 07, 2017 at 10:52:28PM +0530, afzal mohammed wrote: > > TODO: > > Kill off VECTORS_BASE completely - this would require to handle MMU > > case as well as ARM_MPU scenario dynamically. > Why do you think

Re: [PATCH WIP 4/4] ARM: remove compile time vector base for CP15 case

2017-01-07 Thread Afzal Mohammed
Hi, On Sat, Jan 07, 2017 at 11:32:27PM +0530, Afzal Mohammed wrote: > i had thought that for MMU case if Hivecs is not enabled, > CONFIG_VECTOR_BASE has to be considered as 0x at least for the s/CONFIG_VECTOR_BASE/exception base address > purpose of displaying exception base address. R

Re: [V9fs-developer] 9pfs hangs since 4.7

2017-01-07 Thread Al Viro
On Sat, Jan 07, 2017 at 05:19:10PM +, Al Viro wrote: > released) simply trigger virtio_queue_notify_vq() again? It *is* a bug > (if we get a burst filling a previously empty queue all at once, there won't > be any slots becoming freed Umm... Nope, even in that scenario we'll have all reques

Re: [PATCH WIP 4/4] ARM: remove compile time vector base for CP15 case

2017-01-07 Thread Russell King - ARM Linux
On Sat, Jan 07, 2017 at 11:32:27PM +0530, Afzal Mohammed wrote: > Hi, > > On Sat, Jan 07, 2017 at 05:38:32PM +, Russell King - ARM Linux wrote: > > On Sat, Jan 07, 2017 at 10:52:28PM +0530, afzal mohammed wrote: > > > > TODO: > > > Kill off VECTORS_BASE completely - this would require to hand

[RFC PATCH] intel: Use upper_32_bits and lower_32_bits

2017-01-07 Thread Joe Perches
Shifting and masking various types can be made a bit simpler to read by using the available kernel macros. Signed-off-by: Joe Perches --- This RFC patch is meant as an example, not necessarily to apply, though it does compile to equivalent code. It does seem a bit simpler for a human to read.

Re: [PATCH v4 07/11] pwm: imx: Provide atomic PWM support for i.MX PWMv2

2017-01-07 Thread Lukasz Majewski
Hi Stefan, > On Thu, 5 Jan 2017 10:03:47 +0100 > Lukasz Majewski wrote: > > > On Thu, 5 Jan 2017 09:50:35 +0100 > > Boris Brezillon wrote: > > > > > On Thu, 5 Jan 2017 00:36:50 +0100 > > > Lukasz Majewski wrote: > > > > > > > This commit provides apply() callback implementation for i.MX's

Re: weird allocation pattern in alloc_ila_locks

2017-01-07 Thread Eric Dumazet
On Sat, Jan 7, 2017 at 1:27 AM, Michal Hocko wrote: > On Fri 06-01-17 14:14:49, Eric Dumazet wrote: >> I believe the intent was to get NUMA spreading, a bit like what we have >> in alloc_large_system_hash() when hashdist == HASHDIST_DEFAULT > > Hmm, I am not sure this works as expected then. Beca

Re: [PATCH v3 4/4] phy: qcom-qmp: new qmp phy driver for qcom-chipsets

2017-01-07 Thread vivek . gautam
On 2017-01-07 02:47, Bjorn Andersson wrote: On Fri 06 Jan 01:47 PST 2017, Vivek Gautam wrote: > > +static int qcom_qmp_phy_com_init(struct qcom_qmp_phy *qphy) > > +{ > > + const struct qmp_phy_cfg *cfg = qphy->cfg; > > + void __iomem *serdes = qphy->serdes; > > + int ret; > > + > >

[PATCH resend v3] ASoC: sun4i-codec: Add "Right Mixer" to "Line Out Mono Diff." route

2017-01-07 Thread Chen-Yu Tsai
The mono differential output for "Line Out" downmixes the stereo audio from the mixer, instead of just taking the left channel. Add a route from the "Right Mixer" to "Line Out Source Playback Route" through the "Mono Differential" path, so DAPM doesn't shut down everything if the left channel is m

Re: [PATCH v2 0/8] ASoC: sunxi: Add support for audio codec in A23/H3 SoCs

2017-01-07 Thread Chen-Yu Tsai
Hi Maxime, On Fri, Nov 25, 2016 at 8:34 PM, Chen-Yu Tsai wrote: > Hi everyone, > > This is v2 of my Allwinner A23 and H3 audio codec support series. > > Changes since v1: > > - Use DEFINE_RES_MEM for the analog path controls block resources. > - Added Rob's ack. > > This series adds support f

Re: [PATCH v2] fscrypt: Factor out bio specific functions

2017-01-07 Thread Theodore Ts'o
On Wed, Jan 04, 2017 at 12:10:43PM -0800, Eric Biggers wrote: > > I thought you're supposed to be able to build the kernel no matter how it's > configured. If this patch is really too large for 4.10 then perhaps we should > make FS_ENCRYPTION select CONFIG_BLOCK instead? We already have FS_ENCRY

Re: [PATCH] doc: add note on usleep_range range

2017-01-07 Thread Nicholas Mc Guire
On Tue, Dec 27, 2016 at 10:56:26PM +0100, Pavel Machek wrote: > On Tue 2016-12-13 04:58:43, Nicholas Mc Guire wrote: > > useleep_range() with a delta of 0 makes no sense and only prevents the > > timer subsystem from optimizing interrupts. As any user of usleep_range() > > is in non-atomic context

[PATCH 0/9] memstick: Fine-tuning for some function implementations

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 20:44:20 +0100 Some update suggestions were taken into account from static source code analysis. Markus Elfring (9): Split a condition check in msb_ftl_initialize() Use kmalloc_array() in msb_ftl_initialize() Delete unwanted spaces behind three fu

[PATCH 1/9] memstick: Split a condition check in msb_ftl_initialize()

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 08:43:50 +0100 The functions "kmalloc" and "kzalloc" were called in two cases by the function "msb_ftl_initialize" without checking immediately if they succeded. This issue was detected by using the Coccinelle software. Split a condition check for memor

[PATCH 2/9] memstick: Use kmalloc_array() in msb_ftl_initialize()

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 09:15:27 +0100 * A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle so

Re: [PATCH v2 net-next 0/4] Introduce The SipHash PRF

2017-01-07 Thread Eric Biggers
On Sat, Jan 07, 2017 at 03:40:53PM +0100, Jason A. Donenfeld wrote: > This patch series introduces SipHash into the kernel. SipHash is a > cryptographically secure PRF, which serves a variety of functions, and is > introduced in patch #1. The following patch #2 introduces HalfSipHash, > an optimiza

[PATCH 3/9] memstick: Delete unwanted spaces behind three function parameters

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 18:54:25 +0100 The script "checkpatch.pl" pointed information out like the following. ERROR: space prohibited before that ',' (ctx:WxW) Thus fix the affected source code places. Signed-off-by: Markus Elfring --- drivers/memstick/core/ms_block.c | 9

[PATCH 4/9] memstick: Improve two size determinations in msb_resume()

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 19:17:07 +0100 Replace the specification of data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Markus

Re: [PATCH v2 1/1] block: fix blk_queue_split() resource exhaustion

2017-01-07 Thread Lars Ellenberg
On Sat, Jan 07, 2017 at 10:01:07AM +1100, NeilBrown wrote: > On Sat, Jan 07 2017, Mike Snitzer wrote: > > On Fri, Jan 06 2017 at 12:34pm -0500, > > Mikulas Patocka wrote: > >> On Fri, 6 Jan 2017, Mikulas Patocka wrote: > >> > On Wed, 4 Jan 2017, Mike Snitzer wrote: > >> > > On Wed, Jan 04 2017 at

[PATCH 5/9] memstick: Delete an unnecessary variable initialisation in msb_resume()

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 19:29:17 +0100 The local variable "new_msb" will eventually be set to an appropriate pointer a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/memstick/core/ms_block.c | 2 +- 1 file changed

[PATCH 6/9] memstick: Improve a size determination in msb_probe()

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 19:36:21 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mark

[PATCH 7/9] memstick: Improve another size determination in msb_read_boot_blocks()

2017-01-07 Thread Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 20:00:16 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mark

[PATCH 7/9] memstick: Improve another size determination in msb_read_boot_blocks()

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 20:00:16 +0100 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: Mark

[PATCH 8/9] memstick: Delete an unnecessary variable initialisation in msb_read_boot_blocks()

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 20:02:24 +0100 The local variable "pba" will be set to an appropriate value a bit later. Thus omit the explicit initialisation at the beginning. Signed-off-by: Markus Elfring --- drivers/memstick/core/ms_block.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH 9/9] memstick: Delete an unnecessary check in msb_update_block()

2017-01-07 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 7 Jan 2017 20:21:02 +0100 Further exception handling will only be performed after an error code was set. Thus remove a redundant check for a local variable at the end. Signed-off-by: Markus Elfring --- drivers/memstick/core/ms_block.c | 6 ++ 1 file changed,

[PATCH v5 1/2] ARM: dts: vf610-zii-dev-rev-b: Remove leftover PWM pingroup

2017-01-07 Thread Andrey Smirnov
Remove pwm0grp since it is: a) Not referenced anywhere in the DTS file (unlike Tower board it is based on, this board does not use/expose FTM0) b) Configures PTB2 and PTB3 in a way that contradicts pinctrl-mdio-mux Cc: Shawn Guo Cc: Rob Herring Cc: Mark Rutland

[PATCH v5 2/2] ARM: dts: vf610-zii-dev: Add .dts file for rev. C

2017-01-07 Thread Andrey Smirnov
Add .dts file for rev. C of the board by factoring out commonalities into a shared include file (vf610-zii-dev-rev-b-c.dtsi) and deriving revision specific file from it (vf610-zii-dev-rev-b.dts and vf610-zii-dev-reb-c.dts). Cc: Shawn Guo Cc: Rob Herring Cc: Mark Rutland Cc: Russell King Cc: Sa

Re: [alsa-devel] [PATCH] Revert "ASoC: core: replace aux_comp_list to component_dev_list"

2017-01-07 Thread Chen-Yu Tsai
On Sat, Jan 7, 2017 at 2:18 AM, Mark Brown wrote: > On Thu, Dec 29, 2016 at 05:18:21PM +0100, Sylwester Nawrocki wrote: > >> I run into same issue and posted a patch: > >> "ASoC: Fix binding and probing of auxiliary components". > > Which I applied so I guess things are fine now without the revert

Re: [PATCH net-next 1/2] net: dsa: make "label" property optional for dsa2

2017-01-07 Thread Uwe Kleine-König
Hello, On 01/06/2017 11:47 PM, Florian Fainelli wrote: > On 01/06/2017 02:20 PM, Andrew Lunn wrote: >>> If one wants to rename an interface, udev rules can be used as usual. >> >> Hi Vivien >> >> Do you have some examples? >> >> A quick look at udevadm info suggests we can use >> >> ATTR{phys_port

Re: [PATCH v2 0/9] Use mmio-sram driver for Keystone MSMC RAM

2017-01-07 Thread santosh.shilim...@oracle.com
On 1/6/17 1:57 PM, Suman Anna wrote: Hi, The Keystone 2 family of SoCs have an on-chip RAM called the Multicore Shared Memory (MSM) RAM. This RAM is accessible through the Multicore Shared Memory Controller (MSMC). This series represents these on-chip RAMs as sram nodes so that the memory alloca

Re: [PATCH net-next 1/2] net: dsa: make "label" property optional for dsa2

2017-01-07 Thread Uwe Kleine-König
Hello, On 01/06/2017 11:00 PM, Vivien Didelot wrote: > In the new DTS bindings for DSA (dsa2), the "ethernet" and "link" > phandles are respectively mandatory and exclusive to CPU port and DSA > link device tree nodes. > > Simplify dsa2.c a bit by checking the presence of such phandle instead > o

pca953x: lockdep warning since 4.10

2017-01-07 Thread Clemens Gruber
Hi, I observed the following lockdep warning when booting an i.MX6Q board with several PCAL9555A gpio expanders connected over I2C. They are connected to 3 separate busses, there is no i2c-mux in use. This warning appears with the latest mainline Linux kernel 4.10-rc2: [0.671336] WARNING: CP

Re: imx: RS-485 problems during TX, maybe DMA related

2017-01-07 Thread Clemens Gruber
On Sat, Jan 07, 2017 at 02:48:03PM -0200, Fabio Estevam wrote: > On Sat, Jan 7, 2017 at 1:34 PM, Clemens Gruber > wrote: > > Hi Fabio, > > > > On Sat, Jan 07, 2017 at 12:57:10PM -0200, Fabio Estevam wrote: > >> The MX6QDL_PAD_CSI0_DAT16__UART4_CTS_B option is only valid in dte mode. > > > > Ah, th

Re: [PATCH] ACPI/IORT: Fix iort_node_get_id() mapping entries indexing

2017-01-07 Thread Sinan Kaya
On 1/5/2017 1:29 PM, Lorenzo Pieralisi wrote: > Commit 618f535a6062 ("ACPI/IORT: Add single mapping function") > introduced a function (iort_node_get_id()) to retrieve ids for IORT > named components. > > iort_node_get_id() takes an index as input to refer to a specific > mapping entry in the mapp

[PATCH] Documentation: display: fix wrong documentation paths

2017-01-07 Thread Yegor Yefremov
Signed-off-by: Yegor Yefremov --- Documentation/devicetree/bindings/display/arm,pl11x.txt | 2 +- Documentation/devicetree/bindings/display/bridge/analogix_dp.txt| 2 +- Documentation/devicetree/bindings/display/cirrus,clps711x-fb.txt| 2 +- Documentation/devicetre

Re: [PATCH v2 1/2] ext4: Include forgotten start block on fallocate insert range

2017-01-07 Thread Theodore Ts'o
On Fri, Jan 06, 2017 at 09:26:00PM +0100, Roman Pen wrote: > While doing 'insert range' start block should be also shifted right. > The bug can be easily reproduced by the following test: > > ptr = malloc(4096); > assert(ptr); > > fd = open("./ext4.file", O_CREAT | O_TRUNC | O_RDWR, 0

Re: [PATCH v3 2/2] ARM: dts: imx6q: Add mccmon6 board support

2017-01-07 Thread Lukasz Majewski
Dear All, > From: Lukasz Majewski > > This patch provides support for Liebherr's Monitor 6 board > (abverrated as mccmon6) to Linux kernel. > > Signed-off-by: Lukasz Majewski > --- > Changes for v3: > - Reorganize the dts file according to Shawn Guo's comments > > Changes for v2: > - Reorgani

Re: [PATCH v2 2/2] ext4: Do not populate extents tree with outdated offsets while shifting extents

2017-01-07 Thread Theodore Ts'o
On Fri, Jan 06, 2017 at 09:26:01PM +0100, Roman Pen wrote: > Inside ext4_ext_shift_extents() function ext4_find_extent() is called > without EXT4_EX_NOCACHE flag, which should prevent cache population. > > This leads to oudated offsets in the extents tree and wrong blocks > afterwards. > > Patch

[PATCH] net: ibm: emac: use new api ethtool_{get|set}_link_ksettings

2017-01-07 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/ibm/emac/core.c | 70 +++-- 1 files changed, 40 insertions(+), 30 deletions(-) diff --git a/drivers/ne

Re: [PATCH v2 4/4] fs/pstore: fs/squashfs: Change usage of LZ4 to comply with new LZ4 module version

2017-01-07 Thread Kees Cook
On Sat, Jan 7, 2017 at 8:55 AM, Sven Schmidt <4ssch...@informatik.uni-hamburg.de> wrote: > This patch updates fs/pstore and fs/squashfs to use the updated functions from > the new LZ4 module. > > Signed-off-by: Sven Schmidt <4ssch...@informatik.uni-hamburg.de> > --- > fs/pstore/platform.c | 1

[PATCH] net: ibm: ibmveth: use new api ethtool_{get|set}_link_ksettings

2017-01-07 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/ibm/ibmveth.c | 30 ++ 1 files changed, 18 insertions(+), 12 deletions(-) diff --git a/drivers/net/eth

[PATCH] net: ibm: ibmvnic: use new api ethtool_{get|set}_link_ksettings

2017-01-07 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/ibm/ibmvnic.c | 31 ++- 1 files changed, 18 insertions(+), 13 deletions(-) diff --git a/drivers/net/et

Re: [PATCH v2 net-next 3/4] secure_seq: use SipHash in place of MD5

2017-01-07 Thread David Miller
From: "Jason A. Donenfeld" Date: Sat, 7 Jan 2017 15:40:56 +0100 > This gives a clear speed and security improvement. Siphash is both > faster and is more solid crypto than the aging MD5. > > Rather than manually filling MD5 buffers, for IPv6, we simply create > a layout by a simple anonymous st

Re: [PATCH] i2c: print correct device invalid address

2017-01-07 Thread Vladimir Zapolskiy
On 01/06/2017 01:02 PM, John Garry wrote: > In of_i2c_register_device(), when the check for > device address validity fails we print the info.addr, > which has not been assigned properly. > > Fix this by printing the actual invalid address. > > Signed-off-by: John Garry > > diff --git a/drivers

Re: imx: RS-485 problems during TX, maybe DMA related

2017-01-07 Thread Fabio Estevam
Hi Clemens, On Sat, Jan 7, 2017 at 6:59 PM, Clemens Gruber wrote: > Great! > > Did you observe the same effect I described, with the doubling of > characters in the front and the leftovers from previous transmissions at > the end? No, I don't observe these errors when I use 'rts-gpios' in the d

Re: [PATCH v6 2/3] serial: exar: split out the exar code from 8250_pci

2017-01-07 Thread kbuild test robot
/20170107-005654 base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next config: x86_64-randconfig-s2-01080418 (attached as .config) compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 reproduce: # save the attached .config to linux build tree make ARCH=x86_64

[PATCH v2 0/2] Staging: unisys: visorbus: style fix

2017-01-07 Thread Derek Robson
Two files change in style fix, changes are octal file permiss ions. version 2: first verion has duplicated subject/commit messages Derek Robson (2): Staging: unisys: visorbus: visorbus_main.c: fixed style Staging: unisys: visorbus: visorchipset.c: style fix drivers/staging/unisys/visorbus/

[PATCH v2 2/2] Staging: unisys: visorbus: visorchipset.c: style fix

2017-01-07 Thread Derek Robson
Changed file permissions to octal sytle. Found using checkpatch. Acked-by: David Kershner Signed-off-by: Derek Robson --- Version 1 had duplicated subject/commit message, fixed in v2 drivers/staging/unisys/visorbus/visorchipset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --gi

[PATCH v2 1/2] Staging: unisys: visorbus: visorbus_main.c: fixed style

2017-01-07 Thread Derek Robson
Changed file permissions to octal sytle. Found using checkpatch. Acked-by: David Kershner Signed-off-by: Derek Robson --- Version 1 had duplicated subject/commit message, fixed in v2 drivers/staging/unisys/visorbus/visorbus_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) di

Re: [PATCH v2 net-next 3/4] secure_seq: use SipHash in place of MD5

2017-01-07 Thread Eric Biggers
Hi David, On Sat, Jan 07, 2017 at 04:37:36PM -0500, David Miller wrote: > From: "Jason A. Donenfeld" > Date: Sat, 7 Jan 2017 15:40:56 +0100 > > > This gives a clear speed and security improvement. Siphash is both > > faster and is more solid crypto than the aging MD5. [snip] > > This and the n

[PATCH] net: intel: e100: use new api ethtool_{get|set}_link_ksettings

2017-01-07 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/intel/e100.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/intel/e100.c

Re: [RFC PATCH] intel: Use upper_32_bits and lower_32_bits

2017-01-07 Thread Julia Lawall
On Sat, 7 Jan 2017, Joe Perches wrote: > Shifting and masking various types can be made a bit > simpler to read by using the available kernel macros. It looks much nicer to me, especially in the lower case, where there are multiple ways to express the same thing. julia > > Signed-off-by: Joe P

Re: [PATCH v2] fscrypt: Factor out bio specific functions

2017-01-07 Thread Richard Weinberger
Ted, Am 07.01.2017 um 20:24 schrieb Theodore Ts'o: > On Wed, Jan 04, 2017 at 12:10:43PM -0800, Eric Biggers wrote: >> >> I thought you're supposed to be able to build the kernel no matter how it's >> configured. If this patch is really too large for 4.10 then perhaps we >> should >> make FS_ENCR

Re: imx: RS-485 problems during TX, maybe DMA related

2017-01-07 Thread Clemens Gruber
Hi Fabio, On Sat, Jan 07, 2017 at 07:43:48PM -0200, Fabio Estevam wrote: > Hi Clemens, > > On Sat, Jan 7, 2017 at 6:59 PM, Clemens Gruber > wrote: > > > Great! > > > > Did you observe the same effect I described, with the doubling of > > characters in the front and the leftovers from previous t

Re: [PATCH] usb: storage: ene_ub6250: remove unused variable

2017-01-07 Thread Sudip Mukherjee
On Thursday 05 January 2017 06:36 PM, Greg Kroah-Hartman wrote: On Sun, Dec 18, 2016 at 10:34:31PM +, Sudip Mukherjee wrote: The variable Newblk was only being assigned some value but was never used after that. Signed-off-by: Sudip Mukherjee --- drivers/usb/storage/ene_ub6250.c | 2 --

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-07 Thread Rafael J. Wysocki
On 1/7/2017 9:42 PM, Borislav Petkov wrote: Hi, I'm bisecting a boot freeze with 4.10-rc2 on a laptop and the commit in $Subject is introducing a breakage, see attached splat. Unfortunately, it is not complete as I don't have any other means of logging dmesg on a laptop. A temporary workaround

[PATCH] mm: stop leaking PageTables

2017-01-07 Thread Hugh Dickins
4.10-rc loadtest (even on x86, even without THPCache) fails with "fork: Cannot allocate memory" or some such; and /proc/meminfo shows PageTables growing. rc1 removed the freeing of an unused preallocated pagetable after do_fault_around() has called map_pages(): which is usually a good optimization

[PATCH v7 1/3] gpio: exar: add gpio for exar cards

2017-01-07 Thread Sudip Mukherjee
Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which can be controlled using gpio interface. Add the gpio specific code. Signed-off-by: Sudip Mukherjee --- drivers/gpio/Kconfig | 7 ++ drivers/gpio/Makefile| 1 + drivers/gpio/gpio-exar.c | 238 +

[PATCH v7 2/3] serial: exar: split out the exar code from 8250_pci

2017-01-07 Thread Sudip Mukherjee
Add the serial driver for the exar chips. And also register the platform device for the exar gpio. Signed-off-by: Sudip Mukherjee --- Hi Andy, Headers, if arranged in alphabetical order, will give a build warning. And thanks for revewing that v6. I think those were the worst patch I have ever po

[PATCH v7 0/3] add gpio support to exar

2017-01-07 Thread Sudip Mukherjee
Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which can be controlled using gpio interface. v5 was sent in January, 2016 and after reviews it was suggested to split the exar code out of 8250_pci and make its own driver. For reference it is at https://patchwork.kernel.org/patch/

[PATCH v7 3/3] serial: 8250_pci: remove exar code

2017-01-07 Thread Sudip Mukherjee
Remove the exar specific codes from 8250_pci and blacklist those chips so that the exar serial binds to the devices. Signed-off-by: Sudip Mukherjee --- drivers/tty/serial/8250/8250_pci.c | 336 + 1 file changed, 3 insertions(+), 333 deletions(-) diff --git a/

Re: stack unwinder warning.

2017-01-07 Thread Dave Jones
On Fri, Jan 06, 2017 at 10:50:32AM -0600, Josh Poimboeuf wrote: > > WARNING: kernel stack frame pointer at c90001443f30 in > > kworker/u8:8:30468 has bad value (null) > > unwind stack type:0 next_sp: (null) mask:6 graph_idx:0 > > This is actually a separate issue. Th

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-07 Thread Borislav Petkov
On Sun, Jan 08, 2017 at 12:30:27AM +0100, Rafael J. Wysocki wrote: > Please check if this helps: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=696c7f8e0373026e8bfb29b2d9ff2d0a92059d4d Unfortunately no, still same early freeze. :-\ The splat happens when booting 6

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-07 Thread Borislav Petkov
On Sun, Jan 08, 2017 at 01:22:55AM +0100, Rafael J. Wysocki wrote: > Is an IVRS table actually present on this machine? Like this? [0.00] ACPI: IVRS 0x9CFD6000 D0 (v02 AMDAGESA 0001 AMD ) -- Regards/Gruss, Boris. Good mailing practices for 400: avoi

Re: [PATCH v3 2/2] efi: efi_mem_reserve(): don't reserve through memblock after mm_init()

2017-01-07 Thread Nicolai Stange
Ard Biesheuvel writes: > On 6 January 2017 at 17:46, Nicolai Stange wrote: >> Ard Biesheuvel writes: >> >>> On 6 January 2017 at 13:02, Nicolai Stange wrote: Ard Biesheuvel writes: > On 5 January 2017 at 12:51, Nicolai Stange wrote: >> Before invoking the arch specific hand

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-07 Thread Rafael J. Wysocki
On Sun, Jan 8, 2017 at 1:37 AM, Borislav Petkov wrote: > On Sun, Jan 08, 2017 at 01:22:55AM +0100, Rafael J. Wysocki wrote: >> Is an IVRS table actually present on this machine? > > Like this? > > [0.00] ACPI: IVRS 0x9CFD6000 D0 (v02 AMDAGESA > 0001 AMD )

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-07 Thread Borislav Petkov
On Sun, Jan 08, 2017 at 01:52:50AM +0100, Rafael J. Wysocki wrote: > So we get the table, but apparently we crash when we attempt to put it. Right, except on 4.10-rc2 we don't crash but we freeze early. These are the last lines: ... [0.004778] mce: CPU supports 7 MCE banks [0.004861] LVT

Re: [PATCH v7 2/3] serial: exar: split out the exar code from 8250_pci

2017-01-07 Thread Andy Shevchenko
On Sun, Jan 8, 2017 at 1:57 AM, Sudip Mukherjee wrote: > Add the serial driver for the exar chips. And also register the > platform device for the exar gpio. Did you ignore some comments? IIRC I recommended to use proper vendor name like Exar (or how is it spelled?). > Headers, if arranged in a

Re: [PATCH v5] net: stmmac: fix maxmtu assignment to be within valid range

2017-01-07 Thread Andy Shevchenko
On Sat, Jan 7, 2017 at 11:32 AM, Kweh, Hock Leong wrote: > From: "Kweh, Hock Leong" > > There is no checking valid value of maxmtu when getting it from > device tree. This resolution added the checking condition to > ensure the assignment is made within a valid range. FWIW: Reviewed-by: Andy She

[PATCH] media: fix dm1105.c build error

2017-01-07 Thread Randy Dunlap
From: Randy Dunlap Fix dm1105 build error when CONFIG_I2C_ALGOBIT=m and CONFIG_DVB_DM1105=y. drivers/built-in.o: In function `dm1105_probe': dm1105.c:(.text+0x2836e7): undefined reference to `i2c_bit_add_bus' Signed-off-by: Randy Dunlap Reported-by: kbuild test robot Cc: Javier Martinez Canil

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-07 Thread Rafael J. Wysocki
On Sun, Jan 8, 2017 at 1:07 AM, Borislav Petkov wrote: > On Sun, Jan 08, 2017 at 12:30:27AM +0100, Rafael J. Wysocki wrote: >> Please check if this helps: >> >> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=696c7f8e0373026e8bfb29b2d9ff2d0a92059d4d > > Unfortunately no,

Re: [PATCH v2 net-next 3/4] secure_seq: use SipHash in place of MD5

2017-01-07 Thread David Miller
From: Eric Biggers Date: Sat, 7 Jan 2017 14:09:11 -0800 > Well, except those instructions aren't actually used in these > places. Although x86_64 SHA1-NI accelerated SHA-1 is available in > the Linux crypto API, it seems that in kernel code it remains > impractical to use these instructions on s

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-07 Thread Rafael J. Wysocki
On Sun, Jan 8, 2017 at 2:01 AM, Borislav Petkov wrote: > On Sun, Jan 08, 2017 at 01:52:50AM +0100, Rafael J. Wysocki wrote: >> So we get the table, but apparently we crash when we attempt to put it. > > Right, except on 4.10-rc2 we don't crash but we freeze early. These are > the last lines: > > .

Re: [PATCH v2 0/7] net: ethernet: ti: cpsw: support placing CPDMA descriptors into DDR

2017-01-07 Thread David Miller
From: Grygorii Strashko Date: Fri, 6 Jan 2017 14:07:28 -0600 > This series intended to add support for placing CPDMA descriptors into DDR by > introducing new module parameter "descs_pool_size" to specify size of > descriptor's > pool. The "descs_pool_size" defines total number of CPDMA > CPPI d

Re: [4.10, panic, regression] iscsi: null pointer deref at iscsi_tcp_segment_done+0x20d/0x2e0

2017-01-07 Thread Johannes Weiner
On Tue, Jan 03, 2017 at 01:28:25PM +0100, Jan Kara wrote: > On Mon 02-01-17 16:11:36, Johannes Weiner wrote: > > On Fri, Dec 23, 2016 at 03:33:29AM -0500, Johannes Weiner wrote: > > > On Fri, Dec 23, 2016 at 02:32:41AM -0500, Johannes Weiner wrote: > > > > On Thu, Dec 22, 2016 at 12:22:27PM -0800,

Re: [net-next v1 0/8] netcp: enhancements and minor fixes

2017-01-07 Thread David Miller
From: Murali Karicheri Date: Fri, 6 Jan 2017 15:37:38 -0500 > This series is for net-next. This propagates enhancements and minor > bug fixes from internal version of the driver to keep the upstream > in sync. Please review and apply if this looks good. > > Tested on all of K2HK/E/L boards with

Re: [4.10, panic, regression] iscsi: null pointer deref at iscsi_tcp_segment_done+0x20d/0x2e0

2017-01-07 Thread Linus Torvalds
On Sat, Jan 7, 2017 at 6:02 PM, Johannes Weiner wrote: > > Linus? Andrew? Looks fine to me. Will apply. Linus

Re: 174cc7187e6f ACPICA: Tables: Back port acpi_get_table_with_size() and early_acpi_os_unmap_memory() from Linux kernel

2017-01-07 Thread Rafael J. Wysocki
On Sun, Jan 8, 2017 at 2:45 AM, Rafael J. Wysocki wrote: > On Sun, Jan 8, 2017 at 2:01 AM, Borislav Petkov wrote: >> On Sun, Jan 08, 2017 at 01:52:50AM +0100, Rafael J. Wysocki wrote: >>> So we get the table, but apparently we crash when we attempt to put it. >> >> Right, except on 4.10-rc2 we do

Re: imx: RS-485 problems during TX, maybe DMA related

2017-01-07 Thread Fabio Estevam
Hi Clemens, On Sat, Jan 7, 2017 at 9:06 PM, Clemens Gruber wrote: > Just remuxed GPIO signals to these pads, applied your two patches and > used rts-gpios in the DT but I still see the same problem :/ > > When transmit something, I get doubled characters, then zeros and at the > end garbled data

Re: [PATCH net-next] net: dsa: move HWMON support to its own file

2017-01-07 Thread David Miller
From: Vivien Didelot Date: Fri, 6 Jan 2017 16:42:00 -0500 > Isolate the HWMON support in DSA in its own file. Currently only the > legacy DSA code is concerned. > > Signed-off-by: Vivien Didelot Applied.

Re: [PATCH tip/master v3] kprobes: extable: Identify kprobes' insn-slots as kernel text area

2017-01-07 Thread Masami Hiramatsu
On Wed, 4 Jan 2017 11:01:02 +0100 Peter Zijlstra wrote: > On Wed, Jan 04, 2017 at 02:06:04PM +0900, Masami Hiramatsu wrote: > > On Tue, 3 Jan 2017 11:54:02 +0100 > > Peter Zijlstra wrote: > > > > How many entries should one expect on that list? I spend quite a bit of > > > time reducing the cos

Re: [PATCH] Staging: speakup: styel fix, octal file permissions

2017-01-07 Thread Derek Robson
On Sat, Jan 07, 2017 at 08:39:45AM +0100, Greg KH wrote: > On Sat, Jan 07, 2017 at 05:11:16PM +1300, Derek Robson wrote: > > Changed file permission to octal style, > > Found using checkpatch > > Typo in your subject line :( > > > > > Signed-off-by: Derek Robson > > --- > > drivers/staging/spe

Re: [f2fs-dev] [PATCH 3/5] f2fs: check in-memory block bitmap

2017-01-07 Thread Jaegeuk Kim
Hi Chao, On 01/07, Chao Yu wrote: > This patch adds a mirror for valid block bitmap, and use it to detect > in-memory bitmap corruption which may be caused by bit-transition of > cache or memory overflow. > > Signed-off-by: Chao Yu > --- > fs/f2fs/segment.c | 30 -- >

Re: [PATCH v5 5/5] arm64: dts: exynos: Add tm2 touchkey node

2017-01-07 Thread Chanwoo Choi
Hi Andi, 2017-01-07 21:40 GMT+09:00 Andi Shyti : > Hi Chanwoo, > >> >>> + touchkey@20 { >> >>> + compatible = "samsung,tm2-touchkey"; >> >>> + reg = <0x20>; >> >>> + interrupt-parent = <&gpa3>; >> >>> + interrupts = <2 IRQ_TYPE_EDGE_FAL

Re: [PATCH v5 5/5] arm64: dts: exynos: Add tm2 touchkey node

2017-01-07 Thread Andi Shyti
Hi Chanwoo, > >> >>> + touchkey@20 { > >> >>> + compatible = "samsung,tm2-touchkey"; > >> >>> + reg = <0x20>; > >> >>> + interrupt-parent = <&gpa3>; > >> >>> + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; > >> >>> + vcc-supply

Re: [V9fs-developer] 9pfs hangs since 4.7

2017-01-07 Thread Al Viro
On Sat, Jan 07, 2017 at 06:15:23PM +, Al Viro wrote: > On Sat, Jan 07, 2017 at 05:19:10PM +, Al Viro wrote: > > > released) simply trigger virtio_queue_notify_vq() again? It *is* a bug > > (if we get a burst filling a previously empty queue all at once, there won't > > be any slots becomi

Re: [PATCH v5 5/5] arm64: dts: exynos: Add tm2 touchkey node

2017-01-07 Thread Chanwoo Choi
Hi Andi, 2017-01-08 14:45 GMT+09:00 Andi Shyti : > Hi Chanwoo, > >> >> >>> + touchkey@20 { >> >> >>> + compatible = "samsung,tm2-touchkey"; >> >> >>> + reg = <0x20>; >> >> >>> + interrupt-parent = <&gpa3>; >> >> >>> + interrupts = <2 IR

Re: [PATCH v5 5/5] arm64: dts: exynos: Add tm2 touchkey node

2017-01-07 Thread Andi Shyti
Hi Chanwoo, > >> >> >>> + touchkey@20 { > >> >> >>> + compatible = "samsung,tm2-touchkey"; > >> >> >>> + reg = <0x20>; > >> >> >>> + interrupt-parent = <&gpa3>; > >> >> >>> + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; > >> >> >>> +

Re: [PATCH v2 2/4] linux/const.h: move UL() macro to include/linux/const.h

2017-01-07 Thread Masahiro Yamada
Hi. 2017-01-06 19:45 GMT+09:00 David Howells : > Masahiro Yamada wrote: > >> diff --git a/include/uapi/linux/const.h b/include/uapi/linux/const.h >> index c872bfd..76fb0f9 100644 >> --- a/include/uapi/linux/const.h >> +++ b/include/uapi/linux/const.h >> @@ -1,7 +1,7 @@ >> /* const.h: Macros for

Re: [PATCH] mm: stop leaking PageTables

2017-01-07 Thread Aneesh Kumar K.V
Hugh Dickins writes: > 4.10-rc loadtest (even on x86, even without THPCache) fails with > "fork: Cannot allocate memory" or some such; and /proc/meminfo > shows PageTables growing. > > rc1 removed the freeing of an unused preallocated pagetable after > do_fault_around() has called map_pages(): wh

Re: [PATCH] arm64: do not set dma masks that device connection can't handle

2017-01-07 Thread Sergei Shtylyov
Hello! On 1/6/2017 5:45 PM, Nikita Yushchenko wrote: It is possible that device is capable of 64-bit DMA addresses, and device driver tries to set wide DMA mask, but bridge or bus used to connect device to the system can't handle wide addresses. With swiotlb, memory above 4G still can be used

<    1   2