[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 changed, 18 insertions(

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 > --- > kernel/kprobes.c |2 +- > 1 file changed, 1 insertion(+), 1 d

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 actua

Re: [PATCH 0/4] exit: Make unlikely case in mm_update_next_owner() more scalable

2018-04-27 Thread Michal Hocko
On Thu 26-04-18 21:28:18, Michal Hocko wrote: > On Thu 26-04-18 11:19:33, Eric W. Biederman wrote: > > Michal Hocko writes: > > > > > I've had a patch to remove owner few years back. It needed some work > > > to finish but maybe that would be a better than try to make > > > non-scalable thing suc

Re: [PATCH] mm: sections are not offlined during memory hotremove

2018-04-27 Thread Greg KH
On Thu, Apr 26, 2018 at 04:30:02PM -0400, Pavel Tatashin wrote: > Memory hotplug, and hotremove operate with per-block granularity. If > machine has large amount of memory (more than 64G), the size of memory > block can span multiple sections. By mistake, during hotremove we set > only the first se

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

2018-04-27 Thread Andrzej Hajda
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 thing with panels [2]. Jyri > came up with using device

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. >> >> Signed-off-by: Icenowy Z

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, even if we ignore the

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 u

recent patch "x86/acpi: Prevent X2APIC id 0xffffffff from being accounted"

2018-04-27 Thread Jan Beulich
Hello, I've just stumbled across this commit, and I'm wondering if that's actually correct (I too have at least one system where such IDs are reported in MADT): For offline/absent CPUs, the firmware may not know the APIC IDs at the point MADT is built, so I think it is quite reasonable to put ~0 i

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: > MHI Host Interface is a communication protocol to be used by the host > to control and communcate with modem over a high speed peripheral bus. > This module will allow host to communicate with external devices that > support MHI protoco

Re: [PATCH 0/3] can: fix ndo_start_xmit()'s return type

2018-04-27 Thread Marc Kleine-Budde
On 04/26/2018 11:13 PM, Luc Van Oostenryck wrote: > ndo_start_xmit() is defined as returing an 'netdev_tx_t'. > However, several can drivers use 'int' as the return type > of their start_xmit() method. > This series contains the fix for all three of them. > > Luc Van Oostenryck (3): > can: janz-

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 WoL

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 und

[PATCH] ARM: dts: imx6sx-sabreauto: add egalax touch screen support

2018-04-27 Thread Anson Huang
From: Haibo Chen Add egalax touch screen support on i2c2 bus. Signed-off-by: Haibo Chen Signed-off-by: Anson Huang --- this patch is based on patch (ARM: dts: imx6sx-sabreauto: add debug LED support) I sent out for review. arch/arm/boot/dts/imx6sx-sabreauto.dts | 16 1 file

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

2018-04-27 Thread Jisheng Zhang
On Thu, 26 Apr 2018 12:39:59 +0530 Bhadram Varka wrote: > > > > diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c > > index c22e8e383247..b6abe1cbc84b 100644 > > --- a/drivers/net/phy/marvell.c > > +++ b/drivers/net/phy/marvell.c > > @@ -115,6 +115,9 @@ > >

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: stable 4.16.5 hmm build error

2018-04-27 Thread Greg Kroah-Hartman
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 apply to the stable trees. I'm also confused by the lack of "real" git commit ids that are being

Re: [PATCH v2 2/2] x86/mm: implement free pmd/pte page interfaces

2018-04-27 Thread j...@8bytes.org
On Thu, Apr 26, 2018 at 10:30:14PM +, Kani, Toshi wrote: > Thanks for the clarification. After reading through SDM one more time, I > agree that we need a TLB purge here. Here is my current understanding. > > - INVLPG purges both TLB and paging-structure caches. So, PMD cache was > purged on

[PATCH] ptp_pch: use helpers function for converting between ns and timespec

2018-04-27 Thread YueHaibing
use ns_to_timespec64() and timespec64_to_ns() instead of open coding Signed-off-by: YueHaibing --- drivers/ptp/ptp_pch.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/ptp/ptp_pch.c b/drivers/ptp/ptp_pch.c index b328517..78ccf93 100644 --- a/drivers/ptp/ptp_pc

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 ( 0.00

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 = &upboard_up2_writable_table, > > > }; > > > > > > +st

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 thi

Re: [PATCH net-next v2 5/7] MIPS: mscc: Add switch to ocelot

2018-04-27 Thread Alexandre Belloni
On 26/04/2018 22:51:13+0200, Andrew Lunn wrote: > > + > > + mdio0: mdio@107009c { > > + #address-cells = <1>; > > + #size-cells = <0>; > > + compatible = "mscc,ocelot-miim"; > > + reg = <0x107009c 0x36>, <0x10700f0 0x

Re: possible BUG: selftest about raw_skew failed

2018-04-27 Thread Miroslav Lichvar
On Thu, Apr 26, 2018 at 11:28:29PM +0200, Thomas Gleixner wrote: > On Sat, 21 Apr 2018, Jeffrin Thalakkottoor wrote: > > selftests: raw_skew > > > > WARNING: ADJ_OFFSET in progress, this will cause inaccurate results > > Estimating clock drift: 17.910(est) 1

Re: [PATCH 3/3] can: xilinx: fix xcan_start_xmit()'s return type

2018-04-27 Thread Michal Simek
On 26.4.2018 23:13, Luc Van Oostenryck wrote: > The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', > which is a typedef for an enum type, but the implementation in this > driver returns an 'int'. > > Fix this by returning 'netdev_tx_t' in this driver too. > > Signed-off-by: Luc

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 unbound.

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 series[1] the aim of which was to introduce device >>> tre

Re: [PATCH] perf test: Adapt test case record+probe_libc_inet_pton.sh for s390

2018-04-27 Thread Thomas-Mich Richter
On 04/26/2018 05:26 PM, Martin Vuille wrote: > > > On 04/26/18 04:09, Thomas-Mich Richter wrote: >> was different. With you patch it changed from /usr/lib64/libc.so (old) to >> /usr/lib/debug/lib64/libc-2.26.so.debug (new) >> > Thomas, > > Can you tell me what 'file' reports for the old and new

Re: [PATCH 3/3] can: xilinx: fix xcan_start_xmit()'s return type

2018-04-27 Thread Marc Kleine-Budde
On 04/27/2018 09:49 AM, Michal Simek wrote: > On 26.4.2018 23:13, Luc Van Oostenryck wrote: >> The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', >> which is a typedef for an enum type, but the implementation in this >> driver returns an 'int'. >> >> Fix this by returning 'netdev

[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 tags/mtd/fixes-for-4.17

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 Gl

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 treat affs + RDB partition

Re: [PATCH 3/3] can: xilinx: fix xcan_start_xmit()'s return type

2018-04-27 Thread Michal Simek
On 27.4.2018 09:55, Marc Kleine-Budde wrote: > On 04/27/2018 09:49 AM, Michal Simek wrote: >> On 26.4.2018 23:13, Luc Van Oostenryck wrote: >>> The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', >>> which is a typedef for an enum type, but the implementation in this >>> driver re

[PATCH] inode: debugfs_create_dir uses mode permission from parent

2018-04-27 Thread Thomas Richter
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. Fixes: edac65eaf8d5c ("debugfs: take mode-dependent parts of debugfs_get_inode() i

Re: [PATCH v4 1/5] efi: Export boot-services code and data as debugfs-blobs

2018-04-27 Thread Hans de Goede
Hi, On 26-04-18 23:35, Ard Biesheuvel wrote: On 26 April 2018 at 23:02, Hans de Goede wrote: Hi, On 26-04-18 18:51, Ard Biesheuvel wrote: On 26 April 2018 at 14:06, Hans de Goede wrote: Sometimes it is useful to be able to dump the efi boot-services code and data. This commit adds these

[PATCH v2 1/6] dt-bindings: gpu: mali-utgard: add mediatek,mt7623-mali compatible

2018-04-27 Thread sean.wang
From: Sean Wang The MediaTek MT7623 SoC contains a Mali-450, so add a compatible for it and define its own vendor-specific properties. Reviewed-by: Rob Herring Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt | 9 + 1 file changed, 9 insertions(+)

[PATCH v2 2/6] dt-bindings: clock: mediatek: add g3dsys bindings

2018-04-27 Thread sean.wang
From: Sean Wang Add bindings to g3dsys providing necessary clock and reset control to Mali-450. Signed-off-by: Sean Wang --- .../bindings/arm/mediatek/mediatek,g3dsys.txt | 30 ++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/a

[PATCH v2 4/6] dt-bindings: reset: mediatek: add entry for Mali-450 node to refer

2018-04-27 Thread sean.wang
From: Sean Wang Just add binding for a required reset referenced by Mali-450 on MT7623 or MT2701 SoC. Cc: devicet...@vger.kernel.org Signed-off-by: Sean Wang --- include/dt-bindings/reset/mt2701-resets.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/reset/mt2701-re

[PATCH v2 3/6] dt-bindings: clock: mediatek: add entry for Mali-450 node to refer

2018-04-27 Thread sean.wang
From: Sean Wang Just add binding for a required clock referenced by Mali-450 on MT7623 or MT2701 SoC. Cc: devicet...@vger.kernel.org Signed-off-by: Sean Wang --- include/dt-bindings/clock/mt2701-clk.h | 4 1 file changed, 4 insertions(+) diff --git a/include/dt-bindings/clock/mt2701-clk.

[PATCH v2 5/6] clk: mediatek: add g3dsys support for MT2701 and MT7623

2018-04-27 Thread sean.wang
From: Sean Wang Add clock driver support for g3dsys on MT2701 and MT7623, which is providing essential clock gate and reset controller to Mali-450. Signed-off-by: Sean Wang --- drivers/clk/mediatek/Kconfig | 6 +++ drivers/clk/mediatek/Makefile | 1 + drivers/clk/mediatek/cl

[PATCH v2 6/6] arm: dts: mt7623: add Mali-450 and related device nodes

2018-04-27 Thread sean.wang
From: Sean Wang Add nodes for Mali-450 device, g3dsys device providing required clock gate and reset control and larb3 offering an arbiter through iommu for controlling access to external memory requested from Mali-450. Signed-off-by: Sean Wang --- arch/arm/boot/dts/mt7623.dtsi | 70 +

[PATCH v2 0/6] add Mali-450 support to MT7623 SoC

2018-04-27 Thread sean.wang
From: Sean Wang v2: changes from v1 to v2: - Add Reviewed-by tag from v1 result - Split out the changes for dt-bindings .h from the changes for driver - Fix up the typo in g3dsys dt-bindings documentation v1: Hi, The series adds a required resource setup to allow Mali

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 apply to the stable trees. I

[PATCH] drivers: net: replace UINT64_MAX with U64_MAX

2018-04-27 Thread Jisheng Zhang
U64_MAX is well defined now while the UINT64_MAX is not, so we fall back to drivers' own definition as below: #ifndef UINT64_MAX #define UINT64_MAX (u64)(~((u64)0)) #endif I believe this is in one phy driver then copied and pasted to other phy drivers. Replace

[PATCH] clk: qcom: gdsc: Add support to poll CFG register to check GDSC state

2018-04-27 Thread Taniya Das
From: Amit Nischal The default behavior of the GDSC enable/disable sequence is to poll the status bits of either the actual GDSCR or the corresponding HW_CTRL registers. On targets which have support for a CFG_GDSCR register, the status bits might not show the correct state of the GDSC, especial

Re: [PATCH v4 1/5] efi: Export boot-services code and data as debugfs-blobs

2018-04-27 Thread Ard Biesheuvel
On 27 April 2018 at 10:13, Hans de Goede wrote: > Hi, > > > On 26-04-18 23:35, Ard Biesheuvel wrote: >> >> On 26 April 2018 at 23:02, Hans de Goede wrote: >>> >>> Hi, >>> >>> >>> On 26-04-18 18:51, Ard Biesheuvel wrote: On 26 April 2018 at 14:06, Hans de Goede wrote: > > >

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 handles this > > function's ca

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 inj

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. > > > > Add also a global variable

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. > > Fixes

Re: stable 4.16.5 hmm build error

2018-04-27 Thread Greg Kroah-Hartman
On Fri, Apr 27, 2018 at 10:17:42AM +0200, Arnd Bergmann wrote: > 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

Re: [PATCH 2/2] sched/fair: Avoid calling sync_entity_load_avg() unnecessarily

2018-04-27 Thread Dietmar Eggemann
Hi Viresh, On 04/26/2018 12:30 PM, Viresh Kumar wrote: Call sync_entity_load_avg() directly from find_idlest_cpu() instead of select_task_rq_fair(), as that's where we need to use task's utilization value. And call sync_entity_load_avg() only after making sure sched domain spans over one of the

Re: recent patch "x86/acpi: Prevent X2APIC id 0xffffffff from being accounted"

2018-04-27 Thread Dou Liyang
Hi Jan, At 04/27/2018 03:21 PM, Jan Beulich wrote: Hello, I've just stumbled across this commit, and I'm wondering if that's actually correct (I too have at least one system where such IDs are reported in MADT): For offline/absent CPUs, the firmware may not know the APIC IDs The MADT table is

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 >> --- >> arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 56 >

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

2018-04-27 Thread Sekhar Nori
Hi Arnd, On Friday 27 April 2018 01:22 PM, Arnd Bergmann wrote: > 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

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

2018-04-27 Thread Icenowy Zheng
于 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 A64, but the third one adds EMCE >> (Embedded Crypto Engine) support which does hardwa

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. > > Revi

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, 2018 at 11:47:19AM -0500, Eric W. Biederman wrote: > >> >> Christian

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 do this? > From the code,

Re: [PATCH v2 net-next 1/2] tcp: add TCP_ZEROCOPY_RECEIVE support for zerocopy receive

2018-04-27 Thread kbuild test robot
Hi Eric, Thank you for the patch! Yet something to improve: [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Eric-Dumazet/tcp-add-TCP_ZEROCOPY_RECEIVE-support-for-zerocopy-receive/20180427-122234 config: sh-rsk7269_defconfig (attached as .config

Re: stable 4.16.5 hmm build error

2018-04-27 Thread Arnd Bergmann
On Fri, Apr 27, 2018 at 10:30 AM, Greg Kroah-Hartman wrote: > On Fri, Apr 27, 2018 at 10:17:42AM +0200, Arnd Bergmann wrote: >> On Fri, Apr 27, 2018 at 9:30 AM, Greg Kroah-Hartman >> >> which you backported as 25df8b83e867 into linux-4.16.y after v4.16.4. >> After that originally landed in mainlin

[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 Signed-off-by: Horia Geantă ---

Re: moving affs + RDB partition support to staging?

2018-04-27 Thread jdow
OK guys, I am working from th ememory of a 74 year old with a severe head cold. The filesystems were always limited to 2 TB since the seek command was signed 32 bit integer number of BYTEs. So block size has nothing to do with this 2TB issue. That's something else in the descriptions. The RDBs

Re: moving affs + RDB partition support to staging?

2018-04-27 Thread jdow
On 20180426 16:56, Finn Thain wrote: On Thu, 26 Apr 2018, Geert Uytterhoeven wrote: While non-native Linux filesystem support (e.g. affs/isofs/...) could be handled by FUSE Moving to FUSE is a great divide-and-conquer strategy for those who just want the code to die and don't care about any

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: 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 : > On Fri, Apr 27, 2018 at

[PATCH 0/3] ASoC: Use gpio_is_valid()

2018-04-27 Thread Arvind Yadav
Replace the manual validity checks for the GPIO with the gpio_is_valid(). Arvind Yadav (3): [PATCH 1/3] ASoC: tlv320dac33: Use gpio_is_valid() [PATCH 2/3] ASoC: tpa6130a2: Use gpio_is_valid() [PATCH 3/3] ASoC: samsung: Use gpio_is_valid() sound/soc/codecs/tlv320dac33.c | 10 +-

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:29 AM, Sekhar Nori wrote: > On Friday 27 April 2018 01:22 PM, Arnd Bergmann wrote: >> On Fri, Apr 27, 2018 at 4:28 AM, David Lechner wrote: >>> On 04/26/2018 12:31 PM, Rich Felker wrote: >> >> I haven't seen the discussion about your clock drivers, but I know that >> u

[PATCH 3/3] ASoC: samsung: 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/samsung/s3c24xx_simtec.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/samsung/s3c24xx_simtec.c b/sound/soc/samsung/s3c24xx_simtec.c ind

[PATCH 1/3] ASoC: tlv320dac33: 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/tlv320dac33.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/tlv320dac33.c b/sound/soc/codecs/tlv320dac33.c index a957eae..c

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 This is a follow to my series[

[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 b/sound/soc/codecs/tpa6130a2.c index 616cd4b..18f32b9 10

Re: [PATCHv3 3/3] tools bpftool: Display license GPL compatible in prog show/list

2018-04-27 Thread Jiri Olsa
On Thu, Apr 26, 2018 at 10:49:25PM +0200, Daniel Borkmann wrote: > On 04/26/2018 10:18 AM, Jiri Olsa wrote: > [...] > > v3 of the last patch attached, the branch is also updated > > > > thanks, > > jirka > > > > > > --- > > Display the license "gpl" string in bpftool prog command, like: > > > >

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

2018-04-27 Thread Bartosz Golaszewski
2018-04-27 10:55 GMT+02:00 Arnd Bergmann : > On Fri, Apr 27, 2018 at 10:29 AM, Sekhar Nori wrote: >> On Friday 27 April 2018 01:22 PM, Arnd Bergmann wrote: >>> On Fri, Apr 27, 2018 at 4:28 AM, David Lechner wrote: On 04/26/2018 12:31 PM, Rich Felker wrote: > >>> >>> I haven't seen the discus

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

2018-04-27 Thread dyoung
Now crashkernel=X will fail if there's not enough memory at low region (below 896M) when trying to reserve large memory size. One can use crashkernel=xM,high to reserve it at high region (>4G) but it is more convinient to improve crashkernel=X to: - First try to reserve X below 896M (for being c

[PATCH 2/2] kdump: round up the total memory size to 128M for crashkernel reservation

2018-04-27 Thread dyoung
The total memory size we get in kernel is usually slightly less than 2G with a 2G memory module machine. The main reason is bios/firmware reserve some area it will not export all memory as usable to Linux. 2G memory X86 kvm guest test result of the total_mem value: UEFI boot with ovmf: 0x7ef1

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 support

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 Autho

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 membloc

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 us

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, w

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

2018-04-27 Thread 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 SoC have 3 MMC controllers. >>> >>> Add device tree nodes for them. >>> >>> Signed-off-by: Icenowy Zheng >>> --- >>>

Re: [RFC PATCH 1/2] ACPI / PNP: Don't add "enumeration_by_parent" devices

2018-04-27 Thread John Garry
On 26/04/2018 15:23, John Garry wrote: + On 26/04/2018 15:08, Mika Westerberg wrote: On Thu, Apr 26, 2018 at 02:49:49PM +0100, John Garry wrote: diff --git a/drivers/bus/hisi_lpc.c b/drivers/bus/hisi_lpc.c index 2d4611e..b04425b 100644 --- a/drivers/bus/hisi_lpc.c +++ b/drivers/bus/hisi_lpc.c

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

2018-04-27 Thread Jerome Brunet
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 to wait for the DTS changes[3] merged > into mainline first, otherwise it will break the serial console. > > patch 2: factor the

Re: [RESEND PATCH 1/1] drm/i915/glk: Add MODULE_FIRMWARE for Geminilake

2018-04-27 Thread Jani Nikula
On Wed, 25 Apr 2018, Ian W MORRISON wrote: > Can I ask if this is on anyone's radar as I'm concerned this patch will > stall otherwise? Pushed to drm-intel-next-queued, thanks for the patch. I opted to drop the Cc: stable for now. This doesn't mean it can't be backported later on, I'm just punti

Re: [PATCH] reset: uniphier: add LD11/LD20 stream demux system reset control

2018-04-27 Thread Philipp Zabel
On Fri, 2018-04-27 at 12:13 +0900, Masahiro Yamada wrote: > 2018-04-27 9:41 GMT+09:00 Katsuhiro Suzuki : > > Add reset lines for MPEG2 transport stream I/O and demux system (HSC) > > on UniPhier LD11/LD20 SoCs. > > > > Signed-off-by: Katsuhiro Suzuki > Acked-by: Masahiro Yamada Thank you, appli

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 A64, but the third one adds

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 SoC have 3 MMC controllers. Add device t

[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 ++-- drivers/gpu/drm/mediatek/mtk_drm_ddp.c | 38 +

[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: Matthias Brugger --- d

[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 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) d

[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 ++ drivers/mfd/Makefile| 2 ++ drivers/mfd/mtk-mmsy

[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: delete mmsys_private - ad

[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 a/drivers/mfd/mtk-mmsys.c b/drivers/mfd/mtk-mmsys.c index c802343fb1c6..5585a561a02f

[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 | 28 +++- 1 file changed, 7 insertions

[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 b/MAINTAINERS index 0a1410d5a621..74f7ea345096

[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 insertions(+), 7 deletions(-) diff --git

[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 --- 1 file changed, 16 insertions(+), 3 deletion

  1   2   3   4   5   6   7   8   9   10   >