Re: [RESEND PATCH] parisc: defconfig: Cleanup from old Kconfig options

2017-07-23 Thread Helge Deller
On 20.07.2017 07:00, Krzysztof Kozlowski wrote: > Remove old, dead Kconfig options (in order appearing in this commit): > - EXPERIMENTAL is gone since v3.9; > - INET_LRO: commit 7bbf3cae65b6 ("ipv4: Remove inet_lro library"); > - IP_NF_QUEUE: commit 3dd6664fac7e ("netfilter: remove unused "confi

Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering

2017-07-23 Thread Joe Perches
On Sun, 2017-07-23 at 13:00 -0700, Linus Torvalds wrote: > it looks like there were four copies of "GREYBUS PROTOCOLS > DRIVERS". WTF? I didn't check if there was something else odd going > on. > > I guess they'd need to be made unique somehow too. right. Unfortunate about the duplicate section

Re: [PATCH] hwmon: (it87) Reapply probe path chip registers settings after resume

2017-07-23 Thread Maciej S. Szmigiero
On 23.07.2017 22:01, Guenter Roeck wrote: > On 07/23/2017 09:12 AM, Maciej S. Szmigiero wrote: >> After a suspend / resume cycle we possibly need to reapply chip registers >> settings that we had set or fixed in a probe path, since they might have >> been reset to default values or set incorrectly

Re: [PATCH] xen: allocate page for shared info page from low memory

2017-07-23 Thread Boris Ostrovsky
On 06/14/2017 01:11 PM, Juergen Gross wrote: On 14/06/17 18:58, Boris Ostrovsky wrote: On 06/12/2017 07:53 AM, Juergen Gross wrote: In a HVM guest the kernel allocates the page for mapping the shared info structure via extend_brk() today. This will lead to a drop of performance as the underly

Re: [PATCH V2 3/4] net-next: dsa: fix flow dissection

2017-07-23 Thread kbuild test robot
Hi John, [auto build test ERROR on net-next/master] [also build test ERROR on v4.13-rc1 next-20170721] [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/commits/John-Crispin/net-next-dsa-move-struct-dsa_de

[PATCH V2] get_maintainer: Prepare for separate MAINTAINERS files

2017-07-23 Thread Joe Perches
Allow for MAINTAINERS to become a directory and if it is, read all the files in the directory for maintained sections. Also look for all files named MAINTAINERS in all subdirectories excluding the .git directory. This adds ~.3 seconds of CPU on an Intel i5-6200 with an SSD. Miscellanea: o Creat

Re: [RFC PATCH v12 3/4] Linux Random Number Generator

2017-07-23 Thread Theodore Ts'o
On Sun, Jul 23, 2017 at 02:05:38PM -0400, Sandy Harris wrote: > Sandy Harris wrote: > > > The biggest problem with random(4) is that you cannot generate good > > output without a good seed & just after boot, ... > > > > The only really good solution I know of is to find a way to provide a > > chu

Re: [PATCH v2 0/8] Add a script to check for Sphinx install requirements

2017-07-23 Thread Jonathan Corbet
On Mon, 17 Jul 2017 18:46:34 -0300 Mauro Carvalho Chehab wrote: > Sphinx installation is not trivial, as not all versions are supported, > and it requires a lot of stuff for math, images and PDF/LaTeX output > to work. > > So, add a script that checks if everything is fine, providing > distro-sp

Re: [PATCH v8 11/13] iommu/amd: Don't copy GCR3 table root pointer

2017-07-23 Thread kbuild test robot
Hi Baoquan, [auto build test WARNING on iommu/next] [also build test WARNING on v4.13-rc1] [cannot apply to next-20170721] [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/commits/Baoquan-He/Fix-the-on-fl

[PATCH] staging: pi433: fix sparse warning: missing static

2017-07-23 Thread David Wittman
A few local functions in the pi433 module were getting flagged by Sparse for missing declarations, so I added static qualifiers to clean up the warnings. Signed-off-by: David Wittman --- drivers/staging/pi433/pi433_if.c | 4 ++-- drivers/staging/pi433/rf69.c | 2 +- 2 files changed, 3 insert

Re: [PATCH v2 0/8] Add a script to check for Sphinx install requirements

2017-07-23 Thread Mauro Carvalho Chehab
Em Sun, 23 Jul 2017 16:08:29 -0600 Jonathan Corbet escreveu: > On Mon, 17 Jul 2017 18:46:34 -0300 > Mauro Carvalho Chehab wrote: > > > Sphinx installation is not trivial, as not all versions are supported, > > and it requires a lot of stuff for math, images and PDF/LaTeX output > > to work. > >

Re: [PATCH] dvb_frontend: initialize variable s with FE_NONE instead of 0

2017-07-23 Thread kbuild test robot
Hi Colin, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.13-rc1 next-20170721] [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/commits/Colin-King/dvb_frontend-initialize-var

Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering

2017-07-23 Thread Linus Torvalds
On Sun, Jul 23, 2017 at 1:00 PM, Linus Torvalds wrote: > > Anyway, clearly my script showed something. I think my script is still > doing the right thing, it's just that the input is questionable. I added a few actual checks for the error cases to the script, fixed up the problems, and committed

Re: [PATCH 1/8] mailbox: introduce ARM SMC based mailbox

2017-07-23 Thread André Przywara
On 02/07/17 06:55, Jassi Brar wrote: Hi Jassi, thank you very much for having a look! > On Fri, Jun 30, 2017 at 3:26 PM, Andre Przywara > wrote: >> This mailbox driver implements a mailbox which signals transmitted data >> via an ARM smc (secure monitor call) instruction. The mailbox receiver

[PATCH v2 0/3] mailbox: arm: introduce smc triggered mailbox

2017-07-23 Thread Andre Przywara
This is a reworked version of my previous post. It addresses Jassi's comments on the driver and also tries to cover Rob's and Mark's comments on the binding documentation. I dropped the more example-like DT changes from v1, as they are actually not meant to be merged into the Linux tree, but instea

[PATCH v2 3/3] mailbox: Kconfig: enable ARM SMC mailbox on 64-bit Allwinner SoCs

2017-07-23 Thread Andre Przywara
For 64-bit Allwinner SoCs there exist firmware implementations which provide SCPI controlled handlers for DVFS, sensors and power domains. To allow usage of this features, enable the required SMC mailbox when Allwinner SoCs are supported by the kernel. Signed-off-by: Andre Przywara --- drivers/m

Linux 4.13-rc2

2017-07-23 Thread Linus Torvalds
Things are chugging along, and we actually had a reasonably active rc2. Normally rc2 is really small because people are taking a breaher and haven't started finding bugs yet, but this time around we have a bigger-than-average rc2. We'll just have to see how that translates to the rest of the relea

Re: [PATCH v3 2/8] MIPS: ranchu: Add Goldfish RTC driver

2017-07-23 Thread kbuild test robot
Hi Miodrag, [auto build test WARNING on linus/master] [also build test WARNING on v4.13-rc1 next-20170721] [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/commits/Aleksandar-Markovic/MIPS-Add-virtual-Ran

Re: [PATCH v8 11/13] iommu/amd: Don't copy GCR3 table root pointer

2017-07-23 Thread Baoquan He
On 07/24/17 at 06:33am, kbuild test robot wrote: > Hi Baoquan, > > [auto build test WARNING on iommu/next] > [also build test WARNING on v4.13-rc1] > [cannot apply to next-20170721] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url:

[PATCH v2 2/3] mailbox: introduce ARM SMC based mailbox

2017-07-23 Thread Andre Przywara
This mailbox driver implements a mailbox which signals transmitted data via an ARM smc (secure monitor call) instruction. The mailbox receiver is implemented in firmware and can synchronously return data when it returns execution to the non-secure world again. An asynchronous receive path is not im

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

2017-07-23 Thread Stephen Rothwell
Hi Daniel, On Fri, 21 Jul 2017 09:24:49 +0200 Daniel Vetter wrote: > > How are we going to handle this now? The refactor is deeply burried in > drm-misc, I guess you could cherry-pick the relevant patches over. But > that'll probably lead to more conflicts because git will get confused. I'll jus

Re: [PATCH] documentation: Fix two-CPU control-dependency example

2017-07-23 Thread Akira Yokosawa
On 2017/07/23 23:39:36 +0800, Boqun Feng wrote: > On Sat, Jul 22, 2017 at 09:43:00PM -0700, Paul E. McKenney wrote: > [...] >>> Your priority seemed to be in reducing the chance of the "if" statement >>> to be optimized away. So I suggested to use "extern" as a compromise. >> > > Hi Akira, > Hi

[PATCH v2 1/3] DT: mailbox: add binding doc for the ARM SMC mailbox

2017-07-23 Thread Andre Przywara
The ARM SMC mailbox binding describes a firmware interface to trigger actions in software layers running in the EL2 or EL3 exception levels. The term "ARM" here relates to the SMC instruction as part of the ARM instruction set, not as a standard endorsed by ARM Ltd. Signed-off-by: Andre Przywara

[PATCH v7 1/3] x86/asm: Add suffix macro for GEN_*_RMWcc()

2017-07-23 Thread Kees Cook
The coming x86 refcount protection needs to be able to add trailing instructions to the GEN_*_RMWcc() operations. This extracts the difference between the goto/non-goto cases so the helper macros can be defined outside the #ifdef cases. Additionally adds argument naming to the resulting asm for ref

[PATCH v7 2/3] x86/asm: add ASM_UNREACHABLE

2017-07-23 Thread Kees Cook
This creates an unreachable annotation in asm for CONFIG_STACK_VALIDATION. While here, adjust earlier uses of \t\n into \n\t. Suggested-by: Josh Poimboeuf Signed-off-by: Kees Cook --- include/linux/compiler-gcc.h | 13 + include/linux/compiler.h | 3 +++ 2 files changed, 12 ins

[PATCH v7 0/3] x86: Implement fast refcount overflow protection

2017-07-23 Thread Kees Cook
This series implements a fast refcount overflow protection for x86, which is needed to provide coverage for the several refcount-overflow use-after-free flaws the kernel has seen over the last many years. Patch 1 provides support for adding additional assembly to the GEN_*_RMWcc macros, patch 2 ad

[PATCH v7 3/3] x86/refcount: Implement fast refcount overflow protection

2017-07-23 Thread Kees Cook
This implements refcount_t overflow protection on x86 without a noticeable performance impact, though without the fuller checking of REFCOUNT_FULL. This is done by duplicating the existing atomic_t refcount implementation but with normally a single instruction added to detect if the refcount has go

linux-next: manual merge of the reset tree with Linus' tree

2017-07-23 Thread Stephen Rothwell
Hi Philipp, Today's linux-next merge of the reset tree got a conflict in: MAINTAINERS between commit: 82abbea734d6 ("MAINTAINERS: fix alphabetical ordering") from Linus' tree and commit: e0be864f1424 ("ARC: reset: introduce HSDKv1 reset driver") from the reset tree. I suspect that I m

linux-next: manual merge of the clk tree with Linus' tree

2017-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the clk tree got a conflict in: MAINTAINERS between commit: 82abbea734d6 ("MAINTAINERS: fix alphabetical ordering") from Linus' tree and commit: 6d7489c74a6e ("clk: axs10x: introduce AXS10X pll driver") from the clk tree. I fixed it up (see below) a

[PATCH] PCI: xilinx: Remove platform/architecture restrictions

2017-07-23 Thread Guenter Roeck
The MIPS Boston board configuration tries to enable CONFIG_PCIE_XILINX. That doesn't work since PCIE_XILINX depends on ARCH_ZYNQ || MICROBLAZE. Remove that restriction. Cc: Paul Burton Cc: James Hogan Signed-off-by: Guenter Roeck --- drivers/pci/host/Kconfig | 1 - 1 file changed, 1 deletion(-

linux-next: manual merge of the btrfs-kdave tree with Linus' tree

2017-07-23 Thread Stephen Rothwell
Hi David, Today's linux-next merge of the btrfs-kdave tree got a conflict in: fs/btrfs/scrub.c between commit: 4e4cbee93d56 ("block: switch bios to blk_status_t") from Linus' tree and commit: 26397a4ad1d5 ("btrfs: account that we're waiting for IO in scrub_submit_raid56_bio_wait") fro

Re: [PATCH -mm -v2 00/12] mm, THP, swap: Delay splitting THP after swapped out

2017-07-23 Thread Huang, Ying
Andrew Morton writes: > On Fri, 23 Jun 2017 15:12:51 +0800 "Huang, Ying" wrote: > >> From: Huang Ying >> >> Hi, Andrew, could you help me to check whether the overall design is >> reasonable? >> >> Hi, Johannes and Minchan, Thanks a lot for your review to the first >> step of the THP swap opt

Re: [kernel-hardening] [PATCH 00/11] S.A.R.A. a new stacked LSM

2017-07-23 Thread Casey Schaufler
On 7/13/2017 12:51 PM, Serge E. Hallyn wrote: > Quoting Mimi Zohar (zo...@linux.vnet.ibm.com): >> On Thu, 2017-07-13 at 08:39 -0400, Matt Brown wrote: >> The question is really from a security perspective which is better? >> Obviously, as v2 of the patch set changed from using pathnames to >> inod

Re: [PATCH] powerpc/pseries: Fix of_node_put() underflow during pseries remove

2017-07-23 Thread David Gibson
On Fri, Jul 21, 2017 at 04:51:39PM +0200, Laurent Vivier wrote: > As for commit 68baf692c435 ("powerpc/pseries: Fix of_node_put() > underflow during DLPAR remove"), the call to of_node_put() > must be removed from pSeries_reconfig_remove_node(). > > dlpar_detach_node() and pSeries_reconfig_remove_

[no subject]

2017-07-23 Thread cputrdoc
good evening http://gurgaononclick.com/creation_compte.php?cross=kmpy274x9ze4 cputrdoc

Re: [PATCH] hwmon: (it87) Reapply probe path chip registers settings after resume

2017-07-23 Thread Guenter Roeck
On 07/23/2017 01:13 PM, Maciej S. Szmigiero wrote: On 23.07.2017 22:01, Guenter Roeck wrote: On 07/23/2017 09:12 AM, Maciej S. Szmigiero wrote: After a suspend / resume cycle we possibly need to reapply chip registers settings that we had set or fixed in a probe path, since they might have been

Re: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread Ding Tianhong
On 2017/7/24 1:03, Cong Wang wrote: > On Sun, Jul 23, 2017 at 5:48 AM, liujian (CE) wrote: >> Hi >> >> I find it caused by below steps: >> 1. set tp_version to TPACKET_V3 and req->tp_block_nr to 1 >> 2. set tp_block_nr to 0 >> Then pg_vec was freed, and we did not delete the timer? > > Thanks f

[PATCH][resend] drm: dw-hdmi-i2s: add missing company name on Copyright

2017-07-23 Thread Kuninori Morimoto
From: Kuninori Morimoto This driver's Copyright is under Renesas Solutions Corp Signed-off-by: Kuninori Morimoto --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b

RE: [PATCH 1/2] dt-bindings: qoriq-clock: Add coreclk

2017-07-23 Thread Andy Tang
Hi, > -Original Message- > From: sb...@codeaurora.org [mailto:sb...@codeaurora.org] > Sent: Saturday, July 22, 2017 6:03 AM > To: Andy Tang > Cc: mturque...@baylibre.com; mark.rutl...@arm.com; linux- > c...@vger.kernel.org; devicet...@vger.kernel.org; linux- > ker...@vger.kernel.org; linu

[RESEND PATCH 0/2] crypto/rockchip: fix some issue which causes crypto failed

2017-07-23 Thread zain wang
These patches fix some bugs on rockchip's crypto which would cause crypto failed. zain wang (2): crypto: rockchip - move the crypto completion from interrupt context crypto: rockchip - return the err code when unable dequeue the crypto request drivers/crypto/rockchip/rk3288_crypto.c

[RESEND PATCH 2/2] crypto: rockchip - return the err code when unable dequeue the crypto request

2017-07-23 Thread zain wang
Sometime we would unable to dequeue the crypto request, in this case, we should finish crypto and return the err code. Signed-off-by: zain wang --- drivers/crypto/rockchip/rk3288_crypto.c| 19 --- drivers/crypto/rockchip/rk3288_crypto_ablkcipher.c | 15 +++

[RESEND PATCH 1/2] crypto: rockchip - move the crypto completion from interrupt context

2017-07-23 Thread zain wang
It's illegal to call the completion function from hardirq context, it will cause runtime tests to fail. Let's build a new task (done_task) for moving update operation from hardirq context. Signed-off-by: zain wang --- drivers/crypto/rockchip/rk3288_crypto.c| 39 --

[PATCH 2/3][resend] media: ti-vpe: cal: use of_graph_get_remote_endpoint()

2017-07-23 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto Reviewed-by: Sylwester Nawrocki Acked-by: Benoit Parrot --- based on 4c9c3d595f1bad021cc126d20879df4016801736 ("of_graph: add of_graph_get_remote_endpoint()") drivers/medi

[PATCH 1/3][resend] drm: rcar-du: use of_graph_get_remote_endpoint()

2017-07-23 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto Reviewed-by: Laurent Pinchart --- based on 4c9c3d595f1bad021cc126d20879df4016801736 ("of_graph: add of_graph_get_remote_endpoint()") drivers/gpu/drm/rcar-du/rcar_du_kms.c |

[PATCH 3/3][resend] omapfb: use of_graph_get_remote_endpoint()

2017-07-23 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- based on 4c9c3d595f1bad021cc126d20879df4016801736 ("of_graph: add of_graph_get_remote_endpoint()") drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 3 ++- 1 file changed,

Re: af_packet: use after free in prb_retire_rx_blk_timer_expired

2017-07-23 Thread Ding Tianhong
On 2017/7/24 9:09, Ding Tianhong wrote: > > > On 2017/7/24 1:03, Cong Wang wrote: >> On Sun, Jul 23, 2017 at 5:48 AM, liujian (CE) wrote: >>> Hi >>> >>> I find it caused by below steps: >>> 1. set tp_version to TPACKET_V3 and req->tp_block_nr to 1 >>> 2. set tp_block_nr to 0 >>> Then pg_vec wa

[PATCH 2/3][resend] media: ti-vpe: cal: use of_graph_get_remote_endpoint()

2017-07-23 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto Reviewed-by: Sylwester Nawrocki Acked-by: Benoit Parrot --- based on 4c9c3d595f1bad021cc126d20879df4016801736 ("of_graph: add of_graph_get_remote_endpoint()") drivers/medi

[PATCH 3/3][resend] omapfb: use of_graph_get_remote_endpoint()

2017-07-23 Thread Kuninori Morimoto
From: Kuninori Morimoto Now, we can use of_graph_get_remote_endpoint(). Let's use it. Signed-off-by: Kuninori Morimoto --- based on 4c9c3d595f1bad021cc126d20879df4016801736 ("of_graph: add of_graph_get_remote_endpoint()") drivers/video/fbdev/omap2/omapfb/dss/dss-of.c | 3 ++- 1 file changed,

Re: [PATCH Y.A. RESEND] MAINTAINERS: fix alpha. ordering

2017-07-23 Thread Joe Perches
On Sun, 2017-07-23 at 16:14 -0700, Linus Torvalds wrote: > On Sun, Jul 23, 2017 at 1:00 PM, Linus Torvalds > wrote: > > > > Anyway, clearly my script showed something. I think my script is still > > doing the right thing, it's just that the input is questionable. > > I added a few actual checks

Re: [PATCH] ceph: kernel client startsync can be removed

2017-07-23 Thread Yan, Zheng
> On 21 Jul 2017, at 17:20, Yanhu Cao wrote: > > kernel client is still sending write,startsync. > that startsync is a no-op (has been for years) and can probably be removed > > Link: http://tracker.ceph.com/issues/20604 > > Signed-off-by: Yanhu Cao > --- > fs/ceph/addr.c | 9 ++--

Re: Linux 4.13-rc2

2017-07-23 Thread Linus Torvalds
On Sun, Jul 23, 2017 at 4:48 PM, Linus Torvalds wrote: > Things are chugging along, and we actually had a reasonably active rc2. .. and Konstantin just noticed that I had forgotten to push out the actual tag, so the scripts that generate the diffs and tar-balls didn't run. So the git trees conta

linux-next: build warning after merge of the l2-mtd tree

2017-07-23 Thread Stephen Rothwell
Hi Brian, After merging the l2-mtd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/mtd/mtdswap.c: In function 'mtdswap_add_debugfs': drivers/mtd/mtdswap.c:1317:17: warning: unused variable 'dev' [-Wunused-variable] struct device *dev = disk_to_dev(gd);

Re: [PATCH v3 3/9] perf annotate: Fix wrong --show-total-period option showing number of samples

2017-07-23 Thread Taeung Song
Hi Arnaldo, Sorry, I'm too late. On 07/21/2017 08:24 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Jul 21, 2017 at 06:41:29PM +0900, Taeung Song escreveu: On 07/21/2017 04:19 AM, Arnaldo Carvalho de Melo wrote: Em Thu, Jul 20, 2017 at 06:36:55AM +0900, Taeung Song escreveu: Currently the --sho

Re: [PATCH] [RESEND] drm/rockchip: fix Kconfig dependencies

2017-07-23 Thread Mark yao
On 2017年07月22日 05:12, Arnd Bergmann wrote: A bug that I had fixed earlier just came back, with CONFIG_EXTCON=m, the rockchip drm driver will fail to link: drivers/gpu/drm/rockchip/cdn-dp-core.o: In function `cdn_dp_get_port_lanes': cdn-dp-core.c:(.text.cdn_dp_get_port_lanes+0x30): undefined refe

Re: [PATCH 2/2] printk/console: Enhance the check for consoles using init memory

2017-07-23 Thread Sergey Senozhatsky
Hello, On (07/21/17 16:32), Petr Mladek wrote: [..] > > sort of a problem here is that the next time anyone adds a new ->foo() > > callback to struct console, that person also needs to remember to update > > printk_late_init(). > > I am not super happy with this as well. Any hint how to do it bet

Re: [PATCH V2] pci: quirk: Apply APM ACS quirk to XGene devices

2017-07-23 Thread Alex Williamson
On Fri, 21 Jul 2017 13:20:18 -0700 Feng Kan wrote: > On Thu, Jul 20, 2017 at 3:22 PM, Alex Williamson > wrote: > > On Wed, 19 Jul 2017 17:46:51 -0700 > > Feng Kan wrote: > > > >> The APM X-Gene PCIe root port does not support ACS at this point. > >> However, the hw provides isolation and sour

linux-next: manual merge of the drm tree with Linus' tree

2017-07-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm tree got a conflict in: MAINTAINERS between commit: 82abbea734d6 ("MAINTAINERS: fix alphabetical ordering") from Linus' tree and commit: 3589211e9b03 ("drm/tinydrm: Add RePaper e-ink driver") from the drm tree. I fixed it up (see below) and

[lkp-robot] [mm/vmalloc] dec0553d31: WARNING:at_mm/vmalloc.c:#vmap_page_range_noflush

2017-07-23 Thread kernel test robot
FYI, we noticed the following commit: commit: dec0553d3100b4b624dbbc2e5bf1d7df8d70b09f ("mm/vmalloc: terminate searching since one node found") url: https://github.com/0day-ci/linux/commits/Zhaoyang-Huang/mm-vmalloc-terminate-searching-since-one-node-found/20170721-235704 in testcase: boot o

RE: [PATCH] qe: fix compile issue for arm64

2017-07-23 Thread Qiang Zhao
On Fri, 2017-07-21 at 02:34PM, Michael Ellerman wrote: > -Original Message- > From: Michael Ellerman [mailto:m...@ellerman.id.au] > Sent: Friday, July 21, 2017 2:34 PM > To: Qiang Zhao ; o...@buserror.net > Cc: valentin.longch...@keymile.com; linuxppc-...@lists.ozlabs.org; linux- > ker...

Re: linux-next: manual merge of the drm tree with Linus' tree

2017-07-23 Thread Stephen Rothwell
Hi all, On Mon, 24 Jul 2017 12:06:05 +1000 Stephen Rothwell wrote: > > Today's linux-next merge of the drm tree got a conflict in: > > MAINTAINERS > > between commit: > > 82abbea734d6 ("MAINTAINERS: fix alphabetical ordering") > > from Linus' tree and commit: > > 3589211e9b03 ("drm/ti

[PATCH] regulator: pwm-regulator: Remove unneeded gpiod NULL check

2017-07-23 Thread Fabio Estevam
From: Fabio Estevam The gpiod API checks for NULL descriptors, so there is no need to duplicate the check in the driver. Signed-off-by: Fabio Estevam --- drivers/regulator/pwm-regulator.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/pwm-regulator.

[lkp-robot] [x86/refcount] b631e535c6: WARNING:at_net/netlink/af_netlink.c:#netlink_sock_destruct

2017-07-23 Thread kernel test robot
FYI, we noticed the following commit: commit: b631e535c61d7ddbb7ebac545f729ca9b3b6d70e ("x86/refcount: Implement fast refcount overflow protection") https://git.kernel.org/cgit/linux/kernel/git/kees/linux.git kspp/fast-refcount/ud/v6 in testcase: boot on test machine: qemu-system-x86_64 -enab

Re: [PATCH 2/2] mm/swap: Remove lock_initialized flag from swap_slots_cache

2017-07-23 Thread Huang, Ying
Hi, Tim, Tim Chen writes: > We will only reach the lock initialization code > in alloc_swap_slot_cache when the cpu's swap_slots_cache's slots > have not been allocated and swap_slots_cache has not been initialized > previously. So the lock_initialized check is redundant and unnecessary. > Remo

Re: [PATCH v3 2/8] MIPS: ranchu: Add Goldfish RTC driver

2017-07-23 Thread kbuild test robot
Hi Miodrag, [auto build test ERROR on linus/master] [also build test ERROR on next-20170721] [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/commits/Aleksandar-Markovic/MIPS-Add-virtual-Ranchu-board-as-a

RE: [PATCH] Staging : unisys : visorbus : visorbus_main: Fixed a brace cdoing style issue

2017-07-23 Thread Kershner, David A
> -Original Message- > From: Himanshu Jha [mailto:himanshujha199...@gmail.com] > Subject: [PATCH] Staging : unisys : visorbus : visorbus_main: Fixed a brace > cdoing style issue > > Fixed coding style issue for function declaration. > This doesn't apply to Greg's branch, fix was already

[lkp-robot] [mdio_bus] 95b80bf3db: WARNING:at_include/linux/gpio/consumer.h:#mdiobus_unregister

2017-07-23 Thread kernel test robot
FYI, we noticed the following commit: commit: 95b80bf3db03c2bf572a357cf74b9a6aefef0a4a ("mdio_bus: Remove unneeded gpiod NULL check") https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master in testcase: boot on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M caused

[PATCH V3 1/4] ARM64: dts: rockchip: rk3328 add iommu nodes

2017-07-23 Thread Simon Xue
Add H265e/VEPU/VPU/VDEC/VOP iommu nodes Signed-off-by: Simon Xue --- changes since V2: - none arch/arm64/boot/dts/rockchip/rk3328.dtsi | 45 1 file changed, 45 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/

[PATCH V3 3/4] ARM64: dts: rockchip: rk3368 add iommu nodes

2017-07-23 Thread Simon Xue
Add IEP/ISP/VOP/HEVC/VPU iommu nodes Signed-off-by: Simon Xue --- changes since V2: use rockchip,disable-mmu-reset instead of rk-iommu,disable-reset-quirk arch/arm64/boot/dts/rockchip/rk3368.dtsi | 49 1 file changed, 49 insertions(+) diff --git a/arch/arm64/bo

[PATCH V3 2/4] ARM: dts: rockchip: rk322x add iommu nodes

2017-07-23 Thread Simon Xue
Add VPU/VDEC/VOP/IEP iommu nodes Signed-off-by: Simon Xue --- changes since V2: - none arch/arm/boot/dts/rk322x.dtsi | 36 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/rk322x.dtsi b/arch/arm/boot/dts/rk322x.dtsi index f3e4ffd..36f7c4b 10

[PATCH V3 4/4] ARM64: dts: rockchip: rk3399 add iommu nodes

2017-07-23 Thread Simon Xue
Add VPU/VDEC/IEP/VOPL/VOPB/ISP0/ISP1 iommu nodes Signed-off-by: Simon Xue --- changes since V2: use rockchip,disable-mmu-reset instead of rk-iommu,disable-reset-quirk arch/arm64/boot/dts/rockchip/rk3399.dtsi | 65 1 file changed, 65 insertions(+) diff --git a/a

[PATCH V3 2/3] iommu/rockchip: add multi irqs support

2017-07-23 Thread Simon Xue
RK3368 vpu mmu have two irqs, this patch support multi irqs Signed-off-by: Simon Xue --- changes since V2: use platform_irq_count to get irq nums drivers/iommu/rockchip-iommu.c | 35 ++- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/drivers/iommu

[PATCH V3 1/3] Docs: dt: rockchip: add rockchip,disable-mmu-reset property

2017-07-23 Thread Simon Xue
Add rockchip,disable-mmu-reset property to disable some mmu reset operation Signed-off-by: Simon Xue --- changes since V2: use rockchip,disable-mmu-reset instead of rk-iommu,disable-reset-quirk Documentation/devicetree/bindings/iommu/rockchip,iommu.txt | 5 + 1 file changed, 5 insertions(+)

[PATCH V3 3/3] iommu/rockchip: ignore isp mmu reset operation

2017-07-23 Thread Simon Xue
ISP mmu can't support reset operation, it won't get the expected result when reset, but rest functions work normally. Add this patch as a WA for this issue. Signed-off-by: Simon Xue --- changes since V2: use rockchip,disable-mmu-reset instead of rk-iommu,disable-reset-quirk drivers/iommu/rockch

Re: [PATCH -mm -v2 00/12] mm, THP, swap: Delay splitting THP after swapped out

2017-07-23 Thread Ming Lei
On Mon, Jul 24, 2017 at 08:57:48AM +0800, Huang, Ying wrote: > Andrew Morton writes: > > > On Fri, 23 Jun 2017 15:12:51 +0800 "Huang, Ying" > > wrote: > > > >> From: Huang Ying > >> > >> Hi, Andrew, could you help me to check whether the overall design is > >> reasonable? > >> > >> Hi, Johan

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > From: Ondrej Jirman > > SY8106A is an I2C attached single output regulator made by Silergy Corp, > which is used on several Allwinner H3/H5 SBCs to control the power > supply of the ARM cores. > > Add a driver for it. > > Signed-off-by: Ondr

Re: [linux-sunxi] [PATCH 01/10] dt-bindings: add binding for the SY8160A voltage regulator

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > From: Ondrej Jirman > > SY8106A is an I2C-controlled adjustable voltage regulator made by > Silergy Corp. > > Add its device tree binding. > > Signed-off-by: Ondrej Jirman > [Icenowy: Change commit message] > Signed-off-by: Icenowy Zheng >

Re: [linux-sunxi] [PATCH 03/10] ARM: sunxi: h3/h5: Add r_i2c pinmux node

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > From: Ondrej Jirman > > H3/H5 SoCs contain an I2C controller optionally available > on the PL0 and PL1 pins. This patch adds pinmux configuration > for this controller. > > Signed-off-by: Ondrej Jirman > [Icenowy: change commit message and

Re: [linux-sunxi] [PATCH 03/10] ARM: sunxi: h3/h5: Add r_i2c pinmux node

2017-07-23 Thread icenowy
在 2017-07-24 11:07,Chen-Yu Tsai 写道: On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: From: Ondrej Jirman H3/H5 SoCs contain an I2C controller optionally available on the PL0 and PL1 pins. This patch adds pinmux configuration for this controller. Signed-off-by: Ondrej Jirman [Icenowy: c

Re: [linux-sunxi] [PATCH 04/10] ARM: sunxi: h3/h5: Add r_i2c I2C controller

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > From: Ondrej Jirman > > Allwinner H3/H5 SoCs have an I2C controller at PL GPIO bank. > > Add support for it in the device tree. > > Signed-off-by: Ondrej Jirman > [Icenowy: Change to use r_ccu and change pinmux node name] > Signed-off-by: I

Re: [linux-sunxi] [PATCH 06/10] clk: sunxi-ng: allow set parent clock (PLL_CPUX) for CPUX clock on H3

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > The CPUX clock, which is the main clock of the ARM core on Allwinner H3, > can be adjusted by changing the frequency of the PLL_CPUX clock. > > Allowing setting parent clock for the CPUX clock, thus the PLL_CPUX > clock can be adjusted when a

[PATCH] perf report: Tag branch type/flag on "to" and tag cycles on "from"

2017-07-23 Thread Jin Yao
Current --branch-history LBR annotation displays confused data. For example, each cycles report is duplicated on both "from" and "to" entries. For example: perf report --branch-history --no-children --stdio --2.32%--main div.c:39 (COND_BWD CROSS_2M predicted:49.7% cycles:1) main div.c:4

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread icenowy
在 2017-07-24 11:03,Chen-Yu Tsai 写道: On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: From: Ondrej Jirman SY8106A is an I2C attached single output regulator made by Silergy Corp, which is used on several Allwinner H3/H5 SBCs to control the power supply of the ARM cores. Add a driver fo

Re: [PATCH 2/3] rtc: sun6i: fix memleaks and add error-path in sun6i_rtc_clk_init()

2017-07-23 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 6:59 PM, Alexey Klimov wrote: > The memory allocated for rtc and clk_data will never be freed in > sun6i_rtc_clk_init() in case of error and return. This patch adds > required error path with memory freeing. > > Fixes: 847b8bf62eb4 ("rtc: sun6i: Expose the 32kHz oscillator"

Re: [PATCH 3/3] rtc: sun6i: Remove unneeded initalization of ret in sun6i_rtc_setalarm()

2017-07-23 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 6:59 PM, Alexey Klimov wrote: A bit more description would be nice. > Signed-off-by: Alexey Klimov Otherwise, Reviewed-by: Chen-Yu Tsai

Re: [PATCH] staging: pi433: fix sparse warning: missing static

2017-07-23 Thread Marcus Wolf
reviewed-by: Marcus Wolf The fixes of this patch are fine, but there are already patches out there, containing these fixes. Thanks, Marcus > David Wittman hat am 24. Juli 2017 um 00:46 geschrieben: > > > A few local functions in the pi433 module were getting flagged by Sparse > for missing dec

Re: [PATCH 1/3] rtc: sun6i: Remove double init of spinlock in sun6i_rtc_clk_init()

2017-07-23 Thread Chen-Yu Tsai
On Wed, Jul 12, 2017 at 6:59 PM, Alexey Klimov wrote: A bit more description would be nice. Maybe a kernel message that prompted this fix? > Fixes: 847b8bf62eb4 ("rtc: sun6i: Expose the 32kHz oscillator") > Cc: Maxime Ripard > Cc: Rob Herring > Signed-off-by: Alexey Klimov Otherwise, Review

Re: [PATCH v2 1/2] x86/amd: Refactor topology extension related code

2017-07-23 Thread Suravee Suthikulpanit
Boris, On 7/22/17 23:12, Borislav Petkov wrote: On Fri, Jul 21, 2017 at 09:00:38PM -0500, Suravee Suthikulpanit wrote: Refactoring in preparation for subsequent changes. There is no functional change. Signed-off-by: Suravee Suthikulpanit --- arch/x86/kernel/cpu/amd.c | 79 +++

Re: [PATCH] qe: fix compile issue for arm64

2017-07-23 Thread Scott Wood
On Mon, 2017-07-24 at 02:09 +, Qiang Zhao wrote: > On Fri, 2017-07-21 at 02:34PM, Michael Ellerman wrote: > > > -Original Message- > > From: Michael Ellerman [mailto:m...@ellerman.id.au] > > Sent: Friday, July 21, 2017 2:34 PM > > To: Qiang Zhao ; o...@buserror.net > > Cc: valentin.lo

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread Chen-Yu Tsai
On Mon, Jul 24, 2017 at 11:18 AM, wrote: > 在 2017-07-24 11:03,Chen-Yu Tsai 写道: >> >> On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: >>> >>> From: Ondrej Jirman >>> >>> SY8106A is an I2C attached single output regulator made by Silergy Corp, >>> which is used on several Allwinner H3/H5 SB

Re: [linux-sunxi] [PATCH 02/10] regulator: add support for SY8106A regulator

2017-07-23 Thread icenowy
在 2017-07-24 11:33,Chen-Yu Tsai 写道: On Mon, Jul 24, 2017 at 11:18 AM, wrote: 在 2017-07-24 11:03,Chen-Yu Tsai 写道: On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: From: Ondrej Jirman SY8106A is an I2C attached single output regulator made by Silergy Corp, which is used on several

Re: [PATCH v2] perf report: Make --branch-history work without callgraphs(-g) option in perf record

2017-07-23 Thread Jin, Yao
Hi Arnaldo, Is this patch OK for merging? It's more than 2 months no more comments. Thanks Jin Yao On 5/8/2017 6:43 PM, Jin Yao wrote: perf record -b -g perf report --branch-history This merges the LBRs with the callgraphs. However it would be nice if it also works without callgraphs (-g)

Re: [lkp-robot] [x86/refcount] b631e535c6: WARNING:at_net/netlink/af_netlink.c:#netlink_sock_destruct

2017-07-23 Thread Kees Cook
Is 14afee4b6092f ("net: convert sock.sk_wmem_alloc from atomic_t to refcount_t") correct? That looks like a statistics counter, not a refcounter? I can't quite tell, though... I think this WARN is from: WARN_ON(refcount_read(&sk->sk_wmem_alloc)); -Kees On Sun, Jul 23, 2017 at 7:13 PM, kernel te

Re: [PATCH RFC] mm: allow isolation for pages not inserted into lru lists yet

2017-07-23 Thread Minchan Kim
Hi, On Tue, Jul 18, 2017 at 07:00:23PM +0300, Konstantin Khlebnikov wrote: > Pages are added into lru lists via per-cpu page vectors in order > to combine these insertions and reduce lru lock contention. > > These pending pages cannot be isolated and moved into another lru. > This breaks in some

[PATCH] usb: dwc2: skip L2 state of hcd if work in device mode

2017-07-23 Thread Meng Dongyang
The gadget may fail to enqueue request if the controller has enter L2 state. This patch prevent enter L2 state in hcd driver if the controller works in device mode. Meng Dongyang (1): usb: dwc2: skip L2 state of hcd if controller work in device mode drivers/usb/dwc2/hcd.c | 6 ++ 1 file ch

[PATCH] usb: dwc2: skip L2 state of hcd if controller work in device mode

2017-07-23 Thread Meng Dongyang
In the case hcd autosuspend is enabled, the hcd will enter L2 state if no device connected. But if the controller works in otg mode, the gadget driver still works in L0 state if connected with host. This may result in transfer fail when gadget enqueue new request but the hcd driver has set the glob

[PATCH v2] qe: fix compile issue for arm64

2017-07-23 Thread Zhao Qiang
Signed-off-by: Zhao Qiang --- Changes for v2: - include all Errata QE_General4 in #ifdef drivers/soc/fsl/qe/qe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/fsl/qe/qe.c b/drivers/soc/fsl/qe/qe.c index 2ef6fc6..4ac9ce8 100644 --- a/drivers/soc/fsl/qe/qe.c +++ b/drive

Re: [PATCH v2 6/7] mailbox: bcm-flexrm-mailbox: Set msg_queue_len for each channel

2017-07-23 Thread Anup Patel
Hi Jassi, Sorry for the delayed response... On Fri, Jul 21, 2017 at 9:16 PM, Jassi Brar wrote: > Hi Anup, > > On Fri, Jul 21, 2017 at 12:25 PM, Anup Patel wrote: >> The Broadcom FlexRM ring (i.e. mailbox channel) can handle >> larger number of messages queued in one FlexRM ring hence >> this pa

Re: [PATCH 2/3] usb: xhci: Add DbC support in xHCI driver

2017-07-23 Thread Lu Baolu
Hi Felipe, On 07/21/2017 06:31 PM, Felipe Balbi wrote: > Hi, > > Lu Baolu writes: >> +static void xhci_dbc_stop(struct xhci_hcd *xhci) >> +{ >> +struct xhci_dbc *dbc = xhci->dbc; >> + >> +WARN_ON(!dbc); >> + >> +cancel_delayed_work_sync(&dbc->event_work); >> + >> +if (dbc-

Re: [linux-sunxi] [PATCH 09/10] ARM: sun8i: h2+: add SY8113B regulator used by Orange Pi Zero board

2017-07-23 Thread Chen-Yu Tsai
On Sun, Jul 23, 2017 at 6:27 PM, Icenowy Zheng wrote: > Orange Pi Zero board has a SY8113B regulator, which is controlled via > GPIO and capable of outputing 1.1V when the PL6 GPIO is set to output 0 > or 1.3V when the PL6 GPIO is set to input or output 1, and the output is > the power supply of t

[PATCH v3 0/2] x86/amd: Refactor and fixup family17h cpu_core_id

2017-07-23 Thread Suravee Suthikulpanit
Changes from V2 (https://lkml.org/lkml/2017/7/21/730) * In patch 1/2 * Fix kbuild error for the __get_topoext() due to #ifdef CONFIG_SMP. * Do not move node_id declaration in the refactored function. Changes from V1 (https://lkml.org/lkml/2017/7/20/180) * Refactor topology extension lo

<    1   2   3   >