Re: [RFC-PATCH 2/4] mm: Add __rcu_alloc_page_lockless() func.

2020-10-02 Thread Peter Zijlstra
On Fri, Oct 02, 2020 at 09:50:14AM +0100, Mel Gorman wrote: > On Fri, Oct 02, 2020 at 09:11:23AM +0200, Michal Hocko wrote: > > > +#define ___GFP_NO_LOCKS0x80u > > > > Even if a new gfp flag gains a sufficient traction and support I am > > _strongly_ opposed against consuming

Re: [PATCH v3 10/13] ASoC: tegra: Add audio graph based card driver

2020-10-02 Thread Sameer Pujar
Add Tegra audio machine driver which is based on generic audio graph card driver. It re-uses most of the common stuff from audio graph driver and uses the same DT binding. Required Tegra specific customizations are done in the driver. (snip) +static const struct snd_soc_ops tegra_audio_graph_

RE: [PATCH] usb: cdns3: platform_get_irq_byname_optional instead platform_get_irq_byname

2020-10-02 Thread Pawel Laszczak
Roger, > >On 30/09/2020 09:57, Pawel Laszczak wrote: >> To avoid duplicate error information patch replaces platform_get_irq_byname >> into platform_get_irq_byname_optional. > >What is duplicate error information? The function platform_get_irq_byname print: " dev_err(&dev->dev, "IRQ %s not found\

Internal error: Oops: __traceiter_rcu_dyntick and rcu_nmi_enter

2020-10-02 Thread Naresh Kamboju
While running LTP tracing the following kernel warning was noticed on qemu_arm running linux next 20201001 kernel. I have not bisected this problem yet. Reported-by: Naresh Kamboju steps to reproduce: # boot qemu arm with linux next 20201001 tag kernel and this command line /usr/bin/qemu-system

RE: [PATCH v2 1/2] system_data_types.7: Add 'void *'

2020-10-02 Thread David Laight
From: Alejandro Colomar > Sent: 02 October 2020 09:25 > > For 'void *' you should also mention that one cannot use arithmetic on > > void * pointers, so they're special in that way too. > > Good suggestion! Except that is a gcc extension that is allowed in the kernel. > > Also, you should >

Re: Info

2020-10-02 Thread Mrs. Frau Kiran
I'm Mrs.Frau Kiran, an indian, philanthropist and art collector. I bring to you a Beneficial CharityProposal to assist me with. If interested!, respond back. I will be more detailed on proposal in my next email to you. Best Regards Mrs.Frau Kiran

Re: [PATCH v2 12/12] arm64: dts: mediatek: Add mt8183 power domains controller

2020-10-02 Thread Matthias Brugger
On 01/10/2020 18:01, Enric Balletbo i Serra wrote: From: Matthias Brugger Add power domains controller node for SoC mt8183 Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra --- Changes in v2: None arch/arm64/boot/dts/mediatek/mt8183.dtsi | 162 +

Re: [PATCH v6 5/7] ARM: dts: Fix schema warnings for pwm-leds

2020-10-02 Thread Krzysztof Kozlowski
On Thu, 1 Oct 2020 at 01:53, Alexander Dahl wrote: > > The node names for devices using the pwm-leds driver follow a certain > naming scheme (now). > > Signed-off-by: Alexander Dahl > --- > > Notes: > v6: > * added this patch to series > > arch/arm/boot/dts/at91-kizbox.dts

Re: [PATCH] tee: optee: replace might_sleep with cond_resched

2020-10-02 Thread Lucas Stach
On Fr, 2020-09-25 at 08:59 +0200, Jens Wiklander wrote: > On Fri, Sep 18, 2020 at 7:45 PM Rouven Czerwinski > wrote: > > On Kernels with CONFIG_PREEMPT_NONE might_sleep() is not enough to force > > rescheduling, replace it with a resched check and cond_resched. Fixes > > the following stall: > >

Re: [PATCH 1/2] mmap locking API: Order lock of nascent mm outside lock of live mm

2020-10-02 Thread Michel Lespinasse
On Thu, Oct 1, 2020 at 6:25 PM Jann Horn wrote: > Until now, the mmap lock of the nascent mm was ordered inside the mmap lock > of the old mm (in dup_mmap() and in UML's activate_mm()). > A following patch will change the exec path to very broadly lock the > nascent mm, but fine-grained locking sh

[rcu:rcu/next] BUILD SUCCESS ea5c19d21233b5e8d3d06c0d4ecd6be9f2829dc3

2020-10-02 Thread kernel test robot
-a004-20201002 x86_64 randconfig-a001-20201002 x86_64 randconfig-a002-20201002 x86_64 randconfig-a005-20201002 x86_64 randconfig-a003-20201002 x86_64 randconfig-a006-20201002 i386 randconfig-a003-20200930 i386

[rcu:urezki-pcount] BUILD SUCCESS dd976fbf8c705ca5cfcb00438f4a4f818e98fb43

2020-10-02 Thread kernel test robot
onfig-a004-20201002 x86_64 randconfig-a001-20201002 x86_64 randconfig-a002-20201002 x86_64 randconfig-a005-20201002 x86_64 randconfig-a003-20201002 x86_64 randconfig-a006-20201002 i386 randconfig-a003-202

[rcu:rcu/fix-rt] BUILD SUCCESS 849b9c5446ccb0c98c7b11c69f169d22777ab31b

2020-10-02 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/fix-rt branch HEAD: 849b9c5446ccb0c98c7b11c69f169d22777ab31b kvfree_rcu(): Fix ifnullfree.cocci warnings elapsed time: 723m configs tested: 130 configs skipped: 3 The following configs have been built suc

Re: [PATCH] arm64: dts: mediatek: Add smi_common node for MT8183

2020-10-02 Thread Matthias Brugger
On 01/10/2020 18:28, Enric Balletbo i Serra wrote: The SMI (Smart Multimedia Interface) Common is a bridge between the m4u (Multimedia Memory Management Unit) and the Multimedia HW. This block is needed to support different multimedia features, like display, video decode, and camera. Also is n

Re: [PATCH v6 3/7] dt-bindings: mfd: Fix schema warnings for pwm-leds

2020-10-02 Thread Krzysztof Kozlowski
On Thu, 1 Oct 2020 at 01:51, Alexander Dahl wrote: > > The node names for devices using the pwm-leds driver follow a certain > naming scheme (now). What warning? Please post them here and in every DTS patch. Your schema does not enforce pwmleds node naming (the main node, not children), or at le

Re: [PATCH v6 6/7] arm64: dts: meson: Fix schema warnings for pwm-leds

2020-10-02 Thread Neil Armstrong
On 01/10/2020 01:46, Alexander Dahl wrote: > The node names for devices using the pwm-leds driver follow a certain > naming scheme (now). > > Signed-off-by: Alexander Dahl > --- > > Notes: > v6: > * added this patch to series > > .../arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.

Re: [PATCH v2 07/12] soc: mediatek: pm-domains: Add extra sram control

2020-10-02 Thread Matthias Brugger
On 01/10/2020 18:01, Enric Balletbo i Serra wrote: From: Matthias Brugger For some power domains like vpu_core on MT8183 whose sram need to do clock and internal isolation while power on/off sram. We add a cap "MTK_SCPD_SRAM_ISO" to judge if we need to do the extra sram isolation control or

Re: [PATCH] ALSA: usb-audio: fix spelling mistake "Frequence" -> "Frequency"

2020-10-02 Thread Jaroslav Kysela
Dne 26. 11. 18 v 9:27 Takashi Iwai napsal(a): > On Mon, 26 Nov 2018 00:12:08 +0100, > Colin King wrote: >> >> From: Colin Ian King >> >> There are spelling mistakes in equalizer name fields, fix them. >> >> Signed-off-by: Colin Ian King > > In general, it's not good to rename the control names e

Re: Why ping latency is smaller with shorter send interval?

2020-10-02 Thread Eric Dumazet
On 10/2/20 10:51 AM, 叶小龙 wrote: > Hi, net experts, > > Hope this is the right place to ask the question :) > > Recently I've tried to measure the network latency between two > machines by using ping, one interesting observation I found is that > ping latency will be smaller if I use a shorter

Re: [PATCH] ALSA: usb-audio: fix spelling mistake "Frequence" -> "Frequency"

2020-10-02 Thread Takashi Iwai
On Fri, 02 Oct 2020 11:18:46 +0200, Jaroslav Kysela wrote: > > Dne 26. 11. 18 v 9:27 Takashi Iwai napsal(a): > > On Mon, 26 Nov 2018 00:12:08 +0100, > > Colin King wrote: > >> > >> From: Colin Ian King > >> > >> There are spelling mistakes in equalizer name fields, fix them. > >> > >> Signed-off-

Re: [PATCH v6 5/7] ARM: dts: Fix schema warnings for pwm-leds

2020-10-02 Thread Alexander Dahl
Hello Krzysztof, Am Freitag, 2. Oktober 2020, 11:12:50 CEST schrieb Krzysztof Kozlowski: > On Thu, 1 Oct 2020 at 01:53, Alexander Dahl wrote: > > The node names for devices using the pwm-leds driver follow a certain > > naming scheme (now). > > > > Signed-off-by: Alexander Dahl > > --- > > > >

Re: [v5,2/4] dt-binding: mediatek: mt8192: update mtk-wdt document

2020-10-02 Thread Matthias Brugger
On 29/09/2020 05:20, Crystal Guo wrote: update mtk-wdt document for MT8192 platform Signed-off-by: Crystal Guo Reviewed-by: Matthias Brugger Reviewed-by: Guenter Roeck You added Guenters Reviewed-by in v4 of this series, but I don't see that on Guenter provided this tag. In the future p

Re: [PATCH] PCI: dwc: Added link up check in map_bus of dw_child_pcie_ops

2020-10-02 Thread Naresh Kamboju
On Thu, 1 Oct 2020 at 22:16, Michael Walle wrote: > > Am 2020-10-01 15:32, schrieb Kishon Vijay Abraham I: > > > Meanwhile would it be okay to add linkup check atleast for DRA7X so > > that > > we could have it booting in linux-next? > > Layerscape SoCs (at least the LS1028A) are also still broken

Re: [PATCH v6 2/7] dt-bindings: leds: Convert pwm to yaml

2020-10-02 Thread Krzysztof Kozlowski
On Thu, 1 Oct 2020 at 01:52, Alexander Dahl wrote: > > The example was adapted in the following ways: > > - make use of the now supported 'function' and 'color' properties > - remove pwm nodes, those are documented elsewhere > - tweake node names to be matched by new dtschema rules tweak? or alig

[GIT PULL] late GPIO fixes for v5.9

2020-10-02 Thread Linus Walleij
Hi Linus, here is a batch of GPIO fixes for the v5.9 series. I'm not entirely happy with myself over this, it is too much and too late. New bugs kept popping up, in hindsight I should have sent smaller installments, earlier of course. I blame stuff like stress and weltschmertz and trying to grok

Re: [RFC PATCH 0/4] Add a RPMsg driver to support AI Processing Unit (APU)

2020-10-02 Thread Daniel Vetter
On Thu, Oct 01, 2020 at 07:28:27PM +0200, Alexandre Bailon wrote: > Hi Daniel, > > On 10/1/20 10:48 AM, Daniel Vetter wrote: > > On Wed, Sep 30, 2020 at 01:53:46PM +0200, Alexandre Bailon wrote: > > > This adds a RPMsg driver that implements communication between the CPU > > > and an > > > APU. >

[gustavoars-linux:testing/hid-hyperv] BUILD SUCCESS 63f90c49db5f2766f8856c0cd3bcbe7aa7a13b91

2020-10-02 Thread kernel test robot
i386 randconfig-a015-20200930 i386 randconfig-a012-20200930 i386 randconfig-a014-20200930 i386 randconfig-a016-20200930 i386 randconfig-a013-20200930 i386 randconfig-a014-20201002 i386

[gustavoars-linux:testing/block/scsi_ioctl] BUILD SUCCESS dda6248343d5c5502dfb754555c8d1892a469e5c

2020-10-02 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/block/scsi_ioctl branch HEAD: dda6248343d5c5502dfb754555c8d1892a469e5c block: scsi_ioctl: Avoid the use of one-element arrays elapsed time: 725m configs tested: 124 configs skipped: 3 The following con

[PATCH] system_data_types.7: void *: Add info about generic function parameters and return value

2020-10-02 Thread Alejandro Colomar
Reported-by: Paul Eggert Reported-by: David Laight Signed-off-by: Alejandro Colomar --- Paul and David, Thanks for your input! Alex man7/system_data_types.7 | 16 1 file changed, 16 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index aab64e

Re: [RFC-PATCH 2/4] mm: Add __rcu_alloc_page_lockless() func.

2020-10-02 Thread Mel Gorman
On Fri, Oct 02, 2020 at 11:07:29AM +0200, Peter Zijlstra wrote: > On Fri, Oct 02, 2020 at 09:50:14AM +0100, Mel Gorman wrote: > > On Fri, Oct 02, 2020 at 09:11:23AM +0200, Michal Hocko wrote: > > > > > +#define ___GFP_NO_LOCKS0x80u > > > > > > Even if a new gfp flag gains a su

[PATCH 2/2] system_data_types.7: void *: Add info about pointer artihmetic

2020-10-02 Thread Alejandro Colomar
Reported-by: Paul Eggert Reported-by: David Laight Signed-off-by: Alejandro Colomar --- Paul and David, Thanks for your input! Alex man7/system_data_types.7 | 11 +++ 1 file changed, 11 insertions(+) diff --git a/man7/system_data_types.7 b/man7/system_data_types.7 index 6451782db..

Re: [PATCH 2/2] system_data_types.7: void *: Add info about pointer artihmetic

2020-10-02 Thread Alejandro Colomar
Hi Michael, The 2/2 is a typo. This is a standalone patch. Cheers, Alex On 2020-10-02 11:44, Alejandro Colomar wrote: Reported-by: Paul Eggert Reported-by: David Laight Signed-off-by: Alejandro Colomar --- Paul and David, Thanks for your input! Alex man7/system_data_types.7 | 11 +++

Re: [PATCH v15 10/15] mtd: spi-nor: core: enable octal DTR mode when possible

2020-10-02 Thread Tudor.Ambarus
On 10/1/20 11:20 PM, Pratyush Yadav wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > Allow flashes to specify a hook to enable octal DTR mode. Use this hook > whenever possible to get optimal transfer speeds. > > Signed-off-by: Pratyush Ya

Re: [v5,0/4] watchdog: mt8192: add wdt support

2020-10-02 Thread Matthias Brugger
On 01/10/2020 17:16, Guenter Roeck wrote: On Thu, Oct 01, 2020 at 04:23:02PM +0200, Matthias Brugger wrote: Hi Crystal, It seems you forgot to send the email to one of the maintainers, Wim. Please make sure you add all the maintainers from get_maintainers.pl when you send a series. Regards,

Re: [PATCH] MIPS: remove the obsolete RM7000 extended interrupts handler

2020-10-02 Thread Thomas Bogendoerfer
On Thu, Oct 01, 2020 at 12:10:57AM +0100, Maciej W. Rozycki wrote: > On Wed, 30 Sep 2020, Thomas Bogendoerfer wrote: > > > > > not yet;-) I have an RM7000 based system in my basement... I'm also > > > > not sure, if R7k O2s need that. > > > > > > One of the more exotic Malta daughtercards used t

[GIT PULL]: Generic PHY updates for v5.10

2020-10-02 Thread Vinod Koul
Hello Greg, Please pull to receive updates for Generic phy susbsystem. Bunch of new drivers and device support and a new core API this time. The following changes since commit ad7a7acaedcf45071c822b6c983f9c1e084041c9: phy: omap-usb2-phy: disable PHY charger detect (2020-08-31 14:30:59 +0530)

[PATCH v2 1/3] arm64: wrap and generalise counter read functions

2020-10-02 Thread Ionela Voinescu
In preparation for other uses of Activity Monitors (AMU) cycle counters, place counter read functionality in generic functions that can reused: read_corecnt() and read_constcnt(). As a result, implement update_freq_counters_refs() to replace init_cpu_freq_invariance_counters() and both initialise

[PATCH v2 0/3] arm64: cppc: add FFH support using AMUs

2020-10-02 Thread Ionela Voinescu
This series adds support for CPPC's delivered and reference performance counters through the FFH methods by using the AMU equivalent core and constant cycle counters. This support is added in patch 3/3, while the first 2 patches generalise the existing AMU counter read and validation functionality

[PATCH v2 2/3] arm64: split counter validation function

2020-10-02 Thread Ionela Voinescu
In order for the counter validation function to be reused, split validate_cpu_freq_invariance_counters() into: - freq_counters_valid(cpu) - check cpu for valid cycle counters - freq_inv_set_max_ratio(int cpu, u64 max_rate, u64 ref_rate) - generic function that sets the normalization ratio used

[PATCH v2 3/3] arm64: implement CPPC FFH support using AMUs

2020-10-02 Thread Ionela Voinescu
If Activity Monitors (AMUs) are present, two of the counters can be used to implement support for CPPC's (Collaborative Processor Performance Control) delivered and reference performance monitoring functionality using FFH (Functional Fixed Hardware). Given that counters for a certain CPU can only

Re: Why ping latency is smaller with shorter send interval?

2020-10-02 Thread Willy Tarreau
On Fri, Oct 02, 2020 at 11:26:00AM +0200, Eric Dumazet wrote: > 2) Idle cpus can be put in a power conserving state. > It takes time to exit from these states, as you noticed. > These delays can typically be around 50 usec, or more. This is often the case in my experience. I'm even used to sta

Re: [PATCH net-next 0/8] net: ethernet: ti: am65-cpsw: add multi port support in mac-only mode

2020-10-02 Thread Grygorii Strashko
On 02/10/2020 02:08, Jakub Kicinski wrote: On Thu, 1 Oct 2020 13:52:50 +0300 Grygorii Strashko wrote: This series adds multi-port support in mac-only mode (multi MAC mode) to TI AM65x CPSW driver in preparation for enabling support for multi-port devices, like Main CPSW0 on K3 J721E SoC or fu

linux-next: Tree for Oct 2

2020-10-02 Thread Stephen Rothwell
Hi all, News: there will be no linux-next release on Monday. Changes since 20201001: The vfs tree still had its build failure. The hwmon-staging tree lost its build failure. The net-next tree still had its build failure and gained a conflict against the net tree. The drm tree gained a conflic

Re: [RFC-PATCH 2/4] mm: Add __rcu_alloc_page_lockless() func.

2020-10-02 Thread Peter Zijlstra
On Fri, Oct 02, 2020 at 10:45:02AM +0100, Mel Gorman wrote: > On Fri, Oct 02, 2020 at 11:07:29AM +0200, Peter Zijlstra wrote: > > On Fri, Oct 02, 2020 at 09:50:14AM +0100, Mel Gorman wrote: > > > On Fri, Oct 02, 2020 at 09:11:23AM +0200, Michal Hocko wrote: > > > > > > > +#define ___GFP_NO_LOCKS

RE: How to use an ACPI declared GPIO in a userspace ...

2020-10-02 Thread Flavio Suligoi
Hi Andy, sorry for the delay! > > > My SSDT table is: > > > > See the difference? I can't help here. This is the DSDT table related to the GPIO controller of my board: Device (GPO1) { Name (_ADR, Zero) // _ADR: Address Name (_HID, "INT3452") // _HID: Hardw

Re: [PATCH v4 4/4] mm: convert page kmemcg type to a page memcg flag

2020-10-02 Thread Michal Koutný
On Thu, Oct 01, 2020 at 01:27:13PM -0400, Johannes Weiner wrote: > The activation code is the only path where page migration is not > excluded. Because unlike with page state statistics, we don't really > mind a race when counting an activation event. Thanks for the explanation. I see why the acc

FYI: PoC: Running 100000 processes in 5.3.18 (SLES15 SP2)

2020-10-02 Thread Ulrich Windl
Hi! Just in case someone is interested: As a Proof-of-Concept I started 100 thousand processes on a big machine (72 cores). It worked! However starting those too more than 30 minutes, and top needs more than 30 minutes to refresh ist display. Still, interactive input via SSH works nice, but any

Re: lockdep null-ptr-deref

2020-10-02 Thread Peter Zijlstra
On Wed, Sep 30, 2020 at 11:49:37AM +0200, Peter Zijlstra wrote: > On Wed, Sep 30, 2020 at 11:16:11AM +0200, Peter Zijlstra wrote: > > On Wed, Sep 30, 2020 at 07:08:23AM +0800, Boqun Feng wrote: > > > I think there are two problems here: > > > > > > 1) the "(null)" means we don't have the "usage_st

Re: [PATCH] usb: cdns3: platform_get_irq_byname_optional instead platform_get_irq_byname

2020-10-02 Thread Roger Quadros
Pawel, On 02/10/2020 12:08, Pawel Laszczak wrote: Roger, On 30/09/2020 09:57, Pawel Laszczak wrote: To avoid duplicate error information patch replaces platform_get_irq_byname into platform_get_irq_byname_optional. What is duplicate error information? The function platform_get_irq_byname

Re: [PATCH v6 5/7] ARM: dts: Fix schema warnings for pwm-leds

2020-10-02 Thread Krzysztof Kozlowski
On Fri, 2 Oct 2020 at 11:28, Alexander Dahl wrote: > > Hello Krzysztof, > > Am Freitag, 2. Oktober 2020, 11:12:50 CEST schrieb Krzysztof Kozlowski: > > On Thu, 1 Oct 2020 at 01:53, Alexander Dahl wrote: > > > The node names for devices using the pwm-leds driver follow a certain > > > naming schem

Re: [PATCH bpf-next v2 2/4] selftests: bpf: Add helper to compare socket cookies

2020-10-02 Thread Lorenz Bauer
On Thu, 1 Oct 2020 at 18:11, Alexei Starovoitov wrote: > > > > I think this might be the same problem I fixed for libbpf with [0]. > > Turns out, GCC explicitly calls out (somewhere in their docs) that > > uninitialized variable warnings work only when compiled in optimized > > mode, because some

Re: [PATCH v6 3/7] dt-bindings: mfd: Fix schema warnings for pwm-leds

2020-10-02 Thread Alexander Dahl
Hello Krzysztof, Am Freitag, 2. Oktober 2020, 11:21:10 CEST schrieb Krzysztof Kozlowski: > On Thu, 1 Oct 2020 at 01:51, Alexander Dahl wrote: > > The node names for devices using the pwm-leds driver follow a certain > > naming scheme (now). > > What warning? Please post them here and in every DT

Re: [PATCH] RISC-V: Make sure memblock reserves the memory containing DT

2020-10-02 Thread Anup Patel
On Fri, Oct 2, 2020 at 12:35 AM Atish Patra wrote: > > Currently, the memory containing DT is not reserved. Thus, that region > of memory can be reallocated or reused for other purposes. This may result > in corrupted DT for nommu virt board in Qemu. We may not face any issue > in kendryte as DT

Re: [PATCH v6 3/7] dt-bindings: mfd: Fix schema warnings for pwm-leds

2020-10-02 Thread Krzysztof Kozlowski
On Fri, 2 Oct 2020 at 12:07, Alexander Dahl wrote: > > Hello Krzysztof, > > Am Freitag, 2. Oktober 2020, 11:21:10 CEST schrieb Krzysztof Kozlowski: > > On Thu, 1 Oct 2020 at 01:51, Alexander Dahl wrote: > > > The node names for devices using the pwm-leds driver follow a certain > > > naming schem

Re: [PATCH v3] RISC-V: Remove any memblock representing unusable memory area

2020-10-02 Thread Anup Patel
On Fri, Oct 2, 2020 at 12:36 AM Atish Patra wrote: > > RISC-V limits the physical memory size by -PAGE_OFFSET. Any memory beyond > that size from DRAM start is unusable. Just remove any memblock pointing > to those memory region without worrying about computing the maximum size. > > Signed-off-by:

Re: [PATCH v2 RESEND 2/9] spi: spi-s3s64xx: Add S3C64XX_SPI_QUIRK_CS_AUTO for Exynos3250

2020-10-02 Thread Lukasz Stelmach
It was <2020-10-01 czw 21:04>, when Krzysztof Kozlowski wrote: > On Thu, Oct 01, 2020 at 05:21:41PM +0200, Łukasz Stelmach wrote: >> Fix issues with DMA transfers bigger than 512 bytes on Exynos3250. Without >> the patches such transfers fail. >> >> The vendor kernel for ARTIK5 handles CS in a sim

[PATCH][next] media: zoran: fix spelling mistake and make error message more meaningful

2020-10-02 Thread Colin King
From: Colin Ian King There is a spelling mistake in a pci_err error message. Fix this and make the error message a little more meaningful. Signed-off-by: Colin Ian King --- drivers/staging/media/zoran/zoran_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/st

Re: linux-next: manual merge of the akpm tree with the drm-intel tree

2020-10-02 Thread Joonas Lahtinen
Quoting Daniel Vetter (2020-10-01 18:13:26) > On Thu, Oct 1, 2020 at 5:08 PM Jani Nikula > wrote: > > > > On Thu, 01 Oct 2020, Daniel Vetter wrote: > > > On Thu, Oct 1, 2020 at 3:53 PM Christoph Hellwig wrote: > > >> > > >> On Thu, Oct 01, 2020 at 08:39:17PM +1000, Stephen Rothwell wrote: > > >

Re: [PATCH v3 02/21] spi: dw: Add DWC SSI capability

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 02, 2020 at 01:28:10AM +0300, Serge Semin wrote: > Currently DWC SSI core is supported by means of setting up the > core-specific update_cr0() callback. It isn't suitable for multiple > reasons. First of all having exported several methods doing the same thing > but for different chips

Re: [PATCH 1/3] i2c: imx: Fix reset of I2SR_IAL flag

2020-10-02 Thread Uwe Kleine-König
Hello Christian, On Fri, Oct 02, 2020 at 10:01:30AM +0200, Christian Eggers wrote: > On Friday, 25 September 2020, 10:11:01 CEST, Uwe Kleine-König wrote: > > On Thu, Sep 17, 2020 at 04:13:50PM +0200, Christian Eggers wrote: > > IMHO the intention here (and also what happens on i.MX) is that exactl

Re: [PATCH v3 03/21] spi: dw: Detach SPI device specific CR0 config method

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 02, 2020 at 01:28:11AM +0300, Serge Semin wrote: > Indeed there is no point in detecting the SPI peripheral device parameters > and initializing the CR0 register fields each time an SPI transfer is > executed. Instead let's define a dedicated CR0 chip-data member, which > will be initia

RE: [PATCH v2 2/3] firmware: Keem Bay: Add support for Arm Trusted Firmware Service call

2020-10-02 Thread Zulkifli, Muhammad Husaini
Hi Sudeep, >-Original Message- >From: Michal Simek >Sent: Friday, October 2, 2020 4:23 PM >To: Sudeep Holla ; Zulkifli, Muhammad Husaini > >Cc: Hunter, Adrian ; michal.si...@xilinx.com; >ulf.hans...@linaro.org; linux-...@vger.kernel.org; linux-arm- >ker...@lists.infradead.org; linux-kerne

Re: [Linux-kernel-mentees][PATCH v2] bluetooth: hci_h5: close serdev device and free hu in h5_close

2020-10-02 Thread Hans de Goede
Hi, On 10/1/20 9:43 PM, Anant Thazhemadam wrote: When h5_close() gets called, the memory allocated for the hu gets freed only if hu->serdev doesn't exist. This leads to a memory leak. So when h5_close() is requested, close the serdev device instance and free the memory allocated to the hu entire

Re: [PATCH v3 00/21] spi: dw: Add full Baikal-T1 SPI Controllers support

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 02, 2020 at 01:28:08AM +0300, Serge Semin wrote: > Originally I intended to merge a dedicated Baikal-T1 System Boot SPI > Controller driver into the kernel and leave the DW APB SSI driver > untouched. But after a long discussion (see the link at the bottom of the > letter) Mark and Andy

RE: How to use an ACPI declared GPIO in a userspace ...

2020-10-02 Thread Flavio Suligoi
Hi Andy, with my custom SSDT table: DefinitionBlock ("gpio_button.aml", "SSDT", 5, "ASEMsp", "GPIO_BTN", 1) { External (_SB_.GPO1, DeviceObj) Scope (\_SB.GPO1) { Device (BTNS) { Name (_HID, "ASEM0005") // _HID

[tip: x86/core] x86/dumpstack: Fix misleading instruction pointer error message

2020-10-02 Thread tip-bot2 for Mark Mossberg
The following commit has been merged into the x86/core branch of tip: Commit-ID: 238c91115cd05c71447ea071624a4c9fe661f970 Gitweb: https://git.kernel.org/tip/238c91115cd05c71447ea071624a4c9fe661f970 Author:Mark Mossberg AuthorDate:Fri, 02 Oct 2020 04:29:16 Committer: B

Re: [RFC-PATCH 2/4] mm: Add __rcu_alloc_page_lockless() func.

2020-10-02 Thread Mel Gorman
On Fri, Oct 02, 2020 at 11:58:58AM +0200, Peter Zijlstra wrote: > > It's enabled by default by enough distros that adding too many checks > > is potentially painful. Granted it would be missed by most benchmarking > > which tend to control allocations from userspace but a lot of performance > > pro

[PATCH] media: rcar-vin: rcar-dma: Fix setting VNIS_REG for RAW8 formats

2020-10-02 Thread Lad Prabhakar
pixelformat in vin priv structure holds V4L2_PIX_FMT_* and not MEDIA_BUS_FMT_* so make sure we check against V4L2_PIX_FMT_* formats while setting the VNIS_REG. Fixes: 8c3e0f67df6c9 ("media: rcar-vin: Extend RAW8 support to all RGB layouts") Signed-off-by: Lad Prabhakar Reviewed-by: Biju Das ---

Re: OpRegion conflicts for Skylake LPSS

2020-10-02 Thread Andy Shevchenko
On Fri, Oct 02, 2020 at 01:10:23AM +0300, Laurent Pinchart wrote: > Hi Mika, > > Reviving an old thread. Very old :-) > On Mon, May 02, 2016 at 01:35:01PM +0300, Mika Westerberg wrote: > > On Sun, May 01, 2016 at 12:47:58AM +0200, Ben Gamari wrote: > > > Mika Westerberg writes: > > > > On Fri,

[RFC] Status of orinoco_usb

2020-10-02 Thread Sebastian Andrzej Siewior
I was trying to get rid of the in in_softirq() in ezusb_req_ctx_wait() within the orinoco usb driver, drivers/net/wireless/intersil/orinoco/orinoco_usb.c. A small snippet: | static void ezusb_req_ctx_wait(struct ezusb_priv *upriv, |struct request_context *ctx) … |

Re: [PATCH v2 08/12] ARM: dts: imx6dl-pico: fix board compatibles

2020-10-02 Thread Krzysztof Kozlowski
On Fri, Oct 02, 2020 at 10:41:19AM +0200, Marco Felsch wrote: > Hi, > > sorry for jumping in. > > On 20-10-02 10:20, Krzysztof Kozlowski wrote: > > On Fri, Oct 02, 2020 at 09:41:28AM +0200, Ahmad Fatoum wrote: > > > Hello, > > > > > > On 10/1/20 12:37 PM, Krzysztof Kozlowski wrote: > > > >> The

Re: [PATCH v6 2/7] dt-bindings: leds: Convert pwm to yaml

2020-10-02 Thread Alexander Dahl
Hei hei, Am Freitag, 2. Oktober 2020, 11:31:09 CEST schrieb Krzysztof Kozlowski: > On Thu, 1 Oct 2020 at 01:52, Alexander Dahl wrote: > > The example was adapted in the following ways: > > > > - make use of the now supported 'function' and 'color' properties > > - remove pwm nodes, those are doc

Re: [net-next PATCH v1 3/7] net: phy: Introduce fwnode_get_phy_id()

2020-10-02 Thread Grant Likely
On 01/10/2020 05:00, Calvin Johnson wrote: On Wed, Sep 30, 2020 at 08:19:02PM +0200, Andrew Lunn wrote: On Wed, Sep 30, 2020 at 07:07:25PM +0100, Russell King - ARM Linux admin wrote: On Wed, Sep 30, 2020 at 06:34:40PM +0200, Andrew Lunn wrote: @@ -2866,7 +2888,15 @@ EXPORT_SYMBOL_GPL(devic

Re: [PATCH v2 1/2] system_data_types.7: Add 'void *'

2020-10-02 Thread Jonathan Wakely
On Fri, 2 Oct 2020 at 09:28, Alejandro Colomar via Gcc wrote: > However, it might be good that someone starts a page called > 'type_qualifiers(7)' or something like that. Who is this for? Who is trying to learn C from man pages? Should somebody stop them?

Re: [PATCH v2 0/3] drm: commit_work scheduling

2020-10-02 Thread Ville Syrjälä
On Thu, Oct 01, 2020 at 05:25:55PM +0200, Daniel Vetter wrote: > On Thu, Oct 1, 2020 at 5:15 PM Rob Clark wrote: > > > > On Thu, Oct 1, 2020 at 12:25 AM Daniel Vetter wrote: > > > > > > On Wed, Sep 30, 2020 at 11:16 PM Rob Clark wrote: > > > > > > > > From: Rob Clark > > > > > > > > The android

Re: [PATCH v6 2/7] dt-bindings: leds: Convert pwm to yaml

2020-10-02 Thread Krzysztof Kozlowski
On Fri, 2 Oct 2020 at 12:46, Alexander Dahl wrote: > > Hei hei, > > Am Freitag, 2. Oktober 2020, 11:31:09 CEST schrieb Krzysztof Kozlowski: > > On Thu, 1 Oct 2020 at 01:52, Alexander Dahl wrote: > > > The example was adapted in the following ways: > > > > > > - make use of the now supported 'func

Re: [Linux-kernel-mentees][PATCH v2] bluetooth: hci_h5: close serdev device and free hu in h5_close

2020-10-02 Thread Anant Thazhemadam
On 02/10/20 3:52 pm, Hans de Goede wrote: > Hi, > > On 10/1/20 9:43 PM, Anant Thazhemadam wrote: >> When h5_close() gets called, the memory allocated for the hu gets >> freed only if hu->serdev doesn't exist. This leads to a memory leak. >> So when h5_close() is requested, close the serdev device i

Re: [PATCH v2] drivers/perf: Add support for ARMv8.3-SPE

2020-10-02 Thread Will Deacon
On Wed, Sep 30, 2020 at 05:31:35PM +0800, Wei Li wrote: > Armv8.3 extends the SPE by adding: > - Alignment field in the Events packet, and filtering on this event > using PMSEVFR_EL1. > - Support for the Scalable Vector Extension (SVE). > > The main additions for SVE are: > - Recording the vecto

Re: [PATCH v3 01/24] dt-bindings: iommu: mediatek: Convert IOMMU to DT schema

2020-10-02 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 03:06:24PM +0800, Yong Wu wrote: > Convert MediaTek IOMMU to DT schema. > > Signed-off-by: Yong Wu > --- > .../bindings/iommu/mediatek,iommu.txt | 103 > .../bindings/iommu/mediatek,iommu.yaml| 154 ++ > 2 files changed, 154 in

Re: [PATCH v2 2/3] firmware: Keem Bay: Add support for Arm Trusted Firmware Service call

2020-10-02 Thread Sudeep Holla
Hi Michal, On Fri, Oct 02, 2020 at 10:23:02AM +0200, Michal Simek wrote: > Hi Sudeep, > > On 01. 10. 20 17:35, Sudeep Holla wrote: [...] > > > > What are the other uses of this KEEMBAY_SIP_* ? > > For now I tend to move this to the driver making use of it using > > arm_smccc_1_1_invoke directl

Re: [PATCH v2 2/3] firmware: Keem Bay: Add support for Arm Trusted Firmware Service call

2020-10-02 Thread Sudeep Holla
On Fri, Oct 02, 2020 at 10:22:46AM +, Zulkifli, Muhammad Husaini wrote: > Hi Sudeep, > > >-Original Message- > >From: Michal Simek > >Sent: Friday, October 2, 2020 4:23 PM > >To: Sudeep Holla ; Zulkifli, Muhammad Husaini > > > >Cc: Hunter, Adrian ; michal.si...@xilinx.com; > >ulf.hans

Re: [PATCH v2 0/3] drm: commit_work scheduling

2020-10-02 Thread Qais Yousef
On 09/30/20 14:17, Rob Clark wrote: > From: Rob Clark > > The android userspace treats the display pipeline as a realtime problem. > And arguably, if your goal is to not miss frame deadlines (ie. vblank), > it is. (See https://lwn.net/Articles/809545/ for the best explaination > that I found.) >

Re: [PATCH] perf/x86/intel: Fix n_metric for the canceled group

2020-10-02 Thread Peter Zijlstra
On Wed, Sep 30, 2020 at 07:29:35AM -0700, kan.li...@linux.intel.com wrote: > From: Kan Liang > > When a group that has TopDown members is failed to be scheduled, any > later TopDown groups will not return valid values. > > Here is an example. > > A background perf that occupies all the GP count

Re: [PATCH 7/7] TC-ETF support PTP clocks

2020-10-02 Thread Geva, Erez
On 02/10/2020 02:33, Thomas Gleixner wrote: > On Thu, Oct 01 2020 at 22:51, Erez Geva wrote: > >>- Add support for using a POSIX dynamic clock with >> Traffic control Earliest TxTime First (ETF) Qdisc. > > > >> --- a/include/uapi/linux/net_tstamp.h >> +++ b/include/uapi/linux/net_ts

Re: [PATCH v3 02/24] dt-bindings: memory: mediatek: Convert SMI to DT schema

2020-10-02 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 03:06:25PM +0800, Yong Wu wrote: > Convert MediaTek SMI to DT schema. > > Signed-off-by: Yong Wu > --- > .../mediatek,smi-common.txt | 49 - > .../mediatek,smi-common.yaml | 100 ++ > .../memory-controllers/media

Re: [PATCH v2 0/3] drm: commit_work scheduling

2020-10-02 Thread Ville Syrjälä
On Fri, Oct 02, 2020 at 01:52:56PM +0300, Ville Syrjälä wrote: > On Thu, Oct 01, 2020 at 05:25:55PM +0200, Daniel Vetter wrote: > > On Thu, Oct 1, 2020 at 5:15 PM Rob Clark wrote: > > > > > > On Thu, Oct 1, 2020 at 12:25 AM Daniel Vetter wrote: > > > > > > > > On Wed, Sep 30, 2020 at 11:16 PM Rob

Re: [net-next PATCH v1 3/7] net: phy: Introduce fwnode_get_phy_id()

2020-10-02 Thread Grant Likely
On 30/09/2020 17:04, Calvin Johnson wrote: Extract phy_id from compatible string. This will be used by fwnode_mdiobus_register_phy() to create phy device using the phy_id. Signed-off-by: Calvin Johnson --- drivers/net/phy/phy_device.c | 32 +++- include/linux/

Re: [PATCH v3 01/24] dt-bindings: iommu: mediatek: Convert IOMMU to DT schema

2020-10-02 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 03:06:24PM +0800, Yong Wu wrote: > Convert MediaTek IOMMU to DT schema. > > Signed-off-by: Yong Wu > --- > .../bindings/iommu/mediatek,iommu.txt | 103 > .../bindings/iommu/mediatek,iommu.yaml| 154 ++ > 2 files changed, 154 in

Re: [PATCH v3 02/24] dt-bindings: memory: mediatek: Convert SMI to DT schema

2020-10-02 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 03:06:25PM +0800, Yong Wu wrote: > Convert MediaTek SMI to DT schema. > > Signed-off-by: Yong Wu > --- > .../mediatek,smi-common.txt | 49 - > .../mediatek,smi-common.yaml | 100 ++ > .../memory-controllers/media

Re: [PATCH v3 seccomp 2/5] seccomp/cache: Add "emulator" to check if filter is constant allow

2020-10-02 Thread YiFei Zhu
On Thu, Oct 1, 2020 at 4:05 PM Kees Cook wrote: > Right, but we depend on that test always doing the correct thing (and > continuing to do so into the future). I'm looking at this from the > perspective of future changes, maintenance, etc. I want the actions to > match the design principles as clo

Re: [PATCH v3 2/9] media: vimc: Add get_frame callback

2020-10-02 Thread Dafna Hirschfeld
Hi, Am 20.08.20 um 17:36 schrieb Kieran Bingham: Hi Kaaira, On 19/08/2020 19:04, Kaaira Gupta wrote: In the process of making vimc compatible for multiple streams, we need to create a frame passing process such that two different entities can get the frame from a common entity. This isn't poss

Re: [net-next PATCH v1 1/7] Documentation: ACPI: DSD: Document MDIO PHY

2020-10-02 Thread Grant Likely
On 30/09/2020 17:37, Rafael J. Wysocki wrote: On Wed, Sep 30, 2020 at 6:05 PM Calvin Johnson wrote: Introduce ACPI mechanism to get PHYs registered on a MDIO bus and provide them to be connected to MAC. Describe properties "phy-handle" and "phy-mode". Signed-off-by: Calvin Johnson ---

Re: [PATCH v3 06/24] dt-bindings: mediatek: Add binding for mt8192 IOMMU

2020-10-02 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 03:06:29PM +0800, Yong Wu wrote: > This patch adds decriptions for mt8192 IOMMU and SMI. > > mt8192 also is MTK IOMMU gen2 which uses ARM Short-Descriptor translation > table format. The M4U-SMI HW diagram is as below: > > EMI >

[PATCH v2] mm: Optional full ASLR for mmap() and mremap()

2020-10-02 Thread Topi Miettinen
Writing a new value of 3 to /proc/sys/kernel/randomize_va_space enables full randomization of memory mappings created with mmap(NULL, ...). With 2, the base of the VMA used for such mappings is random, but the mappings are created in predictable places within the VMA and in sequential order. With 3

Re: [PATCH v3 02/18] iommu/vt-d: Add DEV-MSI support

2020-10-02 Thread Thomas Gleixner
On Thu, Oct 01 2020 at 16:26, Megha Dey wrote: > On 9/30/2020 11:32 AM, Thomas Gleixner wrote: >> diff --git a/drivers/iommu/intel/irq_remapping.c >> b/drivers/iommu/intel/irq_remapping.c >> index 8f4ce72570ce..0c1ea8ceec31 100644 >> --- a/drivers/iommu/intel/irq_remapping.c >> +++ b/drivers/iommu

Re: [PATCH v3 3/9] media: vimc: Add usage count to subdevices

2020-10-02 Thread Dafna Hirschfeld
Am 19.08.20 um 20:04 schrieb Kaaira Gupta: From: Niklas Söderlund Prepare for multiple video streams from the same sensor by adding a use counter to vimc_ent_device. The counter is increased for every s_stream(1) and decremented for every s_stream(0) call. The subdevice stream is not starte

Re: [PATCH v3] pinctrl: mediatek: Free eint data on failure

2020-10-02 Thread Sean Wang
On Thu, Oct 1, 2020 at 7:25 AM Enric Balletbo i Serra wrote: > > The pinctrl driver can work without the EINT resource, but, if it is > expected to have this resource but the mtk_build_eint() function fails > after allocating their data (because can't get the resource or can't map > the irq), the

Re: [PATCH] reset: Add reset controller API

2020-10-02 Thread Philipp Zabel
Hi Amjad, Thank you for the patch, comments below: On Thu, 2020-10-01 at 15:55 +0200, Amjad Ouled-Ameur wrote: > An update on the patch title, since we don't add an API but extend it, > The title should rather be: Add a new call to the reset framework I think it should even say what functionalit

Re: [PATCH v3 24/24] memory: mtk-smi: Add mt8192 support

2020-10-02 Thread Krzysztof Kozlowski
On Wed, Sep 30, 2020 at 03:06:47PM +0800, Yong Wu wrote: > Add mt8192 smi support. > > Signed-off-by: Yong Wu > --- > drivers/memory/mtk-smi.c | 19 +++ > 1 file changed, 19 insertions(+) Does it depend on any of the previous patches (so can it be applied independently)? Best r

Re: [net-next PATCH v1 6/7] net: dpaa2-mac: Add ACPI support for DPAA2 MAC driver

2020-10-02 Thread Grant Likely
On 30/09/2020 17:04, Calvin Johnson wrote: Modify dpaa2_mac_connect() to support ACPI along with DT. Modify dpaa2_mac_get_node() to get the dpmac fwnode from either DT or ACPI. Replace of_get_phy_mode with fwnode_get_phy_mode to get phy-mode for a dpmac_node. Use helper function phylink_fwno

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