[PATCH v2] scsi: ufs: ti-j721e-ufs: Fix error return in ti_j721e_ufs_probe()

2020-08-06 Thread Jing Xiangfeng
Fix to return error code PTR_ERR() from the error handling case instead of 0. Fixes: 22617e216331 ("scsi: ufs: ti-j721e-ufs: Fix unwinding of pm_runtime changes") Signed-off-by: Jing Xiangfeng --- drivers/scsi/ufs/ti-j721e-ufs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/scsi/u

[PATCH v4] perf test: Introduce script for Arm CoreSight testing

2020-08-06 Thread Leo Yan
We need a simple method to test Perf with Arm CoreSight drivers, this could be used for smoke testing when new patch is coming for perf or CoreSight drivers, and we also can use the test to confirm if the CoreSight has been enabled successfully on new platforms. This patch introduces the shell scr

RE: [PATCH v2] scsi: ufs: ti-j721e-ufs: Fix error return in ti_j721e_ufs_probe()

2020-08-06 Thread Avri Altman
> > Fix to return error code PTR_ERR() from the error handling case instead > of 0. > > Fixes: 22617e216331 ("scsi: ufs: ti-j721e-ufs: Fix unwinding of pm_runtime > changes") > Signed-off-by: Jing Xiangfeng Reviewed-by: Avri Altman

Re: KASAN: use-after-free Read in __cfg8NUM_wpan_dev_from_attrs (2)

2020-08-06 Thread syzbot
syzbot suspects this issue was fixed by commit: commit bf64ff4c2aac65d680dc639a511c781cf6b6ec08 Author: Cong Wang Date: Sat Jun 27 07:12:24 2020 + genetlink: get rid of family->attrbuf bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1206949490 start commit: e44f65fd

[PATCH] MIPS: Introduce cmdline argument writecombine=

2020-08-06 Thread Tiezhu Yang
Loongson processors have a writecombine issue that maybe failed to write back framebuffer used with ATI Radeon or AMD GPU at times, after commit 8a08e50cee66 ("drm: Permit video-buffers writecombine mapping for MIPS"), there exists some errors such as blurred screen and lockup, and so on. With thi

Re: [PATCH] docs: remove the 2.6 "Upgrading I2C Drivers" guide

2020-08-06 Thread Stephen Kitt
Hi Wolfram, On Wed, 5 Aug 2020 23:53:51 +0200, Wolfram Sang wrote: > On Wed, Aug 05, 2020 at 08:31:49PM +0200, Stephen Kitt wrote: > > All the drivers have long since been upgraded, and all the important > > information here is also included in the "Implementing I2C device > > drivers" guide. > >

RE: [PATCH v3 3/4] fpga: dfl: create a dfl bus type to support DFL devices

2020-08-06 Thread Wu, Hao
> > > +static int dfl_bus_uevent(struct device *dev, struct kobj_uevent_env > *env) > > > +{ > > > +struct dfl_device *ddev = to_dfl_dev(dev); > > > + > > > +return add_uevent_var(env, "MODALIAS=dfl:t%08Xf%04X", > > > + ddev->type, ddev->feature_id); > > > > Then we only print 12bit of feature

Re: [PATCH] arm64: tlb: fix ARM64_TLB_RANGE with LLVM's integrated assembler

2020-08-06 Thread Zhenyu Ye
Hi, On 2020/8/6 2:19, Sami Tolvanen wrote: > Commit 7c78f67e9bd9 ("arm64: enable tlbi range instructions") breaks > LLVM's integrated assembler, because -Wa,-march is only passed to > external assemblers and therefore, the new instructions are not enabled > when IAS is used. > I have looked thro

Re: [PATCH v7 0/4] scsi: ufs: Add Host Performance Booster Support

2020-08-06 Thread Can Guo
Hi Daejun, On 2020-08-05 11:37, Daejun Park wrote: Changelog: v6 -> v7 1. Remove UFS feature layer. 2. Cleanup for sparse error. v5 -> v6 Change base commit to b53293fa662e28ae0cdd40828dc641c09f133405 v4 -> v5 Delete unused macro define. v3 -> v4 1. Cleanup. v2 -> v3 1. Add checking input m

[PATCH v1 0/2] video: fbdev: radeonfb: PCI PM framework upgrade and fix-ups.

2020-08-06 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The original goal of the patch series is to upgrade the power management framework of radeonfb fbdev driver. This has been done by upgrading .suspend() and .resume() callbacks. The upgrade makes sure that the involvement of PCI Core does not c

[PATCH] mtd: rawnand: vf610: disable clk on error handling path in probe

2020-08-06 Thread Evgeny Novikov
vf610_nfc_probe() does not invoke clk_disable_unprepare() on one error handling path. The patch fixes that. Found by Linux Driver Verification project (linuxtesting.org). Fixes: 6f0ce4dfc5a3 ("mtd: rawnand: vf610: Avoid a potential NULL pointer dereference") Signed-off-by: Evgeny Novikov --- d

Re: [PATCH v2 19/24] vdpa: make sure set_features in invoked for legacy

2020-08-06 Thread Jason Wang
On 2020/8/6 下午1:53, Michael S. Tsirkin wrote: On Thu, Aug 06, 2020 at 11:23:05AM +0800, Jason Wang wrote: On 2020/8/5 下午7:40, Michael S. Tsirkin wrote: On Wed, Aug 05, 2020 at 02:14:07PM +0800, Jason Wang wrote: On 2020/8/4 上午5:00, Michael S. Tsirkin wrote: Some legacy guests just assume fe

[PATCH v1 0/2] video: fbdev: radeonfb: PCI PM framework upgrade and fix-ups.

2020-08-06 Thread Vaibhav Gupta
Linux Kernel Mentee: Remove Legacy Power Management. The original goal of the patch series is to upgrade the power management framework of radeonfb fbdev driver. This has been done by upgrading .suspend() and .resume() callbacks. The upgrade makes sure that the involvement of PCI Core does not c

Re: [Patch v2] mm/sparse: only sub-section aligned range would be populated

2020-08-06 Thread David Hildenbrand
On 05.08.20 23:49, Wei Yang wrote: > On Fri, Jul 03, 2020 at 11:18:28AM +0800, Wei Yang wrote: >> There are two code path which invoke __populate_section_memmap() >> >> * sparse_init_nid() >> * sparse_add_section() >> >> For both case, we are sure the memory range is sub-section aligned. >> >> *

[PATCH v1 1/2] video: fbdev: aty: radeon_pm: remove redundant CONFIG_PM container

2020-08-06 Thread Vaibhav Gupta
Fixes commit 42ddb453a0cd ("radeon: Conditionally compile PM code") Before the above mentioned patch, codes between the line number 547 and 2803 were already inside "#ifdef CONFIG_PM" container. Thus, addition of "#if defined(CONFIG_PM)" was not required in the patch. It also affected the "#ifdef

[PATCH v1 2/2] fbdev: radeonfb:use generic power management

2020-08-06 Thread Vaibhav Gupta
Drivers using legacy PCI power management .suspend()/.resume() callbacks have to manage PCI states and device's PM states themselves. They also need to take care of standard configuration registers. Switch to generic power management framework using a "struct dev_pm_ops" variable to take the unnec

Re: [PATCH] sound: isa: delete repeated words in comments

2020-08-06 Thread Takashi Iwai
On Thu, 06 Aug 2020 04:19:16 +0200, Randy Dunlap wrote: > > Drop duplicated words in sound/isa/. > {be, bit} > > Signed-off-by: Randy Dunlap > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: alsa-de...@alsa-project.org Thanks, applied. Takashi

[Patch v2 1/4] dt-bindings: dma: Add DT binding document

2020-08-06 Thread Rajesh Gumasta
Add DT binding document for Nvidia Tegra GPCDMA controller. Signed-off-by: Rajesh Gumasta --- .../bindings/dma/nvidia,tegra-gpc-dma.yaml | 99 ++ 1 file changed, 99 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/nvidia,tegra-gpc-dma.yaml dif

[Patch v2 2/4] dmaengine: tegra: Add Tegra GPC DMA driver

2020-08-06 Thread Rajesh Gumasta
Adding GPC DMA controller driver for Tegra186 and Tegra194. The driver supports dma transfers between memory to memory, IO peripheral to memory and memory to IO peripheral. Signed-off-by: Pavan Kunapuli Signed-off-by: Rajesh Gumasta --- drivers/dma/Kconfig | 12 + drivers/dma/Makefile

Re: [PATCH] sound: pci: delete repeated words in comments

2020-08-06 Thread Takashi Iwai
On Thu, 06 Aug 2020 04:19:26 +0200, Randy Dunlap wrote: > > Drop duplicated words in sound/pci/. > {and, the, at} > > Signed-off-by: Randy Dunlap > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Cc: alsa-de...@alsa-project.org > Cc: Clemens Ladisch Thanks, applied. Takashi

[Patch v2 0/4] Add Nvidia Tegra GPC-DMA driver

2020-08-06 Thread Rajesh Gumasta
Changes in patch v2: Addressed review comments in patch v1 v1 - https://lkml.org/lkml/2020/7/20/96 Rajesh Gumasta (4): dt-bindings: dma: Add DT binding document dmaengine: tegra: Add Tegra GPC DMA driver arm64: configs: enable tegra gpc dma arm64: tegra: Add GPCDMA node in dt .../bindin

[Patch v2 3/4] arm64: configs: enable tegra gpc dma

2020-08-06 Thread Rajesh Gumasta
Enable TEGRA_GPC_DMA in defconfig for Tegra186 and Tegra196 gpc dma controller driver Signed-off-by: Rajesh Gumasta --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 883e8ba..600f568 100644 --- a

[Patch v2 4/4] arm64: tegra: Add GPCDMA node in dt

2020-08-06 Thread Rajesh Gumasta
Add device tree node for GPCDMA controller on Tegra186 target and Tegra194 target. Signed-off-by: Rajesh Gumasta --- arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 4 +++ arch/arm64/boot/dts/nvidia/tegra186.dtsi | 46 ++ arch/arm64/boot/dts/nvidia/tegra194.dtsi

Re: [PATCH] drm/amdgpu: fix spelling mistake "Falied" -> "Failed"

2020-08-06 Thread daniel
On Thu, Aug 06, 2020 at 09:36:41AM +1000, Stephen Rothwell wrote: > Hi all, > > On Wed, 05 Aug 2020 15:19:38 -0700 Joe Perches wrote: > > > > On Wed, 2020-08-05 at 17:27 -0400, Alex Deucher wrote: > > > On Wed, Aug 5, 2020 at 4:53 PM Joe Perches wrote: > > > > On Wed, 2020-08-05 at 16:01 -0400

Re: [PATCH] MIPS: Introduce cmdline argument writecombine=

2020-08-06 Thread Jiaxun Yang
在 2020/8/6 下午3:09, Tiezhu Yang 写道: Loongson processors have a writecombine issue that maybe failed to write back framebuffer used with ATI Radeon or AMD GPU at times, after commit 8a08e50cee66 ("drm: Permit video-buffers writecombine mapping for MIPS"), there exists some errors such as blurred

Re: [PATCH v17 17/21] mm/lru: replace pgdat lru_lock with lruvec lock

2020-08-06 Thread Alex Shi
Hi Johannes, Michal, >From page to its lruvec, a few memory access under lock cause extra cost. Would you like to save the per memcg lruvec pointer to page->private? Thanks Alex 在 2020/7/25 下午8:59, Alex Shi 写道: > /** > * mem_cgroup_page_lruvec - return lruvec for isolating/putting an LRU pa

[PATCH] loop: unset GENHD_FL_NO_PART_SCAN on LOOP_CONFIGURE

2020-08-06 Thread Lennart Poettering
When LOOP_CONFIGURE is used with LO_FLAGS_PARTSCAN we need to propagate this into the GENHD_FL_NO_PART_SCAN. LOOP_SETSTATUS does this, LOOP_CONFIGURE doesn't so far. Effect is that setting up a loopback device with partition scanning doesn't actually work when LOOP_CONFIGURE is issued, though it wo

[PATCH] ASoC: fsl-asoc-card: Get "extal" clock rate by clk_get_rate

2020-08-06 Thread Shengjiu Wang
On some platform(.e.g. i.MX8QM MEK), the "extal" clock is different with the mclk of codec, then the clock rate is also different. So it is better to get clock rate of "extal" rate by clk_get_rate, don't reuse the clock rate of mclk. Signed-off-by: Shengjiu Wang --- sound/soc/fsl/fsl-asoc-card.c

Re: [PATCH v4] mm/hugetlb: add mempolicy check in the reservation routine

2020-08-06 Thread Muchun Song
On Tue, Jul 28, 2020 at 11:49 AM Muchun Song wrote: > > In the reservation routine, we only check whether the cpuset meets > the memory allocation requirements. But we ignore the mempolicy of > MPOL_BIND case. If someone mmap hugetlb succeeds, but the subsequent > memory allocation may fail due to

Re: [PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers

2020-08-06 Thread Marco Elver
On Wed, Aug 05, 2020 at 07:31PM +0200, Marco Elver wrote: ... > Oh well, it seems that KCSAN on syzbot still crashes even with this > "fix". It's harder to reproduce though, and I don't have a clear > reproducer other than "fuzz the kernel" right now. I think the new IRQ > state tracking code is st

Re: [PATCH] drivers/net/wan/lapbether: Added needed_headroom and a skb->len check

2020-08-06 Thread Willem de Bruijn
On Thu, Aug 6, 2020 at 3:51 AM Xie He wrote: > > 1. Added a skb->len check > > This driver expects upper layers to include a pseudo header of 1 byte > when passing down a skb for transmission. This driver will read this > 1-byte header. This patch added a skb->len check before reading the > header

[PATCH net-next] hinic: fix strncpy output truncated compile warnings

2020-08-06 Thread Luo bin
fix the compile warnings of 'strncpy' output truncated before terminating nul copying N bytes from a string of the same length Signed-off-by: Luo bin Reported-by: kernel test robot --- drivers/net/ethernet/huawei/hinic/hinic_devlink.c | 8 1 file changed, 4 insertions(+), 4 deletions(-

Re: [PATCH v3 0/3] io_uring: add restrictions to support untrusted applications and guests

2020-08-06 Thread Stefano Garzarella
Gentle ping. I'll rebase on master, but if there are any things that I can improve, I'll be happy to do. Thanks, Stefano On Tue, Jul 28, 2020 at 06:00:58PM +0200, Stefano Garzarella wrote: > v3: > - added IORING_RESTRICTION_SQE_FLAGS_ALLOWED and >IORING_RESTRICTION_SQE_FLAGS_REQUIRED > - r

[PATCH 1/2] selinux: add tracepoint on denials

2020-08-06 Thread Thiébaud Weksteen
The audit data currently captures which process and which target is responsible for a denial. There is no data on where exactly in the process that call occurred. Debugging can be made easier by being able to reconstruct the unified kernel and userland stack traces [1]. Add a tracepoint on the SELi

[PATCH 2/2] selinux: add attributes to avc tracepoint

2020-08-06 Thread Thiébaud Weksteen
From: Peter Enderborg Add further attributes to filter the trace events from AVC. Signed-off-by: Peter Enderborg Reviewed-by: Thiébaud Weksteen --- include/trace/events/avc.h | 41 -- security/selinux/avc.c | 22 +++- 2 files changed, 44

Re: [PATCH] MIPS: SGI-IP27: always enable NUMA in Kconfig

2020-08-06 Thread Thomas Bogendoerfer
On Wed, Aug 05, 2020 at 03:51:41PM +0300, Mike Rapoport wrote: > From: Mike Rapoport > > When a configuration has NUMA disabled and SGI_IP27 enabled, the build > fails: > > CC kernel/bounds.s > CC arch/mips/kernel/asm-offsets.s > In file included from arch/mips/include/asm/topology

Re: [PATCH 00/23] proc: Introduce /proc/namespaces/ directory to expose namespaces lineary

2020-08-06 Thread Andrei Vagin
On Mon, Aug 03, 2020 at 01:03:17PM +0300, Kirill Tkhai wrote: > On 31.07.2020 01:13, Eric W. Biederman wrote: > > Kirill Tkhai writes: > > > >> On 30.07.2020 17:34, Eric W. Biederman wrote: > >>> Kirill Tkhai writes: > >>> > Currently, there is no a way to list or iterate all or subset of

Re: [PATCH v4 00/14] liblockdep fixes for 5.9-rc1

2020-08-06 Thread Ingo Molnar
* Sasha Levin wrote: > Hi Linus, > > Please consider applying these patches for liblockdep, or alternatively > pull from: > > git://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux.git > tags/liblockdep-fixes-040820 > > The patches fix up compilation and functionality of liblockdep on

Re: [PATCHv2 2/2] hwrng: optee: fix wait use case

2020-08-06 Thread Jorge Ramirez-Ortiz, Foundries
On 06/08/20, Sumit Garg wrote: > On Thu, 6 Aug 2020 at 12:00, Jorge Ramirez-Ortiz, Foundries > wrote: > > > > On 06/08/20, Sumit Garg wrote: > > > On Thu, 6 Aug 2020 at 02:08, Jorge Ramirez-Ortiz, Foundries > > > wrote: > > > > > > > > On 05/08/20, Sumit Garg wrote: > > > > > Apologies for my del

Re: [PATCH v2] MIPS: Provide Kconfig option for default IEEE 754 conformance mode

2020-08-06 Thread Thomas Bogendoerfer
On Wed, Aug 05, 2020 at 09:59:15PM +0800, Jiaxun Yang wrote: > > > 在 2020/8/1 14:11, Jiaxun Yang 写道: > >Requested by downstream distros, a Kconfig option for default > >IEEE 754 conformance mode allows them to set their mode to > >relaxed by default. > > > >Signed-off-by: Jiaxun Yang > >Reviewed

[PATCH v3 1/3] syscalls: use uaccess_kernel in addr_limit_user_check

2020-08-06 Thread Christophe Leroy
From: Christoph Hellwig Patch series "clean up address limit helpers", v2. In preparation for eventually phasing out direct use of set_fs(), this series removes the segment_eq() arch helper that is only used to implement or duplicate the uaccess_kernel() API, and then adds descriptive helpers to

[PATCH v3 3/3] powerpc/uaccess: simplify the get_fs() set_fs() logic

2020-08-06 Thread Christophe Leroy
On powerpc, we only have USER_DS and KERNEL_DS Today, this is managed as an 'unsigned long' data space limit which is used to compare the passed address with, plus a bit in the thread_info flags that is set whenever modifying the limit to enable the verification in addr_limit_user_check() The lim

drivers/staging/comedi/drivers/pcl730.c:223:25: sparse: sparse: cast removes address space '__iomem' of expression

2020-08-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 47ec5303d73ea344e84f46660fff693c57641386 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: riscv-randconfig-s031-20200806

[GIT PULL] livepatching for 5.9

2020-08-06 Thread Petr Mladek
Linus, please pull the latest livepatching changes from git://git.kernel.org/pub/scm/linux/kernel/git/livepatching/livepatching tags/livepatching-for-5.9 == - Improvements and cleanups of livepatching self tests. --

[PATCH v3 2/3] uaccess: remove segment_eq

2020-08-06 Thread Christophe Leroy
From: Christoph Hellwig segment_eq is only used to implement uaccess_kernel. Just open code uaccess_kernel in the arch uaccess headers and remove one layer of indirection. Link: http://lkml.kernel.org/r/20200710135706.537715-5-...@lst.de Signed-off-by: Christoph Hellwig Acked-by: Linus Torvald

Re: [PATCH] USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter

2020-08-06 Thread Frans Klaver
Hi Patrick, On Wed, Aug 5, 2020 at 9:57 PM Patrick Riphagen wrote: > > The device added has an FTDI chip inside. > The device is used to connect Xsens USB Motion Trackers. > > Signed-off-by: Patrick Riphagen Now you've dropped the backport to stable. Just put Cc: sta...@vger.kernel.org just b

Re: [PATCH v2] powerpc/uaccess: simplify the get_fs() set_fs() logic

2020-08-06 Thread Christophe Leroy
Le 25/07/2020 à 13:22, Michael Ellerman a écrit : Hi Christophe, Unfortunately this would collide messily with "uaccess: remove segment_eq" in linux-next, so I'll ask you to do a respin based on that, some comments below. Done, sent as v3, together with the 2 patchs from Linux next to get i

Re: [RFC v6 00/10] DAMON: Support Physical Memory Address Space Monitoring

2020-08-06 Thread SeongJae Park
On Wed, 5 Aug 2020 08:59:41 +0200 SeongJae Park wrote: > From: SeongJae Park > > Changes from Previous Version > = > > - paddr: Support nested iomem sections (Du Fan) > - Rebase on v5.8 > > Introduction > > > DAMON[1] programming interface users can e

Re: [PATCH] MIPS: Introduce cmdline argument writecombine=

2020-08-06 Thread Tiezhu Yang
On 08/06/2020 03:39 PM, Jiaxun Yang wrote: 在 2020/8/6 下午3:09, Tiezhu Yang 写道: Loongson processors have a writecombine issue that maybe failed to write back framebuffer used with ATI Radeon or AMD GPU at times, after commit 8a08e50cee66 ("drm: Permit video-buffers writecombine mapping for MIPS"

Re: [PATCH] docs: remove the 2.6 "Upgrading I2C Drivers" guide

2020-08-06 Thread Wolfram Sang
> > Maybe because I don't have the commit in my tree? Can you rebase on top > > of 5.8? > > Ah, yes, the commit is on top of Linus’ current master, following the merge > of docs-5.9 from Jon’s tree. In 5.8 the file is a .txt file, but Mauro > converted it to .rst for 5.9, and this patch removes t

Re: [PATCH 1/2] perf: Add closing sibling events' file descriptors

2020-08-06 Thread peterz
On Wed, Jul 08, 2020 at 06:16:34PM +0300, Alexander Shishkin wrote: > Currently, perf requires one file descriptor per event. In large groups, > this may mean running into the limit on open file descriptors. However, > the sibling events in a group only need file descriptors for the initial > confi

Re: [PATCH 0/2] perf: Allow closing siblings' file descriptors

2020-08-06 Thread peterz
On Thu, Aug 06, 2020 at 09:15:08AM +0300, Adrian Hunter wrote: > On 8/07/20 6:16 pm, Alexander Shishkin wrote: > > Hi guys, > > > > I've been looking at reducing the number of open file descriptors per perf > > session. If we retain one descriptor per event, in a large group they add > > up. At th

Re: Minor RST rant

2020-08-06 Thread Vegard Nossum
On 2020-08-06 08:48, Christoph Hellwig wrote: On Wed, Aug 05, 2020 at 05:12:30PM +0200, pet...@infradead.org wrote: On Wed, Aug 05, 2020 at 04:49:50PM +0200, Vegard Nossum wrote: FWIW, I *really* like how the extra markup renders in a browser, and I don't think I'm the only one. The thing i

Re: [PATCH v7 06/13] pwm: add support for sl28cpld PWM controller

2020-08-06 Thread Uwe Kleine-König
Hello Michael, I'm nearly happy now; see below. On Mon, Aug 03, 2020 at 11:35:52AM +0200, Michael Walle wrote: > diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig > index 7dbcf6973d33..a0d50d70c3b9 100644 > --- a/drivers/pwm/Kconfig > +++ b/drivers/pwm/Kconfig > @@ -428,6 +428,16 @@ config P

Re: [PATCH v7] Makefile: Add clang-tidy and static analyzer support to makefile

2020-08-06 Thread Masahiro Yamada
On Tue, Jul 28, 2020 at 9:47 AM Nathan Huckleberry wrote: > > This patch adds clang-tidy and the clang static-analyzer as make > targets. The goal of this patch is to make static analysis tools > usable and extendable by any developer or researcher who is familiar > with basic c++. > > The current

Re: [PATCH] arm: Add support for ZSTD compressed kernel

2020-08-06 Thread Norbert Lange
Am Do., 6. Aug. 2020 um 02:30 Uhr schrieb Russell King - ARM Linux admin : > > On Thu, Aug 06, 2020 at 01:05:55AM +0200, Norbert Lange wrote: > > diff --git a/arch/arm/boot/compressed/head.S > > b/arch/arm/boot/compressed/head.S > > index 434a16982e34..1af01bfe6638 100644 > > --- a/arch/arm/boot/c

Re: [PATCH 5.7 0/7] 5.7.14-rc2 review

2020-08-06 Thread Naresh Kamboju
On Thu, 6 Aug 2020 at 01:29, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.7.14 release. > There are 7 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respon

[PATCH] powerpc/signal: Move and simplify get_clean_sp()

2020-08-06 Thread Christophe Leroy
get_clean_sp() is only used in kernel/signal.c . Move it there. And GCC is smart enough to reduce the function when on PPC32, no need of a special PPC32 simple version. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/processor.h | 14 -- arch/powerpc/kernel/signal.c

Re: [PATCH 5.4 0/9] 5.4.57-rc1 review

2020-08-06 Thread Naresh Kamboju
On Wed, 5 Aug 2020 at 21:23, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.57 release. > There are 9 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respon

Re: [PATCH v3 3/4] fpga: dfl: create a dfl bus type to support DFL devices

2020-08-06 Thread Xu Yilun
On Thu, Aug 06, 2020 at 03:11:14PM +0800, Wu, Hao wrote: > > > > +static int dfl_bus_uevent(struct device *dev, struct kobj_uevent_env > > *env) > > > > +{ > > > > +struct dfl_device *ddev = to_dfl_dev(dev); > > > > + > > > > +return add_uevent_var(env, "MODALIAS=dfl:t%08Xf%04X", > > > > + dde

Re: [PATCH 1/2] sched/topology: Allow archs to override cpu_smt_mask

2020-08-06 Thread peterz
On Thu, Aug 06, 2020 at 03:32:25PM +1000, Michael Ellerman wrote: > That brings with it a bunch of problems, such as existing software that > has been developed/configured for Power8 and expects to see SMT8. > > We also allow LPARs to be live migrated from Power8 to Power9 (and back), so > mainta

[PATCH v8 0/4] scsi: ufs: Add Host Performance Booster Support

2020-08-06 Thread Daejun Park
Changelog: v7 -> v8 Remove wrongly added tags. v6 -> v7 1. Remove UFS feature layer. 2. Cleanup for sparse error. v5 -> v6 Change base commit to b53293fa662e28ae0cdd40828dc641c09f133405 v4 -> v5 Delete unused macro define. v3 -> v4 1. Cleanup. v2 -> v3 1. Add checking input module parameter v

[PATCH] USB: serial: ftdi_sio: add IDs for Xsens Mti USB converter

2020-08-06 Thread Patrick Riphagen
The device added has an FTDI chip inside. The device is used to connect Xsens USB Motion Trackers. Cc: sta...@vger.kernel.org Signed-off-by: Patrick Riphagen --- drivers/usb/serial/ftdi_sio.c | 1 + drivers/usb/serial/ftdi_sio_ids.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drive

Re: [PATCH v1] scsi: ufs: no need to send one Abort Task TM in case the task in DB was cleared

2020-08-06 Thread Can Guo
Hi Bean, On 2020-08-04 20:35, Bean Huo wrote: From: Bean Huo If the bit corresponds to a task in the Doorbell register has been cleared, no need to poll the status of the task on the device side and to send an Abort Task TM. This patch also deletes dispensable dev_err() in case of the task alr

Re: [PATCH] net: core: explicitly call linkwatch_fire_event to speed up the startup of network services

2020-08-06 Thread Wen Yang
在 2020/8/5 上午6:58, David Miller 写道: From: Wen Yang Date: Sat, 1 Aug 2020 16:58:45 +0800 diff --git a/net/core/link_watch.c b/net/core/link_watch.c index 75431ca..6b9d44b 100644 --- a/net/core/link_watch.c +++ b/net/core/link_watch.c @@ -98,6 +98,9 @@ static bool linkwatch_urgent_event(stru

Re: [PATCH 2/3] KVM: x86: introduce KVM_MEM_PCI_HOLE memory

2020-08-06 Thread Vitaly Kuznetsov
Andrew Jones writes: > On Tue, Jul 28, 2020 at 04:37:40PM +0200, Vitaly Kuznetsov wrote: >> PCIe config space can (depending on the configuration) be quite big but >> usually is sparsely populated. Guest may scan it by accessing individual >> device's page which, when device is missing, is suppos

[PATCH v8 1/4] scsi: ufs: Add UFS feature related parameter

2020-08-06 Thread Daejun Park
This is a patch for parameters to be used for UFS feature and HPB module. Reviewed-by: Can Guo Tested-by: Bean Huo Signed-off-by: Daejun Park --- drivers/scsi/ufs/ufs.h | 12 1 file changed, 12 insertions(+) diff --git a/drivers/scsi/ufs/ufs.h b/drivers/scsi/ufs/ufs.h index f8ab1

Re: [PATCH 2/3] KVM: x86: introduce KVM_MEM_PCI_HOLE memory

2020-08-06 Thread Vitaly Kuznetsov
Jim Mattson writes: > On Tue, Jul 28, 2020 at 7:38 AM Vitaly Kuznetsov wrote: >> >> PCIe config space can (depending on the configuration) be quite big but >> usually is sparsely populated. Guest may scan it by accessing individual >> device's page which, when device is missing, is supposed to h

[PATCH v8 2/4] scsi: ufs: Introduce HPB feature

2020-08-06 Thread Daejun Park
This is a patch for the HPB feature. This patch adds HPB function calls to UFS core driver. The mininum size of the memory pool used in the HPB is implemented as a Kconfig parameter (SCSI_UFS_HPB_HOST_MEM), so that it can be configurable. Tested-by: Bean Huo Signed-off-by: Daejun Park --- driv

Re: [PATCH 4.19 0/6] 4.19.138-rc1 review

2020-08-06 Thread Naresh Kamboju
On Wed, 5 Aug 2020 at 21:23, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.19.138 release. > There are 6 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [PATCHv2 2/2] hwrng: optee: fix wait use case

2020-08-06 Thread Sumit Garg
On Thu, 6 Aug 2020 at 13:44, Jorge Ramirez-Ortiz, Foundries wrote: > > On 06/08/20, Sumit Garg wrote: > > On Thu, 6 Aug 2020 at 12:00, Jorge Ramirez-Ortiz, Foundries > > wrote: > > > > > > On 06/08/20, Sumit Garg wrote: > > > > On Thu, 6 Aug 2020 at 02:08, Jorge Ramirez-Ortiz, Foundries > > > >

[PATCH v8 3/4] scsi: ufs: L2P map management for HPB read

2020-08-06 Thread Daejun Park
This is a patch for managing L2P map in HPB module. The HPB divides logical addresses into several regions. A region consists of several sub-regions. The sub-region is a basic unit where L2P mapping is managed. The driver loads L2P mapping data of each sub-region. The loaded sub-region is called a

Re: [PATCH 2/6] drm/xen-front: Fix misused IS_ERR_OR_NULL checks

2020-08-06 Thread Dan Carpenter
Looks great! Thanks. Reviewed-by: Dan Carpenter regards, dan carpenter

Re: [PATCH v3 3/3] powerpc/uaccess: simplify the get_fs() set_fs() logic

2020-08-06 Thread Christoph Hellwig
Do you urgently need this? My plan for 5.10 is to rebased and submit the remaining bits of this branch: http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/set_fs-removal which will kill off set_fs/get_fs entirely.

Re: [PATCH v1 2/2] perf/core: Fake regs for leaked kernel samples

2020-08-06 Thread peterz
On Thu, Aug 06, 2020 at 10:26:29AM +0800, Jin, Yao wrote: > > +static struct pt_regs *sanitize_sample_regs(struct perf_event *event, > > struct pt_regs *regs) > > +{ > > + struct pt_regs *sample_regs = regs; > > + > > + /* user only */ > > + if (!event->attr.exclude_kernel || !event->attr.e

Re: [PATCH 0/3] KVM: x86: KVM_MEM_PCI_HOLE memory

2020-08-06 Thread Vitaly Kuznetsov
"Michael S. Tsirkin" writes: > On Tue, Jul 28, 2020 at 04:37:38PM +0200, Vitaly Kuznetsov wrote: >> This is a continuation of "[PATCH RFC 0/5] KVM: x86: KVM_MEM_ALLONES >> memory" work: >> https://lore.kernel.org/kvm/20200514180540.52407-1-vkuzn...@redhat.com/ >> and pairs with Julia's "x86/PCI:

Re: [PATCH 2/6] drm/xen-front: Fix misused IS_ERR_OR_NULL checks

2020-08-06 Thread Dan Carpenter
On Tue, Aug 04, 2020 at 06:35:20AM +, Oleksandr Andrushchenko wrote: > > On 8/4/20 9:12 AM, Jürgen Groß wrote: > > On 31.07.20 14:51, Oleksandr Andrushchenko wrote: > >> From: Oleksandr Andrushchenko > >> > >> The patch c575b7eeb89f: "drm/xen-front: Add support for Xen PV > >> display fronten

[PATCH v17 04/12] soc: mediatek: Add multiple step bus protection control

2020-08-06 Thread Weiyi Lu
MT8192, MT8183 and MT6765 have more control steps of bus protection than previous project. And there add more bus protection registers reside at infracfg & smi-common. Extend function to support multiple step bus protection control with more customized arguments. And then use bp_table for bus prote

[PATCH v17 02/12] soc: mediatek: Add basic_clk_name to scp_power_data

2020-08-06 Thread Weiyi Lu
Try to stop extending the clk_id or clk_names if there are more and more new BASIC clocks. To get its own clocks by the basic_clk_name of each power domain. And then use basic_clk_name strings for all compatibles, instead of mixing clk_id and clk_name. Signed-off-by: Weiyi Lu Reviewed-by: Nicolas

Re: [PATCH] Revert "kbuild: use -flive-patching when CONFIG_LIVEPATCH is enabled"

2020-08-06 Thread Petr Mladek
On Tue 2020-07-21 13:17:00, Miroslav Benes wrote: > On Fri, 17 Jul 2020, Josh Poimboeuf wrote: > > > Use of the new -flive-patching flag was introduced with the following > > commit: > > > > 43bd3a95c98e ("kbuild: use -flive-patching when CONFIG_LIVEPATCH is > > enabled") > > > > This reverts

[PATCH v17 00/12] Mediatek MT8183 scpsys support

2020-08-06 Thread Weiyi Lu
This series is based on v5.8-rc1 change since v16: - Introduce hierarchical scpsys device node to show the dependency between each power domain. And could be more clearly to group subsys clocks into power domain sub node. change since v15: - remove unneeded error log in [PATCH 06/11] changes

[PATCH 0/3] Add board support for HK10 board variants

2020-08-06 Thread Gokul Sriram Palanisamy
Added support for HK10-C1 and HK10-C2 board variants based on IPQ8074 SoC. Both these variants support dual QCN9000 PCIe cards that uses MHI communication protocol over PCIe. In addition, HK10-C1 support on-chip radio. Both these variants slightly differ in clock configuation for ethernet. Gokul

[PATCH v17 09/12] soc: mediatek: Add MT8183 scpsys support

2020-08-06 Thread Weiyi Lu
Add scpsys driver for MT8183 Signed-off-by: Weiyi Lu Reviewed-by: Nicolas Boichat --- drivers/soc/mediatek/mtk-scpsys.c | 229 ++ 1 file changed, 229 insertions(+) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c index 4587

[PATCH 1/3] dt-bindings: qcom: Add ipq8074 bindings

2020-08-06 Thread Gokul Sriram Palanisamy
Document the new device-tree bindings for boards HK10-C1 and HK10-C2 based on ipq8074 SoC. Signed-off-by: Gokul Sriram Palanisamy --- Documentation/devicetree/bindings/arm/qcom.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documen

Re: [PATCH v1 2/2] perf/core: Fake regs for leaked kernel samples

2020-08-06 Thread peterz
On Thu, Aug 06, 2020 at 11:18:27AM +0200, pet...@infradead.org wrote: > On Thu, Aug 06, 2020 at 10:26:29AM +0800, Jin, Yao wrote: > > > > +static struct pt_regs *sanitize_sample_regs(struct perf_event *event, > > > struct pt_regs *regs) > > > +{ > > > + struct pt_regs *sample_regs = regs; > > > +

[PATCH 3/3] arm64: dts: Enabled MHI device over PCIe

2020-08-06 Thread Gokul Sriram Palanisamy
Enabled MHI device support over PCIe and added memory reservation required for MHI enabled QCN9000 PCIe card. Signed-off-by: Gokul Sriram Palanisamy --- arch/arm64/boot/dts/qcom/ipq8074-hk10.dtsi | 58 ++ arch/arm64/boot/dts/qcom/ipq8074.dtsi | 8 + 2 files

Re: [PATCH] powerpc/signal: Move and simplify get_clean_sp()

2020-08-06 Thread Christoph Hellwig
On Thu, Aug 06, 2020 at 08:50:20AM +, Christophe Leroy wrote: > get_clean_sp() is only used in kernel/signal.c . Move it there. > > And GCC is smart enough to reduce the function when on PPC32, no > need of a special PPC32 simple version. What about just open coding it in the only caller, whi

[PATCH 2/3] arm64: dts: Add board support for HK10

2020-08-06 Thread Gokul Sriram Palanisamy
Add initial support for IPQ8074 SoC based HK10-C1 and HK10-C2 evaluation boards. Signed-off-by: Gokul Sriram Palanisamy --- arch/arm64/boot/dts/qcom/Makefile| 2 + arch/arm64/boot/dts/qcom/ipq8074-hk10-c1.dts | 11 arch/arm64/boot/dts/qcom/ipq8074-hk10-c2.dts | 14 + arch/a

[PATCH v8 4/4] scsi: ufs: Prepare HPB read for cached sub-region

2020-08-06 Thread Daejun Park
This patch changes the read I/O to the HPB read I/O. If the logical address of the read I/O belongs to active sub-region, the HPB driver modifies the read I/O command to HPB read. It modifies the UPIU command of UFS instead of modifying the existing SCSI command. In the HPB version 1.0, the maxim

[PATCH v17 07/12] soc: mediatek: Add subsys clock control for bus protection

2020-08-06 Thread Weiyi Lu
For the bus protection operations, some subsys clocks need to be enabled before releasing the protection, and vice versa. But those subsys clocks could only be controlled once its corresponding power domain is turned on first. In this patch, we add the subsys clock control into its relevant steps.

[PATCH v17 08/12] soc: mediatek: Add extra sram control

2020-08-06 Thread Weiyi Lu
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 not. Signed-off-by: Weiyi Lu Reviewed-by: Nicolas Boichat --- drivers/soc/med

[PATCH v17 05/12] dt-bindings: soc: Add MT8183 power dt-bindings

2020-08-06 Thread Weiyi Lu
Add power dt-bindings of MT8183. Add an optional "mediatek,smi" property for phandle to smi-common node for power controller. Introduce properties for power domain sub nodes. Signed-off-by: Weiyi Lu --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 81 -- include/dt-bi

[PATCH v17 12/12] arm64: dts: Add power-domains property to mfgcfg

2020-08-06 Thread Weiyi Lu
mfgcfg clock is under MFG_ASYNC power domain Signed-off-by: Weiyi Lu --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 4940bda..43db225 100644 --- a/arch/arm6

[PATCH v17 03/12] soc: mediatek: Remove infracfg misc driver support

2020-08-06 Thread Weiyi Lu
The functions provided by infracfg misc driver have no other user except the scpsys driver so move those into scpsys driver directly. And then, remove infracfg misc driver which is no longer being used. BTW, in next patch, we're going to extend the bus protection functions with more customized argu

Re: stable rc 4.4 - v4.4.232-33-g0b3898baf614 - build breaks on arm64, arm, x86_64 and i386.

2020-08-06 Thread Jan Kara
On Wed 05-08-20 22:42:08, Naresh Kamboju wrote: > stable rc 4.4 build breaks on arm64, arm, x86_64 and i386. > > Here are the build log failures on arm64. >git_repo: > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git > target_arch: arm64 > toolchain: gcc-9 >

[PATCH v17 06/12] soc: mediatek: Add support for hierarchical scpsys device node

2020-08-06 Thread Weiyi Lu
Try to list all the power domains of under power controller node to show the dependency between each power domain directly instead of filling the dependency in scp_soc_data. And could be more clearly to group subsys clocks into power domain sub node to introduce subsys clocks of bus protection in n

[PATCH v17 10/12] soc: mediatek: Add a comma at the end

2020-08-06 Thread Weiyi Lu
A minor coding style fix Signed-off-by: Weiyi Lu --- drivers/soc/mediatek/mtk-scpsys.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/soc/mediatek/mtk-scpsys.c b/drivers/soc/mediatek/mtk-scpsys.c index 9a699b4..7158863b 100644 --- a/drivers/soc/mediat

[PATCH v17 01/12] dt-bindings: mediatek: Add property to mt8183 smi-common

2020-08-06 Thread Weiyi Lu
For scpsys driver using regmap based syscon driver API. Signed-off-by: Weiyi Lu Acked-by: Rob Herring --- .../devicetree/bindings/memory-controllers/mediatek,smi-common.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/memory-control

[PATCH v2 1/3] dt-bindings: qcom: Add ipq8074 bindings

2020-08-06 Thread Gokul Sriram Palanisamy
Document the new device-tree bindings for boards HK10-C1 and HK10-C2 based on ipq8074 SoC. Signed-off-by: Gokul Sriram Palanisamy --- Documentation/devicetree/bindings/arm/qcom.yaml | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documen

Re: [RFC PATCH] arm64: defconfig: Disable fine-grained task level IRQ time accounting

2020-08-06 Thread Thomas Gleixner
pet...@infradead.org writes: > On Mon, Aug 03, 2020 at 09:22:53PM +0200, Thomas Gleixner wrote: > >>totaltime = irqtime + tasktime >> >> Ignoring irqtime and pretending that totaltime is what the scheduler >> can control and deal with is naive at best. > > Well no, that's what we call system o

  1   2   3   4   5   6   7   8   9   10   >