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

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

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

[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

[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

[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

[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)

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

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.

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

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

[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

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

[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

[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

[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

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.

[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

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

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

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

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: [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. > >> > >>

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

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

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

[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

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

[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/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

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

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 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 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: 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 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 >

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

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, "IRQ %s not found\n",

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

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 1/4] of/fdt: Update zone_dma_bits when running in bcm2711

2020-10-02 Thread kernel test robot
git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Nicolas-Saenz-Julienne/arm64-Default-to-32-bit-wide-ZONE_DMA/20201002-002007 base

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

2020-10-02 Thread Michal Hocko
On Fri 02-10-20 09:50:14, Mel Gorman wrote: > On Fri, Oct 02, 2020 at 09:11:23AM +0200, Michal Hocko wrote: > > On Thu 01-10-20 21:26:26, Uladzislau Rezki wrote: > > > > > > > > No, I meant going back to idea of new gfp flag, but adjust the > > > > implementation in > > > > the allocator

Re: [WARNING] kernel/rcu/tree.c:1058 rcu_irq_enter+0x15/0x20

2020-10-02 Thread Peter Zijlstra
On Wed, Sep 30, 2020 at 03:52:22PM -0400, Steven Rostedt wrote: > On Wed, 30 Sep 2020 21:22:42 +0200 > Peter Zijlstra wrote: > > > On Wed, Sep 30, 2020 at 03:10:26PM -0400, Steven Rostedt wrote: > > > On Wed, 30 Sep 2020 20:13:23 +0200 > > > Peter Zijlstra wrote: > > > > > > > diff --git

Re: [PATCH v2 08/12] soc: mediatek: pm-domains: Add subsystem clocks

2020-10-02 Thread Matthias Brugger
On 01/10/2020 18:01, Enric Balletbo i Serra wrote: From: Matthias Brugger For the bus protection operations, some subsystem clocks need to be enabled before releasing the protection. This patch identifies the subsystem clocks by it's name. Suggested-by: Weiyi Lu [Adapted the patch to the

Re: [PATCH v2 00/29] [Set 1,2,3] Rid W=1 warnings in Wireless

2020-10-02 Thread Lee Jones
On Thu, 10 Sep 2020, Lee Jones wrote: > This is a rebased/re-worked set of patches which have been > previously posted to the mailing list(s). > > This set is part of a larger effort attempting to clean-up W=1 > kernel builds, which are currently overwhelmingly riddled with > niggly little

Re: [PATCH 4/6] docs: i2c: index.rst: add slave-testunit-backend.rst

2020-10-02 Thread Mauro Carvalho Chehab
Em Fri, 2 Oct 2020 09:54:04 +0200 Wolfram Sang escreveu: > Hi Mauro, > > > index 8a2ad3845191..9b8df313902c 100644 > > --- a/Documentation/i2c/index.rst > > +++ b/Documentation/i2c/index.rst > > @@ -38,6 +38,7 @@ Debugging > > > > gpio-fault-injection > > i2c-stub > > +

Re: [PATCH v3 07/13] ASoC: audio-graph: Update driver as per new exposed members

2020-10-02 Thread Sameer Pujar
As per the members exposed earlier in the series, audio graph driver is updated to make use of these. Functionally there is no change in behavior if these are not populated. So following changes are made as part of this. - Update 'dai_link->ops' for DPCM links if a custom 'snd_soc_ops'

Re: [PATCH 1/2] perf stat: Fix segfault when counting armv8_pmu events

2020-10-02 Thread Jiri Olsa
On Thu, Sep 24, 2020 at 11:36:23PM +0900, Namhyung Kim wrote: > On Wed, Sep 23, 2020 at 10:19:00PM +0200, Jiri Olsa wrote: > > On Wed, Sep 23, 2020 at 11:15:06PM +0900, Namhyung Kim wrote: > > > I think the problem is that armv8_pmu has a cpumask, > > > and the user requested per-task events. > >

Re: [PATCH v3 06/13] ASoC: simple-card-utils: Expose new members for asoc_simple_priv

2020-10-02 Thread Sameer Pujar
diff --git a/include/sound/simple_card_utils.h b/include/sound/simple_card_utils.h index 86a1e95..9825308 100644 --- a/include/sound/simple_card_utils.h +++ b/include/sound/simple_card_utils.h @@ -56,6 +56,10 @@ struct asoc_simple_priv { struct asoc_simple_dai *dais; struct

Re: [PATCH v2 06/12] soc: mediatek: pm-domains: Add SMI block as bus protection block

2020-10-02 Thread Matthias Brugger
On 01/10/2020 18:01, Enric Balletbo i Serra wrote: From: Matthias Brugger Apart from the infracfg block, the SMI block is used to enable the bus protection for some power domains. Add support for this block. Signed-off-by: Matthias Brugger Signed-off-by: Enric Balletbo i Serra ---

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

2020-10-02 Thread Roger Quadros
Pawel, 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? A change was suggested during reviewing CDNSP driver by Chunfeng Yun. Signed-off-by:

[PATCH v3] PCI: hv: Fix hibernation in case interrupts are not re-created

2020-10-02 Thread Dexuan Cui
pci_restore_msi_state() directly writes the MSI/MSI-X related registers via MMIO. On a physical machine, this works perfectly; for a Linux VM running on a hypervisor, which typically enables IOMMU interrupt remapping, the hypervisor usually should trap and emulate the MMIO accesses in order to

Re: Linux 5.9-rc7 / VmallocTotal wrongly reported

2020-10-02 Thread Vlastimil Babka
On 10/1/20 10:39 PM, Roman Gushchin wrote: > On Thu, Oct 01, 2020 at 12:58:36PM -0700, Linus Torvalds wrote: >> On Thu, Oct 1, 2020 at 12:56 PM Roman Gushchin wrote: >> > >> > Bastian, can you, please, share your config? >> >> Bastian actually did that in the original email, but that was only >>

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

2020-10-02 Thread Sameer Pujar
+/* Setup PLL clock as per the given sample rate */ +static int tegra_audio_graph_update_pll(struct snd_pcm_substream *substream, +struct snd_pcm_hw_params *params) +{ +struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); +struct

Re: [PATCH v3 01/13] ASoC: soc-core: Fix component name_prefix parsing

2020-10-02 Thread Sameer Pujar
The "prefix" can be defined in DAI link node or it can be specified as part of the component node itself. Currently "sound-name-prefix" defined in a component is not taking effect. Actually the property is not getting parsed. It can be fixed by parsing "sound-name-prefix" property whenever

Why ping latency is smaller with shorter send interval?

2020-10-02 Thread 叶小龙
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 interval with -i option. For example, when I

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

2020-10-02 Thread Mel Gorman
On Fri, Oct 02, 2020 at 09:11:23AM +0200, Michal Hocko wrote: > On Thu 01-10-20 21:26:26, Uladzislau Rezki wrote: > > > > > > No, I meant going back to idea of new gfp flag, but adjust the > > > implementation in > > > the allocator (different from what you posted in previous version) so > > >

Re: [PATCH v3 2/3] dmaengine: add peripheral configuration

2020-10-02 Thread Peter Ujfalusi
Hi Vinod, On 01/10/2020 14.23, Vinod Koul wrote: > Hi Peter, > > On 29-09-20, 11:06, Peter Ujfalusi wrote: > >>> + * @spi: peripheral config for spi >>> + * @i2c: peripheral config for i2c >>> + */ >>> +struct dmaengine_peripheral_config { >>> + enum dmaengine_peripheral peripheral; >>> +

Error: invalid switch -me200

2020-10-02 Thread kernel test robot
compilation date: 2 months ago config: powerpc64-randconfig-r022-20201002 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project bcd05599d0e53977a963799d6ee4f6e0bc21331b) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests

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

2020-10-02 Thread Alejandro Colomar
Hi Michael, On 2020-10-02 10:24, Alejandro Colomar wrote: On 2020-10-01 19:32, Paul Eggert wrote: > For 'void *' you should also mention that one cannot use arithmetic on > void * pointers, so they're special in that way too. Good suggestion! > Also, you should > warn that because one can

Re: [drm/i915/gt] 98479ada42: phoronix-test-suite.supertuxkart.1024x768.Windowed.Basic.1.OldMine.frames_per_second -36.0% regression

2020-10-02 Thread Chris Wilson
Quoting kernel test robot (2020-10-02 09:27:40) > Greeting, > > FYI, we noticed a -36.0% regression of > phoronix-test-suite.supertuxkart.1024x768.Windowed.Basic.1.OldMine.frames_per_second > due to commit: Where's the power consumption graph? You have a benchmark that although is running

Re: [PATCH net-next 4/4] net: dsa: Utilize __vlan_find_dev_deep_rcu()

2020-10-02 Thread Vladimir Oltean
On Thu, Oct 01, 2020 at 07:42:15PM -0700, Florian Fainelli wrote: > Now that we are guaranteed that dsa_untag_bridge_pvid() is called after > eth_type_trans() we can utilize __vlan_find_dev_deep_rcu() which will > take care of finding an 802.1Q upper on top of a bridge master. > > A common use

[PATCH v2 0/2] selftests/vm: fix up executable bits, and a file name

2020-10-02 Thread John Hubbard
Hi, Here's v2. I can't use $(CONFIG_SHELL) from the Makefile, because unfortunately this is not kbuild. So this is my proposed fix for these two glitches. (Actually, the "Fixes:" tags in each refer to linux-next commits, so those commit hashes would ultimately need changing. But I suspect these

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

2020-10-02 Thread Marco Felsch
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 existing binding doesn't cover these boards then and needs to be > > >> extended,

Re: [RFC PATCH 1/1] vmscan: Support multiple kswapd threads per node

2020-10-02 Thread Mel Gorman
On Fri, Oct 02, 2020 at 09:03:33AM +0200, Michal Hocko wrote: > > > My recollection of the particular patch is dimm but I do remember it > > > tried to add more kswapd threads which would just paper over the problem > > > you are seein rather than solve it. > > > > Yeah, that's exactly what it

Re: [PATCH net-next 3/4] net: dsa: Obtain VLAN protocol from skb->protocol

2020-10-02 Thread Vladimir Oltean
On Thu, Oct 01, 2020 at 07:42:14PM -0700, Florian Fainelli wrote: > Now that dsa_untag_bridge_pvid() is called after eth_type_trans() we are > guaranteed that skb->protocol will be set to a correct value, thus > allowing us to avoid calling vlan_eth_hdr(). > > Signed-off-by: Florian Fainelli >

[PATCH v2 2/2] selftests/vm: fix run_vmtest.sh: restore executable bits, and "s" in name

2020-10-02 Thread John Hubbard
commit cb2ab76685d7 ("selftests/vm: rename run_vmtests --> run_vmtests.sh") changed the name of run_vmtests to run_vmtest.sh, but inadvertently dropped the executable bits. Somehow the name is missing an "s", too. Fix both of these problems by renaming, and restoring the executable bits. Fixes:

Re: [PATCH net-next 2/4] net: dsa: b53: Set untag_bridge_pvid

2020-10-02 Thread Vladimir Oltean
On Thu, Oct 01, 2020 at 07:42:13PM -0700, Florian Fainelli wrote: > Indicate to the DSA receive path that we need to untage the bridge PVID, > this allows us to remove the dsa_untag_bridge_pvid() calls from > net/dsa/tag_brcm.c. > > Signed-off-by: Florian Fainelli > --- Reviewed-by: Vladimir

linux-next: build warning after merge of the kvm-arm tree

2020-10-02 Thread Stephen Rothwell
Hi all, After merging the kvm-arm tree, today's linux-next build (htmldocs) produced this warning: Documentation/virt/kvm/devices/vcpu.rst:70: WARNING: Malformed table. Text in column margin in table line 2. === == -ENODEV: PMUv3 not

[PATCH v2 1/2] selftests/vm: fix: make check_config.sh executable

2020-10-02 Thread John Hubbard
commit 30fb9454ab23 ("selftests/vm: hmm-tests: remove the libhugetlbfs dependency") created the new check_config.sh file without the execute bits set. This is a problem because the Makefile runs it with "./", so now "make" is failing in that directory. The posted patch [1] does seem to have it as

Re: [PATCH net-next 1/4] net: dsa: Call dsa_untag_bridge_pvid() from dsa_switch_rcv()

2020-10-02 Thread Vladimir Oltean
On Thu, Oct 01, 2020 at 07:42:12PM -0700, Florian Fainelli wrote: > When a DSA switch driver needs to call dsa_untag_bridge_pvid(), it can > set dsa_switch::untag_brige_pvid to indicate this is necessary. > > This is a pre-requisite to making sure that we are always calling >

[PATCH 1/1] mfd: kempld-core: Fix unused variable 'kempld_acpi_table' when !ACPI

2020-10-02 Thread Lee Jones
drivers/mfd/kempld-core.c:556:36: warning: unused variable 'kempld_acpi_table' [-Wunused-const-variable] Signed-off-by: Lee Jones --- drivers/mfd/kempld-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/kempld-core.c b/drivers/mfd/kempld-core.c index

linux-next: build warning after merge of the gpio tree

2020-10-02 Thread Stephen Rothwell
Hi all, After merging the gpio tree, today's linux-next build (htmldocs) produced this warning: Documentation/admin-guide/gpio/gpio-mockup.rst: WARNING: document isn't included in any toctree Introduced by commit 2fd1abe99e5f ("Documentation: gpio: add documentation for gpio-mockup") --

[PATCH 1/1] mfd: sl28cpld: Depend on I2C

2020-10-02 Thread Lee Jones
Fixes the following randconfig build error: ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_probe': simple-mfd-i2c.c:(.text+0x48): undefined reference to `__devm_regmap_init_i2c' ld: drivers/mfd/simple-mfd-i2c.o: in function `simple_mfd_i2c_driver_init':

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

2020-10-02 Thread Ahmad Fatoum
Hello, On 10/2/20 10:20 AM, 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 existing binding doesn't cover these boards then and needs to be extended, no? How about following

Re: [RFC PATCH] kthread: do not modify running work

2020-10-02 Thread Thomas Gleixner
On Fri, Oct 02 2020 at 10:34, Hillf Danton wrote: > On Thu, 01 Oct 2020 15:59:38 +0200 Thomas Gleixner wrote: >> On Thu, Oct 01 2020 at 17:51, Hillf Danton wrote: >> Aside of that it's pretty irrelevant whether there is a user at the >> moment which reschedules work from the callback or not. >>

Re: [RFC PATCH v2 00/30] 1GB PUD THP support on x86_64

2020-10-02 Thread David Hildenbrand
On 02.10.20 10:10, Michal Hocko wrote: > On Fri 02-10-20 09:50:02, David Hildenbrand wrote: > - huge page sizes controllable by the userspace? It might be good to allow advanced users to choose the page sizes, so they have better control of their applications. >>> >>> Could you

Re: [PATCH v9 0/7] Introduce sendpage_ok() to detect misused sendpage in network related drivers

2020-10-02 Thread Coly Li
On 2020/10/2 03:48, David Miller wrote: > From: David Miller > Date: Thu, 01 Oct 2020 12:43:45 -0700 (PDT) > >> Series applied and queued up for -stable, thank you. > > Actually, this doesn't even build: > > In file included from ./arch/x86/include/asm/bug.h:93, > from

[PATCH v10 7/7] libceph: use sendpage_ok() in ceph_tcp_sendpage()

2020-10-02 Thread Coly Li
In libceph, ceph_tcp_sendpage() does the following checks before handle the page by network layer's zero copy sendpage method, if (page_count(page) >= 1 && !PageSlab(page)) This check is exactly what sendpage_ok() does. This patch replace the open coded checks by sendpage_ok() as a code

[PATCH v10 4/7] tcp: use sendpage_ok() to detect misused .sendpage

2020-10-02 Thread Coly Li
commit a10674bf2406 ("tcp: detecting the misuse of .sendpage for Slab objects") adds the checks for Slab pages, but the pages don't have page_count are still missing from the check. Network layer's sendpage method is not designed to send page_count 0 pages neither, therefore both PageSlab() and

[PATCH v10 6/7] scsi: libiscsi: use sendpage_ok() in iscsi_tcp_segment_map()

2020-10-02 Thread Coly Li
In iscsci driver, iscsi_tcp_segment_map() uses the following code to check whether the page should or not be handled by sendpage: if (!recv && page_count(sg_page(sg)) >= 1 && !PageSlab(sg_page(sg))) The "page_count(sg_page(sg)) >= 1 && !PageSlab(sg_page(sg)" part is to make sure the page can

[PATCH v10 2/7] net: add WARN_ONCE in kernel_sendpage() for improper zero-copy send

2020-10-02 Thread Coly Li
If a page sent into kernel_sendpage() is a slab page or it doesn't have ref_count, this page is improper to send by the zero copy sendpage() method. Otherwise such page might be unexpected released in network code path and causes impredictable panic due to kernel memory management data structure

[PATCH v10 3/7] nvme-tcp: check page by sendpage_ok() before calling kernel_sendpage()

2020-10-02 Thread Coly Li
Currently nvme_tcp_try_send_data() doesn't use kernel_sendpage() to send slab pages. But for pages allocated by __get_free_pages() without __GFP_COMP, which also have refcount as 0, they are still sent by kernel_sendpage() to remote end, this is problematic. The new introduced helper

[PATCH v10 1/7] net: introduce helper sendpage_ok() in include/linux/net.h

2020-10-02 Thread Coly Li
The original problem was from nvme-over-tcp code, who mistakenly uses kernel_sendpage() to send pages allocated by __get_free_pages() without __GFP_COMP flag. Such pages don't have refcount (page_count is 0) on tail pages, sending them by kernel_sendpage() may trigger a kernel panic from a

[PATCH v10 5/7] drbd: code cleanup by using sendpage_ok() to check page for kernel_sendpage()

2020-10-02 Thread Coly Li
In _drbd_send_page() a page is checked by following code before sending it by kernel_sendpage(), (page_count(page) < 1) || PageSlab(page) If the check is true, this page won't be send by kernel_sendpage() and handled by sock_no_sendpage(). This kind of check is exactly what macro

[PATCH v10 0/7] Introduce sendpage_ok() to detect misused sendpage in network related drivers

2020-10-02 Thread Coly Li
As Sagi Grimberg suggested, the original fix is refind to a more common inline routine: static inline bool sendpage_ok(struct page *page) { return (!PageSlab(page) && page_count(page) >= 1); } If sendpage_ok() returns true, the checking page can be handled by the concrete

[PATCH v2] iio: adc: ad7887: invert/rework external ref logic

2020-10-02 Thread Alexandru Ardelean
This change inverts/reworks the logic to use an external reference via a provided regulator. Now the driver tries to obtain a regulator. If one is found, then it is used. The rest of the driver logic already checks if there is a non-NULL reference to a regulator, so it should be fine.

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

2020-10-02 Thread Alejandro Colomar
Hi Paul, On 2020-10-01 19:32, Paul Eggert wrote: > If you're going to document this at all, I suggest documenting 'void' as > well as 'void *', and putting both sets of documentation into the same > man page. > All the types we're documenting are in the same page: system_data_types(7). And then

Re: [PATCH] selftests/vm: fix: make check_config.sh executable

2020-10-02 Thread John Hubbard
On 10/2/20 1:10 AM, John Hubbard wrote: On 10/2/20 12:59 AM, Stephen Rothwell wrote: Hi John, On Thu, 1 Oct 2020 23:48:11 -0700 John Hubbard wrote: commit 30fb9454ab23 ("selftests/vm: hmm-tests: remove the libhugetlbfs dependency") created the new check_config.sh file without the execute

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

2020-10-02 Thread Michal Simek
Hi Sudeep, On 01. 10. 20 17:35, Sudeep Holla wrote: > On Thu, Oct 01, 2020 at 10:21:48PM +0800, muhammad.husaini.zulki...@intel.com > wrote: >> From: Muhammad Husaini Zulkifli >> >> Add generic firmware driver for Keem Bay SOC to support >> Arm Trusted Firmware Services call. >> >>

Re: [perf report] 977f739b71: perf-test.skid_test.round2.MEM_LOAD_L3_MISS_RETIRED.LOCAL_DRAM_dtlb_withou t_NMI_fixed_period.fail

2020-10-02 Thread Chen, Rong A
On 9/30/2020 8:41 PM, Michael Petlan wrote: Hello. To me, it looks rather a random failure. Is it actually reproducible and proven that the patch has caused it? The patch doesn't seem to cause the fails below. Hi Michael, It's not always reproducible, but we can reproduce it in most cases:

Re: [PATCH] KVM: arm64: Pass level hint to TLBI during stage-2 permission fault

2020-10-02 Thread Marc Zyngier
On Wed, 30 Sep 2020 14:18:01 +0100, Will Deacon wrote: > Alex pointed out that we don't pass a level hint to the TLBI instruction > when handling a stage-2 permission fault, even though the walker does > at some point have the level information in its hands. > > Rework stage2_update_leaf_attrs()

Re: [PATCH] KVM: arm64: Ensure user_mem_abort() return value is initialised

2020-10-02 Thread Marc Zyngier
On Wed, 30 Sep 2020 11:24:42 +0100, Will Deacon wrote: > If a change in the MMU notifier sequence number forces user_mem_abort() > to return early when attempting to handle a stage-2 fault, we return > uninitialised stack to kvm_handle_guest_abort(), which could potentially > result in the

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

2020-10-02 Thread Krzysztof Kozlowski
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 existing binding doesn't cover these boards then and needs to be > >> extended, no? How about following patch? > > > > What do you mean it doesn't cover? It was

Re: [PATCH 0/6] Fix new html build warnings from next-20201001

2020-10-02 Thread Marc Zyngier
On Fri, 2 Oct 2020 07:49:44 +0200, Mauro Carvalho Chehab wrote: > There are some new warnings when building the documentation from > yesterday's linux next. This small series fix them. > > - patch 1 documents two new kernel-doc parameters on a net core file. > I used the commit log in order to

Re: [PATCH v4 00/10] Independent per-CPU data section for nVHE

2020-10-02 Thread Marc Zyngier
On Tue, 22 Sep 2020 21:49:00 +0100, David Brazdil wrote: > Introduce '.hyp.data..percpu' as part of ongoing effort to make nVHE > hyp code self-contained and independent of the rest of the kernel. > > Main benefits: > * independent nVHE per-CPU data section that can be unmapped from host, > *

Re: [RFC PATCH 6/7] dt-bindings: arm: Add virtio transport for SCMI

2020-10-02 Thread Peter Hilber
On 23.09.20 22:54, Rob Herring wrote: > On Fri, Sep 18, 2020 at 06:55:58PM +0200, Peter Hilber wrote: >> From: Igor Skalkin >> >> Document the properties for arm,scmi-virtio compatible nodes. The >> backing virtio SCMI device is described in patch [1]. >> >> [1]

<    7   8   9   10   11   12   13   >