Re: [PATCH] kernel/hung_task.c: allow to set period separately from timeout

2018-06-09 Thread Tetsuo Handa
On 2018/06/09 6:58, Andrew Morton wrote: > On Fri, 8 Jun 2018 15:30:43 +0200 Dmitry Vyukov wrote: > >> Currently task hung checking period is equal to timeout, >> as the result hung is detected anywhere between timeout and 2*timeout. >> This is fine for most interactive environments, but this hu

Re: [PATCH v3 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-09 Thread Boris Brezillon
On Fri, 1 Jun 2018 00:16:35 +0200 Stefan Agner wrote: > + > +static int tegra_nand_chips_init(struct device *dev, > + struct tegra_nand_controller *ctrl) > +{ > + struct device_node *np = dev->of_node; > + struct device_node *np_nand; > + int nchips = of_

Re: [RFC v4 0/1] i-search functionality for mconf

2018-06-09 Thread Dirk Gouders
Sam Ravnborg writes: > Hi Dirk. > > On Fri, Jun 08, 2018 at 08:46:05PM +0200, Dirk Gouders wrote: >> Hello, >> >> this version is a prototype of the idea, Sam suggested -- I hope I >> undestood it correctly. >> >> This is a remarkable change to mconf in it's behavior; mainly it now >> different

Re: [RFC PATCH v3 03/10] PM: Introduce an Energy Model management framework

2018-06-09 Thread Javi Merino
On Thu, Jun 07, 2018 at 06:04:19PM +0200, Juri Lelli wrote: > On 07/06/18 16:19, Quentin Perret wrote: > > Hi Juri, > > > > On Thursday 07 Jun 2018 at 16:44:09 (+0200), Juri Lelli wrote: > > > On 21/05/18 15:24, Quentin Perret wrote: > > [...] > > > > > +static void fd_update_cs_table(struct em_

Re: [RFC PATCH v3 03/10] PM: Introduce an Energy Model management framework

2018-06-09 Thread Javi Merino
On Fri, Jun 08, 2018 at 04:47:39PM +0100, Quentin Perret wrote: > Hi Javi, > > On Friday 08 Jun 2018 at 14:39:42 (+0100), Javi Merino wrote: > > On Wed, Jun 06, 2018 at 05:26:47PM +0100, Quentin Perret wrote: > > > On Wednesday 06 Jun 2018 at 16:29:50 (+0100), Quentin Perret wrote: > > > > On Wedn

Re: [PATCH v7 15/17] mm: Generalize shrink_slab() calls in shrink_node()

2018-06-09 Thread Kirill Tkhai
Hi, Shakeel. On 08.06.2018 22:21, Shakeel Butt wrote: > On Tue, May 22, 2018 at 3:09 AM Kirill Tkhai wrote: >> >> From: Vladimir Davydov >> >> The patch makes shrink_slab() be called for root_mem_cgroup >> in the same way as it's called for the rest of cgroups. >> This simplifies the logic and i

Re: [PATCH] Fixed coding style problems.

2018-06-09 Thread chris
Thanks for the feedback! I will retry the submission. Regards, Chris

[PATCH] staging: comedi: shortened a long line

2018-06-09 Thread Chris Opperman
Shortened a long line to improve readability in drivers/staging/comedi/drivers.c Signed-off-by: Chris Opperman --- drivers/staging/comedi/drivers.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c index 9d7

Re: [PATCH] staging: comedi: shortened a long line

2018-06-09 Thread Joe Perches
On Sat, 2018-06-09 at 12:54 +0200, Chris Opperman wrote: > Shortened a long line to improve readability in > drivers/staging/comedi/drivers.c Hi Chris. Look at the whole function and see if you can find a better way to write it instead of merely doing what a brainless tool like checkpatch asks.

4.16.14: kernel tried to execute NX-protected page [after USB device went to charging state]

2018-06-09 Thread Udo van den Heuvel
Hello, My Holus GPSport 245 was used to download a gpx track. Afterwards I turned the device off while it was attached to USB so it could charge. Later I found these messages you can find below. Is this an actual bug? # dmesg [213812.789603] amdgpu: [powerplay] pp_dpm_get_temperature was not

Do You Need A Helping Hand?

2018-06-09 Thread Mavis Wanczyk
I am Mavis Wanczyk i know you may not know me but am the latest largest US Powerball lottery winner of $758.7m just of recent, am currently helping out people in need of financial assistance, i know it's hard to believe anything on the internet, so if you don't need my help please do

Re: [PATCH v3] mm: fix race between kmem_cache destroy, create and deactivate

2018-06-09 Thread Vladimir Davydov
On Tue, May 29, 2018 at 05:12:04PM -0700, Shakeel Butt wrote: > The memcg kmem cache creation and deactivation (SLUB only) is > asynchronous. If a root kmem cache is destroyed whose memcg cache is in > the process of creation or deactivation, the kernel may crash. > > Example of one such crash: >

Re: [PATCH 1/2] platform/x86: asus-wmi: Call new led hw_changed API on kbd brightness change

2018-06-09 Thread Hans de Goede
Hi, On 09-06-18 02:33, Darren Hart wrote: On Wed, Jun 06, 2018 at 05:32:52PM +0200, Hans de Goede wrote: If we are adding hwdb entries anyway to control the userspace interpretation of the TOGGLE key, then we could also add the new CYCLE key and explicitly re-map it to TOGGLE. That requires sl

Re: [PATCH] staging: comedi: shortened a long line

2018-06-09 Thread chris
Hi Joe, Thank you for the feedback! I understand better now and will resend the patch. Regards, Chris Opperman

Re: [PATCH] kbuild: fix endless syncconfig in case arch Makefile sets CROSS_COMPILE

2018-06-09 Thread Masahiro Yamada
2018-06-08 17:20 GMT+09:00 Geert Uytterhoeven : > Hi Yamada-san, > > On Fri, Jun 8, 2018 at 2:21 AM, Masahiro Yamada > wrote: >> Commit 21c54b774744 ("kconfig: show compiler version text in the top >> comment") was intended to detect the compiler upgrade, but Geert >> reported a breakage on the m6

Dear Talented

2018-06-09 Thread Lisa Clement
Dear Talented, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

Re: [PATCH] mm/madvise: allow MADV_DONTNEED to free memory that is MLOCK_ONFAULT

2018-06-09 Thread kbuild test robot
/commits/Jason-Baron/mm-madvise-allow-MADV_DONTNEED-to-free-memory-that-is-MLOCK_ONFAULT/20180609-185549 base: git://git.cmpxchg.org/linux-mmotm.git master config: alpha-allmodconfig (attached as .config) compiler: alpha-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https

Re: 4.16.14: kernel tried to execute NX-protected page [after USB device went to charging state]

2018-06-09 Thread Udo van den Heuvel
On 09-06-18 11:50, Udo van den Heuvel wrote: My Holux GPSport 245 was used to download a gpx track. Afterwards I turned the device off while it was attached to USB so it could charge. Later I found these messages you can find below. Actually I removed the charging Holux GPSport from the USB ca

Re: building in 32bit chroot on x86_64 host broken

2018-06-09 Thread Masahiro Yamada
2018-06-08 4:49 GMT+09:00 Thomas Backlund : > > Den 2018-06-07 kl. 22:40, skrev Linus Torvalds: >> >> On Thu, Jun 7, 2018 at 12:35 PM Thomas Backlund wrote: >>> >>> I can work around it for now (or keep the revert in our kernel builds >>> for now) until it gets properly fixed... >> >> So rather th

Re: [PATCH v3 4/6] mtd: rawnand: add NVIDIA Tegra NAND Flash controller driver

2018-06-09 Thread Dmitry Osipenko
On Saturday, 9 June 2018 00:51:01 MSK Stefan Agner wrote: > On 01.06.2018 11:20, Dmitry Osipenko wrote: > > On 01.06.2018 01:16, Stefan Agner wrote: > >> Add support for the NAND flash controller found on NVIDIA > >> Tegra 2 SoCs. This implementation does not make use of the > >> command queue feat

Re: building in 32bit chroot on x86_64 host broken

2018-06-09 Thread Masahiro Yamada
2018-06-08 18:12 GMT+09:00 Michal Kubecek : > On Thu, Jun 07, 2018 at 12:40:30PM -0700, Linus Torvalds wrote: >> On Thu, Jun 7, 2018 at 12:35 PM Thomas Backlund wrote: >> > >> > I can work around it for now (or keep the revert in our kernel builds >> > for now) until it gets properly fixed... >> >

[PATCH] staging: comedi: Improved readability of function comedi_nsamples_left.

2018-06-09 Thread Chris Opperman
Signed-off-by: Chris Opperman --- drivers/staging/comedi/drivers.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/drivers/staging/comedi/drivers.c b/drivers/staging/comedi/drivers.c index 9d73347..3207ae2 100644 --- a/drivers/staging/comedi/dri

Re: [RESEND v2] dmaengine: pxa: add a default requestor policy

2018-06-09 Thread Robert Jarzmik
Robert Jarzmik writes: > As what former drcmr -1 value meant, add a this as a default to each > channel, ie. that by default no requestor line is used. > > This is specifically used for network drivers smc91x and smc911x, and > needed for their port to slave maps. > > Cc: Arnd Bergmann > Signed-

[PATCH] staging: mt7621-pci: Fix coding style error

2018-06-09 Thread Abdun Nihaal
This patch removes space after * to fix the following checkpatch error: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Abdun Nihaal --- drivers/staging/mt7621-pci/pci-mt7621.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/mt7621-pci/pci-m

anmodning forretning

2018-06-09 Thread Chin Sang
god dag anmodning forretning Jeg bruger dette medie til at informere dig om transaktionen for overførsel af $ 21.500.000 (Twenty-en million fem hundrede tusinde dollars) i min bank i Kina til dig som modtager. Det vil være 100% sikker, er den finansielle officer af den afdøde kunde. For god

kernel BUG at drivers/scsi/scsi_error.c:197! - git 4.17.0-x64-08428-g7d3bf613e99a

2018-06-09 Thread Andrew Randrianasulu
Hello, everyone! I was trying to test not-yet-completed 4.18-rc1, and run into this bug, probably due to HAL (yes, I still use this) trying to poll empty DVD-RW drive: [ 35.040167] [ cut here ] [ 35.040171] kernel BUG at drivers/scsi/scsi_error.c:197! [ 35.040196]

[PATCH 01/10] ARM: OMAP1: ams-delta: drop GPIO lookup table for serio device

2018-06-09 Thread Janusz Krzysztofik
GPIO lookup table for ams-delta-serio device was introduced by commit 0486738928bf ("ARM: OMAP1: ams-delta: add GPIO lookup tables"). Unfortunately, a follow up patch "Input: ams_delta_serio: use GPIO lookup table" was not accepted by subystem maintainer who requested conversion of the driver to a

[PATCH 02/10] Input: ams_delta_serio: convert to platform driver

2018-06-09 Thread Janusz Krzysztofik
Convert the driver to an "ams-delta-serio" platform driver. For it to be used with Amstrad Delta, register an "ams-delta-serio" platform device from the board init file. Signed-off-by: Janusz Krzysztofik --- arch/arm/mach-omap1/board-ams-delta.c | 6 ++ drivers/input/serio/ams_delta_serio.

[PATCH 03/10] Input: ams_delta_serio: use private structure

2018-06-09 Thread Janusz Krzysztofik
Introduce a driver private structure and allocate it on device probe. For now, use it instead of a static variable for storing a pointer to serio structure. Subsequent patches will populate it with more members as needed. Signed-off-by: Janusz Krzysztofik # Conflicts: # drivers/input/seri

[PATCH 08/10] ARM: OMAP1: Get rid of

2018-06-09 Thread Janusz Krzysztofik
Split the header file into two parts and move them to directories where they belong. Information on internal structure of FIQ buffer is moved to , to be used by ams-delta-serio driver. Other information used by ams-delta board init file and FIQ code is made local to mach-omap1 root directory. Si

[PATCH 06/10] ARM: OMAP1: ams-delta FIQ: don't use static GPIO numbers

2018-06-09 Thread Janusz Krzysztofik
With introduction of GPIO lookup tables to Amstrad Delta board init file, semantics of symbols representing OMAP GPIO pins defined in changed from statically assigned global GPIO numbers to hardware pin numbers local to OMAP "gpio-0-15" chip. This patch modifies deferred FIQ interrupt handler so

[PATCH 04/10] Input: ams_delta_serio: Replace power GPIO with regulator

2018-06-09 Thread Janusz Krzysztofik
Modify the driver so it no longer requests and manipulates the "keybrd_pwr" GPIO pin but a "vcc" regulator supply instead. For this to work with Amstrad Delta, define a regulator over the "keybrd_pwr" GPIO pin with the "vcc" supply for ams-delta-serio device and register it from the board file. B

[PATCH 10/10] Input: ams_delta_serio: Get FIQ buffer from platform_data

2018-06-09 Thread Janusz Krzysztofik
Instead of exporting the FIQ buffer symbol to be used in ams-delta-serio driver, pass it to the driver as platform_data. Signed-off-by: Janusz Krzysztofik --- arch/arm/mach-omap1/ams-delta-fiq.c | 6 +++--- arch/arm/mach-omap1/board-ams-delta.c | 8 drivers/input/serio/a

[PATCH 09/10] Input: ams_delta_serio: use IRQ resource

2018-06-09 Thread Janusz Krzysztofik
The driver still obtains IRQ number from a hardcoded GPIO. Use IRQ resource instead. For this to work on Amstrad Delta, add the IRQ resource to ams-delta-serio platform device structure. Obtain the IRQ number assigned to "keyboard_clk" GPIO pin from FIQ initialization routine. As a benefit, the

[PATCH 07/10] ARM: OMAP1: ams-delta FIQ: Keep serio input GPIOs requested

2018-06-09 Thread Janusz Krzysztofik
>From the very beginning, input GPIO pins of ams-delta serio port have been used by FIQ handler, not serio driver. Don't request those pins from the ams-delta-serio driver any longer, instead keep them requested and initialized by the FIQ initialization routine which already requests them and rele

[PATCH 05/10] ARM: OMAP1: ams-delta: Hog "keybrd_dataout" GPIO pin

2018-06-09 Thread Janusz Krzysztofik
"keybrd_dataout" GPIO pin used to be initialized by ams-delta-serio driver to a state safe for ams-delta-serio device function and not changed thereafter. As such, it may be assumed not under the driver control and responsibility for its initialization handed over to board init file. Introduce a

Re: [PATCH] staging: comedi: Improved readability of function comedi_nsamples_left.

2018-06-09 Thread Greg Kroah-Hartman
On Sat, Jun 09, 2018 at 04:23:21PM +0200, Chris Opperman wrote: > Signed-off-by: Chris Opperman > --- > drivers/staging/comedi/drivers.c | 29 ++--- > 1 file changed, 14 insertions(+), 15 deletions(-) I can not take patches without any changelog text at all :(

Re: [Bug 199965] New: Memory management: BUG in kernel_restart

2018-06-09 Thread Greg Kroah-Hartman
On Fri, Jun 08, 2018 at 03:15:08PM -0700, Andrew Morton wrote: > > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > On Thu, 07 Jun 2018 18:21:24 + bugzilla-dae...@bugzilla.kernel.org wrote: > > > https://bugzilla.kernel.org/show_bug.cgi

[tip:x86/urgent] x86/intel_rdt: Enable CMT and MBM on new Skylake stepping

2018-06-09 Thread tip-bot for Tony Luck
Commit-ID: 1d9f3e20a56d33e55748552aeec597f58542f92d Gitweb: https://git.kernel.org/tip/1d9f3e20a56d33e55748552aeec597f58542f92d Author: Tony Luck AuthorDate: Fri, 8 Jun 2018 09:07:32 -0700 Committer: Thomas Gleixner CommitDate: Sat, 9 Jun 2018 16:04:34 +0200 x86/intel_rdt: Enable CMT a

[GIT] IDE

2018-06-09 Thread David Miller
Please pull to get these IDE updates. Primarily IRQ disabling avoidance changes from Sebastian Andrzej Siewior. Thanks! The following changes since commit 5037be168f0e4ee910602935b1180291082d3aac: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux (2018-06

[GIT] Sparc

2018-06-09 Thread David Miller
There is a merge conflict here, just take the "HEAD" hunks and it will all work out. It's because I applied a signal code fix that was already merged and then other cleanups/changes happend on top. Other than that, this adds the privileged ADI driver from Tom Hromatka. Please pull, thanks a lo

Re: [PATCH] samples: mbochs: add DMA_SHARED_BUFFER dependency

2018-06-09 Thread Alex Williamson
On Wed, 30 May 2018 23:37:31 +0200 Arnd Bergmann wrote: > The new bochs vbe sample fails to link when DMA_SHARED_BUFFER is > disabled: > > ERROR: "dma_buf_export" [samples/vfio-mdev/mbochs.ko] undefined! > ERROR: "dma_buf_fd" [samples/vfio-mdev/mbochs.ko] undefined! > > This uses a 'select' sta

[PATCH 4.17 01/15] netfilter: nf_flow_table: attach dst to skbs

2018-06-09 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Jason A. Donenfeld commit 2a79fd3908acd88e6cb0e620c314d7b1fee56a02 upstream. Some drivers, such as vxlan and wireguard, use the skb's dst in order to determine things like PMTU. They therefore

[PATCH 4.17 10/15] sctp: not allow transport timeout value less than HZ/5 for hb_timer

2018-06-09 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 1d88ba1ebb2763aa86172cd7ca05dedbeccc0d35 ] syzbot reported a rcu_sched self-detected stall on CPU which is caused by too small value set on rto_min with SCTP_RTOINFO

[PATCH 4.17 08/15] net/packet: refine check for priv area size

2018-06-09 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit eb73190f4fbeedf762394e92d6a4ec9ace684c88 ] syzbot was able to trick af_packet again [1] Various commits tried to address the problem in the past, but failed to

[PATCH 4.17 06/15] netdev-FAQ: clarify DaveMs position for stable backports

2018-06-09 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 75d4e704fa8d2cf33ff295e5b441317603d7f9fd ] Per discussion with David at netconf 2018, let's clarify DaveM's position of handling stable backports in netdev-FAQ. Th

[PATCH 4.17 02/15] bnx2x: use the right constant

2018-06-09 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Julia Lawall [ Upstream commit dd612f18a49b63af8b3a5f572d999bdb197385bc ] Nearby code that also tests port suggests that the P0 constant should be used when port is zero. The semantic match t

[PATCH 4.17 09/15] rtnetlink: validate attributes in do_setlink()

2018-06-09 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 644c7eebbfd59e72982d11ec6cc7d39af12450ae ] It seems that rtnl_group_changelink() can call do_setlink while a prior call to validate_linkmsg(dev = NULL, ...) coul

[PATCH 4.17 04/15] ipv6: omit traffic class when calculating flow hash

2018-06-09 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kubecek [ Upstream commit fa1be7e01ea863e911349e30456706749518eeab ] Some of the code paths calculating flow hash for IPv6 use flowlabel member of struct flowi6 which, despite its name,

[PATCH 4.16 15/48] isdn: eicon: fix a missing-check bug

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Wenwen Wang [ Upstream commit 6009d1fe6ba3bb2dab55921da60465329cc1cd89 ] In divasmain.c, the function divas_write() firstly invokes the function diva_xdi_open_adapter() to open the adapter tha

[PATCH 4.16 13/48] ipv4: remove warning in ip_recv_error

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 730c54d59403658a62af6517338fa8d4922c1b28 ] A precondition check in ip_recv_error triggered on an otherwise benign race. Remove the warning. The warning trig

[PATCH 4.17 15/15] PCI: hv: Do not wait forever on a device that has disappeared

2018-06-09 Thread Greg Kroah-Hartman
4.17-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit c3635da2a336441253c33298b87b3042db100725 upstream. Before the guest finishes the device initialization, the device can be removed anytime by the host, and after that the host

[PATCH 4.16 07/48] cls_flower: Fix incorrect idr release when failing to modify rule

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Paul Blakey [ Upstream commit 8258d2da9f9f521dce7019e018360c28d116354e ] When we fail to modify a rule, we incorrectly release the idr handle of the unmodified old rule. Fix that by checking

[PATCH 4.16 08/48] dccp: dont free ccid2_hc_tx_sock struct in dccp_disconnect()

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kodanev [ Upstream commit 2677d20677314101293e6da0094ede7b5526d2b1 ] Syzbot reported the use-after-free in timer_is_static_object() [1]. This can happen because the structure for the r

[PATCH 4.16 05/48] be2net: Fix error detection logic for BE3

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Suresh Reddy [ Upstream commit d2c2725c2cdbcc108a191f50953d31c7b6556761 ] Check for 0xE00 (RECOVERABLE_ERR) along with ARMFW UE (0x0) in be_detect_error() to know whether the error is valid er

[PATCH 4.16 10/48] ip6mr: only set ip6mr_table from setsockopt when ip6mr_new_table succeeds

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca [ Upstream commit 848235edb5c93ed086700584c8ff64f6d7fc778d ] Currently, raw6_sk(sk)->ip6mr_table is set unconditionally during ip6_mroute_setsockopt(MRT6_TABLE). A subsequent a

[PATCH 4.16 02/48] mmap: relax file size limit for regular files

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit 423913ad4ae5b3e8fb8983f70969fb522261ba26 upstream. Commit be83bbf80682 ("mmap: introduce sane default mmap limits") was introduced to catch problems in various ad-hoc cha

[PATCH 4.16 26/48] packet: fix reserve calculation

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 9aad13b087ab0a588cd68259de618f100053360e ] Commit b84bbaf7a6c8 ("packet: in packet_snd start writing at link layer allocation") ensures that packet_snd alway

[PATCH 4.16 30/48] team: use netdev_features_t instead of u32

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 25ea66544bfd1d9df1b7e1502f8717e85fa1e6e6 ] This code was introduced in 2011 around the same time that we made netdev_features_t a u64 type. These days a u32 is

[PATCH 4.16 19/48] netdev-FAQ: clarify DaveMs position for stable backports

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 75d4e704fa8d2cf33ff295e5b441317603d7f9fd ] Per discussion with David at netconf 2018, let's clarify DaveM's position of handling stable backports in netdev-FAQ. Th

[PATCH 4.16 20/48] net: ethernet: davinci_emac: fix error handling in probe()

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 8005b09d99fac78e6f5fb9da30b5ae94840af03b ] The current error handling code has an issue where it does: if (priv->txchan) cpdma_chan_des

[PATCH 4.16 47/48] vhost_net: flush batched heads before trying to busy polling

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit f5a4941aa6d190e676065e8f4ed35999f52a01c3 ] After commit e2b3b35eb989 ("vhost_net: batch used ring update in rx"), we tend to batch updating used heads. But it does

[PATCH 4.16 24/48] net: phy: broadcom: Fix bcm_write_exp()

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 79fb218d97980d4fee9a64f4c8ff05289364ba25 ] On newer PHYs, we need to select the expansion register to write with setting bits [11:8] to 0xf. This was done co

[PATCH 4.16 41/48] virtio-net: correctly check num_buf during err path

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 850e088d5bbb42fd4def08d0a4035f2b7126 ] If we successfully linearize the packet, num_buf will be set to zero which may confuse error handling path which assumes

[PATCH 4.16 44/48] virtio-net: correctly redirect linearized packet

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 6890418bbb780f0ee9cf124055afa79777f1b4f1 ] After a linearized packet was redirected by XDP, we should not go for the err path which will try to pop buffers for the

[PATCH 4.14 08/41] bnx2x: use the right constant

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julia Lawall [ Upstream commit dd612f18a49b63af8b3a5f572d999bdb197385bc ] Nearby code that also tests port suggests that the P0 constant should be used when port is zero. The semantic match t

[PATCH 4.16 45/48] ip_tunnel: restore binding to ifaces with a large mtu

2018-06-09 Thread Greg Kroah-Hartman
4.16-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit 82612de1c98e610d194e34178bde3cca7dedce41 ] After commit f6cc9c054e77, the following conf is broken (note that the default loopback mtu is 65536, ie IP_MAX_MTU

[PATCH 4.14 22/41] net: phy: broadcom: Fix bcm_write_exp()

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 79fb218d97980d4fee9a64f4c8ff05289364ba25 ] On newer PHYs, we need to select the expansion register to write with setting bits [11:8] to 0xf. This was done co

[PATCH 4.14 00/41] 4.14.49-stable review

2018-06-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.49 release. There are 41 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Mon Jun 11 15:29:07 UTC 2018. Anything receiv

[PATCH 4.14 07/41] be2net: Fix error detection logic for BE3

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Suresh Reddy [ Upstream commit d2c2725c2cdbcc108a191f50953d31c7b6556761 ] Check for 0xE00 (RECOVERABLE_ERR) along with ARMFW UE (0x0) in be_detect_error() to know whether the error is valid er

[PATCH 4.14 03/41] mmap: introduce sane default mmap limits

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit be83bbf806822b1b89e0a0f23cd87cddc409e429 upstream. The internal VM "mmap()" interfaces are based on the mmap target doing everything using page indexes rather than byte o

[PATCH 4.14 26/41] sctp: not allow transport timeout value less than HZ/5 for hb_timer

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Xin Long [ Upstream commit 1d88ba1ebb2763aa86172cd7ca05dedbeccc0d35 ] syzbot reported a rcu_sched self-detected stall on CPU which is caused by too small value set on rto_min with SCTP_RTOINFO

[PATCH 4.14 28/41] vhost: synchronize IOTLB message with dev cleanup

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 1b15ad683ab42a203f98b67045b40720e99d0e9a ] DaeRyong Jeong reports a race between vhost_dev_cleanup() and vhost_process_iotlb_msg(): Thread interleaving: CPU0 (vho

[PATCH 4.14 14/41] ipv4: remove warning in ip_recv_error

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 730c54d59403658a62af6517338fa8d4922c1b28 ] A precondition check in ip_recv_error triggered on an otherwise benign race. Remove the warning. The warning trig

[PATCH 4.14 17/41] kcm: Fix use-after-free caused by clonned sockets

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kirill Tkhai [ Upstream commit eb7f54b90bd8f469834c5e86dcf72ebf9a629811 ] (resend for properly queueing in patchwork) kcm_clone() creates kernel socket, which does not take net counter. Thus,

[PATCH 4.14 19/41] net: ipv4: add missing RTA_TABLE to rtm_ipv4_policy

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Roopa Prabhu [ Upstream commit 2eabd764cb5512f1338d06ffc054c8bc9fbe9104 ] Signed-off-by: Roopa Prabhu Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- net/ipv4/fib_fron

[PATCH 4.14 31/41] net: phy: broadcom: Fix auxiliary control register reads

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli [ Upstream commit 733a969a7ed14fc5786bcc59c1bdda83c7ddb46e ] We are currently doing auxiliary control register reads with the shadow register value 0b111 (0x7) which incidenta

[PATCH 4.14 41/41] PCI: hv: Do not wait forever on a device that has disappeared

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dexuan Cui commit c3635da2a336441253c33298b87b3042db100725 upstream. Before the guest finishes the device initialization, the device can be removed anytime by the host, and after that the host

[PATCH 4.14 33/41] virtio-net: correctly transmit XDP buff after linearizing

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 5d458a13dd59d04b4d6658a6d5b94d42732b15ae ] We should not go for the error path after successfully transmitting a XDP buffer after linearizing. Since the error path

[PATCH 4.14 34/41] net/mlx4: Fix irq-unsafe spinlock usage

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein [ Upstream commit d546b67cda015fb92bfee93d5dc0ceadb91deaee ] spin_lock/unlock was used instead of spin_un/lock_irq in a procedure used in process space, on a spinlock which ca

[PATCH 4.14 36/41] virtio-net: correctly check num_buf during err path

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 850e088d5bbb42fd4def08d0a4035f2b7126 ] If we successfully linearize the packet, num_buf will be set to zero which may confuse error handling path which assumes

[PATCH 4.14 30/41] ipv6: sr: fix memory OOB access in seg6_do_srh_encap/inline

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Mathieu Xhonneux [ Upstream commit bbb40a0b75209734ff9286f3326171638c9f6569 ] seg6_do_srh_encap and seg6_do_srh_inline can possibly do an out-of-bounds access when adding the SRH to the packet

[PATCH 4.14 39/41] rtnetlink: validate attributes in do_setlink()

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 644c7eebbfd59e72982d11ec6cc7d39af12450ae ] It seems that rtnl_group_changelink() can call do_setlink while a prior call to validate_linkmsg(dev = NULL, ...) coul

[PATCH 4.14 38/41] virtio-net: fix leaking page for gso packet during mergeable XDP

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jason Wang [ Upstream commit 3d62b2a0db505bbf9ed0755f254e45d775f9807f ] We need to drop refcnt to xdp_page if we see a gso packet. Otherwise it will be leaked. Fixing this by moving the check

[PATCH 4.14 37/41] net/mlx5e: When RXFCS is set, add FCS data into checksum calculation

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eran Ben Elisha [ Upstream commit 902a545904c71d719ed144234d67df75f31db63b ] When RXFCS feature is enabled, the HW do not strip the FCS data, however it is not present in the checksum calculat

[PATCH 4.14 35/41] tun: Fix NULL pointer dereference in XDP redirect

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Toshiaki Makita [ Upstream commit 6547e387d7f52f2ba681a229de3c13e5b9e01ee1 ] Calling XDP redirection requires bh disabled. Softirq can call another XDP function and redirection functions, then

[PATCH 4.14 32/41] net-sysfs: Fix memory leak in XPS configuration

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Duyck [ Upstream commit 664088f8d68178809b848ca450f2797efb34e8e7 ] This patch reorders the error cases in showing the XPS configuration so that we hold off on memory allocation until

Re: general protection fault in __vfs_write

2018-06-09 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:3a979e8c07e3 Merge tag 'mailbox-v4.18' of git://git.linaro.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=11e0c81f80 kernel config: https://syzkaller.appspot.com/x/.config?x=412e35

[PATCH 4.14 40/41] cls_flower: Fix incorrect idr release when failing to modify rule

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Paul Blakey [ Upstream commit 8258d2da9f9f521dce7019e018360c28d116354e ] When we fail to modify a rule, we incorrectly release the idr handle of the unmodified old rule. Fix that by checking

[PATCH 4.14 21/41] net/packet: refine check for priv area size

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit eb73190f4fbeedf762394e92d6a4ec9ace684c88 ] syzbot was able to trick af_packet again [1] Various commits tried to address the problem in the past, but failed to

[PATCH 4.14 12/41] ip6_tunnel: remove magic mtu value 0xFFF8

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicolas Dichtel [ Upstream commit f7ff1fde9441b4fcc8ffb6e66e6e5a00d008937e ] I don't know where this value comes from (probably a copy and paste and paste and paste ...). Let's use standard va

[PATCH 4.14 20/41] net: metrics: add proper netlink validation

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 5b5e7a0de2bbf2a1afcd9f49e940010e9fb80d53 ] Before using nla_get_u32(), better make sure the attribute is of the proper size. Code recently was changed, but bug

[PATCH 4.14 18/41] netdev-FAQ: clarify DaveMs position for stable backports

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang [ Upstream commit 75d4e704fa8d2cf33ff295e5b441317603d7f9fd ] Per discussion with David at netconf 2018, let's clarify DaveM's position of handling stable backports in netdev-FAQ. Th

[PATCH 4.14 16/41] isdn: eicon: fix a missing-check bug

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Wenwen Wang [ Upstream commit 6009d1fe6ba3bb2dab55921da60465329cc1cd89 ] In divasmain.c, the function divas_write() firstly invokes the function diva_xdi_open_adapter() to open the adapter tha

[PATCH 4.14 15/41] ipv6: omit traffic class when calculating flow hash

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michal Kubecek [ Upstream commit fa1be7e01ea863e911349e30456706749518eeab ] Some of the code paths calculating flow hash for IPv6 use flowlabel member of struct flowi6 which, despite its name,

[PATCH 4.14 27/41] team: use netdev_features_t instead of u32

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit 25ea66544bfd1d9df1b7e1502f8717e85fa1e6e6 ] This code was introduced in 2011 around the same time that we made netdev_features_t a u64 type. These days a u32 is

[PATCH 4.14 29/41] vrf: check the original netdevice for generating redirect

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stephen Suryaputra [ Upstream commit 2f17becfbea5e9a0529b51da7345783e96e69516 ] Use the right device to determine if redirect should be sent especially when using vrf. Same as well as when sen

[PATCH 4.14 25/41] qed: Fix mask for physical address in ILT entry

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Shahed Shaikh [ Upstream commit fdd13dd350dda1826579eb5c333d76b14513b812 ] ILT entry requires 12 bit right shifted physical address. Existing mask for ILT entry of physical address i.e. ILT_EN

[PATCH 4.14 24/41] packet: fix reserve calculation

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn [ Upstream commit 9aad13b087ab0a588cd68259de618f100053360e ] Commit b84bbaf7a6c8 ("packet: in packet_snd start writing at link layer allocation") ensures that packet_snd alway

[PATCH 4.14 13/41] ipmr: properly check rhltable_init() return value

2018-06-09 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 66fb33254f45df4b049f487aff1cbde1ef919390 ] commit 8fb472c09b9d ("ipmr: improve hash scalability") added a call to rhltable_init() without checking its return val

  1   2   >