Re: [PATCH net] ipv6: sctp: clone options to avoid use after free

2015-12-09 Thread Marcelo Ricardo Leitner
Em 09-12-2015 14:31, David Laight escreveu: From: Eric Dumazet [mailto:eric.duma...@gmail.com] Sent: 09 December 2015 16:00 On Wed, 2015-12-09 at 15:49 +, David Laight wrote: SCTP is lacking proper np->opt cloning at accept() time. TCP and DCCP use ipv6_dup_options() helper, do the same in

Re: [PATCH] iwlegacy: mark il_adjust_beacon_interval as noinline

2015-12-09 Thread Nicolas Pitre
On Wed, 9 Dec 2015, Arnd Bergmann wrote: > With the new optimized do_div() code, some versions of gcc > produce obviously incorrect code that leads to a link error > in iwlegacy/common.o: > > drivers/built-in.o: In function `il_send_rxon_timing': > :(.text+0xa6b4d4): undefined reference to `i

Re: [PATCH] ARM: pxa: mark raumfeld init functions as __maybe_unused

2015-12-09 Thread Daniel Mack
On 12/09/2015 05:52 PM, Arnd Bergmann wrote: > The raumfeld.c file contains three similar machine definitions, > each with their own init function. If one or more of them are > disabled, we get compile-time warnings: > > arm/mach-pxa/raumfeld.c:1070:123: warning: 'raumfeld_connector_init' defined

Re: [PATCH V1] input: da9063: report KEY_POWER instead of KEY_SLEEP during power key-press

2015-12-09 Thread Dmitry Torokhov
On Tue, Dec 08, 2015 at 05:55:05PM +, Steve Twiss wrote: > From: Steve Twiss > > Stop reporting KEY_SLEEP for a short key-press and report KEY_POWER instead > This change applied to both DA9063 and DA9062 ONKEY drivers. You need to explain why this change is needed. > > Signed-off-by: Stev

[git pull] a couple of fixes in vfs.git

2015-12-09 Thread Al Viro
A couple of fixes, both -stable fodder (9p one all way back to 2.6.32, dio - to all branches where "Fix negative return from dio read beyond eof" will end up it; it's a fixup to commit marked for -stable). Please, pull from the usual place - git://git.kernel.org/pub/scm/linux/kernel/git/vi

Re: [Questions] perf c2c: What's the current status of perf c2c?

2015-12-09 Thread Andi Kleen
> If I recall the c2c tool is giving you more than the bouncing line. It shows > you > the offset inside the line and the participating CPUs. On Haswell and later you could get the same with the normal address reporting. The events above support DLA. -Andi -- a...@linux.intel.com -- Speaking f

Re: [PATCH v2] gpiolib: tighten up ACPI legacy gpio lookups

2015-12-09 Thread Dmitry Torokhov
On Wed, Dec 09, 2015 at 04:11:30PM +0100, Linus Walleij wrote: > Hi Dmitry, > > Sorry for me being so damned slow. Heh, I am not the one to complain about people being slow ;) > > On Fri, Nov 27, 2015 at 6:37 PM, Dmitry Torokhov > wrote: > > On Tue, Nov 17, 2015 at 02:43:14PM +0100, Linus Wall

Re: [PATCH v4 5/5] crypto: AES CBC multi-buffer glue code

2015-12-09 Thread Tim Chen
On Wed, 2015-12-09 at 10:52 +0800, Herbert Xu wrote: > On Wed, Dec 02, 2015 at 12:02:45PM -0800, Tim Chen wrote: > > > > +/* > > + * CRYPTO_ALG_ASYNC flag is passed to indicate we have an ablk > > + * scatter-gather walk. > > + */ > > + > > +static struct crypto_alg aes_cbc_mb_alg = { > > + .cra_

[PATCH net-next v3 2/4] net: mvneta: Associate RX queues with each CPU

2015-12-09 Thread Gregory CLEMENT
We enable the percpu interrupt for all the CPU and we just associate a CPU to a few queue at the neta level. The mapping between the CPUs and the queues is static. The queues are associated to the CPU module the number of CPUs. However currently we only use on RX queue for a given Ethernet port. S

[PATCH net-next v3 0/4] mvneta: Introduce RSS support and XPS configuration

2015-12-09 Thread Gregory CLEMENT
Hi, this series is the first step add RSS support on mvneta. It will allow associating an ethernet interface to a given CPU through RSS by using "ethtool -X ethX weight". Indeed, currently I only enable one entry in the RSS lookup table. Even if it is not really RSS, it allows to get back the irq

Re: [PATCHSET v2] ->follow_link() without dropping from RCU mode

2015-12-09 Thread Linus Torvalds
On Tue, Dec 8, 2015 at 9:32 PM, Al Viro wrote: > > Any help with review and testing would be welcome. FWIW, it seems to survive > the beating here. It looks ok to me, but I *hate* that "cookie" thing we have. And I don't actually see any reason for it. Every single user except for a couple seem

[PATCH net-next v3 4/4] net: mvneta: Configure XPS support

2015-12-09 Thread Gregory CLEMENT
With this patch each CPU is associated with its own set of TX queues. It also setup the XPS with an initial configuration which set the affinity matching the hardware configuration. Suggested-by: Arnd Bergmann Signed-off-by: Gregory CLEMENT --- drivers/net/ethernet/marvell/mvneta.c | 56 ++

[PATCH net-next v3 3/4] net: mvneta: Add naive RSS support

2015-12-09 Thread Gregory CLEMENT
This patch adds the support for the RSS related ethtool function. Currently it only uses one entry in the indirection table which allows associating an mvneta interface to a given CPU. Signed-off-by: Gregory CLEMENT Tested-by: Marcin Wojtas --- drivers/net/ethernet/marvell/mvneta.c | 127 ++

[PATCH net-next v3 1/4] net: mvneta: Make the default queue related for each port

2015-12-09 Thread Gregory CLEMENT
Instead of using the same default queue for all the port. Move it in the port struct. It will allow have a different default queue for each port. Signed-off-by: Gregory CLEMENT --- drivers/net/ethernet/marvell/mvneta.c | 33 ++--- 1 file changed, 18 insertions(+), 15

[PATCH net-next] cgroup: fix sock_cgroup_data initialization on earlier compilers

2015-12-09 Thread Tejun Heo
sock_cgroup_data is a struct containing an anonymous union. sock_cgroup_set_prioidx() and sock_cgroup_set_classid() were initializing a field inside the anonymous union as follows. struct sock_ccgroup_data skcd_buf = { .val = VAL }; While this is fine on more recent compilers, gcc-4.4.7 triggers

Re: [PATCH] cpufreq: tegra: add regulator dependency for T124

2015-12-09 Thread Jon Hunter
On 09/12/15 14:47, Mark Brown wrote: > * PGP Signed by an unknown key > > On Wed, Dec 09, 2015 at 12:03:27PM +, Jon Hunter wrote: >> On 08/12/15 21:52, Arnd Bergmann wrote: > >>> My first attempt was to implement a helper for this function >>> for regulator_sync_voltage, but Mark Brown expla

Re: [PATCH v2 0/3] dmaengine: Add supports for APM X-Gene SoC CRC32C accerlerator driver

2015-12-09 Thread David Miller
From: Herbert Xu Date: Wed, 9 Dec 2015 16:44:58 +0800 > On Wed, Dec 09, 2015 at 02:13:32PM +0530, Rameshwar Sahu wrote: >> >> Yes, we are not upstream in-kernel users right now, but later client >> ma upstream there patches. > > Well I'd prefer to not take any crypto drivers that don't have > in

Re: Crash caused by "EDAC: Rip out the edac_subsys reference counting" (was Re: linux-next: Tree for Dec 8)

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 10:50:09AM -0600, Scott Wood wrote: > It's not "a driver's probe function". There is no driver whose .probe() is > mpc85xx_pci_err_probe() -- the name is historical. >From looking at it, it behaves a lot like a probe function. Irrespective of what it is or it isn't, callin

Re: [PATCH v2] Input: xpad - remove spurious events of wireless xpad 360 controller

2015-12-09 Thread Clement Calmels
On Sun, 22 Nov 2015 17:35:39 +0100 clement.calm...@free.fr wrote: > From: Clement Calmels > > When powering up a wireless xbox 360 controller, some wrong joystick > events are generated. It is annoying because, for example, it makes > unwanted moves in Steam big picture mode's menu. > > When my

Re: [PATCH v2 1/3] dt-binding: power: Add otg regulator binding

2015-12-09 Thread Tim Bird
On 12/09/2015 06:36 AM, Rob Herring wrote: > On Wed, Dec 9, 2015 at 6:55 AM, Tim Bird wrote: >> On 12/08/2015 08:11 PM, Rob Herring wrote: >>> On Tue, Dec 08, 2015 at 04:40:16PM -0800, Tim Bird wrote: Add a binding for the regulator which controls the OTG chargepath switch. The OTG swi

Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()

2015-12-09 Thread Dan Carpenter
We should add a tag to indicate that we are sending a patch for a crappy driver. IMHO-this-driver-is-garbage: Your Name If it got 10 votes of no confidence it would be moved to staging and then deleted. Anyway, realistically, let's just apply this fix. It's tempting to think we could delete al

[PATCH v4 3/7] x86: mm/gup: add gup trace points

2015-12-09 Thread Yang Shi
Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Signed-off-by: Yang Shi --- arch/x86/mm/gup.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/x86/mm/gup.c b/arch/x86/mm/gup.c index ae9a37b..a96bcb7 100644 --- a/arch/x86/mm/gup.c +++ b/arch/x86/mm/gu

[PATCH v4 5/7] s390: mm/gup: add gup trace points

2015-12-09 Thread Yang Shi
Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux-s...@vger.kernel.org Signed-off-by: Yang Shi --- arch/s390/mm/gup.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/s390/mm/gup.c b/arch/s390/mm/gup.c index 12bbf0e..0ff7e92 100644 --- a/arch/s390/mm/gup.c +++ b/arch/s390/mm/gup

[PATCH v4 6/7] sh: mm/gup: add gup trace points

2015-12-09 Thread Yang Shi
Cc: linux...@vger.kernel.org Signed-off-by: Yang Shi --- arch/sh/mm/gup.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/sh/mm/gup.c b/arch/sh/mm/gup.c index e7af6a6..fa72aac 100644 --- a/arch/sh/mm/gup.c +++ b/arch/sh/mm/gup.c @@ -14,6 +14,9 @@ #include #include +#define C

[PATCH v4 1/7] trace/events: Add gup trace events

2015-12-09 Thread Yang Shi
page-faults events record the invoke to handle_mm_fault, but the invoke may come from do_page_fault or gup. In some use cases, the finer event count mey be needed, so add trace events support for: __get_user_pages __get_user_pages_fast fixup_user_fault Signed-off-by: Yang Shi --- include/trace/

[PATCH v4 2/7] mm/gup: add gup trace points

2015-12-09 Thread Yang Shi
For slow version, just add trace point for raw __get_user_pages since all slow variants call it to do the real work finally. Signed-off-by: Yang Shi --- mm/gup.c | 8 1 file changed, 8 insertions(+) diff --git a/mm/gup.c b/mm/gup.c index deafa2c..00a3cff 100644 --- a/mm/gup.c +++ b/mm/

[PATCH v4 7/7] sparc64: mm/gup: add gup trace points

2015-12-09 Thread Yang Shi
Cc: "David S. Miller" Cc: sparcli...@vger.kernel.org Signed-off-by: Yang Shi --- arch/sparc/mm/gup.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/sparc/mm/gup.c b/arch/sparc/mm/gup.c index 2e5c4fc..d9f573c 100644 --- a/arch/sparc/mm/gup.c +++ b/arch/sparc/mm/gup.c @@ -12,6 +12

[PATCH v4 4/7] mips: mm/gup: add gup trace points

2015-12-09 Thread Yang Shi
Cc: linux-m...@linux-mips.org Acked-by: Ralf Baechle Signed-off-by: Yang Shi --- arch/mips/mm/gup.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/mips/mm/gup.c b/arch/mips/mm/gup.c index 349995d..e0d8838 100644 --- a/arch/mips/mm/gup.c +++ b/arch/mips/mm/gup.c @@ -15,6 +15,9 @@

Re: the first bad commit "use memblock_insert_region() for the empty array" (was linux-next: Tree for Dec 9)

2015-12-09 Thread Andy Shevchenko
c: Tony Luck > Cc: Tang Chen > Cc: Pekka Enberg > Cc: Wei Yang > Signed-off-by: Andrew Morton > > :04 04 5450bc6a2965794aca876f731acfbf7362503c9b > c1e6b38ea2a581bbeeb0c23d596681c2cef10b86 M mm > > > > So I reverted &

[RFC V4] Add gup trace points support

2015-12-09 Thread Yang Shi
v4: * Adopted Steven's suggestion to use "unsigned int" for nr_pages to save space in ring buffer since it is unlikely to have more than 0x pages are touched by gup in one invoke * Remove unnecessray type cast v3: * Adopted suggestion from Dave Hansen to move the gup header include to

Re: [PATCH v4] fs: clear file privilege bits when mmap writing

2015-12-09 Thread Kees Cook
On Wed, Dec 9, 2015 at 4:49 AM, Jan Kara wrote: > On Tue 08-12-15 15:28:18, Kees Cook wrote: >> Normally, when a user can modify a file that has setuid or setgid bits, >> those bits are cleared when they are not the file owner or a member >> of the group. This is enforced when using write and trun

[PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread Gregory CLEMENT
With device tree it is no more possible to reset the PHY at board level. Furthermore, doing in the driver allow to power down the PHY when the network interface is no more used. The patch introduces a new optional property "phy-reset-gpio" inspired from the one use for the FEC. Signed-off-by: Gre

Re: [f2fs-dev] [PATCH 3/3 v2] f2fs: use lock_buffer when changing superblock

2015-12-09 Thread Jaegeuk Kim
Agreed. Change log from v1: o apply for _undo_ flow as well >From ea212a4a7a432e0ecd0f0f53971b70172b3e7f96 Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Mon, 7 Dec 2015 10:18:54 -0800 Subject: [PATCH] f2fs: use lock_buffer when changing superblock When modifying sb contents, we need to use

Re: Crash caused by "EDAC: Rip out the edac_subsys reference counting" (was Re: linux-next: Tree for Dec 8)

2015-12-09 Thread Scott Wood
On Wed, 2015-12-09 at 18:38 +0100, Borislav Petkov wrote: > On Wed, Dec 09, 2015 at 10:50:09AM -0600, Scott Wood wrote: > > It's not "a driver's probe function". There is no driver whose .probe() > > is > > mpc85xx_pci_err_probe() -- the name is historical. > > From looking at it, it behaves a lo

Re: [PATCH v5 1/5] acpi: pci: Setup MSI domain for ACPI based pci devices

2015-12-09 Thread Suravee Suthikulanit
On 12/9/2015 4:13 AM, Marc Zyngier wrote: On Tue, 8 Dec 2015 17:48:02 -0800 Suravee Suthikulpanit wrote: This patch introduces pci_msi_register_fwnode_provider() for irqchip to register a callback, to provide a way to determine appropriate MSI domain for a pci device. It also introduces pci_h

[PATCH net-next v4 05/19] net: ethtool: add new ETHTOOL_GSETTINGS/SSETTINGS API

2015-12-09 Thread David Decotigny
From: David Decotigny This patch defines a new ETHTOOL_GSETTINGS/SSETTINGS API, handled by the new get_ksettings/set_ksettings callbacks. This API provides support for most legacy ethtool_cmd fields, adds support for larger link mode masks (up to 4064 bits, variable length), and removes ethtool_c

[PATCH net-next v4 15/19] net: bridge: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/bridge/br_if.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index 8d1d4a2..d1022fd 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c @@ -36,10 +36,10 @@ */

[PATCH net-next v4 18/19] net: mlx4: convenience predicate for debug messages

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h b/drivers/net/ethernet/mellanox/mlx4/mlx4_en.h index 35de7d2..b04054d 100644

[PATCH net-next v4 14/19] net: 8021q: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/8021q/vlan_dev.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c index fded865..e607fee 100644 --- a/net/8021q/vlan_dev.c +++ b/net/8021q/vlan_dev.c @@ -620,12 +6

Re: [PATCH v5 5/5] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Suravee Suthikulanit
Hi Marc, On 12/9/2015 4:38 AM, Marc Zyngier wrote: On Tue, 8 Dec 2015 17:48:06 -0800 Suravee Suthikulpanit wrote: This patch introduces gicv2m_acpi_init(), which uses information in MADT GIC MSI frames structure to initialize GICv2m driver. Signed-off-by: Suravee Suthikulpanit Signed-off-by

[PATCH net-next v4 00/19] RFC: new ETHTOOL_GSETTINGS/SSETTINGS API

2015-12-09 Thread David Decotigny
From: David Decotigny History: v4 - removed typedef for link mode bitmaps - moved bitmap<->u32[] conversion routines to bitmap.c . This is the naive implementation. I have an endian-aware version that uses memcpy/memset as much as possible, but I find it harder to follow (see http://

Re: [PATCH] nwflash: use no_seek_end_llseek_size

2015-12-09 Thread Al Viro
On Wed, Dec 09, 2015 at 05:33:45PM +0100, Arnd Bergmann wrote: > The recently introduced no_seek_end_llseek was wrong, it should > be no_seek_end_llseek_size: > > drivers/char/nwflash.c: In function 'flash_llseek': > drivers/char/nwflash.c:280:8: error: too many arguments to function > 'no_seek_e

[PATCH net-next v4 02/19] test_bitmap: unit tests for lib/bitmap.c

2015-12-09 Thread David Decotigny
From: David Decotigny This is mainly testing bitmap construction and conversion to/from u32[] for now. Tested: qemu i386, x86_64, ppc, ppc64 BE and LE, ARM. Signed-off-by: David Decotigny --- lib/Kconfig.debug | 8 + lib/Makefile | 1 + lib/t

Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()

2015-12-09 Thread Julia Lawall
On Wed, 9 Dec 2015, Dan Carpenter wrote: > We should add a tag to indicate that we are sending a patch for a crappy > driver. > > IMHO-this-driver-is-garbage: Your Name > > If it got 10 votes of no confidence it would be moved to staging and > then deleted. Forgive my ignorance, but what is th

[PATCH net-next v4 12/19] net: fcoe: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/scsi/fcoe/fcoe_transport.c | 36 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/drivers/scsi/fcoe/fcoe_transport.c b/drivers/scsi/fcoe/fcoe_transport.c index d7597c0..9049197

[PATCH net-next v4 16/19] net: core: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- net/core/net-sysfs.c | 15 +-- net/packet/af_packet.c | 11 +-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index f88a62a..3dd4bb1 100644 --- a/net/cor

[PATCH net-next v4 04/19] net: usnic: use __ethtool_get_settings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index 5b60579..e082170 100644 --

[PATCH net-next v4 07/19] net: usnic: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index e082170..e0d12d4 1

[PATCH net-next v4 08/19] net: bonding: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/bonding/bond_main.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index fe0e7a6..ce8c026 100644 --- a/drivers/net/bonding/b

[PATCH net-next v4 19/19] net: mlx4: use new ETHTOOL_G/SSETTINGS API

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ethernet/mellanox/mlx4/en_ethtool.c | 344 drivers/net/ethernet/mellanox/mlx4/en_main.c| 1 + drivers/net/ethernet/mellanox/mlx4/mlx4_en.h| 1 + 3 files changed, 177 insertions(+), 169 dele

Re: [PATCH v5 5/5] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Marc Zyngier
On 09/12/15 18:02, Suravee Suthikulanit wrote: > Hi Marc, > > On 12/9/2015 4:38 AM, Marc Zyngier wrote: >> On Tue, 8 Dec 2015 17:48:06 -0800 >> Suravee Suthikulpanit wrote: >> >>> This patch introduces gicv2m_acpi_init(), which uses information >>> in MADT GIC MSI frames structure to initialize G

[PATCH net-next v4 01/19] lib/bitmap.c: conversion routines to/from u32 array

2015-12-09 Thread David Decotigny
From: David Decotigny Aimed at transferring bitmaps to/from user-space in a 32/64-bit agnostic way. Tested: unit tests (next patch) on qemu i386, x86_64, ppc, ppc64 BE and LE, ARM. Signed-off-by: David Decotigny --- include/linux/bitmap.h | 6 lib/bitmap.c | 86 +++

[PATCH net-next v4 03/19] net: usnic: remove unused call to ethtool_ops::get_settings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/infiniband/hw/usnic/usnic_ib_verbs.c b/drivers/infiniband/hw/usnic/usnic_ib_verbs.c index f8e3211..5b60579 100644 --- a/drivers/inf

[PATCH net-next v4 10/19] net: macvlan: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/macvlan.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/macvlan.c b/drivers/net/macvlan.c index 06c8bfe..a95b793 100644 --- a/drivers/net/macvlan.c +++ b/drivers/net/macvlan.c @@ -940,

[PATCH net-next v4 09/19] net: ipvlan: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/ipvlan/ipvlan_main.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ipvlan/ipvlan_main.c b/drivers/net/ipvlan/ipvlan_main.c index a9268db..63b3aa5 100644 --- a/drivers/net/ipvlan/ipvlan

[PATCH net-next v4 17/19] net: ethtool: remove unused __ethtool_get_settings

2015-12-09 Thread David Decotigny
From: David Decotigny replaced by __ethtool_get_ksettings. Signed-off-by: David Decotigny --- include/linux/ethtool.h | 4 net/core/ethtool.c | 45 ++--- 2 files changed, 14 insertions(+), 35 deletions(-) diff --git a/include/linux/ethtool.h

[PATCH net-next v4 13/19] net: rdma: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- include/rdma/ib_addr.h | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/include/rdma/ib_addr.h b/include/rdma/ib_addr.h index 1152859..1820f26 100644 --- a/include/rdma/ib_addr.h +++ b/include/rdma/ib_add

[PATCH net-next v4 11/19] net: team: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- drivers/net/team/team.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 059c0f6..7cc98a7 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.

Re: [PATCH 00/14] mm: memcontrol: account socket memory in unified hierarchy v4-RESEND

2015-12-09 Thread Johannes Weiner
Hey Arnd! On Wed, Dec 09, 2015 at 05:31:38PM +0100, Arnd Bergmann wrote: > On Tuesday 08 December 2015 10:30:10 Johannes Weiner wrote: > > Hi Andrew, > > > > there was some build breakage in CONFIG_ combinations I hadn't tested > > in the last revision, so here is a fixed-up resend with minimal C

[PATCH net-next v4 06/19] tx4939: use __ethtool_get_ksettings

2015-12-09 Thread David Decotigny
From: David Decotigny Signed-off-by: David Decotigny --- arch/mips/txx9/generic/setup_tx4939.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/arch/mips/txx9/generic/setup_tx4939.c b/arch/mips/txx9/generic/setup_tx4939.c index e3733cd..4a3ebf6 100644 --- a/arch/mips/

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread Andrew Lunn
On Wed, Dec 09, 2015 at 06:49:43PM +0100, Gregory CLEMENT wrote: > With device tree it is no more possible to reset the PHY at board > level. Furthermore, doing in the driver allow to power down the PHY when > the network interface is no more used. > > The patch introduces a new optional property

Re: [Xen-devel] [PATCH] x86: Xen PV guests don't have the rtc_cmos platform device

2015-12-09 Thread Boris Ostrovsky
On 12/09/2015 10:27 AM, Jan Beulich wrote: On 09.12.15 at 16:15, wrote: On 12/09/2015 10:00 AM, Sander Eikelenboom wrote: On 2015-12-09 15:42, Jan Beulich wrote: On 09.12.15 at 15:32, wrote: --- a/arch/x86/kernel/rtc.c +++ b/arch/x86/kernel/rtc.c @@ -200,6 +200,9 @@ static __init int add_rt

Re: [PATCHSET v2] ->follow_link() without dropping from RCU mode

2015-12-09 Thread Al Viro
On Wed, Dec 09, 2015 at 09:24:32AM -0800, Linus Torvalds wrote: >That's because of the HIGHMEM crap that you removed. Without > highmem, the page data address specifies the page fine without any > cookie. > > - overlayfs, which uses it to create a temporary data storage. > >Why? Mainly

Re: [BUG, linux-next] slow resume, hard LOCKUP on cpu 1

2015-12-09 Thread Jeremiah Mahler
On Sat, Dec 05, 2015 at 01:20:01PM -0800, Jeremiah Mahler wrote: > all, > > Running the latest linux-next (20151202+) on an Acer C720, it will > sporadically be very slow to resume from a suspend. Sometimes it > resumes normally, other times it can take over a minute. During the > worst cases th

Re: [GIT PULL] USB fixes for v4.4-rc5

2015-12-09 Thread Greg KH
On Wed, Dec 09, 2015 at 09:58:41AM -0600, Felipe Balbi wrote: > Hi Greg, > > Here's what I hope to be the last set of fixes for current -rc. Let me > know if you want anything to be changed. > > cheers > > The following changes since commit f74875dc36135ebae82a8e005f4b7f52289d2c40: > > usb: d

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread Moritz Fischer
Hi Gregory, so far dealt with this in u-boot. The power down the PHY part makes sense, though. Minor nit down inline. Will need to test on hardware (Zynq). On Wed, Dec 9, 2015 at 9:49 AM, Gregory CLEMENT wrote: > With device tree it is no more possible to reset the PHY at board > level. Furtherm

Re: [patch RESEND] atp870u: 64 bit bug in atp885_init()

2015-12-09 Thread Dan Carpenter
On Wed, Dec 09, 2015 at 07:11:15PM +0100, Julia Lawall wrote: > Forgive my ignorance, but what is the exact procedure? For example, the > following file: drivers/pcmcia/vrc4173_cardu.c contains the following > code: INIT_WORK(&socket->tq_work, cardu_bh, socket);. The last time > INIT_WORK took th

Re: bpf: undefined shift in __bpf_prog_run

2015-12-09 Thread Daniel Borkmann
On 12/04/2015 08:10 PM, Alexei Starovoitov wrote: On Fri, Dec 04, 2015 at 08:03:47PM +0100, Dmitry Vyukov wrote: is it with some random seccomp program? If normal libseccomp generates such programs than it needs to be fixed. Yes, it is with completely random seccomp program. Such shifts have

[PATCHv2 0/2] NVMe namespace identification

2015-12-09 Thread Keith Busch
Here's version 2 exposing unique namespace identification to sysfs. This is simpler thanks to feedback from Willy, Christoph, and Dan. There are two identification attributes displayed in ASCII instead of binary. Each method has its own file so parsers will know the format. The first patch in th

[PATCHv2 2/2] NVMe: Expose namespace identity attribute to sysfs

2015-12-09 Thread Keith Busch
Adds EUI-64 and NGUID attributes to sysfs under the gendisk kobject path. The files' visibility depends on the namespace capabilities. User space needs to check the existence of both files to determine how to identify the namespace. NGUID format: ---- EUI64 format:

[PATCHv2 1/2] Print: Add print format for 8-byte EUI-64 type

2015-12-09 Thread Keith Busch
MAC addresses may be formed using rules based on EUI-64, which is 2 bytes longer than a typical 6-byte MAC. This patch adds a long specifier to the %pM format to support the extended unique identifier. Signed-off-by: Keith Busch --- Documentation/printk-formats.txt | 13 ++--- lib/vsprin

Re: [PATCH] mm/memblock: use memblock_insert_region() for the empty array

2015-12-09 Thread Dan Williams
>regions[0].flags = flags; > - memblock_set_region_node(&type->regions[0], nid); > - type->total_size = size; > + memblock_insert_region(type, 0, base, size, nid, flags); > return 0; > } > repeat: >

Re: [PATCH v5 5/5] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Suravee Suthikulanit
On 12/9/2015 12:16 PM, Marc Zyngier wrote: diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c >>>[...] >>>@@ -359,6 +368,8 @@ static int __init gicv2m_init_one(struct fwnode_handle *fwnode, >>> >>>if (to_of_node(fwnode)) >>>name = to_of_node(fwnode)->name;

Re: [PATCH] x86/entry/64: Remove duplicate syscall table for fast path

2015-12-09 Thread Andy Lutomirski
On Wed, Dec 9, 2015 at 5:02 AM, Brian Gerst wrote: > Instead of using a duplicate syscall table for the fast path, create stubs for > the syscalls that need pt_regs that save the extra registers if a flag for the > slow path is not set. > > Signed-off-by: Brian Gerst > To: Andy Lutomirski > Cc:

Re: [PATCH 01/12] selftests/x86: Extend Makefile to allow 64-bit only tests

2015-12-09 Thread Andy Lutomirski
On Tue, Dec 8, 2015 at 1:34 AM, Borislav Petkov wrote: > On Mon, Dec 07, 2015 at 01:51:26PM -0800, Andy Lutomirski wrote: >> There aren't any yet, but there might be a few some day. >> >> Signed-off-by: Andy Lutomirski >> --- >> tools/testing/selftests/x86/Makefile | 5 +++-- >> 1 file changed,

Re: [PATCH v2 1/3] dt-binding: power: Add otg regulator binding

2015-12-09 Thread Mark Brown
On Wed, Dec 09, 2015 at 09:42:09AM -0800, Tim Bird wrote: > On 12/09/2015 06:36 AM, Rob Herring wrote: > > You need a regulator-name property. Also, should should define valid > > values for regulator-min-microvolt and regulator-max-microvolt. > All of those are listed as optional properties in >

Re: [PATCH 02/12] selftests/x86: Add check_initial_reg_state

2015-12-09 Thread Andy Lutomirski
On Tue, Dec 8, 2015 at 1:54 AM, Borislav Petkov wrote: > On Mon, Dec 07, 2015 at 01:51:27PM -0800, Andy Lutomirski wrote: >> This checks that ELF binaries are started with an appropriately >> blank register state. >> >> (There's currently a nasty special case in the entry asm to arrange >> for th

[Patch V0] This patch adds some support required for KVM in order to support LMCE.

2015-12-09 Thread Ashok Raj
- Add support for MSR_IA32_MCG_EXT_CTL - Add MCG_LMCE_P to KVM_MCE_CAP_SUPPORTED - Changes to IA32_FEATURE_CONTROL, allow this MSR to be defined just not for nested VMM, but now its required for Local MCE. Reviewed-by: Andi Kleen Reviewed-by: Tony Luck Tested-by: Gong Chen Signed-off-by: Asho

Re: [PATCH v2 14/14] perf tools: Move subcommand framework and related utils to libapi

2015-12-09 Thread Josh Poimboeuf
On Wed, Dec 09, 2015 at 12:58:08PM -0300, Arnaldo Carvalho de Melo wrote: > Em Wed, Dec 09, 2015 at 06:33:15AM -0600, Josh Poimboeuf escreveu: > > On Wed, Dec 09, 2015 at 09:03:43AM +0100, Ingo Molnar wrote: > > > > > > * Josh Poimboeuf wrote: > > > > > > > > > wouldn't necessarily be a clean sp

Re: [PATCH] mm: memcontrol: only manage socket pressure for CONFIG_INET

2015-12-09 Thread Johannes Weiner
On Wed, Dec 09, 2015 at 05:32:16PM +0100, Arnd Bergmann wrote: > When IPV4 support is disabled, the memcg->socket_pressure field is > not defined and we get a build error from the vmpressure code: > > mm/vmpressure.c: In function 'vmpressure': > mm/vmpressure.c:287:9: error: 'struct mem_cgroup' ha

Re: [PATCH] mm/memblock: use memblock_insert_region() for the empty array

2015-12-09 Thread Tyler Baker
instead of direct initialization. > > Signed-off-by: Alexander Kuleshov Just to add on to the report from Dan, the kernelci.org boot bot has also detected ~65 new boot failures in next-20151209[1], which have been bisected to this patch[2]. It doesn't revert cleanly, so I'm going

Re: [PATCHv2 1/2] Print: Add print format for 8-byte EUI-64 type

2015-12-09 Thread Joe Perches
On Wed, 2015-12-09 at 11:42 -0700, Keith Busch wrote: > MAC addresses may be formed using rules based on EUI-64, which is 2 bytes > longer than a typical 6-byte MAC. This patch adds a long specifier to > the %pM format to support the extended unique identifier. [] > diff --git a/Documentation/print

Re: [PATCH v2 00/19] PM / devferq: Add generic exynos bus frequency driver and new passive governor

2015-12-09 Thread Anand Moon
Hi Chanwoo Choi, On 9 December 2015 at 09:37, Chanwoo Choi wrote: > This patch-set includes the two features as following. The generic exynos bus > frequency driver is able to support almost Exynos SoCs for bus frequency > scaling. And the new passive governor is able to make the dependency on >

Re: [PATCH 02/12] selftests/x86: Add check_initial_reg_state

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 10:56:36AM -0800, Andy Lutomirski wrote: > That was intentional -- everything lines up with the top-level "asm(". > checkpatch is confused because it understands "\t " at the front of a > line but not just a space. > > That being said, I could easily be convinced to switch

Re: livepatch: reuse module loader code to write relocations

2015-12-09 Thread Jessica Yu
+++ Josh Poimboeuf [08/12/15 12:38 -0600]: On Mon, Nov 30, 2015 at 11:21:17PM -0500, Jessica Yu wrote: Reuse module loader code to write relocations, thereby eliminating the need for architecture specific relocation code in livepatch. Namely, we reuse apply_relocate_add() in the module loader to

Re: [PATCH v2 4/5] arm64: dts: qcom: Alias pm8916 on msm8916 devices

2015-12-09 Thread Frank Rowand
On 11/20/2015 3:31 PM, Stephen Boyd wrote: > Add an alias for pm8916 on msm8916 based SoCs so that the newly > updated dtbTool can find the pmic compatible string and add the > pmic-id element to the QCDT header. > > Signed-off-by: Stephen Boyd > --- > arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi |

Re: [PATCH] net/macb: add support for resetting PHY using GPIO

2015-12-09 Thread kbuild test robot
Hi Gregory, [auto build test ERROR on net-next/master] [also build test ERROR on v4.4-rc4 next-20151209] url: https://github.com/0day-ci/linux/commits/Gregory-CLEMENT/net-macb-add-support-for-resetting-PHY-using-GPIO/20151210-015931 config: x86_64-acpi-redef (attached as .config) reproduce

Re: [PATCH 01/12] selftests/x86: Extend Makefile to allow 64-bit only tests

2015-12-09 Thread Shuah Khan
On Mon, Dec 7, 2015 at 2:51 PM, Andy Lutomirski wrote: > There aren't any yet, but there might be a few some day. Andy, Hmm. I would think get_maintainer script should have included linux-api and as well as my email for this patch. Anyway, I would like to see a better worded changelog. Somethin

Re: [PATCH v2 1/1] drm: modes: fix DRM modes analysis regression

2015-12-09 Thread Corentin LABBE
Le 09/12/2015 16:32, Jani Nikula a écrit : > On Wed, 09 Dec 2015, LABBE Corentin wrote: >> My latest commit introduce some case where a valid mode, could be >> rejected. >> simple_strtox functions stop at first non-digit character, but kstrtox not. >> So args like "video=HDMI-A-1:720x480-16@60" wi

Re: [PATCH 1/3] ser_gigaset: fix up NULL checks

2015-12-09 Thread Paul Bolle
On wo, 2015-12-09 at 12:12 +, One Thousand Gnomes wrote: > On Wed, 9 Dec 2015 11:45:57 +0100 > Tilman Schmidt wrote: > Want a patch on top of Paul's change or a single > patch including both and crediting him ? There's no change that can be attributed to me, I think. We're discussing a series

Re: [PATCH net] ipv6: sctp: clone options to avoid use after free

2015-12-09 Thread Daniel Borkmann
On 12/09/2015 06:11 PM, Marcelo Ricardo Leitner wrote: Em 09-12-2015 14:31, David Laight escreveu: From: Eric Dumazet [mailto:eric.duma...@gmail.com] Sent: 09 December 2015 16:00 On Wed, 2015-12-09 at 15:49 +, David Laight wrote: SCTP is lacking proper np->opt cloning at accept() time. TC

Re: [PATCH net-next v4 12/19] net: fcoe: use __ethtool_get_ksettings

2015-12-09 Thread kbuild test robot
Hi David, [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/David-Decotigny/RFC-new-ETHTOOL_GSETTINGS-SSETTINGS-API/20151210-022123 config: i386-randconfig-b0-12100240 (attached as .config) reproduce: # save the attached .config to linux build tr

Re: x86 fpu: command-line parameters broken post-FPU-rewrite

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 09:32:10AM +0100, Ingo Molnar wrote: > > * Dave Hansen wrote: > > > Hey Ingo, > > > > We were starting to look at reenabling XSAVES support and tried to use the > > 'noxsave' and 'noxsaves' kernel command-line options. The rewrite moved > > the FPU > > initialization

Re: Crash caused by "EDAC: Rip out the edac_subsys reference counting" (was Re: linux-next: Tree for Dec 8)

2015-12-09 Thread Borislav Petkov
On Wed, Dec 09, 2015 at 11:57:05AM -0600, Scott Wood wrote: > I recall at the time suggesting that the PCIe controller driver instantiate a > platform device for the EDAC driver to bind to -- it looks like that's what > we'll need to do. Sounds better. Let me know if there's anything I can help wi

Re: [PATCH 01/12] selftests/x86: Extend Makefile to allow 64-bit only tests

2015-12-09 Thread Andy Lutomirski
On Wed, Dec 9, 2015 at 11:11 AM, Shuah Khan wrote: > On Mon, Dec 7, 2015 at 2:51 PM, Andy Lutomirski wrote: >> There aren't any yet, but there might be a few some day. > > Andy, > > Hmm. I would think get_maintainer script should have included > linux-api and as well as my email for this patch.

Re: [PATCH 02/12] selftests/x86: Add check_initial_reg_state

2015-12-09 Thread Andy Lutomirski
On Wed, Dec 9, 2015 at 11:09 AM, Borislav Petkov wrote: > On Wed, Dec 09, 2015 at 10:56:36AM -0800, Andy Lutomirski wrote: >> That was intentional -- everything lines up with the top-level "asm(". >> checkpatch is confused because it understands "\t " at the front of a >> line but not just a space

[PATCH v6 0/4] gicv2m: acpi: Add ACPI support for GICv2m MSI

2015-12-09 Thread Suravee Suthikulpanit
This patch series has been forked from the following patch series since it no longer depends on the rest of the patches. [PATCH v4 00/10] ACPI GIC Self-probing, GICv2m and GICv3 support https://lkml.org/lkml/2015/7/29/234 It has been ported to use the newly introduced device fwnode_handle fo

[PATCH v6 4/4] gicv2m: acpi: Introducing GICv2m ACPI support

2015-12-09 Thread Suravee Suthikulpanit
This patch introduces gicv2m_acpi_init(), which uses information in MADT GIC MSI frames structure to initialize GICv2m driver. It also exposes gicv2m_init() function, which simplifies callers to a single GICv2m init function. Signed-off-by: Suravee Suthikulpanit Signed-off-by: Hanjun Guo --- dr

[PATCH v6 1/4] acpi: pci: Setup MSI domain for ACPI based pci devices

2015-12-09 Thread Suravee Suthikulpanit
This patch introduces pci_msi_register_fwnode_provider() for irqchip to register a callback, to provide a way to determine appropriate MSI domain for a pci device. It also introduces pci_host_bridge_acpi_msi_domain(), which returns the MSI domain of the specified PCI host bridge with DOMAIN_BUS_PC

[PATCH v6 3/4] gicv2m: Refactor to prepare for ACPI support

2015-12-09 Thread Suravee Suthikulpanit
This patch replaces the struct device_node with struct fwnode_handle since this structure is common between DT and ACPI. It also refactors gicv2m_init_one() to prepare for ACPI support. The only functional change is removing the node name from pr_info. Reviewed-by: Marc Zyngier Signed-off-by: Su

<    1   2   3   4   5   6   7   8   9   10   >