[PATCH V4 RESEND 2/3] arm64: dts: imx8qxp: Move watchdog node into scu node

2019-05-27 Thread Anson . Huang
From: Anson Huang i.MX system controller watchdog has pretimeout function which depends on i.MX SCU driver, so it should be a subnode of SCU. Signed-off-by: Anson Huang --- No change, just rebase the patch to top of linux-next. --- arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 10 +- 1

[PATCH V4 RESEND 3/3] watchdog: imx_sc: Add pretimeout support

2019-05-27 Thread Anson . Huang
From: Anson Huang i.MX system controller watchdog can support pretimeout IRQ via general SCU MU IRQ, it depends on IMX_SCU and driver MUST be probed after SCU IPC ready, then enable corresponding SCU IRQ group and register SCU IRQ notifier, when watchdog pretimeout IRQ fires, SCU MU IRQ will be h

[PATCH V4 RESEND 1/3] dt-bindings: watchdog: move i.MX system controller watchdog binding to SCU

2019-05-27 Thread Anson . Huang
From: Anson Huang i.MX system controller watchdog depends on SCU driver to support interrupt function, so it needs to be subnode of SCU node in DT, binding doc should be moved to fsl,scu.txt as well. Signed-off-by: Anson Huang Reviewed-by: Rob Herring --- No changes, just rebase the patch to t

Re: [PATCH 7/8] cpufreq: mediatek: add opp notification for SVS support

2019-05-27 Thread Hsin-Yi Wang
On Thu, May 16, 2019 at 9:08 AM Andrew-sh.Cheng wrote: > bool need_voltage_tracking; > + struct mutex lock; /* avoid notify and policy race condition */ > + struct notifier_block opp_nb; > + int opp_cpu; > + unsigned long opp_freq; > }; > > static LIST_HEAD(dvfs_i

Re: [PATCH] mm: mlockall error for flag MCL_ONFAULT

2019-05-27 Thread Michal Hocko
On Fri 24-05-19 17:43:04, Daniel Jordan wrote: > [ Adding linux-api and some of the people who were involved in the > MCL_ONFAULT/mlock2/etc discussions. Author of the Fixes patch appears to > have moved on. ] > > On Wed, May 22, 2019 at 11:23:37AM +, Potyra, Stefan wrote: > > If mlockall() i

[PATCH V2] arm64/mm: Change BUG_ON() to VM_BUG_ON() in [pmd|pud]_set_huge()

2019-05-27 Thread Anshuman Khandual
There are no callers for the functions which will pass unaligned physical addresses. Hence just change these BUG_ON() checks into VM_BUG_ON() which gets compiled out unless CONFIG_VM_DEBUG is enabled. Signed-off-by: Anshuman Khandual Cc: Catalin Marinas Cc: Will Deacon Cc: Mark Rutland Cc: Ard

Re: [PATCH 1/2 v2] serial: mctrl_gpio: Check if GPIO property exisits before requesting it

2019-05-27 Thread Stefan Roese
On 24.05.19 15:46, Andy Shevchenko wrote: On Fri, May 24, 2019 at 01:29:34PM +0200, Stefan Roese wrote: On 24.05.19 13:11, Andy Shevchenko wrote: On Fri, May 24, 2019 at 1:21 PM Mika Westerberg wrote: On Fri, May 24, 2019 at 11:48:24AM +0200, Stefan Roese wrote: This patch adds a check for

Re: [v6 PATCH 2/2] mm: vmscan: correct some vmscan counters for THP swapout

2019-05-27 Thread Huang, Ying
Yang Shi writes: > Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after > swapped out"), THP can be swapped out in a whole. But, nr_reclaimed > and some other vm counters still get inc'ed by one even though a whole > THP (512 pages) gets swapped out. > > This doesn't make too muc

Re: [PATCH v3 2/2] arm64: cacheinfo: Update cache_line_size detected from DT or PPTT

2019-05-27 Thread Zhangshaokun
Hi Greg, On 2019/5/27 14:08, Greg KH wrote: > On Mon, May 27, 2019 at 10:06:08AM +0800, Shaokun Zhang wrote: >> cache_line_size is derived from CTR_EL0.CWG field and is called mostly >> for I/O device drivers. For HiSilicon certain plantform, like the >> Kunpeng920 server SoC, cache line sizes are

Re: [PATCH v18 1/3] proc: add /proc//arch_status

2019-05-27 Thread Li, Aubrey
On 2019/5/24 11:18, Andrew Morton wrote: > On Thu, 25 Apr 2019 22:32:17 +0800 Aubrey Li > wrote: > >> The architecture specific information of the running processes >> could be useful to the userland. Add /proc//arch_status >> interface support to examine process architecture specific >> informa

Re: [PATCH V3 2/4] arm64/mm: Hold memory hotplug lock while walking for kernel page table dump

2019-05-27 Thread Michal Hocko
On Wed 22-05-19 17:42:13, Mark Rutland wrote: > On Thu, May 16, 2019 at 01:05:29PM +0200, Michal Hocko wrote: > > On Thu 16-05-19 11:23:54, Mark Rutland wrote: > > > Hi Michal, > > > > > > On Wed, May 15, 2019 at 06:58:47PM +0200, Michal Hocko wrote: > > > > On Tue 14-05-19 14:30:05, Anshuman Khan

[PATCH] kernel/sys.c: fix possible spectre-v1 in do_prlimit()

2019-05-27 Thread Dianzhang Chen
The `resource` in do_prlimit() is controlled by userspace via syscall: setrlimit(defined in kernel/sys.c), hence leading to a potential exploitation of the Spectre variant 1 vulnerability. The relevant code in do_prlimit() is as below: if (resource >= RLIM_NLIMITS) return -EINVAL; ... rl

Re: [PATCH v1 4/6] dmaengine: fsl-edma: add i.mx7ulp edma2 version support

2019-05-27 Thread Robin Gong
On 2019-05-27 at 06:34 +, Vinod Koul wrote: > On 10-05-19, 10:14, Robin Gong wrote: > > > >   > > + if (of_device_is_compatible(np, "fsl,imx7ulp-edma")) { > > + fsl_edma->dmamux_nr = 1; > > + fsl_edma->version = v3; > well this is not really scalable, we will keep adding

Re: [PATCH 3/4] staging: kpc2000: add missing spaces in core.c

2019-05-27 Thread Dan Carpenter
On Fri, May 24, 2019 at 01:08:01PM +0200, Simon Sandström wrote: > Fixes checkpatch.pl errors "space required before the open brace '{'" > and "(foo*)" should be "(foo *)". > > Signed-off-by: Simon Sandström > --- > drivers/staging/kpc2000/kpc2000/core.c | 4 ++-- > 1 file changed, 2 insertions(

Re: [PATCH 1/1] eventfd new tag EFD_VPOLL: generate epoll events

2019-05-27 Thread Greg KH
On Sun, May 26, 2019 at 04:25:21PM +0200, Renzo Davoli wrote: > This patch implements an extension of eventfd to define file descriptors > whose I/O events can be generated at user level. These file descriptors > trigger notifications for [p]select/[p]poll/epoll. > > This feature is useful for us

Re: [PATCH][next] ASoC: cx2072x: fix spelling mistake "configued" -> "configured"

2019-05-27 Thread Takashi Iwai
On Sat, 25 May 2019 22:32:44 +0200, Colin King wrote: > > From: Colin Ian King > > There is a spelling mistake in a dev_err error message. Fit it. > > Signed-off-by: Colin Ian King Reviewed-by: Takashi Iwai thanks, Takashi > --- > sound/soc/codecs/cx2072x.c | 2 +- > 1 file changed, 1

Re: [PATCH -next] ASoC: cx2072x: remove set but not used variable 'is_right_j '

2019-05-27 Thread Takashi Iwai
On Sat, 25 May 2019 14:32:04 +0200, YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > sound/soc/codecs/cx2072x.c: In function cx2072x_config_i2spcm: > sound/soc/codecs/cx2072x.c:679:6: warning: variable is_right_j set but not > used [-Wunused-but-set-variable] > > It's ne

Re: [PATCH] kernel/sys.c: fix possible spectre-v1 in do_prlimit()

2019-05-27 Thread Cyrill Gorcunov
On Mon, May 27, 2019 at 03:23:08PM +0800, Dianzhang Chen wrote: > The `resource` in do_prlimit() is controlled by userspace via syscall: > setrlimit(defined in kernel/sys.c), hence leading to a potential exploitation > of the Spectre variant 1 vulnerability. > The relevant code in do_prlimit() is

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-05-27 Thread Hans Verkuil
On 5/27/19 5:51 AM, Tomasz Figa wrote: > On Tue, May 21, 2019 at 9:27 PM Hans Verkuil wrote: >> >> On 5/21/19 11:09 AM, Tomasz Figa wrote: >>> Hi Stan, >>> >>> On Mon, May 20, 2019 at 11:47 PM Stanimir Varbanov >>> wrote: Hi Tomasz, On 4/24/19 3:39 PM, Tomasz Figa wrote: >

Re: [v6 PATCH 2/2] mm: vmscan: correct some vmscan counters for THP swapout

2019-05-27 Thread Yang Shi
On 5/27/19 3:06 PM, Huang, Ying wrote: Yang Shi writes: Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after swapped out"), THP can be swapped out in a whole. But, nr_reclaimed and some other vm counters still get inc'ed by one even though a whole THP (512 pages) gets swapp

Re: [RFC 5/7] mm: introduce external memory hinting API

2019-05-27 Thread Minchan Kim
Sorry for the late response. I miseed your comment. :( On Tue, May 21, 2019 at 05:31:13PM +0200, Oleg Nesterov wrote: > On 05/20, Minchan Kim wrote: > > > > + rcu_read_lock(); > > + tsk = pid_task(pid, PIDTYPE_PID); > > + if (!tsk) { > > + rcu_read_unlock(); > > + goto er

Re: [PATCH v2 02/10] media: rc: sunxi: Add A31 compatible

2019-05-27 Thread Maxime Ripard
Hi, On Mon, May 27, 2019 at 12:25:28AM +0200, Clément Péron wrote: > Allwiner A31 has a different memory mapping so add the compatible > we will need it later. > > Signed-off-by: Clément Péron > --- > drivers/media/rc/sunxi-cir.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/m

Re: Issue with Broadcom wireless in 5.2rc1 (was Re: [PATCH] mmc: sdhci: queue work after sdhci_defer_done())

2019-05-27 Thread Adrian Hunter
On 26/05/19 10:58 PM, Brian Masney wrote: > On Sun, May 26, 2019 at 08:42:21PM +0200, Arend Van Spriel wrote: >> On 5/26/2019 2:21 PM, Brian Masney wrote: >>> + Broadcom wireless maintainers >>> >>> On Fri, May 24, 2019 at 11:49:58AM -0400, Brian Masney wrote: On Fri, May 24, 2019 at 03:17:13P

Re: [RFC 6/7] mm: extend process_madvise syscall to support vector arrary

2019-05-27 Thread Minchan Kim
On Tue, May 21, 2019 at 12:37:26PM +0200, Michal Hocko wrote: > On Tue 21-05-19 19:26:13, Minchan Kim wrote: > > On Tue, May 21, 2019 at 08:24:21AM +0200, Michal Hocko wrote: > > > On Tue 21-05-19 11:48:20, Minchan Kim wrote: > > > > On Mon, May 20, 2019 at 11:22:58AM +0200, Michal Hocko wrote: > >

Re: lib/test_overflow.c causes WARNING and tainted kernel

2019-05-27 Thread Rasmus Villemoes
On 25/05/2019 17.33, Randy Dunlap wrote: > On 3/13/19 7:53 PM, Kees Cook wrote: >> Hi! >> >> On Wed, Mar 13, 2019 at 2:29 PM Randy Dunlap wrote: >>> >>> This is v5.0-11053-gebc551f2b8f9, MAR-12 around 4:00pm PT. >>> >>> In the first test_kmalloc() in test_overflow_allocation(): >>> >>> [54375.0738

Re: [v6 PATCH 2/2] mm: vmscan: correct some vmscan counters for THP swapout

2019-05-27 Thread Huang, Ying
Yang Shi writes: > On 5/27/19 3:06 PM, Huang, Ying wrote: >> Yang Shi writes: >> >>> Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after >>> swapped out"), THP can be swapped out in a whole. But, nr_reclaimed >>> and some other vm counters still get inc'ed by one even though a

Re: [PATCH -next] scsi: megaraid_sas: remove set but not used variable 'cur_state'

2019-05-27 Thread Sumit Saxena
On Sat, May 25, 2019 at 6:08 PM YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/scsi/megaraid/megaraid_sas_base.c: In function > megasas_transition_to_ready: > drivers/scsi/megaraid/megaraid_sas_base.c:3900:6: warning: variable cur_state > set but not used [-Wunu

Re: [RFC 7/7] mm: madvise support MADV_ANONYMOUS_FILTER and MADV_FILE_FILTER

2019-05-27 Thread Minchan Kim
On Tue, May 21, 2019 at 08:26:28AM +0200, Michal Hocko wrote: > On Tue 21-05-19 11:55:33, Minchan Kim wrote: > > On Mon, May 20, 2019 at 11:28:01AM +0200, Michal Hocko wrote: > > > [cc linux-api] > > > > > > On Mon 20-05-19 12:52:54, Minchan Kim wrote: > > > > System could have much faster swap de

Re: [PATCH v2 03/10] ARM: dts: sunxi: prefer A31 instead of A13 for ir

2019-05-27 Thread Maxime Ripard
On Mon, May 27, 2019 at 12:25:29AM +0200, Clément Péron wrote: > Since A31, memory mapping of the IR driver has changed. > > Prefer the A31 bindings instead of A13. > > Signed-off-by: Clément Péron > --- > arch/arm/boot/dts/sun6i-a31.dtsi | 2 +- > arch/arm/boot/dts/sun8i-a83t.dtsi | 2 +- > a

Re: [PATCH -next] scsi: megaraid_sas: remove set but not used variables 'host' and 'wait_time'

2019-05-27 Thread Sumit Saxena
On Sat, May 25, 2019 at 6:14 PM YueHaibing wrote: > > Fixes gcc '-Wunused-but-set-variable' warnings: > > drivers/scsi/megaraid/megaraid_sas_base.c: In function megasas_suspend: > drivers/scsi/megaraid/megaraid_sas_base.c:7269:20: warning: variable host set > but not used [-Wunused-but-set-variab

Re: [PATCH] [media] saa7164: fix remove_proc_entry warning

2019-05-27 Thread Hans Verkuil
On 5/4/19 9:10 AM, Kefeng Wang wrote: > if saa7164_proc_create() fails, saa7164_fini() will trigger a warning, > > name 'saa7164' > WARNING: CPU: 1 PID: 6311 at fs/proc/generic.c:672 > remove_proc_entry+0x1e8/0x3a0 > ? remove_proc_entry+0x1e8/0x3a0 > ? try_stop_module+0x7b/0x240 > ? proc_re

Re: [PATCH 0/2] net: macb: Add support for SiFive FU540-C000

2019-05-27 Thread Andreas Schwab
On Mai 24 2019, Yash Shah wrote: > Hi Andreas, > > On Thu, May 23, 2019 at 6:19 PM Andreas Schwab wrote: >> >> On Mai 23 2019, Yash Shah wrote: >> >> > On FU540, the management IP block is tightly coupled with the Cadence >> > MACB IP block. It manages many of the boundary signals from the MACB

Re: [RFC 0/7] introduce memory hinting API for external process

2019-05-27 Thread Minchan Kim
On Thu, May 23, 2019 at 10:07:17PM +0900, Minchan Kim wrote: > On Wed, May 22, 2019 at 09:01:33AM -0700, Daniel Colascione wrote: > > On Wed, May 22, 2019 at 9:01 AM Christian Brauner > > wrote: > > > > > > On Wed, May 22, 2019 at 08:57:47AM -0700, Daniel Colascione wrote: > > > > On Wed, May 22,

Re: [v6 PATCH 2/2] mm: vmscan: correct some vmscan counters for THP swapout

2019-05-27 Thread Yang Shi
On 5/27/19 3:55 PM, Huang, Ying wrote: Yang Shi writes: On 5/27/19 3:06 PM, Huang, Ying wrote: Yang Shi writes: Since commit bd4c82c22c36 ("mm, THP, swap: delay splitting THP after swapped out"), THP can be swapped out in a whole. But, nr_reclaimed and some other vm counters still get

Re: [PATCH V4 4/4] arm64/mm: Enable memory hot remove

2019-05-27 Thread Anshuman Khandual
On 05/21/2019 03:50 PM, David Hildenbrand wrote: > On 20.05.19 07:18, Anshuman Khandual wrote: >> The arch code for hot-remove must tear down portions of the linear map and >> vmemmap corresponding to memory being removed. In both cases the page >> tables mapping these regions must be freed, and

Великденски бонуси

2019-05-27 Thread Radoslav Dobrev
Здравейте, съвременното доплащане на храна под формата на ваучери за храна, които могат да бъдат използвани в най-голямата мрежа от заведения за хранене в страната, е инструмент, който ефективно повишава ефективността на персонала. Изборът на нашите ваучери за храна като форма на социална придо

[PATCH v2] mm: mlockall error for flag MCL_ONFAULT

2019-05-27 Thread Potyra, Stefan
If mlockall() is called with only MCL_ONFAULT as flag, it removes any previously applied lockings and does nothing else. This behavior is counter-intuitive and doesn't match the Linux man page. For mlockall(): EINVAL Unknown flags were specified or MCL_ONFAULT was specified with‐ o

Re: [PATCH v2 03/10] ARM: dts: sunxi: prefer A31 instead of A13 for ir

2019-05-27 Thread Clément Péron
Hi Maxime, On Mon, 27 May 2019 at 09:47, Maxime Ripard wrote: > > On Mon, May 27, 2019 at 12:25:29AM +0200, Clément Péron wrote: > > Since A31, memory mapping of the IR driver has changed. > > > > Prefer the A31 bindings instead of A13. > > > > Signed-off-by: Clément Péron > > --- > > arch/arm

[PATCH net-next 0/2] Add hw offload of TC flower on MSCC Ocelot

2019-05-27 Thread Horatiu Vultur
This patch series enables hardware offload for flower filter used in traffic controller on MSCC Ocelot board. The patch series is based on: commit 6ab1f192dcb4 ("net: mscc: ocelot: Implement port policers via tc command") CC: Alexandre Belloni CC: Microchip Linux Driver Support CC: Rob Herring

[PATCH net-next 1/2] net: mscc: ocelot: Add support for tcam

2019-05-27 Thread Horatiu Vultur
Add ACL support using the TCAM. Using ACL it is possible to create rules in hardware to filter/redirect frames. Signed-off-by: Horatiu Vultur --- arch/mips/boot/dts/mscc/ocelot.dtsi | 5 +- drivers/net/ethernet/mscc/Makefile | 2 +- drivers/net/ethernet/mscc/ocelot.c | 13 +

[PATCH net-next 2/2] net: mscc: ocelot: Hardware ofload for tc flower filter

2019-05-27 Thread Horatiu Vultur
Hardware offload of port filtering are now supported via tc command using flower filter. ACL rules are used to enable the hardware offload. The following keys are supported: vlan_id vlan_prio dst_mac/src_mac for non IP frames dst_ip/src_ip dst_port/src_port The following actions are supported: tr

Re: [PATCH 10/10] venus: dec: make decoder compliant with stateful codec API

2019-05-27 Thread Tomasz Figa
On Mon, May 27, 2019 at 4:39 PM Hans Verkuil wrote: > > On 5/27/19 5:51 AM, Tomasz Figa wrote: > > On Tue, May 21, 2019 at 9:27 PM Hans Verkuil wrote: > >> > >> On 5/21/19 11:09 AM, Tomasz Figa wrote: > >>> Hi Stan, > >>> > >>> On Mon, May 20, 2019 at 11:47 PM Stanimir Varbanov > >>> wrote: > >>

Re: [PATCH v2 02/10] media: rc: sunxi: Add A31 compatible

2019-05-27 Thread Clément Péron
Hi Maxime, On Mon, 27 May 2019 at 09:47, Maxime Ripard wrote: > > Hi, > > On Mon, May 27, 2019 at 12:25:28AM +0200, Clément Péron wrote: > > Allwiner A31 has a different memory mapping so add the compatible > > we will need it later. > > > > Signed-off-by: Clément Péron > > --- > > drivers/medi

[RESEND PATCH v5 1/5] ARM: dts: da850: add cpu node and operating points to DT

2019-05-27 Thread Bartosz Golaszewski
From: David Lechner This adds a cpu node and operating points to the common da850.dtsi file. All operating points above 300MHz are disabled by default. Regulators need to be hooked up on a per-board basis. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts

[RESEND PATCH v5 4/5] ARM: dts: da850-evm: enable cpufreq

2019-05-27 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Enable cpufreq-dt support for da850-evm. The cvdd is supplied by the tps65070 pmic with configurable output voltage. By default da850-evm boards support frequencies up to 375MHz so enable this operating point. Signed-off-by: Bartosz Golaszewski Reviewed-by: Adam Ford

[RESEND PATCH v5 3/5] ARM: dts: da850-lcdk: enable cpufreq

2019-05-27 Thread Bartosz Golaszewski
From: David Lechner Add a fixed regulator for the da850-lcdk board along with board-specific CPU configuration. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts | 36 1 file changed, 36 insertions(+) diff --

Re: [PATCH RFC 3/9] PM / devfreq: Add cpu based scaling support to passive_governor

2019-05-27 Thread Sibi Sankar
Hey Chanwoo, Thanks a lot for reviewing the patch. Like I had indicated earlier we decided to go with a simpler approach instead on qualcomm SoCs. I am happy to re-spin this patch with your comments addressed if we do find other users for this feature. On 2019-04-12 13:09, Chanwoo Choi wrote: H

[RESEND PATCH v5 2/5] ARM: dts: da850-lego-ev3: enable cpufreq

2019-05-27 Thread Bartosz Golaszewski
From: David Lechner Add a fixed regulator for the LEGO EV3 board along with board-specific CPU configuration. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lego-ev3.dts | 30 1 file changed, 30 insertions(+) diff --gi

[RESEND PATCH v5 5/5] ARM: davinci_all_defconfig: Enable CPUFREQ_DT

2019-05-27 Thread Bartosz Golaszewski
From: David Lechner This sets CONFIG_CPUFREQ_DT=m in davinci_all_defconfig. This is used for frequency scaling on device tree boards. Signed-off-by: David Lechner Signed-off-by: Bartosz Golaszewski --- arch/arm/configs/davinci_all_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/

Re: [PATCH v4] locking/lock_events: Use this_cpu_add() when necessary

2019-05-27 Thread Peter Zijlstra
On Fri, May 24, 2019 at 03:42:22PM -0400, Waiman Long wrote: > +#ifdef CONFIG_DEBUG_PREEMPT > +#define lockevent_percpu_inc(x) this_cpu_inc(x) > +#define lockevent_percpu_add(x, v) this_cpu_add(x, v) > +#else > +#define lockevent_percpu_inc(x) __this_cpu_inc(x) > +#defin

[RESEND PATCH v5 0/5] ARM: da850: enable cpufreq in DT mode

2019-05-27 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Note: resending rebased on top of v5.2-rc2 === This series adds cpufreq-dt operating points for da850 boards supported with device tree (da850-lcdk, da850-lego-ev3, da850-evm). Last patch enables CPUFREQ_DT in davinci_all_defconfig. v1 -> v2: - use the VDCDC3_1.2V re

Re: [PATCH] jbd2: fix typo in comment of journal_submit_inode_data_buffers

2019-05-27 Thread Jan Kara
On Sat 25-05-19 17:12:51, Liu Song wrote: > From: Liu Song > > delayed/dealyed > > Signed-off-by: Liu Song Thanks. You can add: Reviewed-by: Jan Kara Honza > --- > fs/jbd2/commit.c | 2 +- > 1 file changed, 1 insertion(+), 1

Re: 5.1 and 5.1.1: BUG: unable to handle kernel paging request at ffffea0002030000

2019-05-27 Thread Mel Gorman
On Mon, May 27, 2019 at 08:23:01AM +0200, Oleksandr Natalenko wrote: > On Fri, May 24, 2019 at 01:31:46PM +0100, Mel Gorman wrote: > > On Fri, May 24, 2019 at 01:43:29PM +0200, Oleksandr Natalenko wrote: > > > > Please use the offset 0xb9 > > > > > > > > addr2line -i -e /usr/src/linux/vmlinux `pri

[PATCH -mm] mm, swap: Simplify total_swapcache_pages() with get_swap_device()

2019-05-27 Thread Huang, Ying
From: Huang Ying total_swapcache_pages() may race with swapper_spaces[] allocation and freeing. Previously, this is protected with a swapper_spaces[] specific RCU mechanism. To simplify the logic/code complexity, it is replaced with get/put_swap_device(). The code line number is reduced too.

Re: [RFC PATCH 0/6] x86/mm: Flush remote and local TLBs concurrently

2019-05-27 Thread Peter Zijlstra
On Sat, May 25, 2019 at 01:21:57AM -0700, Nadav Amit wrote: > The proposed changes should also improve the performance of other > invocations of on_each_cpu(). Hopefully, no one has relied on the > behavior of on_each_cpu() that functions were first executed remotely > and only then locally. Oh ga

RE: [EXT] Re: [PATCH] arm64: dts: ls1028a: Add temperature sensor node

2019-05-27 Thread Andy Tang
Hi Leo, > -Original Message- > From: Li Yang > Sent: 2019年5月25日 6:32 > To: Andy Tang > Cc: Shawn Guo ; Rob Herring ; > Mark Rutland ; moderated list:ARM/FREESCALE > IMX / MXC ARM ARCHITECTURE ; > open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS > ; lkml > Subject: [EXT] Re: [P

Re: [RFC PATCH 2/6] cpumask: Purify cpumask_next()

2019-05-27 Thread Peter Zijlstra
On Sat, May 25, 2019 at 01:21:59AM -0700, Nadav Amit wrote: > cpumask_next() has no side-effects. Mark it as pure. It would be good to have a few word on why... because apparently you found this makes a difference. > Cc: "David S. Miller" > Signed-off-by: Nadav Amit > --- > include/linux/cpuma

[PATCH] scripts/decode_stacktrace.sh: prefix addr2line with $CROSS_COMPILE

2019-05-27 Thread Manuel Traut
At least for ARM64 kernels compiled with the crosstoolchain from Debian/stretch or with the toolchain from kernel.org the line number is not decoded correctly by 'decode_stacktrace.sh': $ echo "[ 136.513051] f1+0x0/0xc [kcrash]" | \ CROSS_COMPILE=/opt/gcc-8.1.0-nolibc/aarch64-linux/bin/aarch64

[PATCH 2/2] arm64: replace _BITUL() with BIT()

2019-05-27 Thread Masahiro Yamada
Now that BIT() can be used from assembly code, replace _BITUL() with equivalent BIT(). Signed-off-by: Masahiro Yamada --- arch/arm64/include/asm/sysreg.h | 82 - 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/arch/arm64/include/asm/sysreg.h b/arc

[PATCH 0/2] Allow assembly code to use BIT(), GENMASK(), etc. and clean-up arm64 header

2019-05-27 Thread Masahiro Yamada
Some in-kernel headers use _BITUL() instead of BIT(). arch/arm64/include/asm/sysreg.h arch/s390/include/asm/*.h I think the reason is because BIT() is currently not available in assembly. It hard-codes 1UL, which is not available in assembly. 1/2 replaced 1UL -> UL(1) 0UL -> UL(0) 1

[PATCH 1/2] linux/bits.h: make BIT(), GENMASK(), and friends available in assembly

2019-05-27 Thread Masahiro Yamada
BIT(), GENMASK(), etc. are useful to define register bits of hardware. However, low-level code is often written in assembly, where they are not available due to the hard-coded 1UL, 0UL. In fact, in-kernel headers such as arch/arm64/include/asm/sysreg.h use _BITUL() instead of BIT() so that the reg

Re: [PATCH net-next v2 1/2] i2c: acpi: export i2c_acpi_find_adapter_by_handle

2019-05-27 Thread Mika Westerberg
On Fri, May 24, 2019 at 05:53:01PM -0700, Ruslan Babayev wrote: > +struct i2c_adapter *i2c_acpi_find_adapter_by_handle(acpi_handle handle); > #else > static inline bool i2c_acpi_get_i2c_resource(struct acpi_resource *ares, >struct acpi_resource_i2c_seri

Re: [PATCH RESEND] input: adp5589: Add gpio_set_multiple interface

2019-05-27 Thread Togorean, Bogdan
Hi Dmitry, Thank you for your review On Thu, 2019-05-23 at 00:18 -0700, Dmitry Torokhov wrote: > [External] > > > Hi Bogdan, > > On Tue, May 21, 2019 at 11:38:22AM +0300, Bogdan Togorean wrote: > > This patch implements the gpio_set_multiple interface for ADP558x > > chip. > > > > Signed-off-

Re: Linux in KVM guest segfaults when hosts runs Linux 5.1

2019-05-27 Thread Marc Haber
On Tue, May 14, 2019 at 08:51:28AM +0200, Marc Haber wrote: > On Mon, May 13, 2019 at 04:10:35PM +0200, Radim Krčmář wrote: > > 2019-05-12 13:53+0200, Marc Haber: > > > since updating my home desktop machine to kernel 5.1.1, KVM guests > > > started on that machine segfault after booting: > > [...]

[PATCH 2/2] drm/i915/gvt: Support delivering page flip event to userspace

2019-05-27 Thread Tina Zhang
Use the eventfd based signaling mechanism provided by vfio/display to deliver vGPU framebuffer page flip event to userspace. Signed-off-by: Tina Zhang --- drivers/gpu/drm/i915/gvt/dmabuf.c | 31 + drivers/gpu/drm/i915/gvt/dmabuf.h | 1 + drivers/gpu/drm/i915/gvt/

[PATCH 0/2] Deliver vGPU page flip event to userspace

2019-05-27 Thread Tina Zhang
This series introduces VFIO_DEVICE_SET_GFX_FLIP_EVENTFD ioctl command to set the eventfd based signaling mechanism in vfio display. vGPU can use this eventfd to deliver the framebuffer page flip event to userspace. Tina Zhang (2): vfio: ABI for setting mdev display flip eventfd drm/i915/gvt:

[PATCH 1/2] vfio: ABI for setting mdev display flip eventfd

2019-05-27 Thread Tina Zhang
Add VFIO_DEVICE_SET_GFX_FLIP_EVENTFD ioctl command to set eventfd based signaling mechanism to deliver vGPU framebuffer page flip event to userspace. Signed-off-by: Tina Zhang --- include/uapi/linux/vfio.h | 12 1 file changed, 12 insertions(+) diff --git a/include/uapi/linux/vfio.

[PATCH v2 0/7] add edma2 for i.mx7ulp

2019-05-27 Thread yibin . gong
From: Robin Gong This patch set add new version of edma for i.mx7ulp, the main changes are as belows: 1. only one dmamux. 2. another clock dma_clk except dmamux clk. 3. 16 independent interrupts instead of only one interrupt for all channels. For the first change, need modify fsl-e

[PATCH v2 6/7] dmaengine: fsl-edma: add i.mx7ulp edma2 version support

2019-05-27 Thread yibin . gong
From: Robin Gong Add edma2 for i.mx7ulp by version v3, since v2 has already been used by mcf-edma. The big changes based on v1 are belows: 1. only one dmamux. 2. another clock dma_clk except dmamux clk. 3. 16 independent interrupts instead of only one interrupt for all channels. Signed-off-by:

[PATCH v2 5/7] dt-bindings: dma: fsl-edma: add new i.mx7ulp-edma

2019-05-27 Thread yibin . gong
From: Robin Gong More channel interrupts, one more clock, and only one dmamux on i.mx7ulp-edma. Signed-off-by: Robin Gong --- Documentation/devicetree/bindings/dma/fsl-edma.txt | 44 +++--- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/

[PATCH v2 3/7] dmaengine: fsl-edma-common: move dmamux register to another single function

2019-05-27 Thread yibin . gong
From: Robin Gong Prepare for edmav2 on i.mx7ulp whose dmamux register is 32bit. No function impacted. Signed-off-by: Robin Gong --- drivers/dma/fsl-edma-common.c | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/drivers/dma/fsl-edma-common.c b/drivers/dma/

[PATCH v2 2/7] dmaengine: mcf-edma: update to 'dmamux_nr'

2019-05-27 Thread yibin . gong
From: Robin Gong Update to 'dmamux_nr' instead of static macro DMAMUX_NR since new version edma only has one dmamux. Signed-off-by: Robin Gong --- drivers/dma/fsl-edma-common.c | 2 +- drivers/dma/mcf-edma.c| 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/dm

[PATCH v2 1/7] dmaengine: fsl-edma: add dmamux_nr for next version

2019-05-27 Thread yibin . gong
From: Robin Gong Next version of edma such as edmav2 on i.mx7ulp has only one dmamux. Add dmamux_nr instead of static macro define 'DMAMUX_NR'. No any function change here. Signed-off-by: Robin Gong --- drivers/dma/fsl-edma-common.h | 1 + drivers/dma/fsl-edma.c| 11 ++- 2 fil

[PATCH v2 4/7] dmaengine: fsl-edma-common: version check for v2 instead

2019-05-27 Thread yibin . gong
From: Robin Gong The next v3 i.mx7ulp edma is based on v1, so change version check logic for v2 instead. Signed-off-by: Robin Gong --- drivers/dma/fsl-edma-common.c | 40 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/drivers/dma/fsl-ed

[PATCH v2 7/7] ARM: dts: imx7ulp: add edma device node

2019-05-27 Thread yibin . gong
From: Robin Gong Add edma device node in dts. Signed-off-by: Robin Gong --- arch/arm/boot/dts/imx7ulp.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi index d6b7110..b4f7adf 100644 --- a/arch/

[PATCH v2] rcu: Don't return a value from rcu_assign_pointer()

2019-05-27 Thread Andrea Parri
Quoting Paul [1]: "Given that a quick (and perhaps error-prone) search of the uses of rcu_assign_pointer() in v5.1 didn't find a single use of the return value, let's please instead change the documentation and implementation to eliminate the return value." [1] https://lkml.kernel.org/

Thinkpad X60 fails to boot while "hot"

2019-05-27 Thread Pavel Machek
Hi! So if you compile a kernel, then reboot, boot will hang after "Freeing SMP alternatives memory" (and then wastes power, making thermal situation even worse). Unfortunately, threshold for non-booting system is quite low, fan does _not_ go full speed after reboot. Annoying for kernel developme

Wow! Microsoft Loves Linux!

2019-05-27 Thread Turritopsis Dohrnii Teo En Ming
Good afternoon from Singapore, I did a Google search on "Microsoft Loves Linux". Google search URL: https://www.google.com/search?q=microsoft+loves+linux Tons of results show up. Lots of good reads. -BEGIN EMAIL SIGNATURE- The Gospel for all Targeted Individuals (TIs): [The

[PATCH v11 0/6] Add basic node support for Mediatek MT8183 SoC

2019-05-27 Thread Erin Lo
MT8183 is a SoC based on 64bit ARMv8 architecture. It contains 4 CA53 and 4 CA73 cores. MT8183 share many HW IP with MT65xx series. This patchset was tested on MT8183 evaluation board and use correct clock to shell. Based on v5.2-rc1 Change in v11: New add spi node, efuse node, pinctrl node, aux

[PATCH v11 4/6] arm64: dts: mt8183: Add auxadc device node

2019-05-27 Thread Erin Lo
From: Zhiyong Tao Add auxadc device node for MT8183 Signed-off-by: Zhiyong Tao Signed-off-by: Erin Lo --- This patch is based on patch "https://patchwork.kernel.org/patch/10913941/";. --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 4 arch/arm64/boot/dts/mediatek/mt8183.dtsi| 10 +

[PATCH v11 2/6] arm64: dts: mt8183: add capacity-dmips-mhz

2019-05-27 Thread Erin Lo
From: "Hsin-Yi, Wang" Pinned the frequency to the max and run dhrystone to get the value. little cpu: 11071 (max freq: 1989000) big cpu: 15293 (max freq: 1989000) 11071 : 15293 ~= 741 : 1024 Signed-off-by: Erin Lo Signed-off-by: Hsin-Yi Wang --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 8

[PATCH v11 5/6] arm64: dts: mt8183: add spi node

2019-05-27 Thread Erin Lo
Add spi DTS node to the mt8183 and mt8183-evb. Signed-off-by: Mengqi Zhang Signed-off-by: Erin Lo --- arch/arm64/boot/dts/mediatek/mt8183-evb.dts | 105 arch/arm64/boot/dts/mediatek/mt8183.dtsi| 78 + 2 files changed, 183 insertions(+) diff

Re: [PATCH v2 6/7] dmaengine: fsl-edma: add i.mx7ulp edma2 version support

2019-05-27 Thread Sascha Hauer
On Mon, May 27, 2019 at 04:51:17PM +0800, yibin.g...@nxp.com wrote: > From: Robin Gong > > +static const struct of_device_id fsl_edma_dt_ids[] = { > + { .compatible = "fsl,vf610-edma", .data = (void *)v1 }, > + { .compatible = "fsl,imx7ulp-edma", .data = (void *)v3 }, > + { /* sentine

[PATCH v11 3/6] arm64: dts: mt8183: add pinctrl device node

2019-05-27 Thread Erin Lo
From: Zhiyong Tao The commit adds pinctrl device node for mt8183 Signed-off-by: Zhiyong Tao Signed-off-by: Erin Lo --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64

[PATCH v11 6/6] arm64: dts: mt8183: add efuse and Mediatek Chip id node to read

2019-05-27 Thread Erin Lo
From: Michael Mei support for reading chip ID and efuse Signed-off-by: Michael Mei Signed-off-by: Erin Lo --- This patch is based on this patch: https://patchwork.kernel.org/patch/10953029/ --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 15 +++ 1 file changed, 15 insertions(+) di

[PATCH v11 1/6] arm64: dts: Add Mediatek SoC MT8183 and evaluation board dts and Makefile

2019-05-27 Thread Erin Lo
From: Ben Ho Add basic chip support for Mediatek 8183, include uart node with correct uart clocks, pwrap device Add clock controller nodes, include topckgen, infracfg, apmixedsys and subsystem. Signed-off-by: Ben Ho Signed-off-by: Erin Lo Signed-off-by: Seiya Wang Signed-off-by: Weiyi Lu Si

Re: [PATCH 1/2] vfio: ABI for setting mdev display flip eventfd

2019-05-27 Thread Zhenyu Wang
On 2019.05.27 16:43:11 +0800, Tina Zhang wrote: > Add VFIO_DEVICE_SET_GFX_FLIP_EVENTFD ioctl command to set eventfd > based signaling mechanism to deliver vGPU framebuffer page flip > event to userspace. > Should we add probe to see if driver can support gfx flip event? > Signed-off-by: Tina Zhan

Re: [PATCH v2 4/7] dmaengine: fsl-edma-common: version check for v2 instead

2019-05-27 Thread Sascha Hauer
On Mon, May 27, 2019 at 04:51:15PM +0800, yibin.g...@nxp.com wrote: > From: Robin Gong > > The next v3 i.mx7ulp edma is based on v1, so change version > check logic for v2 instead. > > Signed-off-by: Robin Gong > --- > drivers/dma/fsl-edma-common.c | 40

RE: [PATCH] PCI: endpoint: Add DMA to Linux PCI EP Framework

2019-05-27 Thread Gustavo Pimentel
On Fri, May 24, 2019 at 20:42:43, Alan Mikhak wrote: Hi Alan, > On Fri, May 24, 2019 at 1:59 AM Gustavo Pimentel > wrote: > > > > Hi Alan, > > > > This patch implementation is very HW implementation dependent and > > requires the DMA to exposed through PCIe BARs, which aren't always the > > ca

Re: [PATCH] dt-bindings: pinctrl: fix spelling mistakes in pinctl documentation

2019-05-27 Thread Linus Walleij
On Sat, May 25, 2019 at 10:42 PM Colin King wrote: > From: Colin Ian King > > The spelling of configured is incorrect in the documentation. Fix it. > > Signed-off-by: Colin Ian King Patch applied with Bjorn's review tag. Yours, Linus Walleij

Re: [PATCH 2/2] drm/i915/gvt: Support delivering page flip event to userspace

2019-05-27 Thread Zhenyu Wang
On 2019.05.27 16:43:12 +0800, Tina Zhang wrote: > Use the eventfd based signaling mechanism provided by vfio/display > to deliver vGPU framebuffer page flip event to userspace. > > Signed-off-by: Tina Zhang > --- > drivers/gpu/drm/i915/gvt/dmabuf.c | 31 + > drivers

Re: [PATCH v2 04/11] ARM: dts: ste: Update coresight DT bindings

2019-05-27 Thread Linus Walleij
On Wed, May 8, 2019 at 4:20 AM Leo Yan wrote: > CoreSight DT bindings have been updated, thus the old compatible strings > are obsolete and the drivers will report warning if DTS uses these > obsolete strings. > > This patch switches to the new bindings for CoreSight dynamic funnel and > static r

Придобивки за персонала

2019-05-27 Thread Radoslav Dobrev
Здравейте, Запознати ли сте с най-новата социална придобивка – ваучери за храна? А обмисляли ли сте използването на такива ваучери, с помощта на които Вашият персонал може да пазарува в различни вериги хранителни магазини и заведения? Бих могъл да Ви се обадя по телефона и да Ви представя възмо

Samsung Win..Final Notification

2019-05-27 Thread Samsung Europe
**DO NOT DELETE THIS MESSAGE Samsung Europe Prize Office Evert van de Beekstraat 310 1118 CX Schiphol-Holland www.samsung.com/europe OFFICIAL WIN NOTIFICATION. Email Prize Ticket Number: GLX/9627835/EU/PRIZE2ND. Dear Email User: Are you

Re: [RFC PATCH 3/6] smp: Run functions concurrently in smp_call_function_many()

2019-05-27 Thread Peter Zijlstra
> + /* > + * Choose the most efficient way to send an IPI. Note that the > + * number of CPUs might be zero due to concurrent changes to the > + * provided mask or cpu_online_mask. > + */ Since we have preemption disabled here, I don'

Re: [RFC PATCH 4/6] x86/mm/tlb: Refactor common code into flush_tlb_on_cpus()

2019-05-27 Thread Peter Zijlstra
On Sat, May 25, 2019 at 01:22:01AM -0700, Nadav Amit wrote: > There is one functional change, which should not affect correctness: > flush_tlb_mm_range compared loaded_mm and the mm to figure out if local > flush is needed. Instead, the common code would look at the mm_cpumask() > which should giv

Re: linux-next: manual merge of the vhost tree with the iommu tree

2019-05-27 Thread Joerg Roedel
On Sun, May 12, 2019 at 01:16:26PM -0400, Michael S. Tsirkin wrote: > Joerg, what are we doing with these patches? > It was tested in next with no bad effects. > I sent an ack - do you want to pick it up? > Or have me include it in my pull? I'd prefer it in my tree, if you are fine with the spec.

Re: [PATCH v4 3/3] mtd: spinand: Add support for GigaDevice GD5F1GQ4UFxxG

2019-05-27 Thread Miquel Raynal
Hi Schrempf, Schrempf Frieder wrote on Mon, 27 May 2019 06:35:59 +: > Hi Jeff, > > On 24.05.19 02:12, Jeff Kletsky wrote: > > (reduced direct addressees, though still on lists) > > > > On 5/22/19 11:42 PM, Schrempf Frieder wrote: > > > >> On 23.05.19 00:05, Jeff Kletsky wrote: > >>> F

Re: [5.2-rc1 regression]: nvme vs. hibernation

2019-05-27 Thread Jiri Kosina
On Sat, 25 May 2019, Dongli Zhang wrote: > Looks this has been discussed in the past. > > http://lists.infradead.org/pipermail/linux-nvme/2019-April/023234.html > > I created a fix for a case but not good enough. > > http://lists.infradead.org/pipermail/linux-nvme/2019-April/023277.html That r

Re: Issue with Broadcom wireless in 5.2rc1 (was Re: [PATCH] mmc: sdhci: queue work after sdhci_defer_done())

2019-05-27 Thread Brian Masney
On Sun, May 26, 2019 at 03:58:19PM -0400, Brian Masney wrote: > I attached a patch that shows how I was able to determine what had > already claimed the host. I realized this morning that I had a flaw with my test patch that diagnosed what was deadlocked. The mmc_ctx structure was allocated on the

  1   2   3   4   5   6   7   8   9   >