Re: [PATCHv4] perf kvm: add kvm-stat for arm64

2020-10-26 Thread Sergey Senozhatsky
On (20/10/13 23:29), Leo Yan wrote: > On Tue, Oct 13, 2020 at 11:37:09AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Tue, Sep 29, 2020 at 12:34:50PM +0900, Sergey Senozhatsky escreveu: > > > On (20/09/17 19:02), Sergey Senozhatsky wrote: > > > > Add support for perf kvm stat on arm64 platform.

Good News!!

2020-10-26 Thread Frances & Patrick Connolly
You have a donation of £2,000,000.00 GBP from Frances & Patrick Connolly and Family. Reply to this email: (francespatrickconnol...@gmail.com) for more details. Please Note: This is the third time we have been trying to contact you. Best Regards Mrs. Mary Hamilton.

[PATCH v2 4/4] ALSA: hda: Reinstate runtime_allow() for all hda controllers

2020-10-26 Thread Kai-Heng Feng
The broken jack detection should be fixed by commit a6e7d0a4bdb0 ("ALSA: hda: fix jack detection with Realtek codecs when in D3"), let's try enabling runtime PM by default again. Signed-off-by: Kai-Heng Feng --- v2: - No change. sound/pci/hda/hda_intel.c | 1 + 1 file changed, 1 insertion(+)

[PATCH v2 0/4] HDA controller and PM cleanups

2020-10-26 Thread Kai-Heng Feng
While working on the issue "ALSA: hda: fix jack detection with Realtek codecs when in D3", I've found using pm_runtime_force_{suspend,resume}() have surprising behavior, specifically, pm_runtime_need_not_resume() uses pm_runtime_need_not_resume() to avoid calling resume callback, so jackpoll was

[PATCH v2 2/4] ALSA: hda: Stop mangling PCI IRQ

2020-10-26 Thread Kai-Heng Feng
The code predates 2005, it should be unnecessary now as PCI core handles IRQ much better nowadays. So stop PCI IRQ mangling in suspend/resume callbacks. Takashi Iwai mentioned that IRQ number can change after S3 on some really old hardwares. We should use quirks to handle those platforms, as

[PATCH v2 3/4] ALSA: hda: Separate runtime and system suspend

2020-10-26 Thread Kai-Heng Feng
Both pm_runtime_force_suspend() and pm_runtime_force_resume() have some implicit checks, so it can make code flow more straightfoward if we separate runtime and systemd suspend callbacks. High Definition Audio Specification, 4.5.9.3 Codec Wake From System S3 states that codec can wake the system

[PATCH v2 1/4] ALSA: hda: Refactor codec PM to use direct-complete optimization

2020-10-26 Thread Kai-Heng Feng
Upon system resume, hda_codec_pm_resume() uses hda_codec_force_resume() to resume the codec. However, pm_runtime_force_resume() won't really resume the codec because of pm_runtime_need_not_resume() check. Hence, hda_codec_force_resume() schedules a jackpoll work, which is to really power up the

[PATCH v4 2/2] f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl

2020-10-26 Thread Daeho Jeong
From: Daeho Jeong Added a new F2FS_IOC_SET_COMPRESS_OPTION ioctl to change file compression option of a file. struct f2fs_comp_option { u8 algorithm; => compression algorithm => 0:lzo, 1:lz4, 2:zstd, 3:lzorle u8 log_cluster_size; => log scale cluster

[PATCH v4 1/2] f2fs: add F2FS_IOC_GET_COMPRESS_OPTION ioctl

2020-10-26 Thread Daeho Jeong
From: Daeho Jeong Added a new F2FS_IOC_GET_COMPRESS_OPTION ioctl to get file compression option of a file. struct f2fs_comp_option { u8 algorithm; => compression algorithm => 0:lzo, 1:lz4, 2:zstd, 3:lzorle u8 log_cluster_size; => log scale cluster size

[PATCH] bus: mhi: core: Fix null pointer access

2020-10-26 Thread carl . yin
From: carl function parse_ev_cfg and parse_ch_cfg access mhi_cntrl->mhi_dev before it is set in function mhi_register_controller, use cntrl_dev to instead mhi_dev. Signed-off-by: carl --- drivers/bus/mhi/core/init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[rcu:dev.2020.10.22a] BUILD SUCCESS e8b795e5dd23eaf0f7e9e75121d82a16f1c722db

2020-10-26 Thread kernel test robot
allmodconfig powerpc allnoconfig i386 randconfig-a002-20201026 i386 randconfig-a003-20201026 i386 randconfig-a005-20201026 i386 randconfig-a001-20201026 i386 randconfig-a006-20201026 i386

linux-next: Tree for Oct 27

2020-10-26 Thread Stephen Rothwell
Hi all, Changes since 20201026: Removed trees: unifier-fixes, unifier (no longer maintained) The sunxi tree gained a build failure for which I reverted a commit. The vfs tree gained a bad merge for which I added a fix patch. The v4l-dvb-next tree gained a conflict against the kunit-fixes tree

[tip:x86/cleanups] BUILD SUCCESS 3adb776384f2042ef6bda876e91a7a7ac2872c5e

2020-10-26 Thread kernel test robot
allnoconfig i386 randconfig-a002-20201026 i386 randconfig-a003-20201026 i386 randconfig-a005-20201026 i386 randconfig-a001-20201026 i386 randconfig-a006-20201026 i386 randconfig-a004-20201026 x86_64

RE: [PATCH] ath10k: add option for chip-id based BDF selection

2020-10-26 Thread Rakesh Pillai
> -Original Message- > From: Doug Anderson > Sent: Tuesday, October 27, 2020 4:21 AM > To: Rakesh Pillai > Cc: Abhishek Kumar ; Kalle Valo > ; ath10k ; LKML > ; linux-wireless wirel...@vger.kernel.org>; Brian Norris > Subject: Re: [PATCH] ath10k: add option for chip-id based BDF

Re: [PATCH v3 1/2] kunit: Support for Parameterized Testing

2020-10-26 Thread Arpitha Raghunandan
On 27/10/20 4:44 am, Marco Elver wrote: > On Mon, 26 Oct 2020 at 19:36, Arpitha Raghunandan <98.a...@gmail.com> wrote: >> >> Implementation of support for parameterized testing in KUnit. >> This approach requires the creation of a test case using the >> KUNIT_CASE_PARAM macro that accepts a

Re: [PATCH v6 46/52] opp: Put interconnect paths outside of opp_table_lock

2020-10-26 Thread Viresh Kumar
On 26-10-20, 01:17, Dmitry Osipenko wrote: > This patch fixes lockup which happens when OPP table is released if > interconnect provider uses OPP in the icc_provider->set() callback > and bandwidth of the ICC path is set to 0 by the ICC core when path > is released. The icc_put() doesn't need the

Re: [PATCH v2] perf trace: Segfault when trying to trace events by cgroup

2020-10-26 Thread Namhyung Kim
Hello, On Mon, Oct 26, 2020 at 10:21 PM Stanislav Ivanichkin wrote: > > v2: > - struct declaration fixed (Namhyung Kim) > > Fixes: 9ea42ba4411ac ("perf trace: Support setting cgroups as targets") > Signed-off-by: Stanislav Ivanichkin Looks ok but you'd better add the commit description

Re: Perf raw sample overflows perf record

2020-10-26 Thread Namhyung Kim
+ LKML On Sat, Oct 24, 2020 at 8:44 AM George Prekas wrote: > > The header of a perf sample has a u16 field for the size of the record. > On the other hand, a PERF_SAMPLE_RAW has a u32 field for its size. > > I've written a test perf driver that creates large raw samples and it > doesn't work

Re: [Regression] "tpm: Require that all digests are present in TCG_PCR_EVENT2 structures" causes null pointer dereference

2020-10-26 Thread Tyler Hicks
On 2020-10-26 13:49:59, Kai-Heng Feng wrote: > > > > On Oct 21, 2020, at 13:48, Tyler Hicks wrote: > > > > On 2020-10-20 17:07:50, Mimi Zohar wrote: > >> On Tue, 2020-09-29 at 13:52 -0400, Mimi Zohar wrote: > >>> On Mon, 2020-09-28 at 22:16 +0800, Kai-Heng Feng wrote: > Hi Jarkko, >

Re: [PATCH v2 2/2] perf stat: Support regex pattern in --for-each-cgroup

2020-10-26 Thread Namhyung Kim
Hi Arnaldo, On Tue, Oct 27, 2020 at 2:53 AM Arnaldo Carvalho de Melo wrote: > > Em Mon, Oct 26, 2020 at 09:32:34PM +0900, Namhyung Kim escreveu: > > Hi Jiri, > > > > On Mon, Oct 26, 2020 at 8:40 PM Jiri Olsa wrote: > > > also perhaps we want to warn if there's no match found: > > > > > >

Re: linux-next: build failure after merge of the vfs tree

2020-10-26 Thread Al Viro
On Tue, Oct 27, 2020 at 03:14:14PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the vfs tree, today's linux-next build (sparc_defconfig) > failed like this: > > arch/sparc/lib/memset.S: Assembler messages: > arch/sparc/lib/memset.S:149: Error: Unknown opcode: `ext(12b, 13b,21f)' >

[v2 07/11] arm64: dts: ls208xa: add DT node for external interrupt lines

2020-10-26 Thread Biwen Li
From: Biwen Li Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by: Biwen Li --- Change in v2: - none .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 33 ++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git

[v2 08/11] arm64: dts: ls208xa-rdb: add interrupt line for RTC node

2020-10-26 Thread Biwen Li
From: Biwen Li Add interrupt line for RTC node on ls208xa-rdb Signed-off-by: Biwen Li --- Change in v2: - none arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa-rdb.dtsi

[v2 09/11] arm64: dts: lx2160a: add DT node for external interrupt lines

2020-10-26 Thread Biwen Li
From: Biwen Li Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by: Biwen Li --- Change in v2: - none .../arm64/boot/dts/freescale/fsl-lx2160a.dtsi | 31 +++ 1 file changed, 31 insertions(+) diff --git

[v2 11/11] dt-bindings: interrupt-controller: update bindings for supporting more SoCs

2020-10-26 Thread Biwen Li
From: Biwen Li Update bindings for Layerscape external irqs, support more SoCs(LS1043A, LS1046A, LS1088A, LS208xA, LX216xA) Signed-off-by: Biwen Li --- Change in v2: - update reg property - update compatible property .../bindings/interrupt-controller/fsl,ls-extirq.txt| 10

[v2 10/11] arm64: dts: lx2160ardb: fix interrupt line for RTC node

2020-10-26 Thread Biwen Li
From: Biwen Li Fix interrupt line for RTC node on lx2160ardb Signed-off-by: Biwen Li --- Change in v2: - none arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts

[v2 03/11] arm64: dts: ls1046a: add DT node for external interrupt lines

2020-10-26 Thread Biwen Li
From: Biwen Li Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by: Biwen Li --- Change in v2: - none .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git

[v2 06/11] arm64: dts: ls1088ardb: fix interrupt line for RTC node

2020-10-26 Thread Biwen Li
From: Biwen Li Fix interrupt line for RTC node on ls1088ardb Signed-off-by: Biwen Li --- Change in v2: - none arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts

[v2 04/11] arm64: dts: ls1046ardb: Add interrupt line for RTC node

2020-10-26 Thread Biwen Li
From: Hou Zhiqiang Add interrupt line for RTC node, which is low level active. Signed-off-by: Hou Zhiqiang --- Change in v2: - none arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git

[v2 05/11] arm64: dts: ls1088a: add DT node for external interrupt lines

2020-10-26 Thread Biwen Li
From: Biwen Li Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by: Biwen Li --- Change in v2: - none .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 33 ++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git

[v2 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-10-26 Thread Biwen Li
From: Hou Zhiqiang Add an new IRQ chip declaration for LS1043A and LS1088A - compatible "fsl,ls1043a-extirq" for LS1043A, LS1046A. SCFG_INTPCR[31:0] of these SoCs is stored/read as SCFG_INTPCR[0:31] defaultly(bit reverse) - compatible "fsl,ls1088a-extirq" for LS1088A, LS208xA, LX216xA

[v2 02/11] arm64: dts: ls1043a: add DT node for external interrupt lines

2020-10-26 Thread Biwen Li
From: Biwen Li Add device-tree node for external interrupt lines IRQ0-IRQ11. Signed-off-by: Biwen Li --- Change in v2: - none .../arm64/boot/dts/freescale/fsl-ls1043a.dtsi | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git

Re: [RFC] perf evlist: Warn if event group has mixed sw/hw events

2020-10-26 Thread Namhyung Kim
Hi, On Tue, Oct 27, 2020 at 12:49 AM Alexander Shishkin wrote: > > Andi Kleen writes: > > > On Mon, Oct 26, 2020 at 11:19:37PM +0900, Namhyung Kim wrote: > >> This patch just added a warning before running it. I'd really want to > >> fix the kernel if possible but don't have a good idea.

Re: [RFC] perf evlist: Warn if event group has mixed sw/hw events

2020-10-26 Thread Namhyung Kim
Hi Andi, On Tue, Oct 27, 2020 at 12:21 AM Andi Kleen wrote: > > On Mon, Oct 26, 2020 at 11:19:37PM +0900, Namhyung Kim wrote: > > This patch just added a warning before running it. I'd really want to > > fix the kernel if possible but don't have a good idea. Thoughts? > > The easiest fix would

Re: [PATCH 2/2] Makefile.extrawarn: limit -Wnested-externs to clang

2020-10-26 Thread Nathan Chancellor
On Mon, Oct 26, 2020 at 06:48:46PM -0700, Nathan Chancellor wrote: > On Mon, Oct 26, 2020 at 11:03:14PM +0100, Arnd Bergmann wrote: > > From: Arnd Bergmann > > > > The -Wnested-externs warning has become useless with gcc, since > > this warns every time that BUILD_BUG_ON() or similar macros > >

Re: [PATCH v2 4/4] cpufreq: schedutil: Always call drvier if need_freq_update is set

2020-10-26 Thread Viresh Kumar
Spelling mistake in $subject (driver) On 23-10-20, 17:36, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Because sugov_update_next_freq() may skip a frequency update even if > the need_freq_update flag has been set for the policy at hand, policy > limits updates may not take effect as

[PATCH 0/1] drm/vc4: drv: Add error handding for bind

2020-10-26 Thread Hoegeun Kwon
Hello all, There is a problem that if vc4_drm bind fails, a memory leak occurs on the drm_property_create side as shown below. Add error handding for drm_mode_config. unreferenced object 0xff80f5a7a6c8 (size 576): comm "swapper/0", pid 1, jiffies 4294892559 (age 181.448s) hex dump (first

[PATCH 1/1] drm/vc4: drv: Add error handding for bind

2020-10-26 Thread Hoegeun Kwon
There is a problem that if vc4_drm bind fails, a memory leak occurs on the drm_property_create side. Add error handding for drm_mode_config. Signed-off-by: Hoegeun Kwon --- drivers/gpu/drm/vc4/vc4_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/vc4/vc4_drv.c

linux-next: build failure after merge of the vfs tree

2020-10-26 Thread Stephen Rothwell
Hi all, After merging the vfs tree, today's linux-next build (sparc_defconfig) failed like this: arch/sparc/lib/memset.S: Assembler messages: arch/sparc/lib/memset.S:149: Error: Unknown opcode: `ext(12b, 13b,21f)' Caused by commit 0e0bbae08a6e ("sparc32: switch __bzero() away from range

Re: [PATCH v2 1/1] KVM: arm64: Correctly handle the mmio faulting

2020-10-26 Thread Gavin Shan
Hi Santosh, On 10/26/20 10:24 PM, Santosh Shukla wrote: The Commit:6d674e28 introduces a notion to detect and handle the device mapping. The commit checks for the VM_PFNMAP flag is set in vma->flags and if set then marks force_pte to true such that if force_pte is true then ignore the THP

Re: [PATCH net-next 01/11] atm: horizon: shut up clang null pointer arithmetic warning

2020-10-26 Thread Xie He
On Mon, Oct 26, 2020 at 8:56 PM Xie He wrote: > > > - for (mem = (HDW *) memmap; mem < (HDW *) (memmap + 1); ++mem) > > + for (mem = (HDW *) memmap; mem < (HDW *) ((uintptr_t)memmap + 1); ++mem) > > Note that these two lines are semantically different. In the first line, > "+ 1" moves the

RE: [PATCH v3] usb: cdns3: Variable 'length' set but not used

2020-10-26 Thread Peter Chen
> > > > A gentle ping. > > > > I assume that you should add this and the rest overdue cdsn3 patches > > as first to you ci-for-usb-next branch. > > Am I right? > > > > Hi Pawel, > > I queued them locally, and I waited for v5.10-rc1 which was out yesterday, > then > I will apply them, and add

Re: [PATCH net-next 01/11] atm: horizon: shut up clang null pointer arithmetic warning

2020-10-26 Thread Xie He
> - for (mem = (HDW *) memmap; mem < (HDW *) (memmap + 1); ++mem) > + for (mem = (HDW *) memmap; mem < (HDW *) ((uintptr_t)memmap + 1); ++mem) Note that these two lines are semantically different. In the first line, "+ 1" moves the pointer by (sizeof memmap) bytes. However in the second line,

Re: [PATCH v3 01/56] scripts: kernel-doc: fix typedef parsing

2020-10-26 Thread Joe Perches
On Mon, 2020-10-26 at 08:03 +0100, Mauro Carvalho Chehab wrote: [] > Well, this can help: > my $typedef_type = qr { ((?:\w+\s+){1,}) }x; unbounded captures are generally bad, I suggest a limit like {1,5} > if ($x =~ /typedef\s+((?:\w+\s+){1,})\(\*?\s*(\w\S+)\s*\)\s*\((.*)\);/ || >

Re: [PATCH v1] Input: ads7846: do not overwrite spi->mode flags set by spi framework

2020-10-26 Thread Dmitry Torokhov
On Thu, Oct 22, 2020 at 08:54:02AM +0200, Oleksij Rempel wrote: > On Wed, Oct 21, 2020 at 11:27:57AM -0700, Dmitry Torokhov wrote: > > On Wed, Oct 21, 2020 at 12:56:14PM +0200, Oleksij Rempel wrote: > > > > > > As you can see, I would need to configure my dts with spi-cs-high flag, > > > even if

Re: [PATCH v1] Input: touchscreen: ads7846.c: Fix race that causes missing releases

2020-10-26 Thread Dmitry Torokhov
Hi Oleksij, On Mon, Oct 26, 2020 at 02:21:17PM +0100, Oleksij Rempel wrote: > From: David Jander > > If touchscreen is released while busy reading HWMON device, the release > can be missed. The IRQ thread is not started because no touch is active > and BTN_TOUCH release event is never sent. >

Re: [PATCH v3 5/6] dt-bindings: spi: Convert cadence-quadspi.txt to cadence-quadspi.yaml

2020-10-26 Thread Ramuthevar, Vadivel MuruganX
Hi Rob, Thank you very much for the review comments... On 26/10/2020 9:08 pm, Rob Herring wrote: On Mon, Oct 26, 2020 at 05:45:18PM +0800, Ramuthevar,Vadivel MuruganX wrote: From: Ramuthevar Vadivel Murugan Convert the cadence-quadspi.txt documentation to cadence-quadspi.yaml remove the

Re:Re: [PATCH] sched/rt.c: use list_is_singular() instead of '->prev != ->next'

2020-10-26 Thread 苏辉
>Perhaps there should be a list_has_more_than_one() API, as list_is_singular >requires two checks, and the "more_than_one" only requires a single check. > >list_is_singular() is: > > return !list_empty(list) && (list->next == list->prev); > > >which is more work than what you are

[PATCH v2 2/2] scsi: arcmsr: Confirm getting a free ccb is in spin_lock circle

2020-10-26 Thread ching Huang
From: ching Huang Confirm getting a free ccb is in spin_lock circle. Signed-off-by: ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr_hba.c b/drivers/scsi/arcmsr/arcmsr_hba.c index 7cfae1d..127fe50 100644 --- a/drivers/scsi/arcmsr/arcmsr_hba.c +++ b/drivers/scsi/arcmsr/arcmsr_hba.c @@

Re: [PATCH v4 1/5] scsi: ufs: atomic update for clkgating_enable

2020-10-26 Thread Can Guo
On 2020-10-27 11:33, Jaegeuk Kim wrote: On 10/27, Can Guo wrote: On 2020-10-27 03:51, Jaegeuk Kim wrote: > From: Jaegeuk Kim > > When giving a stress test which enables/disables clkgating, we hit > device > timeout sometimes. This patch avoids subtle racy condition to address > it. > > Note

Re: [PATCH v4 1/5] scsi: ufs: atomic update for clkgating_enable

2020-10-26 Thread Jaegeuk Kim
On 10/27, Can Guo wrote: > On 2020-10-27 03:51, Jaegeuk Kim wrote: > > From: Jaegeuk Kim > > > > When giving a stress test which enables/disables clkgating, we hit > > device > > timeout sometimes. This patch avoids subtle racy condition to address > > it. > > > > Note that, this requires a

[PATCH v2] sched: sched_domain fix highest_flag_domain function

2020-10-26 Thread Xuewen Yan
the highest_flag_domain is to search the highest sched_domain containing flag, but if the lower sched_domain didn't contain the flag, but the higher sched_domain contains the flag, the function will return NULL instead of the higher sched_domain. For example: In MC domain : no SD_ASYM_CPUCAPACITY

Re: [RFC PATCH 1/6] docs: networking: add the document for DFL Ether Group driver

2020-10-26 Thread Xu Yilun
On Mon, Oct 26, 2020 at 08:14:00PM +0100, Andrew Lunn wrote: > > > > > Do you really mean PHY? I actually expect it is PCS? > > > > > > > > For this implementation, yes. > > > > > > Yes, you have a PHY? Or Yes, it is PCS? > > > > Sorry, I mean I have a PHY. > > > > > > > > To me, the phylib

[PATCH v2 1/2] scsi: arcmsr: configure the default SCSI device command timeout value

2020-10-26 Thread ching Huang
From: ching Huang Configure the default SCSI device command timeout value. Signed-off-by: ching Huang --- diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h index 5d054d5..0f6abd2 100644 --- a/drivers/scsi/arcmsr/arcmsr.h +++ b/drivers/scsi/arcmsr/arcmsr.h @@ -83,6 +83,7

Re: [PATCH v1] of: platform: Batch fwnode parsing in the init_machine() path

2020-10-26 Thread Saravana Kannan
On Fri, Oct 2, 2020 at 5:14 PM Laurent Pinchart wrote: > > Hi Saravana, > > On Fri, Oct 02, 2020 at 12:56:30PM -0700, Saravana Kannan wrote: > > On Fri, Oct 2, 2020 at 11:35 AM 'Grygorii Strashko' via kernel-team wrote: > > > On 02/10/2020 21:27, Laurent Pinchart wrote: > > > > On Fri, Oct 02,

Re: [PATCH] rtlwifi: Fix non-canonical address access issues

2020-10-26 Thread Pkshih
On Tue, 2020-10-27 at 11:16 +0800, WeitaoWangoc wrote: > During realtek USB wireless NIC initialization, it's unexpected > disconnection will cause urb sumbmit fail. On the one hand, > _rtl_usb_cleanup_rx will be called to clean up rx stuff, especially for > rtl_wq. On the other hand,

[PATCH v2 0/2] scsi: arcmsr: configure the default SCSI device command timeout value

2020-10-26 Thread ching Huang
This patch is against to mkp's 5.10/scsi-fixes. 1. Configure the default SCSI device command timeout value. 2. Confirm get free ccb in spin_lock circle. ---

Re: [PATCH net] net: hns3: Clear the CMDQ registers before unmapping BAR region

2020-10-26 Thread Jakub Kicinski
On Tue, 27 Oct 2020 09:42:01 +0800 Yunsheng Lin wrote: > On 2020/10/27 9:25, Jakub Kicinski wrote: > > On Tue, 27 Oct 2020 09:24:10 +0800 Yunsheng Lin wrote: > >>> Fixes: 862d969a3a4d ("net: hns3: do VF's pci re-initialization while PF > >>> doing FLR") > >> > >> The correct Fixes tag

Re: [rcu:rcu/test 76/76] drivers/dax/super.c:21:1: error: use of undeclared identifier '___srcu_struct_ptrs'

2020-10-26 Thread Paul E. McKenney
> > rcu/test > > head: 784a6343c3660446ae62db13628b20e9f876100f > > commit: 784a6343c3660446ae62db13628b20e9f876100f [76/76] Merge commit > > '3650b22' into rcu/test > > config: arm-randconfig-r026-20201026 (attached as .config) > > compiler: clang version 12.0.0 (https://github.com/llvm/l

RE: [RESEND 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-10-26 Thread Biwen Li (OSS)
> Subject: Re: [RESEND 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external > interrupt > > On 26/10/2020 09.44, Marc Zyngier wrote: > > On 2020-10-26 08:01, Biwen Li wrote: > >> From: Hou Zhiqiang > >> > >> Add an new IRQ chip declaration for LS1043A and LS1088A > >> - compatible

[PATCH v12 2/2] ASoC: qcom: sc7180: Add machine driver for sound card registration

2020-10-26 Thread Cheng-Yi Chiang
From: Ajit Pandey Add new driver to register sound card on sc7180 trogdor board and do the required configuration for lpass cpu dai and external codecs connected over MI2S interfaces. Signed-off-by: Ajit Pandey Signed-off-by: Cheng-Yi Chiang --- Changes from v11 to v12 - Machine driver: -

[PATCH v12 1/2] ASoC: google: dt-bindings: Add sc7180-trogdor machine bindings

2020-10-26 Thread Cheng-Yi Chiang
Add devicetree bindings documentation file for sc7180 sound card. Signed-off-by: Cheng-Yi Chiang --- Changes from v11 to v12 - Documentation: - Change the file and title name for new compatible string google,sc7180-trogdor. - Change the example of model name.

[PATCH v12 0/2] Add documentation and machine driver for SC7180 sound card

2020-10-26 Thread Cheng-Yi Chiang
Note: - The machine driver patch is made by the collaboration of Cheng-Yi Chiang Rohit kumar Ajit Pandey But Ajit has left codeaurora. Changes from v1 to v2: - Ducumentation: Addressed all suggestions from Doug. - Machine driver: - Fix comment style for license. - Sort includes.

[PATCH v2 01/10] media: tegra-video: Use zero crop settings if subdev has no get_selection

2020-10-26 Thread Sowjanya Komatineni
Currently try format implementation doesn't check if subdevice has get_selection ops implemented and returns -EINVAL on error from direct v4l2_subdev_call of get_selection. Selection API's are not mandatory for all V4L2 subdevices. This patch fixes it by adding v4l2_subdev_has_ops check prior to

[PATCH v2 09/10] media: tegra-video: Implement V4L2 device notify callback

2020-10-26 Thread Sowjanya Komatineni
Implement V4L2 device notify callback to handle V4L2_EVENT_SOURCE_CHANGE event from subdevices. HDMI-to-CSI bridge drivers trigger V4L2_EVENT_SOURCE_CHANGE when source DV timing changes are detected or when HDMI hotplug happens. Runtime source parameter changes during active streaming is not

[PATCH v2 05/10] media: tegra-video: Add DV timing support

2020-10-26 Thread Sowjanya Komatineni
This patch adds below v4l2 DV timing ioctls to support HDMI-to-CSI bridges. Signed-off-by: Sowjanya Komatineni --- drivers/staging/media/tegra-video/vi.c | 97 ++ 1 file changed, 97 insertions(+) diff --git a/drivers/staging/media/tegra-video/vi.c

[PATCH v2 10/10] media: tegra-video: Add support for x8 captures with gang ports

2020-10-26 Thread Sowjanya Komatineni
Tegra VI/CSI hardware don't have native 8 lane capture support. Each CSI port has max 4 lanes only. So for x8 captures, consecutive ports are ganged up for left half and right half captures on to each x4 ports with buffer offsets based on source image split width to align side-by-side. All ports

[PATCH v2 08/10] media: tegra-video: Add support for V4L2_EVENT_SOURCE_CHANGE

2020-10-26 Thread Sowjanya Komatineni
Current implementation uses v4l2_ctrl_subscribe_event() and this does not handle V4L2_EVENT_SOURCE_CHANGE. So, update driver to handle V4L2_EVENT_SOURCE_CHANGE. Signed-off-by: Sowjanya Komatineni --- drivers/staging/media/tegra-video/vi.c | 14 +- 1 file changed, 13 insertions(+),

[PATCH v2 00/10] media: tegra-video: Add support for capturing from HDMI-to-CSI bridge

2020-10-26 Thread Sowjanya Komatineni
This series includes below changes to allow capturing from HDMI-to-CSI bridges. - Add DV timing, EDID and log status V4L2 IOCTLs - Subscribe V4L2_EVENT_SOURCE_CHANGE - Implement V4L2 device notify callback to report queue error on source change during active streaming. - Add support for NV16

[PATCH v2 04/10] media: tegra-video: Add support for V4L2_PIX_FMT_NV16

2020-10-26 Thread Sowjanya Komatineni
NV16 are two-plane versions of YUV422 format. VI/CSI surface0 registers corresponds to first Y plane and surface1 registers corresponds to seconds UV plane. This patch updates image size for NV16 format to include both planes and programs VI/CSI surface1 registers for UV plane capture.

[PATCH v2 06/10] media: tegra-video: Add support for EDID ioctl ops

2020-10-26 Thread Sowjanya Komatineni
This patch adds support for EDID get and set v4l2 ioctl ops to use with HDMI to CSI bridges. Signed-off-by: Sowjanya Komatineni --- drivers/staging/media/tegra-video/vi.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/staging/media/tegra-video/vi.c

[PATCH v2 03/10] media: tegra-video: Fix V4L2 pixel format for RGB888_1X24

2020-10-26 Thread Sowjanya Komatineni
V4L2 pixel format is incorrect for RGB888_1X24. This patch fixes it. Signed-off-by: Sowjanya Komatineni --- drivers/staging/media/tegra-video/tegra210.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/media/tegra-video/tegra210.c

[PATCH v2 02/10] media: tegra-video: Enable VI pixel transform for YUV and RGB formats

2020-10-26 Thread Sowjanya Komatineni
VI Pixel transforms converts source pixel data to selected destination pixel formats in memory and aligns properly. YUV and RGB formats need this pixel transform to be enabled. RAW formats use T_R16_I destination pixel format in memory and does not need pixel transform as they support direct

[PATCH v2 07/10] media: tegra-video: Add support for VIDIOC_LOG_STATUS ioctl

2020-10-26 Thread Sowjanya Komatineni
This patch adds support for log_status ioctl. Signed-off-by: Sowjanya Komatineni --- drivers/staging/media/tegra-video/vi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/media/tegra-video/vi.c b/drivers/staging/media/tegra-video/vi.c index 92f36b1..936e5e5

Re: [RFC PATCH 0/8] KVM: x86/mmu: Introduce pinned SPTEs framework

2020-10-26 Thread Brijesh Singh
Hi Sean, On 8/4/20 2:40 PM, Brijesh Singh wrote: > On 8/3/20 12:16 PM, Sean Christopherson wrote: >> On Mon, Aug 03, 2020 at 10:52:05AM -0500, Brijesh Singh wrote: >>> Thanks for series Sean. Some thoughts >>> >>> >>> On 7/31/20 4:23 PM, Sean Christopherson wrote: SEV currently needs to pin

Re: [PATCH v8 -tip 02/26] sched: Introduce sched_class::pick_task()

2020-10-26 Thread Li, Aubrey
On 2020/10/26 17:01, Peter Zijlstra wrote: > On Sat, Oct 24, 2020 at 08:27:16AM -0400, Vineeth Pillai wrote: >> >> >> On 10/24/20 7:10 AM, Vineeth Pillai wrote: >>> >>> diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >>> index 93a3b874077d..4cae5ac48b60 100644 >>> --- a/kernel/sched/fair.c

[PATCH] rtlwifi: Fix non-canonical address access issues

2020-10-26 Thread WeitaoWangoc
During realtek USB wireless NIC initialization, it's unexpected disconnection will cause urb sumbmit fail. On the one hand, _rtl_usb_cleanup_rx will be called to clean up rx stuff, especially for rtl_wq. On the other hand, disconnection will cause rtl_usb_disconnect and _rtl_usb_cleanup_rx to be

RE: [RESEND 01/11] irqchip: ls-extirq: Add LS1043A, LS1088A external interrupt

2020-10-26 Thread Biwen Li
> > -Original Message- > > From: Marc Zyngier > > Sent: Monday, October 26, 2020 4:23 AM > > To: Rasmus Villemoes > > Cc: Biwen Li (OSS) ; shawn...@kernel.org; > > robh...@kernel.org; mark.rutl...@arm.com; Leo Li ; > > Z.q. Hou ; t...@linutronix.de; > > ja...@lakedaemon.net;

Re: [PATCH v3 20/20] perf arm-spe: Add support for ARMv8.3-SPE

2020-10-26 Thread Leo Yan
On Mon, Oct 26, 2020 at 06:17:20PM +, André Przywara wrote: > On 22/10/2020 15:58, Leo Yan wrote: > > Hi, > > > From: Wei Li > > > > This patch is to support Armv8.3 extension for SPE, it adds alignment > > field in the Events packet and it supports the Scalable Vector Extension > > (SVE)

[PATCH v4 21/21] perf arm-spe: Add support for ARMv8.3-SPE

2020-10-26 Thread Leo Yan
From: Wei Li This patch is to support Armv8.3 extension for SPE, it adds alignment field in the Events packet and it supports the Scalable Vector Extension (SVE) for Operation packet and Events packet with two additions: - The vector length for SVE operations in the Operation Type packet; -

[PATCH v4 18/21] perf arm-spe: Refactor operation packet handling

2020-10-26 Thread Leo Yan
Defines macros for operation packet header and formats (support sub classes for 'other', 'branch', 'load and store', etc). Uses these macros for operation packet decoding and dumping. Signed-off-by: Leo Yan --- .../arm-spe-decoder/arm-spe-pkt-decoder.c | 32 ++-

[PATCH v4 19/21] perf arm-spe: Add more sub classes for operation packet

2020-10-26 Thread Leo Yan
For the operation type packet payload with load/store class, it misses to support these sub classes: - A load/store targeting the general-purpose registers; - A load/store targeting unspecified registers; - The ARMv8.4 nested virtualisation extension can redirect system register

[PATCH v4 13/21] perf arm-spe: Refactor counter packet handling

2020-10-26 Thread Leo Yan
This patch defines macros for counter packet header, and uses macros to replace hard code values in functions arm_spe_get_counter() and arm_spe_pkt_desc(). In the function arm_spe_get_counter(), adds a new line for more readable. Signed-off-by: Leo Yan ---

[PATCH v4 20/21] perf arm_spe: Decode memory tagging properties

2020-10-26 Thread Leo Yan
From: Andre Przywara When SPE records a physical address, it can additionally tag the event with information from the Memory Tagging architecture extension. Decode the two additional fields in the SPE event payload. [leoy: Refined patch to use predefined macros] Signed-off-by: Andre Przywara

[PATCH v4 12/21] perf arm-spe: Add new function arm_spe_pkt_desc_counter()

2020-10-26 Thread Leo Yan
This patch moves out the counter packet parsing code from arm_spe_pkt_desc() to the new function arm_spe_pkt_desc_counter(). Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../arm-spe-decoder/arm-spe-pkt-decoder.c | 64 +++ 1 file changed, 37 insertions(+), 27

[PATCH v4 10/21] perf arm_spe: Fixup top byte for data virtual address

2020-10-26 Thread Leo Yan
To establish a valid address from the address packet payload and finally the address value can be used for parsing data symbol in DSO, current code uses 0xff to replace the tag in the top byte of data virtual address. So far the code only fixups top byte for the memory layouts with 4KB pages, it

[PATCH v4 11/21] perf arm-spe: Refactor context packet handling

2020-10-26 Thread Leo Yan
Minor refactoring to use macro for index mask. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c | 2 +- tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git

[PATCH v4 15/21] perf arm-spe: Refactor event type handling

2020-10-26 Thread Leo Yan
Move the enums of event types to arm-spe-pkt-decoder.h, thus function arm_spe_pkt_desc() can them for bitmasks. Suggested-by: Andre Przywara Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../util/arm-spe-decoder/arm-spe-decoder.h| 17 --

[PATCH v4 17/21] perf arm-spe: Add new function arm_spe_pkt_desc_op_type()

2020-10-26 Thread Leo Yan
The operation type packet is complex and contains subclass; the parsing flow causes deep indentation; for more readable, this patch introduces a new function arm_spe_pkt_desc_op_type() which is used for operation type parsing. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara ---

[PATCH v4 16/21] perf arm-spe: Remove size condition checking for events

2020-10-26 Thread Leo Yan
In the Armv8 ARM (ARM DDI 0487F.c), chapter "D10.2.6 Events packet", it describes the event bit is valid with specific payload requirement. For example, the Last Level cache access event, the bit is defined as: E[8], byte 1 bit [0], when SZ == 0b01 , when SZ == 0b10 , or

[PATCH v4 14/21] perf arm-spe: Add new function arm_spe_pkt_desc_event()

2020-10-26 Thread Leo Yan
This patch moves out the event packet parsing from arm_spe_pkt_desc() to the new function arm_spe_pkt_desc_event(). Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../arm-spe-decoder/arm-spe-pkt-decoder.c | 136 ++ 1 file changed, 73 insertions(+), 63 deletions(-)

[PATCH v4 00/21] perf arm-spe: Refactor decoding & dumping flow

2020-10-26 Thread Leo Yan
This is patch set v4 for refactoring Arm SPE trace decoding and dumping. It follows Andre's suggestions for minor improvement comparing to patch set v3. This patch set is to refactor the Arm SPE decoding with: - Patches 01, 02 are minor cleans up for header, typos; - Patches 03, 04 and 05 are

[PATCH v4 06/21] perf arm-spe: Refactor printing string to buffer

2020-10-26 Thread Leo Yan
When outputs strings to the decoding buffer with function snprintf(), SPE decoder needs to detects if any error returns from snprintf() and if so needs to directly bail out. If snprintf() returns success, it needs to update buffer pointer and reduce the buffer length so can continue to output the

[PATCH v4 03/21] perf arm-spe: Refactor payload size calculation

2020-10-26 Thread Leo Yan
This patch defines macro to extract "sz" field from header, and renames the function payloadlen() to arm_spe_payload_len(). Signed-off-by: Leo Yan --- .../util/arm-spe-decoder/arm-spe-pkt-decoder.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git

Re: [PATCH] scsi: ufs: Make sure clk scaling happens only when hba is runtime ACTIVE

2020-10-26 Thread Stanley Chu
Hi Can, On Tue, 2020-10-20 at 10:35 +0800, Can Guo wrote: > Hi Stanley, > > On 2020-09-22 15:09, Can Guo wrote: > > If someone plays with the UFS clk scaling devfreq governor through > > sysfs, > > ufshcd_devfreq_scale may be called even when hba is not runtime ACTIVE, > > which can lead to

[PATCH v4 07/21] perf arm-spe: Refactor packet header parsing

2020-10-26 Thread Leo Yan
The packet header parsing uses the hard coded values and it uses nested if-else statements. To improve the readability, this patch refactors the macros for packet header format so it removes the hard coded values. Furthermore, based on the new mask macros it reduces the nested if-else statements

[PATCH v4 02/21] perf arm-spe: Fix a typo in comment

2020-10-26 Thread Leo Yan
Fix a typo: s/iff/if. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c

[PATCH v4 08/21] perf arm-spe: Add new function arm_spe_pkt_desc_addr()

2020-10-26 Thread Leo Yan
This patch moves out the address parsing code from arm_spe_pkt_desc() and uses the new introduced function arm_spe_pkt_desc_addr() to process address packet. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- .../arm-spe-decoder/arm-spe-pkt-decoder.c | 49 --- 1 file

[PATCH v4 01/21] perf arm-spe: Include bitops.h for BIT() macro

2020-10-26 Thread Leo Yan
Include header linux/bitops.h, directly use its BIT() macro and remove the self defined macros. Signed-off-by: Leo Yan Reviewed-by: Andre Przywara --- tools/perf/util/arm-spe-decoder/arm-spe-decoder.c | 5 + tools/perf/util/arm-spe-decoder/arm-spe-pkt-decoder.c | 3 +-- 2 files

[PATCH v4 04/21] perf arm-spe: Refactor arm_spe_get_events()

2020-10-26 Thread Leo Yan
In function arm_spe_get_events(), the event packet's 'index' is assigned as payload length, but the flow is not directive: it firstly gets the packet length from the return value of arm_spe_get_payload(), the value includes header length (1) and payload length: int ret =

  1   2   3   4   5   6   7   8   9   10   >