Re: [PATCH] HID: quirks: Set INCREMENT_USAGE_ON_DUPLICATE for all Saitek X52 devices

2020-08-30 Thread Jiri Kosina
On Sun, 30 Aug 2020, Nirenjan Krishnan wrote: > The Saitek X52 family of joysticks has a pair of axes that were > originally (by the Windows driver) used as mouse pointer controls. The > corresponding usage page is the Game Controls page, which is not > recognized by the generic HID driver, and th

Re: [PATCH V3] vfio dma_map/unmap: optimized for hugetlbfs pages

2020-08-30 Thread Hugh Dickins
On Fri, 28 Aug 2020, Ming Mao wrote: > In the original process of dma_map/unmap pages for VFIO-devices, > to make sure the pages are contiguous, we have to check them one by one. > As a result, dma_map/unmap could spend a long time. > Using the hugetlb pages, we can avoid this problem. > All pages

[PATCH] xhci: workaround for S3 issue on AMD SNPS 3.0 xHC

2020-08-30 Thread Nehal Bakulchandra Shah
From: Nehal Bakulchandra Shah On some platform of AMD, S3 fails with HCE and SRE errors.To fix this, sparse controller enable bit has to be disabled. Signed-off-by: Nehal Bakulchandra Shah --- drivers/usb/host/xhci-pci.c | 12 drivers/usb/host/xhci.h | 1 + 2 files changed, 1

[PATCH] kconfig: remove redundant assignment prompt = prompt

2020-08-30 Thread Denis Efremov
Semi-automatic removing of localization macros changed the line from "prompt = _(prompt);" to "prompt = prompt;". Drop the reduntand assignment. Fixes: 694c49a7c01c ("kconfig: drop localization support") Signed-off-by: Denis Efremov --- scripts/kconfig/nconf.c | 1 - 1 file changed, 1 deletion(-

[RFC/RFT PATCH v3 0/1] arc: add sparsemem support

2020-08-30 Thread Mike Rapoport
From: Mike Rapoport Hi, This is yet another attempt to enable SPARSEMEM on ARC. I've boot tested it on nSIM with haps_hs_defconfig with highmem and sparsemem enabled. With sparsemem the kernel text becomes a bit smaller, but bss and data are slightly increased: $ size discontig/vmlinux sparse

[RFC/RFT PATCH v3 1/1] arc: add sparsemem support

2020-08-30 Thread Mike Rapoport
From: Mike Rapoport Signed-off-by: Mike Rapoport --- arch/arc/Kconfig | 10 ++ arch/arc/include/asm/sparsemem.h | 13 + arch/arc/mm/init.c | 6 +- 3 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 arch/arc/include/asm/spa

Re: [PATCH] USB: serial: option: add support for SIM7070/SIM7080/SIM7090 modules

2020-08-30 Thread Johan Hovold
On Sat, Aug 29, 2020 at 11:05:39AM +0200, Aleksander Morgado wrote: > These modules have 2 different USB layouts: > > The default layout with PID 0x9205 (AT+CUSBSELNV=1) exposes 4 TTYs and > an ECM interface: > > T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 6 Spd=480 MxCh= 0 > D: Ver= 2.0

[PATCH] rcu: allow multiple stalls before panic

2020-08-30 Thread chao
Some stalls are transient and system can fully recover. Allow users to configure the number of stalls experienced to trigger kernel Panic. Signed-off-by: chao --- include/linux/kernel.h | 1 + kernel/rcu/tree_stall.h | 6 ++ kernel/sysctl.c | 11 +++ 3 files changed, 18 in

Re: [GIT pull] sched/urgent for v5.9-rc2

2020-08-30 Thread Marco Elver
On Sun, 30 Aug 2020 at 20:54, Linus Torvalds wrote: > On Sun, Aug 30, 2020 at 11:04 AM Thomas Gleixner wrote: > > > > - Make is_idle_task() __always_inline to prevent the compiler from putting > >it out of line into the wrong section because it's used inside noinstr > >sections. > > What

Re: [PATCH 5/5] powerpc: use the generic dma_ops_bypass mode

2020-08-30 Thread Christoph Hellwig
On Sun, Aug 30, 2020 at 11:04:21AM +0200, Cédric Le Goater wrote: > Hello, > > On 7/8/20 5:24 PM, Christoph Hellwig wrote: > > Use the DMA API bypass mechanism for direct window mappings. This uses > > common code and speed up the direct mapping case by avoiding indirect > > calls just when not u

[PATCH v3 5/5] ASoC: qcom: Optimise lpass variant structure

2020-08-30 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy lpass variant structure in audio driver has I2S and HDMI register fields, which are used exclusively. To optimize memory, replace with union to select either I2S or HDMI register fields. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- sound/soc/

[PATCH v3 3/5] ASoC: qcom: Add support for lpass hdmi driver

2020-08-30 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Upadate lpass cpu and platform driver to support audio over dp. Also add lpass-hdmi.c and lpass-hdmi.h. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- sound/soc/qcom/Kconfig | 5 + sound/soc/qcom/Makefile | 2 + sound/soc

[PATCH v3 1/5] ASoC: Add sc7180-lpass binding header hdmi define

2020-08-30 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Add header defining hdmi dai-id for SC7180 lpass soc in dt bindings. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- include/dt-bindings/sound/sc7180-lpass.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/sound/sc7180-lp

[PATCH v3 2/5] ASoC: dt-bindings: Add dt binding for lpass hdmi

2020-08-30 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Adds bindings for lpass hdmi interface which can support audio path over dp. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- .../devicetree/bindings/sound/qcom,lpass-cpu.yaml | 51 -- 1 file changed, 47 insertions(+), 4 dele

[PATCH v3 0/5] Qualcomm's lpass-hdmi ASoC driver to support audio over dp port

2020-08-30 Thread Srinivasa Rao Mandadapu
These patches are to support audio over DP port on Qualcomm's SC7180 LPASS Asoc. It includes machine driver, cpu driver, platform driver updates for HDMI path support, device tree documention, lpass variant structure optimization and configuration changes. These patches depends on the DP patch s

[PATCH v3 4/5] ASoC: qcom: Add support for audio over DP

2020-08-30 Thread Srinivasa Rao Mandadapu
From: V Sujith Kumar Reddy Add support for audio playback over DP in lpass sc7180 platform driver. Add lpass_variant structure for hdmi data configuaration. Signed-off-by: Srinivasa Rao Signed-off-by: V Sujith Kumar Reddy --- sound/soc/qcom/lpass-sc7180.c | 121 +++

Re: [PATCH] fsldma: fsl_ioread64*() do not need lower_32_bits()

2020-08-30 Thread Vinod Koul
Hi Linus, On 29-08-20, 14:20, Linus Torvalds wrote: > On Sat, Aug 29, 2020 at 1:40 PM Guenter Roeck wrote: > > > > Except for > > > > CHECK: spaces preferred around that '+' (ctx:VxV) > > #29: FILE: drivers/dma/fsldma.h:223: > > + u32 val_lo = in_be32((u32 __iomem *)addr+1); > > Added spac

Re: [PATCH 5/6] perf record: Add 'snapshot' control command

2020-08-30 Thread Andi Kleen
On Sat, Aug 29, 2020 at 01:50:14PM +0300, Adrian Hunter wrote: > Add 'snapshot' control command to create an AUX area tracing snapshot the > same as if sending SIGUSR2. The advantage of the FIFO is that access is > governed by access to the FIFO. How about the --switch-output SIGUSR2 switch? Could

Re: [PATCH] ARM: dts: sun8i: v3s: Enable crypto engine

2020-08-30 Thread Corentin Labbe
On Thu, Aug 27, 2020 at 08:00:27PM +0200, Martin Cerveny wrote: > V3S contains crypto engine that is compatible with "sun4i-ss". > > Tested-by: Martin Cerveny > Signed-off-by: Martin Cerveny > --- > .../bindings/crypto/allwinner,sun4i-a10-crypto.yaml| 5 - > arch/arm/boot/dts/sun8i-v3s

WARNING: suspicious RCU usage - sdhci-pltfm: SDHCI platform and OF driver helper

2020-08-30 Thread Naresh Kamboju
While booting linux mainline kernel on arm64 db410c this kernel warning noticed. metadata: git branch: master git repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git git commit: f75aef392f869018f78cfedf3c320a6b3fcfda6b git describe: v5.9-rc3 make_kernelversion: 5.9.0

[PATCH v2] net: ipv4: remove unused arg exact_dif in compute_score

2020-08-30 Thread Miaohe Lin
The arg exact_dif is not used anymore, remove it. inet_exact_dif_match() is no longer needed after the above is removed, so remove it too. Signed-off-by: Miaohe Lin --- include/net/tcp.h | 10 -- net/ipv4/inet_hashtables.c | 6 ++ 2 files changed, 2 insertions(+), 14 deleti

Re: [PATCH] block: bio: Trim bio to sensible size in bio_trim()

2020-08-30 Thread linmiaohe
Jens Axboe wrote: >On 8/29/20 3:37 AM, Miaohe Lin wrote: >> Trim bio to sensible size in bio_trim() or something bad may happen. > >This really needs a LOT more detail. What is "something bad"? How does this >condition trigger to begin with? > Many thanks for your reply. I do this mainly by cod

[PATCH v2] net: ipv6: remove unused arg exact_dif in compute_score

2020-08-30 Thread Miaohe Lin
The arg exact_dif is not used anymore, remove it. inet6_exact_dif_match() is no longer needed after the above is removed, remove it too. Signed-off-by: Miaohe Lin --- include/linux/ipv6.h| 11 --- net/ipv6/inet6_hashtables.c | 6 ++ 2 files changed, 2 insertions(+), 15 delet

Re: [PATCH 06/17] virt: acrn: Introduce VM management interfaces

2020-08-30 Thread Shuo A Liu
Hi Greg, On Sun 30.Aug'20 at 9:23:42 +0200, Greg Kroah-Hartman wrote: On Sat, Aug 29, 2020 at 07:04:36PM +0800, Shuo A Liu wrote: On Fri 28.Aug'20 at 12:27:38 +0200, Greg Kroah-Hartman wrote: > On Tue, Aug 25, 2020 at 10:45:06AM +0800, shuo.a@intel.com wrote: > > + default: > > +

Re: [RFC PATCH v2 1/3] add mikrobus descriptors to greybus_manifest

2020-08-30 Thread Zoran Stojsavljevic
Hello Vaishnav, I should say, an excellent work on the greybus_manifest.h file. Actually, my thoughts will be to have a two-stage commit of the whole MikroBUS patch. The first one are these changes with greybus_manifest.h, followed by dependent mikrobus_core.h and mikrobus_manifest.h. These two

Re: [PATCH V2 4/8] mmc: sdhci-msm: Unconditionally call dev_pm_opp_of_remove_table()

2020-08-30 Thread Viresh Kumar
On 28-08-20, 10:43, Ulf Hansson wrote: > On Fri, 28 Aug 2020 at 08:08, Viresh Kumar wrote: > > > > dev_pm_opp_of_remove_table() doesn't report any errors when it fails to > > find the OPP table with error -ENODEV (i.e. OPP table not present for > > the device). And we can call dev_pm_opp_of_remove

Re: [PATCH v3 3/3] riscv: Add cache information in AUX vector

2020-08-30 Thread Zong Li
On Sun, Aug 30, 2020 at 4:01 PM Pekka Enberg wrote: > > On Fri, Aug 28, 2020 at 10:09 AM Zong Li wrote: > > +uintptr_t get_cache_geometry(u32 level, enum cache_type type) > > +{ > > + struct cacheinfo *this_leaf = get_cacheinfo(level, type); > > + uintptr_t ret = (this_leaf->ways_of_a

Re: [f2fs-dev] [PATCH] f2fs: prevent compressed file from being disabled after releasing cblocks

2020-08-30 Thread Chao Yu
On 2020/8/28 13:46, Daeho Jeong wrote: From: Daeho Jeong After releasing cblocks, the compressed file can be accidentally disabled in compression mode, since it has zero cblocks. As we are using IMMUTABLE flag to present released cblocks state, we can add IMMUTABLE state check when considering

kernel hard lockups wit 5.9-rc{2,3}

2020-08-30 Thread Norbert Preining
Dear all, (please Cc) I am seeing hard lockups with 5.9-rc2 and -rc3, while 5.8.N (1,2,3,4,5) work without any problems. THe lockups are hard to debug, since not even Sysrq works anymore. The screen freezes completely, no reaction. Ports are also dead, ssh into the machine is not possible. Hang

Re: [f2fs-dev] [PATCH] f2fs: prevent compressed file from being disabled after releasing cblocks

2020-08-30 Thread Daeho Jeong
I think this patch is enough for now. If you have anything else we should take care, please let me know~ 2020년 8월 31일 (월) 오후 3:08, Chao Yu 님이 작성: > > On 2020/8/31 11:55, Daeho Jeong wrote: > >> - open(O_RDWR) > >> - ioctl(FS_IOC_SETFLAGS, F2FS_COMPR_FL) > >> - write() > >> - ioctl(RELEASE_COMPRESS

Re: [PATCH v3 1/3] riscv: Set more data to cacheinfo

2020-08-30 Thread Zong Li
On Sun, Aug 30, 2020 at 3:54 PM Pekka Enberg wrote: > > Hi, > > On Fri, Aug 28, 2020 at 10:09 AM Zong Li wrote: > > > > Set cacheinfo.{size,sets,line_size} for each cache node, then we can > > get these information from userland through auxiliary vector. > > > > Signed-off-by: Zong Li > > --- >

Re: [PATCH] scsi: pm8001: Fix memleak in pm8001_exec_internal_task_abort

2020-08-30 Thread Jinpu Wang
On Sun, Aug 23, 2020 at 11:15 AM Dinghao Liu wrote: > > When pm8001_tag_alloc() fails, task should be freed just > like what we've done in the subsequent error paths. > > Signed-off-by: Dinghao Liu Thanks! Acked-by: Jack Wang > --- > drivers/scsi/pm8001/pm8001_sas.c | 2 +- > 1 file changed, 1

[PATCH 3/3] cpufreq: arm: Kconfig: add CPUFREQ_DT depend for STI CPUFREQ

2020-08-30 Thread Alain Volmat
The sti cpufreq driver is relying on the CPUFREQ_DT driver hence add the depends within the Kconfig.arm Signed-off-by: Alain Volmat --- drivers/cpufreq/Kconfig.arm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index

Re: [drm/mgag200] 913ec479bb: vm-scalability.throughput 26.2% improvement

2020-08-30 Thread Feng Tang
On Sat, Aug 29, 2020 at 08:06:04PM +0200, Thomas Zimmermann wrote: > > Hello Thomas, > > > > Did drm changes really impact anon-cow-seq-hugetlb performance? > > > > My change c0d0381ade79 ("hugetlbfs: use i_mmap_rwsem for more pmd sharing > > synchronization") caused a -33.4% regression of anon-co

[PATCH 1/3] cpufreq: sti-cpufreq: add stih418 support

2020-08-30 Thread Alain Volmat
The STiH418 can be controlled the same way as STiH407 & STiH410 regarding cpufreq. Signed-off-by: Alain Volmat --- drivers/cpufreq/sti-cpufreq.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/sti-cpufreq.c b/drivers/cpufreq/sti-cpufreq.c index a5ad96d29

[PATCH 2/3] cpufreq: dt-platdev: Blacklist st,stih418 SoC

2020-08-30 Thread Alain Volmat
Add st,stih418 SoC in the blacklist since the cpufreq driver for this platform is already registering the driver. Signed-off-by: Alain Volmat --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufr

[PATCH 0/3] Enable CPUFreq for STi stih418 SoC.

2020-08-30 Thread Alain Volmat
This serie enables cpufreq for the STi stih418 SoC. Alain Volmat (3): cpufreq: sti-cpufreq: add stih418 support cpufreq: dt-platdev: Blacklist st,stih418 SoC cpufreq: arm: Kconfig: add CPUFREQ_DT depend for STI CPUFREQ drivers/cpufreq/Kconfig.arm | 2 +- drivers/cpufreq/cpufreq-dt

[PATCH] MAINTAINERS: add headers and doc to SCHEDULER

2020-08-30 Thread Lukas Bulwahn
Various files in include/linux/sched/ and include/uapi/linux/sched/ are identified as part of THE REST according to MAINTAINERS, but they really belong to SCHEDULER. Add those headers and Documentation to the SCHEDULER section. This was identified with a small script that finds all files belongin

Re: [PATCH v5 7/7] mm: Remove the now-unnecessary mmget_still_valid() hack

2020-08-30 Thread Hugh Dickins
On Thu, 27 Aug 2020, Jann Horn wrote: > The preceding patches have ensured that core dumping properly takes the > mmap_lock. Thanks to that, we can now remove mmget_still_valid() and all > its users. Hi Jann, while the only tears to be shed over losing mmget_still_valid() will be tears of joy, I

Re: [f2fs-dev] [PATCH] f2fs: prevent compressed file from being disabled after releasing cblocks

2020-08-30 Thread Chao Yu
On 2020/8/31 11:55, Daeho Jeong wrote: - open(O_RDWR) - ioctl(FS_IOC_SETFLAGS, F2FS_COMPR_FL) - write() - ioctl(RELEASE_COMPRESS_BLOCKS) -- inode is immutable now - ioctl(FS_IOC_SETFLAGS, ~F2FS_COMPR_FL) -- Should we allow to update immutable inode? as we know, normally, immutable inode should d

Re: [PATCH] arm64: dts: imx8mq: Fix TMU interrupt property

2020-08-30 Thread Shawn Guo
On Sat, Aug 29, 2020 at 01:12:48PM +0200, Krzysztof Kozlowski wrote: > "interrupt" is not a valid property. Using proper name fixes dtbs_check > warning: > > arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dt.yaml: tmu@3026: > 'interrupts' is a required property > > Fixes: e464fd2ba4d

Re: WARNING: at drivers/opp/core.c:678 dev_pm_opp_set_rate+0x4cc/0x5d4 - on arm x15

2020-08-30 Thread Viresh Kumar
On 31-08-20, 11:30, Naresh Kamboju wrote: > On Mon, 31 Aug 2020 at 10:11, Viresh Kumar wrote: > > > > On 28-08-20, 15:42, Naresh Kamboju wrote: > > > Viresh, > > > I have applied the v2 patch series on top of linux next-20200824. > > > and tested again the reported kernel warning is fixed [1] > >

Re: WARNING: at drivers/opp/core.c:678 dev_pm_opp_set_rate+0x4cc/0x5d4 - on arm x15

2020-08-30 Thread Naresh Kamboju
On Mon, 31 Aug 2020 at 10:11, Viresh Kumar wrote: > > On 28-08-20, 15:42, Naresh Kamboju wrote: > > Viresh, > > I have applied the v2 patch series on top of linux next-20200824. > > and tested again the reported kernel warning is fixed [1] > > > > [1] https://lkft.validation.linaro.org/scheduler/j

[PATCH] opp: Prevent memory leak in dev_pm_opp_attach_genpd()

2020-08-30 Thread Viresh Kumar
If dev_pm_opp_attach_genpd() is called multiple times (once for each CPU sharing the table), then it would result in unwanted behavior like memory leak, attaching the domain multiple times, etc. Handle that by checking and returning earlier if the domains are already attached. Now that dev_pm_opp_

Re: [PATCH] arm64: dts: imx8mq-librem5-devkit: Add missing clock-cells to PMIC

2020-08-30 Thread Shawn Guo
On Fri, Aug 28, 2020 at 09:22:28PM +0200, Krzysztof Kozlowski wrote: > The PMIC node can be a clock provider (for its 32 kHz clock) and authors > of imx8mq-librem5-devkit.dts apparently wanted this because they added > input clock and clock-output-names. > > Add necessary clock-cells to the PMIC n

Re: [PATCH 04/10] arm64: dts: freescale: Fix SP805 clock-names

2020-08-30 Thread Shawn Guo
On Fri, Aug 28, 2020 at 02:05:56PM +0100, Andre Przywara wrote: > The SP805 binding sets the order of the clock-names to be: "wdog_clk", > "apb_pclk" (in exactly that order). > > Change the order in the DTs for Freescale platforms to match that. The > two clocks given in all nodes are actually the

Re: [PATCH] opp: Drop unnecessary check frmo dev_pm_opp_attach_genpd()

2020-08-30 Thread Viresh Kumar
On 27-08-20, 14:14, Stephan Gerhold wrote: > Only partially related to this patch, but actually I noticed that > dev_pm_opp_attach_genpd() does not work correctly if it is called > multiple times. > > For example, qcom-cpufreq-nvmem calls this for every CPU because it is > not aware that the OPP t

Re: [RFC PATCH v3 0/2] Add Krait Cache Scaling support

2020-08-30 Thread Sibi Sankar
On 2020-08-24 16:10, Viresh Kumar wrote: +Vincent/Saravana/Sibi On 21-08-20, 16:00, Ansuel Smith wrote: This adds Krait Cache scaling support using the cpufreq notifier. I have some doubt about where this should be actually placed (clk or cpufreq)? Also the original idea was to create a dedica

Re: [PATCH] scripts: Add intended executable mode and SPDX license

2020-08-30 Thread Lukas Bulwahn
On Sun, 30 Aug 2020, Andrew Morton wrote: > On Thu, 27 Aug 2020 14:54:05 +0530 Mrinal Pandey wrote: > > > commit b72231eb7084 ("scripts: add spdxcheck.py self test") added the file > > spdxcheck-test.sh to the repository without the executable flag and license > > information. > > The x bit

Re: [PATCH v4] dt-bindings: nvmem: Add syscon to Vybrid OCOTP driver

2020-08-30 Thread Shawn Guo
On Mon, Aug 24, 2020 at 08:04:06PM -0700, Chris Healy wrote: > From: Chris Healy > > Add syscon compatibility with Vybrid OCOTP driver binding. This is > required to access the UID. > > Fixes: 623069946952 ("nvmem: Add DT binding documentation for Vybrid > OCOTP driver") > Cc: sta...@vger.kernel

Re: [PATCH v4 1/4] dt-bindings: arm: fsl: Add binding for Variscite VAR-SOM-MX8MM module

2020-08-30 Thread Shawn Guo
On Mon, Aug 24, 2020 at 09:18:16PM +0200, Krzysztof Kozlowski wrote: > Add a binding for the Variscite VAR-SOM-MX8MM System on Module. > > Signed-off-by: Krzysztof Kozlowski Applied all, thanks.

Re: [PATCH v6] arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)

2020-08-30 Thread Amit Pundir
Hi Konrad, I couldn't find answer to your question around missing (regulatorname)-supply properties. Need help in figuring out that part. Regards, Amit Pundir On Mon, 31 Aug 2020 at 10:54, Amit Pundir wrote: > > Add initial dts support for Xiaomi Poco F1 (Beryllium). > > This initial support is

Re: nouveau PUSHBUFFER_ERR on 5.9.0-rc2-next-20200824

2020-08-30 Thread Alexander Kapshuk
On Mon, Aug 31, 2020 at 7:30 AM Ben Skeggs wrote: > > On Tue, 25 Aug 2020 at 17:21, Alexander Kapshuk > wrote: > > > > Since upgrading to linux-next based on 5.9.0-rc1 and 5.9.0-rc2 I have > > had my mouse pointer disappear soon after logging in, and I have > > observed the system freezing tempor

Re: [PATCH] usb: gadget: net2272: assert for a valid dma request

2020-08-30 Thread Greg KH
On Sun, Aug 30, 2020 at 11:36:46AM -0700, t...@redhat.com wrote: > From: Tom Rix > > clang static analysis flags this representive problem > > net2272.c:1541:8: warning: Dereference of null pointer > if ((req->req.length % ep->ep.maxpacket != 0) || > ^~~ > This is mostly

Re: [PATCH v2 08/19] arm64: dts: imx8mm-evk: Add 32.768 kHz clock to PMIC

2020-08-30 Thread Vaittinen, Matti
On Fri, 2020-08-28 at 18:47 +0200, Krzysztof Kozlowski wrote: > The ROHM BD71847 PMIC has a 32.768 kHz clock. Adding necessary > parent > allows to probe the bd718x7 clock driver fixing boot errors: > > bd718xx-clk bd71847-clk.1.auto: No parent clk found > bd718xx-clk: probe of bd71847-c

Re: [PATCH 01/10] dt-bindings: watchdog: sp-805: Convert to Json-schema

2020-08-30 Thread Viresh Kumar
On 28-08-20, 14:05, Andre Przywara wrote: > Convert the ARM SP-805 watchdog IP DT binding over to Json-schema. > > A straight-forward conversion, but the requirement for providing two > clocks got strengthened from "should" to "must". > > Signed-off-by: Andre Przywara > --- > .../bindings/watch

Re: [PATCH v2 1/2] cper, apei, mce: Pass x86 CPER through the MCA handling chain

2020-08-30 Thread Punit Agrawal
Hi Smita, A couple of comments below - Smita Koralahalli writes: > Linux Kernel uses ACPI Boot Error Record Table (BERT) to report fatal > errors that occurred in a previous boot. The MCA errors in the BERT are > reported using the x86 Processor Error Common Platform Error Record (CPER) > forma

Re: [PATCH v2 11/19] arm64: dts: imx8mn-ddr4-evk: Align regulator names with schema

2020-08-30 Thread Vaittinen, Matti
On Fri, 2020-08-28 at 18:47 +0200, Krzysztof Kozlowski wrote: > Device tree schema expects regulator names to be lowercase. Changing > to > lowercase has multiple effects: > 1. LDO6 supply is now properly configured, because regulator driver >looks for supplies by lowercase name, > 2. User-vi

[PATCH v6] arm64: dts: qcom: Add support for Xiaomi Poco F1 (Beryllium)

2020-08-30 Thread Amit Pundir
Add initial dts support for Xiaomi Poco F1 (Beryllium). This initial support is based on upstream Dragonboard 845c (sdm845) device. With this dts, Beryllium boots AOSP up to ADB shell over USB-C. Supported functionality includes UFS, USB-C (peripheral), microSD card and Vol+/Vol-/power keys. Blue

[tip:x86/urgent] BUILD SUCCESS 784a0830377d0761834e385975bc46861fea9fa0

2020-08-30 Thread kernel test robot
allmodconfig powerpc defconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a002-20200830 x86_64 randconfig-a005-20200830 x86_64

Re: [PATCH v2] Documentation: submit-checklist: add clean builds for new Documentation

2020-08-30 Thread Mike Rapoport
On Sun, Aug 30, 2020 at 05:43:54PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Add to Documentation/process/submit-checklist.rst that patch > submitters should run "make htmldocs" and verify that any > Documentation/ changes (patches) are clean (no new warnings/errors). > > Signed-off-by

Re: [PATCH] mmc: sdhci-msm: When dev_pm_opp_of_add_table() returns 0 it's not an error

2020-08-30 Thread Viresh Kumar
On 28-08-20, 07:56, Doug Anderson wrote: > I've confirmed that the current mmc/next (with Viresh's new patch) no > longer breaks me. :-) > > $ git show --format=fuller linux_mmc/next | head -8 > commit 174e889d08aa54219b841464458f81d13fafec93 > Merge: c282fdb49b18 8048822bac01 > Author: Ulf H

Re: Kernel panic : Unable to handle kernel paging request at virtual address - dead address between user and kernel address ranges

2020-08-30 Thread Viresh Kumar
On 28-08-20, 14:23, Ulf Hansson wrote: > Anders, Naresh - thanks for testing and reporting. I am dropping the > patch from my tree. > > Viresh, I suggest to keep Anders/Naresh in the cc, for the next > version. Then I can wait for their tested-by tag before I apply again. Sorry for the trouble, I

[PATCH v2 02/12] clk: tegra: don't enable PLLE HW sequencer at init

2020-08-30 Thread JC Kuo
PLLE hardware power sequencer references PEX/SATA UPHY PLL hardware power sequencers' output to enable/disable PLLE. PLLE hardware power sequencer has to be enabled only after PEX/SATA UPHY PLL's sequencers are enabled. Signed-off-by: JC Kuo --- drivers/clk/tegra/clk-pll.c | 12 1 f

[PATCH v2 07/12] arm64: tegra210: XUSB PADCTL add "nvidia,pmc" prop

2020-08-30 Thread JC Kuo
PMC driver provides USB sleepwalk registers access to XUSB PADCTL driver. This commit adds a "nvidia,pmc" property which points to PMC node to XUSB PADCTL device node. Signed-off-by: JC Kuo --- arch/arm64/boot/dts/nvidia/tegra210.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm6

[PATCH v2 06/12] soc/tegra: pmc: provide usb sleepwalk register map

2020-08-30 Thread JC Kuo
This commit implements a register map which grants USB (UTMI and HSIC) sleepwalk registers access to USB phy drivers. The USB sleepwalk logic is in PMC hardware block but USB phy drivers have the best knowledge of proper programming sequence. This approach prevents using custom pmc APIs. Signed-of

[PATCH v2 03/12] phy: tegra: xusb: t210: rearrange UPHY init

2020-08-30 Thread JC Kuo
This commit is a preparation for enabling XUSB SC7 support. It rearranges Tegra210 XUSB PADCTL UPHY initialization sequence, for the following reasons: 1. PLLE hardware power sequencer has to be enabled only after both PEX UPHY PLL and SATA UPHY PLL are initialized. tegra210_uphy_init() -> t

Re: WARNING: at drivers/opp/core.c:678 dev_pm_opp_set_rate+0x4cc/0x5d4 - on arm x15

2020-08-30 Thread Viresh Kumar
On 28-08-20, 15:42, Naresh Kamboju wrote: > Viresh, > I have applied the v2 patch series on top of linux next-20200824. > and tested again the reported kernel warning is fixed [1] > > [1] https://lkft.validation.linaro.org/scheduler/job/1717615#L1881 Hi Naresh, You meant this one ? [PATCH V2 4/

[PATCH v2 11/12] usb: host: xhci-tegra: unlink power domain devices

2020-08-30 Thread JC Kuo
This commit unlinks xhci-tegra platform device with ss/host power domain devices. Reasons for this change is - at elpg entry, phy sleepwalk and wake configuration need to be done before powering down ss/host partitions, and phy need be powered off after powering down ss/host partitions. Sequence lo

[PATCH v2 09/12] phy: tegra: xusb: t186: support wake and sleepwalk

2020-08-30 Thread JC Kuo
This commit implements Tegra186/Tegra194 XUSB PADCTL/AO wake and sleepwalk operations. Signed-off-by: JC Kuo --- drivers/phy/tegra/xusb-tegra186.c | 656 ++ 1 file changed, 656 insertions(+) diff --git a/drivers/phy/tegra/xusb-tegra186.c b/drivers/phy/tegra/xusb-teg

[PATCH v2 05/12] phy: tegra: xusb: add sleepwalk and suspend/resume

2020-08-30 Thread JC Kuo
This commit adds sleepwalk/wake and suspend/resume interfaces to Tegra XUSB PHY driver. Tegra XUSB host controller driver makes use of sleepwalk functions to enable/disable sleepwalk circuit which is in always-on partition can respond to USB resume signals when controller is not powered. Sleepwalk

[PATCH v2 12/12] xhci: tegra: enable ELPG for runtime/system PM

2020-08-30 Thread JC Kuo
This commit implements the complete programming sequence for ELPG entry and exit. 1. At ELPG entry, invokes tegra_xusb_padctl_enable_phy_sleepwalk() and tegra_xusb_padctl_enable_phy_wake() to configure XUSB PADCTL sleepwalk and wake detection circuits to maintain USB lines level and r

[PATCH v2 08/12] phy: tegra: xusb: t210: support wake and sleepwalk

2020-08-30 Thread JC Kuo
This commit implements Tegra210 XUSB PADCTL wake and sleepwalk routines. Sleepwalk logic is in PMC (always-on) hardware block. PMC driver provides managed access to the sleepwalk registers via regmap framework. Signed-off-by: JC Kuo --- drivers/phy/tegra/xusb-tegra210.c | 1094 ++

[PATCH v2 01/12] clk: tegra: Add PLLE HW power sequencer control

2020-08-30 Thread JC Kuo
PLLE has a hardware power sequencer logic which is a state machine that can power on/off PLLE without any software intervention. The sequencer has two inputs, one from XUSB UPHY PLL and the other from SATA UPHY PLL. PLLE provides reference clock to XUSB and SATA UPHY PLLs. When both of the downstre

[PATCH v2 10/12] arm64: tegra210/tegra186/tegra194: XUSB PADCTL irq

2020-08-30 Thread JC Kuo
This commit adds "interrupts" property to Tegra210/Tegra186/Tegra194 XUSB PADCTL node. XUSB PADCTL interrupt will be raised when USB wake event happens. This is required for supporting XUSB host controller ELPG. Signed-off-by: JC Kuo --- arch/arm64/boot/dts/nvidia/tegra186.dtsi | 1 + arch/arm64

[PATCH v2 04/12] phy: tegra: xusb: t210: add lane_iddq operations

2020-08-30 Thread JC Kuo
As per Tegra210 TRM, before changing lane assignments, driver should keep lanes in IDDQ and sleep state; after changing lane assignments, driver should bring lanes out of IDDQ. This commit implements the required operations. Signed-off-by: JC Kuo --- drivers/phy/tegra/xusb-tegra210.c | 94 ++

[PATCH v2 00/12] Tegra XHCI controller ELPG support

2020-08-30 Thread JC Kuo
Tegra XHCI controler can be placed in ELPG (Engine Level PowerGated) state for power saving when all of the connected USB devices are in suspended state. This patch series includes clk, phy and pmc changes that are required for properly place controller in ELPG and bring controller out of ELPG. JC

Re: [PATCH 3/3] ARM: tegra: Pass multiple versions in opp-supported-hw property

2020-08-30 Thread Viresh Kumar
On 28-08-20, 10:37, Dmitry Osipenko wrote: > 26.08.2020 14:50, Viresh Kumar пишет: > > We can now pass multiple versions in "opp-supported-hw" property, lets > > do that and simplify the tables a bit. > > > > Signed-off-by: Viresh Kumar > > > > --- > > Dmitry, I think there is further scope of s

Re: ..and its built and boot without fuss!! Linux 5.9-rc3

2020-08-30 Thread Bhaskar Chowdhury
On 16:56 Sun 30 Aug 2020, Linus Torvalds wrote: On Sun, Aug 30, 2020 at 4:47 PM Sasha Levin wrote: Is it possible you've forgotten to push? I don't see the tag/5.9-rc3 commit in your repo. Indeed. Thanks for noticing. Fixed, Linus Something trivial for your eyes!! [3.21803

Re: [PATCH v1 09/10] powerpc/pseries/iommu: Make use of DDW even if it does not map the partition

2020-08-30 Thread Alexey Kardashevskiy
On 29/08/2020 04:36, Leonardo Bras wrote: > On Mon, 2020-08-24 at 15:17 +1000, Alexey Kardashevskiy wrote: >> >> On 18/08/2020 09:40, Leonardo Bras wrote: >>> As of today, if the biggest DDW that can be created can't map the whole >>> partition, it's creation is skipped and the default DMA windo

Re: [PATCH v1 08/10] powerpc/pseries/iommu: Add ddw_property_create() and refactor enable_ddw()

2020-08-30 Thread Alexey Kardashevskiy
On 29/08/2020 01:25, Leonardo Bras wrote: > On Mon, 2020-08-24 at 15:07 +1000, Alexey Kardashevskiy wrote: >> >> On 18/08/2020 09:40, Leonardo Bras wrote: >>> Code used to create a ddw property that was previously scattered in >>> enable_ddw() is now gathered in ddw_property_create(), which deal

Re: nouveau PUSHBUFFER_ERR on 5.9.0-rc2-next-20200824

2020-08-30 Thread Ben Skeggs
On Tue, 25 Aug 2020 at 17:21, Alexander Kapshuk wrote: > > Since upgrading to linux-next based on 5.9.0-rc1 and 5.9.0-rc2 I have > had my mouse pointer disappear soon after logging in, and I have > observed the system freezing temporarily when clicking on objects and > when typing text. > I have a

Re: [PATCH 2/2] cpufreq: s5pv210: Use dev_err instead of pr_err in probe

2020-08-30 Thread Viresh Kumar
On 26-08-20, 18:00, Krzysztof Kozlowski wrote: > dev_err() allows easily to identify the device printing the message so > no need for __func__. > > Signed-off-by: Krzysztof Kozlowski > --- > drivers/cpufreq/s5pv210-cpufreq.c | 14 +- > 1 file changed, 5 insertions(+), 9 deletions(-)

Re: [Nouveau] [PATCH 1/2] drm/nouveau/kms/nv50-: Program notifier offset before requesting disp caps

2020-08-30 Thread Ben Skeggs
On Wed, 26 Aug 2020 at 02:52, Lyude Paul wrote: > > On Tue, 2020-08-25 at 08:28 +1000, Ben Skeggs wrote: > > On Tue, 25 Aug 2020 at 04:33, Lyude Paul wrote: > > > Not entirely sure why this never came up when I originally tested this > > > (maybe some BIOSes already have this setup?) but the ->ca

[PATCH] dma-buf: fix kernel-doc warning in

2020-08-30 Thread Randy Dunlap
Fix kernel-doc warning in : ../include/linux/dma-buf.h:330: warning: Function parameter or member 'name_lock' not described in 'dma_buf' Signed-off-by: Randy Dunlap Cc: Sumit Semwal Cc: Gustavo Padovan Cc: Christian König Cc: linux-me...@vger.kernel.org Cc: dri-de...@lists.freedesktop.org --

[PATCH] dma-buf: fix kernel-doc warning in dma-fence.c

2020-08-30 Thread Randy Dunlap
Add @cookie to dma_fence_end_signalling() to prevent kernel-doc warning in drivers/dma-buf/dma-fence.c: ../drivers/dma-buf/dma-fence.c:291: warning: Function parameter or member 'cookie' not described in 'dma_fence_end_signalling' Signed-off-by: Randy Dunlap Cc: Sumit Semwal Cc: Gustavo Padova

[PATCH] MAINTAINERS: step down as maintainer of UniPhier SoCs and Denali driver

2020-08-30 Thread Masahiro Yamada
I am leaving Socionext. Orphan the UniPhier platform and Denali NAND driver until somebody takes the role. Signed-off-by: Masahiro Yamada --- I hope this can be applied to the ARM-SOC tree. MAINTAINERS | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAI

Re: [PATCH] iomap: Fix the write_count in iomap_add_to_ioend().

2020-08-30 Thread Ming Lei
On Tue, Aug 25, 2020 at 10:49:17AM -0400, Brian Foster wrote: > cc Ming > > On Tue, Aug 25, 2020 at 10:42:03AM +1000, Dave Chinner wrote: > > On Mon, Aug 24, 2020 at 11:48:41AM -0400, Brian Foster wrote: > > > On Mon, Aug 24, 2020 at 04:04:17PM +0100, Christoph Hellwig wrote: > > > > On Mon, Aug 2

Re: [PATCH 08/10] ARM: dts: Cygnus: Fix SP805 clocks

2020-08-30 Thread Florian Fainelli
On 8/30/2020 8:55 PM, Florian Fainelli wrote: On Fri, 28 Aug 2020 14:06:00 +0100, Andre Przywara wrote: The SP805 DT binding requires two clocks to be specified, but the Broadcom Cygnus DT currently only specifies one clock. In practice, Linux would pick a clock named "apb_pclk" for the bu

Re: [PATCH 03/10] arm64: dts: broadcom: Fix SP805 clock-names

2020-08-30 Thread Florian Fainelli
On Fri, 28 Aug 2020 14:05:55 +0100, Andre Przywara wrote: > The SP805 binding sets the name for the actual watchdog clock to > "wdog_clk" (with an underscore). > > Change the name in the DTs for Broadcom platforms to match that. The > Linux and U-Boot driver use the *first* clock for this purpos

Re: [PATCH 09/10] ARM: dts: NSP: Fix SP805 clock-names

2020-08-30 Thread Florian Fainelli
On Fri, 28 Aug 2020 14:06:01 +0100, Andre Przywara wrote: > The SP805 binding sets the name for the actual watchdog clock to > "wdog_clk" (with an underscore). > > Change the name in the DTs for the Broadcom NSP platform to match that. > The Linux and U-Boot driver use the *first* clock for this

Re: [f2fs-dev] [PATCH] f2fs: prevent compressed file from being disabled after releasing cblocks

2020-08-30 Thread Daeho Jeong
> - open(O_RDWR) > - ioctl(FS_IOC_SETFLAGS, F2FS_COMPR_FL) > - write() > - ioctl(RELEASE_COMPRESS_BLOCKS) -- inode is immutable now > - ioctl(FS_IOC_SETFLAGS, ~F2FS_COMPR_FL) -- Should we allow to update > immutable inode? > as we know, normally, immutable inode should deny open(O_WRONLY or O_RDWR

Re: [PATCH 08/10] ARM: dts: Cygnus: Fix SP805 clocks

2020-08-30 Thread Florian Fainelli
On Fri, 28 Aug 2020 14:06:00 +0100, Andre Przywara wrote: > The SP805 DT binding requires two clocks to be specified, but the > Broadcom Cygnus DT currently only specifies one clock. > > In practice, Linux would pick a clock named "apb_pclk" for the bus > clock, and the Linux and U-Boot SP805 dr

[PATCH 8/9] ASoC: sun8i-codec: Attach the bus clock to the regmap

2020-08-30 Thread Samuel Holland
When attached to the regmap, the bus clock is automatically enabled as needed to access device registers. This avoids needing code to manage it separately in the driver. Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun8i-codec.c | 21 ++--- 1 file changed, 2 insertions(+), 1

[PATCH 6/9] ASoC: sun8i-codec: Fix field bit number indentation

2020-08-30 Thread Samuel Holland
Several fields have inconsistent indentation, presumably because the patch "looked correct" due to the additional "+" character at the beginning of the line. Acked-by: Chen-Yu Tsai Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun8i-codec.c | 14 +++--- 1 file changed, 7 insertions(

[PATCH 9/9] ASoC: sun8i-codec: Manage module clock via DAPM

2020-08-30 Thread Samuel Holland
By representing the module clock as a DAPM widget, we ensure that the clock is only enabled when the module is actually in use, without additional code in runtime PM hooks. Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun8i-codec.c | 19 +-- 1 file changed, 5 insertions(+),

[PATCH 2/9] ASoC: sun8i-codec: Fix AIF1 MODCLK widget name

2020-08-30 Thread Samuel Holland
The name should reference "AIF1", not "AFI1". Acked-by: Chen-Yu Tsai Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun8i-codec.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c index 52ef0f9ec79e.

[PATCH 3/9] ASoC: sun8i-codec: Fix AIF1_ADCDAT_CTRL field names

2020-08-30 Thread Samuel Holland
They are controlling "AD0" (AIF1 slot 0 ADC), not "DA0". Acked-by: Chen-Yu Tsai Signed-off-by: Samuel Holland --- sound/soc/sunxi/sun8i-codec.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c index 263c1e7

Re: memory leak in do_seccomp

2020-08-30 Thread syzbot
syzbot has found a reproducer for the following issue on: HEAD commit:dcc5c6f0 Merge tag 'x86-urgent-2020-08-30' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10b297d590 kernel config: https://syzkaller.appspot.com/x/.config?x=903b9fe

[PATCH 1/9] ASoC: sun8i-codec: Remove extraneous widgets

2020-08-30 Thread Samuel Holland
This driver is for the digital part of the codec only. The analog part, including the microphone inputs, is managed by a separate driver. These widgets look like they were copied from sun4i-codec. Since they do not perform any function in this driver, remove them. Reviewed-by: Chen-Yu Tsai Signed

  1   2   3   4   5   6   >