Re: [PATCH v4 1/1] mfd: Add I2C based System Configuaration (SYSCON) access

2020-07-02 Thread Michael Walle
Am 2020-07-02 08:54, schrieb Lee Jones: On Wed, 01 Jul 2020, Michael Walle wrote: Am 2020-07-01 09:04, schrieb Lee Jones: > On Wed, 01 Jul 2020, Michael Walle wrote: > > > Hi Lee, > > > > Am 2020-06-30 11:16, schrieb Michael Walle: > > > I'm just trying to use this for my sl28 driver. Some rema

Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-02 Thread Arnd Bergmann
On Thu, Jul 2, 2020 at 8:40 AM Dong Aisheng wrote: > On Thu, Jul 2, 2020 at 2:11 PM Anson Huang wrote: > > > Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock > > > > I am fine of adding the '#ifndef MODULE' to imx_clk_disable_uart() and > > imx_keep_uart_clocks_param() >

答复: [PATCH] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread tiantao (H)
Hi: Thanks for the help with the review code. I will send v2 to fixed this. Best -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2020年7月2日 14:43 收件人: tiantao (H) ; Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; kra...@redhat.com; alexander.deuc...@amd.co

Re: [PATCH] MAINTAINERS: Update entry for st7703 driver after the rename

2020-07-02 Thread Guido Günther
Hi Ondrej, On Wed, Jul 01, 2020 at 08:46:40PM +0200, Ondrej Jirman wrote: > The driver was renamed, change the path in the MAINTAINERS file. > > Signed-off-by: Ondrej Jirman > --- > MAINTAINERS | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/MAINTAINERS b/MAINTAI

[PATCH v6 1/4] dt-bindings: dmaengine: Add MediaTek Command-Queue DMA controller bindings

2020-07-02 Thread EastL Lee
Document the devicetree bindings for MediaTek Command-Queue DMA controller which could be found on MT6779 SoC or other similar Mediatek SoCs. Signed-off-by: EastL Lee --- .../devicetree/bindings/dma/mtk-cqdma.yaml | 113 + 1 file changed, 113 insertions(+) create mod

[PATCH v6] dmaengine: mediatek-cqdma: add dt-bindings and remove redundant queue

2020-07-02 Thread EastL Lee
This patch set adds document the devicetree bindings for MediaTek Command-Queue DMA controller, and remove redundant queue structure. hanges since v5: - fix full name hanges since v4: - fix yaml & dma-mask code flow hanges since v3: - fix dt_binding_check errors Changes since v2: - add devicet

[PATCH v6 4/4] dmaengine: mediatek-cqdma: fix compatible

2020-07-02 Thread EastL Lee
This patch adds mt6779 compatible. Signed-off-by: EastL Lee --- drivers/dma/mediatek/mtk-cqdma.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma/mediatek/mtk-cqdma.c b/drivers/dma/mediatek/mtk-cqdma.c index 1610632..17b3ab9 100644 --- a/drivers/dma/mediatek/mtk-cqdma.c +++ b/driv

[PATCH v6 3/4] dmaengine: mediatek-cqdma: add dma mask for capability

2020-07-02 Thread EastL Lee
This patch add dma mask for capability. Signed-off-by: EastL Lee --- drivers/dma/mediatek/mtk-cqdma.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/dma/mediatek/mtk-cqdma.c b/drivers/dma/mediatek/mtk-cqdma.c index 905bbcb..1610632 100644 --- a/drivers/dma/mediate

[PATCH v2] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Tian Tao
using the new API drmm_kzalloc() instead of devm_kzalloc() v2: keep the DRM include statements sorted alphabetically. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions

Re: [PATCH v16 06/11] pwm: imx27: Use 64-bit division macro and function

2020-07-02 Thread Uwe Kleine-König
Hello, On Tue, Jun 02, 2020 at 03:31:10PM -0700, Guru Das Srinagesh wrote: > Since the PWM framework is switching struct pwm_state.period's > datatype to u64, prepare for this transition by using > DIV_ROUND_UP_ULL to handle a 64-bit dividend, and div64_u64 to handle a > 64-bit divisor. > > Also

Re: UART/TTY console deadlock

2020-07-02 Thread Greg Kroah-Hartman
A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I includ

Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail

2020-07-02 Thread Feng Tang
Hi, On Thu, Jul 02, 2020 at 02:32:01PM +0800, kernel test robot wrote: > Greeting, > > FYI, we noticed the following commit (built with gcc-9): > > commit: 4e2c82a40911c19419349918e675aa202b113b4d ("[PATCH v5 3/3] mm: adjust > vm_committed_as_batch according to vm overcommit policy") > url: >

RE: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-02 Thread Anson Huang
Hi, Arnd > Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock > driver as module > > On Thu, Jul 2, 2020 at 8:40 AM Dong Aisheng wrote: > > On Thu, Jul 2, 2020 at 2:11 PM Anson Huang > wrote: > > > > Subject: Re: [PATCH V4 3/5] clk: imx: Support building i.MX common > > >

Re: [PATCH v4 1/1] mfd: Add I2C based System Configuaration (SYSCON) access

2020-07-02 Thread Lee Jones
On Tue, 30 Jun 2020, Michael Walle wrote: > Hi Lee, > > I'm just trying to use this for my sl28 driver. Some remarks, see below. > > Am 2020-06-22 09:51, schrieb Lee Jones: > > The existing SYSCON implementation only supports MMIO (memory mapped) > > accesses, facilitated by Regmap. This extend

[PATCH] Documentation: kunit: Add naming guidelines

2020-07-02 Thread David Gow
As discussed in [1], KUnit tests have hitherto not had a particularly consistent naming scheme. This adds documentation outlining how tests and test suites should be named, including how those names should be used in Kconfig entries and filenames. [1]: https://lore.kernel.org/linux-kselftest/20200

Re: [PATCH v3 1/7] iommu/vt-d: Enforce PASID devTLB field mask

2020-07-02 Thread Auger Eric
Hi, On 7/1/20 5:33 PM, Jacob Pan wrote: > From: Liu Yi L > > Set proper masks to avoid invalid input spillover to reserved bits. > > Acked-by: Lu Baolu > Signed-off-by: Liu Yi L > Signed-off-by: Jacob Pan > --- > include/linux/intel-iommu.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 d

Re: [PATCH v3 2/7] iommu/vt-d: Remove global page support in devTLB flush

2020-07-02 Thread Auger Eric
Hi Jacob, On 7/1/20 5:33 PM, Jacob Pan wrote: > Global pages support is removed from VT-d spec 3.0 for dev TLB > invalidation. This patch is to remove the bits for vSVA. Similar change > already made for the native SVA. See the link below. > > Link: https://lkml.org/lkml/2019/8/26/651 > Acked-by:

Re: [PATCH v3 3/7] iommu/vt-d: Fix PASID devTLB invalidation

2020-07-02 Thread Auger Eric
Hi Jacob, On 7/1/20 5:33 PM, Jacob Pan wrote: > DevTLB flush can be used for both DMA request with and without PASIDs. > The former uses PASID#0 (RID2PASID), latter uses non-zero PASID for SVA > usage. > > This patch adds a check for PASID value such that devTLB flush with > PASID is used for SVA

Re: [PATCH v4 02/14] irqchip/csky-apb-intc: Fix potential resource leaks

2020-07-02 Thread Markus Elfring
>>> +++ b/drivers/irqchip/irq-csky-apb-intc.c … >> I suggest to recheck the parameter alignment for such a function call. >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?id=7c30b859a947535f2213277e827d7ac7dcff9c84#n93 > > OK, thank

Re: [PATCH v4 02/14] irqchip/csky-apb-intc: Fix potential resource leaks

2020-07-02 Thread Markus Elfring
>>> +++ b/drivers/irqchip/irq-csky-apb-intc.c … >> I suggest to recheck the parameter alignment for such a function call. >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?id=7c30b859a947535f2213277e827d7ac7dcff9c84#n93 > > OK, thank

Re: [PATCH v2] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Thomas Zimmermann
Hi Am 02.07.20 um 09:06 schrieb Tian Tao: > using the new API drmm_kzalloc() instead of devm_kzalloc() > > v2: > keep the DRM include statements sorted alphabetically. > > Signed-off-by: Tian Tao > Reviewed-by: Thomas Zimmermann > --- > drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 18 +++

Re: [PATCH v4 1/1] mfd: Add I2C based System Configuaration (SYSCON) access

2020-07-02 Thread Michael Walle
Am 2020-07-02 09:14, schrieb Lee Jones: On Tue, 30 Jun 2020, Michael Walle wrote: Hi Lee, I'm just trying to use this for my sl28 driver. Some remarks, see below. Am 2020-06-22 09:51, schrieb Lee Jones: > The existing SYSCON implementation only supports MMIO (memory mapped) > accesses, faci

Re: [PATCH v2 1/2] mm/memblock: expose only miminal interface to add/walk physmem

2020-07-02 Thread David Hildenbrand
On 01.07.20 17:31, Heiko Carstens wrote: > On Wed, Jul 01, 2020 at 06:06:43PM +0300, Mike Rapoport wrote: >> Hi David, >> >> On Wed, Jul 01, 2020 at 04:18:29PM +0200, David Hildenbrand wrote: >>> "physmem" in the memblock allocator is somewhat weird: it's not actually >>> used for allocation, it's

Re: [PATCH 18/18] arm64: lto: Strengthen READ_ONCE() to acquire when CLANG_LTO=y

2020-07-02 Thread Will Deacon
On Wed, Jul 01, 2020 at 06:07:25PM +0100, Dave P Martin wrote: > On Tue, Jun 30, 2020 at 06:37:34PM +0100, Will Deacon wrote: > > When building with LTO, there is an increased risk of the compiler > > converting an address dependency headed by a READ_ONCE() invocation > > into a control dependency

Re: [PATCH v3 1/3] mm/shuffle: don't move pages between zones and don't read garbage memmaps

2020-07-02 Thread David Hildenbrand
On 01.07.20 21:33, Sasha Levin wrote: > Hi > > [This is an automated email] > > This commit has been processed because it contains a "Fixes:" tag > fixing commit: e900a918b098 ("mm: shuffle initial free memory to improve > memory-side-cache utilization"). > > The bot has tested the following tr

Re: [RFC PATCH] mfd: add simple regmap based I2C driver

2020-07-02 Thread Lee Jones
On Wed, 01 Jul 2020, Michael Walle wrote: > There are I2C devices which contain several different functions but > doesn't require any special access functions. For these kind of drivers > an I2C regmap should be enough. > > Create an I2C driver which creates an I2C regmap and enumerates its > chi

Re: exfatprogs-1.0.3 version released

2020-07-02 Thread Sedat Dilek
On Thu, Jul 2, 2020 at 6:57 AM Hyunchul Lee wrote: > > Hello Sedat, > > For v1.0.3 and later releases, we can provide tar.xz tarballs, hashes > and detached signatures. > But is there a reason why hashes are required despite the signature? > > We will let you know when it's done. > Hi Hyunchul,

[PATCH 2/2] USB: phy: fsl-usb: remove character device usage

2020-07-02 Thread Greg Kroah-Hartman
No idea why this driver is using a char device node, statically allocated, with no dynamic allocation or hook up with devtmpfs, along with a reserverd major number, for "special" operations, not all of which ever were implemented. So just rip it out, as no one must be using it because no modern sy

[PATCH 1/2] USB: phy: fsl-usb: remove sysfs abuse

2020-07-02 Thread Greg Kroah-Hartman
This file has a HUGE debugging sysfs file that spews out a lot of information all at once, which violates the one-value-per-file rule for sysfs. If this is really needed, it should go into debugfs, but given the age of this driver, I strongly doubt anyone is using it anymore. So just remove the f

Re: [PATCH 17/23] proc: add a read_iter method to proc proc_ops

2020-07-02 Thread Christoph Hellwig
On Thu, Jul 02, 2020 at 07:18:11AM +0200, Christoph Hellwig wrote: > On Wed, Jul 01, 2020 at 10:27:51PM +0100, Al Viro wrote: > > On Wed, Jul 01, 2020 at 10:09:45PM +0200, Christoph Hellwig wrote: > > > This will allow proc files to implement iter read semantics. > > > > *UGH* > > > > You are int

Re: [PATCH net-next 2/4] mvpp2: use page_pool allocator

2020-07-02 Thread ilias . apalodimas
Hi Matteo, Thanks for working on this! On Tue, Jun 30, 2020 at 08:09:28PM +0200, Matteo Croce wrote: > From: Matteo Croce > > Use the page_pool API for memory management. This is a prerequisite for > native XDP support. > > Tested-by: Sven Auhagen > Signed-off-by: Matteo Croce > --- > driv

Re: [PATCH v2 5/7] driver core: Add device location to "struct device" and expose it in sysfs

2020-07-02 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 03:23:23PM +1000, Oliver O'Halloran wrote: > On Thu, Jul 2, 2020 at 4:07 AM Rajat Jain wrote: > > > > *snip* > > > > > > I guess it would make sense to have an attribute for user space to > > > > write to in order to make the kernel reject device plug-in events > > > > comi

Lieber Freund (Assalamu Alaikum),?

2020-07-02 Thread Aisha Gaddafi
-- Lieber Freund (Assalamu Alaikum), Ich bin vor einer privaten Suche auf Ihren E-Mail-Kontakt gestoßen Ihre Hilfe. Mein Name ist Aisha Al-Qaddafi, eine alleinerziehende Mutter und eine Witwe mit drei Kindern. Ich bin die einzige leibliche Tochter des Spätlibyschen Präsident (verstorbener Oberst

RE: [PATCH 7/9] soundwire: intel/cadence: merge Soundwire interrupt handlers/threads

2020-07-02 Thread Liao, Bard
> -Original Message- > From: Vinod Koul > Sent: Wednesday, July 1, 2020 1:42 PM > To: Pierre-Louis Bossart > Cc: Bard Liao ; alsa-de...@alsa-project.org; > ti...@suse.de; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > ranjani.sridha...@linux.intel.com; hui.w...@canonical.com;

Re: [PATCH v2 1/1] Revert "serial: 8250: Fix max baud limit in generic 8250 port"

2020-07-02 Thread Greg Kroah-Hartman
On Wed, Jul 01, 2020 at 02:13:37PM -0700, Daniel Winkler wrote: > This reverts commit 7b668c064ec33f3d687c3a413d05e355172e6c92. > I need a reason _why_ to revert this in the changelog text. Your 0/1 comments would be great to see in here, otherwise I have no idea what is going on when I look at

Re: [git pull] drm for 5.8-rc1

2020-07-02 Thread Daniel Vetter
On Wed, Jul 1, 2020 at 9:45 PM James Jones wrote: > > OK, I think I see what's going on. In the Xorg modesetting driver, the > logic is basically: > > if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) { >drmModeAddFB2WithModifiers(..., gbm_bo_get_modifier(bo->gbm)); > } else { >drmM

Re: [PATCH v2 0/1] Revert "serial: 8250: Fix max baud limit in generic 8250 port"

2020-07-02 Thread Greg Kroah-Hartman
On Thu, Jul 02, 2020 at 01:37:13AM +0300, Serge Semin wrote: > On Wed, Jul 01, 2020 at 02:13:36PM -0700, Daniel Winkler wrote: > > > > This change regresses the QCA6174A-3 bluetooth chip, preventing > > firmware from being properly loaded. Without this change, the > > chip works as intended. > >

Re: [PATCH v2] ARM: dts: exynos: Fix missing empty reg/ranges property regulators on Trats

2020-07-02 Thread Krzysztof Kozlowski
On Thu, Jul 02, 2020 at 08:16:11AM +0200, Krzysztof Kozlowski wrote: > On Tue, Jun 30, 2020 at 08:27:01AM +0200, Marek Szyprowski wrote: > > Hi Krzysztof, > > > > On 29.06.2020 22:59, Krzysztof Kozlowski wrote: > > > Remove the regulators node entirely because its children do not have any > > > un

Re: [for-next][PATCH 8/8] ktest.pl: Add MAIL_MAX_SIZE to limit the amount of log emailed

2020-07-02 Thread Greg KH
On Wed, Jul 01, 2020 at 07:17:25PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > Add the ktest config option MAIL_MAX_SIZE that will limit the size of the > log file that is placed into the email on failure. > > Cc: Greg KH > Signed-off-by: Steven Rostedt (VMware) > --- >

Re: [PATCH v12 00/11] Guest Last Branch Recording Enabling

2020-07-02 Thread Peter Zijlstra
On Sat, Jun 13, 2020 at 04:09:45PM +0800, Like Xu wrote: > Like Xu (10): > perf/x86/core: Refactor hw->idx checks and cleanup > perf/x86/lbr: Add interface to get LBR information > perf/x86: Add constraint to create guest LBR event without hw counter > perf/x86: Keep LBR records unchanged i

Re: [for-next][PATCH 7/8] ktest.pl: Add the log of last test in email on failure

2020-07-02 Thread Greg KH
On Wed, Jul 01, 2020 at 07:17:24PM -0400, Steven Rostedt wrote: > From: "Steven Rostedt (VMware)" > > If a failure happens and an email is sent, show the contents of the log of > the last test that failed in the email. > > Cc: Greg KH > Signed-off-by: Steven Rostedt (VMware) > --- > tools/tes

Re: [PATCH V4 3/5] clk: imx: Support building i.MX common clock driver as module

2020-07-02 Thread Arnd Bergmann
On Thu, Jul 2, 2020 at 9:12 AM Anson Huang wrote: > > > > The question is whether the #ifdef check in the header to test for MODULE > > (only calling it if this particular soc has a built-in clk driver, which is > > sufficient) > > or for IS_MODULE(CONFIG_MXC_CLK) (call it if _any_ clk driver is

答复: [PATCH v2] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread tiantao (H)
Hi: I am sorry for misunderstood you suggests. I will send v3 to fixed this. Best -邮件原件- 发件人: Thomas Zimmermann [mailto:tzimmerm...@suse.de] 发送时间: 2020年7月2日 15:20 收件人: tiantao (H) ; Chenfeng (puck) ; airl...@linux.ie; dan...@ffwll.ch; kra...@redhat.com; alexander.deuc...@amd.com; t...

[PATCH] locking/percpu-rwsem: Remove WQ_FLAG_EXCLUSIVE flags

2020-07-02 Thread qiang.zhang
From: Zqiang Remove WQ_FLAG_EXCLUSIVE from "wq_entry.flags", using function __add_wait_queue_entry_tail_exclusive substitution. Signed-off-by: Zqiang --- kernel/locking/percpu-rwsem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/locking/percpu-rwsem.c b/kernel

Re: [PATCH v7 12/13] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone

2020-07-02 Thread Maxime Ripard
On Wed, Jul 01, 2020 at 06:29:27PM +0200, Ondrej Jirman wrote: > From: Icenowy Zheng > > PinePhone uses PWM backlight and a XBD599 LCD panel over DSI for > display. > > Backlight levels curve was optimized by Martijn Braam using a > lux meter. > > Add its device nodes. > > Signed-off-by: Iceno

[PATCH v8 0/6] drm/meson: add support for Amlogic Video FBC

2020-07-02 Thread Neil Armstrong
Amlogic uses a proprietary lossless image compression protocol and format for their hardware video codec accelerators, either video decoders or video input encoders. It considerably reduces memory bandwidth while writing and reading frames in memory. The underlying storage is considered to be 3 c

[PATCH v8 3/6] drm/meson: overlay: setup overlay for Amlogic FBC

2020-07-02 Thread Neil Armstrong
Setup the Amlogic FBC decoder for the VD1 video overlay plane. The VD1 Amlogic FBC decoder is integrated in the pipeline like the YUV pixel reading/formatter but used a direct memory address instead. This adds support for the basic layout, and needs to calculate the content body size since the he

[PATCH 1/8] powerpc/powernv: must include hvcall.h to get PAPR defines

2020-07-02 Thread Nicholas Piggin
An include goes away in future patches which breaks compilation without this. Signed-off-by: Nicholas Piggin --- arch/powerpc/platforms/powernv/pci-ioda-tce.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/platforms/powernv/pci-ioda-tce.c b/arch/powerpc/platforms/powernv/pci-i

[PATCH v8 6/6] drm/meson: crtc: handle commit of Amlogic FBC frames

2020-07-02 Thread Neil Armstrong
Since the VD1 Amlogic FBC decoder is now configured by the overlay driver, commit the right registers to decode the Amlogic FBC frame. Tested-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_crtc.c | 118 + 1 file changed, 88 insertions(

[PATCH 0/8] powerpc: queued spinlocks and rwlocks

2020-07-02 Thread Nicholas Piggin
This series adds an option to use queued spinlocks for powerpc, and makes it the default for the Book3S-64 subarch. This effort starts with the generic code so it's very simple but still very performant. There are optimisations that can be made to slowpaths, but I think it's better to attack those

[PATCH v8 1/6] drm/fourcc: Add modifier definitions for describing Amlogic Video Framebuffer Compression

2020-07-02 Thread Neil Armstrong
Amlogic uses a proprietary lossless image compression protocol and format for their hardware video codec accelerators, either video decoders or video input encoders. It considerably reduces memory bandwidth while writing and reading frames in memory. The underlying storage is considered to be 3 c

[PATCH 2/8] powerpc/pseries: use smp_rmb() in H_CONFER spin yield

2020-07-02 Thread Nicholas Piggin
There is no need for rmb(), this allows faster lwsync here. Signed-off-by: Nicholas Piggin --- arch/powerpc/lib/locks.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/lib/locks.c b/arch/powerpc/lib/locks.c index 6440d5943c00..47a530de733e 100644 --- a/arch/p

[PATCH v8 5/6] drm/meson: overlay: setup overlay for Amlogic FBC Scatter Memory layout

2020-07-02 Thread Neil Armstrong
Setup the Amlogic FBC decoder for the VD1 video overlay plane to use read the FBC header as Scatter Memory layout reference. Tested-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_overlay.c | 53 ++- 1 file changed, 35 insertions(+), 18 del

[PATCH v8 4/6] drm/meson: overlay: setup overlay for Amlogic FBC Memory Saving mode

2020-07-02 Thread Neil Armstrong
Setup the Amlogic FBC decoder for the VD1 video overlay plane to use a different superblock size for the Memory Saving mode. Tested-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_overlay.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deleti

Re: [PATCH v2] ARM: dts: exynos: Fix missing empty reg/ranges property regulators on Trats

2020-07-02 Thread Marek Szyprowski
On 02.07.2020 09:39, Krzysztof Kozlowski wrote: > On Thu, Jul 02, 2020 at 08:16:11AM +0200, Krzysztof Kozlowski wrote: >> On Tue, Jun 30, 2020 at 08:27:01AM +0200, Marek Szyprowski wrote: >>> On 29.06.2020 22:59, Krzysztof Kozlowski wrote: Remove the regulators node entirely because its childr

[PATCH v8 2/6] drm/meson: add Amlogic Video FBC registers

2020-07-02 Thread Neil Armstrong
Add the registers of the VPU VD1 Amlogic FBC decoder module, and routing register. Tested-by: Kevin Hilman Signed-off-by: Neil Armstrong --- drivers/gpu/drm/meson/meson_registers.h | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/gpu/drm/meson/meson_registers.

[PATCH 3/8] powerpc/pseries: move some PAPR paravirt functions to their own file

2020-07-02 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/paravirt.h | 61 + arch/powerpc/include/asm/spinlock.h | 24 +--- arch/powerpc/lib/locks.c| 12 +++--- 3 files changed, 68 insertions(+), 29 deletions(-) create mode 100644 arch/powerpc/in

[PATCH 5/8] powerpc/64s: implement queued spinlocks and rwlocks

2020-07-02 Thread Nicholas Piggin
These have shown significantly improved performance and fairness when spinlock contention is moderate to high on very large systems. [ Numbers hopefully forthcoming after more testing, but initial results look good ] Thanks to the fast path, single threaded performance is not noticably hurt.

[PATCH 8/8] powerpc/64s: remove paravirt from simple spinlocks (RFC only)

2020-07-02 Thread Nicholas Piggin
RFC until we settle on queued spinlocks for 64s and remove the option to go back to simple locks. If other sub-archs want to keep simple spinlocks, the code can be nicely simplified. --- arch/powerpc/include/asm/simple_spinlock.h | 61 +--- arch/powerpc/kvm/book3s_hv_rm_mmu.c

Re: [PATCH v5 2/2] arm64: dts: meson-khadas-vim3: add Khadas MCU nodes

2020-07-02 Thread Neil Armstrong
Hi Kevin, Can you apply this patch ? the rest of the serie has been pulled into Lee's tree. Thanks, Neil On 24/06/2020 18:15, Neil Armstrong wrote: > Add the Khadas MCU node with active FAN thermal nodes for all the > Khadas VIM3 variants. > > Signed-off-by: Neil Armstrong > Reviewed-by: Amit

[PATCH 7/8] powerpc/qspinlock: optimised atomic_try_cmpxchg_lock that adds the lock hint

2020-07-02 Thread Nicholas Piggin
This brings the behaviour of the uncontended fast path back to roughly equivalent to simple spinlocks -- a single atomic op with lock hint. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/atomic.h| 28 arch/powerpc/include/asm/qspinlock.h | 2 +- 2 f

[PATCH 6/8] powerpc/pseries: implement paravirt qspinlocks for SPLPAR

2020-07-02 Thread Nicholas Piggin
Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/paravirt.h | 23 arch/powerpc/include/asm/qspinlock.h | 55 +++ arch/powerpc/include/asm/qspinlock_paravirt.h | 5 ++ arch/powerpc/platforms/pseries/Kconfig| 5 ++ arch/powerpc/platfo

[PATCH 4/8] powerpc: move spinlock implementation to simple_spinlock

2020-07-02 Thread Nicholas Piggin
To prepare for queued spinlocks. This is a simple rename except to update preprocessor guard name and a file reference. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/simple_spinlock.h| 292 ++ .../include/asm/simple_spinlock_types.h | 21 ++ arch/powerpc/

Re: [PATCH 2/2] arm64: Allocate crashkernel always in ZONE_DMA

2020-07-02 Thread Will Deacon
On Thu, Jul 02, 2020 at 03:44:20AM +0530, Bhupesh Sharma wrote: > commit bff3b04460a8 ("arm64: mm: reserve CMA and crashkernel in > ZONE_DMA32") allocates crashkernel for arm64 in the ZONE_DMA32. > > However as reported by Prabhakar, this breaks kdump kernel booting in > ThunderX2 like arm64 syste

[RFC PATCH] proc: add support detach proccess's autogroup

2020-07-02 Thread Weiping Zhang
Since setid will create a autogroup for that process, there is no way to detach a process from that autogroup, this patch add a new interface to detach a process from its autogroup. You can write anything to /proc//autogroup_detach to do that. Signed-off-by: Weiping Zhang --- fs/proc/base.c | 50

Re: [PATCH v3 4/7] iommu/vt-d: Handle non-page aligned address

2020-07-02 Thread Auger Eric
Hi Jacob, On 7/1/20 5:33 PM, Jacob Pan wrote: > From: Liu Yi L > > Address information for device TLB invalidation comes from userspace > when device is directly assigned to a guest with vIOMMU support. > VT-d requires page aligned address. This patch checks and enforce > address to be page alig

Re: [PATCH 2/5] hwrng: nomadik - Constify nmk_rng_ids[]

2020-07-02 Thread Arnd Bergmann
On Wed, Jul 1, 2020 at 11:48 PM Rikard Falkeborn wrote: > > nmk_rng_ids[] is not modified and can be made const to allow the > compiler to put it in read-only memory. > > Before: >textdata bss dec hex filename > 652 216 4 872 368 drivers/char/hw_random/nom

[PATCH v3] drm/hisilicon: Use drmm_kzalloc() instead of devm_kzalloc()

2020-07-02 Thread Tian Tao
using the new API drmm_kzalloc() instead of devm_kzalloc() v3: still fixed include statements sorted alphabetically. v2: keep the DRM include statements sorted alphabetically. Signed-off-by: Tian Tao Reviewed-by: Thomas Zimmermann --- drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c | 3 ++- 1

RE: Writing to a const pointer: is this supposed to happen?

2020-07-02 Thread David Laight
From: Kars Mulder > Sent: 02 July 2020 00:03 > On Saturday, June 27, 2020 12:24 CEST, David Laight wrote: > > The code quoted (using strset()) is almost certainly wrong. > > The caller is unlikely to expect the input be modified. > > Since it doesn't fault the string must be in read-write memory. >

Re: [PATCH v2] 9p: retrieve fid from file when file instance exist.

2020-07-02 Thread Dominique Martinet
Jianyong Wu wrote on Thu, Jul 02, 2020: > Yeah, should check fid before "v9fs_fid_lookup", how about > > if (iattr->ia_valid & ATTR_FILE) { > fid = iattr->ia_file->private_data; > WARN_ON(!fid); > } > If (!fid) > fid = v9fs_fid_lookup(dentry); Yes, that would be f

Re: [git pull] drm for 5.8-rc1

2020-07-02 Thread Pekka Paalanen
On Wed, 1 Jul 2020 12:45:48 -0700 James Jones wrote: > OK, I think I see what's going on. In the Xorg modesetting driver, the > logic is basically: > > if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) { >drmModeAddFB2WithModifiers(..., gbm_bo_get_modifier(bo->gbm)); > } else { >

Re: [PATCH 5/8] powerpc/64s: implement queued spinlocks and rwlocks

2020-07-02 Thread Will Deacon
On Thu, Jul 02, 2020 at 05:48:36PM +1000, Nicholas Piggin wrote: > diff --git a/arch/powerpc/include/asm/qspinlock.h > b/arch/powerpc/include/asm/qspinlock.h > new file mode 100644 > index ..f84da77b6bb7 > --- /dev/null > +++ b/arch/powerpc/include/asm/qspinlock.h > @@ -0,0 +1,20 @@ >

Re: objtool clac/stac handling change..

2020-07-02 Thread Peter Zijlstra
On Wed, Jul 01, 2020 at 07:00:41PM -0500, Josh Poimboeuf wrote: > On Wed, Jul 01, 2020 at 02:02:42PM -0700, Linus Torvalds wrote: > > So the objtool rule might be: > > > > - in a STAC region, no exception handlers at all except for that > > ex_handler_uaccess case > > > > - and that case will c

Re: [PATCH v4 02/14] irqchip/csky-apb-intc: Fix potential resource leaks

2020-07-02 Thread Tiezhu Yang
On 07/02/2020 03:19 PM, Markus Elfring wrote: +++ b/drivers/irqchip/irq-csky-apb-intc.c … I suggest to recheck the parameter alignment for such a function call. https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/coding-style.rst?id=7c30b859a947535f2213

Re: [PATCH net-next 3/4] mvpp2: add basic XDP support

2020-07-02 Thread ilias . apalodimas
On Tue, Jun 30, 2020 at 08:09:29PM +0200, Matteo Croce wrote: > From: Matteo Croce > > Add XDP native support. > By now only XDP_DROP, XDP_PASS and XDP_REDIRECT > verdicts are supported. > > Co-developed-by: Sven Auhagen > Signed-off-by: Sven Auhagen > Signed-off-by: Matteo Croce > --- [...]

[PATCH net-next v3 2/3] bridge: mrp: Add br_mrp_fill_info

2020-07-02 Thread Horatiu Vultur
Add the function br_mrp_fill_info which populates the MRP attributes regarding the status of each MRP instance. Signed-off-by: Horatiu Vultur --- net/bridge/br_mrp_netlink.c | 64 + net/bridge/br_private.h | 7 2 files changed, 71 insertions(+) diff

[PATCH net-next v3 0/3] bridge: mrp: Add support for getting the status

2020-07-02 Thread Horatiu Vultur
This patch series extends the MRP netlink interface to allow the userspace daemon to get the status of the MRP instances in the kernel. v3: - remove misleading comment - fix to use correctly the RCU v2: - fix sparse warnings Horatiu Vultur (3): bridge: uapi: mrp: Extend MRP attributes to

[PATCH net-next v3 1/3] bridge: uapi: mrp: Extend MRP attributes to get the status

2020-07-02 Thread Horatiu Vultur
Add MRP attribute IFLA_BRIDGE_MRP_INFO to allow the userspace to get the current state of the MRP instances. This is a nested attribute that contains other attributes like, ring id, index of primary and secondary port, priority, ring state, ring role. Signed-off-by: Horatiu Vultur --- include/ua

[PATCH net-next v3 3/3] bridge: Extend br_fill_ifinfo to return MPR status

2020-07-02 Thread Horatiu Vultur
This patch extends the function br_fill_ifinfo to return also the MRP status for each instance on a bridge. It also adds a new filter RTEXT_FILTER_MRP to return the MRP status only when this is set, not to interfer with the vlans. The MRP status is return only on the bridge interfaces. Signed-off-

Re: [RFC PATCH] proc: add support detach proccess's autogroup

2020-07-02 Thread Peter Zijlstra
On Thu, Jul 02, 2020 at 01:20:43PM +0800, Weiping Zhang wrote: > Since setid will create a autogroup for that process, there is no > way to detach a process from that autogroup, this patch add a new interface > to detach a process from its autogroup. You can write anything to > /proc//autogroup_det

[PATCH v8 1/2] arm64: dts: sun50i-a64-pinephone: Enable LCD support on PinePhone

2020-07-02 Thread Ondrej Jirman
From: Icenowy Zheng PinePhone uses PWM backlight and a XBD599 LCD panel over DSI for display. Backlight levels curve was optimized by Martijn Braam using a lux meter. Add its device nodes. Signed-off-by: Icenowy Zheng Signed-off-by: Martijn Braam Signed-off-by: Ondrej Jirman Acked-by: Linus

[PATCH v8 2/2] arm64: dts: sun50i-a64-pinephone: Add touchscreen support

2020-07-02 Thread Ondrej Jirman
Pinephone has a Goodix GT917S capacitive touchscreen controller on I2C0 bus. Add support for it. Signed-off-by: Ondrej Jirman Acked-by: Linus Walleij --- .../dts/allwinner/sun50i-a64-pinephone.dtsi | 19 +++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/al

[PATCH v8 0/2] Add support for PinePhone LCD panel

2020-07-02 Thread Ondrej Jirman
This patchset adds support for the LCD panel of PinePhone. I've tested this on PinePhone 1.0 and 1.2. Please take a look. thank you and regards, Ondrej Jirman Changes in v8: - Drop goodix,gt911 fallback compatible (Icenowy) - Drop address/size-cells from &dsi node (Maxime) - Drop already appl

Re: [PATCH v4 1/1] mfd: Add I2C based System Configuaration (SYSCON) access

2020-07-02 Thread Lee Jones
On Thu, 02 Jul 2020, Michael Walle wrote: > Am 2020-07-02 08:54, schrieb Lee Jones: > > On Wed, 01 Jul 2020, Michael Walle wrote: > > > > > Am 2020-07-01 09:04, schrieb Lee Jones: > > > > On Wed, 01 Jul 2020, Michael Walle wrote: > > > > > > > > > Hi Lee, > > > > > > > > > > Am 2020-06-30 11:16,

Re: [PATCH v2 0/4] Remove 32-bit Xen PV guest support

2020-07-02 Thread Peter Zijlstra
On Wed, Jul 01, 2020 at 01:06:46PM +0200, Juergen Gross wrote: > The long term plan has been to replace Xen PV guests by PVH. The first > victim of that plan are now 32-bit PV guests, as those are used only > rather seldom these days. Xen on x86 requires 64-bit support and with > Grub2 now supporti

[PATCH rdma-next 0/6] Cleanup mlx5_ib main file

2020-07-02 Thread Leon Romanovsky
From: Leon Romanovsky Over the years, the main.c file grew above all imagination and was >8K LOC of the code. This caused to a huge burden while I started to work on ib_flow allocation patches. This series implements long standing "internal" wish to move flow logic from the main to separate file

Re: [PATCH v2] vmlinux.lds: add PGO and AutoFDO input sections

2020-07-02 Thread Arnd Bergmann
On Wed, Jul 1, 2020 at 11:54 PM 'Nick Desaulniers' via Clang Built Linux wrote: > > Hi Arnd, > I usually wait longer to bump threads for review, but we have a > holiday in the US so we're off tomorrow and Friday. > scripts/get_maintainer.pl recommend you for this patch. Would you > take a look at

Re: UART/TTY console deadlock

2020-07-02 Thread Andy Shevchenko
On Thu, Jul 02, 2020 at 02:40:33PM +0900, Sergey Senozhatsky wrote: > On (20/07/02 14:12), Sergey Senozhatsky wrote: > > From: Sergey Senozhatsky > > On (20/06/30 11:02), Tony Lindgren wrote: ... > > I think we can do it. serial8250_do_startup() and irq handler take > > port->lock, so they shoul

Re: [PATCH 00/22] add support for Clang LTO

2020-07-02 Thread Peter Zijlstra
On Wed, Jul 01, 2020 at 09:03:38AM -0700, Paul E. McKenney wrote: > But it looks like we are going to have to tell the compiler. What does the current proposal look like? I can certainly annotate the seqcount latch users, but who knows what other code is out there

[RFC PATCH 00/22] Enhance VHOST to enable SoC-to-SoC communication

2020-07-02 Thread Kishon Vijay Abraham I
This series enhances Linux Vhost support to enable SoC-to-SoC communication over MMIO. This series enables rpmsg communication between two SoCs using both PCIe RC<->EP and HOST1-NTB-HOST2 1) Modify vhost to use standard Linux driver model 2) Add support in vring to access virtqueue over MMIO 3) Ad

[RFC PATCH 03/22] vhost: Add ops for the VHOST driver to configure VHOST device

2020-07-02 Thread Kishon Vijay Abraham I
Add "vhost_config_ops" in *struct vhost_driver* for the VHOST driver to configure VHOST device and add facility for VHOST device to notify VHOST driver (whenever VIRTIO sets a new status or finalize features). This is in preparation to use the same vhost_driver across different VHOST devices (like

[RFC PATCH 04/22] vringh: Add helpers to access vring in MMIO

2020-07-02 Thread Kishon Vijay Abraham I
Add helpers to access vring in memory mapped IO. This would require using IO accessors to access vring and the addresses populated by virtio driver (in the descriptor) should be directly given to the vhost client driver. Even if the vhost runs in 32 bit system, it can access 64 bit address provided

[RFC PATCH 05/22] vhost: Add MMIO helpers for operations on vhost virtqueue

2020-07-02 Thread Kishon Vijay Abraham I
Add helpers for VHOST drivers to read descriptor data from vhost_virtqueue for IN transfers or write descriptor data to vhost_virtqueue for OUT transfers respectively. Also add helpers to enable callback, disable callback and notify remote virtio for events on virtqueue. This adds helpers only for

[RFC PATCH 06/22] vhost: Introduce configfs entry for configuring VHOST

2020-07-02 Thread Kishon Vijay Abraham I
Create a configfs entry for each entry populated in "struct vhost_device_id" in the VHOST driver and create a configfs entry for each VHOST device. This is used to link VHOST driver to VHOST device (by assigning deviceID and vendorID to the VHOST device) and register VHOST device, thereby letting V

[RFC PATCH 09/22] rpmsg: Introduce configfs entry for configuring rpmsg

2020-07-02 Thread Kishon Vijay Abraham I
Create a configfs entry for each "struct rpmsg_device_id" populated in rpmsg client driver and create a configfs entry for each rpmsg device. This will be used to bind a rpmsg client driver to a rpmsg device in order to create a new rpmsg channel. This is used for creating channel for VHOST based

Re: [git pull] drm for 5.8-rc1

2020-07-02 Thread Daniel Stone
Hi, On Wed, 1 Jul 2020 at 20:45, James Jones wrote: > OK, I think I see what's going on. In the Xorg modesetting driver, the > logic is basically: > > if (gbm_has_modifiers && DRM_CAP_ADDFB2_MODIFIERS != 0) { >drmModeAddFB2WithModifiers(..., gbm_bo_get_modifier(bo->gbm)); > } else { >drm

[RFC PATCH 07/22] virtio_pci: Use request_threaded_irq() instead of request_irq()

2020-07-02 Thread Kishon Vijay Abraham I
Some of the virtio drivers (like virtio_rpmsg_bus.c) use sleeping functions like mutex_*() in the virtqueue callback. Use request_threaded_irq() instead of request_irq() in order for the virtqueue callbacks to be executed in thread context instead of interrupt context. Signed-off-by: Kishon Vijay

[RFC PATCH 02/22] vhost: Introduce standard Linux driver model in VHOST

2020-07-02 Thread Kishon Vijay Abraham I
Introduce standard driver model in VHOST. This will facilitate using multiple VHOST drivers (like net, scsi etc.,) over different VHOST devices using MMIO (like PCIe or NTB), using kernel pointers (like platform devices) or using userspace pointers. Signed-off-by: Kishon Vijay Abraham I --- driv

[RFC PATCH 10/22] rpmsg: virtio_rpmsg_bus: Add Address Service Notification support

2020-07-02 Thread Kishon Vijay Abraham I
Add support to send address service notification message to the backend rpmsg device. This informs the backend rpmsg device about the address allocated to the channel that is created in response to the name service announce message from backend rpmsg device. This is in preparation to add backend rp

[RFC PATCH 11/22] rpmsg: virtio_rpmsg_bus: Move generic rpmsg structure to rpmsg_internal.h

2020-07-02 Thread Kishon Vijay Abraham I
No functional change intended. Move generic rpmsg structures like "struct rpmsg_hdr", "struct rpmsg_ns_msg" and "struct rpmsg_as_msg", its associated flags and generic macros to rpmsg_internal.h. This is in preparation to add VHOST based vhost_rpmsg_bus.c which will use the same structures and macr

  1   2   3   4   5   6   7   8   9   10   >