Re: [PATCH] net: phy: marvell: clear wol event before setting it

2018-04-27 Thread Jisheng Zhang
On Fri, 27 Apr 2018 09:22:34 +0530 Bhadram Varka wrote: > Hi Andrew/Jisheng, > > On 4/26/2018 6:10 PM, Andrew Lunn wrote: > >> hmm, so you want a "stick" WOL feature, I dunno whether Linux kernel > >> requires WOL should be "stick". > > I see two different cases: > > > > Suspend/resume: The

Re: [PATCH v1 1/4] mhi_bus: core: Add support for MHI host interface

2018-04-27 Thread Greg Kroah-Hartman
On Thu, Apr 26, 2018 at 07:23:28PM -0700, Sujeev Dias wrote: > --- /dev/null > +++ b/drivers/bus/mhi/core/mhi_boot.c > @@ -0,0 +1,593 @@ > +/* Copyright (c) 2018, The Linux Foundation. All rights reserved. > + * > + * This program is free software; you can redistribute it and/or modify > + * it

Re: [PATCH] sched/numa: Stagger NUMA balancing scan periods for new threads

2018-04-27 Thread Mel Gorman
On Fri, Apr 27, 2018 at 08:50:57AM +0200, Ingo Molnar wrote: > > 4.17.0-rc1 4.17.0-rc1 > >vanilla stagger-v1r1 > > sys-time-bt.D 48.78 ( 0.00%) 48.22 ( 1.15%) > > sys-time-cg.D 25.31 (

Re: [PATCH 00/24] device link, bridge supplier <-> drm device

2018-04-27 Thread Peter Rosin
On 2018-04-27 09:11, Andrzej Hajda wrote: > Hi Peter, > > On 27.04.2018 00:31, Peter Rosin wrote: >> Hi! >> >> It was noted by Russel King [1] that bridges (not using components) >> might disappear unexpectedly if the owner of the bridge was unbound. >> Jyri Sarha had previously noted the same

Re: [RFC PATCH RESEND 2/3] leds: upboard: Add LED support

2018-04-27 Thread Lee Jones
On Thu, 26 Apr 2018, Javier Arteaga wrote: [...] > > > static const struct regmap_range upboard_up2_readable_ranges[] = { > > > @@ -116,7 +124,18 @@ static const struct regmap_config > > > upboard_up2_regmap_config = { > > > .wr_table = _up2_writable_table, > > > }; > > > > > > +static

Re: [PATCH RFC PoC 0/2] platform: different approach to early platform drivers

2018-04-27 Thread Arnd Bergmann
On Fri, Apr 27, 2018 at 4:28 AM, David Lechner wrote: > On 04/26/2018 12:31 PM, Rich Felker wrote: >> >> On Thu, Apr 26, 2018 at 05:29:18PM +0200, Bartosz Golaszewski wrote: >>> >>> From: Bartosz Golaszewski >>> >>> This is a follow to my

Re: [linux-sunxi] [PATCH 2/3] arm64: allwinner: h6: add device tree nodes for MMC controllers

2018-04-27 Thread Icenowy Zheng
于 2018年4月27日 GMT+08:00 上午12:45:38, Andre Przywara 写到: >Hi, > >On 26/04/18 15:07, Icenowy Zheng wrote: >> The Allwinner H6 SoC have 3 MMC controllers. >> >> Add device tree nodes for them. >> >> Signed-off-by: Icenowy Zheng >> --- >>

Re: stable 4.16.5 hmm build error

2018-04-27 Thread Михаил Носов
>What .config is creating this? I have not seen any kbuild reports of this in the past. .config - https://bugzilla.kernel.org/attachment.cgi?id=275579 src - https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.16.5.tar.xz 2018-04-27 10:30 GMT+03:00 Greg Kroah-Hartman

Re: [PATCH] mm: don't show nr_indirectly_reclaimable in /proc/vmstat

2018-04-27 Thread Vlastimil Babka
On 04/26/2018 11:55 PM, David Rientjes wrote: > On Thu, 26 Apr 2018, Michal Hocko wrote: > >>> Don't show nr_indirectly_reclaimable in /proc/vmstat, >>> because there is no need in exporting this vm counter >>> to the userspace, and some changes are expected >>> in reclaimable object accounting,

[v3 04/10] drm/mediatek: mt2701: switch to mfd probing.

2018-04-27 Thread matthias . bgg
From: Matthias Brugger With the mtk-mmsys MFD device in place, we switch the probing for mt2701 from device-tree to mfd. Signed-off-by: Matthias Brugger --- drivers/gpu/drm/mediatek/mtk_drm_drv.c | 30 +++--- 1 file changed, 23

[v3 07/10] drm/mediatek: Add mfd support for mt8173

2018-04-27 Thread matthias . bgg
From: Matthias Brugger Use the MFD device for SoC mt8173. Probing via devicetree is no longer needed for any SoC, so delete it. Signed-off-by: Matthias Brugger Reviewed-by: Philipp Zabel --- drivers/gpu/drm/mediatek/mtk_drm_drv.c

[v3 08/10] clk: mediatek: mt8173-mm: switch to mfd device

2018-04-27 Thread matthias . bgg
From: Matthias Brugger As the new mfd device is in place, switch probing for the MMSYS to support invocation from the mfd device. Signed-off-by: Matthias Brugger Acked-by: Stephen Boyd --- drivers/clk/mediatek/clk-mt8173.c | 19

[v3 10/10] MAINTAINERS: update Mediatek Soc entry

2018-04-27 Thread matthias . bgg
From: Matthias Brugger Mediatek SoCs include several soc specific drivers as well as a mfd device. Add these to the maintainers file. Signed-off-by: Matthias Brugger --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS

Re: [PATCH v4 04/15] dt-bindings: memory: tegra: Add hot resets definitions

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:26PM +0300, Dmitry Osipenko wrote: > Add definitions for the Tegra20+ memory controller hot resets. > > Signed-off-by: Dmitry Osipenko > Reviewed-by: Rob Herring > --- > include/dt-bindings/memory/tegra114-mc.h | 19

Re: [PATCH v4 06/15] memory: tegra: Setup interrupts mask before requesting IRQ

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:28PM +0300, Dmitry Osipenko wrote: > This avoids unwanted interrupt during MC driver probe. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/mc.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) Applied,

Re: [PATCH v2 2/2] soc: mediatek: reuse regmap_read_poll_timeout helpers

2018-04-27 Thread Matthias Brugger
On 04/23/2018 08:42 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Reuse the common helpers regmap_read_poll_timeout provided by Linux core > instead of an open-coded handling. > > v1 -> v2: > - use macro definitions MTK_POLL_DELAY_US and MTK_POLL_TIMEOUT for

Re: [PATCH v4 02/15] dt-bindings: memory: tegra: Document #reset-cells property of the Tegra30 MC

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:24PM +0300, Dmitry Osipenko wrote: > Memory Controller has a memory client "hot reset" functionality, which > resets the DMA interface of a memory client. So MC is a reset controller > in addition to IOMMU. > > Signed-off-by: Dmitry Osipenko >

Re: [PATCH v4 01/15] dt-bindings: arm: tegra: Remove duplicated Tegra30+ MC binding

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:23PM +0300, Dmitry Osipenko wrote: > There are two bindings for the same Memory Controller. One of the bindings > became obsolete long time ago and probably was left unnoticed, remove it > for consistency. > > Signed-off-by: Dmitry Osipenko >

Re: [PATCH v4 03/15] dt-bindings: arm: tegra: Document #reset-cells property of the Tegra20 MC

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:25PM +0300, Dmitry Osipenko wrote: > Memory Controller has a memory client "hot reset" functionality, which > resets the DMA interface of a memory client, so MC is a reset controller. > > Signed-off-by: Dmitry Osipenko > Reviewed-by: Rob Herring

Re: [PATCH bpf-next v2] bpf, doc: Update bpf_jit_enable limitation for CONFIG_BPF_JIT_ALWAYS_ON

2018-04-27 Thread Daniel Borkmann
On 04/27/2018 12:02 PM, Leo Yan wrote: > When CONFIG_BPF_JIT_ALWAYS_ON is enabled, kernel has limitation for > bpf_jit_enable, so it has fixed value 1 and we cannot set it to 2 > for JIT opcode dumping; this patch is to update the doc for it. > > Suggested-by: Daniel Borkmann

Re: [PATCH V2 1/3] usb: xhci: tegra: Prepare for adding runtime PM support

2018-04-27 Thread Thierry Reding
On Thu, Apr 26, 2018 at 03:59:08PM +0100, Jon Hunter wrote: > When adding runtime PM support to the Tegra XHCI driver, it is desirable > to move the function calls to enable the clocks, regulators and PHY from > the tegra_xusb_probe into the runtime PM handlers. Currently, the > clocks, regulators

Re: [PATCH V2 2/3] usb: xhci: tegra: Add runtime PM support

2018-04-27 Thread Thierry Reding
On Thu, Apr 26, 2018 at 03:59:09PM +0100, Jon Hunter wrote: > Add runtime PM support to the Tegra XHCI driver and move the function > calls to enable/disable the clocks, regulators and PHY into the runtime > PM callbacks. > > Signed-off-by: Jon Hunter > --- > > Changes

Re: [PATCH RFC PoC 0/2] platform: different approach to early platform drivers

2018-04-27 Thread Arnd Bergmann
On Fri, Apr 27, 2018 at 10:57 AM, Bartosz Golaszewski wrote: > 2018-04-27 9:52 GMT+02:00 Arnd Bergmann : >> On Fri, Apr 27, 2018 at 4:28 AM, David Lechner wrote: >>> On 04/26/2018 12:31 PM, Rich Felker wrote: > > We have platforms

[PATCH net-next 0/2] netns: uevent filtering

2018-04-27 Thread Christian Brauner
Hey everyone, This is the new approach to uevent filtering as discussed (see the threads in [1], [2], and [3]). This series deals with with fixing up uevent filtering logic: - uevent filtering logic is simplified - locking time on uevent_sock_list is minimized - tagged and untagged kobjects are

[PATCH net-next 1/2 v3] uevent: add alloc_uevent_skb() helper

2018-04-27 Thread Christian Brauner
This patch adds alloc_uevent_skb() in preparation for follow up patches. Signed-off-by: Christian Brauner --- lib/kobject_uevent.c | 39 ++- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/lib/kobject_uevent.c

Re: [LSF/MM TOPIC NOTES] x86 ZONE_DMA love

2018-04-27 Thread Michal Hocko
On Thu 26-04-18 22:35:56, Christoph Hellwig wrote: > On Thu, Apr 26, 2018 at 09:54:06PM +, Luis R. Rodriguez wrote: > > In practice if you don't have a floppy device on x86, you don't need > > ZONE_DMA, > > I call BS on that, and you actually explain later why it it BS due > to some drivers

Re: [PATCH] firmware: dmi: Add access to the SKU ID string

2018-04-27 Thread Jean Delvare
Hi Simon, On Tue, 24 Apr 2018 15:11:11 -0600, Simon Glass wrote: > This is used in some systems from user space for determining the identity > of the device. > > Expose this as a file so that that user-space tools don't need to read > from /sys/firmware/dmi/tables/DMI > > Signed-off-by: Simon

[GIT PULL] mtd: Fixes for 4.17-rc3

2018-04-27 Thread Boris Brezillon
Hello Linus, Here is the MTD fixes PR for 4.17-rc3. Regards, Boris The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: git://git.infradead.org/linux-mtd.git

Re: [PATCH] inode: debugfs_create_dir uses mode permission from parent

2018-04-27 Thread Greg KH
On Fri, Apr 27, 2018 at 10:07:12AM +0200, Thomas Richter wrote: > Currently function debugfs_create_dir() creates a new > directory in the debugfs (usually mounted /sys/kernel/debug) > with permission rwxr-xr-x. This is hard coded. > > Change this to use the parent directory permission. > >

Re: [PATCH 02/17] dt-bindings: display: renesas: du: Document the R8A77965 bindings

2018-04-27 Thread Kieran Bingham
Hi Laurent, On 26/04/18 21:10, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Thursday, 26 April 2018 19:57:32 EEST Kieran Bingham wrote: >> Ahem - this one seems to have lost it's commit message. >> >> Apologies :) > > Apart from that, this looks good to me. > >

[PATCH] crypto: caam - fix size of RSA prime factor q

2018-04-27 Thread Horia Geantă
Fix a typo where size of RSA prime factor q is using the size of prime factor p. Cc: # 4.13+ Fixes: 52e26d77b8b3 ("crypto: caam - add support for RSA key form 2") Fixes: 4a651b122adb ("crypto: caam - add support for RSA key form 3") Reported-by: David Binderman

Re: [PATCH v4 07/15] memory: tegra: Apply interrupts mask per SoC

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:29PM +0300, Dmitry Osipenko wrote: > Currently we are enabling handling of interrupts specific to Tegra124+ > which happen to overlap with previous generations. Let's specify > interrupts mask per SoC generation for consistency and in a preparation > of squashing of

[tip:locking/core] locking/barriers: Introduce smp_cond_load_relaxed() and atomic_cond_read_relaxed()

2018-04-27 Thread tip-bot for Will Deacon
Commit-ID: fcfdfe30e324725007e9dc5814b62a4c430ea909 Gitweb: https://git.kernel.org/tip/fcfdfe30e324725007e9dc5814b62a4c430ea909 Author: Will Deacon AuthorDate: Thu, 26 Apr 2018 11:34:15 +0100 Committer: Ingo Molnar CommitDate: Fri, 27 Apr 2018

Re: [PATCH v4 08/15] memory: tegra: Remove unused headers inclusions

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:30PM +0300, Dmitry Osipenko wrote: > Tegra210 contains some unused leftover headers, remove them for > consistency. > > Signed-off-by: Dmitry Osipenko > --- > drivers/memory/tegra/tegra210.c | 5 - > 1 file changed, 5 deletions(-) Applied,

Re: [PATCH v4 05/15] memory: tegra: Do not handle spurious interrupts

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 10:28:27PM +0300, Dmitry Osipenko wrote: > The ISR reads interrupts-enable mask, but doesn't utilize it. Apply the > mask to the interrupt status and don't handle interrupts that MC driver > haven't asked for. Kernel would disable spurious MC IRQ and report the > error.

Re: [PATCH v7 0/7] clk: meson-axg: Add AO Cloclk and Reset driver

2018-04-27 Thread Jerome Brunet
On Fri, 2018-04-27 at 17:31 +0800, Yixun Lan wrote: > hi Jerome: > > > On 04/27/18 17:20, Jerome Brunet wrote: > > On Thu, 2018-04-26 at 16:44 +0800, Yixun Lan wrote: > > > This patch try to add AO clock and Reset driver for Amlogic's > > > Meson-AXG SoC. > > > Please note that patch 7 need

Re: [PATCH bpf-next] bpf, doc: Update bpf_jit_enable limitation for CONFIG_BPF_JIT_ALWAYS_ON

2018-04-27 Thread Daniel Borkmann
On 04/27/2018 11:49 AM, Leo Yan wrote: > On Fri, Apr 27, 2018 at 11:44:44AM +0200, Daniel Borkmann wrote: >> On 04/26/2018 04:26 AM, Leo Yan wrote: >>> When CONFIG_BPF_JIT_ALWAYS_ON is enabled, kernel has limitation for >>> bpf_jit_enable, so it has fixed value 1 and we cannot set it to 2 >>> for

Re: [PATCH 06/17] drm: rcar-du: Allow DU groups to work with hardware indexing

2018-04-27 Thread Kieran Bingham
Hi Laurent, On 26/04/18 21:36, Laurent Pinchart wrote: > Hi Kieran, > > Thank you for the patch. > > On Thursday, 26 April 2018 19:53:35 EEST Kieran Bingham wrote: >> The group objects assume linear indexing, and more so always assume that >> channel 0 of any active group is used. >> >> Now

[PATCH 2/6 v3] iommu: of: make of_pci_map_rid() available for other devices too

2018-04-27 Thread Nipun Gupta
iommu-map property is also used by devices with fsl-mc. This patch moves the of_pci_map_rid to generic location, so that it can be used by other busses too. 'of_pci_map_rid' is renamed here to 'of_map_rid' and there is no functional change done in the API. Signed-off-by: Nipun Gupta

Re: [PATCH v8 2/4] arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable

2018-04-27 Thread Catalin Marinas
On Tue, Apr 03, 2018 at 01:30:44PM +0530, Chintan Pandya wrote: > Add an interface to invalidate intermediate page tables > from TLB for kernel. > > Signed-off-by: Chintan Pandya > --- > arch/arm64/include/asm/tlbflush.h | 6 ++ > 1 file changed, 6 insertions(+) > >

Re: [BUG] igb: reconnecting of cable not always detected

2018-04-27 Thread Holger Schurig
Hi Alex, > The first are the following 2 lines from your dump: > Apr 26 10:42:49 kernel: igb :02:00.0 eth0: igb: eth0 NIC Link is > Up 1000 Mbps Half Duplex, Flow Control: RX > Apr 26 10:42:49 kernel: igb :02:00.0: EEE Disabled: unsupported at > half duplex. Re-enable using ethtool when

Re: [Xen-devel] [PATCH 0/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-04-27 Thread Oleksandr Andrushchenko
On 04/25/2018 08:16 PM, Dongwon Kim wrote: On Wed, Apr 25, 2018 at 08:34:55AM +0200, Daniel Vetter wrote: On Wed, Apr 25, 2018 at 09:07:07AM +0300, Oleksandr Andrushchenko wrote: On 04/24/2018 11:35 PM, Dongwon Kim wrote: Had a meeting with Daniel and talked about bringing out generic part of

Re: [PATCH v2] dmaengine: axi-dmac: Request IRQ with IRQF_SHARED

2018-04-27 Thread Lars-Peter Clausen
On 04/27/2018 07:11 AM, Vinod Koul wrote: > On Thu, Apr 26, 2018 at 10:40:00AM -0700, Moritz Fischer wrote: >> Request IRQ with IRQF_SHARED flag. This works since the interrupt >> handler already checks if there is an actual IRQ pending and returns >> IRQ_NONE otherwise. > > hmmm what are we

Re: [PATCH] m68k: Fix calendar month regression on M68328

2018-04-27 Thread Geert Uytterhoeven
Hi Greg, Finn, On Fri, Apr 27, 2018 at 3:33 AM, Greg Ungerer wrote: > On 27/04/18 11:12, Finn Thain wrote: >> My earlier fix for read_persistent_clock() neglected to cover >> m68328_hwclk(). Correct this oversight. >> >> Cc: Geert Uytterhoeven >>

Re: [PATCH v3 1/7] kprobes: Make blacklist root user read only

2018-04-27 Thread Greg KH
On Fri, Apr 27, 2018 at 03:40:09PM +0900, Masami Hiramatsu wrote: > Since the blacklist file indicates a sensitive address > information to reader, it should be restricted to the > root user. > > Suggested-by: Thomas Richter > Signed-off-by: Masami Hiramatsu

Re: [PATCH v3 4/7] kprobes: Replace %p with other pointer types

2018-04-27 Thread Ingo Molnar
* Masami Hiramatsu wrote: > @@ -712,7 +712,7 @@ static void reuse_unused_kprobe(struct kprobe *ap) > op = container_of(ap, struct optimized_kprobe, kp); > if (unlikely(list_empty(>list))) > printk(KERN_WARNING "Warning: found a stray unused " > -

Re: [PATCH -tip v2 0/7] kprobes: Fix %p in kprobes

2018-04-27 Thread Greg KH
On Thu, Apr 26, 2018 at 09:14:34PM -0400, Steven Rostedt wrote: > On Thu, 26 Apr 2018 10:40:22 +0200 > Greg KH wrote: > > > > > > > This is not the correct way to submit patches for inclusion in the > > stable kernel tree. Please read: > >

Re: [PATCH net-next 1/2 v2] netns: restrict uevents

2018-04-27 Thread Christian Brauner
On Thu, Apr 26, 2018 at 07:35:47PM -0500, Eric W. Biederman wrote: > Christian Brauner writes: > > > On Thu, Apr 26, 2018 at 12:10:30PM -0500, Eric W. Biederman wrote: > >> Christian Brauner writes: > >> > >> > On Thu, Apr 26,

Re: [PATCH 1/2] drm/ttm: Add TTM_PAGE_FLAG_TRANSHUGE

2018-04-27 Thread Michel Dänzer
[ Dropping Roger He, his e-mail address seems to bounce ] On 2018-04-27 04:51 AM, zhoucm1 wrote: > On 2018年04月26日 23:06, Michel Dänzer wrote: >> From: Michel Dänzer >> >> When it's set, TTM tries to allocate huge pages if possible. > Do you mean original driver doesn't

Re: [PATCH] nvme: unquiesce the queue before cleaup it

2018-04-27 Thread jianchao.wang
Hi Max On 04/26/2018 06:23 PM, Max Gurtovoy wrote: > Hi Jianchao, > I actually tried this scenario with real HW and was able to repro the hang. > Unfortunatly, after applying your patch I got NULL deref: > BUG: unable to handle kernel NULL pointer dereference at 0014 > WARNING: CPU: 5

Re: [REGRESSION][BISECTED] i.MX6 pinctrl hogs stopped working

2018-04-27 Thread Richard Fitzgerald
On 17/04/18 09:50, Richard Fitzgerald wrote: On 10/04/18 19:33, Mika Penttilä wrote: On 10.04.2018 13:21, Richard Fitzgerald wrote: On 04/04/18 06:33, Mika Penttilä wrote: Hi! Reverting this made the hogs on a i.MX6 board work again. : commit b89405b6102fcc3746f43697b826028caa94c823

Re: [RFC v3 0/5] virtio: support packed ring

2018-04-27 Thread Tiwei Bie
On Fri, Apr 27, 2018 at 02:17:51PM +0800, Jason Wang wrote: > On 2018年04月27日 12:18, Michael S. Tsirkin wrote: > > On Fri, Apr 27, 2018 at 11:56:05AM +0800, Jason Wang wrote: > > > On 2018年04月25日 13:15, Tiwei Bie wrote: > > > > Hello everyone, > > > > > > > > This RFC implements packed ring

Re: [PATCH] Revert "ata: ahci-platform: add reset control support"

2018-04-27 Thread Thierry Reding
On Thu, Apr 26, 2018 at 12:20:40PM -0700, Tejun Heo wrote: > Hello, > > On Wed, Apr 18, 2018 at 10:36:47AM +0200, Thierry Reding wrote: > > I see that you've applied this to your for-next branch. However, this is > > a fix that needs to go into v4.17 because that's where the regression > > was

[PATCH] ARM: dts: berlin2q: add interrupt-affinity to pmu node

2018-04-27 Thread Jisheng Zhang
Add interrupt-affinity property to fix below warning: [0.429642] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0] Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2q.dtsi | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff

Re: [PATCH v2 1/2] soc: mediatek: introduce a CAPS flag for scp_domain_data

2018-04-27 Thread Matthias Brugger
On 04/23/2018 10:36 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Instead of adding more and more fields to scp_domain_data which get > checked in the code flow, add a caps field used for an indication the > characteristics for each SCP domain. > > At

Re: [PATCH] reset: uniphier: fix USB clock line for LD20

2018-04-27 Thread Masahiro Yamada
Philipp, 2018-04-12 11:16 GMT+09:00 Masahiro Yamada : > For LD20, the bit 5 of the offset 0x200c turned out to be a USB3 > reset. The hardware document says it is the GIO reset despite LD20 > has no GIO bus, confusingly. > > Also, fix confusing comments for PXs3. >

[tip:locking/core] locking/qspinlock: Use try_cmpxchg() instead of cmpxchg() when locking

2018-04-27 Thread tip-bot for Will Deacon
Commit-ID: ae75d9089ff7095d1d1a12c3cd86b21d3eaf3b15 Gitweb: https://git.kernel.org/tip/ae75d9089ff7095d1d1a12c3cd86b21d3eaf3b15 Author: Will Deacon AuthorDate: Thu, 26 Apr 2018 11:34:26 +0100 Committer: Ingo Molnar CommitDate: Fri, 27 Apr 2018

[tip:locking/core] locking/qspinlock: Add stat tracking for pending vs. slowpath

2018-04-27 Thread tip-bot for Waiman Long
Commit-ID: 81d3dc9a349b1e61d77106bbb05a6e6dd29b9d5e Gitweb: https://git.kernel.org/tip/81d3dc9a349b1e61d77106bbb05a6e6dd29b9d5e Author: Waiman Long AuthorDate: Thu, 26 Apr 2018 11:34:27 +0100 Committer: Ingo Molnar CommitDate: Fri, 27 Apr 2018

[tip:locking/core] MAINTAINERS: Add myself as a co-maintainer for the locking subsystem

2018-04-27 Thread tip-bot for Will Deacon
Commit-ID: baa8c6ddf7be33f2b0ddeb68906d668caf646baa Gitweb: https://git.kernel.org/tip/baa8c6ddf7be33f2b0ddeb68906d668caf646baa Author: Will Deacon AuthorDate: Thu, 26 Apr 2018 11:34:28 +0100 Committer: Ingo Molnar CommitDate: Fri, 27 Apr 2018

Re: [PATCH v1 2/4] iommu/tegra: gart: Fix gart_iommu_unmap()

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 11:07:20PM +0300, Dmitry Osipenko wrote: > It must return the number of unmapped bytes on success, returning 0 means > that unmapping failed and in result only one page is unmapped. > > Signed-off-by: Dmitry Osipenko > --- > drivers/iommu/tegra-gart.c |

Re: [PATCH bpf-next] bpf, doc: Update bpf_jit_enable limitation for CONFIG_BPF_JIT_ALWAYS_ON

2018-04-27 Thread Leo Yan
On Fri, Apr 27, 2018 at 11:44:44AM +0200, Daniel Borkmann wrote: > On 04/26/2018 04:26 AM, Leo Yan wrote: > > When CONFIG_BPF_JIT_ALWAYS_ON is enabled, kernel has limitation for > > bpf_jit_enable, so it has fixed value 1 and we cannot set it to 2 > > for JIT opcode dumping; this patch is to

Re: [PATCH] arm64: defconfig: Enable CONFIG_PINCTRL_MT7622 by default

2018-04-27 Thread Matthias Brugger
On 04/20/2018 10:58 AM, sean.w...@mediatek.com wrote: > From: Sean Wang > > Recently kernelCI reported the board mt7622-rfb1 has a fail test with > kernel: ERROR: did not start booting whose details could be seen at [1]. > > The cause is that UART0 can't output

Re: [PATCH v1 3/4] iommu/tegra: gart: Constify number of GART pages

2018-04-27 Thread Thierry Reding
On Mon, Apr 09, 2018 at 11:07:21PM +0300, Dmitry Osipenko wrote: > GART has a fixed aperture size, hence the number of pages is constant. > > Signed-off-by: Dmitry Osipenko > --- > drivers/iommu/tegra-gart.c | 14 -- > 1 file changed, 8 insertions(+), 6

Re: [PATCH v7 1/7] clk: meson: migrate to devm_of_clk_add_hw_provider API

2018-04-27 Thread Jerome Brunet
On Thu, 2018-04-26 at 16:44 +0800, Yixun Lan wrote: > There is a protential memory leak, as of_clk_del_provider is > never called if of_clk_add_hw_provider has been executed. > Fix this by using devm variant API. > > Fixes: f8c11f79912d ("clk: meson: Add GXBB AO Clock and Reset controller >

Re: [RFC] mm: kmemleak: replace __GFP_NOFAIL to GFP_NOWAIT in gfp_kmemleak_mask

2018-04-27 Thread Chunyu Hu
- Original Message - > From: "Catalin Marinas" > To: "Chunyu Hu" > Cc: "Michal Hocko" , "Chunyu Hu" , > "Dmitry Vyukov" , > "LKML" , "Linux-MM"

[PATCH 5/6 v3] bus: fsl-mc: supoprt dma configure for devices on fsl-mc bus

2018-04-27 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/bus/fsl-mc/fsl-mc-bus.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/bus/fsl-mc/fsl-mc-bus.c b/drivers/bus/fsl-mc/fsl-mc-bus.c index 5d8266c..624828b 100644 ---

[PATCH 4/6 v3] iommu: arm-smmu: Add support for the fsl-mc bus

2018-04-27 Thread Nipun Gupta
Implement bus specific support for the fsl-mc bus including registering arm_smmu_ops and bus specific device add operations. Signed-off-by: Nipun Gupta --- drivers/iommu/arm-smmu.c | 7 +++ drivers/iommu/iommu.c| 21 + include/linux/fsl/mc.h |

[PATCH 3/6 v3] iommu: support iommu configuration for fsl-mc devices

2018-04-27 Thread Nipun Gupta
Signed-off-by: Nipun Gupta --- drivers/iommu/of_iommu.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/iommu/of_iommu.c b/drivers/iommu/of_iommu.c index ea9ecef..3687882 100644 --- a/drivers/iommu/of_iommu.c +++ b/drivers/iommu/of_iommu.c

[PATCH 1/6 v3] Docs: dt: add fsl-mc iommu-map device-tree binding

2018-04-27 Thread Nipun Gupta
The existing IOMMU bindings cannot be used to specify the relationship between fsl-mc devices and IOMMUs. This patch adds a generic binding for mapping fsl-mc devices to IOMMUs, using iommu-map property. Signed-off-by: Nipun Gupta ---

[PATCH 6/6 v3] arm64: dts: ls208xa: comply with the iommu map binding for fsl_mc

2018-04-27 Thread Nipun Gupta
fsl-mc bus support the new iommu-map property. Comply to this binding for fsl_mc bus. Signed-off-by: Nipun Gupta --- arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[PATCH v2] serial: 8250_of: Add IO space support

2018-04-27 Thread John Garry
Currently the 8250_of driver only supports MEM IO type accesses. Some development boards (Huawei D03, specifically) require IO space access for 8250-compatible OF driver support, so add it. The modification is quite simple: just set the port iotype and associated flags depending on the device

[PATCH] ARM: dts: imx6sx-sabreauto: add debug LED support

2018-04-27 Thread Anson Huang
There is a debug LED(D11) connected to GPIO1_IO24, add support for it. Signed-off-by: Anson Huang --- this patch is based on patch series (ARM: dts: imx6sx-sabreauto: add wdog external reset support). arch/arm/boot/dts/imx6sx-sabreauto.dts | 18 ++ 1 file

Re: [PATCH v3 1/7] kprobes: Make blacklist root user read only

2018-04-27 Thread Ingo Molnar
* Masami Hiramatsu wrote: > Since the blacklist file indicates a sensitive address > information to reader, it should be restricted to the > root user. > > Suggested-by: Thomas Richter > Signed-off-by: Masami Hiramatsu > --- >

Re: [PATCH v2] dmaengine: axi-dmac: Request IRQ with IRQF_SHARED

2018-04-27 Thread Vinod Koul
On Fri, Apr 27, 2018 at 08:53:39AM +0200, Lars-Peter Clausen wrote: > On 04/27/2018 07:11 AM, Vinod Koul wrote: > > On Thu, Apr 26, 2018 at 10:40:00AM -0700, Moritz Fischer wrote: > >> Request IRQ with IRQF_SHARED flag. This works since the interrupt > >> handler already checks if there is an

Re: [linux-sunxi] [PATCH 3/3] arm64: allwinner: h6: enable MMC0/2 on Pine H64

2018-04-27 Thread Icenowy Zheng
于 2018年4月27日 GMT+08:00 上午12:46:26, Andre Przywara 写到: >Hi, > >On 26/04/18 15:07, Icenowy Zheng wrote: >> The Pine H64 board have a MicroSD slot connected to MMC0 controller >of >> the H6 SoC and a eMMC slot connected to MMC2. >> >> Enable them in the device tree. >> >>

Re: [PATCH v3 2/7] kprobes: Show blacklist addresses as same as kallsyms does

2018-04-27 Thread Ingo Molnar
* Masami Hiramatsu wrote: > + /* > + * As long as kallsyms shows the address, kprobes blacklist also > + * show it, Or, it shows null address and symbol. > + */ Please _read_ the comments you write! In which universe does a capitalized 'Or' make sense,

Re: [PATCH 00/24] device link, bridge supplier <-> drm device

2018-04-27 Thread Peter Rosin
On 2018-04-27 01:18, Laurent Pinchart wrote: > Hi Peter, > > On Friday, 27 April 2018 02:09:14 EEST Peter Rosin wrote: >> On 2018-04-27 00:40, Laurent Pinchart wrote: >>> On Friday, 27 April 2018 01:31:15 EEST Peter Rosin wrote: Hi! It was noted by Russel King [1] that bridges (not

Re: [PATCH 00/24] device link, bridge supplier <-> drm device

2018-04-27 Thread Peter Rosin
On 2018-04-27 09:37, Peter Rosin wrote: > On 2018-04-27 09:11, Andrzej Hajda wrote: >> Hi Peter, >> >> On 27.04.2018 00:31, Peter Rosin wrote: >>> Hi! >>> >>> It was noted by Russel King [1] that bridges (not using components) >>> might disappear unexpectedly if the owner of the bridge was

Re: moving affs + RDB partition support to staging? (was: Re: Moving unmaintained filesystems to staging)

2018-04-27 Thread Martin Steigerwald
Geert Uytterhoeven - 26.04.18, 13:08: > On Thu, Apr 26, 2018 at 12:28 PM, Martin Steigerwald > > wrote: > > You probably put your stick into a cave with ancient sleeping > > dragons > > > > Added in linux-m68k mailing list, as they likely have an opinion on > > how to

Re: stable 4.16.5 hmm build error

2018-04-27 Thread Arnd Bergmann
On Fri, Apr 27, 2018 at 9:30 AM, Greg Kroah-Hartman wrote: > On Fri, Apr 27, 2018 at 02:19:24AM +0300, Михаил Носов wrote: >> Oh. Yes. Tag v4.16.5 without commit >> 9d8a463a7016e9e5578a561588a18acef139919c. >> It's in v4.17-rc1/2. >> Thank you. > > That patch does not

Re: [PATCH v7 06/11] ARM: sunxi: Add initialization of CNTVOFF

2018-04-27 Thread Mylène Josserand
Hello Maxime, Thanks for your review. On Mon, 23 Apr 2018 10:16:09 +0200 Maxime Ripard wrote: > On Fri, Apr 20, 2018 at 11:10:17PM +0200, Mylène Josserand wrote: > > Add the initialization of CNTVOFF for sun8i-a83t. > > > > For boot CPU, create a new machine that

Re: [PATCH v7 08/11] ARM: sun9i: smp: Add is_a83t field

2018-04-27 Thread Mylène Josserand
Hello, On Mon, 23 Apr 2018 10:14:23 +0200 Maxime Ripard wrote: > On Fri, Apr 20, 2018 at 11:10:19PM +0200, Mylène Josserand wrote: > > To prepare the support of sun8i-a83t, add a field in the smp_data > > structure to know if we are on sun9i-a80 or sun8i-a83t. > > >

Re: [dm-devel] [PATCH v5] fault-injection: introduce kvmalloc fallback options

2018-04-27 Thread Michal Hocko
On Thu 26-04-18 18:52:05, Mikulas Patocka wrote: > > > On Fri, 27 Apr 2018, Michael S. Tsirkin wrote: [...] > >But assuming it's important to control this kind of > >fault injection to be controlled from > >a dedicated menuconfig option, why not the rest of > >faults? > > The

Re: [PATCH RFC PoC 0/2] platform: different approach to early platform drivers

2018-04-27 Thread Bartosz Golaszewski
2018-04-27 9:52 GMT+02:00 Arnd Bergmann : > On Fri, Apr 27, 2018 at 4:28 AM, David Lechner wrote: >> On 04/26/2018 12:31 PM, Rich Felker wrote: >>> >>> On Thu, Apr 26, 2018 at 05:29:18PM +0200, Bartosz Golaszewski wrote: From: Bartosz Golaszewski

[PATCH 2/3] ASoC: tpa6130a2: Use gpio_is_valid()

2018-04-27 Thread Arvind Yadav
Replace the manual validity checks for the GPIO with the gpio_is_valid(). Signed-off-by: Arvind Yadav --- sound/soc/codecs/tpa6130a2.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/codecs/tpa6130a2.c

Re: [PATCH v1 6/7] Bluetooth: hci_mediatek: Add protocol support for MediaTek serial devices

2018-04-27 Thread Sean Wang
On Fri, 2018-04-27 at 07:25 +0200, Marcel Holtmann wrote: > Hi Sean, > > > This adds a driver for the MediaTek serial protocol based on H4 > > protocol, > > which can enable the built-in Bluetooth device inside MT7622 SoC. > > > > Signed-off-by: Sean Wang

Re: [PATCH] inode: debugfs_create_dir uses mode permission from parent

2018-04-27 Thread Thomas-Mich Richter
On 04/27/2018 10:27 AM, Greg KH wrote: > On Fri, Apr 27, 2018 at 10:07:12AM +0200, Thomas Richter wrote: >> Currently function debugfs_create_dir() creates a new >> directory in the debugfs (usually mounted /sys/kernel/debug) >> with permission rwxr-xr-x. This is hard coded. >> >> Change this to

Re: [PATCH 1/2] kdump/x86: crashkernel=X try to reserve below 896M first then below 4G and MAXMEM

2018-04-27 Thread Dave Young
Hi, This is a resend of below patches: http://lists.infradead.org/pipermail/kexec/2017-October/019569.html I dropped the original patch 1 since Baoquan is not happy with it. For patch 2 (the 1st patch in this series), there is some improvement comment from Baoquan to create some generic

[v3 09/10] drm: mediatek: Omit warning on probe defers

2018-04-27 Thread matthias . bgg
From: Matthias Brugger When probe through the MFD, it can happen that the clock drivers wasn't probed before the ddp driver gets invoked. The driver used to omit a warning that the driver failed to get the clocks. Omit this error on the defered probe path. Signed-off-by:

Re: [linux-sunxi] [PATCH 1/3] mmc: sunxi: add support for the MMC controller on H6

2018-04-27 Thread Andre Przywara
Hi, On 27/04/18 09:38, Icenowy Zheng wrote: > > > 于 2018年4月27日 GMT+08:00 上午12:45:24, Andre Przywara 写到: >> Hi, >> >> On 26/04/18 15:07, Icenowy Zheng wrote: >>> The new Allwinner H6 SoC have 3 MMC controllers. The first and second >>> ones are similar to the ones on

[v3 05/10] clk: mediatek: mt2701-mm: switch to mfd device

2018-04-27 Thread matthias . bgg
From: Matthias Brugger As the new mfd device is in place, switch probing for the MMSYS to support invocation from the mfd device. Signed-off-by: Matthias Brugger Acked-by: Stephen Boyd --- drivers/clk/mediatek/clk-mt2701-mm.c | 10

[v3 03/10] mfd: mtk-mmsys: Add mmsys driver

2018-04-27 Thread matthias . bgg
From: Matthias Brugger The MMSYS subsystem includes clocks and drm components. This patch adds a MFD device to probe both drivers from the same device tree compatible. Signed-off-by: Matthias Brugger --- drivers/mfd/Kconfig | 9 ++

[v3 00/10] arm/arm64: mediatek: Fix mmsys device probing

2018-04-27 Thread matthias . bgg
From: Matthias Brugger Changes since v2: - fix kconfig typo (shame on me) - delete __initconst from mm_clocks as converted to a platform driver Changes since v1: - add binding documentation - ddp: use regmap_update_bits - ddp: ignore EPROBE_DEFER on clock probing - mfd:

[v3 06/10] mfd: mtk-mmsys: Add mt8173 nodes

2018-04-27 Thread matthias . bgg
From: Matthias Brugger Add devices for the mt8173 SoC. Signed-off-by: Matthias Brugger Reviewed-by: Philipp Zabel --- drivers/mfd/mtk-mmsys.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[v3 02/10] drm/mediatek: Use regmap for register access

2018-04-27 Thread matthias . bgg
From: Matthias Brugger The mmsys memory space is shared between the drm and the clk driver. Use regmap to access it. Signed-off-by: Matthias Brugger Reviewed-by: Philipp Zabel --- drivers/gpu/drm/mediatek/mtk_drm_crtc.c | 4 ++--

Re: [linux-sunxi] [PATCH 2/3] arm64: allwinner: h6: add device tree nodes for MMC controllers

2018-04-27 Thread Icenowy Zheng
于 2018年4月27日 GMT+08:00 下午5:18:23, Andre Przywara 写到: >Hi, > >On 27/04/18 09:36, Icenowy Zheng wrote: >> >> >> 于 2018年4月27日 GMT+08:00 上午12:45:38, Andre Przywara > 写到: >>> Hi, >>> >>> On 26/04/18 15:07, Icenowy Zheng wrote: The Allwinner H6

[tip:locking/core] locking/qspinlock: Use smp_store_release() in queued_spin_unlock()

2018-04-27 Thread tip-bot for Will Deacon
Commit-ID: 626e5fbc14358901ddaa90ce510e0fbeab310432 Gitweb: https://git.kernel.org/tip/626e5fbc14358901ddaa90ce510e0fbeab310432 Author: Will Deacon AuthorDate: Thu, 26 Apr 2018 11:34:24 +0100 Committer: Ingo Molnar CommitDate: Fri, 27 Apr 2018

[tip:locking/core] locking/qspinlock: Elide back-to-back RELEASE operations with smp_wmb()

2018-04-27 Thread tip-bot for Will Deacon
Commit-ID: 9d4646d14d51d62b967a12452c30ea7edf8dd8fa Gitweb: https://git.kernel.org/tip/9d4646d14d51d62b967a12452c30ea7edf8dd8fa Author: Will Deacon AuthorDate: Thu, 26 Apr 2018 11:34:25 +0100 Committer: Ingo Molnar CommitDate: Fri, 27 Apr 2018

Re: [PATCH v4 09/15] memory: tegra: Squash tegra20-mc into common tegra-mc driver

2018-04-27 Thread Thierry Reding
On Fri, Apr 27, 2018 at 01:13:47PM +0300, Dmitry Osipenko wrote: > On 27.04.2018 12:34, Thierry Reding wrote: > > On Mon, Apr 09, 2018 at 10:28:31PM +0300, Dmitry Osipenko wrote: > > [...] > >> diff --git a/drivers/memory/tegra/mc.c b/drivers/memory/tegra/mc.c > > [...] > >> +#define

[PATCH net-next 2/2 v3] netns: restrict uevents

2018-04-27 Thread Christian Brauner
commit 07e98962fa77 ("kobject: Send hotplug events in all network namespaces") enabled sending hotplug events into all network namespaces back in 2010. Over time the set of uevents that get sent into all network namespaces has shrunk. We have now reached the point where hotplug events for all

  1   2   3   4   5   6   7   8   9   10   >