[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

[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

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:

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

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,

[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

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

[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

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

[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

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

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

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

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

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

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

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

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

[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

[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

[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

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.

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

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:

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

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

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

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

[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

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

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

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

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

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

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.

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

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

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

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 = <>; >> >>> + interrupts = <2

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 = <>; > >> >>> + 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

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 = <>; >> >> >>> +

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 = <>; > >> >> >>> + 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 >> +++

[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

[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

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

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

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

[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

[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

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

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 |

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 >

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

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

[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

[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

[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

[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

[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

[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

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

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

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

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

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

[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

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 >

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

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

[PATCH 0/4] Staging: comedi: comedi_fops: Header cleanup

2017-01-07 Thread Cheah Kok Cheong
This series does trivial header cleanup for comedi_fops.c Cheah Kok Cheong (4): Staging: comedi: comedi_fops: Remove unused kmod.h header Staging: comedi: comedi_fops: Remove redundant init.h header Staging: comedi: comedi_fops: Remove unused vmalloc.h header Staging: comedi: comedi_fops:

Re: [PATCH] Stagging :Comedi :Fixed Camel Case Style issue

2017-01-07 Thread Greg Kroah-Hartman
On Sat, Jan 07, 2017 at 03:48:05PM +0530, sumit negi wrote: > Fixed a camel style issue. Really? Look at what you changed: > -extern const struct comedi_lrange range_0_20mA; > -extern const struct comedi_lrange range_4_20mA; > -extern const struct comedi_lrange range_0_32mA; > +extern const

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

2017-01-07 Thread Jason A. Donenfeld
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 optimization suitable for hash tables only. Finally, the last two patches in this

[PATCH v2 net-next 1/4] siphash: add cryptographically secure PRF

2017-01-07 Thread Jason A. Donenfeld
SipHash is a 64-bit keyed hash function that is actually a cryptographically secure PRF, like HMAC. Except SipHash is super fast, and is meant to be used as a hashtable keyed lookup function, or as a general PRF for short input use cases, such as sequence numbers or RNG chaining. For the first

Re: [PATCH 0/3] crypto: picoxcell - Cleanups removing non-DT code

2017-01-07 Thread Jamie Iles
Hi Javier, On Mon, Jan 02, 2017 at 02:06:56PM -0300, Javier Martinez Canillas wrote: > Hello, > > This small series contains a couple of cleanups that removes some driver's > code > that isn't needed due the driver being for a DT-only platform. > > The changes were suggested by Arnd Bergmann

Re: [PATCH net-next] bridge: multicast to unicast

2017-01-07 Thread Linus Lüssing
On Fri, Jan 06, 2017 at 07:13:56PM -0800, Stephen Hemminger wrote: > On Mon, 2 Jan 2017 20:32:14 +0100 > Linus Lüssing wrote: > > > This feature is intended for interface types which have a more reliable > > and/or efficient way to deliver unicast packets than

[PATCH] net: ibm: ehea: 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/ehea/ehea_ethtool.c | 51 +++--- 1 files changed, 30 insertions(+), 21 deletions(-)

Re: [PATCH RFC 2/2] ARM: nommu: remap exception base address to RAM

2017-01-07 Thread Afzal Mohammed
Hi, On Tue, Dec 13, 2016 at 10:02:26AM +, Russell King - ARM Linux wrote: > Is there really any need to do this in head.S ? I believe it's > entirely possible to do it later - arch/arm/mm/nommu.c:paging_init(). As memblock_reserve() for exception address was done before paging_init(),

Re: [PATCH] adc: add adc driver for Hisilicon BVT SOCs

2017-01-07 Thread Jonathan Cameron
On 07/01/17 05:16, Allen Liu wrote: > Add ADC driver for the ADC controller found on HiSilicon BVT SOCs, like > Hi3516CV300, etc. > The ADC controller is primarily in charge of detecting voltage. > > Reviewed-by: Kevin Li > Signed-off-by: Allen Liu

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

Re: [PATCHv1 6/7] TAP: tap as an independent module

2017-01-07 Thread kbuild test robot
-Grandhi/Refactor-macvtap-to-re-use-tap-functionality-by-other-virtual-intefaces/20170107-165707 config: x86_64-allyesdebian (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new

Re: [PATCH v2 0/2] ARM: davinvi: da850 add ohci DT nodes

2017-01-07 Thread Sekhar Nori
On Friday 06 January 2017 03:10 PM, Axel Haslam wrote: > This adds the DT node for the ohci controller and > enables it for the omapl138-lckd platform. Applied to v4.11/dt Thanks, Sekhar

Re: [linux-sunxi] [PATCH] clk: sunxi-ng: fix PLL_CPUX adjusting on H3

2017-01-07 Thread Ondřej Jirman
Maxime, Dne 25.11.2016 v 01:28 meg...@megous.com napsal(a): > From: Ondrej Jirman > > When adjusting PLL_CPUX on H3, the PLL is temporarily driven > too high, and the system becomes unstable (oopses or hangs). > > Add a notifier to avoid this situation by temporarily

Re: [RFC] x86/mm/KASLR: Remap GDTs at fixed location

2017-01-07 Thread Andy Lutomirski
On Fri, Jan 6, 2017 at 11:45 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: >> P.S. Let's do the move to the fixmap, read/write as a separate patch. That >> will >> make bisecting much easier. > > Absolutely, but this has to be within the same series, as

Re: lirc bug in kernel 4.10-rc2

2017-01-07 Thread Wim Osterholt
On Thu, Dec 29, 2016 at 05:53:58PM +0100, Wim Osterholt wrote: L.S., > > after appearance of kernel-4.10-rc1 two days ago I was pleasantly surprised > to find a question about lirc_serial in 'make oldconfig': > > Homebrew Serial Port Receiver (IR_SERIAL) [N/m/?] (NEW) m > Serial Port

Re: [PATCH 4.9 000/116] 4.9.2-stable review

2017-01-07 Thread Greg Kroah-Hartman
On Sat, Jan 07, 2017 at 08:02:28AM -0800, Guenter Roeck wrote: > On 01/06/2017 01:42 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.2 release. > > There are 116 patches in this series, all will be posted as a response > > to this one. If anyone has any

[PATCH v2 0/4] Update LZ4 compressor module

2017-01-07 Thread Sven Schmidt
This patchset is for updating the LZ4 compression module to a version based on LZ4 v1.7.2 allowing to use the fast compression algorithm aka LZ4 fast which provides an "acceleration" parameter as a tradeoff between high compression ratio and high compression speed. We want to use LZ4 fast in

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

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

2017-01-07 Thread Eva Rachel Retuya
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 available scale values. Signed-off-by: Eva Rachel Retuya

Re: [PATCH 4.9 000/116] 4.9.2-stable review

2017-01-07 Thread Greg Kroah-Hartman
On Fri, Jan 06, 2017 at 07:04:20PM -0700, Shuah Khan wrote: > On 01/06/2017 02:42 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.2 release. > > There are 116 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH] ssb: main.c: This patch removes unnecessary return statement using spatch tool

2017-01-07 Thread kbuild test robot
-unnecessary-return-statement-using-spatch-tool/20170107-205451 config: x86_64-randconfig-x008-201701 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed

  1   2   3   4   >