Re: [PATCH 4.4 000/193] 4.4.118-stable review

2018-02-24 Thread Guenter Roeck
On 02/23/2018 10:23 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.4.118 release. There are 193 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

Re: [PATCH 4.9 000/145] 4.9.84-stable review

2018-02-24 Thread Guenter Roeck
On 02/23/2018 10:25 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.9.84 release. There are 145 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 m

Re: [PATCH 4.14 000/159] 4.14.22-stable review

2018-02-24 Thread Guenter Roeck
On 02/23/2018 10:25 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.14.22 release. There are 159 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

Re: [PATCH 4.15 00/45] 4.15.6-stable review

2018-02-24 Thread Guenter Roeck
On 02/23/2018 10:28 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.15.6 release. There are 45 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 ma

Re: The white man - Who he is. A Discussion

2018-02-24 Thread Tracy Smith
Please block this junk email Sent from my iPhone > On Feb 24, 2018, at 9:49 AM, thetruthstandsbefor...@firemail.cc wrote: > > Alot of folks have been wondering: why are things they way that they are? > Many have been pondering this notion. All things have roots: you, me, we all > do, but when

Re: [PATCH] tools/memory-model: update: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-24 Thread Paul E. McKenney
On Sat, Feb 24, 2018 at 11:49:20AM -0500, Alan Stern wrote: > On Sat, 24 Feb 2018, Andrea Parri wrote: > > > On Fri, Feb 23, 2018 at 07:30:13PM -0800, Paul E. McKenney wrote: > > > On Sat, Feb 24, 2018 at 12:22:24PM +0900, Akira Yokosawa wrote: > > > > On 2018/02/22 07:29:02 +0900, Akira Yokosawa

[PATCH] linux/kernel.h: break long lines

2018-02-24 Thread Gustavo Leite
Break lines that are longer than 80 characters do match the linux coding style. Signed-off-by: Gustavo Leite --- include/linux/kernel.h | 74 +- 1 file changed, 49 insertions(+), 25 deletions(-) diff --git a/include/linux/kernel.h b/include/linux/

The usage of hid_have_special_driver() in hid_add_device() of hid-core.c makes the usage of /dev/hidraw cumbersome from user space.

2018-02-24 Thread Michael Menegakis
A recent patch of Wine allows to have proper access to raw HID for bluetooth devices expressed at /dev/hidraw* and via libudev. This generally opens the door to a wide array of windows software that relies on raw HID access to be used on Linux. However, the relevant code at hid_add_device() doesn'

Re: [PATCH] linux/kernel.h: break long lines

2018-02-24 Thread Borislav Petkov
On Sat, Feb 24, 2018 at 03:10:02PM -0300, Gustavo Leite wrote: > Break lines that are longer than 80 characters do match the linux coding > style. > > Signed-off-by: Gustavo Leite > --- > include/linux/kernel.h | 74 > +- > 1 file changed, 49 inse

Re: [PATCH] f2fs: allocate buffer for decrypting filename to avoid panic

2018-02-24 Thread Eric Biggers
Hi Yunlong, On Sat, Feb 24, 2018 at 05:14:58PM +0800, Yunlong Song wrote: > In some platforms (such as arm), high memory is used, then the > decrypting filename will cause panic, the reason see commit > 569cf1876a32e574ba8a7fb825cd91bafd003882 ("f2fs crypto: allocate buffer > for decrypting filena

Re: [PATCH 3.18 00/58] 3.18.96-stable review

2018-02-24 Thread Greg Kroah-Hartman
On Sat, Feb 24, 2018 at 11:41:01AM +, Harsh Shandilya wrote: > On Sat 24 Feb, 2018, 12:01 AM Greg Kroah-Hartman, < > gre...@linuxfoundation.org> wrote: > > > This is the start of the stable review cycle for the 3.18.96 release. > > There are 58 patches in this series, all will be posted as a r

Re: [PATCH] linux/kernel.h: break long lines

2018-02-24 Thread Theodore Ts'o
On Sat, Feb 24, 2018 at 07:30:44PM +0100, Borislav Petkov wrote: > > And, for the record, if we have to break a function signature, we align the > arguments at the opening brace like this: > > static inline int __must_check kstrtou64_from_user(const char __user *s, >

Re: [PATCH] linux/kernel.h: break long lines

2018-02-24 Thread Borislav Petkov
On Sat, Feb 24, 2018 at 01:45:30PM -0500, Theodore Ts'o wrote: > static inline int __must_check > kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, > u64 *res) Yeah, had already typed that one in the reply but then opted for not mentioning it because it is a bit controver

Re: [PATCH 1/2] fs/efivarfs: restrict inode permissions

2018-02-24 Thread Alan Cox
On Wed, 21 Feb 2018 09:03:00 + > The thing I like about rate limiting (for everyone including root) is > that it does not break anybody's workflow (unless EFI variable access > occurs on a hot path, in which case you're either a) asking for it, or > b) the guy trying to DoS us), and that it can

Re: [PATCH tip/core/rcu 06/10] trace: Eliminate cond_resched_rcu_qs() in favor of cond_resched()

2018-02-24 Thread Steven Rostedt
On Fri, 1 Dec 2017 11:21:40 -0800 "Paul E. McKenney" wrote: > Now that cond_resched() also provides RCU quiescent states when > needed, it can be used in place of cond_resched_rcu_qs(). This > commit therefore makes this change. Are you sure this is true? I just bisected a lock up on my machi

Re: [PATCH tip/core/rcu 10/10] rcu: Account for rcu_all_qs() in cond_resched()

2018-02-24 Thread Steven Rostedt
On Sat, 2 Dec 2017 04:22:20 -0800 "Paul E. McKenney" wrote: > Because there are a few key places within RCU and rcutorture that need it. > Without it, there are scenarios where the new cond_resched() never gets > activated, and thus doesn't take effect. > > The key point is that with this serie

Re: [PATCH v3 01/10] pwm: extend PWM framework with PWM modes

2018-02-24 Thread kbuild test robot
Hi Claudiu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on pwm/for-next] [also build test WARNING on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-c

Re: [PATCHv3] tlv320dac33: Add device tree bindings

2018-02-24 Thread Pavel Machek
On Tue 2018-02-06 15:27:22, Mark Brown wrote: > On Tue, Feb 06, 2018 at 02:49:06PM +0100, Pavel Machek wrote: > > On Tue 2018-02-06 12:11:22, Mark Brown wrote: > > > > Please submit patches using subject lines reflecting the style for the > > > subsystem. This makes it easier for people to identi

Re: [PATCH] linux/kernel.h: break long lines

2018-02-24 Thread Alexey Dobriyan
> -static inline int __must_check kstrtol(const char *s, unsigned int base, > long *res) > +static inline int __must_check kstrtol(const char *s, unsigned int base, > + long *res) Please find and fix a bug instead of making feel-good changes.

[RFC PATCH] usb: musb: call pm_runtime_{get,put}_sync before reading vbus registers

2018-02-24 Thread Merlijn Wajer
Without pm_runtime_{get,put}_sync calls in place, reading vbus status via /sys causes the following error: Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa0ab060 pgd = b333e822 [fa0ab060] *pgd=48011452(bad) [] (musb_default_readb) from [] (musb_vbus_show+0x58/0xe4) [] (musb_vbus_

Re: [PATCH 5/5] selftests: futex Makefile add top level TAP header echo to RUN_TESTS

2018-02-24 Thread Darren Hart
On Fri, Feb 23, 2018 at 03:11:40PM -0700, Shuah Khan wrote: > Add top level TAP header echo, testname and separator line to make > the output consistent with the common run_tests target. No objection to the changes, but I'll echo Ingo's request for a more detailed justification for why these chang

[PATCH 00/15] Implement H3/H5 HDMI driver

2018-02-24 Thread Jernej Skrabec
This series implements H3/H5 HDMI driver. It was tested on OrangePi 2 (H3), OrangePi Plus2e (H3) and OrangePi PC2 (H5) with many resolutions and it works well, except in some not yet determined cases, when there is a crash at boot if HDMI monitor is connected. If it is connected later, everything w

[PATCH 10/15] drm/sun4i: Move and expand DW HDMI PHY register macros

2018-02-24 Thread Jernej Skrabec
DW HDMI PHY macros are moved to header file and expanded with the registers present on newer SoCs like H3 and H5. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 130 + drivers/gpu/drm/sun4i/sun8i_hdmi_phy.c | 16 2 files changed,

[PATCH 15/15] ARM64: dts: sun50i: h5: Enable HDMI output on H5 boards

2018-02-24 Thread Jernej Skrabec
Enable HDMI output on all boards with HDMI connector. Signed-off-by: Jernej Skrabec --- .../boot/dts/allwinner/sun50i-h5-orangepi-pc2.dts | 25 ++ .../dts/allwinner/sun50i-h5-orangepi-prime.dts | 25 ++ .../allwinner/sun50i-h5-orangepi-zero-plus2.dts

[PATCH 11/15] drm/sun4i: Add support for H3 HDMI PHY variant

2018-02-24 Thread Jernej Skrabec
While A83T HDMI PHY seems to be just customized Synopsys HDMI PHY, H3 HDMI PHY is completely custom PHY. However, they still have many things in common like clock and reset setup, setting sync polarity and more. Add support for H3 HDMI PHY variant. While documentation exists for this PHY variant

[PATCH 14/15] ARM: dts: sun8i: h3: Enable HDMI output on H3 boards

2018-02-24 Thread Jernej Skrabec
Enable HDMI output on all boards which have HDMI connector. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-h3-bananapi-m2-plus.dts| 25 ++ arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 25 ++ arch/arm/boot/dts/sun8i-h3-libretech-all-h

[PATCH 13/15] ARM: dts: sunxi: h3/h5: Add HDMI pipeline

2018-02-24 Thread Jernej Skrabec
This commit adds all entries needed for HDMI to function properly. Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 108 + 1 file changed, 108 insertions(+) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi b/arch/arm/boot/dts/sunxi-h3-h5

regression v4.16 on Nokia N900:/dev/input/event6 aka AV Jack support disappeared

2018-02-24 Thread Pavel Machek
Hi! In v4.16, AV jack support disappeared. This one is suspect: commit 7be4b5dc7ffa9499ac6ef33a5ffa9ff43f9b7057 Author: Andrew F. Davis Date: Wed Nov 29 11:13:59 2017 -0600 ARM: dts: omap3-n900: Fix the audio CODEC's reset pin The correct DT property for specifying a GPIO used for r

[PATCH 08/15] drm/sun4i: Fix polarity configuration for DW HDMI PHY

2018-02-24 Thread Jernej Skrabec
Current polarity configuration code is cleary wrong since it compares same flag two times. However, even if flag name is fixed, it won't work well for resolutions which have one polarity positive and another negative. Fix that by properly set each bit according to each polarity. Since those two bi

[PATCH 09/15] drm/sun4i: Add support for variants to DW HDMI PHY

2018-02-24 Thread Jernej Skrabec
There are multiple variants of DW HDMI PHYs in Allwinner SoCs. While some things like clock and reset setup are the same, PHY configuration differs a lot. Split out code which is PHY specific to separate functions and create a structure which holds pointers to those functions. Signed-off-by: Jern

[PATCH 07/15] drm/sun4i: Add support for H3 mixer 0

2018-02-24 Thread Jernej Skrabec
This mixer supports 1 VI plane, 3 UI plane and HW scaling on all planes. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun8i_mixer.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun8i_mixer.c b/drivers/gpu/drm/sun4i/sun8i_mixer.c index 9b0256

[PATCH 06/15] drm/sun4i: Add support for H3 display engine

2018-02-24 Thread Jernej Skrabec
H3 display engine has two mixers which are connected to HDMI and TV output. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/sun4i_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_drv.c b/drivers/gpu/drm/sun4i/sun4i_drv.c index 3957c2ff6870..a0f43b81c

Re: [tip:x86/boot] x86/boot/compressed/64: Prepare trampoline memory

2018-02-24 Thread Borislav Petkov
On Sun, Feb 11, 2018 at 04:19:38AM -0800, tip-bot for Kirill A. Shutemov wrote: > Commit-ID: b91993a87aff6dafd60a9c8ce80ebc425161a815 > Gitweb: > https://git.kernel.org/tip/b91993a87aff6dafd60a9c8ce80ebc425161a815 > Author: Kirill A. Shutemov > AuthorDate: Fri, 9 Feb 2018 17:22:27 +0300

[PATCH 05/15] dt-bindings: display: sun4i-drm: Add compatibles for H3 HDMI pipeline

2018-02-24 Thread Jernej Skrabec
Add missing compatibles for H3 HDMI pipeline. These compatibles can also be used with H5 SoC. Signed-off-by: Jernej Skrabec --- Documentation/devicetree/bindings/display/sunxi/sun4i-drm.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/display/sunxi/

[PATCH 03/15] clk: sunxi-ng: h3: h5: Allow some clocks to set parent rate

2018-02-24 Thread Jernej Skrabec
Some units have to be able to set it's own clock precisely to work correctly. Allow them to do so by adding CLK_SET_RATE_PARENT flag. Add this flag to DE, TCON and HDMI clocks. Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 9 ++--- 1 file changed, 6 insertions(+),

[PATCH] scsi: qla2xxx: Fix braces styling issue

2018-02-24 Thread John Pittman
In several spots throughout qla2xxx, checkpatch.pl has detected braces being used to contain single statements. Remove braces to maintain consistency with the guidelines presented in section 3 of coding-style.rst. Signed-off-by: John Pittman --- drivers/scsi/qla2xxx/qla_init.c | 21 +++---

[PATCH 01/15] clk: sunxi-ng: Add check for minimal rate to NM PLLs

2018-02-24 Thread Jernej Skrabec
Some NM PLLs doesn't work well when their output clock rate is set below certain rate. Add support for that constrain. Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu_nm.c | 11 +++ drivers/clk/sunxi-ng/ccu_nm.h | 27 +++ 2 files changed, 34 insertions

[PATCH] netdev: carrier detect ok, don't turn off negotiation

2018-02-24 Thread Denis Du
Sometimes when physical lines have a just good noise to make the protocol handshaking fail, but the carrier detect still good. Then after remove of the noise, nobody will trigger this protocol to be start again to cause the link to never come back. The fix is when the carrier is still on, not termi

Re: Removing architectures without upstream gcc support

2018-02-24 Thread Guenter Roeck
On 02/23/2018 11:32 AM, James Bottomley wrote: On Fri, 2018-02-23 at 18:19 +, Al Viro wrote: [...] IIRC, parisc/qemu stuff had been announced a while ago; I have, but it didn't work sufficiently for me to either boot a kernel using system emulation or start an architecture container using

[PATCH 04/15] clk: sunxi-ng: h3: h5: export CLK_PLL_VIDEO

2018-02-24 Thread Jernej Skrabec
CLK_PLL_VIDEO needs to be referenced in HDMI DT entry as a possible PHY clock parent. Export it so it can be used later in DT. Signed-off-by: Jernej Skrabec --- drivers/clk/sunxi-ng/ccu-sun8i-h3.h | 4 +++- include/dt-bindings/clock/sun8i-h3-ccu.h | 2 ++ 2 files changed, 5 insertions(+),

Re: [PATCH] lib/test_kmod: Fix an integer overflow test

2018-02-24 Thread Luis R. Rodriguez
On Sat, Feb 24, 2018 at 11:45:16AM +0300, Dan Carpenter wrote: > On Sat, Feb 24, 2018 at 02:59:41AM +, Luis R. Rodriguez wrote: > > On Mon, Jan 22, 2018 at 01:27:54PM +0300, Dan Carpenter wrote: > > > The main problem is that the parentheses are in the wrong place and the > > > unlikely() call

[PATCH 02/15] clk: sunxi-ng: h3: h5: Add minimal rate for video PLL

2018-02-24 Thread Jernej Skrabec
Although user manuals for H3 and H5 SoCs state that minimal rate supported by video PLL is around 30 MHz, it seems that in reality minimal rate is around 192 MHz. Experiments showed that any rate below 96 MHz doesn't produce any video output at all. Even at this frequency, stable output depends on

[PATCH 12/15] drm/sun4i: Allow building on arm64

2018-02-24 Thread Jernej Skrabec
64-bit ARM SoCs from Allwinner have DE2/TCON/HDMI periphery which is compatible to 32-bit SoCs, so allow building DRM driver for arm64 architecture. Signed-off-by: Jernej Skrabec --- drivers/gpu/drm/sun4i/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm

[PATCH V1 0/3] Use efi_rts_workqueue to invoke EFI Runtime Services

2018-02-24 Thread Sai Praneeth Prakhya
From: Sai Praneeth This patch set is an outcome of the discussion at https://lkml.org/lkml/2017/8/21/607 Presently, efi_runtime_services() are executed by firmware in process context. To execute efi_runtime_service(), kernel switches the page directory from swapper_pgd to efi_pgd. However, efi_p

[PATCH V1 2/3] efi: Introduce efi_rts_workqueue and necessary infrastructure to invoke all efi_runtime_services()

2018-02-24 Thread Sai Praneeth Prakhya
From: Sai Praneeth When a process requests the kernel to execute any efi_runtime_service(), the requested efi_runtime_service (represented as an identifier) and its arguments are packed into a struct named efi_runtime_work and queued onto work queue named efi_rts_wq. The caller then waits until t

[PATCH V1 3/3] efi: Use efi_rts_workqueue to invoke EFI Runtime Services

2018-02-24 Thread Sai Praneeth Prakhya
From: Sai Praneeth Presently, efi_runtime_services() are executed by firmware in process context. To execute efi_runtime_service(), kernel switches the page directory from swapper_pgd to efi_pgd. However, efi_pgd doesn't have any user space mappings. A potential issue could be, for instance, an N

[PATCH V1 1/3] x86/efi: Call efi_delete_dummy_variable() during efi subsystem initialization

2018-02-24 Thread Sai Praneeth Prakhya
From: Sai Praneeth Invoking efi_runtime_services() through efi_workqueue means all accesses to efi_runtime_services() should be done after efi_rts_wq has been created. efi_delete_dummy_variable() calls set_variable(), hence efi_delete_dummy_variable() should be called after efi_rts_wq has been cr

Re: [PATCH] scsi: lpfc: use memcpy_toio instead of writeq

2018-02-24 Thread James Smart
About to post a patch to fix. Rather than fidgeting with the copy routine, I want to go back to what we originally proposed - writeq() on 64bit, writel() on 32-bit. -- james On 2/23/2018 1:02 PM, Arnd Bergmann wrote: On Fri, Feb 23, 2018 at 4:36 PM, Arnd Bergmann wrote: @@ -138,12 +137,10

[PATCH] i2c: cadence: Fix PM device usage count

2018-02-24 Thread Tobias Jordan
pm_runtime_get_sync() increases the device's usage count even when reporting an error, so add a call to pm_runtime_put_noidle() in the error branch. Fixes: 7fa32329ca03 ("i2c: cadence: Move to sensible power management") Signed-off-by: Tobias Jordan --- This is one of a number of patches for prob

[PATCH] i2c: img-scb: fix PM device usage count

2018-02-24 Thread Tobias Jordan
pm_runtime_get_sync() increases the device's usage count even when reporting an error, so add a call to pm_runtime_put_noidle() in the error branch. Fixes: 93222bd9b966 ("i2c: img-scb: Add runtime PM") Signed-off-by: Tobias Jordan --- This is one of a number of patches for problems found using co

[PATCH] i2c: imx: Fix PM device usage count

2018-02-24 Thread Tobias Jordan
pm_runtime_get_sync() increases the device's usage count even when reporting an error, so add a call to pm_runtime_put_noidle() in the related error branches. Fixes: 588eb93ea49f ("i2c: imx: add runtime pm support to improve the performance") Signed-off-by: Tobias Jordan --- In i2c_imx_xfer(),

[PATCH] i2c: imx-lpi2c: Fix PM device usage count

2018-02-24 Thread Tobias Jordan
pm_runtime_get_sync() increases the device's usage count even when reporting an error, so add a call to pm_runtime_put_noidle() in the error branch. Fixes: 13d6eb20fc79 ("i2c: imx-lpi2c: add runtime pm support") Signed-off-by: Tobias Jordan --- This is one of a number of patches for problems foun

[PATCH] i2c: sprd: Fix PM device usage count

2018-02-24 Thread Tobias Jordan
pm_runtime_get_sync() increases the device's usage count even when reporting an error, so add a call to pm_runtime_put_noidle() in the related error branches. Fixes: 8b9ec0719834 ("i2c: Add Spreadtrum I2C controller driver") Signed-off-by: Tobias Jordan --- This is one of a number of patches for

[PATCH] i2c: tegra: Fix PM device usage count

2018-02-24 Thread Tobias Jordan
pm_runtime_get_sync() increases the device's usage count even when reporting an error, so add a call to pm_runtime_put_noidle() in the related error branches. Fixes: 1f50ad2c86cd ("i2c: tegra: Add runtime power-management support") Signed-off-by: Tobias Jordan --- This is one of a number of patch

[PATCH] i2c: xiic: Fix PM device usage count

2018-02-24 Thread Tobias Jordan
pm_runtime_get_sync() increases the device's usage count even when reporting an error, so add a call to pm_runtime_put_noidle() in the error branch. Fixes: 36ecbcab84d0 ("i2c: xiic: Implement power management") Signed-off-by: Tobias Jordan --- This is one of a number of patches for problems found

Re: [PATCH] tools/memory-model: update: remove rb-dep, smp_read_barrier_depends, and lockless_dereference

2018-02-24 Thread Akira Yokosawa
On 2018/02/24 10:08:14 -0800, Paul E. McKenney wrote: > On Sat, Feb 24, 2018 at 11:49:20AM -0500, Alan Stern wrote: >> On Sat, 24 Feb 2018, Andrea Parri wrote: >> >>> On Fri, Feb 23, 2018 at 07:30:13PM -0800, Paul E. McKenney wrote: On Sat, Feb 24, 2018 at 12:22:24PM +0900, Akira Yokosawa wrot

Re: [RFC tip/locking/lockdep v5 16/17] lockdep: Documention for recursive read lock detection reasoning

2018-02-24 Thread Andrea Parri
On Thu, Feb 22, 2018 at 03:09:03PM +0800, Boqun Feng wrote: > As now we support recursive read lock deadlock detection, add related > explanation in the Documentation/lockdep/lockdep-desgin.txt: > > * Definition of recursive read locks, non-recursive locks, strong > dependency path and n

Re: [PATCH V2 7/7] cpuidle/drivers/cpuidle-arm: Register the cooling device

2018-02-24 Thread Daniel Lezcano
On 24/02/2018 03:50, Wangtao (Kevin, Kirin) wrote: > > > On 2018/2/21 23:29, Daniel Lezcano wrote: >> Register the ARM generic cpuidle driver as a cooling device. >> >> Signed-off-by: Daniel Lezcano >> --- >>   drivers/cpuidle/cpuidle-arm.c | 5 + >>   1 file changed, 5 insertions(+) >> >> di

Re: [PATCH V2 6/7] thermal/drivers/cpu_cooling: Introduce the cpu idle cooling driver

2018-02-24 Thread Daniel Lezcano
On 23/02/2018 16:26, Vincent Guittot wrote: > Hi Daniel, > > On 21 February 2018 at 16:29, Daniel Lezcano > wrote: >> + >> +/** >> + * struct cpuidle_cooling_device - data for the idle cooling device >> + * @cdev: a pointer to a struct thermal_cooling_device >> + * @cpumask: a cpumask containing

[PATCH net 1/4] net/macsonic: Convert to nubus_driver

2018-02-24 Thread Finn Thain
This resolves an old issue preventing any NuBus SONIC NICs from working in a Mac with an on-board SONIC device. Tested-by: Stan Johnson Signed-off-by: Finn Thain --- drivers/net/ethernet/natsemi/macsonic.c | 173 ++-- 1 file changed, 119 insertions(+), 54 deletions(-

[PATCH net 0/4] Fixes, cleanup and modernization for SONIC ethernet drivers

2018-02-24 Thread Finn Thain
Changes since v4 of combined patch series: - Removed redundant and non-portable MACH_IS_MAC tests. - Omitted patches unrelated to SONIC drivers. - Dropped changes to the 'version_printed' logic and debug message text. Finn Thain (4): net/macsonic: Convert to nubus_driver net/macsonic: Drop re

[PATCH net 2/4] net/macsonic: Drop redundant MACH_IS_MAC test

2018-02-24 Thread Finn Thain
The MACH_IS_MAC test is redundant here because the platform device won't get registered unless MACH_IS_MAC. Cc: Geert Uytterhoeven Signed-off-by: Finn Thain --- drivers/net/ethernet/natsemi/macsonic.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/ethernet/natsemi/macsonic.c

[PATCH net 3/4] net/sonic: Clean up and modernize log messages

2018-02-24 Thread Finn Thain
Add missing printk severity levels by adopting pr_foo() calls for the platform_driver and dev_foo() calls for the nubus_driver. Avoid KERN_CONT usage as per advice from checkpatch. Avoid #ifdef around printk calls. Don't log driver probe messages after calling register_netdev(). Cc: Thomas Bogendo

[PATCH net 4/4] net/sonic: Replace custom debug logging with netif_* calls

2018-02-24 Thread Finn Thain
Eliminate duplicated debug code by moving it into the core driver. Don't log the only valid silicon revision number (it's in the source). Cc: Thomas Bogendoerfer Cc: Chris Zankel Tested-by: Stan Johnson Signed-off-by: Finn Thain --- Only the sonic.[ch] and macsonic.c changes have been tested.

Re: [PATCH] lib/test_kmod: Fix an integer overflow test

2018-02-24 Thread Dan Carpenter
On Sat, Feb 24, 2018 at 10:06:01PM +, Luis R. Rodriguez wrote: > On Sat, Feb 24, 2018 at 11:45:16AM +0300, Dan Carpenter wrote: > > On Sat, Feb 24, 2018 at 02:59:41AM +, Luis R. Rodriguez wrote: > > > On Mon, Jan 22, 2018 at 01:27:54PM +0300, Dan Carpenter wrote: > > > > The main problem is

Re: [GIT PULL] KVM changes for 4.16-rc3

2018-02-24 Thread Linus Torvalds
On Fri, Feb 23, 2018 at 5:46 PM, Paolo Bonzini wrote: > > git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus This has 28 fixes that were committed one hour before you sent this email. I pulled, but I think I'm going to unpull, just because I want an explanation of how that could poss

Re: 500 ms delay in time saved into RTC

2018-02-24 Thread Alexandre Belloni
Hi, On 19/02/2018 at 12:03:28 +0100, Karel Zak wrote: > On Mon, Feb 19, 2018 at 08:11:05AM +0100, Rasmus Villemoes wrote: > > It's because util-linux's hwclock still assumes the world is x86. See > > this comment in the util-linux source code: > > > > /* > > * The Hardware Clock

Re: mmotm 2018-02-21-14-48 uploaded (mm/page_alloc.c on UML)

2018-02-24 Thread Eugeniu Rosca
Hello Andrew, Michal, On Thu, Feb 22, 2018 at 02:26:30PM +0100, Michal Hocko wrote: > On Thu 22-02-18 14:08:14, Eugeniu Rosca wrote: > > On Thu, Feb 22, 2018 at 01:59:55PM +0100, Michal Hocko wrote: > > > On Thu 22-02-18 11:38:32, Eugeniu Rosca wrote: > > > > Hi Michal, > > > > > > > > Please, le

Re: [PATCH v0 1/3] livepatch: add sample cumulative patch

2018-02-24 Thread Philippe Ombredanne
Joe, On Fri, Feb 23, 2018 at 1:33 PM, Joe Lawrence wrote: > Add a simple atomic replace / cumulative livepatch example. > > Signed-off-by: Joe Lawrence > --- > samples/livepatch/Makefile | 1 + > samples/livepatch/livepatch-cumulative.c | 216 > +++ >

Logitech webcam USB audio breakage during the 4.10 merge window

2018-02-24 Thread Marius Cirsta
I have a problem that was previously reported here: https://www.spinics.net/lists/linux-usb/msg156999.html It seems that with the 4.10-rc1 kernel a regression was introduced that makes my Logitech C310 microphone record a distorted ( chipmunk ) sound. With the 4.9.1 kernel it works perfectly.

[PATCH] pwm: sun4i: properly check current state

2018-02-24 Thread Alexandre Belloni
Correctly extract the prescaler value from CTRL_REG before comparing it to PWM_PRESCAL_MASK. Also, check that both PWM_CLK_GATING and PWM_EN to ensure the PWM is enabled instead of relying on only one of those. Fixes: 93e0dfb2c52f ("pwm: sun4i: Improve hardware read out") Signed-off-by: Alexandre

DMA map SG ignores DMA mask or don't report error

2018-02-24 Thread Aron
Hello, tl;dr: Custom PCIe FPGA board, custom driver: dma_map_sg() and dma_set_mask() do not report any error, the dma addresses are bigger than the useable address space (30 bit). I'm trying to write a direct I/O driver for a custom PCIe FPGA board (for my MSc thesis). I would like to use st

Re: [PATCH 4/7] Protectable Memory

2018-02-24 Thread kbuild test robot
Hi Igor, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc2] [cannot apply to next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

[BUG] arm64: Build error with gcc 6

2018-02-24 Thread Masami Hiramatsu
Hello, commit e1a50de37860 ("arm64: cputype: Silence Sparse warnings") introduces "UL" suffix to a hex number, but it causes a build error with gcc-6 series. I've hit below error with 6.2.1 and 6.4.1. Of course this is resolved by the latest stable gcc-7.2.1. But from the compatibility point of

Re: [PATCH 4.9 000/145] 4.9.84-stable review

2018-02-24 Thread Dan Rue
On Fri, Feb 23, 2018 at 07:25:06PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.84 release. > There are 145 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

Re: [PATCH 4.15 00/45] 4.15.6-stable review

2018-02-24 Thread Dan Rue
On Fri, Feb 23, 2018 at 07:28:39PM +0100, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.15.6 release. > There are 45 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.

Re: [PATCH 1/7] genalloc: track beginning of allocations

2018-02-24 Thread kbuild test robot
Hi Igor, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc2 next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/com

Re: [PATCH 3/7] struct page: add field for vm_struct

2018-02-24 Thread Matthew Wilcox
On Fri, Feb 23, 2018 at 04:48:03PM +0200, Igor Stoppa wrote: > @@ -1769,6 +1771,9 @@ void *__vmalloc_node_range(unsigned long size, unsigned > long align, > > kmemleak_vmalloc(area, size, gfp_mask); > > + for (i = 0; i < area->nr_pages; i++) > + area->pages[i]->area = are

Re: [PATCH 6/7] lkdtm: crash on overwriting protected pmalloc var

2018-02-24 Thread kbuild test robot
Hi Igor, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.16-rc2] [cannot apply to next-20180223] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com

Re: [BUG] arm64: Build error with gcc 6

2018-02-24 Thread Baruch Siach
Hi Masami Hiramatsu, On Sun, Feb 25, 2018 at 11:50:37AM +0900, Masami Hiramatsu wrote: > commit e1a50de37860 ("arm64: cputype: Silence Sparse warnings") > introduces "UL" suffix to a hex number, but it causes a build error with > gcc-6 series. > I've hit below error with 6.2.1 and 6.4.1. Of cours

[PATCH] headers: linux/mutex.h: drop linkage.h

2018-02-24 Thread Randy Dunlap
From: Randy Dunlap does not use nor need , so drop that one header file from mutex.h. is currently #included in around 1250 C source files (oops, I didn't count other header files that #include it), making it the 27th most-used header file. Build tested on i386 and x86_64 * (allnoconfig, tiny

[PATCH] headers: linux/irq.h: drop 5 #included header files

2018-02-24 Thread Randy Dunlap
From: Randy Dunlap does not use nor need several of its #included files, so drop those header files from irq.h. is currently #included in around 1135 C source files (oops, I didn't count other header files that #include it), making it the 29th most-used header file. Build tested on i386 and x

[PATCH 1/6] qrtr: add MODULE_ALIAS macro to smd

2018-02-24 Thread Ramon Fried
Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load when IPCRTR channel is detected. Signed-off-by: Ramon Fried --- net/qrtr/smd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/qrtr/smd.c b/net/qrtr/smd.c index 50615d5efac1..9cf089b9754e 100644 --- a/net/qrtr/smd.c

[PATCH v2] qrtr: add MODULE_ALIAS macro to smd

2018-02-24 Thread Ramon Fried
Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load when IPCRTR channel is detected. Signed-off-by: Ramon Fried V2: Corrected subject line, this is not a part of a patchset. --- net/qrtr/smd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/qrtr/smd.c b/net/qrtr/smd

RE: [PATCH v6 11/12] arm64: topology: enable ACPI/PPTT based CPU topology

2018-02-24 Thread vkilari
Hi, > -Original Message- > From: linux-arm-kernel [mailto:linux-arm-kernel-boun...@lists.infradead.org] > On Behalf Of Xiongfeng Wang > Sent: Saturday, February 24, 2018 8:36 AM > To: Lorenzo Pieralisi ; Jeremy Linton > > Cc: mark.rutl...@arm.com; jonathan.zh...@cavium.com; > jayachandran

Consent Proposal

2018-02-24 Thread Mr.zhang
Important details to share with you, kindly email me for info: "zhang...@asia.com" Mr.zhang

Re: [PATCH v2] qrtr: add MODULE_ALIAS macro to smd

2018-02-24 Thread Kalle Valo
Ramon Fried writes: > Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load > when IPCRTR channel is detected. > > Signed-off-by: Ramon Fried > > V2: Corrected subject line, this is not a part of a patchset. > --- > net/qrtr/smd.c | 1 + > 1 file changed, 1 insertion(+) The

[PATCH] MAINTAINERS: Add list, tree, and maintainer

2018-02-24 Thread Tobin C. Harding
MAINTAINERS is out of date for leaking_addresses.pl. There is now a tree on kernel.org for development of this script. We have a second maintainer now, thanks Tycho. Development of this scripts was started on kernel-hardening mailing list so let's keep it there. Update maintainer details; Add ma

Re: [BUG] lock_parent() breakage when used from shrink_dentry_list() (was Re: [PATCH v2 6/6] fs/dcache: Avoid remaining try_lock loop in shrink_dentry_list())

2018-02-24 Thread Al Viro
On Sat, Feb 24, 2018 at 12:22:48AM +, Al Viro wrote: > On Fri, Feb 23, 2018 at 01:35:52PM -0800, Linus Torvalds wrote: > > > This is too subtle, and your fix to check d_lockref.count < 0 sounds > > wrong to me. If it's really gone, maybe it has been reused and the > > refcount is positive agai

[PATCH v3] qrtr: add MODULE_ALIAS macro to smd

2018-02-24 Thread Ramon Fried
Added MODULE_ALIAS("rpmsg:IPCRTR") to ensure qrtr-smd and qrtr will load when IPCRTR channel is detected. Signed-off-by: Ramon Fried --- V2: Corrected subject line, this is not a part of a patchset. V3: Placed the changelog under the ---. net/qrtr/smd.c | 1 + 1 file changed, 1 insertion(+) d

<    1   2