Re: [PATCH] proc: add proc_seq_release

2018-06-26 Thread Christoph Hellwig
Al, can you pick up this fix from Chunyu? On Tue, Jun 26, 2018 at 08:20:52AM -0400, Chunyu Hu wrote: > > > - Original Message - > > From: "Christoph Hellwig" > > To: "Chunyu Hu" > > Cc: v...@zeniv.linux.org.uk, h...@lst.de, linux-fsde...@vger.kernel.org, > > linux-kernel@vger.kernel.o

Re: [lkp-robot] [fs] 3deb642f0d: will-it-scale.per_process_ops -8.8% regression

2018-06-26 Thread Christoph Hellwig
On Tue, Jun 26, 2018 at 02:03:38PM +0800, Ye Xiaolong wrote: > Hi, > > On 06/22, Christoph Hellwig wrote: > >Hi Xiaolong, > > > >can you retest this workload on the following branch: > > > >git://git.infradead.org/users/hch/vfs.git remove-get-poll-head > > > >Gitweb: > > > > > > http://git

Re: moving affs + RDB partition support to staging?

2018-06-26 Thread jdow
an for the user to make a bonehead stupid move and lose all his treasured disk archives. Doing otherwise is very poor form. {o.o} Joanne "Said enough, she has" Dow On 20180626 18:07, Michael Schmitz wrote: Joanne, As far as I have been able to test, the change is backwards compat

Re: [PATCH] ARM: mvebu: declare asm symbols as character arrays in pmsu.c

2018-06-26 Thread Gregory CLEMENT
Hi Ethan, On mar., juin 19 2018, Ethan Tuttle wrote: > With CONFIG_FORTIFY_SOURCE, memcpy uses the declared size of operands to > detect buffer overflows. If src or dest is declared as a char, attempts to > copy more than byte will result in a fortify_panic(). > > Address this problem in mveb

Re: [PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-06-26 Thread Vincent Guittot
Hi Georgi On Wed, 20 Jun 2018 at 14:11, Georgi Djakov wrote: [snip] > + > +static struct icc_path *path_allocate(struct icc_node *dst, ssize_t > num_nodes) > +{ > + struct icc_node *node = dst; > + struct icc_path *path; > + size_t i; > + > + path = kzalloc(sizeof(*path

Re: [PATCH] tpm: Add module parameter for hwrng quality.

2018-06-26 Thread Louis Collard
Thanks for all the replies, let me add some background around the motivation for this change. On some systems we have seen large delays in boot time, due to blocking on a call to getrandom() before the entropy pool has been initialized. On these systems the usual sources of entropy are not suffici

Re: [PATCH V4] ARM: dts: armada388-helios4

2018-06-26 Thread Gregory CLEMENT
Hi Dennis, On mar., juin 05 2018, Dennis Gilmore wrote: > The helios4 is a Armada388 based nas board designed by SolidRun and > based on their SOM. It is sold by kobol.io the dts file came from > https://raw.githubusercontent.com/armbian/build/master/patch/kernel/mvebu-default/95-helios4-devic

Re: [PATCH] tpm: Allow tpm_tis drivers to set hwrng quality.

2018-06-26 Thread Louis Collard
Hi sorry I'm not sure I understand; I based the change on linux-next master, let me know if I should be using something else. The change is not dependent on https://patchwork.kernel.org/patch/10453893/ On Wed, Jun 27, 2018 at 1:28 PM, Louis Collard wrote: > Hi sorry I'm not sure I understand; I b

Re: [PATCH 2/2] clk: actions: Add S700 SoC clock support

2018-06-26 Thread kbuild test robot
Hi Saravanan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on v4.18-rc2 next-20180626] [cannot apply to robh/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

Re: [PATCH 2/2] clk: actions: Add S700 SoC clock support

2018-06-26 Thread kbuild test robot
Hi Saravanan, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on clk/clk-next] [also build test WARNING on v4.18-rc2 next-20180626] [cannot apply to robh/for-next] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system

Re: [PATCH 2/6] x86,tlb: leave lazy TLB mode at page table free time

2018-06-26 Thread kbuild test robot
Hi Rik, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.18-rc2 next-20180626] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH 4/5] kbuild: disable KBUILD_MODNAME when building for mod.a

2018-06-26 Thread Masahiro Yamada
2018-06-18 13:55 GMT+09:00 NeilBrown : > When building an object to be included in mod.a we > cannot know the name of the module. So don't define > KBUILD_MODNAME. This will ensure attempt to use > that macro when the module name isn't know will > trigger an error. Honestly, I hate KBUILD_MODNAM

Re: [PATCH 1/2] fs: fsnotify: account fsnotify metadata to kmemcg

2018-06-26 Thread Amir Goldstein
On Tue, Jun 26, 2018 at 11:05 PM, Shakeel Butt wrote: > On Tue, Jun 26, 2018 at 12:03 PM Johannes Weiner wrote: >> >> On Mon, Jun 25, 2018 at 04:06:58PM -0700, Shakeel Butt wrote: >> > @@ -140,8 +141,9 @@ struct fanotify_event_info >> > *fanotify_alloc_event(struct fsnotify_group *group, >> >

Re: linux-next: manual merge of the rdma tree with the rdma-fixes tree

2018-06-26 Thread Leon Romanovsky
On Wed, Jun 27, 2018 at 10:07:26AM +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the rdma tree got a conflict in: > > drivers/infiniband/core/uverbs_cmd.c > > between commit: > > 940efcc8889f ("RDMA/uverbs: Protect from attempts to create flows on > unsupported QP")

[PATCH v3 0/2] Add a property in at24.c

2018-06-26 Thread alanx . chiang
From: Alan Chiang In at24.c, it uses 8-bit addressing by default. In this patch, add a property address-width that provides a flexible method to pass the information to the driver. Alan Chiang (2): dt-bindings: at24: Add address-width property eeprom: at24: Add support for address-width prop

[PATCH v3 1/2] dt-bindings: at24: Add address-width property

2018-06-26 Thread alanx . chiang
From: Alan Chiang The AT24 series chips use 8-bit address by default. If some chips would like to support more than 8 bits, the at24 driver should be added the compatible field for specfic chips. Provide a flexible way to determine the addressing bits through address-width in this patch. Signed

[PATCH v3 2/2] eeprom: at24: Add support for address-width property

2018-06-26 Thread alanx . chiang
From: Alan Chiang Provide a flexible way to determine the addressing bits of eeprom. Pass the addressing bits to driver through address-width property. Signed-off-by: Alan Chiang Signed-off-by: Andy Yeh --- since v1 -- Add a warn message for 8-bit addressing. since v2 -- Modify the warning me

[PATCH] x86/entry/64/compat: Fix "x86/entry/64/compat: Preserve r8-r11 in int $0x80"

2018-06-26 Thread Andy Lutomirski
Commit 8bb2610bc496 ("x86/entry/64/compat: Preserve r8-r11 in int $0x80") was busted. My original patch had a minor conflict with some of the nospec changes. git apply is very clever and silently accepted the patch by making the same changes to a different function in the same file. There was ob

[PATCH v4 5/7] Bluetooth: Extend btuart driver for join more vendor devices

2018-06-26 Thread sean.wang
From: Sean Wang Adding an independent btuart.h header allows these essential definitions can be reused in vendor driver. Also, struct btuart_vnd is extended with additional callbacks such as .init initializing vendor data, .shtudown, .recv and .send supporting SoC specific framing for that btuart

[PATCH v4 7/7] MAINTAINERS: add an entry for MediaTek Bluetooth driver

2018-06-26 Thread sean.wang
From: Sean Wang Add an entry for the MediaTek Bluetooth driver. Signed-off-by: Sean Wang --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9d5eeff..b06e38d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8987,6 +8987,14 @@ F: inclu

[PATCH v4 3/7] Bluetooth: Add new serdev based driver for UART attached controllers

2018-06-26 Thread sean.wang
From: Marcel Holtmann This is a from scratch written driver to run H:4 on serdev based system with a Bluetooth controller attached via an UART. It is currently tested on RPi3 and it has Broadcom integration. It is DT only and is missing GPIO and runtime power management integration. Also Apple or

[PATCH v4 0/7] add support for Bluetooth on MT7622 SoC

2018-06-26 Thread sean.wang
From: Sean Wang v4 and changes since v3: - refine patch 2 based on commit 919b7308fcc4 to allow that dev_pm_domain_attach() will return better error codes. v3 and changes since v2 * all changes happen on patch 6 - fix up SPDX license style for btmtkuart.h. - change firmware download from

[PATCH v4 6/7] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-06-26 Thread sean.wang
From: Sean Wang This adds a driver to run on the top of btuart driver for the MediaTek serial protocol based on running H:4, which can enable the built-in Bluetooth device inside MT7622 SoC. Signed-off-by: Sean Wang --- drivers/bluetooth/Kconfig | 12 ++ drivers/bluetooth/Makefile|

[PATCH v4 1/7] dt-bindings: net: bluetooth: Add mediatek-bluetooth

2018-06-26 Thread sean.wang
From: Sean Wang Add binding document for a SoC built-in device using MediaTek protocol. Which could be found on MT7622 SoC or other similar MediaTek SoCs. Signed-off-by: Sean Wang Reviewed-by: Rob Herring --- .../devicetree/bindings/net/mediatek-bluetooth.txt | 35 ++ 1 fi

[PATCH v4 2/7] serdev: add dev_pm_domain_attach|detach()

2018-06-26 Thread sean.wang
From: Sean Wang In order to open up the required power gate before any operation can be effectively performed over the serial bus between CPU and serdev, it's clearly essential to add common attach functions for PM domains to serdev at the probe phase. Similarly, the relevant dettach function fo

[PATCH v4 4/7] Bluetooth: Add new quirk for non-persistent setup settings

2018-06-26 Thread sean.wang
From: Sean Wang Add a new quirk HCI_QUIRK_NON_PERSISTENT_SETUP allowing that a quirk that runs setup() after every open() and not just after the first open(). Signed-off-by: Sean Wang --- include/net/bluetooth/hci.h | 9 + net/bluetooth/hci_core.c| 3 ++- 2 files changed, 11 insert

[PATCH] linux-firmware: mediatek: add MT7622 Bluetooth firmwares and license file

2018-06-26 Thread sean.wang
From: Sean Wang Add MT7622 Bluetooth firmware files, along with the corresponding MediaTek license file. Signed-off-by: Sean Wang --- LICENCE.mediatek| 9 + WHENCE | 9 + mediatek/mt7622pr2h.bin | Bin 0 -> 78158 bytes 3 files changed, 18 insertions

[GIT PULL] arch/microblaze patches for 4.18-rc3

2018-06-26 Thread Michal Simek
Hi Linus, please pull the following patches to your tree. Thanks, Michal The following changes since commit f0dc7f9c6dd99891611fca5849cbc4c6965b690e: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (2018-06-10 19:25:23 -0700) are available in the git repository at: git://g

[PATCH 0/2] A fix and a cleanup to the x86 sigreturn selftests

2018-06-26 Thread Andy Lutomirski
The sigreturn_64 selftest has always failed on AMD CPUs. Fix it and clean it up a bit. Andy Lutomirski (2): selftests/x86/sigreturn/64: Fix spurious failures on AMD CPUs selftests/x86/sigreturn: Minor cleanups tools/testing/selftests/x86/sigreturn.c | 59 +++-- 1 file ch

[PATCH 2/2] selftests/x86/sigreturn: Minor cleanups

2018-06-26 Thread Andy Lutomirski
We have short names for the requested and resulting register values. Use them instead of spelling out the whole register entry for each case. Signed-off-by: Andy Lutomirski --- tools/testing/selftests/x86/sigreturn.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH 1/2] selftests/x86/sigreturn/64: Fix spurious failures on AMD CPUs

2018-06-26 Thread Andy Lutomirski
When I wrote the sigreturn test, I didn't realize that AMD's busted IRET behavior was different from Intel's busted IRET behavior. On AMD CPUs, the CPU leaks the high 32 bits of the kernel stack pointer to certain userspace contexts. Gee, thanks. There's very little the kernel can do about it.

Re: test_syscall_vdso_32 [FAIL]

2018-06-26 Thread Andy Lutomirski
On Mon, Jun 25, 2018 at 6:23 PM Li Zhijian wrote: > > On 6/25/2018 11:40 PM, Andy Lutomirski wrote: > > On Mon, Jun 25, 2018 at 1:41 AM Li Zhijian wrote: > >> Hi > >> > >> Intel 0Day noticed that test_syscall_vdso_32 failed since > >> 8bb2610bc4967f19672444a7b0407367f1540028(x86/entry/64/compat:

[PATCH v4 3/6] soc: qcom: rpmpd: Add a Power domain driver to model corners

2018-06-26 Thread Rajendra Nayak
The Power domains for corners just pass the performance state set by the consumers to the RPM (Remote Power manager) which then takes care of setting the appropriate voltage on the corresponding rails to meet the performance needs. We add all Power domain data needed on msm8996 here. This driver c

[PATCH v4 2/6] dt-bindings: power: Add qcom rpm power domain driver bindings

2018-06-26 Thread Rajendra Nayak
Add DT bindings to describe the rpm/rpmh power domains found on Qualcomm Technologies, Inc. SoCs. These power domains communicate a performance state to RPM/RPMh, which then translates it into corresponding voltage on a PMIC rail. Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar Reviewe

[PATCH v4 4/6] soc: qcom: rpmpd: Add support for get/set performance state

2018-06-26 Thread Rajendra Nayak
Add support for the .set_performace_state() and .opp_to_performance_state() callbacks in the rpmpd driver. Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson --- drivers/soc/qcom/rpmpd.c | 46 1 file changed, 46 insertion

[PATCH v4 6/6] soc: qcom: rpmhpd: Add RPMh Power domain driver

2018-06-26 Thread Rajendra Nayak
The RPMh Power domain driver aggregates the corner votes from various consumers for the ARC resources and communicates it to RPMh. With RPMh we use 2 different numbering space for corners, one used by the clients to express their performance needs, and another used to communicate to RPMh hardware.

[PATCH v4 1/6] dt-bindings: opp: Introduce qcom-opp bindings

2018-06-26 Thread Rajendra Nayak
On Qualcomm Technologies, Inc. platforms, an OPP node needs to describe an additional level/corner value that is then communicated to a remote microprocessor by the CPU, which then takes some actions (like adjusting voltage values across various rails) based on the value passed. Describe these bin

[PATCH v4 5/6] arm64: dts: msm8996: Add rpmpd device node

2018-06-26 Thread Rajendra Nayak
Add rpmpd device node and its OPP table Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar Reviewed-by: Ulf Hansson --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/ar

[PATCH v4 0/6] Add power domain driver for corners on msm8996/sdm845

2018-06-26 Thread Rajendra Nayak
Changes in v4: * Included the patch to add qcom-opp bindings (dropped accidentally in v3) * merged the patches to add bindings for rpm and rpmh, added consumer binding example * Made the drivers built in, removed .remove * Added better description in changelog for PATCH 6/6 * Updated rpmhpd_aggreg

Re: [PATCH tip/core/rcu 16/27] rcu: Add comment documenting how rcu_seq_snap works

2018-06-26 Thread Joel Fernandes
On Tue, Jun 26, 2018 at 07:30:55PM +0200, Peter Zijlstra wrote: > On Mon, Jun 25, 2018 at 05:35:02PM -0700, Paul E. McKenney wrote: > > +/* > > + * rcu_seq_snap - Take a snapshot of the update side's sequence number. > > + * > > + * This function returns the earliest value of the grace-period seque

linux-next: Tree for Jun 27

2018-06-26 Thread Stephen Rothwell
Hi all, Changes since 20180626: The btrfs-kdave tree gained a build failure so I used the version from next-20180626. The rdma tree gained a conflict against the rdma-fixes tree. The drm tree still had its build failure for which I disabled some sample code. Non-merge commits (relative to

[PATCH v2] riscv: Add support to no-FPU systems

2018-06-26 Thread Alan Kao
This patch adds an option, CONFIG_FPU, to enable/disable floating procedures. Also, some style issues are fixed. Signed-off-by: Alan Kao Cc: Greentime Hu Cc: Zong Li --- arch/riscv/Kconfig | 9 arch/riscv/Makefile| 19 +++ arch/riscv/include/asm/switc

Re: [PATCH 1/5] i2c: smbus: add unlocked __i2c_smbus_xfer variant

2018-06-26 Thread Peter Rosin
On June 26, 2018 3:46:07 PM GMT+02:00, Wolfram Sang wrote: >> I don't think it's that easy as I just thought about another problem >> with lifting the locking from the emulation function. It calls >> kzalloc(..., GFP_KERNEL), at least in some cases, and that's not a >> very good idea from atomic/i

[PATCH v3 0/3] have the vt console preserve unicode characters

2018-06-26 Thread Nicolas Pitre
The vt code translates UTF-8 strings into glyph index values and stores those glyph values in the screen buffer. Because there can only be at most 512 glyphs at the moment, it is impossible to represent most unicode characters, in which case a default glyph (often '?') is displayed instead. The

[PATCH v3 1/3] vt: preserve unicode values corresponding to screen characters

2018-06-26 Thread Nicolas Pitre
The vt code translates UTF-8 strings into glyph index values and stores those glyph values directly in the screen buffer. Because there can only be at most 512 glyphs, it is impossible to represent most unicode characters, in which case a default glyph (often '?') is displayed instead. The original

[PATCH v3 3/3] vt: unicode fallback for scrollback

2018-06-26 Thread Nicolas Pitre
There is currently no provision for scrollback content in the core code, leaving that to backend video drivers where this can be highly optimized. There is currently no common method for those drivers to tell the core what part of the scrollback is actually displayed and what size the scrollback bu

[PATCH v3 2/3] vt: introduce unicode mode for /dev/vcs

2018-06-26 Thread Nicolas Pitre
Now that the core vt code knows how to preserve unicode values for each displayed character, it is then possible to let user space access it via /dev/vcs*. Unicode characters are presented as 32 bit values in native endianity via the /dev/vcsu* devices, mimicking the simple /dev/vcs* devices. Unic

Re: [GIT PULL] ARM: uniphier: fixes for v4.18

2018-06-26 Thread Masahiro Yamada
Hi Olof, 2018-06-27 2:42 GMT+09:00 Olof Johansson : > Hi, > > On Mon, Jun 25, 2018 at 11:13:04PM +0900, Masahiro Yamada wrote: >> Hi Arnd, Olof, >> >> Please pull some fixes of ARM UniPhier platform. >> >> >> >> The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: >> >> L

RE: [Patch v2 14/15] CIFS: Add support for direct I/O write

2018-06-26 Thread Long Li
> Subject: Re: [Patch v2 14/15] CIFS: Add support for direct I/O write > > On 6/26/2018 12:39 AM, Long Li wrote: > >> Subject: Re: [Patch v2 14/15] CIFS: Add support for direct I/O write > >> > >> On 5/30/2018 3:48 PM, Long Li wrote: > >>> From: Long Li > >>> > >>> Implement the function for dire

[PATCH 1/2] nvmem: imx-ocotp: add support for imx6sll

2018-06-26 Thread Anson Huang
i.MX6SLL is a new SoC of i.MX6 family, enable ocotp driver support for this SoC. Signed-off-by: Anson Huang --- drivers/nvmem/imx-ocotp.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c index 60816c8..afb429a 100644 --- a/drivers/n

[PATCH 2/2] dt-bindings: nvmem: imx-ocotp: add compatible string for imx6sll

2018-06-26 Thread Anson Huang
Add new compatible string for i.MX6SLL SOC. Signed-off-by: Anson Huang --- Documentation/devicetree/bindings/nvmem/imx-ocotp.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/nvmem/imx-ocotp.txt b/Documentation/devicetree/bindings/nvmem/

RE: [Patch v2 06/15] CIFS: Introduce helper function to get page offset and length in smb_rqst

2018-06-26 Thread Long Li
> Subject: Re: [Patch v2 06/15] CIFS: Introduce helper function to get page > offset and length in smb_rqst > > On 6/25/2018 5:14 PM, Long Li wrote: > >> Subject: Re: [Patch v2 06/15] CIFS: Introduce helper function to get > >> page offset and length in smb_rqst > >> > >> On 5/30/2018 3:47 PM, Lon

RE: [Patch v2 02/15] CIFS: Add support for direct pages in rdata

2018-06-26 Thread Long Li
> Subject: Re: [Patch v2 02/15] CIFS: Add support for direct pages in rdata > > On 6/25/2018 5:01 PM, Jason Gunthorpe wrote: > > On Sat, Jun 23, 2018 at 09:50:20PM -0400, Tom Talpey wrote: > >> On 5/30/2018 3:47 PM, Long Li wrote: > >>> From: Long Li > >>> > >>> Add a function to allocate rdata w

Re: linux-next: build failure after merge of the xarray tree

2018-06-26 Thread Stephen Rothwell
Hi all, On Mon, 18 Jun 2018 10:09:20 -0700 Matthew Wilcox wrote: > > On Mon, Jun 18, 2018 at 09:50:33AM -0700, Dan Williams wrote: > > On Sun, Jun 17, 2018 at 8:27 PM, Stephen Rothwell > > wrote: > > > Hi all, > > > > > > After merging the xarray tree, today's linux-next build (powerpc > > >

Re: [PATCH] arm: dts: socfpga: denali needs nand_x_clk too

2018-06-26 Thread Masahiro Yamada
2018-06-27 3:09 GMT+09:00 Miquel Raynal : > Hi Masahiro, > > On Tue, 26 Jun 2018 11:38:21 +0900, Masahiro Yamada > wrote: > >> 2018-06-25 23:55 GMT+09:00 Boris Brezillon : >> > On Mon, 25 Jun 2018 09:50:18 -0500 >> > Dinh Nguyen wrote: >> > >> >> On 06/22/2018 10:58 AM, Richard Weinberger wrote:

Re: [PATCH tip/core/rcu 2/2] rcu: Make expedited GPs handle CPU 0 being offline

2018-06-26 Thread Boqun Feng
On Tue, Jun 26, 2018 at 12:27:47PM -0700, Paul E. McKenney wrote: > On Tue, Jun 26, 2018 at 07:46:52PM +0800, Boqun Feng wrote: > > On Tue, Jun 26, 2018 at 06:44:47PM +0800, Boqun Feng wrote: > > > On Tue, Jun 26, 2018 at 11:38:20AM +0200, Peter Zijlstra wrote: > > > > On Mon, Jun 25, 2018 at 03:43

Good day

2018-06-26 Thread Mrs. Deepak Rajappan
Good day, I am Mrs. Deepak Rajappan a banker from India and I work with a bank here. I have a profitable and risk free business proposal that will benefit the both of us. Kindly contact me for more details. Thanks Mrs. Deepak Rajappan Email: deepakrajap...@hotmail.com

Re: [PATCH 1/8] hwspinlock: Add one new API to support getting a specific hwlock by the name

2018-06-26 Thread Baolin Wang
On 27 June 2018 at 04:54, Bjorn Andersson wrote: > On Fri 22 Jun 01:08 PDT 2018, Baolin Wang wrote: > >> The hardware spinlock binding already supplied the 'hwlock-names' property >> to match and get a specific hwlock, but did not supply one API for users >> to get a specific hwlock by the hwlock

Re: [PATCH 6/8] hwspinlock: sprd: Use devm_hwspin_lock_register()

2018-06-26 Thread Baolin Wang
On 27 June 2018 at 04:51, Bjorn Andersson wrote: > On Fri 22 Jun 01:09 PDT 2018, Baolin Wang wrote: > >> Use devm_hwspin_lock_register() to register the hwlock controller to >> avoid unregistering the device explicitly. >> >> Signed-off-by: Baolin Wang >> --- >> drivers/hwspinlock/sprd_hwspinloc

Re: [PATCH 2/2] ASoC: tas517x: add tas5707 support

2018-06-26 Thread kbuild test robot
Hi Jerome, I love your patch! Perhaps something to improve: [auto build test WARNING on asoc/for-next] [also build test WARNING on v4.18-rc2 next-20180626] [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

Re: [PATCH v5 0/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-06-26 Thread Baoquan He
On 06/27/18 at 09:31am, Baoquan He wrote: > This is v4 post. V3 can be found here: > https://lkml.org/lkml/2018/2/27/928 Sorry, forgot updating this part. This is v5 post, v4 can be found here: http://lkml.kernel.org/r/20180521101555.25610-1-...@redhat.com > > V1 can be found here: > https://ww

[PATCH V2] ARM: dts: make pfuze switch always-on for imx platforms

2018-06-26 Thread Anson Huang
commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch") will cause those unreferenced switches being turned off if "regulator-always-on" is NOT present, as pfuze switches are normally used by critical modules which must be always ON or shared by many peripherals which do NOT impl

[PATCH v5 1/4] mm/sparse: Add a static variable nr_present_sections

2018-06-26 Thread Baoquan He
It's used to record how many memory sections are marked as present during system boot up, and will be used in the later patch. Signed-off-by: Baoquan He --- mm/sparse.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/mm/sparse.c b/mm/sparse.c index f13f2723950a..6314303130b0 100644 --

[PATCH v5 3/4] mm/sparse: Add a new parameter 'data_unit_size' for alloc_usemap_and_memmap

2018-06-26 Thread Baoquan He
alloc_usemap_and_memmap() is passing in a "void *" that points to usemap_map or memmap_map. In next patch we will change both of the map allocation from taking 'NR_MEM_SECTIONS' as the length to taking 'nr_present_sections' as the length. After that, the passed in 'void*' needs to update as things

[PATCH v5 4/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-06-26 Thread Baoquan He
In sparse_init(), two temporary pointer arrays, usemap_map and map_map are allocated with the size of NR_MEM_SECTIONS. They are used to store each memory section's usemap and mem map if marked as present. With the help of these two arrays, continuous memory chunk is allocated for usemap and memmap

[PATCH v5 2/4] mm/sparsemem: Defer the ms->section_mem_map clearing

2018-06-26 Thread Baoquan He
In sparse_init(), if CONFIG_SPARSEMEM_ALLOC_MEM_MAP_TOGETHER=y, system will allocate one continuous memory chunk for mem maps on one node and populate the relevant page tables to map memory section one by one. If fail to populate for a certain mem section, print warning and its ->section_mem_map wi

[PATCH v5 0/4] mm/sparse: Optimize memmap allocation during sparse_init()

2018-06-26 Thread Baoquan He
This is v4 post. V3 can be found here: https://lkml.org/lkml/2018/2/27/928 V1 can be found here: https://www.spinics.net/lists/linux-mm/msg144486.html In sparse_init(), two temporary pointer arrays, usemap_map and map_map are allocated with the size of NR_MEM_SECTIONS. They are used to store each

[PATCH V3] ARM: dts: imx6sll-evk: make pfuze100 sw4 always on

2018-06-26 Thread Anson Huang
On i.MX6SLL EVK board, PFuze100's SW4 is supplying LPDDR3, it needs to be always on. This patch fixes Linux kernel boot up hang caused by commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch"), because SW4 is turned off unexpectedly: [1.693613] cfg80211: failed to load regu

RE: [PATCH] ARM: dts: make pfuze switch always-on for imx platforms

2018-06-26 Thread Anson Huang
Anson Huang Best Regards! > -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Wednesday, June 27, 2018 9:21 AM > To: Anson Huang > Cc: Shawn Guo ; Sascha Hauer > ; Sascha Hauer ; Fabio > Estevam ; Rob Herring ; > Mark Rutland ; dl-linux-imx ; > moderated list

Re: [PATCH] ARM: dts: make pfuze switch always-on for imx platforms

2018-06-26 Thread Fabio Estevam
On Tue, Jun 26, 2018 at 3:08 AM, Anson Huang wrote: > commit (5fe156f regulator: pfuze100: add enable/disable > for switch) will cause those unreferenced switches being Nit: The proper way to reference a commit is: commit 5fe156f1cab4 ("regulator: pfuze100: add enable/disable for switch") 12 ch

Re: [PATCH V2] ARM: dts: imx6sll-evk: make pfuze100 sw4 always on

2018-06-26 Thread Fabio Estevam
Hi Anson, On Mon, Jun 25, 2018 at 10:01 PM, Anson Huang wrote: > On i.MX6SLL EVK board, PFuze100's SW4 is supplying > LPDDR3, it needs to be always on. This patch fixes > Linux kernel boot up hang caused by commit > (5fe156f regulator: pfuze100: add enable/disable for switch), > because SW4 is tu

RE: [PATCH v5 0/7] add virt-dma support for imx-sdma

2018-06-26 Thread Robin Gong
Thanks Lucas. Let's wait for comments from Vinod. -Original Message- From: Lucas Stach [mailto:l.st...@pengutronix.de] Sent: 2018年6月26日 23:04 To: Robin Gong ; vk...@kernel.org; s.ha...@pengutronix.de; dan.j.willi...@intel.com; gre...@linuxfoundation.org; jsl...@suse.com Cc: linux-ser...@

Re: F_OFD_GETLK implemented wrong with CIFS protocol version 2.0+

2018-06-26 Thread Ronnie Sahlberg
The problem is in fs/cifs/file.c:cifs_find_fid_lock_conflict since it is not aware of OFD locks and thus think there is a conflict. I have an initial patch that fixes the problem for the reproducer but need more time to understand if/what else might need fixin. - Original Message -

Re: [PATCH v3 12/12] HID: multitouch: handle palm for touchscreens

2018-06-26 Thread Peter Hutterer
On Thu, Jun 21, 2018 at 02:09:08PM +0200, Benjamin Tissoires wrote: > From: Dmitry Torokhov > > Usually, there is no palm rejection for touchscreens. You don't rest > your palm on the touchscreen while interacting with it. > However, some wacom devices do so because you can rest your palm while >

Re: [PATCH v3 10/12] HID: multitouch: report MT_TOOL_PALM for non-confident touches

2018-06-26 Thread Peter Hutterer
On Thu, Jun 21, 2018 at 02:09:06PM +0200, Benjamin Tissoires wrote: > From: Dmitry Torokhov > > According to Microsoft specification [1] for Precision Touchpads (and > Touchscreens) the devices use "confidence" reports to signal accidental > touches, or contacts that are "too large to be a finger

Re: moving affs + RDB partition support to staging?

2018-06-26 Thread Michael Schmitz
robably smart enough to keep it working for > yourself. > > GPT is probably the right way to go. Preserve the ability to read RDBs for > legacy disks only. > > {^_^} > > > On 20180626 01:31, Michael Schmitz wrote: >> >> Joanne, >> >> I think we all agree

Re: [RFC v2 PATCH 2/2] mm: mmap: zap pages with read mmap_sem for large mapping

2018-06-26 Thread Yang Shi
On 6/26/18 12:43 AM, Peter Zijlstra wrote: On Mon, Jun 25, 2018 at 05:06:23PM -0700, Yang Shi wrote: By looking this deeper, we may not be able to cover all the unmapping range for VM_DEAD, for example, if the start addr is in the middle of a vma. We can't set VM_DEAD to that vma since that w

Re: [PATCH v3 01/12] input: add MT_TOOL_DIAL

2018-06-26 Thread Peter Hutterer
On Thu, Jun 21, 2018 at 02:08:57PM +0200, Benjamin Tissoires wrote: > A dial is a tool you place on a multitouch surface which reports its > orientation or a relative angle of rotation when rotating its knob. > > Some examples are the Dell Totem (on the Canvas 27"), the Microsoft Dial, > or the Gr

Re: [PATCH v5 4/8] interconnect: qcom: Add RPM communication

2018-06-26 Thread Matthias Kaehlcke
On Wed, Jun 20, 2018 at 03:11:37PM +0300, Georgi Djakov wrote: > On some Qualcomm SoCs, there is a remote processor, which controls some of > the Network-On-Chip interconnect resources. Other CPUs express their needs > by communicating with this processor. Add a driver to handle comminication s/co

Re: [PATCH v5 1/8] interconnect: Add generic on-chip interconnect API

2018-06-26 Thread Rob Clark
On Tue, Jun 26, 2018 at 4:57 PM, Evan Green wrote: > Hi Georgi. Thanks for the new spin of this. > > On Wed, Jun 20, 2018 at 5:11 AM Georgi Djakov > wrote: >> >> This patch introduce a new API to get requirements and configure the >> interconnect buses across the entire chipset to fit with the c

Re: [PATCH 0/4] x86/hyper-v: optimize PV IPIs

2018-06-26 Thread Wanpeng Li
Hi Vitaly, (fix my reply mess this time) On Sat, 23 Jun 2018 at 01:09, Vitaly Kuznetsov wrote: > > When reviewing my "x86/hyper-v: use cheaper HVCALL_FLUSH_VIRTUAL_ADDRESS_ > {LIST,SPACE} hypercalls when possible" patch Michael suggested to apply the > same idea to PV IPIs. Here we go! > > Despite

Re: [PATCH V5 5/5] ARM: dts: stm32: update iwdg with lsi clock name for stm32f429

2018-06-26 Thread Guenter Roeck
On 06/25/2018 08:43 AM, Ludovic Barre wrote: From: Ludovic Barre This patch updates iwdg watchdog to use lsi clock name. Signed-off-by: Ludovic Barre Acked-by: Guenter Roeck --- arch/arm/boot/dts/stm32f429.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/stm3

Re: [PATCH V5 4/5] ARM: dts: stm32: add iwdg2 support for stm32mp157c-ed1

2018-06-26 Thread Guenter Roeck
On 06/25/2018 08:43 AM, Ludovic Barre wrote: From: Ludovic Barre This patch activates independent watchdog support for stm32mp157c board. Signed-off-by: Ludovic Barre Reviewed-by: Guenter Roeck --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 5 + 1 file changed, 5 insertions(+) diff

Re: [PATCH V5 3/5] ARM: dts: stm32: add iwdg2 support for stm32mp157c

2018-06-26 Thread Guenter Roeck
On 06/25/2018 08:43 AM, Ludovic Barre wrote: From: Ludovic Barre This patch adds independent watchdog support for stm32mp157c. Signed-off-by: Ludovic Barre Acked-by: Guenter Roeck Presumably this and the following patches will be pushed upstream through an ARM tree. Guenter --- arch/

Re: [PATCH V5 2/5] watchdog: stm32: add pclk feature for stm32mp1

2018-06-26 Thread Guenter Roeck
On 06/25/2018 08:43 AM, Ludovic Barre wrote: From: Ludovic Barre This patch adds compatible data to manage pclk clock by compatible. Adds stm32mp1 support which requires pclk clock. Signed-off-by: Ludovic Barre Acked-by: Alexandre TORGUE I take it that everyone is aware that this patch wil

Re: [PATCH V5 1/5] dt-bindings: watchdog: add stm32mp1 support

2018-06-26 Thread Guenter Roeck
On 06/25/2018 08:42 AM, Ludovic Barre wrote: From: Ludovic Barre This patch adds support of stm32mp1. stm32mp1 requires 2 clocks lsi and pclk. Signed-off-by: Ludovic Barre Following Rob's lead here. Reviewed-by: Guenter Roeck li...@roeck-us.net> --- .../devicetree/bindings/watchdog/st,

[PATCH 14/14] arm: dts: OpenPower Palmetto system can use coprocessor for FSI

2018-06-26 Thread Benjamin Herrenschmidt
This switches away from userspace bitbanging to kernel FSI using the coprocessor. Signed-off-by: Benjamin Herrenschmidt --- arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 31 ++- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palm

Re: [PATCH v7 4/4] input/power: Add driver for BD71837/BD71847 PMIC power button

2018-06-26 Thread Dmitry Torokhov
Hi Matti, On Thu, Jun 21, 2018 at 01:25:47PM +0300, Matti Vaittinen wrote: > On Wed, Jun 20, 2018 at 09:43:16AM +0300, Matti Vaittinen wrote: > > On Tue, Jun 19, 2018 at 10:50:28AM -0700, Dmitry Torokhov wrote: > > > Hi Matti, > > > > > > On Tue, Jun 19, 2018 at 01:57:09PM +0300, Matti Vaittinen

Re: [PATCH v2 1/2] clk: pxa: export 32kHz PLL

2018-06-26 Thread kbuild test robot
Hi Robert, I love your patch! Yet something to improve: [auto build test ERROR on clk/clk-next] [also build test ERROR on v4.18-rc2 next-20180626] [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

[PATCH 09/14] fsi: master-gpio: Add missing release function

2018-06-26 Thread Benjamin Herrenschmidt
The embedded struct device needs a release function to be able to successfully remove the driver. We remove the devm_gpiod_put() as they are unnecessary (the resources will be released automatically) and because fsi_master_unregister() will cause the master structure to be freed. Signed-off-by: B

[PATCH 05/14] fsi: master-gpio: Add support for link_config

2018-06-26 Thread Benjamin Herrenschmidt
To configure the send and echo delays Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-master-gpio.c | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/drivers/fsi/fsi-master-gpio.c b/drivers/fsi/fsi-master-gpio.c index 836587701ceb..48e0e65

[PATCH 11/14] dt-bindings: fsi: Document binding for the fsi-master-ast-cf "device"

2018-06-26 Thread Benjamin Herrenschmidt
This isn't per-se a real device, it's a pseudo-device that represents the use of the Aspeed built-in ColdFire to implement the FSI protocol by bitbanging the GPIOs instead of doing it from the ARM core. Thus it's a drop-in replacement for the existing fsi-master-gpio pseudo-device for use on syste

[PATCH 03/14] fsi: Add mechanism to set the tSendDelay and tEchoDelay values

2018-06-26 Thread Benjamin Herrenschmidt
Those values control the amount of "dummy" clocks between commands and between a command and its response. This adds a way to configure them from sysfs (to be later extended to defaults in the device-tree). The default remains 16 (the HW default). This is only supported if the backend supports th

linux-next: manual merge of the rdma tree with the rdma-fixes tree

2018-06-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the rdma tree got a conflict in: drivers/infiniband/core/uverbs_cmd.c between commit: 940efcc8889f ("RDMA/uverbs: Protect from attempts to create flows on unsupported QP") from the rdma-fixes tree and commit: e99028ad76e7 ("RDMA/uverbs: Check existen

[PATCH 03/14] fsi: Add mechanism to set the tSendDelay and tEchoDelay values

2018-06-26 Thread Benjamin Herrenschmidt
Those values control the amount of "dummy" clocks between commands and between a command and its response. This adds a way to configure them from sysfs (to be later extended to defaults in the device-tree). The default remains 16 (the HW default). This is only supported if the backend supports th

Re: [v2 PATCH] add param that allows bootline control of hardened usercopy

2018-06-26 Thread Kees Cook
nit: I would expect the version to trail "PATCH" in the subject, like: [PATCH v2] On Tue, Jun 26, 2018 at 5:50 AM, Chris von Recklinghausen wrote: > Enabling HARDENED_USER_COPY causes measurable regressions in the > networking performances, up to 8% under UDP flood. Please include the details on

Re: [PATCH v2 10/21] cpufreq: intel_pstate: use match_string() helper

2018-06-26 Thread Srinivas Pandruvada
On Tue, 2018-06-26 at 17:23 +0200, Rafael J. Wysocki wrote: > On Thursday, May 31, 2018 1:11:15 PM CEST Yisheng Xie wrote: > > match_string() returns the index of an array for a matching string, > > which can be used instead of open coded variant. > > > > Reviewed-by: Andy Shevchenko Acked-by: Sr

[PATCH 02/14] fsi: Move code around to avoid forward declaration

2018-06-26 Thread Benjamin Herrenschmidt
Move fsi_slave_set_smode() and its helpers to before it's first user and remove the corresponding forward declaration. Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-core.c | 94 +- 1 file changed, 46 insertions(+), 48 deletions(-) diff --git a

[PATCH 07/14] fsi: master-gpio: Remove unused definitions

2018-06-26 Thread Benjamin Herrenschmidt
Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-master-gpio.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/fsi/fsi-master-gpio.c b/drivers/fsi/fsi-master-gpio.c index a00a85aa6d56..2bc85514bb0c 100644 --- a/drivers/fsi/fsi-master-gpio.c +++ b/drivers/fsi/fsi-master-g

[PATCH 01/14] devres: Add devm_of_iomap()

2018-06-26 Thread Benjamin Herrenschmidt
There are still quite a few cases where a device might want to get to a different node of the device-tree, obtain the resources and map them. We have of_iomap() and of_io_request_and_map() but they both have shortcomings, such as not returning the size of the resource found (which can be useful) a

  1   2   3   4   5   6   7   8   >