Re: [PATCH 01/11] kexec_file: allow archs to handle special regions while locating memory hole

2020-07-01 Thread Hari Bathini
On 01/07/20 1:16 pm, Dave Young wrote: > On 06/29/20 at 05:26pm, Hari Bathini wrote: >> Hi Petr, >> >> On 29/06/20 5:09 pm, Petr Tesarik wrote: >>> Hi Hari, >>> >>> is there any good reason to add two more functions with a very similar >>> name to an existing function? AFAICS all you need is a

RE: [PATCH v8 2/3] dt-bindings: arm-smmu: Add binding for Tegra194 SMMU

2020-07-01 Thread Krishna Reddy
>> + - description: NVIDIA SoCs that use more than one "arm,mmu-500" > Hmm, there must be a better way to word that to express that it only applies > to the sets of SMMUs that must be programmed identically, and not any other > independent MMU-500s that might also happen to be in the same

[GIT PULL] Hyper-V fixes for 5.8-rc4

2020-07-01 Thread Wei Liu
Hi Linus Please pull the following changes since commit 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68: Linux 5.8-rc3 (2020-06-28 15:00:24 -0700) are available in the Git repository at: ssh://g...@gitolite.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git tags/hyperv-fixes-signed for you

Re: objtool clac/stac handling change..

2020-07-01 Thread Andy Lutomirski
On Wed, Jul 1, 2020 at 11:22 AM Linus Torvalds wrote: > > Josh / PeterZ, > it turns out that clang seems to now have fixed the last known > nagging details with "asm goto" with outputs, so I'm looking at > actually trying to merge the support for that in the kernel. > > The main annoyance isn't

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

2020-07-01 Thread Daniel Winkler
Hello all, Please forgive any omitted information, as this is my first upstreaming experience. I am preparing a second patch that will clarify the requested points. Thanks in advance! Best regards, Daniel Winkler On Wed, Jul 1, 2020 at 6:26 AM Greg Kroah-Hartman wrote: > > On Tue, Jun 30,

Re: [PATCH v2 0/8] Introduce sv48 support

2020-07-01 Thread Palmer Dabbelt
On Wed, 03 Jun 2020 01:10:56 PDT (-0700), a...@ghiti.fr wrote: This patchset implements sv48 support at runtime. The kernel will try to boot with 4-level page table and will fallback to 3-level if the HW does not support it. The biggest advantage is that we only have one kernel for 64bit, which

Re: [PATCH 10/20] dm: stop using ->queuedata

2020-07-01 Thread Mike Snitzer
On Wed, Jul 01 2020 at 4:59am -0400, Christoph Hellwig wrote: > Instead of setting up the queuedata as well just use one private data > field. > > Signed-off-by: Christoph Hellwig Acked-by: Mike Snitzer

Re: remove dead bdi congestion leftovers

2020-07-01 Thread Matthew Wilcox
On Wed, Jul 01, 2020 at 06:57:47PM +0100, Matthew Wilcox wrote: > On Wed, Jul 01, 2020 at 12:41:03PM -0400, Mike Snitzer wrote: > > On Wed, Jul 01 2020 at 5:06am -0400, > > Christoph Hellwig wrote: > > > > > Hi Jens, > > > > > > we have a lot of bdi congestion related code that is left around

[PATCH 09/11] ASoC: codecs: rt5631: fix kernel-doc

2020-07-01 Thread Pierre-Louis Bossart
Fix W=1 warning, spurious kernel-doc start and missing arguments Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/rt5631.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/rt5631.c b/sound/soc/codecs/rt5631.c index b5184f0e10e3..653da3eaf355

[PATCH 10/11] ASoC: codecs: tlv320aic26: fix kernel-doc warning

2020-07-01 Thread Pierre-Louis Bossart
Fix W=1 warning. Remove spurious /** since there isn't any kernel-doc comment in this file. Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/tlv320aic26.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/tlv320aic26.c b/sound/soc/codecs/tlv320aic26.c

[PATCH 08/11] ASoC: codecs: rt5659: add _maybe_unused as needed

2020-07-01 Thread Pierre-Louis Bossart
Fix W=1 warning by adding __maybe_unused. Maintainers for this file may want to double-check if those definitions are necessary. Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/rt5659.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH 03/11] ASoC: codecs: da7210: fix kernel-doc

2020-07-01 Thread Pierre-Louis Bossart
Fix W=1 warning, the kernel-doc syntax was probably from Doxygen? Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/da7210.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/sound/soc/codecs/da7210.c b/sound/soc/codecs/da7210.c index

[PATCH 06/11] ASoC: codecs: max98390: fix 'defined but not used' warning

2020-07-01 Thread Pierre-Louis Bossart
Fix W=1 warning and removed unused table. In this case this a duplicate of static const struct of_device_id max98390_of_match[] = { { .compatible = "maxim,max98390", }, {} }; MODULE_DEVICE_TABLE(of, max98390_of_match); already used in the rest of the code. Signed-off-by:

[PATCH 11/11] ASoC: codecs: jz4770: add _maybe_unused as needed

2020-07-01 Thread Pierre-Louis Bossart
Fix W=1 warning by adding __maybe_unused. Maintainers for this file may want to double-check if those definitions are necessary. Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/jz4770.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/jz4770.c

[PATCH 05/11] ASoC: codecs: es8316: fix 'defined but not used' warning

2020-07-01 Thread Pierre-Louis Bossart
Fix W=1 warning sound/soc/codecs/es8316.c:842:36: warning: 'es8316_acpi_match' defined but not used [-Wunused-const-variable=] 842 | static const struct acpi_device_id es8316_acpi_match[] = { |^ Signed-off-by: Pierre-Louis Bossart ---

[PATCH 07/11] ASoC: codecs: rt*: fix 'defined but not used' warning

2020-07-01 Thread Pierre-Louis Bossart
Fix W=1 warning when ACPI is not defined Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/rt274.c | 2 ++ sound/soc/codecs/rt286.c | 2 ++ sound/soc/codecs/rt298.c | 2 ++ sound/soc/codecs/rt5660.c | 2 ++ sound/soc/codecs/rt5677-spi.c | 2 ++ 5 files changed, 10

[PATCH 01/11] ASoC: codecs: ak4458: fix 'set but not used' warning

2020-07-01 Thread Pierre-Louis Bossart
fix warning with W=1 sound/soc/codecs/ak4458.c:408:16: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 408 | int nfs, ndt, ret, reg; |^~~ Signed-off-by: Pierre-Louis Bossart --- sound/soc/codecs/ak4458.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 04/11] ASoC: codecs: da7219: fix 'defined but not used' warning

2020-07-01 Thread Pierre-Louis Bossart
fix W=1 warning sound/soc/codecs/da7219.c:1711:36: warning: 'da7219_acpi_match' defined but not used [-Wunused-const-variable=] 1711 | static const struct acpi_device_id da7219_acpi_match[] = { |^ Signed-off-by: Pierre-Louis Bossart ---

[PATCH 02/11] ASoC: codecs: cros_ec_codec: fix 'defined but not used' warning

2020-07-01 Thread Pierre-Louis Bossart
fix W=1 warning sound/soc/codecs/cros_ec_codec.c:1056:36: warning: 'cros_ec_codec_acpi_id' defined but not used [-Wunused-const-variable=] 1056 | static const struct acpi_device_id cros_ec_codec_acpi_id[] = { |^ Signed-off-by:

Re: [RFC][PATCH 5/8] mm/numa: automatically generate node migration order

2020-07-01 Thread Dave Hansen
On 6/30/20 1:22 AM, Huang, Ying wrote: >> +/* >> + * To avoid cycles in the migration "graph", ensure >> + * that migration sources are not future targets by >> + * setting them in 'used_targets'. >> + * >> + * But, do this only once per pass so that multiple >> + *

drivers/pci/endpoint/functions/pci-epf-test.c:288:24: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-01 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 7c30b859a947535f2213277e827d7ac7dcff9c84 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 13 days ago config: xtensa-randconfig-s031-20200701

objtool clac/stac handling change..

2020-07-01 Thread Linus Torvalds
Josh / PeterZ, it turns out that clang seems to now have fixed the last known nagging details with "asm goto" with outputs, so I'm looking at actually trying to merge the support for that in the kernel. The main annoyance isn't actually using "asm goto" at all, the main annoyance is just that it

Re: [RFC][PATCH 3/8] mm/vmscan: Attempt to migrate page in lieu of discard

2020-07-01 Thread Dave Hansen
On 7/1/20 1:54 AM, Huang, Ying wrote: > Why can not we just bind the memory of the application to node 0, 2, 3 > via mbind() or cpuset.mems? Then the application can allocate memory > directly from PMEM. And if we bind the memory of the application via > mbind() to node 0, we can only allocate

RE: [PATCH v8 1/3] iommu/arm-smmu: add NVIDIA implementation for dual ARM MMU-500 usage

2020-07-01 Thread Krishna Reddy
>> + * When Linux kernel supports multiple SMMU devices, the SMMU device >> +used for >> + * isochornous HW devices should be added as a separate ARM MMU-500 >> +device >> + * in DT and be programmed independently for efficient TLB invalidates. >I don't understand the "When" there - the driver

Re: [PATCH 04/11] ppc64/kexec_file: avoid stomping memory used by special regions

2020-07-01 Thread Hari Bathini
On 01/07/20 1:10 pm, Dave Young wrote: > Hi Hari, > On 06/27/20 at 12:35am, Hari Bathini wrote: >> crashkernel region could have an overlap with special memory regions >> like opal, rtas, tce-table & such. These regions are referred to as >> exclude memory ranges. Setup this ranges during

Re: [PATCH] fs/proc: add short desc for /proc/softirqs

2020-07-01 Thread Alexey Dobriyan
On Wed, Jul 01, 2020 at 10:35:03PM +0800, zhenwei pi wrote: > Only softirq name is not friendly to end-users, typically 'HI' is > difficult to understand. During developing irqtop/lsirq utilities > for util-linux, Karel Zak considered that we should give more > information to end-users. Discuss

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread Karol Herbst
On Wed, Jul 1, 2020 at 7:37 PM James Jones wrote: > > On 7/1/20 10:04 AM, Karol Herbst wrote: > > On Wed, Jul 1, 2020 at 6:01 PM Daniel Vetter wrote: > >> > >> On Wed, Jul 1, 2020 at 5:51 PM James Jones wrote: > >>> > >>> On 7/1/20 4:24 AM, Karol Herbst wrote: > On Wed, Jul 1, 2020 at 6:45

Re: [PATCH 1/2] regulator: fan53880: Add initial support

2020-07-01 Thread Mark Brown
On Tue, Jun 30, 2020 at 08:52:02PM +0200, Christoph Fritz wrote: > This patch adds support for ON Semiconductor FAN53880 regulator. > > The FAN53880 is an I2C porgrammable power management IC (PMIC) > that contains a BUCK (step-down converter), four LDOs (low dropouts) > and one BOOST (step-up

[tip:master] BUILD SUCCESS 48223d204cc76eeb9209ded0c57213ca3f7a2715

2020-07-01 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: 48223d204cc76eeb9209ded0c57213ca3f7a2715 Merge branch 'linus' elapsed time: 2817m configs tested: 106 configs skipped: 4 The following configs have been built successfully. More configs may be tested

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

2020-07-01 Thread Rajat Jain
Hello, On Tue, Jun 30, 2020 at 10:00 AM Greg Kroah-Hartman wrote: > > On Tue, Jun 30, 2020 at 06:08:31PM +0200, Rafael J. Wysocki wrote: > > On Tue, Jun 30, 2020 at 5:38 PM Greg Kroah-Hartman > > wrote: > > > > > > On Tue, Jun 30, 2020 at 03:00:34PM +0200, Rafael J. Wysocki wrote: > > > > On

Re: [PATCH 1/8] cpufreq: allow drivers to flag custom support for freq invariance

2020-07-01 Thread Ionela Voinescu
Hi Rafael, Thank you for the review! On Wednesday 01 Jul 2020 at 18:05:33 (+0200), Rafael J. Wysocki wrote: > On Wed, Jul 1, 2020 at 3:33 PM Ionela Voinescu > wrote: > > > > Hi, > > > > Thank you for taking a look over these so quickly. > > > > On Wednesday 01 Jul 2020 at 16:16:17 (+0530),

Re: [PATCH bpf-next v2] selftests/bpf: Switch test_vmlinux to use hrtimer_range_start_ns.

2020-07-01 Thread Yonghong Song
On 7/1/20 10:53 AM, Hao Luo wrote: The test_vmlinux test uses hrtimer_nanosleep as hook to test tracing programs. But in a kernel built by clang, which performs more aggresive inlining, that function gets inlined into its caller SyS_nanosleep. Therefore, even though fentry and kprobe do hook

Re: [PATCH v6 2/6] mm/vmscan: protect the workingset on anonymous LRU

2020-07-01 Thread Vlastimil Babka
On 6/17/20 7:26 AM, js1...@gmail.com wrote: > From: Joonsoo Kim Hi, how about a more descriptive subject, such as mm/vmscan: add new anonymous pages to inactive LRU list > In current implementation, newly created or swap-in anonymous page > is started on active list. Growing active list

Re: remove dead bdi congestion leftovers

2020-07-01 Thread Matthew Wilcox
On Wed, Jul 01, 2020 at 12:41:03PM -0400, Mike Snitzer wrote: > On Wed, Jul 01 2020 at 5:06am -0400, > Christoph Hellwig wrote: > > > Hi Jens, > > > > we have a lot of bdi congestion related code that is left around without > > any use. This series removes it in preparation of sorting out the

security/integrity/platform_certs/keyring_handler.c:62:30: warning: no previous prototype for 'get_handler_for_db'

2020-07-01 Thread kernel test robot
-20200701 (attached as .config) compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3 reproduce (this is a W=1 build): git checkout ad723674d6758478829ee766e3f1a2a24d56236f # save the attached .config to linux build tree make W=1 ARCH=i386 If you fix the issue, kindly add following tag

[PATCH bpf-next v2] selftests/bpf: Switch test_vmlinux to use hrtimer_range_start_ns.

2020-07-01 Thread Hao Luo
The test_vmlinux test uses hrtimer_nanosleep as hook to test tracing programs. But in a kernel built by clang, which performs more aggresive inlining, that function gets inlined into its caller SyS_nanosleep. Therefore, even though fentry and kprobe do hook on the function, they aren't triggered

Re: [PATCH] bpfilter: allow to build bpfilter_umh as a module without static library

2020-07-01 Thread Masahiro Yamada
On Thu, Jul 2, 2020 at 2:46 AM Alexei Starovoitov wrote: > > On Wed, Jul 01, 2020 at 06:26:44PM +0900, Masahiro Yamada wrote: > > Originally, bpfilter_umh was linked with -static only when > > CONFIG_BPFILTER_UMH=y. > > > > Commit 8a2cc0505cc4 ("bpfilter: use 'userprogs' syntax to build > >

Re: [PATCH] bpfilter: allow to build bpfilter_umh as a module without static library

2020-07-01 Thread Alexei Starovoitov
On Wed, Jul 01, 2020 at 06:26:44PM +0900, Masahiro Yamada wrote: > Originally, bpfilter_umh was linked with -static only when > CONFIG_BPFILTER_UMH=y. > > Commit 8a2cc0505cc4 ("bpfilter: use 'userprogs' syntax to build > bpfilter_umh") silently, accidentally dropped the CONFIG_BPFILTER_UMH=y >

Re: [PATCH v2 05/15] umh: Separate the user mode driver and the user mode helper support

2020-07-01 Thread Alexei Starovoitov
On Wed, Jul 1, 2020 at 10:23 AM Eric W. Biederman wrote: > > Linus Torvalds writes: > > > On Mon, Jun 29, 2020 at 1:05 PM Eric W. Biederman > > wrote: > >> > >> This makes it clear which code is part of the core user mode > >> helper support and which code is needed to implement user mode > >>

Re: remove dead bdi congestion leftovers

2020-07-01 Thread Mike Snitzer
On Wed, Jul 01 2020 at 5:06am -0400, Christoph Hellwig wrote: > Hi Jens, > > we have a lot of bdi congestion related code that is left around without > any use. This series removes it in preparation of sorting out the bdi > lifetime rules properly. I could do some git archeology to see what

Re: [RESEND] arm64: dts: imx8m: Add NOC nodes

2020-07-01 Thread Georgi Djakov
Hi Abel, On 6/23/20 12:47, Abel Vesa wrote: > From: Leonard Crestez > > Add nodes for the main interconnect of the imx8m series chips. > > These nodes are bound to by devfreq and interconnect drivers. > > Signed-off-by: Leonard Crestez > Signed-off-by: Abel Vesa > Tested-by: Martin

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread James Jones
On 7/1/20 10:04 AM, Karol Herbst wrote: On Wed, Jul 1, 2020 at 6:01 PM Daniel Vetter wrote: On Wed, Jul 1, 2020 at 5:51 PM James Jones wrote: On 7/1/20 4:24 AM, Karol Herbst wrote: On Wed, Jul 1, 2020 at 6:45 AM James Jones wrote: This implies something is trying to use one of the old

Re: [PATCH v2] dt-bindings: display: Convert connectors to DT schema

2020-07-01 Thread Sam Ravnborg
Hi Rob On Tue, Jun 30, 2020 at 02:02:16PM -0600, Rob Herring wrote: > Convert the analog TV, DVI, HDMI, and VGA connector bindings to DT schema > format. > > Cc: Sam Ravnborg > Cc: Laurent Pinchart > Cc: Maxime Ripard > Signed-off-by: Rob Herring Reviewed-by: Sam Ravnborg > --- > v2: > -

Re: [PATCH] xen: introduce xen_vring_use_dma

2020-07-01 Thread Stefano Stabellini
On Wed, 1 Jul 2020, Christoph Hellwig wrote: > On Mon, Jun 29, 2020 at 04:46:09PM -0700, Stefano Stabellini wrote: > > > I could imagine some future Xen hosts setting a flag somewhere in the > > > platform capability saying "no xen specific flag, rely on > > > "VIRTIO_F_ACCESS_PLATFORM". Then you

Re: [v2] Documentation: Coccinelle: fix typos and command example

2020-07-01 Thread Markus Elfring
> None of that has anything to do with the current patch. Did you test the specified make command for the display of expected data processing results? How much do you distinguish desired effects according to the specification of file extensions for such build commands? Regards, Markus

Re: [PATCH] Replace HTTP links with HTTPS ones: kdump

2020-07-01 Thread Alexander A. Klimov
Am 01.07.20 um 09:58 schrieb Dave Young: On 06/27/20 at 12:31pm, Alexander A. Klimov wrote: Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line:

Re: Kernel compression benchmarks

2020-07-01 Thread Alex Xu (Hello71)
Excerpts from Gao Xiang's message of July 1, 2020 11:50 am: > Anyway, I think LZMA (xz) is still useful and which is more > friendly to fixed-sized output compression than Zstd yet (But > yeah, I'm not familar with all ZSTD internals. I will dig > into that if I've more extra time). Yes, I

Re: [PATCH] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-01 Thread Matthias Kaehlcke
On Wed, Jul 01, 2020 at 01:13:34PM -0400, Jonathan Marek wrote: > On 7/1/20 1:12 PM, Matthias Kaehlcke wrote: > > Hi Jonathan, > > > > On Tue, Jun 30, 2020 at 11:08:41PM -0400, Jonathan Marek wrote: > > > Check for EPROBE_DEFER instead of silently not using icc if the msm driver > > > probes

Re: [PATCH v7 00/13] Add support for PinePhone LCD panel

2020-07-01 Thread Sam Ravnborg
Hi Ondrej. On Wed, Jul 01, 2020 at 06:29:15PM +0200, Ondrej Jirman wrote: > This patchset adds support for the LCD panel of PinePhone. > > I've tested this on PinePhone 1.0 and 1.2. Thanks for this nive sereis. Applied the first 11 patches to drm-misc-next. The DTS files needs to go in via

Re: [regression] TCP_MD5SIG on established sockets

2020-07-01 Thread Eric Dumazet
On Tue, Jun 30, 2020 at 3:07 PM Eric Dumazet wrote: > Oh well, tcp_syn_options() is supposed to have the same logic. > > Maybe we have an issue with SYNCOOKIES (with MD5 + TS + SACK) > > Nice can of worms. Yes, MD5 does not like SYNCOOKIES in some cases. In this trace, S is a linux host, the

Re: [PATCH v2 05/15] umh: Separate the user mode driver and the user mode helper support

2020-07-01 Thread Eric W. Biederman
Linus Torvalds writes: > On Mon, Jun 29, 2020 at 1:05 PM Eric W. Biederman > wrote: >> >> This makes it clear which code is part of the core user mode >> helper support and which code is needed to implement user mode >> drivers. >> >> kernel/umd.c | 146

Re: [RFC][PATCH 3/8] mm/vmscan: Attempt to migrate page in lieu of discard

2020-07-01 Thread Yang Shi
On 6/30/20 10:41 PM, David Rientjes wrote: On Tue, 30 Jun 2020, Yang Shi wrote: From: Dave Hansen If a memory node has a preferred migration path to demote cold pages, attempt to move those inactive pages to that migration node before reclaiming. This will better utilize available memory,

Re: [PATCH v6 13/13] arm64: dts: sun50i-a64-pinephone: Add touchscreen support

2020-07-01 Thread Icenowy Zheng
于 2020年7月1日 GMT+08:00 下午6:31:26, 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

[PATCH] Remove __init from padata_do_multithreaded and padata_mt_helper

2020-07-01 Thread Nico Pache
Allow padata_do_multithreaded function to be called after bootstrap. Signed-off-by: Nico Pache --- include/linux/padata.h | 2 +- kernel/padata.c| 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/linux/padata.h b/include/linux/padata.h index

Re: [PATCH 1/2] net: dsa: microchip: set the correct number of ports in dsa_switch

2020-07-01 Thread Codrin.Ciubotariu
On 01.07.2020 20:09, Andrew Lunn wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Wed, Jul 01, 2020 at 07:51:27PM +0300, Codrin Ciubotariu wrote: >> The number of ports is incorrectly set to the maximum available for a DSA >> switch.

Re: [PATCH] serial: sh-sci: Initialize spinlock for uart console

2020-07-01 Thread Geert Uytterhoeven
Hi Prabhakar, On Wed, Jul 1, 2020 at 5:42 PM Lad Prabhakar wrote: > serial core expects the spinlock to be initialized by the controller > driver for serial console, this patch makes sure the spinlock is > initialized, fixing the below issue: > > [0.865928] BUG: spinlock bad magic on CPU#0,

Re: [PATCH v3 2/2] clocksource: Ingenic: Add support for the Ingenic X1000 OST.

2020-07-01 Thread Zhou Yanjie
Hi Paul, 在 2020/7/1 上午3:38, Paul Cercueil 写道: Hi Zhou, Le mer. 1 juil. 2020 à 1:15, 周琰杰 (Zhou Yanjie) a écrit : X1000 and SoCs after X1000 (such as X1500 and X1830) had a separate OST, it no longer belongs to TCU. This driver will register both a clocksource and a sched_clock to the system.

Re: [PATCH v2 00/15] Make the user mode driver code a better citizen

2020-07-01 Thread Eric W. Biederman
Alexei Starovoitov writes: > On Tue, Jun 30, 2020 at 07:29:34AM -0500, Eric W. Biederman wrote: >> >> diff --git a/net/bpfilter/bpfilter_kern.c b/net/bpfilter/bpfilter_kern.c >> index 91474884ddb7..3e1874030daa 100644 >> --- a/net/bpfilter/bpfilter_kern.c >> +++ b/net/bpfilter/bpfilter_kern.c

[PATCH] USB: Fix up terminology in include files

2020-07-01 Thread Greg Kroah-Hartman
USB is a HOST/DEVICE protocol, as per the specification and all documentation. Fix up terms that are not applicable to make things match up with the terms used through the rest of the USB stack. Signed-off-by: Greg Kroah-Hartman --- include/linux/usb.h| 2 +- include/linux/usb/ch9.h

[PATCH] random: Document add_hwgenerator_randomness() with other input functions

2020-07-01 Thread Mark Brown
The section at the top of random.c which documents the input functions available does not document add_hwgenerator_randomness() which might lead a reader to overlook it. Add a brief note about it. Signed-off-by: Mark Brown --- drivers/char/random.c | 8 1 file changed, 8 insertions(+)

Re: [PATCH] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-01 Thread Jonathan Marek
On 7/1/20 1:12 PM, Matthias Kaehlcke wrote: Hi Jonathan, On Tue, Jun 30, 2020 at 11:08:41PM -0400, Jonathan Marek wrote: Check for EPROBE_DEFER instead of silently not using icc if the msm driver probes before the interconnect driver. Agreed with supporting deferred ICC probing. Only check

Re: [PATCH] drm/msm: handle for EPROBE_DEFER for of_icc_get

2020-07-01 Thread Matthias Kaehlcke
Hi Jonathan, On Tue, Jun 30, 2020 at 11:08:41PM -0400, Jonathan Marek wrote: > Check for EPROBE_DEFER instead of silently not using icc if the msm driver > probes before the interconnect driver. Agreed with supporting deferred ICC probing. > Only check for EPROBE_DEFER because of_icc_get can

Re: [PATCH v4 28/37] memory: tegra: Register as interconnect provider

2020-07-01 Thread Georgi Djakov
Hi Dmitry, Thank you for updating the patches! On 6/9/20 16:13, Dmitry Osipenko wrote: > Now memory controller is a memory interconnection provider. This allows us > to use interconnect API in order to change memory configuration. > > Signed-off-by: Dmitry Osipenko > --- >

Re: [PATCH 04/30] misc: sgi-xp: xp_main: Staticify local functions xp_init() and xp_exit()

2020-07-01 Thread Robin Holt
On Tue, Jun 30, 2020 at 8:51 AM Lee Jones wrote: ... > Signed-off-by: Lee Jones Acked-By: Robin Holt

Re: [PATCH v4 27/37] interconnect: Relax requirement in of_icc_get_from_provider()

2020-07-01 Thread Georgi Djakov
Hi Dmitry, On 6/9/20 16:13, Dmitry Osipenko wrote: > From: Artur Świgoń > > This patch relaxes the condition in of_icc_get_from_provider() so that it > is no longer required to set #interconnect-cells = <1> in the DT. In case > of the devfreq driver for exynos-bus, #interconnect-cells is always

Re: [PATCH 1/2] net: dsa: microchip: set the correct number of ports in dsa_switch

2020-07-01 Thread Andrew Lunn
On Wed, Jul 01, 2020 at 07:51:27PM +0300, Codrin Ciubotariu wrote: > The number of ports is incorrectly set to the maximum available for a DSA > switch. Even if the extra ports are not used, this causes some functions > to be called later, like port_disable() and port_stp_state_set(). If the >

Re: [PATCH v3] ASoC: Intel: kbl_rt5663_rt5514_max98927: Split be_hw_params_fixup function

2020-07-01 Thread Pierre-Louis Bossart
Tested and the following is something we can use without creating a new dailink. struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); if (!strcmp(codec_dai->name, KBL_REALTEK_DMIC_CODEC_DAI)) { if (params_channels(params) == 2 ||

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

2020-07-01 Thread Dave P Martin
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 and consequently allowing for harmful > reordering by the CPU. > >

Tracing: rb_head_page_deactivate() caught in an infinite loop

2020-07-01 Thread rananta
Hi Steven and Mingo, While trying to adjust the buffer size (echo > /sys/kernel/debug/tracing/buffer_size_kb), we see that the kernel gets caught up in an infinite loop while traversing the "cpu_buffer->pages" list in rb_head_page_deactivate(). Looks like the last node of the list could be

RE: [Intel-wired-lan] [PATCH v1 1/5] iavf: use generic power management

2020-07-01 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan On Behalf Of > Vaibhav Gupta > Sent: Monday, June 29, 2020 2:30 AM > To: Bjorn Helgaas ; Bjorn Helgaas > ; bj...@helgaas.com; Vaibhav Gupta > ; David S. Miller ; > Jakub Kicinski ; Kirsher, Jeffrey T > > Cc: Vaibhav Gupta ;

Re: [RFC PATCH v2 00/18] Support for Tegra video capture from external sensor

2020-07-01 Thread Sowjanya Komatineni
On 7/1/20 9:54 AM, Hans Verkuil wrote: On 30/06/2020 18:34, Sowjanya Komatineni wrote: On 6/30/20 9:17 AM, Sowjanya Komatineni wrote: On 6/30/20 8:44 AM, Sowjanya Komatineni wrote: On 6/30/20 8:13 AM, Hans Verkuil wrote: On 30/06/2020 16:58, Sowjanya Komatineni wrote: On 6/30/20 2:21 AM,

Re: [PATCH] drm/amd/display: remove redundant initialization of variable result

2020-07-01 Thread Alex Deucher
On Wed, Jul 1, 2020 at 10:59 AM Colin King wrote: > > From: Colin Ian King > > The variable result is being initialized with a value that is never read > and it is being updated later with a new value. The initialization is > redundant and can be removed. > > Addresses-Coverity: ("Unused

Re: [git pull] drm for 5.8-rc1

2020-07-01 Thread Karol Herbst
On Wed, Jul 1, 2020 at 6:01 PM Daniel Vetter wrote: > > On Wed, Jul 1, 2020 at 5:51 PM James Jones wrote: > > > > On 7/1/20 4:24 AM, Karol Herbst wrote: > > > On Wed, Jul 1, 2020 at 6:45 AM James Jones wrote: > > >> > > >> This implies something is trying to use one of the old > > >>

Re: [RFC PATCH] interconnect: qcom: add functions to query addr/cmds for a path

2020-07-01 Thread Jonathan Marek
On 7/1/20 12:56 PM, Jordan Crouse wrote: On Wed, Jul 01, 2020 at 12:25:25AM -0400, Jonathan Marek wrote: The a6xx GMU can vote for ddr and cnoc bandwidth, but it needs to be able to query the interconnect driver for bcm addresses and commands. I'm not sure what is the best way to go about

Re: [PATCH bpf-next] selftests/bpf: Switch test_vmlinux to use hrtimer_range_start_ns.

2020-07-01 Thread Hao Luo
On Tue, Jun 30, 2020 at 7:26 PM Yonghong Song wrote: > > > > On 6/30/20 5:10 PM, Hao Luo wrote: > > Ok, with the help of my colleague Ian Rogers, I think we solved the > > mystery. Clang actually inlined hrtimer_nanosleep() inside > > SyS_nanosleep(), so there is no call to that function

RE: [Intel-wired-lan] [PATCH v1 4/5] ixgbevf: use generic power management

2020-07-01 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan On Behalf Of > Vaibhav Gupta > Sent: Monday, June 29, 2020 2:30 AM > To: Bjorn Helgaas ; Bjorn Helgaas > ; bj...@helgaas.com; Vaibhav Gupta > ; David S. Miller ; > Jakub Kicinski ; Kirsher, Jeffrey T > > Cc: Vaibhav Gupta ;

RE: [Intel-wired-lan] [PATCH v1 3/5] ixgbe: use generic power management

2020-07-01 Thread Bowers, AndrewX
> -Original Message- > From: Intel-wired-lan On Behalf Of > Vaibhav Gupta > Sent: Monday, June 29, 2020 2:30 AM > To: Bjorn Helgaas ; Bjorn Helgaas > ; bj...@helgaas.com; Vaibhav Gupta > ; David S. Miller ; > Jakub Kicinski ; Kirsher, Jeffrey T > > Cc: Vaibhav Gupta ;

RE: [PATCH v3] ASoC: Intel: kbl_rt5663_rt5514_max98927: Split be_hw_params_fixup function

2020-07-01 Thread N, Harshapriya
> >> > For speakers and headsets its 48Khz, 2 ch and 24 bit and this > setting is done based on the front-end dai For speakers, however > support only > 16 bit, so we set it back to 16 bit If the front end dai is dmic, > then the channel > >>> is set to either 2 or 4

[PATCH] staging: rtl8188eu: remove unused parameter

2020-07-01 Thread Michael Straube
Remove unused parameter 'padapter' from rtw_os_xmit_resource_alloc(). Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/core/rtw_xmit.c | 6 +++--- drivers/staging/rtl8188eu/include/xmit_osdep.h | 3 +-- drivers/staging/rtl8188eu/os_dep/xmit_linux.c | 3 +-- 3 files changed, 5

Re: [RFC PATCH] interconnect: qcom: add functions to query addr/cmds for a path

2020-07-01 Thread Jordan Crouse
On Wed, Jul 01, 2020 at 12:25:25AM -0400, Jonathan Marek wrote: > The a6xx GMU can vote for ddr and cnoc bandwidth, but it needs to be able > to query the interconnect driver for bcm addresses and commands. > > I'm not sure what is the best way to go about implementing this, this is > what I came

Re: [PATCH v3 1/1] fs: move kernel_read_file* to its own include file

2020-07-01 Thread Greg Kroah-Hartman
On Wed, Jun 17, 2020 at 09:12:18AM -0700, Scott Branden wrote: > Move kernel_read_file* out of linux/fs.h to its own linux/kernel_read_file.h > include file. That header gets pulled in just about everywhere > and doesn't really need functions not related to the general fs interface. > >

Re: [PATCH 3/3] arm64: dts: sc7180: Add OPP tables and power-domains for venus

2020-07-01 Thread Matthias Kaehlcke
On Wed, Jul 01, 2020 at 05:10:38PM +0530, Rajendra Nayak wrote: > Add the OPP tables in order to be able to vote on the performance state > of a power-domain > > Signed-off-by: Rajendra Nayak > --- > arch/arm64/boot/dts/qcom/sc7180.dtsi | 35 +-- > 1 file

Re: [RFC PATCH v2 00/18] Support for Tegra video capture from external sensor

2020-07-01 Thread Hans Verkuil
On 30/06/2020 18:34, Sowjanya Komatineni wrote: > > On 6/30/20 9:17 AM, Sowjanya Komatineni wrote: >> >> On 6/30/20 8:44 AM, Sowjanya Komatineni wrote: >>> >>> On 6/30/20 8:13 AM, Hans Verkuil wrote: On 30/06/2020 16:58, Sowjanya Komatineni wrote: > On 6/30/20 2:21 AM, Hans Verkuil

[PATCH v2 07/11] benet: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Thus, there is no need to call

[PATCH v2 08/11] mlx4: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Use "struct dev_pm_ops"

Re: [PATCH v3 1/2] dt-bindings: timer: Add Ingenic X1000 OST bindings.

2020-07-01 Thread Zhou Yanjie
Hi Paul, 在 2020/7/1 上午3:15, Paul Cercueil 写道: Hi Zhou, Le mer. 1 juil. 2020 à 1:15, 周琰杰 (Zhou Yanjie) a écrit : Add the OST bindings for the X1 SoC from Ingenic. Tested-by: 周正 (Zhou Zheng) Signed-off-by: 周琰杰 (Zhou Yanjie) --- Notes:     v1->v2:     No change.     v2->v3:     Fix

[PATCH v2 10/11] vxge: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Use "struct dev_pm_ops"

[PATCH v2 11/11] natsemi: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Thus, there is no need to call

[PATCH v2 05/11] liquidio: use generic power management

2020-07-01 Thread Vaibhav Gupta
Drivers should not use legacy power management as they have to manage power states and related operations, for the device, themselves. This driver was handling them with the help of PCI helper functions. With generic PM, all essentials will be handled by the PCI core. Driver needs to do only

[PATCH v2 09/11] ksz884x: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Thus, there is no need to call

Re: [PATCH v4 2/3] scsi: storvsc: Use vmbus_requestor to generate transaction IDs for VMBus hardening

2020-07-01 Thread Wei Liu
On Tue, Jun 30, 2020 at 08:12:20PM -0400, Andres Beltran wrote: > Currently, pointers to guest memory are passed to Hyper-V as > transaction IDs in storvsc. In the face of errors or malicious > behavior in Hyper-V, storvsc should not expose or trust the transaction > IDs returned by Hyper-V to be

Re: [PATCH] sbitmap: Consider cleared bits in sbitmap_bitmap_show()

2020-07-01 Thread Jens Axboe
On 7/1/20 2:06 AM, John Garry wrote: > sbitmap works by maintaining separate bitmaps of set and cleared bits. > The set bits are cleared in a batch, to save the burden of continuously > locking the "word" map to unset. > > sbitmap_bitmap_show() only shows the set bits (in "word"), which is not >

[PATCH v2 06/11] sundance: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Thus, there is no need to call

[PATCH v2 00/11] net: ethernet: use generic power management

2020-07-01 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The purpose of this patch series is to remove legacy power management callbacks from net ethernet drivers. The callbacks performing suspend() and resume() operations are still calling pci_save_state(), pci_set_power_state(), etc. and handling

[PATCH v2 04/11] ena_netdev: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Compile-tested only.

[PATCH v2 02/11] ne2k-pci: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Thus, there is no need to call

Re: [PATCH v2] ASoC: Intel: bxt-da7219-max98357a: support MAX98390 speaker amp

2020-07-01 Thread Pierre-Louis Bossart
On 7/1/20 4:36 AM, Brent Lu wrote: Support MAX98390 speaker amplifier on cometlake platform. Driver now detects amplifier type in the probe function and installs corresponding controls and DAPM widgets/routes in the late_probe function. Signed-off-by: Brent Lu Looks good to me know,

[PATCH v2 01/11] typhoon: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. And they use PCI helper functions to do it. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific

Re: [PATCH 8/9] soundwire: intel: add wake interrupt support

2020-07-01 Thread Pierre-Louis Bossart
+* wake up master and slave so that slave can notify master +* the wakeen event and let codec driver check codec status +*/ + list_for_each_entry(slave, >slaves, node) { + /* +* discard devices that are defined in ACPI tables but +

[PATCH v2 03/11] starfire: use generic power management

2020-07-01 Thread Vaibhav Gupta
With legacy PM, drivers themselves were responsible for managing the device's power states and takes care of register states. After upgrading to the generic structure, PCI core will take care of required tasks and drivers should do only device-specific operations. Thus, there is no need to call

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