Re: [PATCH v2] net: mdio: switch to using gpiod_get_optional()

2019-09-15 Thread Dmitry Torokhov
On Sat, Sep 14, 2019 at 08:09:33PM +0300, Andy Shevchenko wrote: > On Fri, Sep 13, 2019 at 03:55:47PM -0700, Dmitry Torokhov wrote: > > The MDIO device reset line is optional and now that gpiod_get_optional() > > returns proper value when GPIO support is compiled out, there is no > > reason to use

Re: Re: [PATCH] sched: fix migration to invalid cpu in __set_cpus_allowed_ptr

2019-09-15 Thread shikemeng
On 13/09/2019 6:09,Valentin Schneider wrote: >> From 089dbf0216628ac6ae98742ab90725ca9c2bf201 Mon Sep 17 00:00:00 2001 >> From: >> Date: Tue, 10 Sep 2019 09:44:58 -0400 >> Subject: [PATCH] sched: fix migration to invalid cpu in >> __set_cpus_allowed_ptr >> >> reason: migration to invalid cpu

Re: [PATCH net-next v8 2/3] net: phy: add support for clause 37 auto-negotiation

2019-09-15 Thread Tao Ren
On 9/14/19 7:17 AM, Andrew Lunn wrote: > On Mon, Sep 09, 2019 at 01:49:06PM -0700, Tao Ren wrote: >> From: Heiner Kallweit >> >> This patch adds support for clause 37 1000Base-X auto-negotiation. >> >> Signed-off-by: Heiner Kallweit >> Signed-off-by: Tao Ren >> Tested-by: René van Dorst > >

Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed

2019-09-15 Thread Baruch Siach
Hi Andrew, On Tue, Sep 10 2019, Andrew Lunn wrote: > On Tue, Sep 10, 2019 at 06:55:07PM +0300, tinywrkb wrote: >> Cubox-i Solo/DualLite carrier board has 100Mb/s magnetics while the >> Atheros AR8035 PHY on the MicroSoM v1.3 CPU module is a 1GbE PHY device. >> >> Since commit 5502b218e001 ("net:

Re: Linux 5.3-rc8

2019-09-15 Thread Willy Tarreau
On Sat, Sep 14, 2019 at 10:05:21PM -0400, Theodore Y. Ts'o wrote: > I'd be willing to let it take at least 2 minutes, since that's slow > enough to be annoying. It's an eternity, and prevents a backup system from being turned on in time to replace a dead system. In fact the main problem with this

[PATCH v2 1/2] dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC

2019-09-15 Thread Talel Shenhar
Document Amazon's Annapurna Labs Memory Controller EDAC SoC binding. Signed-off-by: Talel Shenhar Reviewed-by: Rob Herring --- .../devicetree/bindings/edac/amazon,al-mc-edac.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644

[PATCH v2 0/2] Amazon's Annapurna Labs Memory Controller EDAC

2019-09-15 Thread Talel Shenhar
This series introduces support for Amazon's Annapurna Labs Memory Controller EDAC driver. Changes since v1: = - updated dt binding node name and added Rob Reviewed-By - removed auto selecting of this driver Talel Shenhar (2): dt-bindings: edac: al-mc-edac: Amazon's Annapurna

[PATCH v2 2/2] EDAC: al-mc-edac: Introduce Amazon's Annapurna Labs Memory Controller EDAC

2019-09-15 Thread Talel Shenhar
The Amazon's Annapurna Labs Memory Controller EDAC supports ECC capability for error detection and correction (Single bit error correction, Double detection). This driver introduces EDAC driver for that capability. Signed-off-by: Talel Shenhar --- MAINTAINERS | 7 +

Re: Linux 5.3-rc8

2019-09-15 Thread Lennart Poettering
On Sa, 14.09.19 09:30, Linus Torvalds (torva...@linux-foundation.org) wrote: > > => src/random-seed/random-seed.c: > > /* > > * Let's make this whole job asynchronous, i.e. let's make > > * ourselves a barrier for proper initialization of the > > * random pool. > > */

Re: Linux 5.3-rc8

2019-09-15 Thread Willy Tarreau
On Sat, Sep 14, 2019 at 10:05:21PM -0400, Theodore Y. Ts'o wrote: > You basically want to turn getrandom into /dev/urandom. And that's > how we got into the mess where 10% of the publically accessible ssh > keys could be guessed. Not exactly. This was an *API* issue that created this situation.

Re: Linux 5.3-rc8

2019-09-15 Thread Lennart Poettering
On Sa, 14.09.19 09:52, Linus Torvalds (torva...@linux-foundation.org) wrote: > On Sat, Sep 14, 2019 at 9:35 AM Alexander E. Patrakov > wrote: > > > > Let me repeat: not -EINVAL, please. Please find some other error code, > > so that the application could sensibly distinguish between this case >

[PATCH 0/9] added helper macros to remove duplicate code from probe functions of the platform drivers

2019-09-15 Thread Satendra Singh Thakur
1. For most of the platform drivers's probe include following steps -memory allocation for driver's private structure -getting io resources -io remapping resources -getting irq number -registering irq -setting driver's private data -getting clock -preparing and enabling clock 2. We have defined

Re: Linux 5.3-rc8

2019-09-15 Thread Willy Tarreau
On Sun, Sep 15, 2019 at 08:56:55AM +0200, Lennart Poettering wrote: > There's benefit in being able to wait until the pool is initialized > before we update the random seed stored on disk with a new one, And what exactly makes you think that waiting with arms crossed not doing anything else has

Re: Linux 5.3-rc8

2019-09-15 Thread Lennart Poettering
On So, 15.09.19 09:01, Willy Tarreau (w...@1wt.eu) wrote: > On Sun, Sep 15, 2019 at 08:56:55AM +0200, Lennart Poettering wrote: > > There's benefit in being able to wait until the pool is initialized > > before we update the random seed stored on disk with a new one, > > And what exactly makes

Re: Linux 5.3-rc8

2019-09-15 Thread Willy Tarreau
On Sun, Sep 15, 2019 at 09:05:41AM +0200, Lennart Poettering wrote: > On So, 15.09.19 09:01, Willy Tarreau (w...@1wt.eu) wrote: > > > On Sun, Sep 15, 2019 at 08:56:55AM +0200, Lennart Poettering wrote: > > > There's benefit in being able to wait until the pool is initialized > > > before we

[PATCH 1/9] probe/dma : added helper macros to remove redundant/duplicate code from probe functions of the dma controller drivers

2019-09-15 Thread Satendra Singh Thakur
1. For most of the drivers probe include following steps a) memory allocation for driver's private structure b) getting io resources c) io remapping resources d) getting clock e) getting irq number f) registering irq g) preparing and enabling clock i) setting platform's drv data 2. We have

Re: Linux 5.3-rc8

2019-09-15 Thread Ahmed S. Darwish
On Sun, Sep 15, 2019 at 08:51:42AM +0200, Lennart Poettering wrote: > On Sa, 14.09.19 09:30, Linus Torvalds (torva...@linux-foundation.org) wrote: [...] > > And please don't break /dev/urandom again. The above code is the ony > way I see how we can make /dev/urandom-derived swap encryption safe,

[PATCH 2/9] probe/dma/jz4740: removed redundant code from jz4740 dma controller's probe function

2019-09-15 Thread Satendra Singh Thakur
1. In order to remove duplicate code, following functions: devm_kzalloc platform_get_resource devm_ioremap_resource clk_get clk_prepare_enable platform_get_irq are replaced with a macro devm_platform_probe_helper_clk. 2. Added irq field in the struct jz4740_dma_dev. Removed platform_get_irq from

[PATCH 3/9] probe/dma/zx: removed redundant code from zx dma controller's probe function

2019-09-15 Thread Satendra Singh Thakur
1. In order to remove duplicate code, following functions: platform_get_resource devm_kzalloc devm_ioremap_resource devm_clk_get platform_get_irq devm_request_irq are replaced with a macro devm_platform_probe_helper_irq. 2. Removed dmam_pool_destroy from remove method as dmam_pool_create is

[PATCH 5/9] probe/dma/mtk-hs: removed redundant code from mediatek hs dma controller's probe function

2019-09-15 Thread Satendra Singh Thakur
1. In order to remove duplicate code, following functions: platform_get_resource devm_kzalloc devm_ioremap_resource devm_clk_get platform_get_irq are replaced with a macro devm_platform_probe_helper. 2. Fixed a memory leak when devm_request_irq fails, Called of_dma_controller_free in such case.

[PATCH 4/9] probe/dma/qcom-bam: removed redundant code from qcom bam dma controller's probe function

2019-09-15 Thread Satendra Singh Thakur
1. In order to remove duplicate code, following functions: platform_get_resource devm_kzalloc devm_ioremap_resource devm_clk_get platform_get_irq clk_prepare_enable are replaced with a macro devm_platform_probe_helper_clk. 2. Renamed variables regs and bamclk so that helper macro can be applied.

[PATCH 6/9] probe/dma/sun6i: removed redundant code from sun6i dma controller's probe function

2019-09-15 Thread Satendra Singh Thakur
1. In order to remove duplicate code, following functions: platform_get_resource devm_kzalloc devm_ioremap_resource devm_clk_get platform_get_irq are replaced with a macro devm_platform_probe_helper. 2. This patch depends on the file include/linux/probe-helper.h which is pushed in previous patch

[PATCH 7/9] probe/dma/sun4i: removed redundant code from sun4i dma controller's probe function

2019-09-15 Thread Satendra Singh Thakur
1. In order to remove duplicate code, following functions: platform_get_resource devm_kzalloc devm_ioremap_resource devm_clk_get platform_get_irq are replaced with a macro devm_platform_probe_helper. 2. This patch depends on the file include/linux/probe-helper.h which is pushed in previous patch

[PATCH 9/9] probe/dma/owl: removed redundant code from owl dma controller's probe function

2019-09-15 Thread Satendra Singh Thakur
1. In order to remove duplicate code, following functions: platform_get_resource devm_kzalloc devm_ioremap_resource devm_clk_get platform_get_irq are replaced with a macro devm_platform_probe_helper. 2. This patch depends on the file include/linux/probe-helper.h which is pushed in previous patch

[PATCH 8/9] probe/dma/axi: removed redundant code from axi dma controller's probe function

2019-09-15 Thread Satendra Singh Thakur
1. In order to remove duplicate code, following functions: platform_get_resource devm_kzalloc devm_ioremap_resource devm_clk_get platform_get_irq clk_prepare_enable are replaced with a macro devm_platform_probe_helper. 2. This patch depends on the file include/linux/probe-helper.h which is pushed

Re: [PATCH 0/2] pseries/hotplug: Change the default behaviour of cede_offline

2019-09-15 Thread Gautham R Shenoy
Hello Nathan, On Thu, Sep 12, 2019 at 10:39:45AM -0500, Nathan Lynch wrote: > "Gautham R. Shenoy" writes: > > The patchset also defines a new sysfs attribute > > "/sys/device/system/cpu/cede_offline_enabled" on PSeries Linux guests > > to allow userspace programs to change the state into which

Fwd: RRurgent

2019-09-15 Thread CR
-- Forwarded message -- From: Date: Sun, 15 Sep 2019 00:49:57 -0700 Subject: RRurgent To: TTHANKS.docx Description: MS-Word 2007 document

Re: pivot_root(".", ".") and the fchdir() dance

2019-09-15 Thread Michael Kerrisk (man-pages)
Hello Eric, On 9/11/19 1:06 AM, Eric W. Biederman wrote: > "Michael Kerrisk (man-pages)" writes: > >> Hello Christian, >> All: I plan to add the following text to the manual page: new_root and put_old may be the same directory. In particular, the following

[PATCH RFC v3] random: getrandom(2): optionally block when CRNG is uninitialized

2019-09-15 Thread Ahmed S. Darwish
Since Linux v3.17, getrandom() has been created as a new and more secure interface for pseudorandom data requests. It attempted to solve three problems as compared to /dev/urandom: 1. the need to access filesystem paths, which can fail, e.g. under a chroot 2. the need to open a file

Re: Re: Re: [PATCH] sched: fix migration to invalid cpu in __set_cpus_allowed_ptr

2019-09-15 Thread shikemeng
On 15/09/2019 6:13,shikemeng wrote: >>> From 089dbf0216628ac6ae98742ab90725ca9c2bf201 Mon Sep 17 00:00:00 2001 >>> From: >>> Date: Tue, 10 Sep 2019 09:44:58 -0400 >>> Subject: [PATCH] sched: fix migration to invalid cpu in >>> __set_cpus_allowed_ptr >>> >>> reason: migration to invalid cpu in

Re: [PATCH] igb/igc: Don't warn on fatal read failures when the device is removed

2019-09-15 Thread Feng Tang
On Fri, Aug 23, 2019 at 02:33:18AM +0800, Lyude Paul wrote: > Fatal read errors are worth warning about, unless of course the device > was just unplugged from the machine - something that's a rather normal > occurence when the igb/igc adapter is located on a Thunderbolt dock. So, > let's only

Re: Linux 5.3-rc8

2019-09-15 Thread Lennart Poettering
On So, 15.09.19 09:07, Willy Tarreau (w...@1wt.eu) wrote: > > That code can finish 5h after boot, it's entirely fine with this > > specific usecase. > > > > Again: we don't delay "the boot" for this. We just delay "writing a > > new seed to disk" for this. And if that is 5h later, then that's > >

Re: Linux 5.3-rc8

2019-09-15 Thread Lennart Poettering
On So, 15.09.19 09:27, Ahmed S. Darwish (darwish...@gmail.com) wrote: > On Sun, Sep 15, 2019 at 08:51:42AM +0200, Lennart Poettering wrote: > > On Sa, 14.09.19 09:30, Linus Torvalds (torva...@linux-foundation.org) wrote: > [...] > > > > And please don't break /dev/urandom again. The above code is

Re: [PATCH v6 1/5] dt-bindings: media: Add Allwinner A10 CSI binding

2019-09-15 Thread Chen-Yu Tsai
On Thu, Aug 15, 2019 at 4:34 PM Chen-Yu Tsai wrote: > > Hi, > > Sorry for chiming in so late. > > On Thu, Jul 11, 2019 at 8:15 PM Maxime Ripard > wrote: > > > > The Allwinner A10 CMOS Sensor Interface is a camera capture interface also > > used in later (A10s, A13, A20, R8 and GR8) SoCs. > > >

Re: [PATCH RFC v3] random: getrandom(2): optionally block when CRNG is uninitialized

2019-09-15 Thread Lennart Poettering
On So, 15.09.19 10:17, Ahmed S. Darwish (darwish...@gmail.com) wrote: > Thus, don't trust user-space on calling getrandom(2) from the right > context. Never block, by default, and just return data from the > urandom source if entropy is not yet available. This is an explicit > decision not to let

[PATCH] x86: intel_tlb_table: small cleanups

2019-09-15 Thread Sylvain 'ythier' Hitier
Remove the unneeded backslash at EOL: that's not a macro. And let's please checkpatch by aligning to open parenthesis. For 0x4f descriptor, remove " */" from the info field. For 0xc2 descriptor, sync the beginning of info to match the tlb_type. (The value of info fields could be made more

Re: [PATCH RFC v3] random: getrandom(2): optionally block when CRNG is uninitialized

2019-09-15 Thread Willy Tarreau
On Sun, Sep 15, 2019 at 10:59:07AM +0200, Lennart Poettering wrote: > We live in a world where people run HTTPS, SSH, and all that stuff in > the initrd already. It's where SSH host keys are generated, and plenty > session keys. It is exactly the type of crap that create this situation : making

Applied "ASoC: sdm845: remove unneeded semicolon" to the asoc tree

2019-09-15 Thread Mark Brown
The patch ASoC: sdm845: remove unneeded semicolon has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.4 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: [PATCH 5.2 36/37] vhost: block speculation of translated descriptors

2019-09-15 Thread Thomas Backlund
Den 14-09-2019 kl. 11:08, skrev Greg Kroah-Hartman: On Sat, Sep 14, 2019 at 09:15:48AM +0200, Stefan Lippers-Hollmann wrote: Hi On 2019-09-14, Greg Kroah-Hartman wrote: On Sat, Sep 14, 2019 at 02:54:11AM +0200, Stefan Lippers-Hollmann wrote: On 2019-09-13, Greg Kroah-Hartman wrote: From:

Re: [PATCH 2/2] staging: iio: accel: adis16240: move out of staging

2019-09-15 Thread Jonathan Cameron
On Thu, 12 Sep 2019 16:59:10 +0300 Alexandru Ardelean wrote: > On Wed, Sep 11, 2019 at 7:21 PM Rodrigo Carvalho > wrote: > > > > Hi, > > > > Em seg, 9 de set de 2019 às 02:53, Ardelean, Alexandru > > escreveu: > > > > > > On Sun, 2019-09-08 at 12:09 +0100, Jonathan Cameron wrote: > > > >

Re: [PATCH] staging: iio: ADIS16240: Remove unused include

2019-09-15 Thread Jonathan Cameron
On Sat, 14 Sep 2019 02:06:27 +0530 Rohit Sarkar wrote: > Bcc: > Subject: [PATCH] staging: iio: adis16240: remove unused include > Reply-To: Something odd happened here with patch formatting. I fixed it up and applied to the togreg branch of iio.git and pushed out as testing for the

Re: [PATCH RFC v3] random: getrandom(2): optionally block when CRNG is uninitialized

2019-09-15 Thread Ahmed S. Darwish
On Sun, Sep 15, 2019 at 11:30:57AM +0200, Willy Tarreau wrote: > On Sun, Sep 15, 2019 at 10:59:07AM +0200, Lennart Poettering wrote: > > We live in a world where people run HTTPS, SSH, and all that stuff in > > the initrd already. It's where SSH host keys are generated, and plenty > > session

Re: [PATCH] iio: adc: stm32-adc: fix a race when using several adcs with dma and irq

2019-09-15 Thread Jonathan Cameron
On Fri, 13 Sep 2019 15:21:30 +0200 Fabrice Gasnier wrote: > End of conversion may be handled by using IRQ or DMA. There may be a > race when two conversions complete at the same time on several ADCs. > EOC can be read as 'set' for several ADCs, with: > - an ADC configured to use IRQs. EOCIE bit

Re: [PATCH v2 4/4] iio: imu: adis: convert cs_change_delay to spi_delay struct

2019-09-15 Thread Jonathan Cameron
On Fri, 13 Sep 2019 14:55:49 +0300 Alexandru Ardelean wrote: > The ADIS library is one of the few users of the new `cs_change_delay` > parameter for an spi_transfer. > > The introduction of the `spi_delay` struct, requires that the users of of > `cs_change_delay` get an update. This change

Re: [RFC PATCH 00/15] Unify SPI delays into an `struct spi_delay`

2019-09-15 Thread Jonathan Cameron
On Fri, 13 Sep 2019 14:45:35 +0300 Alexandru Ardelean wrote: > Initially, I started this patchset thinking: "we need a new delay for > something-something" (in case someone is curios, we need a CS-hold-time for > the first transfer, because the CS wakes a chip from sleep-mode). > > Then I added

[PATCH] perf: add support for logging debug messages to file

2019-09-15 Thread Changbin Du
When in TUI mode, it is impossible to show all the debug messages to console. This make it hard to debug perf issues using debug messages. This patch adds support for logging debug messages to file to resolve this problem. The usage is: perf -debug verbose=2 --debug file=1 COMMAND And the path

Re: pull-request: wireless-drivers-next 2019-09-14

2019-09-15 Thread Kalle Valo
David Miller writes: > From: Kalle Valo > Date: Sat, 14 Sep 2019 13:14:40 +0300 > >> here's a pull request to net-next tree for v5.4, more info below. Please >> let me know if there are any problems. > > Pulled, thanks Kalle. Thanks for pulling this but I don't see it in net-next, maybe you

Re: [PATCH RFC v3] random: getrandom(2): optionally block when CRNG is uninitialized

2019-09-15 Thread Willy Tarreau
On Sun, Sep 15, 2019 at 12:02:01PM +0200, Ahmed S. Darwish wrote: > On Sun, Sep 15, 2019 at 11:30:57AM +0200, Willy Tarreau wrote: > > On Sun, Sep 15, 2019 at 10:59:07AM +0200, Lennart Poettering wrote: > > > We live in a world where people run HTTPS, SSH, and all that stuff in > > > the initrd

Re: [PATCH RFC v3] random: getrandom(2): optionally block when CRNG is uninitialized

2019-09-15 Thread Ahmed S. Darwish
On Sun, Sep 15, 2019 at 12:40:27PM +0200, Willy Tarreau wrote: > On Sun, Sep 15, 2019 at 12:02:01PM +0200, Ahmed S. Darwish wrote: > > On Sun, Sep 15, 2019 at 11:30:57AM +0200, Willy Tarreau wrote: > > > On Sun, Sep 15, 2019 at 10:59:07AM +0200, Lennart Poettering wrote: [...] > > > > If Linux

Re: [PATCH 3/3] spi: dw: Add compatible string for Renesas RZ/N1 SPI Controller

2019-09-15 Thread Andy Shevchenko
On Fri, Sep 13, 2019 at 3:14 PM Gareth Williams wrote: > > From: Phil Edworthy > > The Renesas RZ/N1 SPI Controller is based on the Synopsys DW SSI, but has > additional registers for software CS control and DMA. This patch does not > address the changes required for DMA support, it simply adds

[PATCH] media: rc: Use the correct style for SPDX License Identifier

2019-09-15 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in header file related to Remote Controller Driver for Linux. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script

Re: [PATCH v2] net: mdio: switch to using gpiod_get_optional()

2019-09-15 Thread Andy Shevchenko
On Sun, Sep 15, 2019 at 9:26 AM Dmitry Torokhov wrote: > On Sat, Sep 14, 2019 at 08:09:33PM +0300, Andy Shevchenko wrote: > > On Fri, Sep 13, 2019 at 03:55:47PM -0700, Dmitry Torokhov wrote: > > > + mdiodev->reset_gpio = gpiod_get_optional(>dev, > > > +

[PATCH] media: tuners: Use the correct style for SPDX License Identifier

2019-09-15 Thread Nishad Kamdar
This patch corrects the SPDX License Identifier style in header file related to media Drivers for Analog TV Tuners. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used) Changes made by using a script

Re: [PATCH RFC v3] random: getrandom(2): optionally block when CRNG is uninitialized

2019-09-15 Thread Willy Tarreau
On Sun, Sep 15, 2019 at 12:55:39PM +0200, Ahmed S. Darwish wrote: > On Sun, Sep 15, 2019 at 12:40:27PM +0200, Willy Tarreau wrote: > > On Sun, Sep 15, 2019 at 12:02:01PM +0200, Ahmed S. Darwish wrote: > > > On Sun, Sep 15, 2019 at 11:30:57AM +0200, Willy Tarreau wrote: > > > > On Sun, Sep 15, 2019

Re: [PATCH 3/3] spi: dw: Add compatible string for Renesas RZ/N1 SPI Controller

2019-09-15 Thread Mark Brown
On Sun, Sep 15, 2019 at 02:00:33PM +0300, Andy Shevchenko wrote: > On Fri, Sep 13, 2019 at 3:14 PM Gareth Williams > > The Renesas RZ/N1 SPI Controller is based on the Synopsys DW SSI, but has > > additional registers for software CS control and DMA. This patch does not > > address the changes

Re: pull-request: wireless-drivers-next 2019-09-14

2019-09-15 Thread David Miller
From: Kalle Valo Date: Sun, 15 Sep 2019 13:32:49 +0300 > David Miller writes: > >> From: Kalle Valo >> Date: Sat, 14 Sep 2019 13:14:40 +0300 >> >>> here's a pull request to net-next tree for v5.4, more info below. Please >>> let me know if there are any problems. >> >> Pulled, thanks Kalle. >

Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed

2019-09-15 Thread Russell King - ARM Linux admin
On Sun, Sep 15, 2019 at 09:30:00AM +0300, Baruch Siach wrote: > Hi Andrew, > > On Tue, Sep 10 2019, Andrew Lunn wrote: > > On Tue, Sep 10, 2019 at 06:55:07PM +0300, tinywrkb wrote: > >> Cubox-i Solo/DualLite carrier board has 100Mb/s magnetics while the > >> Atheros AR8035 PHY on the MicroSoM

[PATCH] ALSA: usb-audio: Add Hiby device family to quirks for native DSD support

2019-09-15 Thread ilya . pshonkin
From: Sudokamikaze This patch adds quirk VID ID for Hiby portable players family with native DSD playback support Signed-off-by: Sudokamikaze --- sound/usb/quirks.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 78858918cbc1..64a8d73972e3

Re: [PATCH v5 2/9] documention: leds: Add multicolor class documentation

2019-09-15 Thread Jacek Anaszewski
On 9/12/19 10:55 PM, Pavel Machek wrote: > Hi! > >> +Directory Layout Example >> + >> +root:/sys/class/leds/rgb:grouped_leds# ls -lR colors/ >> +colors/: >> +drwxr-xr-x2 root root 0 Jun 28 20:21 blue >> +drwxr-xr-x2 root root 0 Jun

Re: [PATCH] usbip: vhci_hcd indicate failed message

2019-09-15 Thread Greg KH
On Sun, Sep 15, 2019 at 11:43:32AM +0800, Mao Wenan wrote: > If the return value of vhci_init_attr_group and > sysfs_create_group is non-zero, which mean they failed > to init attr_group and create sysfs group, so it would > better add 'failed' message to indicate that. > > Fixes: 0775a9cbc694

Re: [PATCH v2 1/3] iio: adc: hx711: fix bug in sampling of data

2019-09-15 Thread Jonathan Cameron
On Mon, 9 Sep 2019 14:37:21 +0200 Andreas Klinger wrote: > Fix bug in sampling function hx711_cycle() when interrupt occures while > PD_SCK is high. If PD_SCK is high for at least 60 us power down mode of > the sensor is entered which in turn leads to a wrong measurement. > > Switch off

Re: [PATCH v2 1/3] iio: adc: hx711: fix bug in sampling of data

2019-09-15 Thread Jonathan Cameron
On Sun, 15 Sep 2019 13:53:26 +0100 Jonathan Cameron wrote: > On Mon, 9 Sep 2019 14:37:21 +0200 > Andreas Klinger wrote: > > > Fix bug in sampling function hx711_cycle() when interrupt occures while > > PD_SCK is high. If PD_SCK is high for at least 60 us power down mode of > > the sensor is

Re: [PATCH v2 3/3] iio: adc: hx711: remove unnecessary returns

2019-09-15 Thread Jonathan Cameron
On Mon, 9 Sep 2019 14:38:08 +0200 Andreas Klinger wrote: > Optimize use of return in hx711_set_gain_for_channel(). > > Signed-off-by: Andreas Klinger I agree with Joe on this. Minor reduction in code, but hurts readability so a no on this one. thanks, Jonathan > --- >

Re: [PATCH 4.9 00/14] 4.9.193-stable review

2019-09-15 Thread Greg Kroah-Hartman
On Sat, Sep 14, 2019 at 05:49:32PM -0700, Guenter Roeck wrote: > Hi Greg, > > On 9/14/19 1:31 AM, Greg Kroah-Hartman wrote: > > On Sat, Sep 14, 2019 at 01:28:39AM -0700, Guenter Roeck wrote: > > > On 9/13/19 6:06 AM, Greg Kroah-Hartman wrote: > > > > This is the start of the stable review cycle

Re: [PATCH v2 2/3] iio: adc: hx711: optimize performance in read cycle

2019-09-15 Thread Jonathan Cameron
On Mon, 9 Sep 2019 14:37:48 +0200 Andreas Klinger wrote: > Set gain in hx711_reset() to its default value after a reset cycle. This > omits one precautionary read cycle, because the read is performed in > hx711_set_gain_for_channel() anyway if gain has changed. > > Check for DOUT low and if its

Re: [PATCH v2 1/3] iio: accel: adxl372: Fix/remove limitation for FIFO samples

2019-09-15 Thread Jonathan Cameron
On Tue, 10 Sep 2019 17:43:32 +0300 Stefan Popa wrote: > Currently, the driver sets the FIFO_SAMPLES register with the number of > sample sets (maximum of 170 for 3 axis data, 256 for 2-axis and 512 for > single axis). However, the FIFO_SAMPLES register should store the number > of samples,

[GIT PULL] Kbuild updates for v5.4-rc1

2019-09-15 Thread Masahiro Yamada
Hi Linus, This is a Kbuild pull request for v5.4-rc1. I am sending this a bit earlier. Please pull it in when you open the merge window. Thanks. The following changes since commit d45331b00ddb179e291766617259261c112db872: Linux 5.3-rc4 (2019-08-11 13:26:41 -0700) are available in the Git

Re: [PATCH v2 2/3] iio: accel: adxl372: Fix push to buffers lost samples

2019-09-15 Thread Jonathan Cameron
On Tue, 10 Sep 2019 17:44:21 +0300 Stefan Popa wrote: > One in two sample sets was lost by multiplying fifo_set_size with > sizeof(u16). Also, the double number of available samples were pushed to > the iio buffers. > > Signed-off-by: Stefan Popa Applied with same fixes tag as previous and cc

Re: [PATCH] usbip: vhci_hcd indicate failed message

2019-09-15 Thread walter harms
Am 15.09.2019 05:43, schrieb Mao Wenan: > If the return value of vhci_init_attr_group and > sysfs_create_group is non-zero, which mean they failed > to init attr_group and create sysfs group, so it would > better add 'failed' message to indicate that. > > Fixes: 0775a9cbc694 ("usbip: vhci

Re: [PATCH v2 3/3] iio: accel: adxl372: Perform a reset at start up

2019-09-15 Thread Jonathan Cameron
On Tue, 10 Sep 2019 17:44:46 +0300 Stefan Popa wrote: > We need to perform a reset a start up to make sure that the chip is in a > consistent state. This reset also disables all the interrupts which > should only be enabled together with the iio buffer. Not doing this, was > sometimes causing

Re: [PATCH 4.19 000/190] 4.19.73-stable review

2019-09-15 Thread Greg Kroah-Hartman
On Fri, Sep 13, 2019 at 02:04:15PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.19.73 release. > There are 190 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

Re: [PATCH 5.2 00/37] 5.2.15-stable review

2019-09-15 Thread Greg Kroah-Hartman
On Fri, Sep 13, 2019 at 02:07:05PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.2.15 release. > There are 37 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

Re: [PATCH 4.14 00/21] 4.14.144-stable review

2019-09-15 Thread Greg Kroah-Hartman
On Fri, Sep 13, 2019 at 02:06:53PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.144 release. > There are 21 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

Re: [PATCH 4.9 00/14] 4.9.193-stable review

2019-09-15 Thread Greg Kroah-Hartman
On Fri, Sep 13, 2019 at 02:06:53PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.193 release. > There are 14 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

Re: [PATCH 5.2 36/37] vhost: block speculation of translated descriptors

2019-09-15 Thread Greg Kroah-Hartman
On Sun, Sep 15, 2019 at 12:34:57PM +0300, Thomas Backlund wrote: > Den 14-09-2019 kl. 11:08, skrev Greg Kroah-Hartman: > > On Sat, Sep 14, 2019 at 09:15:48AM +0200, Stefan Lippers-Hollmann wrote: > > > Hi > > > > > > On 2019-09-14, Greg Kroah-Hartman wrote: > > > > On Sat, Sep 14, 2019 at

Re: [RFC 1/4] counter: Simplify the count_read and count_write callbacks

2019-09-15 Thread Jonathan Cameron
On Sun, 15 Sep 2019 14:57:56 +0900 William Breathitt Gray wrote: > The count_read and count_write callbacks are simplified to pass val as > unsigned long rather than as an opaque data structure. The opaque > counter_count_read_value and counter_count_write_value structures, >

Re: [PATCH 4.4 0/9] 4.4.193-stable review

2019-09-15 Thread Greg Kroah-Hartman
On Sat, Sep 14, 2019 at 06:55:34AM -0700, Guenter Roeck wrote: > On 9/13/19 6:06 AM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.4.193 release. > > There are 9 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [HELP REQUESTED from the community] Was: Staging status of speakup

2019-09-15 Thread Greg Kroah-Hartman
On Sat, Sep 14, 2019 at 10:08:35PM +0100, Okash Khawaja wrote: > On Mon, Sep 9, 2019 at 3:55 AM Gregory Nowak wrote: > > > > On Sun, Sep 08, 2019 at 10:43:02AM +0100, Okash Khawaja wrote: > > > Sorry, I have only now got round to working on this. It's not complete > > > yet but I have assimilated

Re: [RFC 1/4] counter: Simplify the count_read and count_write callbacks

2019-09-15 Thread Jonathan Cameron
On Sun, 15 Sep 2019 14:39:17 +0100 Jonathan Cameron wrote: > On Sun, 15 Sep 2019 14:57:56 +0900 > William Breathitt Gray wrote: > > > The count_read and count_write callbacks are simplified to pass val as > > unsigned long rather than as an opaque data structure. The opaque > >

Re: printk meeting at LPC

2019-09-15 Thread John Ogness
On 2019-09-13, Daniel Vetter wrote: >> 2. A kernel thread will be created for each registered console, each >> responsible for being the sole printers to their respective >> consoles. With this, console printing is _fully_ decoupled from >> printk() callers. > > Is the plan to split the

Re: [PATCH] staging: exfat: add exfat filesystem code to

2019-09-15 Thread Greg KH
On Sat, Sep 14, 2019 at 10:39:51PM +0900, Park Ju Hyung wrote: > Hi. > > I just noticed that this exfat-staging drivers are based on the old > Samsung's 1.x exFAT drivers. > > I've been working to get the newer Samsung's driver(now named "sdFAT") > to fit better for general Linux users, and I

Re: [PATCH v2 1/4] task: Add a count of task rcu users

2019-09-15 Thread Paul E. McKenney
On Sat, Sep 14, 2019 at 07:33:34AM -0500, Eric W. Biederman wrote: > > Add a count of the number of rcu users (currently 1) of the task > struct so that we can later add the scheduler case and get rid of the > very subtle task_rcu_dereference, and just use rcu_dereference. > > As suggested by

Re: [PATCH] staging: bcm2835-audio: Fix draining behavior regression

2019-09-15 Thread Stefan Wahren
Hi Takashi, Am 14.09.19 um 17:24 schrieb Takashi Iwai: > The PCM draining behavior got broken since the recent refactoring, and > this turned out to be the incorrect expectation of the firmware > behavior regarding "draining". While I expected the "drain" flag at > the stop operation would do

Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed

2019-09-15 Thread Andrew Lunn
> Tinywrkb confirmed to me in private communication that revert of > 5502b218e001 fixes Ethernet for him on effected system. > > He also referred me to an old Cubox-i spec that lists 10/100 Ethernet > only for i.MX6 Solo/DualLite variants of Cubox-i. It turns out that > there was a plan to use a

Re: [PATCH v5 1/9] leds: multicolor: Add sysfs interface definition

2019-09-15 Thread Jacek Anaszewski
Hi Dan, On 9/11/19 8:01 PM, Dan Murphy wrote: > Add a documentation of LED Multicolor LED class specific > sysfs attributes. > > Signed-off-by: Dan Murphy > --- > .../ABI/testing/sysfs-class-led-multicolor| 73 +++ > 1 file changed, 73 insertions(+) > create mode 100644

Re: [RFC 1/4] counter: Simplify the count_read and count_write callbacks

2019-09-15 Thread William Breathitt Gray
On Sun, Sep 15, 2019 at 02:47:00PM +0100, Jonathan Cameron wrote: > On Sun, 15 Sep 2019 14:39:17 +0100 > Jonathan Cameron wrote: > > > On Sun, 15 Sep 2019 14:57:56 +0900 > > William Breathitt Gray wrote: > > > > > The count_read and count_write callbacks are simplified to pass val as > > >

Re: [PATCH v5 3/9] dt: bindings: Add multicolor class dt bindings documention

2019-09-15 Thread Jacek Anaszewski
Dan, This patch has the same issues I mentioned in the v4 review [0]. On 9/11/19 8:01 PM, Dan Murphy wrote: > Add DT bindings for the LEDs multicolor class framework. > > Signed-off-by: Dan Murphy > --- > .../bindings/leds/leds-class-multicolor.txt | 96 +++ > 1 file

[PATCH v2] usbip: vhci_hcd indicate failed message

2019-09-15 Thread Mao Wenan
If the return value of vhci_init_attr_group and sysfs_create_group is non-zero, which mean they failed to init attr_group and create sysfs group, so it would better add 'failed' message to indicate that. This patch also change pr_err to dev_err to trace which device is failed. Fixes: 0775a9cbc694

Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed

2019-09-15 Thread Russell King - ARM Linux admin
On Sun, Sep 15, 2019 at 03:56:52PM +0200, Andrew Lunn wrote: > > Tinywrkb confirmed to me in private communication that revert of > > 5502b218e001 fixes Ethernet for him on effected system. > > > > He also referred me to an old Cubox-i spec that lists 10/100 Ethernet > > only for i.MX6

Re: [PATCH v2 2/4] task: Ensure tasks are available for a grace period after leaving the runqueue

2019-09-15 Thread Paul E. McKenney
On Sat, Sep 14, 2019 at 07:33:58AM -0500, Eric W. Biederman wrote: > > In the ordinary case today the rcu grace period for a task_struct is > triggered when another process wait's for it's zombine and causes the > kernel to call release_task(). As the waiting task has to receive a > signal and

Re: [PATCH v2 2/4] task: Ensure tasks are available for a grace period after leaving the runqueue

2019-09-15 Thread Paul E. McKenney
On Sun, Sep 15, 2019 at 07:07:52AM -0700, Paul E. McKenney wrote: > On Sat, Sep 14, 2019 at 07:33:58AM -0500, Eric W. Biederman wrote: > > > > In the ordinary case today the rcu grace period for a task_struct is > > triggered when another process wait's for it's zombine and causes the Oh, and

Re: [RFC PATCH v3 00/16] Core scheduling v3

2019-09-15 Thread Aaron Lu
On Fri, Sep 13, 2019 at 07:12:52AM +0800, Aubrey Li wrote: > On Thu, Sep 12, 2019 at 8:04 PM Aaron Lu wrote: > > > > On Wed, Sep 11, 2019 at 09:19:02AM -0700, Tim Chen wrote: > > > On 9/11/19 7:02 AM, Aaron Lu wrote: > > > I think Julien's result show that my patches did not do as well as > > >

Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed

2019-09-15 Thread Russell King - ARM Linux admin
On Sun, Sep 15, 2019 at 03:06:39PM +0100, Russell King - ARM Linux admin wrote: > On Sun, Sep 15, 2019 at 03:56:52PM +0200, Andrew Lunn wrote: > > > Tinywrkb confirmed to me in private communication that revert of > > > 5502b218e001 fixes Ethernet for him on effected system. > > > > > > He also

Re: [PATCH] irqchip/sifive-plic: add irq_mask and irq_unmask

2019-09-15 Thread Marc Zyngier
On Thu, 12 Sep 2019 22:40:34 +0100, Darius Rad wrote: Hi Darius, > > As per the existing comment, irq_mask and irq_unmask do not need > to do anything for the PLIC. However, the functions must exist > (the pointers cannot be NULL) as they are not optional, based on > the documentation

Re: [PATCH v2 3/4] task: With a grace period after finish_task_switch, remove unnecessary code

2019-09-15 Thread Paul E. McKenney
On Sat, Sep 14, 2019 at 07:34:30AM -0500, Eric W. Biederman wrote: > > Remove work arounds that were written before there was a grace period > after tasks left the runqueue in finish_task_switch. > > In particular now that there tasks exiting the runqueue exprience > a rcu grace period none of

Re: [PATCH] sched: fix migration to invalid cpu in __set_cpus_allowed_ptr

2019-09-15 Thread Valentin Schneider
On 15/09/2019 09:21, shikemeng wrote: >> It's more thoughtful to add check in cpumask_test_cpu.It can solve this >> problem and can prevent other potential bugs.I will test it and resend >> a new patch. >> > > Think again and again. As cpumask_check will fire a warning if cpu >= > nr_cpu_ids,

Re: [PATCH v2 4/4] task: RCUify the assignment of rq->curr

2019-09-15 Thread Paul E. McKenney
On Sat, Sep 14, 2019 at 07:35:02AM -0500, Eric W. Biederman wrote: > > The current task on the runqueue is currently read with rcu_dereference(). > > To obtain ordinary rcu semantics for an rcu_dereference of rq->curr it needs > to be paird with rcu_assign_pointer of rq->curr. Which provides

Re: [PATCH] ARM: dts: imx6dl: SolidRun: add phy node with 100Mb/s max-speed

2019-09-15 Thread Andrew Lunn
> > OF: fdt: Machine model: SolidRun HummingBoard Solo/DualLite > > ... > > # ethtool eth0 > > Settings for eth0: > > Supported ports: [ TP MII ] > > Supported link modes: 10baseT/Half 10baseT/Full > > 100baseT/Half 100baseT/Full > >

D;

2019-09-15 Thread Martins Kwame
-- Hi , can we talk about this please?

Re: [RFC][PATCH] pipe: Convert ring to head/tail

2019-09-15 Thread Will Deacon
Hi David, [+Peter] I have a few drive-by comments on the ordering side of things. See below. On Fri, Sep 13, 2019 at 02:00:39PM +0100, David Howells wrote: > Convert pipes to use head and tail pointers for the buffer ring rather than > pointer and length as the latter requires two atomic ops to

  1   2   3   >