[PATCH v5 1/2] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-21 Thread Douglas Anderson
Users of usleep_range() expect that it will _never_ return in less time than the minimum passed parameter. However, nothing in any of the code ensures this. Specifically: usleep_range() => do_usleep_range() => schedule_hrtimeout_range() => schedule_hrtimeout_range_clock() just ends up calling

[PATCH v5 1/2] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-21 Thread Douglas Anderson
Users of usleep_range() expect that it will _never_ return in less time than the minimum passed parameter. However, nothing in any of the code ensures this. Specifically: usleep_range() => do_usleep_range() => schedule_hrtimeout_range() => schedule_hrtimeout_range_clock() just ends up calling

[PATCH] flow_dissector: avoid uninitialized variable access

2016-10-21 Thread Arnd Bergmann
gcc warns about an uninitialized pointer dereference in the vlan priority handling: net/core/flow_dissector.c: In function '__skb_flow_dissect': net/core/flow_dissector.c:281:61: error: 'vlan' may be used uninitialized in this function [-Werror=maybe-uninitialized] >From all I can tell, this

[PATCH] flow_dissector: avoid uninitialized variable access

2016-10-21 Thread Arnd Bergmann
gcc warns about an uninitialized pointer dereference in the vlan priority handling: net/core/flow_dissector.c: In function '__skb_flow_dissect': net/core/flow_dissector.c:281:61: error: 'vlan' may be used uninitialized in this function [-Werror=maybe-uninitialized] >From all I can tell, this

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Neil Armstrong
On 10/21/2016 05:54 PM, Andrew Lunn wrote: > On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote: >> The Meson GXL dwmac Glue Layer also provides switching between an external >> PHY >> and an internal RMII 10/100 PHY. >> Add a way to setup the correct PHY switching from a device tree

[PATCH v5 2/2] timers: Fix documentation for schedule_timeout() and similar

2016-10-21 Thread Douglas Anderson
The documentatoin for schedule_timeout(), schedule_hrtimeout(), and schedule_hrtimeout_range() all claimed that the routines couldn't possibly return early if the task state was TASK_UNINTERRUPTIBLE. This was simply not true since anyone calling wake_up_process() would cause those routines to

Re: [PATCH net] net: remove MTU limits on a few ether_setup callers

2016-10-21 Thread Andrew Lunn
> I'm all for fine-tuning things to be more correct, but my initial > approach here was to restore the ranges that were previously there, > and DSA had no upper or lower bounds checks. I'm not at all familiar > with DSA either way. Please just restore the old behaviour. We can consider changes

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Neil Armstrong
On 10/21/2016 05:54 PM, Andrew Lunn wrote: > On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote: >> The Meson GXL dwmac Glue Layer also provides switching between an external >> PHY >> and an internal RMII 10/100 PHY. >> Add a way to setup the correct PHY switching from a device tree

[PATCH v5 2/2] timers: Fix documentation for schedule_timeout() and similar

2016-10-21 Thread Douglas Anderson
The documentatoin for schedule_timeout(), schedule_hrtimeout(), and schedule_hrtimeout_range() all claimed that the routines couldn't possibly return early if the task state was TASK_UNINTERRUPTIBLE. This was simply not true since anyone calling wake_up_process() would cause those routines to

Re: [PATCH net] net: remove MTU limits on a few ether_setup callers

2016-10-21 Thread Andrew Lunn
> I'm all for fine-tuning things to be more correct, but my initial > approach here was to restore the ranges that were previously there, > and DSA had no upper or lower bounds checks. I'm not at all familiar > with DSA either way. Please just restore the old behaviour. We can consider changes

[PATCH] leds: netxbig: fix module autoload for OF registration

2016-10-21 Thread Javier Martinez Canillas
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo

[PATCH] leds: netxbig: fix module autoload for OF registration

2016-10-21 Thread Javier Martinez Canillas
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo

Re: console issue since 3.6, console=ttyS1 hangs

2016-10-21 Thread Nathan Zimmer
It didn't seem to make a difference as far as output. Did I miss a config option? or something else? [0.00] Linux version 3.6.0 (root@r1i2n0) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #3 SMP Mon Oct 17 20:43:34 EDT 2016 [0.00] Command line:

Re: console issue since 3.6, console=ttyS1 hangs

2016-10-21 Thread Nathan Zimmer
It didn't seem to make a difference as far as output. Did I miss a config option? or something else? [0.00] Linux version 3.6.0 (root@r1i2n0) (gcc version 4.3.4 [gcc-4_3-branch revision 152973] (SUSE Linux) ) #3 SMP Mon Oct 17 20:43:34 EDT 2016 [0.00] Command line:

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Andrew Lunn
On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote: > The Meson GXL dwmac Glue Layer also provides switching between an external PHY > and an internal RMII 10/100 PHY. > Add a way to setup the correct PHY switching from a device tree attribute. Humm, actually. Maybe PHY_IS_INTERNAL in

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Andrew Lunn
On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote: > The Meson GXL dwmac Glue Layer also provides switching between an external PHY > and an internal RMII 10/100 PHY. > Add a way to setup the correct PHY switching from a device tree attribute. Humm, actually. Maybe PHY_IS_INTERNAL in

Re: [PATCH 0/6] ARM: sun5i: chip: Misc improvements

2016-10-21 Thread Maxime Ripard
On Fri, Oct 21, 2016 at 11:02:23AM +0800, Chen-Yu Tsai wrote: > On Mon, Oct 17, 2016 at 7:48 PM, Maxime Ripard > wrote: > > Hi, > > > > This is a bunch of patches I gathered for the CHIP, that enables a few > > things, like the WiFi regulators (and its associated

Re: [PATCH 0/6] ARM: sun5i: chip: Misc improvements

2016-10-21 Thread Maxime Ripard
On Fri, Oct 21, 2016 at 11:02:23AM +0800, Chen-Yu Tsai wrote: > On Mon, Oct 17, 2016 at 7:48 PM, Maxime Ripard > wrote: > > Hi, > > > > This is a bunch of patches I gathered for the CHIP, that enables a few > > things, like the WiFi regulators (and its associated power sequence), a few > >

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-10-21 Thread Philipp Zabel
Am Freitag, den 21.10.2016, 17:45 +0200 schrieb Philipp Zabel: > A. Hi Geert, > > Am Freitag, den 21.10.2016, 15:17 +0200 schrieb Geert Uytterhoeven: > > Hi Philipp, Mike, Stephen, Simon, Magnus, > > (see questions *** below!) > > > > Currently the R-Car Clock Pulse Generator

Re: [PATCH net] net: remove MTU limits on a few ether_setup callers

2016-10-21 Thread Jarod Wilson
On Fri, Oct 21, 2016 at 10:44:41AM +0200, Andrew Lunn wrote: > On Thu, Oct 20, 2016 at 08:42:46PM -0700, Florian Fainelli wrote: > > Le 20/10/2016 à 20:25, Jarod Wilson a écrit : > > > These few drivers call ether_setup(), but have no ndo_change_mtu, and thus > > > were overlooked for changes to

Re: [PATCH v4 01/23] reset: Add renesas,rst DT bindings

2016-10-21 Thread Philipp Zabel
Am Freitag, den 21.10.2016, 15:17 +0200 schrieb Geert Uytterhoeven: > Add DT bindings for the Renesas R-Car Reset Controller (R-Car Gen1 > RESET/WDT and R-Car Gen2/Gen3 and RZ/G RST). > > As the features provided by the hardware module differ a lot across the > various SoC families and members,

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-10-21 Thread Philipp Zabel
Am Freitag, den 21.10.2016, 17:45 +0200 schrieb Philipp Zabel: > A. Hi Geert, > > Am Freitag, den 21.10.2016, 15:17 +0200 schrieb Geert Uytterhoeven: > > Hi Philipp, Mike, Stephen, Simon, Magnus, > > (see questions *** below!) > > > > Currently the R-Car Clock Pulse Generator

Re: [PATCH net] net: remove MTU limits on a few ether_setup callers

2016-10-21 Thread Jarod Wilson
On Fri, Oct 21, 2016 at 10:44:41AM +0200, Andrew Lunn wrote: > On Thu, Oct 20, 2016 at 08:42:46PM -0700, Florian Fainelli wrote: > > Le 20/10/2016 à 20:25, Jarod Wilson a écrit : > > > These few drivers call ether_setup(), but have no ndo_change_mtu, and thus > > > were overlooked for changes to

Re: [PATCH v4 01/23] reset: Add renesas,rst DT bindings

2016-10-21 Thread Philipp Zabel
Am Freitag, den 21.10.2016, 15:17 +0200 schrieb Geert Uytterhoeven: > Add DT bindings for the Renesas R-Car Reset Controller (R-Car Gen1 > RESET/WDT and R-Car Gen2/Gen3 and RZ/G RST). > > As the features provided by the hardware module differ a lot across the > various SoC families and members,

[PATCH] clk: fix link error for rcar-gen2

2016-10-21 Thread Arnd Bergmann
The addition of one more rcar-gen2 based SoC caused a build error (again) in my randconfig builds: arch/arm/mach-shmobile/setup-rcar-gen2.o: In function `rcar_gen2_timer_init': setup-rcar-gen2.c:(.init.text+0x200): undefined reference to `rcar_gen2_clocks_init' I think this has happened twice

Re: [PATCH 2/2] sched: do not call workqueue sleep hook if task is already dead

2016-10-21 Thread Oleg Nesterov
On 10/20, Andy Lutomirski wrote: > > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c > > @@ -3380,8 +3380,22 @@ static void __sched notrace __schedule(bool preempt) > > * If a worker went to sleep, notify and ask > > workqueue > > *

[PATCH] clk: fix link error for rcar-gen2

2016-10-21 Thread Arnd Bergmann
The addition of one more rcar-gen2 based SoC caused a build error (again) in my randconfig builds: arch/arm/mach-shmobile/setup-rcar-gen2.o: In function `rcar_gen2_timer_init': setup-rcar-gen2.c:(.init.text+0x200): undefined reference to `rcar_gen2_clocks_init' I think this has happened twice

Re: [PATCH 2/2] sched: do not call workqueue sleep hook if task is already dead

2016-10-21 Thread Oleg Nesterov
On 10/20, Andy Lutomirski wrote: > > > --- a/kernel/sched/core.c > > +++ b/kernel/sched/core.c > > @@ -3380,8 +3380,22 @@ static void __sched notrace __schedule(bool preempt) > > * If a worker went to sleep, notify and ask > > workqueue > > *

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Andrew Lunn
On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote: > The Meson GXL dwmac Glue Layer also provides switching between an external PHY > and an internal RMII 10/100 PHY. > Add a way to setup the correct PHY switching from a device tree attribute. Hi Neil Can this be made automatic?

Re: [PATCH 4.8 00/57] 4.8.4-stable review

2016-10-21 Thread Shuah Khan
On 10/21/2016 03:17 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.8.4 release. > There are 57 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

Re: [PATCH] Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-21 Thread Theodore Ts'o
On Fri, Oct 21, 2016 at 11:00:22AM +0200, SF Markus Elfring wrote: > > > It is harder to see how the arguments fit into the strings > > and it is harder to see where the strings end and the arguments begin. > > Is it really so difficult to interpret the suggested construction > of a single (and

Re: [RFC PATCH 08/13] dwmac-meson8b: add support for phy selection

2016-10-21 Thread Andrew Lunn
On Fri, Oct 21, 2016 at 04:40:33PM +0200, Neil Armstrong wrote: > The Meson GXL dwmac Glue Layer also provides switching between an external PHY > and an internal RMII 10/100 PHY. > Add a way to setup the correct PHY switching from a device tree attribute. Hi Neil Can this be made automatic?

Re: [PATCH 4.8 00/57] 4.8.4-stable review

2016-10-21 Thread Shuah Khan
On 10/21/2016 03:17 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.8.4 release. > There are 57 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

Re: [PATCH] Hexagon-setup: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-21 Thread Theodore Ts'o
On Fri, Oct 21, 2016 at 11:00:22AM +0200, SF Markus Elfring wrote: > > > It is harder to see how the arguments fit into the strings > > and it is harder to see where the strings end and the arguments begin. > > Is it really so difficult to interpret the suggested construction > of a single (and

Re: [PATCH 01/12] Documentation/HOWTO: Mark subsection in rst format

2016-10-21 Thread Mauro Carvalho Chehab
Em Sat, 22 Oct 2016 00:19:46 +0900 SeongJae Park escreveu: > Subsections in HOWTO is not marked in rst format. This commit specifies > them in rst format. > > Signed-off-by: SeongJae Park > --- > Documentation/HOWTO | 15 ++- > 1 file

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-10-21 Thread Philipp Zabel
A. Hi Geert, Am Freitag, den 21.10.2016, 15:17 +0200 schrieb Geert Uytterhoeven: > Hi Philipp, Mike, Stephen, Simon, Magnus, > (see questions *** below!) > > Currently the R-Car Clock Pulse Generator (CPG) drivers obtains the > state of the mode pins either by a call from the

Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread Eric Dumazet
On Fri, 2016-10-21 at 11:03 -0400, David Miller wrote: > If this is changing default behavior we should approach this the other > way around. > > Keep behaving the way we do, user asks for new behavior with the attribute. SGTM

Re: [PATCH 4.7 00/45] 4.7.10-stable review

2016-10-21 Thread Shuah Khan
On 10/21/2016 03:17 AM, Greg Kroah-Hartman wrote: > > NOTE, this will be the last 4.7.y kernel to be released. After this > one, the 4.7.y series is end-of-life. You should be moving to the 4.8.y > kernel series at this point in time. > >

Re: [PATCH 01/12] Documentation/HOWTO: Mark subsection in rst format

2016-10-21 Thread Mauro Carvalho Chehab
Em Sat, 22 Oct 2016 00:19:46 +0900 SeongJae Park escreveu: > Subsections in HOWTO is not marked in rst format. This commit specifies > them in rst format. > > Signed-off-by: SeongJae Park > --- > Documentation/HOWTO | 15 ++- > 1 file changed, 10 insertions(+), 5 deletions(-)

Re: [PATCH v4 00/23] soc: renesas: Add R-Car RST driver for obtaining mode pin state

2016-10-21 Thread Philipp Zabel
A. Hi Geert, Am Freitag, den 21.10.2016, 15:17 +0200 schrieb Geert Uytterhoeven: > Hi Philipp, Mike, Stephen, Simon, Magnus, > (see questions *** below!) > > Currently the R-Car Clock Pulse Generator (CPG) drivers obtains the > state of the mode pins either by a call from the

Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread Eric Dumazet
On Fri, 2016-10-21 at 11:03 -0400, David Miller wrote: > If this is changing default behavior we should approach this the other > way around. > > Keep behaving the way we do, user asks for new behavior with the attribute. SGTM

Re: [PATCH 4.7 00/45] 4.7.10-stable review

2016-10-21 Thread Shuah Khan
On 10/21/2016 03:17 AM, Greg Kroah-Hartman wrote: > > NOTE, this will be the last 4.7.y kernel to be released. After this > one, the 4.7.y series is end-of-life. You should be moving to the 4.8.y > kernel series at this point in time. > >

Re: [PATCH] PCI: layerscape: Fix kernel panic on accessing NULL pointer

2016-10-21 Thread Bjorn Helgaas
On Mon, Oct 17, 2016 at 04:44:06PM -0500, Li Yang wrote: > Commit fefe6733e added reference to the pcie->drvdata before it is > initialized which causes a kernel panic. Fix the problem by > initializing the pcie->drvdata earlier before it is used. > > Reported-by: Stuart Yoder

Re: [PATCH] PCI: layerscape: Fix kernel panic on accessing NULL pointer

2016-10-21 Thread Bjorn Helgaas
On Mon, Oct 17, 2016 at 04:44:06PM -0500, Li Yang wrote: > Commit fefe6733e added reference to the pcie->drvdata before it is > initialized which causes a kernel panic. Fix the problem by > initializing the pcie->drvdata earlier before it is used. > > Reported-by: Stuart Yoder > Signed-off-by:

Re: [PATCH] char/tpm: Check return code of wait_for_tpm_stat

2016-10-21 Thread Jarkko Sakkinen
On Wed, Oct 12, 2016 at 03:16:06PM +0300, Jarkko Sakkinen wrote: > On Tue, Oct 11, 2016 at 08:01:09PM +0200, Peter Huewe wrote: > > > > > > Hi > > Am 11. Oktober 2016 19:13:13 MESZ, schrieb Jason Gunthorpe > > : > > >On Tue, Oct 11, 2016 at 03:01:01PM +0300,

Re: [PATCH] char/tpm: Check return code of wait_for_tpm_stat

2016-10-21 Thread Jarkko Sakkinen
On Wed, Oct 12, 2016 at 03:16:06PM +0300, Jarkko Sakkinen wrote: > On Tue, Oct 11, 2016 at 08:01:09PM +0200, Peter Huewe wrote: > > > > > > Hi > > Am 11. Oktober 2016 19:13:13 MESZ, schrieb Jason Gunthorpe > > : > > >On Tue, Oct 11, 2016 at 03:01:01PM +0300, Jarkko Sakkinen wrote: > > >> From:

[PATCH] usb: xhci: Workaround for erratum-A010129

2016-10-21 Thread Sriram Dash
For the USB3.0 controller, USB 2.0 reset not driven while port is in Resume state. So, do not program the USB 2.0 reset (PORTSC[PR]=1) while in Resume state. Signed-off-by: Rajat Srivastava Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat

Re: [PATCH 4.4 00/25] 4.4.27-stable review

2016-10-21 Thread Shuah Khan
On 10/21/2016 03:15 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.27 release. > There are 25 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

[PATCH] usb: xhci: Workaround for erratum-A010129

2016-10-21 Thread Sriram Dash
For the USB3.0 controller, USB 2.0 reset not driven while port is in Resume state. So, do not program the USB 2.0 reset (PORTSC[PR]=1) while in Resume state. Signed-off-by: Rajat Srivastava Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- drivers/usb/host/xhci-hub.c | 28

Re: [PATCH 4.4 00/25] 4.4.27-stable review

2016-10-21 Thread Shuah Khan
On 10/21/2016 03:15 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.27 release. > There are 25 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

Re: [PATCH v5 4/4] drm/fence: add out-fences support

2016-10-21 Thread Brian Starkey
Hi, Sorry, I hit another couple of bugs that originated from my hastebin patch - see below. On Thu, Oct 20, 2016 at 12:50:05PM -0200, Gustavo Padovan wrote: From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that

Re: [PATCH v5 4/4] drm/fence: add out-fences support

2016-10-21 Thread Brian Starkey
Hi, Sorry, I hit another couple of bugs that originated from my hastebin patch - see below. On Thu, Oct 20, 2016 at 12:50:05PM -0200, Gustavo Padovan wrote: From: Gustavo Padovan Support DRM out-fences by creating a sync_file with a fence for each CRTC that sets the OUT_FENCE_PTR property.

[PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-21 Thread Arnd Bergmann
The blkdev_report_zones produces a harmless warning when -Wmaybe-uninitialized is set, after gcc gets a little confused about the multiple 'goto' here: block/blk-zoned.c: In function 'blkdev_report_zones': block/blk-zoned.c:188:13: error: 'nz' may be used uninitialized in this function

[PATCH] block: zoned: fix harmless maybe-uninitialized warning

2016-10-21 Thread Arnd Bergmann
The blkdev_report_zones produces a harmless warning when -Wmaybe-uninitialized is set, after gcc gets a little confused about the multiple 'goto' here: block/blk-zoned.c: In function 'blkdev_report_zones': block/blk-zoned.c:188:13: error: 'nz' may be used uninitialized in this function

Re: 4.9-rc1 boot regression, ambiguous bisect result

2016-10-21 Thread Matt Fleming
On Thu, 20 Oct, at 12:37:16PM, Dan Williams wrote: > > I am able to build a kernel and boot the platform with the following > set of reverts: > > Revert "x86/efi: Round EFI memmap reservations to EFI_PAGE_SIZE" > Revert "x86/efi-bgrt: Use efi_mem_reserve() to avoid copying image

Re: 4.9-rc1 boot regression, ambiguous bisect result

2016-10-21 Thread Matt Fleming
On Thu, 20 Oct, at 12:37:16PM, Dan Williams wrote: > > I am able to build a kernel and boot the platform with the following > set of reverts: > > Revert "x86/efi: Round EFI memmap reservations to EFI_PAGE_SIZE" > Revert "x86/efi-bgrt: Use efi_mem_reserve() to avoid copying image

Re: [PATCH V2 0/8] PM / OPP: Multiple regulator support

2016-10-21 Thread Viresh Kumar
On 21 October 2016 at 19:09, Rafael J. Wysocki wrote: > On Thu, Oct 20, 2016 at 10:44 AM, Viresh Kumar > wrote: >> Hi, >> >> Some platforms (like TI) have complex DVFS configuration for CPU >> devices, where multiple regulators are required to be

Re: [PATCH V2 0/8] PM / OPP: Multiple regulator support

2016-10-21 Thread Viresh Kumar
On 21 October 2016 at 19:09, Rafael J. Wysocki wrote: > On Thu, Oct 20, 2016 at 10:44 AM, Viresh Kumar > wrote: >> Hi, >> >> Some platforms (like TI) have complex DVFS configuration for CPU >> devices, where multiple regulators are required to be configured to >> change DVFS state of the

[PATCH] sd: fix uninitialized variable access in error handling

2016-10-21 Thread Arnd Bergmann
If sd_zbc_report_zones fails, the check for 'zone_blocks == 0' later in the function accesses uninitialized data: drivers/scsi/sd_zbc.c: In function ‘sd_zbc_read_zones’: drivers/scsi/sd_zbc.c:520:7: error: ‘zone_blocks’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

[PATCH] sd: fix uninitialized variable access in error handling

2016-10-21 Thread Arnd Bergmann
If sd_zbc_report_zones fails, the check for 'zone_blocks == 0' later in the function accesses uninitialized data: drivers/scsi/sd_zbc.c: In function ‘sd_zbc_read_zones’: drivers/scsi/sd_zbc.c:520:7: error: ‘zone_blocks’ may be used uninitialized in this function [-Werror=maybe-uninitialized]

[PATCH]: Staging: Greybus: Fix trailing */ in block comments

2016-10-21 Thread Rahul Krishnan
This patch fixes the following checkpath.pl warning WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Rahul Krishnan --- drivers/staging/greybus/log.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git

[PATCH]: Staging: Greybus: Fix trailing */ in block comments

2016-10-21 Thread Rahul Krishnan
This patch fixes the following checkpath.pl warning WARNING: Block comments use a trailing */ on a separate line Signed-off-by: Rahul Krishnan --- drivers/staging/greybus/log.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/staging/greybus/log.c

Re: [RFC] ARM: dts: exynos: Remove exynos4415.dtsi

2016-10-21 Thread Javier Martinez Canillas
On 10/21/2016 11:33 AM, Sylwester Nawrocki wrote: > On 10/21/2016 04:15 PM, Krzysztof Kozlowski wrote: >> There are no boards in mainline using exynos4415.dtsi. This is DTS >> was not tested for long. I am also not aware of any popular out-of-tree >> boards using this (except consumer devices

Re: [RFC] ARM: dts: exynos: Remove exynos4415.dtsi

2016-10-21 Thread Javier Martinez Canillas
On 10/21/2016 11:33 AM, Sylwester Nawrocki wrote: > On 10/21/2016 04:15 PM, Krzysztof Kozlowski wrote: >> There are no boards in mainline using exynos4415.dtsi. This is DTS >> was not tested for long. I am also not aware of any popular out-of-tree >> boards using this (except consumer devices

PROBLEM: OHCI watchdog timeouts inside VirtualBox, probably due to timer wheel rework

2016-10-21 Thread Michael Thayer
Hello Alan (LKML on CC), Contacting you about this on Thomas Gleixner's (also on CC) suggestion. The short summary is that when Linux 4.8.0 (also tested with a few later kernels) is run on a VirtualBox virtual machine with USB enabled, OHCI fails with the log messages "frame counter not

PROBLEM: OHCI watchdog timeouts inside VirtualBox, probably due to timer wheel rework

2016-10-21 Thread Michael Thayer
Hello Alan (LKML on CC), Contacting you about this on Thomas Gleixner's (also on CC) suggestion. The short summary is that when Linux 4.8.0 (also tested with a few later kernels) is run on a VirtualBox virtual machine with USB enabled, OHCI fails with the log messages "frame counter not

Re: [PATCH] dt-bindings: video: exynos7-decon: Remove obsolete samsung,power-domain property

2016-10-21 Thread Javier Martinez Canillas
On 10/21/2016 11:36 AM, Sylwester Nawrocki wrote: > On 10/21/2016 04:05 PM, Krzysztof Kozlowski wrote: >> The samsung,power-domain property is obsolete since commit 0da658704136 >> ("ARM: dts: convert to generic power domain bindings for exynos DT"). >> Replace it with generic one. >> >>

Re: [PATCH] dt-bindings: video: exynos7-decon: Remove obsolete samsung,power-domain property

2016-10-21 Thread Javier Martinez Canillas
On 10/21/2016 11:36 AM, Sylwester Nawrocki wrote: > On 10/21/2016 04:05 PM, Krzysztof Kozlowski wrote: >> The samsung,power-domain property is obsolete since commit 0da658704136 >> ("ARM: dts: convert to generic power domain bindings for exynos DT"). >> Replace it with generic one. >> >>

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread David Miller
From: Vitaly Kuznetsov Date: Fri, 21 Oct 2016 17:17:18 +0200 > David Miller writes: > >> From: Vitaly Kuznetsov >> Date: Fri, 21 Oct 2016 13:15:53 +0200 >> >>> David Miller writes: >>> From: Vitaly

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread David Miller
From: Vitaly Kuznetsov Date: Fri, 21 Oct 2016 17:17:18 +0200 > David Miller writes: > >> From: Vitaly Kuznetsov >> Date: Fri, 21 Oct 2016 13:15:53 +0200 >> >>> David Miller writes: >>> From: Vitaly Kuznetsov Date: Thu, 20 Oct 2016 10:51:04 +0200 > Stephen Hemminger

[PATCH 2/2] drm/i915/gvt: fix compilation

2016-10-21 Thread Arnd Bergmann
Two functions in the newly added gvt render code are obviously broken, as they reference a variable without initialization and don't reference another variable at all: drivers/gpu/drm/i915/gvt/render.c: In function ‘intel_gvt_load_render_mmio’: drivers/gpu/drm/i915/gvt/render.c:148:13: error:

Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread Eric Dumazet
On Fri, 2016-10-21 at 10:55 -0400, David Miller wrote: > From: Eric Dumazet > Date: Fri, 21 Oct 2016 04:36:57 -0700 > > > I guess we'll need to not pull this patch in our kernels. > > Eric, quite frankly, this whole "we won't pull this patch into Google > kernels" threat

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread David Miller
From: Vitaly Kuznetsov Date: Wed, 19 Oct 2016 15:53:01 +0200 > Fix in commit 880988348270 ("hv_netvsc: set nvdev link after populating > chn_table") turns out to be incomplete. A crash in > netvsc_get_next_send_section() is observed on mtu change when the device > is under

Re: [PATCH net-next] hv_netvsc: fix a race between netvsc_send() and netvsc_init_buf()

2016-10-21 Thread David Miller
From: Vitaly Kuznetsov Date: Wed, 19 Oct 2016 15:53:01 +0200 > Fix in commit 880988348270 ("hv_netvsc: set nvdev link after populating > chn_table") turns out to be incomplete. A crash in > netvsc_get_next_send_section() is observed on mtu change when the device > is under load. The race I

[PATCH 2/2] drm/i915/gvt: fix compilation

2016-10-21 Thread Arnd Bergmann
Two functions in the newly added gvt render code are obviously broken, as they reference a variable without initialization and don't reference another variable at all: drivers/gpu/drm/i915/gvt/render.c: In function ‘intel_gvt_load_render_mmio’: drivers/gpu/drm/i915/gvt/render.c:148:13: error:

Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump

2016-10-21 Thread Eric Dumazet
On Fri, 2016-10-21 at 10:55 -0400, David Miller wrote: > From: Eric Dumazet > Date: Fri, 21 Oct 2016 04:36:57 -0700 > > > I guess we'll need to not pull this patch in our kernels. > > Eric, quite frankly, this whole "we won't pull this patch into Google > kernels" threat is getting _REALLY_

[PATCH 1/2] drm/i915/gvt: add ACPI and 64BIT dependencies

2016-10-21 Thread Arnd Bergmann
The newly added gvt code produces lots of serious warnings and errors when either built on 32-bit x86, or built with ACPI disabled, e.g. drivers/gpu/drm/i915/gvt/gtt.c: In function ‘read_pte64’: drivers/gpu/drm/i915/gvt/gtt.c:277:2: error: left shift count >= width of type [-Werror]

[PATCH 1/2] drm/i915/gvt: add ACPI and 64BIT dependencies

2016-10-21 Thread Arnd Bergmann
The newly added gvt code produces lots of serious warnings and errors when either built on 32-bit x86, or built with ACPI disabled, e.g. drivers/gpu/drm/i915/gvt/gtt.c: In function ‘read_pte64’: drivers/gpu/drm/i915/gvt/gtt.c:277:2: error: left shift count >= width of type [-Werror]

[PATCH] PM / Suspend: Fix missing KERN_CONT for suspend message

2016-10-21 Thread Jon Hunter
Commit 4bcc595ccd80 ("printk: reinstate KERN_CONT for printing continuation lines") exposed a missing KERN_CONT from one of the messages shown on entering suspend. With v4.9-rc1, the 'done.' shown after syncing the filesystems no longer appears as a continuation but a new message with its own

Re: 4.9 regression/bisection - 761ed4a94582 tty: serial_core: convert uart_close to use tty_port_close

2016-10-21 Thread Mike Galbraith
On Fri, 2016-10-21 at 10:00 -0500, Rob Herring wrote: > On Fri, Oct 21, 2016 at 9:40 AM, Mike Galbraith > wrote: > > On Fri, 2016-10-21 at 08:51 -0500, Rob Herring wrote: > > > On Fri, Oct 21, 2016 at 7:45 AM, Mike Galbraith > > > wrote: > > >

[PATCH] PM / Suspend: Fix missing KERN_CONT for suspend message

2016-10-21 Thread Jon Hunter
Commit 4bcc595ccd80 ("printk: reinstate KERN_CONT for printing continuation lines") exposed a missing KERN_CONT from one of the messages shown on entering suspend. With v4.9-rc1, the 'done.' shown after syncing the filesystems no longer appears as a continuation but a new message with its own

Re: 4.9 regression/bisection - 761ed4a94582 tty: serial_core: convert uart_close to use tty_port_close

2016-10-21 Thread Mike Galbraith
On Fri, 2016-10-21 at 10:00 -0500, Rob Herring wrote: > On Fri, Oct 21, 2016 at 9:40 AM, Mike Galbraith > wrote: > > On Fri, 2016-10-21 at 08:51 -0500, Rob Herring wrote: > > > On Fri, Oct 21, 2016 at 7:45 AM, Mike Galbraith > > > wrote: > > > > Greetings, > > > > > > > > My old DL980 G7 is

[PATCH 06/12] ko_KR/HOWTO: Add cross-references to other documents

2016-10-21 Thread SeongJae Park
This commit applies commit 609d99a3b72e ("Documentation/HOWTO: add cross-references to other documents") to Korean translation. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH 05/12] ko_KR/HOWTO: Convert to ReST notation

2016-10-21 Thread SeongJae Park
This commit applies commit 022e04d6f555 ("Documentation/HOWTO: convert to ReST notation") to Korean translation and fix a trivial ReST build failure problem. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 58 +++ 1

[PATCH 01/12] Documentation/HOWTO: Mark subsection in rst format

2016-10-21 Thread SeongJae Park
Subsections in HOWTO is not marked in rst format. This commit specifies them in rst format. Signed-off-by: SeongJae Park --- Documentation/HOWTO | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/HOWTO b/Documentation/HOWTO

[GIT PULL] PCI fixes for v4.9

2016-10-21 Thread Bjorn Helgaas
This includes: - Fix for a Layerscape driver issue that causes a use-before-set crash - Maintainer update for the Synopsis prototyping device driver The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the

[PATCH 09/12] ko_KR/HOWTO: Adjust external link references

2016-10-21 Thread SeongJae Park
This commit appplies commit f1eebe92c265 ("Documentation/HOWTO: adjust external link references") to Korean translation. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 39 ++- 1 file changed, 18 insertions(+), 21

[PATCH 02/12] ko_KR/HOWTO: Fix a typo: s/Linux Torvalds/Linus Torvalds

2016-10-21 Thread SeongJae Park
Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ko_KR/HOWTO b/Documentation/ko_KR/HOWTO index 9a3e65924d54..f14ccada9465 100644 --- a/Documentation/ko_KR/HOWTO +++

[PATCH 04/12] ko_KR/HOWTO: Update obsolete link to bugzilla faq

2016-10-21 Thread SeongJae Park
Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ko_KR/HOWTO b/Documentation/ko_KR/HOWTO index 0b13d0a78446..4048297e48aa 100644 --- a/Documentation/ko_KR/HOWTO +++

[PATCH 06/12] ko_KR/HOWTO: Add cross-references to other documents

2016-10-21 Thread SeongJae Park
This commit applies commit 609d99a3b72e ("Documentation/HOWTO: add cross-references to other documents") to Korean translation. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

[PATCH 05/12] ko_KR/HOWTO: Convert to ReST notation

2016-10-21 Thread SeongJae Park
This commit applies commit 022e04d6f555 ("Documentation/HOWTO: convert to ReST notation") to Korean translation and fix a trivial ReST build failure problem. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 58 +++ 1 file changed, 53

[PATCH 01/12] Documentation/HOWTO: Mark subsection in rst format

2016-10-21 Thread SeongJae Park
Subsections in HOWTO is not marked in rst format. This commit specifies them in rst format. Signed-off-by: SeongJae Park --- Documentation/HOWTO | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Documentation/HOWTO b/Documentation/HOWTO index

[GIT PULL] PCI fixes for v4.9

2016-10-21 Thread Bjorn Helgaas
This includes: - Fix for a Layerscape driver issue that causes a use-before-set crash - Maintainer update for the Synopsis prototyping device driver The following changes since commit 1001354ca34179f3db924eb66672442a173147dc: Linux 4.9-rc1 (2016-10-15 12:17:50 -0700) are available in the

[PATCH 09/12] ko_KR/HOWTO: Adjust external link references

2016-10-21 Thread SeongJae Park
This commit appplies commit f1eebe92c265 ("Documentation/HOWTO: adjust external link references") to Korean translation. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 39 ++- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git

[PATCH 02/12] ko_KR/HOWTO: Fix a typo: s/Linux Torvalds/Linus Torvalds

2016-10-21 Thread SeongJae Park
Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ko_KR/HOWTO b/Documentation/ko_KR/HOWTO index 9a3e65924d54..f14ccada9465 100644 --- a/Documentation/ko_KR/HOWTO +++ b/Documentation/ko_KR/HOWTO @@ -231,7

[PATCH 04/12] ko_KR/HOWTO: Update obsolete link to bugzilla faq

2016-10-21 Thread SeongJae Park
Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/ko_KR/HOWTO b/Documentation/ko_KR/HOWTO index 0b13d0a78446..4048297e48aa 100644 --- a/Documentation/ko_KR/HOWTO +++ b/Documentation/ko_KR/HOWTO @@ -325,7

[PATCH 12/12] ko_KR/HOWTO: Mark subsection in rst format

2016-10-21 Thread SeongJae Park
Subsections in HOWTO is not marked in rst format. This commit specifies them in rst format. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/ko_KR/HOWTO

[PATCH 03/12] ko_KR/HOWTO: Fix subtitles style

2016-10-21 Thread SeongJae Park
This commit fixes subtitles style. It aligns them with their header, adjust blank lines between them properly. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 17 - 1 file changed, 8 insertions(+), 9 deletions(-) diff --git

[PATCH 11/12] ko_KR/HOWTO: Add whitespace between URL and text

2016-10-21 Thread SeongJae Park
Because few sentences has no whitespace between URL and text, document fails to parse the URL from it. This commit adds whitespace between them to fix the problem. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH 12/12] ko_KR/HOWTO: Mark subsection in rst format

2016-10-21 Thread SeongJae Park
Subsections in HOWTO is not marked in rst format. This commit specifies them in rst format. Signed-off-by: SeongJae Park --- Documentation/ko_KR/HOWTO | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Documentation/ko_KR/HOWTO b/Documentation/ko_KR/HOWTO index

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