Re: [PATCH 08/10] staging: lustre: lov: use list_for_each_entry in lov_obd.c

2017-11-29 Thread Greg Kroah-Hartman
On Wed, Nov 29, 2017 at 02:01:12PM +1100, NeilBrown wrote: > Subject: [PATCH] staging: lustre: lov: use list_for_each_entry in lov_obd.c Why is there a subject line in the body of the text here? Will git figure this out correctly? > Using the *_entry macro simplifies the code slightly. > > Sign

Re: [PATCH] drivers/staging/rtl8188eu remove 5GHZ specific code

2017-11-29 Thread Greg KH
On Tue, Nov 28, 2017 at 08:32:07PM -0800, Travis Davies wrote: > [PATCH] drivers/staging/rtl8188eu remove 5GHZ specific code That is up in the subject line, no need to put it in the body. > My first patch. No need for that in the changelog :) > This based from linux-next tree. Nor that :) > R

Re: [PATCH] PM / runtime: Drop children check from __pm_runtime_set_status()

2017-11-29 Thread Geert Uytterhoeven
Hi Ulf, On Wed, Nov 29, 2017 at 10:24 AM, Ulf Hansson wrote: > On 29 November 2017 at 09:21, Yoshihiro Shimoda > wrote: >>> From: Ulf Hansson, Sent: Wednesday, November 29, 2017 2:23 AM >>> On 28 November 2017 at 13:48, Yoshihiro Shimoda >>> wrote: >>> >> From: Geert Uytterhoeven, Sent: Tuesday

Re: [PATCH v2 0/6] ARM: ep93xx: ts72xx: Add support for BK3 board

2017-11-29 Thread Lukasz Majewski
Dear All, > This patch series adds support for Liebherr's BK3 board, being > a derivative of TS72XX design. > > This patchset consists of following patches: > > - ts72xx.[c|h] cosmetic cleanup/improvement > - Rewrite ts72xx.c to be reusable by bk3 > - The Liebherr's BK3 board has been added with

Re: 答复: [PATCH v7,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-29 Thread Lee Jones
On Tue, 28 Nov 2017, gre...@linuxfoundation.org wrote: > On Tue, Nov 28, 2017 at 09:33:23AM +, Lee Jones wrote: > > On Tue, 28 Nov 2017, 冯锐 wrote: > > > > > > On Tue, 28 Nov 2017, Lee Jones wrote: > > > > > > > > > On Tue, 28 Nov 2017, perry.y...@dell.com wrote: > > > > > > Hi Greg. > > > >

[PATCH v1] USB: storage: Notify the subdrivers that they need to reinitialize the device.

2017-11-29 Thread Mikhail Zaytsev
This patch adds the device_reinit function into the us_data structure. The usb-storage driver uses this function for notify the subdrivers that they need to reinitialize the device. Signed-off-by: Mikhail Zaytsev --- drivers/usb/storage/usb.c | 16 drivers/usb/storage/usb.h |

Re: [PATCH 8/8] serdev: ttyport: do not used keyed wakeup in write_wakeup

2017-11-29 Thread Johan Hovold
On Tue, Nov 28, 2017 at 08:39:26PM +0100, Greg Kroah-Hartman wrote: > On Tue, Nov 28, 2017 at 04:16:29PM +0100, Johan Hovold wrote: > > On Tue, Nov 28, 2017 at 04:04:18PM +0100, Greg Kroah-Hartman wrote: > > > On Fri, Nov 03, 2017 at 03:30:59PM +0100, Johan Hovold wrote: > > > > Serdev does not use

Re: [PATCH RFC 2/2] mm, hugetlb: do not rely on overcommit limit during migration

2017-11-29 Thread Michal Hocko
On Tue 28-11-17 15:12:11, Michal Hocko wrote: [...] > +/* > + * Internal hugetlb specific page flag. Do not use outside of the hugetlb > + * code > + */ > +static inline bool PageHugeTemporary(struct page *page) > +{ > + if (!PageHuge(page)) > + return false; > + > + return page

答复: 答复: [PATCH v7,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-29 Thread 冯锐
> On Tue, Nov 28, 2017 at 09:33:23AM +, Lee Jones wrote: > > On Tue, 28 Nov 2017, 冯锐 wrote: > > > > > > On Tue, 28 Nov 2017, Lee Jones wrote: > > > > > > > > > On Tue, 28 Nov 2017, perry.y...@dell.com wrote: > > > > > > Hi Greg. > > > > > > The Patches have been tested basing on V4.15-rc1 succe

Re: [PATCH 4.4 00/96] 4.4.103-stable review

2017-11-29 Thread Naresh Kamboju
On 29 November 2017 at 13:37, Greg Kroah-Hartman wrote: > On Tue, Nov 28, 2017 at 10:56:45PM +0530, Naresh Kamboju wrote: >> On 28 November 2017 at 15:52, Greg Kroah-Hartman >> wrote: >> > This is the start of the stable review cycle for the 4.4.103 release. >> > There are 96 patches in this seri

Re: [PATCH] MAINTAINERS: change maintainer for Rockchip drm drivers

2017-11-29 Thread Daniel Vetter
On Tue, Nov 28, 2017 at 03:42:36PM -0800, Doug Anderson wrote: > Hi, > > On Sun, Nov 26, 2017 at 6:22 PM, Sandy Huang wrote: > > Hi Daniel, > > I register the account and get the drm-misc commit rights now, thanks. > > > > > > 在 2017/11/24 22:51, Daniel Vetter 写道: > >> > >> On Fri, Nov 24, 20

Re: [PATCH] MAINTAINERS: change maintainer for Rockchip drm drivers

2017-11-29 Thread Heiko Stübner
Am Mittwoch, 29. November 2017, 10:54:18 CET schrieb Daniel Vetter: > On Tue, Nov 28, 2017 at 03:42:36PM -0800, Doug Anderson wrote: > > Hi, > > > > On Sun, Nov 26, 2017 at 6:22 PM, Sandy Huang wrote: > > > Hi Daniel, > > > > > > I register the account and get the drm-misc commit rights now,

[PATCH v6] lib: optimize cpumask_next_and()

2017-11-29 Thread Clement Courbet
We've measured that we spend ~0.6% of sys cpu time in cpumask_next_and(). It's essentially a joined iteration in search for a non-zero bit, which is currently implemented as a lookup join (find a nonzero bit on the lhs, lookup the rhs to see if it's set there). Implement a direct join (find a nonz

Re: [PATCH] PM / runtime: Drop children check from __pm_runtime_set_status()

2017-11-29 Thread Ulf Hansson
On 29 November 2017 at 10:43, Geert Uytterhoeven wrote: > Hi Ulf, > > On Wed, Nov 29, 2017 at 10:24 AM, Ulf Hansson wrote: >> On 29 November 2017 at 09:21, Yoshihiro Shimoda >> wrote: From: Ulf Hansson, Sent: Wednesday, November 29, 2017 2:23 AM On 28 November 2017 at 13:48, Yoshihiro

Re: [PATCH 0/3] RDMA/hns: Bug fixes in hns RoCE driver

2017-11-29 Thread Jonathan Cameron
On Tue, 28 Nov 2017 15:27:23 -0500 Dennis Dalessandro wrote: > On 11/28/2017 2:33 PM, Jason Gunthorpe wrote: > > On Tue, Nov 28, 2017 at 06:50:44PM +, Bart Van Assche wrote: > >> On Tue, 2017-11-28 at 11:39 -0700, Jason Gunthorpe wrote: > >>> On Tue, Nov 28, 2017 at 08:20:09AM -0500, Denn

Re: [PATCH 08/11] trace-cmd: Making start,extract,stream,profile separate funcs

2017-11-29 Thread Vladislav Valtchev
On Tue, 2017-11-28 at 14:35 -0500, Steven Rostedt wrote: > > Yes. Simply because we lost the fact that we can do it better. > Hi Steven, of course we can do better, if we make a step further than just a mechanical refactoring. I'm used to intentionally limit myself to do such kind of mechanical

Re: [Lkft-triage] [PATCH 4.9 000/138] 4.9.66-stable review

2017-11-29 Thread Mark Brown
On Wed, Nov 29, 2017 at 09:07:45AM +0100, Greg Kroah-Hartman wrote: > On Tue, Nov 28, 2017 at 11:07:01PM +0530, Naresh Kamboju wrote: > > Results from Linaro’s test farm. > > No regressions on arm64, arm and x86_64. > Thanks for testing. > What is up with the odd email subject prefix? There's a

RE: [PATCH V11 4/5] vsprintf: add printk specifier %px

2017-11-29 Thread David Laight
From: Linus Torvalds > Sent: 29 November 2017 02:29 > > On Tue, Nov 28, 2017 at 6:05 PM, Tobin C. Harding wrote: > > > >Let's add specifier %px as a > > clear, opt-in, way to print a pointer and maintain some level of > > isolation from all the other hex integer output within the Kernel. > >

Re: [PATCH v3] mfd: syscon: Add hardware spinlock support

2017-11-29 Thread Arnd Bergmann
On Mon, Nov 20, 2017 at 7:54 AM, Baolin Wang wrote: > Some system control registers need hardware spinlock to synchronize > between the multiple subsystems, so we should add hardware spinlock > support for syscon. > > @@ -87,6 +88,12 @@ static struct syscon *of_syscon_register(struct > device_no

Re: [PATCH 0/5] firmware: few fixes for v4.15

2017-11-29 Thread Greg KH
On Mon, Nov 20, 2017 at 09:45:30AM -0800, Luis R. Rodriguez wrote: > Greg, > > Here's a few fixes that I came up with over the weekend for the > firmware loader while doing some other development. I realize we > have a short merge window this time due to the upcoming holidays, > so I understand if

[PATCH 3/3] arm: dts: mt7623: fix card detection issue on bananapi-r2

2017-11-29 Thread sean.wang
From: Sean Wang Fix that bananapi-r2 booting from SD-card would fail since incorrect polarity is applied to the previous setup with GPIO_ACTIVE_HIGH. Cc: sta...@vger.kernel.org # v4.14+ Fixes: 0eed8d097612 ("arm: dts: mt7623: Add SD-card and EMMC to bananapi-r2") Signed-off-by: Sean Wang --- a

[PATCH 2/3] arm: dts: mt7623: update mmc related nodes with the appropriate fallback

2017-11-29 Thread sean.wang
From: Sean Wang The current mmc related nodes should be falling back to MT2701 as the dt-binding defines and which has more appropriate setup for MT7623. Signed-off-by: Sean Wang --- arch/arm/boot/dts/mt7623.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/

[PATCH 1/3] mmc: dt-bindings: add mmc support to MT7623 SoC

2017-11-29 Thread sean.wang
From: Sean Wang Add the devicetree binding for MT7623 SoC using MT2701 as the fallback. Cc: devicet...@vger.kernel.org Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/mmc/mtk-sd.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/mtk-s

[PATCH 0/3] Misc fixes up for MT7623 mmc

2017-11-29 Thread sean.wang
From: Sean Wang Just add some fixes up for the current MT7623 support Patch 1) complement the missing dt-bindings definitions Patch 2) pick up the proper falling back as patch 1 defines. Patch 3) SD-card detection issue caused by the wrong polarity is being fixed up Sean Wang (3): mmc: dt-bin

Re: 答复: 答复: [PATCH v7,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-29 Thread Lee Jones
On Wed, 29 Nov 2017, 冯锐 wrote: > > On Tue, Nov 28, 2017 at 09:33:23AM +, Lee Jones wrote: > > > On Tue, 28 Nov 2017, 冯锐 wrote: > > > > > > > > On Tue, 28 Nov 2017, Lee Jones wrote: > > > > > > > > > > > On Tue, 28 Nov 2017, perry.y...@dell.com wrote: > > > > > > > Hi Greg. > > > > > > > The Pa

Re: [PATCH v8,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-29 Thread Lee Jones
On Wed, 29 Nov 2017, rui_f...@realsil.com.cn wrote: > From: Rui Feng > > Because Realtek card reader drivers are pcie and usb drivers, > and they bridge mmc subsystem and memstick subsystem, they are > not mfd drivers. Greg and Lee Jones had a discussion about > where to put the drivers, the res

Re: [PATCH v2 09/23] firmware: use static inline for to_fw_priv()

2017-11-29 Thread Greg KH
On Mon, Nov 20, 2017 at 10:23:55AM -0800, Luis R. Rodriguez wrote: > This lets us type check the callers. > > Signed-off-by: Luis R. Rodriguez > --- > drivers/base/firmware_class.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/base/firmware_class.c b/drive

Re: 答复: 答复: [PATCH v7,1/2] misc: rtsx: Move Realtek Card Reader Driver to misc

2017-11-29 Thread Lee Jones
On Wed, 29 Nov 2017, Lee Jones wrote: > On Wed, 29 Nov 2017, 冯锐 wrote: > > > > On Tue, Nov 28, 2017 at 09:33:23AM +, Lee Jones wrote: > > > > On Tue, 28 Nov 2017, 冯锐 wrote: > > > > > > > > > > On Tue, 28 Nov 2017, Lee Jones wrote: > > > > > > > > > > > > > On Tue, 28 Nov 2017, perry.y...@dell

Re: [PATCH v8,2/2] misc: rtsx: Add support for RTS5260

2017-11-29 Thread Lee Jones
On Wed, 29 Nov 2017, rui_f...@realsil.com.cn wrote: > From: Rui Feng > > Add support for new chip rts5260. > In order to support rts5260, the definitions of > some internal registers and workflow have to be > modified and are different from its predecessors > and OCP function is added for RTS526

Re: [PATCH] leaking_addresses: add support for 32-bit kernel addresses

2017-11-29 Thread Tobin C. Harding
On Wed, Nov 29, 2017 at 09:59:59AM +0200, Alexander Kapshuk wrote: > On Tue, Nov 28, 2017 at 11:10 PM, Tobin C. Harding wrote: > > On Tue, Nov 28, 2017 at 03:16:24PM +0200, Alexander Kapshuk wrote: > >> On Tue, Nov 28, 2017 at 8:32 AM, Tobin C. Harding wrote: > >> > Currently, leaking_addresses.p

[GIT PULL] tee fix for v4.15

2017-11-29 Thread Jens Wiklander
Hi arm-soc maiantainers, Please pull this OP-TEE driver init fix for v4.15 Thanks, Jens The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26 16:01:47 -0800) are available in the git repository at: https://git.linaro.org/people/jens.wiklan

Re: [PATCH v2 10/23] firmware: add helper to copy built-in data to pre-alloc buffer

2017-11-29 Thread Greg KH
On Mon, Nov 20, 2017 at 10:23:56AM -0800, Luis R. Rodriguez wrote: > This makes it clearer that the parameters passed are only used for > the preallocated buffer option, ie, when a caller uses: > > request_firmware_into_buf() > > Otherwise this code won't run. We flip the logic just so the

Re: [PATCH] mm, memcg: fix mem_cgroup_swapout() for THPs

2017-11-29 Thread Johannes Weiner
On Tue, Nov 28, 2017 at 08:19:41AM -0800, Shakeel Butt wrote: > The commit d6810d730022 ("memcg, THP, swap: make mem_cgroup_swapout() > support THP") changed mem_cgroup_swapout() to support transparent huge > page (THP). However the patch missed one location which should be > changed for correctly

[PATCH] crypto: AF_ALG - wait for data at beginning of recvmsg

2017-11-29 Thread Stephan Müller
The wait for data is a non-atomic operation that can sleep and therefore potentially release the socket lock. The release of the socket lock allows another thread to modify the context data structure. The waiting operation for new data therefore must be called at the beginning of recvmsg. This prev

Re: [PATCH v6 03/17] mfd: madera: Add common support for Cirrus Logic Madera codecs

2017-11-29 Thread Linus Walleij
On Thu, Nov 23, 2017 at 6:13 PM, Richard Fitzgerald wrote: > +config MFD_MADERA_I2C > + bool "Cirrus Logic Madera codecs with I2C" > + select MFD_MADERA > + select REGMAP_I2C > + depends on I2C > + depends on PINCTRL > + help > + Support for the Cirrus

[PATCH v4 1/6] ARM: dts: imx6qdl-pinfunc: Add missing MX6QDL_PAD_ENET_RXD0__OSC32K_32K_OUT

2017-11-29 Thread Neil Armstrong
Add missing pinmux entry for OSC32K_32K_OUT on pad ENET_RXD0 used by the Variscite DART-MX6 SoM. Reviewed-by: Fabio Estevam Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/imx6dl-pinfunc.h | 1 + arch/arm/boot/dts/imx6q-pinfunc.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/a

Re: [PATCH v2 16/23] test_firmware: enable custom fallback testing on limited kernel configs

2017-11-29 Thread Greg KH
On Mon, Nov 20, 2017 at 10:24:02AM -0800, Luis R. Rodriguez wrote: > When a kernel is not built with: > > CONFIG_HAS_FW_LOADER_USER_HELPER_FALLBACK=y > > We don't currently enable testing fw_fallback.sh. For kernels that > still enable the fallback mechanism, its possible to use the async > reque

Re: [PATCH v6 10/17] pinctrl: madera: Add DT bindings for Cirrus Logic Madera codecs

2017-11-29 Thread Linus Walleij
On Thu, Nov 23, 2017 at 6:13 PM, Richard Fitzgerald wrote: > This is the binding description of the pinctrl driver for Cirru Logic > Madera codecs. The binding uses the generic pinctrl binding so the main > purpose here is to describe the device-specific names for groups and > functions. > > Sig

[PATCH v4 0/6] ARM: Add Variscite DART-MX6 SoM and Carrier-board support

2017-11-29 Thread Neil Armstrong
This patchset adds support for the Variscite DART-MX6 SoM with : - i.MX6 Quad or Dual Lite SoC - 1Gb/2Gb LPDDR2 - 4-64 GB eMMC - Camera Interface - HDMI+CEC interface - LVDS / DSI / Parallel RGB interfaces - Ethernet RGMII interface - On-SoM Wi-Fi/Bluetooth with WiLink wl1835 SDIO Module - SD/MMC/S

[PATCH v4 2/6] dt-bindings: Add vendor prefix for Solomon Goldentek Display Corporation

2017-11-29 Thread Neil Armstrong
Solomon Goldentek Display Corporation is a Taiwanese LCD/LCM manufacturer. Company Site: http://www.goldentek.com.tw Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/de

[GIT PULL] Immutable branch between MFD, Memstick, Misc and MMC due for the v4.16 merge window

2017-11-29 Thread Lee Jones
Hi All, Need to send this out twice due to a lack of a 0/X patch and different addressees on each patch. :( The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26

[PATCH v4 5/6] ARM: dts: imx6q: Add Variscite DART-MX6 Carrier-board support

2017-11-29 Thread Neil Armstrong
This patch adds support for the i.MX6 Quad variant of the Variscite DART-MX6 SoM Carrier-Board. This Carrier-Board has the following : - LVDS interface for the VLCD-CAP-GLD-LVDS 7" LCD 800 x 480 touch display - HDMI Connector - USB Host + USB OTG Connector - 10/100/1000 Mbps Ethernet - miniPCI-Exp

[PATCH v4 6/6] ARM: configs: Add missing config for DART-MX6 SoM

2017-11-29 Thread Neil Armstrong
This patch adds the missing configs for the DART-MX6 SoM support : - SERDEV bluetooth driver + SERIAL_DEV_BUS configs - WL18XX driver - DEFAULT_ON Led Trigger Reviewed-by: Fabio Estevam Signed-off-by: Neil Armstrong --- arch/arm/configs/imx_v6_v7_defconfig | 6 ++ 1 file changed, 6 insertio

Re: [PATCH] crypto: AF_ALG - wait for data at beginning of recvmsg

2017-11-29 Thread Herbert Xu
On Wed, Nov 29, 2017 at 11:17:26AM +0100, Stephan Müller wrote: > > @@ -111,6 +111,12 @@ static int _aead_recvmsg(struct socket *sock, struct > msghdr *msg, > size_t usedpages = 0; /* [in] RX bufs to be used from user */ > size_t processed = 0; /* [in] TX bufs to

[GIT PULL] Immutable branch between MFD, Memstick, Misc and MMC due for the v4.16 merge window

2017-11-29 Thread Lee Jones
Hi All, Need to send this out twice due to a lack of a 0/X patch and different addressees on each patch. :( The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linux 4.15-rc1 (2017-11-26

Re: [PATCH v2 16/23] test_firmware: enable custom fallback testing on limited kernel configs

2017-11-29 Thread Greg KH
On Mon, Nov 20, 2017 at 10:24:02AM -0800, Luis R. Rodriguez wrote: > When a kernel is not built with: > > CONFIG_HAS_FW_LOADER_USER_HELPER_FALLBACK=y > > We don't currently enable testing fw_fallback.sh. For kernels that > still enable the fallback mechanism, its possible to use the async > reque

Re: [RFC PATCH v2 1/7] ASoC: Intel: Fix Kconfig with top-level selector

2017-11-29 Thread Vinod Koul
On Tue, Nov 28, 2017 at 07:45:45PM -0600, Pierre-Louis Bossart wrote: I am not sure about top level being default to Y... > config SND_SST_ATOM_HIFI2_PLATFORM > tristate "Intel ASoC SST driver for HiFi2 platforms (*field, *trail)" > - depends on SND_SOC_INTEL_SST_TOPLEVEL && X86 > +

[PATCH v4 4/6] ARM: dts: imx6qdl: Add Variscite DART-MX6 SoM support

2017-11-29 Thread Neil Armstrong
This patch adds support for the Variscite DART-MX6 SoM with : - i.MX6 Quad or Dual Lite SoC - 1Gb/2Gb LPDDR2 - 4-64 GB eMMC - Camera Interface - HDMI+CEC interface - LVDS / DSI / Parallel RGB interfaces - Ethernet RGMII interface - On-SoM Wi-Fi/Bluetooth with WiLink wl1835 SDIO Module - SD/MMC/SDIO

[PATCH v4 3/6] dt-bindings: display: Add bindings for SGD GKTW70SDAE4SE Panel

2017-11-29 Thread Neil Armstrong
The GKTW70SDAE4SE is an LVDS display panel. Their bindings are modelled on the the LVDS panel bindings. Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- .../bindings/display/panel/sgd,gktw70sdae4se.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 D

[GIT PULL] tee async tee supplicant communication for v4.16

2017-11-29 Thread Jens Wiklander
Hi arm-soc maintainers, Please pull these tee driver changes. This implements support for asynchronous communication with TEE supplicant. This isn't a bugfix so I'm aiming for the next merge window. Thanks, Jens The following changes since commit 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323: Linu

Re: [RFC PATCH v2 5/7] ASoC: Intel: boards: align Kconfig dependencies for Haswell/Broadwell

2017-11-29 Thread Vinod Koul
On Tue, Nov 28, 2017 at 07:45:49PM -0600, Pierre-Louis Bossart wrote: > Make sure that the same I2C/I2C_DESIGNWARE_PLATFORM are selected. > The latter might actually need to be moved to the SOC side of things, > it really has no place in a machine driver dependency not really, given that we will c

Re: [PATCH v2 16/23] test_firmware: enable custom fallback testing on limited kernel configs

2017-11-29 Thread Greg KH
On Mon, Nov 20, 2017 at 10:24:02AM -0800, Luis R. Rodriguez wrote: > When a kernel is not built with: > > CONFIG_HAS_FW_LOADER_USER_HELPER_FALLBACK=y > > We don't currently enable testing fw_fallback.sh. For kernels that > still enable the fallback mechanism, its possible to use the async > reque

Re: [PATCH v2 19/23] firmware: add debug facility to emulate forcing sysfs fallback

2017-11-29 Thread Greg KH
On Mon, Nov 20, 2017 at 10:24:05AM -0800, Luis R. Rodriguez wrote: > The CONFIG_FW_LOADER_USER_HELPER_FALLBACK kernel config is not > enabled my major distros, however its known to be enabled on > some Android kernels. Testing the firmware API properly then > means to test at least two different ke

Re: [PATCH] crypto: AF_ALG - wait for data at beginning of recvmsg

2017-11-29 Thread Stephan Mueller
Am Mittwoch, 29. November 2017, 11:22:34 CET schrieb Herbert Xu: Hi Herbert, > On Wed, Nov 29, 2017 at 11:17:26AM +0100, Stephan Müller wrote: > > @@ -111,6 +111,12 @@ static int _aead_recvmsg(struct socket *sock, struct > > msghdr *msg,> > > size_t usedpages = 0; /* [in] RX bufs

Re: BUG: unable to handle kernel NULL pointer dereference in kfree

2017-11-29 Thread Dmitry Vyukov
On Wed, Nov 29, 2017 at 11:24 AM, syzbot wrote: > Hello, > > syzkaller hit the following crash on > 43570f0383d6d5879ae585e6c3cf027ba321546f > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/master > compiler: gcc (GCC) 7.1.1 20170620 > .config is attached > Raw console output is

Re: [RFC PATCH] ipc, mqueue: lazy call kern_mount_data in new namespaces

2017-11-29 Thread Giuseppe Scrivano
Andrew Morton writes: > OK, but this simply moves the expense so it happens later on. Why is > that better? the optimization is for new IPC namespaces that don't use mq_open. In this case there won't be any kern_mount_data cost at all. Regards, Giuseppe

Re: [PATCH] arm64: kaslr: Fix kaslr end boundary of virt addr

2017-11-29 Thread Ard Biesheuvel
On 28 November 2017 at 20:41, Ard Biesheuvel wrote: > On 21 November 2017 at 03:44, Chen Feng wrote: >> With kaslr and kasan enable both, I got the follow issue. >> >> [ 16.130523s]kasan: reg->base = 1, phys_end =1c000,start = >> 4000, end = ffc0 >> [ 16.1

Re: [Lkft-triage] [PATCH 4.9 000/138] 4.9.66-stable review

2017-11-29 Thread Greg Kroah-Hartman
On Wed, Nov 29, 2017 at 10:07:02AM +, Mark Brown wrote: > On Wed, Nov 29, 2017 at 09:07:45AM +0100, Greg Kroah-Hartman wrote: > > On Tue, Nov 28, 2017 at 11:07:01PM +0530, Naresh Kamboju wrote: > > > > Results from Linaro’s test farm. > > > No regressions on arm64, arm and x86_64. > > > Thank

[PATCH 0/6] more KAISER bits

2017-11-29 Thread Peter Zijlstra
Here's more patches, includes the TLB invalidate rework. Has not actually been tested on a INVPCID machine yet, but does seem to work fine on my IVB-EP (which is PCID only).

Re: ALSA: nm256: Fine-tuning for three function implementations

2017-11-29 Thread SF Markus Elfring
>> My update selection can contain also trivial adjustments. > > The *really* trivial ones were applied. Did you leave a few from this change category over which could be integrated a bit later? Regards, Markus

[PATCH 5/6] x86/mm/kaiser: Optimize RESTORE_CR3

2017-11-29 Thread Peter Zijlstra
Currently RESTORE_CR3 does an unconditional flush (SAVE_AND_SWITCH_TO_KERNEL_CR3 does not set bit 63 on \save_reg). When restoring to a user ASID, check the user_asid_flush_mask to see if we can avoid the flush. For kernel ASIDs we can unconditionaly avoid the flush, since we do explicit flushes

[PATCH 2/6] x86/mm/kaiser: Fix inconsistency in SAVE_AND_SWITCH_TO_KERNEL_CR3

2017-11-29 Thread Peter Zijlstra
For some obscure reason \scratch_reg is not including the %r while \save_reg is. Also-Reported-by: Borislav Petkov Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/entry/calling.h | 10 +- arch/x86/entry/entry_64.S |2 +- 2 files changed, 6 insertions(+), 6 deletions(-) --- a/

[PATCH 4/6] x86/mm/kaiser: Support PCID without INVPCID

2017-11-29 Thread Peter Zijlstra
Instead of relying on INVPCID to shoot down user PCID, delay the invalidate until we switch to the user page-tables. This gets rid of the INVPCID dependence for KAISER PCID. XXX we could do a much larger ALTERNATIVE, there is no point in testing the mask if we don't have PCID support. Suggested-

[PATCH 1/6] x86/mm/kaiser: Add some static

2017-11-29 Thread Peter Zijlstra
These fuctions are only used in this TU, make em static. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/mm/kaiser.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) --- a/arch/x86/mm/kaiser.c +++ b/arch/x86/mm/kaiser.c @@ -260,8 +260,8 @@ static pte_t *kaiser_shadow_pageta

Re: [PATCH 4.4 00/96] 4.4.103-stable review

2017-11-29 Thread Greg Kroah-Hartman
On Wed, Nov 29, 2017 at 03:23:27PM +0530, Naresh Kamboju wrote: > On 29 November 2017 at 13:37, Greg Kroah-Hartman > wrote: > > On Tue, Nov 28, 2017 at 10:56:45PM +0530, Naresh Kamboju wrote: > >> On 28 November 2017 at 15:52, Greg Kroah-Hartman > >> wrote: > >> > This is the start of the stable

[PATCH 3/6] x86/mm/kaiser: Allow PCID with nokaiser

2017-11-29 Thread Peter Zijlstra
Currently KAISER kills PCID on platforms that lack INVPCID, even when nokaiser. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/tlbflush.h |9 + arch/x86/mm/init.c |2 +- arch/x86/mm/tlb.c |7 ++- 3 files changed, 12 insertions(+)

[PATCH 6/6] x86/mm/kaiser: Optimize __native_flush_tlb

2017-11-29 Thread Peter Zijlstra
Now that we have lazy user asid flushing, use that even if we have INVPCID. Even if INVPCID would not be slower than a flushing CR3 write (it is) this allows folding multiple user flushes. Signed-off-by: Peter Zijlstra (Intel) --- arch/x86/include/asm/tlbflush.h | 38 ++

[PATCH v2] RDMA/iwpm: Fix uninitialized error code in iwpm_send_mapinfo()

2017-11-29 Thread Geert Uytterhoeven
With gcc-4.1.2: drivers/infiniband/core/iwpm_util.c: In function ‘iwpm_send_mapinfo’: drivers/infiniband/core/iwpm_util.c:647: warning: ‘ret’ may be used uninitialized in this function Indeed, if nl_client is not found in any of the scanned has buckets, ret will be used uninitialized. P

[PATCH] net: ethernet: xilinx: Mark XILINX_LL_TEMAC broken on 64-bit

2017-11-29 Thread Geert Uytterhoeven
On 64-bit (e.g. powerpc64/allmodconfig): drivers/net/ethernet/xilinx/ll_temac_main.c: In function 'temac_start_xmit_done': drivers/net/ethernet/xilinx/ll_temac_main.c:633:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] dev_kfree_skb_irq((struct

Re: [PATCH RFC 1/2] sched: Minimize the idle cpu selection race window.

2017-11-29 Thread Uladzislau Rezki
On Tue, Nov 28, 2017 at 11:49:11AM +0100, Mike Galbraith wrote: > On Tue, 2017-11-28 at 10:34 +0100, Uladzislau Rezki wrote: > > On Fri, Nov 24, 2017 at 07:46:30PM +0100, Mike Galbraith wrote: > > > > > My view is you're barking up the wrong tree: you're making the idle > > > data SIS is using mor

Re: [RESEND PATCH] ARM: Fix csum_partial_copy_from_user() stack mismatch

2017-11-29 Thread Russell King - ARM Linux
Hi, Sorry for the late response, _all_ your messages are going into my junk mailboxes because your mail server DNS is incorrectly configured. $ host 222.66.158.135 135.158.66.222.in-addr.arpa domain name pointer sci-ig2.spreadtrum.com. $ host sci-ig2.spreadtrum.com sci-ig2.spreadtrum.com is an al

Re: [PATCH] crypto: AF_ALG - wait for data at beginning of recvmsg

2017-11-29 Thread Herbert Xu
On Wed, Nov 29, 2017 at 11:28:43AM +0100, Stephan Mueller wrote: > Am Mittwoch, 29. November 2017, 11:22:34 CET schrieb Herbert Xu: > > Hi Herbert, > > > On Wed, Nov 29, 2017 at 11:17:26AM +0100, Stephan Müller wrote: > > > @@ -111,6 +111,12 @@ static int _aead_recvmsg(struct socket *sock, struct

Re: [Lkft-triage] [PATCH 4.9 000/138] 4.9.66-stable review

2017-11-29 Thread Mark Brown
On Wed, Nov 29, 2017 at 11:35:15AM +0100, Greg Kroah-Hartman wrote: > On Wed, Nov 29, 2017 at 10:07:02AM +, Mark Brown wrote: > > There's another internal list for looking at LKFT been set up and > > they've set it up as a mailman list adding subject prefixes :( > That's a pretty horrid thing

Re: Build regressions/improvements in v4.14-rc8

2017-11-29 Thread Geert Uytterhoeven
On Mon, Nov 6, 2017 at 11:41 AM, Geert Uytterhoeven wrote: > [Deleted 853 lines about "'__f' is static but declared in inline function > '...' which is not static [enabled by default]" on i386-randconfig Are there any plans to fix this? It triggers with a config I got from 0day, using the de

[PATCH] rtc: rtc-ds1683 Maxim/Dallas I2C compatible

2017-11-29 Thread venkat . prashanth2498
From: Venkat Prashanth B U This is a patch to add support for maxim/dallas I2C rtc ds1683 chip. Signed-off-by: Venkat Prashanth B U --- drivers/rtc/Kconfig | 9 +++ drivers/rtc/Makefile | 1 + drivers/rtc/rtc-ds1683.c | 203 +++ 3 files

Re: [PATCH 4/6] x86/mm/kaiser: Support PCID without INVPCID

2017-11-29 Thread Peter Zijlstra
On Wed, Nov 29, 2017 at 11:33:05AM +0100, Peter Zijlstra wrote: > +DECLARE_PER_CPU(unsigned long, user_asid_flush_mask); Ah, I meant to make that: DECLARE_BITMAP(TLB_NR_DYN_ASIDS)

[PATCH net v2] tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv()

2017-11-29 Thread Tommi Rantala
Remove the second tipc_rcv() call in tipc_udp_recv(). We have just checked that the bearer is not up, and calling tipc_rcv() with a bearer that is not up leads to a TIPC div-by-zero crash in tipc_node_calculate_timer(). The crash is rare in practice, but can happen like this: We're enabling a be

Re: [alsa-devel] [PATCH 1/5 v4] ASoC: ep93xx-ac97: Fix platform_get_irq's error checking

2017-11-29 Thread Mark Brown
On Mon, Nov 20, 2017 at 09:31:40PM +0530, arvindY wrote: > On Monday 20 November 2017 07:07 PM, Alexandre Belloni wrote: > > On 19/11/2017 at 09:45:00 +0530, Arvind Yadav wrote: > > To ensure this doesn't get applied: platform_get_irq can return > > -EPROBE_DEFER and this must be handled properly.

Re: [PATCH 1/2] watchdog: introduce watchdog.open_timeout commandline parameter

2017-11-29 Thread Rasmus Villemoes
On 2017-11-28 23:14, Guenter Roeck wrote: > On Tue, Nov 28, 2017 at 11:35:49AM +0100, Rasmus Villemoes wrote: >> >> The unit is milliseconds rather than seconds because that covers more >> use cases. For example, one can effectively disable the kernel handling >> by setting the open_timeout to 1 ms

Applied "ASoC: fsl_asrc: Fix typo in a field define" to the asoc tree

2017-11-29 Thread Mark Brown
The patch ASoC: fsl_asrc: Fix typo in a field define has been applied to the asoc tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Li

Applied "regmap: Remove the redundant config to select hwspinlock" to the regmap tree

2017-11-29 Thread Mark Brown
The patch regmap: Remove the redundant config to select hwspinlock has been applied to the regmap tree at https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Re: [PATCH] mfd: ti_am335x_tscadc: remove redundant assignment to node

2017-11-29 Thread Lee Jones
On Sun, 29 Oct 2017, Colin King wrote: > From: Colin Ian King > > Node is being initialized a value that is never read, it is > being written over a few statements into the function with > the return value from call to of_get_child_by_name. Hence > this initialization can be removed. Cleans up c

Re: [RFC PATCH v2 1/7] ASoC: Intel: Fix Kconfig with top-level selector

2017-11-29 Thread Mark Brown
On Wed, Nov 29, 2017 at 03:57:34PM +0530, Vinod Koul wrote: > On Tue, Nov 28, 2017 at 07:45:45PM -0600, Pierre-Louis Bossart wrote: > I am not sure about top level being default to Y... This is the same as the handling of the vendor configuration options for ethernet drivers - it doesn't enable a

Re: [PATCH] mfd: ab8500-debugfs: Use common error handling code in ab8500_print_modem_registers()

2017-11-29 Thread Lee Jones
On Fri, 27 Oct 2017, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 27 Oct 2017 17:20:45 +0200 > > Add jump targets so that two error messages are stored only once > at the end of this function implementation. > > This issue was detected by using the Coccinelle software. > > Sign

[PATCH v2] crypto: AF_ALG - wait for data at beginning of recvmsg

2017-11-29 Thread Stephan Müller
The wait for data is a non-atomic operation that can sleep and therefore potentially release the socket lock. The release of the socket lock allows another thread to modify the context data structure. The waiting operation for new data therefore must be called at the beginning of recvmsg. This prev

Re: [PATCH] leaking_addresses: add support for 32-bit kernel addresses

2017-11-29 Thread Kaiwan N Billimoria
Hi, On Wed, Nov 29, 2017 at 3:46 PM, Tobin C. Harding wrote: > On Wed, Nov 29, 2017 at 09:59:59AM +0200, Alexander Kapshuk wrote: >> On Tue, Nov 28, 2017 at 11:10 PM, Tobin C. Harding wrote: >> > On Tue, Nov 28, 2017 at 03:16:24PM +0200, Alexander Kapshuk wrote: >> >> On Tue, Nov 28, 2017 at 8:3

Re: [PATCH 1/2] scsi: ses: Fix space before '[' error.

2017-11-29 Thread Greg KH
On Sat, Nov 11, 2017 at 08:46:19PM +0530, Arvind Yadav wrote: > Fix checkpatch.pl error: > ERROR: space prohibited before open square bracket '['. > > Signed-off-by: Arvind Yadav > --- > drivers/misc/enclosure.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Your subject does not s

Re: [PATCH] mfd: palmas: Assign the right powerhold mask for tps65917

2017-11-29 Thread Lee Jones
On Tue, 24 Oct 2017, Keerthy wrote: > The powerhold mask for TPS65917 is different when comapred to > the other palmas versions. Hence assign the right mask that enables > power off of tps65917 pmic correctly. > > Signed-off-by: Keerthy > --- > drivers/mfd/palmas.c | 10 +- > incl

Re: [PATCH 2/2] scsi: ses: Remove unnecessary error check

2017-11-29 Thread Greg KH
On Sat, Nov 11, 2017 at 08:46:20PM +0530, Arvind Yadav wrote: > It is not necessary to check return value of class_register. > enclosure_init returns both successful and error value. > > Signed-off-by: Arvind Yadav > --- > drivers/misc/enclosure.c | 8 +--- > 1 file changed, 1 insertion(+),

Re: [PATCH v2] crypto: AF_ALG - race-free access of encryption flag

2017-11-29 Thread Stephan Müller
Am Mittwoch, 29. November 2017, 08:10:49 CET schrieb Herbert Xu: Hi Herbert, > > It sort of worked for skcipher because it didn't care if ctx->enc > or even ctx->iv changed midstream. But even there I don't think > we need to wait a second time. In fact waiting a second time could > result in

Re: [PATCH 1/2] mfd: cros ec: spi: Don't send first message too soon

2017-11-29 Thread Lee Jones
On Mon, 13 Nov 2017, Jon Hunter wrote: > On the Tegra124 Nyan-Big chromebook the very first SPI message sent to > the EC is failing. > > The Tegra SPI driver configures the SPI chip-selects to be active-high > by default (and always has for many years). The EC SPI requires an > active-low chip-se

Re: [PATCH 2/2] mfd: cros ec: spi: Simplify delay handling between SPI messages

2017-11-29 Thread Lee Jones
On Mon, 13 Nov 2017, Jon Hunter wrote: > The EC SPI driver prevents SPI transfers being to rapidly by keeping > track of the time the last transfer was issued via the > 'last_transfer_ns' variable. Previously, if the 'last_transfer_ns' > variable was zero, this indicated that no previous transfer

[PATCH v2] tpm: return a TPM_RC_COMMAND_CODE response if a command isn't implemented

2017-11-29 Thread Javier Martinez Canillas
According to the TPM Library Specification, a TPM device must do a command header validation before processing and return a TPM_RC_COMMAND_CODE code if the command is not implemented. So user-space will expect to handle that response as an error. But if the in-kernel resource manager is used (/dev

[PATCH] PM: Provide a config snippet for disabling PM

2017-11-29 Thread Mark Brown
A frequent source of build problems is poor handling of optional PM support, almost all development is done with the PM options enabled but they can be turned off. Currently few if any of the build test services do this as standard as there is no standard config for it and the use of selects and d

Re: [PATCH] trace/xdp: fix compile warning: ‘struct bpf_map’ declared inside parameter list

2017-11-29 Thread Daniel Borkmann
On 11/29/2017 10:15 AM, Jesper Dangaard Brouer wrote: > On Wed, 29 Nov 2017 16:35:01 +0800 > Xie XiuQi wrote: > >> We meet this compile warning, which caused by missing bpf.h in xdp.h. >> >> In file included from ./include/trace/events/xdp.h:10:0, >> from ./include/linux/bpf_trac

[PATCH 0/4] lockd refcount conversions

2017-11-29 Thread Elena Reshetova
This series, for lockd component, replaces atomic_t reference counters with the new refcount_t type and API (see include/linux/refcount.h). By doing this we prevent intentional or accidental underflows or overflows that can led to use-after-free vulnerabilities. The patches are fully independent a

[PATCH 4/4] lockd: convert nlm_rqst.a_count from atomic_t to refcount_t

2017-11-29 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

[PATCH 1/4] lockd: convert nlm_host.h_count from atomic_t to refcount_t

2017-11-29 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

Re: [PATCH V2 1/2] mfd: cros ec: spi: Don't send first message too soon

2017-11-29 Thread Lee Jones
On Tue, 28 Nov 2017, Jon Hunter wrote: > On 14/11/17 14:43, Jon Hunter wrote: > > On the Tegra124 Nyan-Big chromebook the very first SPI message sent to > > the EC is failing. > > > > The Tegra SPI driver configures the SPI chip-selects to be active-high > > by default (and always has for many yea

[PATCH 2/4] lockd: convert nsm_handle.sm_count from atomic_t to refcount_t

2017-11-29 Thread Elena Reshetova
atomic_t variables are currently used to implement reference counters with the following properties: - counter is initialized to 1 using atomic_set() - a resource is freed upon counter reaching zero - once counter reaches zero, its further increments aren't allowed - counter schema uses basi

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