Re: [tip:x86/entry 4/80] drivers/xen/events/events_base.c:1664:6: warning: no previous prototype for 'xen_setup_callback_vector'

2020-05-20 Thread Vitaly Kuznetsov
kbuild test robot writes: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry > head: 095b7a3e7745e6fb7cf0a1c09967c4f43e76f8f4 > commit: fad1940a6a856f59b073e8650e02052ce531154c [4/80] x86/xen: Split HVM > vector callback setup and interrupt gate allocation > config

Re: [PATCH v2 2/4] clk / soc: mediatek: Bind clock and gpu driver for mt2712

2020-05-20 Thread Matthias Brugger
On 20/05/2020 12:13, Stephen Boyd wrote: > Quoting Enric Balletbo i Serra (2020-04-01 13:17:34) >> Now that the mmsys driver is the top-level entry point for the >> multimedia subsystem, we could bind the clock and the gpu driver on >> those devices that is expected to work, so the drm driver is

Re: [PATCH v2 1/4] soc: mediatek: Enable mmsys driver by default if Mediatek arch is selected

2020-05-20 Thread Matthias Brugger
On 01/04/2020 22:17, Enric Balletbo i Serra wrote: > The mmsys driver supports only MT8173 device for now, but like other system > controllers is an important piece for other Mediatek devices. Actually > it depends on the mt8173 clock specific driver but that dependency is > not real as it can b

Re: [PATCH v2 3/4] clk / soc: mediatek: Bind clock and gpu driver for mt2701

2020-05-20 Thread Matthias Brugger
On 20/05/2020 12:13, Stephen Boyd wrote: > Quoting Enric Balletbo i Serra (2020-04-01 13:17:35) >> Now that the mmsys driver is the top-level entry point for the >> multimedia subsystem, we could bind the clock and the gpu driver on >> those devices that is expected to work, so the drm driver is

Re: [PATCH 1/2] MAINTAINERS: Add entry for ROHM power management ICs

2020-05-20 Thread Sebastian Reichel
Hi, On Wed, May 20, 2020 at 09:11:28AM +0300, Matti Vaittinen wrote: > Add entry for maintaining power management IC drivers for ROHM > BD71837, BD71847, BD71850, BD71828, BD71878, BD70528 and BD99954. > > Signed-off-by: Matti Vaittinen > --- Acked-by: Sebastian Reichel -- Sebastian > MAINT

Re: [PATCH v3] vsprintf: don't obfuscate NULL and error pointers

2020-05-20 Thread Petr Mladek
On Tue 2020-05-19 11:36:52, Linus Torvalds wrote: > On Tue, May 19, 2020 at 4:27 AM Ilya Dryomov wrote: > > > > This just came up again, please consider sending this to Linus > > for 5.7. > > I just took it directly, since I like it and it looks trivial. Great, I am happy that it has got resolve

Re: [PATCH v2 4/4] arm64: dts: mt8173: Fix mmsys node name

2020-05-20 Thread Matthias Brugger
On 01/04/2020 22:17, Enric Balletbo i Serra wrote: > Node names are supposed to match the class of the device, mmsys is a > system controller (syscon) not a clock controller, so change the node > name accordingly. > > Signed-off-by: Enric Balletbo i Serra > Reviewed-by: Chun-Kuang Hu > --- N

Re: [PATCH 4/8] mm/swap: Use local_lock for protection

2020-05-20 Thread Peter Zijlstra
On Tue, May 19, 2020 at 10:19:08PM +0200, Sebastian Andrzej Siewior wrote: > diff --git a/mm/swap.c b/mm/swap.c > index bf9a79fed62d7..03c97d15fcd69 100644 > --- a/mm/swap.c > +++ b/mm/swap.c > @@ -44,8 +44,14 @@ > /* How many pages do we try to swap or page in/out together? */ > int page_cluster

Re: [PATCH 1/4] clk/soc: mediatek: mt8183: Bind clock driver from platform device

2020-05-20 Thread Matthias Brugger
On 20/05/2020 12:14, Stephen Boyd wrote: > Quoting matthias@kernel.org (2020-05-18 04:31:53) >> From: Matthias Brugger >> >> The mmsys driver is now the top level entry point for the multimedia >> system (mmsys), we bind the clock driver by creating a platform device. >> We also bind the Me

Re: [PATCH 2/4] clk/soc: mediatek: mt6797: Bind clock driver from platform device

2020-05-20 Thread Matthias Brugger
On 20/05/2020 12:15, Stephen Boyd wrote: > Quoting matthias@kernel.org (2020-05-18 04:31:54) >> From: Matthias Brugger >> >> The mmsys driver is now the top level entry point for the multimedia >> system (mmsys), we bind the clock driver by creating a platform device. >> We also bind the Me

Re: [PATCH 3/4] clk/soc: mediatek: mt6779: Bind clock driver from platform device

2020-05-20 Thread Matthias Brugger
On 20/05/2020 12:15, Stephen Boyd wrote: > Quoting matthias@kernel.org (2020-05-18 04:31:55) >> From: Matthias Brugger >> >> The mmsys driver is now the top level entry point for the multimedia >> system (mmsys), we bind the clock driver by creating a platform device. >> We also bind the Me

Re: [PATCH v6 0/5] perf stat: Support overall statistics for interval mode

2020-05-20 Thread Jiri Olsa
On Wed, May 20, 2020 at 12:27:32PM +0800, Jin Yao wrote: > Currently perf-stat supports to print counts at regular interval (-I), > but it's not very easy for user to get the overall statistics. > > With this patchset, it supports to report the summary at the end of > interval output. > > For exa

Re: [PATCH 4/4] arm64: dts: mt6797: Fix mmsys node name

2020-05-20 Thread Matthias Brugger
On 19/05/2020 17:06, Chun-Kuang Hu wrote: > Hi, Matthias: > > 於 2020年5月18日 週一 下午7:33寫道: >> >> From: Matthias Brugger >> >> Node names are supposed to match the class of the device. The >> mmsys node is a syscon as it provides more then just a clock controller. >> Update the name. > > Reviewe

Re: [PATCH v3 0/9] perf: support enable and disable commands in stat and record modes

2020-05-20 Thread Jiri Olsa
On Mon, May 18, 2020 at 11:08:43AM +0300, Alexey Budankov wrote: > Hi, > > Is there anything else that could be done from my side to move this forward? sorry I did not get to this yet.. will check jirka

Re: [PATCH 5/8] squashfs: make use of local lock in multi_cpu decompressor

2020-05-20 Thread Peter Zijlstra
On Tue, May 19, 2020 at 10:19:09PM +0200, Sebastian Andrzej Siewior wrote: > diff --git a/fs/squashfs/decompressor_multi_percpu.c > b/fs/squashfs/decompressor_multi_percpu.c > index 2a2a2d106440e..8a77a2741c176 100644 > --- a/fs/squashfs/decompressor_multi_percpu.c > +++ b/fs/squashfs/decompressor

Re: [PATCH] powerpc: Replace zero-length array with flexible-array

2020-05-20 Thread Michael Ellerman
On Thu, 7 May 2020 13:57:49 -0500, Gustavo A. R. Silva wrote: > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced in C99:

Re: [PATCH] powerpc/mm: Replace zero-length array with flexible-array

2020-05-20 Thread Michael Ellerman
On Thu, 7 May 2020 13:57:55 -0500, Gustavo A. R. Silva wrote: > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced in C99:

Re: [PATCH] powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT

2020-05-20 Thread Michael Ellerman
On Wed, 8 Apr 2020 15:58:49 + (UTC), Christophe Leroy wrote: > When CONFIG_KASAN is selected, the stack usage is increased. > > In the same way as x86 and arm64 architectures, increase > THREAD_SHIFT when CONFIG_KASAN is selected. Applied to powerpc/next. [1/1] powerpc/kasan: Fix stack overf

Re: [PATCH] powerpc/8xx: Update email address in MAINTAINERS

2020-05-20 Thread Michael Ellerman
On Wed, 6 May 2020 06:51:59 + (UTC), Christophe Leroy wrote: > Since 01 May 2020, our email adresses have changed to @csgroup.eu > > Update MAINTAINERS accordingly. Applied to powerpc/next. [1/1] powerpc/8xx: Update email address in MAINTAINERS https://git.kernel.org/powerpc/c/679d74ab

Re: [PATCH v6 00/16] powerpc/watchpoint: Preparation for more than one watchpoint

2020-05-20 Thread Michael Ellerman
On Thu, 14 May 2020 16:47:25 +0530, Ravi Bangoria wrote: > So far, powerpc Book3S code has been written with an assumption of > only one watchpoint. But Power10[1] is introducing second watchpoint > register (DAWR). Even though this patchset does not enable 2nd DAWR, > it makes the infrastructure r

Re: [PATCH 1/5] drivers/powerpc: Replace _ALIGN_UP() by ALIGN()

2020-05-20 Thread Michael Ellerman
On Mon, 20 Apr 2020 18:36:34 + (UTC), Christophe Leroy wrote: > _ALIGN_UP() is specific to powerpc > ALIGN() is generic and does the same > > Replace _ALIGN_UP() by ALIGN() Applied to powerpc/next. [1/5] drivers/powerpc: Replace _ALIGN_UP() by ALIGN() https://git.kernel.org/powerpc/c/7

Re: [PATCH] powerpc/5200: update contact email

2020-05-20 Thread Michael Ellerman
On Sat, 2 May 2020 16:26:42 +0200, Wolfram Sang wrote: > My 'pengutronix' address is defunct for years. Merge the entries and use > the proper contact address. Applied to powerpc/next. [1/1] powerpc/5200: update contact email https://git.kernel.org/powerpc/c/ad0f522df1b2f4fe5d4ae6418e1ea216

Re: [PATCH 20/20] maccess: return -ERANGE when copy_from_kernel_nofault_allowed fails

2020-05-20 Thread Masami Hiramatsu
On Tue, 19 May 2020 15:44:49 +0200 Christoph Hellwig wrote: > Allow the callers to distinguish a real unmapped address vs a range > that can't be probed. > > Suggested-by: Masami Hiramatsu > Signed-off-by: Christoph Hellwig Hi Christoph, Can you also update the kerneldoc comment too? Other t

Re: [PATCH 6/8] connector/cn_proc: Protect send_msg() with a local lock

2020-05-20 Thread Peter Zijlstra
On Tue, May 19, 2020 at 10:19:10PM +0200, Sebastian Andrzej Siewior wrote: > @@ -40,10 +41,11 @@ static struct cb_id cn_proc_event_id = { CN_IDX_PROC, > CN_VAL_PROC }; > > /* proc_event_counts is used as the sequence number of the netlink message */ > static DEFINE_PER_CPU(__u32, proc_event_co

Re: [PATCH] dma-fence: add might_sleep annotation to _wait()

2020-05-20 Thread Daniel Vetter
On Wed, May 20, 2020 at 08:54:36AM +0200, Christian König wrote: > Am 19.05.20 um 15:27 schrieb Daniel Vetter: > > Do it uncontionally, there's a separate peek function with > > dma_fence_is_signalled() which can be called from atomic context. > > > > v2: Consensus calls for an unconditional might

[PATCH] drm/panfrost: fix runtime pm imbalance on error

2020-05-20 Thread Dinghao Liu
pm_runtime_get_sync() increments the runtime PM usage counter even the call returns an error code. Thus a pairing decrement is needed on the error handling path to keep the counter balanced. Signed-off-by: Dinghao Liu --- drivers/gpu/drm/panfrost/panfrost_job.c | 4 +++- 1 file changed, 3 insert

Re: [PATCH] PCI: dwc: Warn only for non-prefetchable memory resource size >4GB

2020-05-20 Thread Lorenzo Pieralisi
On Tue, May 19, 2020 at 10:08:54PM +, Gustavo Pimentel wrote: [...] > > > > > > diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c > > > > > > b/drivers/pci/controller/dwc/pcie-designware-host.c > > > > > > index 42fbfe2a1b8f..a29396529ea4 100644 > > > > > > --- a/drivers/pci/con

Re: [EXTERNAL] Re: [RFC PATCH 0/4] DirectX on Linux

2020-05-20 Thread Thomas Zimmermann
Hi Steve, thank you for the fast reply. Am 20.05.20 um 09:42 schrieb Steve Pronovost: >> Echoing what others said, you're not making a DRM driver. The driver should >> live outside of the DRM code. > > Agreed, please see my earlier reply. We'll be moving the driver to > drivers/hyperv node or

Re: [PATCH 7/8] zram: Use local lock to protect per-CPU data

2020-05-20 Thread Peter Zijlstra
On Tue, May 19, 2020 at 10:19:11PM +0200, Sebastian Andrzej Siewior wrote: > +static DEFINE_LOCAL_LOCK(zcomp_lock); > + > struct zcomp_strm *zcomp_stream_get(struct zcomp *comp) > { > - return *get_cpu_ptr(comp->stream); > + local_lock(zcomp_lock); > + return *this_cpu_ptr(comp->strea

[PATCH 2/3] switchdev: mrp: Remove the variable mrp_ring_state

2020-05-20 Thread Horatiu Vultur
Remove the variable mrp_ring_state from switchdev_attr because is not used anywhere. The ring state is set using SWITCHDEV_OBJ_ID_RING_STATE_MRP. Fixes: c284b5459008 ("switchdev: mrp: Extend switchdev API to offload MRP") Signed-off-by: Horatiu Vultur --- include/net/switchdev.h | 1 - 1 file ch

Re: [EXT] Re: [PATCH net-next 3/5] net: mvpp2: cls: Use RSS contexts to handle RSS tables

2020-05-20 Thread Russell King - ARM Linux admin
On Tue, May 19, 2020 at 07:05:34PM +0200, Matteo Croce wrote: > On Tue, 19 May 2020 12:05:20 +0200 > Matteo Croce wrote: > > Hi, > > The patch seems to work. I'm generating traffic with random MAC and IP > addresses, to have many flows: > > # tcpdump -tenni eth2 > 9a:a9:b1:3a:b1:6b > 00:51:82:1

Re: [PATCH 13/20] maccess: always use strict semantics for probe_kernel_read

2020-05-20 Thread Masami Hiramatsu
On Tue, 19 May 2020 15:44:42 +0200 Christoph Hellwig wrote: > diff --git a/kernel/trace/trace_kprobe.c b/kernel/trace/trace_kprobe.c > index 2f6737cc53e6c..82da20e712507 100644 > --- a/kernel/trace/trace_kprobe.c > +++ b/kernel/trace/trace_kprobe.c > @@ -1208,7 +1208,13 @@ fetch_store_strlen(unsi

[PATCH 1/3] bridge: mrp: Add br_mrp_unique_ifindex function

2020-05-20 Thread Horatiu Vultur
It is not allow to have the same net bridge port part of multiple MRP rings. Therefore add a check if the port is used already in a different MRP. In that case return failure. Fixes: 9a9f26e8f7ea ("bridge: mrp: Connect MRP API with the switchdev API") Signed-off-by: Horatiu Vultur --- net/bridge

[PATCH 3/3] bridge: mrp: Restore port state when deleting MRP instance

2020-05-20 Thread Horatiu Vultur
When a MRP instance is deleted, then restore the port according to the bridge state. If the bridge is up then the ports will be in forwarding state otherwise will be in disabled state. Fixes: 9a9f26e8f7ea ("bridge: mrp: Connect MRP API with the switchdev API") Signed-off-by: Horatiu Vultur --- n

[PATCH 0/3] net: bridge: mrp: Add small fixes to MRP

2020-05-20 Thread Horatiu Vultur
This patch series adds small fixes to MRP implementation. The following are fixed in this patch series: - now is not allow to add the same port to multiple MRP rings - remove unused variable - restore the port state according to the bridge state when the MRP instance is deleted Horatiu Vultur (3

next-0519 on thinkpad x60: sound related? window manager crash

2020-05-20 Thread Pavel Machek
Hi! My window manager stopped responding. I was able to recover machine using sysrq-k. I started writing nice report, when session failed second time. And then third time on next attempt. Any ideas? I'll send this out before this locks up... Best regards,

[PATCH v2 0/4] arm64: Introduce new IPI as IPI_CALL_NMI_FUNC

2020-05-20 Thread Sumit Garg
With pseudo NMIs support available its possible to configure SGIs to be triggered as pseudo NMIs running in NMI context. And kernel features such as kgdb relies on NMI support to round up CPUs which are stuck in hard lockup state with interrupts disabled. This patch-set adds support for IPI_CALL_N

[PATCH v2 1/4] arm64: smp: Introduce a new IPI as IPI_CALL_NMI_FUNC

2020-05-20 Thread Sumit Garg
Introduce a new inter processor interrupt as IPI_CALL_NMI_FUNC that can be invoked to run special handlers in NMI context. One such handler example is kgdb_nmicallback() which is invoked in order to round up CPUs to enter kgdb context. As currently pseudo NMIs are supported on specific arm64 platf

[PATCH v2 3/4] arm64: smp: Setup IPI_CALL_NMI_FUNC as a pseudo NMI

2020-05-20 Thread Sumit Garg
Setup IPI_CALL_NMI_FUNC as a pseudo NMI using generic interrupt framework APIs. In case a plarform doesn't provide support for pseudo NMIs, switch back to IPI_CALL_NMI_FUNC being a normal interrupt. Signed-off-by: Sumit Garg --- arch/arm64/kernel/smp.c | 35 ++- 1

Re: [PATCH 13/20] maccess: always use strict semantics for probe_kernel_read

2020-05-20 Thread Christoph Hellwig
On Wed, May 20, 2020 at 08:11:26PM +0900, Masami Hiramatsu wrote: > > - ret = probe_kernel_read(&c, (u8 *)addr + len, 1); > > + if (IS_ENABLED(CONFIG_ARCH_HAS_NON_OVERLAPPING_ADDRESS_SPACE) && > > + (unsigned long)addr < TASK_SIZE) { > > + ret = p

RE: [PATCH 8/8] mm/zswap: Use local lock to protect per-CPU data

2020-05-20 Thread Song Bao Hua
> On 2020-05-19 21:46:06 [+], Song Bao Hua wrote: > > Hi Luis, > > In the below patch, in order to use the acomp APIs to leverage the power of > hardware compressors. I have moved to mutex: > > https://marc.info/?l=linux-crypto-vger&m=158941285830302&w=2 > > https://marc.info/?l=linux-crypto-vg

[PATCH v2 2/4] irqchip/gic-v3: Enable support for SGIs to act as NMIs

2020-05-20 Thread Sumit Garg
Add support to handle SGIs as regular NMIs. As SGIs or IPIs defaults to a special flow handler: handle_percpu_devid_fasteoi_ipi(), so skip NMI handler update in case of SGIs. Also, enable NMI support prior to gic_smp_init() as allocation of SGIs as IRQs/NMIs happen as part of this routine. Signed

[PATCH v2 4/4] arm64: kgdb: Round up cpus using IPI_CALL_NMI_FUNC

2020-05-20 Thread Sumit Garg
arm64 platforms with GICv3 or later supports pseudo NMIs which can be leveraged to round up CPUs which are stuck in hard lockup state with interrupts disabled that wouldn't be possible with a normal IPI. So instead switch to round up CPUs using IPI_CALL_NMI_FUNC. And in case a particular arm64 pla

Re: [PATCH 2/3] sdhci: sparx5: Add Sparx5 SoC eMMC driver

2020-05-20 Thread Lars Povlsen
Lars Povlsen writes: > Adrian Hunter writes: > >> On 13/05/20 4:31 pm, Lars Povlsen wrote: >>> This adds the eMMC driver for the Sparx5 SoC. It is based upon the >>> designware IP, but requires some extra initialization and quirks. >>> >>> Reviewed-by: Alexandre Belloni >>> Signed-off-by: Lars

Re: [PATCH v4 2/4] kasan: record and print the free track

2020-05-20 Thread Dmitry Vyukov
On Wed, May 20, 2020 at 12:15 PM Walter Wu wrote: > > On Wed, 2020-05-20 at 11:44 +0200, 'Dmitry Vyukov' via kasan-dev wrote: > > On Wed, May 20, 2020 at 11:17 AM Walter Wu > > wrote: > > > > > On Wed, 2020-05-20 at 13:14 +0800, Walter Wu wrote: > > > > > > > On Wed, May 20, 2020 at 6:03 AM Walt

Re: [PATCH] drm/etnaviv: fix memory leak when mapping prime imported buffers

2020-05-20 Thread Fuzzey, Martin
Hi Lucas, > Am Mittwoch, den 20.05.2020, 12:10 +0200 schrieb Martin Fuzzey: > What's the use-case where you did hit this issue? mmap'ing of imported > buffers through the etnaviv DRM device is currently not well defined > and I was pondering the idea of forbidding it completely by not > returning

Re: [PATCH V1 2/3] mmc: sdhci-msm: Use internal voltage control

2020-05-20 Thread Veerabhadrarao Badiganti
Thanks Bjorn for the review. For major comments I'm responding. Other comments, i will take care of them in my next patch-set. On 5/19/2020 1:27 AM, Bjorn Andersson wrote: On Fri 15 May 04:18 PDT 2020, Veerabhadrarao Badiganti wrote: From: Vijay Viswanath On qcom SD host controllers voltag

Re: [EXT] Re: [PATCH net-next 3/5] net: mvpp2: cls: Use RSS contexts to handle RSS tables

2020-05-20 Thread Matteo Croce
On Wed, May 20, 2020 at 1:11 PM Russell King - ARM Linux admin wrote: > > On Tue, May 19, 2020 at 07:05:34PM +0200, Matteo Croce wrote: > > On Tue, 19 May 2020 12:05:20 +0200 > > Matteo Croce wrote: > > > > Hi, > > > > The patch seems to work. I'm generating traffic with random MAC and IP > > add

Re: [PATCH] PCI: dwc: Warn only for non-prefetchable memory resource size >4GB

2020-05-20 Thread Thierry Reding
On Tue, May 19, 2020 at 10:08:54PM +, Gustavo Pimentel wrote: > On Tue, May 19, 2020 at 15:58:16, Lorenzo Pieralisi > wrote: > > > On Tue, May 19, 2020 at 07:25:02PM +0530, Vidya Sagar wrote: > > > > > > > > > On 18-May-20 9:24 PM, Lorenzo Pieralisi wrote: > > > > External email: Use cauti

Re: [PATCH v2] printk/kdb: Redirect printk messages into kdb in any context

2020-05-20 Thread Sergey Senozhatsky
On (20/05/20 12:22), Petr Mladek wrote: > kdb has to get messages on consoles even when the system is stopped. > It uses kdb_printf() internally and calls console drivers on its own. > > It uses a hack to reuse an existing code. It sets "kdb_trap_printk" > global variable to redirect even the norm

Re: [EXT] Re: [PATCH net-next 3/5] net: mvpp2: cls: Use RSS contexts to handle RSS tables

2020-05-20 Thread Russell King - ARM Linux admin
On Wed, May 20, 2020 at 01:16:25PM +0200, Matteo Croce wrote: > On Wed, May 20, 2020 at 1:11 PM Russell King - ARM Linux admin > wrote: > > > > On Tue, May 19, 2020 at 07:05:34PM +0200, Matteo Croce wrote: > > > On Tue, 19 May 2020 12:05:20 +0200 > > > Matteo Croce wrote: > > > > > > Hi, > > > >

Re: [PATCH V1 3/3] mmc: sdhci: Allow platform controlled voltage switching

2020-05-20 Thread Veerabhadrarao Badiganti
On 5/19/2020 11:36 AM, Adrian Hunter wrote: On 15/05/20 2:18 pm, Veerabhadrarao Badiganti wrote: From: Vijay Viswanath If vendor platform drivers are controlling whole logic of voltage switching, then sdhci driver no need control vqmmc regulator. So skip enabling/disable vqmmc from SDHC driv

Re: kernel BUG at mm/hugetlb.c:LINE!

2020-05-20 Thread Miklos Szeredi
On Tue, May 19, 2020 at 2:35 AM Mike Kravetz wrote: > > On 5/18/20 4:41 PM, Colin Walters wrote: > > > > On Tue, May 12, 2020, at 11:04 AM, Miklos Szeredi wrote: > > > >>> However, in this syzbot test case the 'file' is in an overlayfs filesystem > >>> created as follows: > >>> > >>> mkdir("./file

Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe

2020-05-20 Thread Shengjiu Wang
Hi On Wed, May 20, 2020 at 5:42 PM Lucas Stach wrote: > > Am Mittwoch, den 20.05.2020, 16:20 +0800 schrieb Shengjiu Wang: > > Hi > > > > On Tue, May 19, 2020 at 6:04 PM Lucas Stach wrote: > > > Am Dienstag, den 19.05.2020, 17:41 +0800 schrieb Shengjiu Wang: > > > > There are two requirements tha

Re: [PATCH V2] arm64: tegra: Fix flag for 64-bit resources in 'ranges' property

2020-05-20 Thread Thierry Reding
On Mon, May 18, 2020 at 07:52:24PM +0530, Vidya Sagar wrote: > Thanks Lorenzo. > I've moved linux-pci to BCC and included > devicetree and linux-tegra mailing lists to CC. > > Rob, Could you please review this patch? I don't think there's any need for Rob to review this. It's a simple bugfix and

[PATCH v4 09/11] ARM64: dts: mediatek: add an alias for ethernet0 for pumpkin boards

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the ethernet0 alias for ethernet so that u-boot can find this node and fill in the MAC address. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek

[PATCH v4 04/11] net: ethernet: mediatek: rename Kconfig prompt

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We'll soon by adding a second MediaTek Ethernet driver so modify the Kconfig prompt. Signed-off-by: Bartosz Golaszewski --- drivers/net/ethernet/mediatek/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/mediatek/Kconfig

[PATCH v4 10/11] ARM64: dts: mediatek: add ethernet pins for pumpkin boards

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Setup the pin control for the Ethernet MAC. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi b/arch/arm64/boot

[PATCH v4 02/11] dt-bindings: add new compatible to mediatek,pericfg

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The PERICFG controller is present on the MT8516 SoC. Add an appropriate compatible variant. Signed-off-by: Bartosz Golaszewski --- .../devicetree/bindings/arm/mediatek/mediatek,pericfg.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devic

[PATCH v4 00/11] mediatek: add support for MediaTek Ethernet MAC

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This adds support for the Ethernet Controller present on MediaTeK SoCs from the MT8* family. First we convert the existing DT bindings for the PERICFG controller to YAML and add a new compatible string for mt8516 variant of it. Then we add the DT bindings for the MAC.

[PATCH v4 08/11] ARM64: dts: mediatek: add the ethernet node to mt8516.dtsi

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add the Ethernet MAC node to mt8516.dtsi. This defines parameters common to all the boards based on this SoC. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/b

[PATCH v4 11/11] ARM64: dts: mediatek: enable ethernet on pumpkin boards

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add remaining properties to the ethernet node and enable it. Signed-off-by: Bartosz Golaszewski --- .../boot/dts/mediatek/pumpkin-common.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/pumpkin-common.dtsi

[PATCH v4 07/11] ARM64: dts: mediatek: add pericfg syscon to mt8516.dtsi

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This adds support for the PERICFG register range as a syscon. This will soon be used by the MediaTek Ethernet MAC driver for NIC configuration. Signed-off-by: Bartosz Golaszewski --- arch/arm64/boot/dts/mediatek/mt8516.dtsi | 5 + 1 file changed, 5 insertions(+)

[PATCH v4 03/11] dt-bindings: net: add a binding document for MediaTek Ethernet MAC

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This adds yaml DT bindings for the MediaTek Ethernet MAC present on the mt8* family of SoCs. Signed-off-by: Bartosz Golaszewski --- .../bindings/net/mediatek,eth-mac.yaml| 89 +++ 1 file changed, 89 insertions(+) create mode 100644 Documentati

[PATCH v4 06/11] net: ethernet: mtk-eth-mac: new driver

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This adds the driver for the MediaTek Ethernet MAC used on the MT8* SoC family. For now we only support full-duplex. Signed-off-by: Bartosz Golaszewski --- drivers/net/ethernet/mediatek/Kconfig |6 + drivers/net/ethernet/mediatek/Makefile |1 + driv

[PATCH v4 05/11] net: ethernet: mediatek: remove unnecessary spaces from Makefile

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski The Makefile formatting in the kernel tree usually doesn't use tabs, so remove them before we add a second driver. Signed-off-by: Bartosz Golaszewski --- drivers/net/ethernet/mediatek/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

XHCI vs PCM2903B/PCM2904 part 2

2020-05-20 Thread Rik van Riel
After a few more weeks of digging, I have come to the tentative conclusion that either the XHCI driver, or the USB sound driver, or both, fail to handle USB errors correctly. I have some questions at the bottom, after a (brief-ish) explanation of exactly what seems to go wrong. TL;DR: arecord fro

[PATCH v4 01/11] dt-bindings: convert the binding document for mediatek PERICFG to yaml

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Convert the DT binding .txt file for MediaTek's peripheral configuration controller to YAML. There's one special case where the compatible has three positions. Otherwise, it's a pretty normal syscon. Signed-off-by: Bartosz Golaszewski --- .../arm/mediatek/mediatek,per

Re: [PATCH v1] sdhci: tegra: Remove warnings about missing device-tree properties

2020-05-20 Thread Ulf Hansson
On Wed, 20 May 2020 at 04:00, Dmitry Osipenko wrote: > > 19.05.2020 23:44, Sowjanya Komatineni пишет: > > > > On 5/19/20 12:07 PM, Sowjanya Komatineni wrote: > >> > >> On 5/19/20 11:41 AM, Sowjanya Komatineni wrote: > >>> > >>> On 5/19/20 11:34 AM, Sowjanya Komatineni wrote: > > On 5/19/

Re: [PATCH 09/15] device core: Add ability to handle multiple dma offsets

2020-05-20 Thread Nicolas Saenz Julienne
Hi Jim, thanks for having a go at this! My two cents. On Tue, 2020-05-19 at 16:34 -0400, Jim Quinlan wrote: > The device variable 'dma_pfn_offset' is used to do a single > linear map between cpu addrs and dma addrs. The variable > 'dma_map' is added to struct device to point to an array > of mult

Re: BUG: sleeping function called from atomic due to "Balance initial LPI affinity across CPUs"

2020-05-20 Thread John Garry
On 20/05/2020 10:51, Marc Zyngier wrote: Hi John, On 2020-05-20 09:43, John Garry wrote: On 19/05/2020 23:09, Qian Cai wrote: Reverted the linux-next commit f068a62c548c ("irqchip/gic-v3-its: Balance initial LPI affinity across CPUs") fixed these warnings during boot, Thanks for the notice.

[PATCH] powercap: remove unused local MSR define

2020-05-20 Thread Sumeet Pawnikar
From: "Pawnikar, Sumeet" Remove unused PLATFORM_POWER_LIMIT MSR local definition from file intel_rapl_common.c. This was missed while splitting old RAPL code intel_rapl.c file into two new files intel_rapl_msr.c and intel_rapl_common.c as per the commit 3382388d7148 ("intel_rapl: abstract RAPL co

Re: [PATCH v2 12/20] mips: MAAR: Add XPA mode support

2020-05-20 Thread Serge Semin
On Tue, May 19, 2020 at 05:42:13PM +0200, Thomas Bogendoerfer wrote: > On Wed, May 06, 2020 at 08:42:30PM +0300, sergey.se...@baikalelectronics.ru > wrote: > > From: Serge Semin > > > > When XPA mode is enabled the normally 32-bits MAAR pair registers > > are extended to be of 64-bits width as i

Re: [PATCH v3 02/19] mm: memcg: prepare for byte-sized vmstat items

2020-05-20 Thread Vlastimil Babka
On 4/22/20 10:46 PM, Roman Gushchin wrote: > To implement per-object slab memory accounting, we need to > convert slab vmstat counters to bytes. Actually, out of > 4 levels of counters: global, per-node, per-memcg and per-lruvec > only two last levels will require byte-sized counters. > It's becaus

[PATCH] USB: serial: qcserial: Add DW5816e QDL support

2020-05-20 Thread Matt Jolly
Add support for Dell Wireless 5816e Download Mode (AKA boot & hold mode / QDL download mode) to drivers/usb/serial/qcserial.c This is required to update device firmware. Signed-off-by: Matt Jolly --- drivers/usb/serial/qcserial.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/s

Re: [PATCH v8 1/6] MIPS: JZ4780: Introduce SMP support.

2020-05-20 Thread Paul Cercueil
Hi Zhou, Le mer. 20 mai 2020 à 15:23, Zhou Yanjie a écrit : Hi Paul, On 2020年05月20日 03:41, Paul Cercueil wrote: Hi Zhou, Le mar. 19 mai 2020 à 22:35, 周琰杰 (Zhou Yanjie)  a écrit : Forward port smp support from kernel 3.18.3 of CI20_linux to upstream kernel 5.6. Tested-by: H. Nikolaus Sch

Re: [PATCH V1 1/7] dt-bindings: mmc: Add information for DLL register properties

2020-05-20 Thread Ulf Hansson
On Thu, 7 May 2020 at 10:03, Sarthak Garg wrote: > > Add information regarding DLL register properties for getting target > specific configurations. These DLL register settings may vary from > target to target. > > Also new compatible string value for sm8250 target. As Rob indicated, it's a bit c

Re: [PATCH v3 02/19] mm: memcg: prepare for byte-sized vmstat items

2020-05-20 Thread Vlastimil Babka
On 5/20/20 1:31 PM, Vlastimil Babka wrote: > On 4/22/20 10:46 PM, Roman Gushchin wrote: >> To implement per-object slab memory accounting, we need to >> convert slab vmstat counters to bytes. Actually, out of >> 4 levels of counters: global, per-node, per-memcg and per-lruvec >> only two last level

Re: next-0519 on thinkpad x60: sound related? window manager crash

2020-05-20 Thread Takashi Iwai
On Wed, 20 May 2020 13:11:37 +0200, Pavel Machek wrote: > > Hi! > > My window manager stopped responding. I was able to recover machine > using sysrq-k. > > I started writing nice report, when session failed second time. And > then third time on next attempt. > > Any ideas? Do you know when th

Re: [PATCH v11 2/3] i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver

2020-05-20 Thread Avi Fishman
Thanks Andy, Question below: On Wed, May 20, 2020 at 1:24 PM Andy Shevchenko wrote: > > On Wed, May 20, 2020 at 12:51:12PM +0300, Tali Perry wrote: > > Add Nuvoton NPCM BMC I2C controller driver. > > ... > > > +#ifdef CONFIG_DEBUG_FS > > Why?! It is made to save code size if CONFIG_DEBUG_FS is n

Re: [patch V6 10/37] x86/entry: Switch XEN/PV hypercall entry to IDTENTRY

2020-05-20 Thread Andrew Cooper
On 20/05/2020 09:06, Jürgen Groß wrote: > On 19.05.20 21:44, Andy Lutomirski wrote: >> On Tue, May 19, 2020 at 11:58 AM Thomas Gleixner >> wrote: >>> >>> Andy Lutomirski writes: B: Turn this thing around.  Specifically, in the one and only case we care about, we know pretty much exactly

Re: next-0519 on thinkpad x60: sound related? window manager crash

2020-05-20 Thread Pavel Machek
On Wed 2020-05-20 13:37:02, Takashi Iwai wrote: > On Wed, 20 May 2020 13:11:37 +0200, > Pavel Machek wrote: > > > > Hi! > > > > My window manager stopped responding. I was able to recover machine > > using sysrq-k. > > > > I started writing nice report, when session failed second time. And > > t

Re: [PATCH glibc 1/3] glibc: Perform rseq registration at C startup and thread creation (v19)

2020-05-20 Thread Florian Weimer
* Mathieu Desnoyers via Libc-alpha: > diff --git a/NEWS b/NEWS > index 141078c319..c4e0370fc4 100644 > --- a/NEWS > +++ b/NEWS > @@ -23,6 +23,16 @@ Major new features: >toolchains. It is recommended to use GCC 8 or newer when testing >this option. > > +* Support for automatically regist

Re: XHCI vs PCM2903B/PCM2904 part 2

2020-05-20 Thread Takashi Iwai
On Wed, 20 May 2020 13:26:57 +0200, Rik van Riel wrote: > > After a few more weeks of digging, I have come to the tentative > conclusion that either the XHCI driver, or the USB sound driver, > or both, fail to handle USB errors correctly. > > I have some questions at the bottom, after a (brief-is

[PATCH] drm: Replace deprecated function in drm_crtc_helper

2020-05-20 Thread Sidong Yang
Replace deprecated function drm_modeset_lock/unlock_all with helper function DRM_MODESET_LOCK_ALL_BEGIN/END. Signed-off-by: Sidong Yang --- drivers/gpu/drm/drm_crtc_helper.c | 19 --- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/drm_crtc_helper.c

Re: [PATCH v4 2/4] kasan: record and print the free track

2020-05-20 Thread Walter Wu
On Wed, 2020-05-20 at 13:15 +0200, 'Dmitry Vyukov' via kasan-dev wrote: > On Wed, May 20, 2020 at 12:15 PM Walter Wu wrote: > > > > On Wed, 2020-05-20 at 11:44 +0200, 'Dmitry Vyukov' via kasan-dev wrote: > > > On Wed, May 20, 2020 at 11:17 AM Walter Wu > > > wrote: > > > > > > On Wed, 2020-05-20

Re: next-0519 on thinkpad x60: sound related? window manager crash

2020-05-20 Thread Takashi Iwai
On Wed, 20 May 2020 13:39:06 +0200, Pavel Machek wrote: > > On Wed 2020-05-20 13:37:02, Takashi Iwai wrote: > > On Wed, 20 May 2020 13:11:37 +0200, > > Pavel Machek wrote: > > > > > > Hi! > > > > > > My window manager stopped responding. I was able to recover machine > > > using sysrq-k. > > >

Re: [PATCH v3 0/3] lib/vsprintf: Introduce %ptT for time64_t

2020-05-20 Thread Sergey Senozhatsky
On (20/05/15 18:02), Petr Mladek wrote: > On Wed 2020-04-15 20:00:43, Andy Shevchenko wrote: > > It is a logical continuation of previously applied %ptR for struct rtc_time. > > We have few users of time64_t that would like to print it. > > It seems that everything was explained and the patches lo

Re: [PATCH v2 1/2] drivers: thermal: tsens: Add zeroc interrupt support

2020-05-20 Thread Amit Kucheria
On Sun, May 17, 2020 at 4:17 PM Manaf Meethalavalappu Pallikunhi wrote: > > TSENS IP v2.6+ adds zeroc interrupt support. It triggers set As I re-read through these patches, shouldn't we just call it the "cold" interrupt? > interrupt when aggregated minimum temperature of all TSENS falls > below

[PATCH 5/5] net: ethernet: mtk_eth_mac: use devm_register_netdev()

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Use the new devres variant of register_netdev() in the mtk-eth-mac driver and shrink the code by a couple lines. Signed-off-by: Bartosz Golaszewski --- drivers/net/ethernet/mediatek/mtk_eth_mac.c | 17 + 1 file changed, 1 insertion(+), 16 deletions(-)

[PATCH 0/5] net: provide a devres variant of register_netdev()

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This series applies on top of my mtk-eth-mac series[1]. Using devres helpers allows to shrink the probing code, avoid memory leaks in error paths make sure the order in which resources are freed is the exact opposite of their allocation. This series proposes to add a de

[PATCH 1/5] Documentation: devres: add a missing section for networking helpers

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Add a new section for networking devres helpers to devres.rst and list the two existing devm functions. Signed-off-by: Bartosz Golaszewski --- Documentation/driver-api/driver-model/devres.rst | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/driver

[PATCH 4/5] net: devres: provide devm_register_netdev()

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Provide devm_register_netdev() - a device resource managed variant of register_netdev(). This new helper will only work for net_device structs that are also already managed by devres. Signed-off-by: Bartosz Golaszewski --- .../driver-api/driver-model/devres.rst

[PATCH 3/5] net: devres: define a separate devres structure for devm_alloc_etherdev()

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Not using a proxy structure to store struct net_device doesn't save anything in terms of compiled code size or memory usage but significantly decreases the readability of the code with all the pointer casting. Define struct net_device_devres and use it in devm_alloc_eth

[PATCH 2/5] net: move devres helpers into a separate source file

2020-05-20 Thread Bartosz Golaszewski
From: Bartosz Golaszewski There's currently only a single devres helper in net/ - devm variant of alloc_etherdev. Let's move it to net/devres.c with the intention of assing a second one: devm_register_netdev(). This new routine will need to know the address of the release function of devm_alloc_e

Re: [PATCH] sh: include linux/time_types.h for sockios

2020-05-20 Thread Geert Uytterhoeven
Hi Arnd, Andrew, On Wed, May 20, 2020 at 10:32 AM Arnd Bergmann wrote: > On Wed, May 20, 2020 at 3:10 AM Andrew Morton > wrote: > > On Tue, 19 May 2020 15:13:13 +0200 Arnd Bergmann wrote: > > > Using the socket ioctls on arch/sh (and only there) causes build > > > time problems when __kernel_o

Re: [PATCH v11 2/3] i2c: npcm7xx: Add Nuvoton NPCM I2C controller driver

2020-05-20 Thread Andy Shevchenko
On Wed, May 20, 2020 at 02:37:13PM +0300, Avi Fishman wrote: > On Wed, May 20, 2020 at 1:24 PM Andy Shevchenko > wrote: > > > > On Wed, May 20, 2020 at 12:51:12PM +0300, Tali Perry wrote: > > > Add Nuvoton NPCM BMC I2C controller driver. > > > > ... > > > > > +#ifdef CONFIG_DEBUG_FS > > > > Why?!

Re: [PATCH 04/15] PCI: brcmstb: Add compatibily of other chips

2020-05-20 Thread Nicolas Saenz Julienne
Hi Jim, On Tue, 2020-05-19 at 16:34 -0400, Jim Quinlan wrote: > From: Jim Quinlan > > Add in compatibility strings and code for three Broadcom STB chips. > Some of the register locations, shifts, and masks are different > for certain chips, requiring the use of different constants based > on of_

linux-next: Fixes tag needs some work in the v4l-dvb tree

2020-05-20 Thread Stephen Rothwell
Hi all, In commit de99280b2640 ("media: atomisp: add a notice about possible leak resources") Fixes tag Fixes: 88b03de5d705 ("media: atomisp: Add some ACPI detection info") has these problem(s): - Target SHA1 does not exist Maybe you meant Fixes: ea073ef04fb3 ("media: atomisp: Add som

Re: [PATCH] i2c: cadence: Add error handling for a platform_get_irq() call in cdns_i2c_probe()

2020-05-20 Thread Markus Elfring
> The driver initialization should be end immediately after found > the platform_get_irq() function return an error. I suggest to improve also this change description. How do you think about a wording variant like the following? Return an error code after a call of the function “platform_get_i

<    1   2   3   4   5   6   7   8   9   10   >