[PATCH] gpu: drm: mediatek: delete redundant printing of return value

2021-03-12 Thread Wang Qing
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, it is not necessary at all. Signed-off-by: Wang Qing --- drivers/gpu/drm/mediatek/mtk_dpi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH] tty: serial: 8250: delete redundant printing of return value

2021-03-12 Thread Wang Qing
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, it is not necessary at all. Signed-off-by: Wang Qing --- drivers/tty/serial/8250/8250_fsl.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

[PATCH] char: hw_random: delete redundant printing of return value

2021-03-12 Thread Wang Qing
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, it is not necessary at all. Signed-off-by: Wang Qing --- drivers/char/hw_random/cctrng.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 1/2] ata: delete redundant printing of return value

2021-03-12 Thread Wang Qing
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, it is not necessary at all. Signed-off-by: Wang Qing --- drivers/ata/sata_highbank.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ata/sata_highbank.c

[PATCH 1/2] ata: delete redundant printing of return value

2021-03-12 Thread Wang Qing
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, it is not necessary at all. Signed-off-by: Wang Qing --- drivers/ata/libahci_platform.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git

Re: [v8,3/7] PCI: mediatek-gen3: Add MediaTek Gen3 driver for MT8192

2021-03-12 Thread Jianjun Wang
On Thu, 2021-03-11 at 13:38 +0100, Pali Rohár wrote: > On Wednesday 24 February 2021 14:11:28 Jianjun Wang wrote: > > +static int mtk_pcie_startup_port(struct mtk_pcie_port *port) > > +{ > ... > > + > > + /* Delay 100ms to wait the reference clocks become stable */ > > + msleep(100); > > + > >

[PATCH v4 2/3] crypto: hisilicon/sec - fixes some coding style

2021-03-12 Thread Longfang Liu
1.delete the original complex method of obtaining the current device and replace it with the initialized device pointer. 2.fixes some coding style Signed-off-by: Longfang Liu --- drivers/crypto/hisilicon/sec2/sec.h| 5 +- drivers/crypto/hisilicon/sec2/sec_crypto.c | 75

[PATCH v4 1/3] crypto: hisilicon/sec - fixes a printing error

2021-03-12 Thread Longfang Liu
When the log is output here, the device has not been initialized yet. Signed-off-by: Longfang Liu --- drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/hisilicon/sec2/sec_crypto.c

[PATCH v4 3/3] crypto: hisilicon/sec - fixes some driver coding style

2021-03-12 Thread Longfang Liu
cleanup static check errors for SEC Signed-off-by: Longfang Liu --- drivers/crypto/hisilicon/sec2/sec_main.c | 131 ++- 1 file changed, 76 insertions(+), 55 deletions(-) diff --git a/drivers/crypto/hisilicon/sec2/sec_main.c

[PATCH v4 0/3] crypto:hisilicon/sec - fixes some coding style

2021-03-12 Thread Longfang Liu
1. Fix a problems. 2. Fix some coding style. Changes v3 -> v4: - Fixed an unused warning on dev. - Create a patch for bugfix Changes v2 -> v3: - Delete shash test error patch. Changes v1 -> v2: - Modify the way to fix shash test error. Longfang Liu (3): crypto: hisilicon/sec - fixes

[v4] PCI: Add reset quirk for Huawei Intelligent NIC virtual function

2021-03-12 Thread Chiqijun
When multiple VFs do FLR at the same time, the firmware is processed serially, resulting in some VF FLRs being delayed more than 100ms, when the virtual machine restarts and the device driver is loaded, the firmware is doing the corresponding VF FLR, causing the driver to fail to load. To solve

Re: [syzbot] BUG: unable to handle kernel access to user memory in schedule_tail

2021-03-12 Thread Dmitry Vyukov
On Fri, Mar 12, 2021 at 9:12 PM Ben Dooks wrote: > > On 12/03/2021 16:25, Alex Ghiti wrote: > > > > > > Le 3/12/21 à 10:12 AM, Dmitry Vyukov a écrit : > >> On Fri, Mar 12, 2021 at 2:50 PM Ben Dooks > >> wrote: > >>> > >>> On 10/03/2021 17:16, Dmitry Vyukov wrote: > On Wed, Mar 10, 2021 at

Re: [PATCH V3 XRT Alveo 17/18] fpga: xrt: partition isolation platform driver

2021-03-12 Thread Lizhi Hou
Hi Tom, On 03/06/2021 07:54 AM, Tom Rix wrote: On 2/17/21 10:40 PM, Lizhi Hou wrote: Add partition isolation platform driver. partition isolation is a hardware function discovered by walking firmware metadata. A platform device node will be created for it. Partition isolation function isolate

Re: [PATCH] docs: admin-guide: cgroup-v1: Fix typos in the file memory.rst

2021-03-12 Thread Randy Dunlap
On 3/12/21 10:10 PM, Bhaskar Chowdhury wrote: > > s/overcommited/overcommitted/ > s/Overcommiting/Overcommitting/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > Documentation/admin-guide/cgroup-v1/memory.rst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >

Re: [PATCH] net: ethernet: marvell: Fixed typo in the file sky2.c

2021-03-12 Thread Randy Dunlap
On 3/12/21 9:45 PM, Bhaskar Chowdhury wrote: > > s/calclation/calculation/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap Subject: should say "Fix typo", not "Fixed typo". > --- > drivers/net/ethernet/marvell/sky2.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >

Re: [PATCH] clk: at91: Trivial typo fixes in the file sama7g5.c

2021-03-12 Thread Randy Dunlap
On 3/12/21 9:32 PM, Bhaskar Chowdhury wrote: > > s/critial/critical/ ..two different places > s/parrent/parent/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/clk/at91/sama7g5.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

Re: [PATCH 07/11] PM / devfreq: check get_dev_status before start monitor

2021-03-12 Thread Dong Aisheng
On Sat, Mar 13, 2021 at 12:09 AM Chanwoo Choi wrote: > > On 21. 3. 12. 오후 7:57, Dong Aisheng wrote: > > On Thu, Mar 11, 2021 at 2:54 PM Chanwoo Choi wrote: > >> > >> On 3/10/21 1:56 PM, Dong Aisheng wrote: > >>> On Wed, Mar 10, 2021 at 11:08 AM Chanwoo Choi > >>> wrote: > > On

arch/arm64/kvm/sys_regs.c:165 vcpu_write_sys_reg() warn: inconsistent indenting

2021-03-12 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: f296bfd5cd04cbb49b8fc9585adc280ab2b58624 commit: 7ea90bdd70c9cf82dfbaa54e7d9f296928679224 KVM: arm64: Refactor vcpu_{read,write}_sys_reg date: 10 months ago config: arm64-randconfig-m031-20210312

Re: [PATCH] include: linux: Fix a typo in the file fs.h

2021-03-12 Thread Bhaskar Chowdhury
On 23:06 Fri 12 Mar 2021, Tom Saeger wrote: On Sat, Mar 13, 2021 at 10:49:55AM +0530, Bhaskar Chowdhury wrote: s/varous/various/ Signed-off-by: Bhaskar Chowdhury --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h

[PATCH] docs: admin-guide: cgroup-v1: Fix typos in the file memory.rst

2021-03-12 Thread Bhaskar Chowdhury
s/overcommited/overcommitted/ s/Overcommiting/Overcommitting/ Signed-off-by: Bhaskar Chowdhury --- Documentation/admin-guide/cgroup-v1/memory.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/cgroup-v1/memory.rst

Re: [PATCH] include: linux: Fix a typo in the file fs.h

2021-03-12 Thread Tom Saeger
On Sat, Mar 13, 2021 at 10:49:55AM +0530, Bhaskar Chowdhury wrote: > s/varous/various/ > > Signed-off-by: Bhaskar Chowdhury > --- > include/linux/fs.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/include/linux/fs.h b/include/linux/fs.h > index

[PATCH v3] perf tools: perf_event_paranoid and kptr_restrict may crash on 'perf top'

2021-03-12 Thread Jackie Liu
After install the libelf-dev package and compiling perf, kptr_restrict=2 and perf_event_paranoid=3 will cause perf top to crash, because the value of /proc/kallsyms cannot be obtained, which leads to info->jited_ksyms == NULL. In order to solve this problem, Add a judgment before use. V2->V3:

Re: [PATCH] iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()

2021-03-12 Thread Sedat Dilek
On Sat, Mar 13, 2021 at 6:45 AM Kalle Valo wrote: > > Jiri Kosina writes: > > > On Mon, 8 Mar 2021, Jiri Kosina wrote: > > > >> > From: Jiri Kosina > >> > > >> > It's possible for iwl_pcie_enqueue_hcmd() to be called with hard IRQs > >> > disabled (e.g. from LED core). We can't enable BHs in

[PATCH v5 0/3] x86/bus_lock: Enable bus lock detection

2021-03-12 Thread Fenghua Yu
A bus lock [1] is acquired through either split locked access to writeback (WB) memory or any locked access to non-WB memory. This is typically >1000 cycles slower than an atomic operation within a cache line. It also disrupts performance on other cores. Although split lock can be detected by #AC

[PATCH v5 2/3] x86/bus_lock: Handle #DB for bus lock

2021-03-12 Thread Fenghua Yu
Bus locks degrade performance for the whole system, not just for the CPU that requested the bus lock. Two CPU features "#AC for split lock" and "#DB for bus lock" provide hooks so that the operating system may choose one of several mitigation strategies. #AC for split lock is already implemented.

[PATCH v5 3/3] Documentation/admin-guide: Change doc for split_lock_detect parameter

2021-03-12 Thread Fenghua Yu
Since #DB for bus lock detect changes the split_lock_detect parameter, update the documentation for the changes. Signed-off-by: Fenghua Yu Reviewed-by: Tony Luck Acked-by: Randy Dunlap --- Change Log: v5: - Remove N < HZ/2 check info in the doc (Thomas). v4: - Fix a ratelimit wording issue in

[PATCH v5 1/3] x86/cpufeatures: Enumerate #DB for bus lock detection

2021-03-12 Thread Fenghua Yu
A bus lock is acquired though either split locked access to writeback (WB) memory or any locked access to non-WB memory. This is typically >1000 cycles slower than an atomic operation within a cache line. It also disrupts performance on other cores. Some CPUs have ability to notify the kernel by

[PATCH] net: ethernet: marvell: Fixed typo in the file sky2.c

2021-03-12 Thread Bhaskar Chowdhury
s/calclation/calculation/ Signed-off-by: Bhaskar Chowdhury --- drivers/net/ethernet/marvell/sky2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/sky2.c b/drivers/net/ethernet/marvell/sky2.c index ebe1406c6e64..18a3db2fd337 100644 ---

[PATCH v6 1/2] arm64: dts: qcom: sc7180-trogdor: Add lpass dai link for I2S driver

2021-03-12 Thread Srinivasa Rao Mandadapu
From: Ajit Pandey Add dai link for supporting lpass I2S driver, which is used for audio capture and playback. Add lpass-cpu node with pin controls and i2s primary and secondary dai-links Signed-off-by: Ajit Pandey Signed-off-by: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Mandadapu

[PATCH v6 2/2] arm64: dts: qcom: Add sound node for sc7180-trogdor-coachz

2021-03-12 Thread Srinivasa Rao Mandadapu
This is a trgodor variant, required to have sound node variable for coachz specific platform. Signed-off-by: Srinivasa Rao Mandadapu --- arch/arm64/boot/dts/qcom/sc7180-trogdor-coachz.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v6 0/2] Qualcomm's lpass device tree changes for I2s dai

2021-03-12 Thread Srinivasa Rao Mandadapu
These patches are device tree changes to support audio over I2S. Changes Since v4: -- Removed lpass macro in codec dai cell -- Renamed multimedia dai codec alias name Changes Since v4: -- Removed duplication of dai-link in sound node. -- Replaced reg values with common dt-bindings macros

[PATCH] clk: at91: Trivial typo fixes in the file sama7g5.c

2021-03-12 Thread Bhaskar Chowdhury
s/critial/critical/ ..two different places s/parrent/parent/ Signed-off-by: Bhaskar Chowdhury --- drivers/clk/at91/sama7g5.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/clk/at91/sama7g5.c b/drivers/clk/at91/sama7g5.c index a6e20b35960e..9e1ec48c4474

Re: [PATCH] iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()

2021-03-12 Thread Kalle Valo
Jiri Kosina writes: > On Mon, 8 Mar 2021, Jiri Kosina wrote: > >> > From: Jiri Kosina >> > >> > It's possible for iwl_pcie_enqueue_hcmd() to be called with hard IRQs >> > disabled (e.g. from LED core). We can't enable BHs in such a situation. >> > >> > Turn the unconditional

[PATCH] include: linux: Fix a typo in the file fs.h

2021-03-12 Thread Bhaskar Chowdhury
s/varous/various/ Signed-off-by: Bhaskar Chowdhury --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/fs.h b/include/linux/fs.h index ec8f3ddf4a6a..c37a17c32d74 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1051,7 +1051,7 @@

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-12 Thread Frank Rowand
On 3/12/21 1:13 AM, Viresh Kumar wrote: > On 12-03-21, 01:09, Frank Rowand wrote: >> I suggested having the .dtso files include the .dts file because that is a >> relatively >> small and easy change to test. What would probably make more sense is the >> rename >> the existing overlay .dts files

[PATCH] KVM: clean up the unused argument

2021-03-12 Thread lihaiwei . kernel
From: Haiwei Li kvm_msr_ignored_check function never uses vcpu argument. Clean up the function and invokers. Signed-off-by: Haiwei Li --- arch/x86/kvm/x86.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index

Re: [PATCH v5 2/2] arm64: dts: qcom: Add sound node for sc7180-trogdor-coachz

2021-03-12 Thread Srinivasa Rao Mandadapu
Hi Doug, Thanks for your time and inputs!!! On 3/13/2021 2:58 AM, Doug Anderson wrote: Hi, On Fri, Mar 12, 2021 at 8:07 AM Srinivasa Rao Mandadapu wrote: This is a trgodor variant, required to have sound node variable for coachz specific platform. Signed-off-by: Srinivasa Rao Mandadapu

Re: [PATCH] ia64: include: asm: Minor typo fixes in the file pgtable.h

2021-03-12 Thread Randy Dunlap
On 3/12/21 8:55 PM, Bhaskar Chowdhury wrote: > > s/migraton/migration/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > arch/ia64/include/asm/pgtable.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/ia64/include/asm/pgtable.h

[PATCH v2] ASoC: amd: add support for rt5682 codec in machine driver

2021-03-12 Thread Vijendar Mukunda
Add support for RT5682 codec in machine driver. Signed-off-by: Vijendar Mukunda --- v1->v2 : updated kconfig, spdx license, removed unnecessary initialization and updated comment sound/soc/amd/Kconfig| 5 +- sound/soc/amd/acp-da7219-max98357a.c | 380

[PATCH] ia64: include: asm: Minor typo fixes in the file pgtable.h

2021-03-12 Thread Bhaskar Chowdhury
s/migraton/migration/ Signed-off-by: Bhaskar Chowdhury --- arch/ia64/include/asm/pgtable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/pgtable.h b/arch/ia64/include/asm/pgtable.h index 9b4efe89e62d..00a76ed7e018 100644 ---

Re: [PATCH V3] cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

2021-03-12 Thread Randy Dunlap
On 3/12/21 7:49 PM, Bhaskar Chowdhury wrote: > > Trivial spelling fixes throughout the file. > > Signed-off-by: Bhaskar Chowdhury > --- > Changes from V2: > Incoporated the findings of Tom Saeger typo^^^ > > drivers/cpufreq/s5pv210-cpufreq.c | 12 ++-- > 1 file changed,

Re: [PATCH v5 1/2] arm64: dts: qcom: sc7180-trogdor: Add lpass dai link for I2S driver

2021-03-12 Thread Srinivasa Rao Mandadapu
Hi Doug, Thanks for your time and inputs!!! On 3/13/2021 2:58 AM, Doug Anderson wrote: Hi, On Fri, Mar 12, 2021 at 8:06 AM Srinivasa Rao Mandadapu wrote: + dai-link@0 { + link-name = "MultiMedia0"; + reg = ; +

[PATCH] drm/kmb: remove unneeded semicolon

2021-03-12 Thread angkery
From: Junlin Yang Fixes coccicheck warnings: ./drivers/gpu/drm/kmb/kmb_dsi.c:284:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:304:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:321:3-4: Unneeded semicolon ./drivers/gpu/drm/kmb/kmb_dsi.c:340:3-4: Unneeded semicolon

RE: [PATCH net-next] hv_netvsc: Add a comment clarifying batching logic

2021-03-12 Thread Dexuan Cui
> From: LKML haiyangz On Behalf Of Haiyang Zhang > Sent: Friday, March 12, 2021 3:45 PM > To: linux-hyp...@vger.kernel.org; net...@vger.kernel.org > Cc: Haiyang Zhang ; KY Srinivasan > ; Stephen Hemminger ; > o...@aepfle.de; vkuznets ; da...@davemloft.net; > linux-kernel@vger.kernel.org; Shachar

Re: [PATCH v2 00/25] KVM SGX virtualization support

2021-03-12 Thread Kai Huang
On Fri, 2021-03-12 at 14:04 -0800, Sean Christopherson wrote: > On Tue, Mar 09, 2021, Paolo Bonzini wrote: > > On 09/03/21 10:30, Borislav Petkov wrote: > > > On Tue, Mar 09, 2021 at 02:38:49PM +1300, Kai Huang wrote: > > > > This series adds KVM SGX virtualization support. The first 14 patches >

[PATCH] mm/oom_kill: fix wild pointer in out_of_memory

2021-03-12 Thread Jiang Biao
From: Bin Lai From: Bin Lai The oc->chosen is used by oom implementation, and the caller does not initialize this variable. If the tasks of memcg are all unkillable, oom_evaluate_task cann't choose any task, and the oc->chosen will be a wild pointer. So we should initialize oc->chosen before

Re: [PATCH V3] cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

2021-03-12 Thread Tom Saeger
On Sat, Mar 13, 2021 at 09:19:51AM +0530, Bhaskar Chowdhury wrote: > > Trivial spelling fixes throughout the file. > LGTM Reviewed-by: Tom Saeger > Signed-off-by: Bhaskar Chowdhury > --- > Changes from V2: > Incoporated the findings of Tom Saeger > > drivers/cpufreq/s5pv210-cpufreq.c

Re: [PATCH 3/7] tracing: Pass buffer of event to trigger operations

2021-03-12 Thread kernel test robot
Hi Steven, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.12-rc2 next-20210312] [cannot apply to tip/perf/core hnaz-linux-mm/master] [If your patch is applied to the wrong git tree, kindly drop us a note

Re: [PATCH] MAINTAINERS: update audit files

2021-03-12 Thread Richard Guy Briggs
On 2021-03-12 16:38, Paul Moore wrote: > On Thu, Mar 11, 2021 at 11:41 AM Richard Guy Briggs wrote: > > Add files maintaned by the audit subsystem. > > > > Signed-off-by: Richard Guy Briggs > > --- > > MAINTAINERS | 4 > > 1 file changed, 4 insertions(+) > > > > diff --git a/MAINTAINERS

RE: slow boot with 7fef431be9c9 ("mm/page_alloc: place pages to tail in __free_pages_core()")

2021-03-12 Thread Liang, Liang (Leo)
[AMD Public Use] Hi David, Which benchmark tool you prefer? Memtest86+ or else? BRs, Leo -Original Message- From: David Hildenbrand Sent: Saturday, March 13, 2021 12:47 AM To: Liang, Liang (Leo) ; Deucher, Alexander ; linux-kernel@vger.kernel.org; amd-gfx list ; Andrew Morton Cc:

Re: [PATCH V2] cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

2021-03-12 Thread Bhaskar Chowdhury
On 19:59 Fri 12 Mar 2021, Tom Saeger wrote: On Fri, Mar 12, 2021 at 04:57:07PM -0800, Randy Dunlap wrote: On 3/12/21 4:50 PM, Bhaskar Chowdhury wrote: > On 17:16 Fri 12 Mar 2021, Tom Saeger wrote: >> On Sat, Mar 13, 2021 at 04:56:21AM +0530, Bhaskar Chowdhury wrote: >> >> sent a few additional

[PATCH V3] cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

2021-03-12 Thread Bhaskar Chowdhury
Trivial spelling fixes throughout the file. Signed-off-by: Bhaskar Chowdhury --- Changes from V2: Incoporated the findings of Tom Saeger drivers/cpufreq/s5pv210-cpufreq.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/cpufreq/s5pv210-cpufreq.c

[PATCH] clk: clk.c: Fixed statics initialized to 0

2021-03-12 Thread Pallavi Prabhu
Uninitialized static variable from 0, as statics get auto-initialized to 0 during execution. Signed-off-by: Pallavi Prabhu --- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 5052541a0986..763ad2c960bd 100644 ---

Re: [PATCH] fs: overlayfs: Trivial typo fixes in the file inode.c

2021-03-12 Thread Randy Dunlap
On 3/12/21 7:30 PM, Bhaskar Chowdhury wrote: > > s/peresistent/persistent/ > s/xatts/xattrs/ ---> this is a filesystem attribute, so, it spell like this. > s/annotaion/annotation/ > > > Signed-off-by: Bhaskar Chowdhury In the future, please drop "fs: " in the Subject:. Compare: $ git log

Re: [PATCH v2 1/1] PCI: pciehp: Skip DLLSC handling if DPC is triggered

2021-03-12 Thread Kuppuswamy, Sathyanarayanan
On 3/12/21 7:32 PM, sathyanarayanan.kuppusw...@linux.intel.com wrote: From: Kuppuswamy Sathyanarayanan When hotplug and DPC are both enabled on a Root port or Downstream Port, during DPC events that cause a DLLSC link down/up events, such events (DLLSC) must be suppressed to let the DPC

[PATCH] mips: kernel: use DEFINE_DEBUGFS_ATTRIBUTE with debugfs_create_file_unsafe()

2021-03-12 Thread Wang Qing
debugfs_create_file_unsafe does not protect the fops handed to it against file removal. DEFINE_DEBUGFS_ATTRIBUTE makes the fops aware of the file lifetime and thus protects it against removal. Signed-off-by: Wang Qing --- arch/mips/kernel/spinlock_test.c | 8 1 file changed, 4

[PATCH] soc: ti: Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

2021-03-12 Thread Wang Qing
Fix the following coccicheck warning: WARNING:pm_sr_fops should be defined with DEFINE_DEBUGFS_ATTRIBUTE. Signed-off-by: Wang Qing --- drivers/soc/ti/smartreflex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/ti/smartreflex.c

[PATCH] fs: overlayfs: Trivial typo fixes in the file inode.c

2021-03-12 Thread Bhaskar Chowdhury
s/peresistent/persistent/ s/xatts/xattrs/ ---> this is a filesystem attribute, so, it spell like this. s/annotaion/annotation/ Signed-off-by: Bhaskar Chowdhury --- Note: The second change has nothing to do with dictionary words. fs/overlayfs/inode.c | 6 +++--- 1 file changed, 3

[PATCH v2 1/1] PCI: pciehp: Skip DLLSC handling if DPC is triggered

2021-03-12 Thread sathyanarayanan . kuppuswamy
From: Kuppuswamy Sathyanarayanan When hotplug and DPC are both enabled on a Root port or Downstream Port, during DPC events that cause a DLLSC link down/up events, such events (DLLSC) must be suppressed to let the DPC driver own the recovery path. When DPC is present and enabled, hardware will

[PATCH v3 2/2] rockchip: rk3399: Add support for FriendlyARM NanoPi R4S

2021-03-12 Thread Tianling Shen
This adds support for the NanoPi R4S from FriendlyArm. Rockchip RK3399 SoC 1GB DDR3 or 4GB LPDDR4 RAM Gigabit Ethernet (WAN) Gigabit Ethernet (PCIe) (LAN) USB 3.0 Port x 2 MicroSD slot Reset button WAN - LAN - SYS LED [initial DTS file] Co-developed-by: Jensen Huang Signed-off-by: Jensen Huang

[PATCH v3 1/2] dt-bindings: Add doc for FriendlyARM NanoPi R4S

2021-03-12 Thread Tianling Shen
Add devicetree binding documentation for the FriendlyARM NanoPi R4S. Changes in v2: - Disable display for NanoPi R4S (reference commit: 74532de460ec) - Light "sys" LED on NanoPi R4S (reference commit: 833821eeab91) Changes in v3: - Dropped non-existent node `display_subsystem` Signed-off-by:

Re: [PATCH] ACPI: fix various typos in comments

2021-03-12 Thread Randy Dunlap
On 3/12/21 5:55 PM, Tom Saeger wrote: > Fix trivial ACPI driver comment typos. > > s/notifcations/notifications/ > s/Ajust/Adjust/ > s/preform/perform/ > s/atrributes/attributes/ > s/Souce/Source/ > s/Evalutes/Evaluates/ > s/Evalutes/Evaluates/ > s/specifiy/specify/ > s/promixity/proximity/ >

Re: [PATCH] mailbox: fix various typos in comments

2021-03-12 Thread Randy Dunlap
On 3/12/21 6:31 PM, Tom Saeger wrote: > > Fix trivial typos in mailbox driver comments. > > s/Intergrated/Integrated/ > s/extenstion/extension/ > s/atleast/at least/ > s/commnunication/communication/ > s/assgined/assigned/ > s/commnunication/communication/ > s/recevied/received/ >

Re: [PATCH v2] hugetlb_cgroup: fix imbalanced css_get and css_put pair for shared mappings

2021-03-12 Thread Miaohe Lin
On 2021/3/13 3:09, Mike Kravetz wrote: > On 3/1/21 4:05 AM, Miaohe Lin wrote: >> The current implementation of hugetlb_cgroup for shared mappings could have >> different behavior. Consider the following two scenarios: >> >> 1.Assume initial css reference count of hugetlb_cgroup is 1: >> 1.1 Call

Re: [PATCH v4] perf annotate: Fix sample events lost in stdio mode

2021-03-12 Thread Namhyung Kim
On Sat, Mar 13, 2021 at 11:16 AM Yang Jihong wrote: > > In hist__find_annotations function, since different hist_entry may point to > same > symbol, we free notes->src to signal already processed this symbol in stdio > mode; > when annotate, entry will skipped if notes->src is NULL to avoid

Re: [PATCH V2] cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

2021-03-12 Thread Tom Saeger
On Fri, Mar 12, 2021 at 04:57:07PM -0800, Randy Dunlap wrote: > On 3/12/21 4:50 PM, Bhaskar Chowdhury wrote: > > On 17:16 Fri 12 Mar 2021, Tom Saeger wrote: > >> On Sat, Mar 13, 2021 at 04:56:21AM +0530, Bhaskar Chowdhury wrote: > >> > >> sent a few additional typo fixes to your V1, can you add

Re: [PATCH 4/5] mm/hugetlb: simplify the code when alloc_huge_page() failed in hugetlb_no_page()

2021-03-12 Thread Miaohe Lin
On 2021/3/13 3:58, Mike Kravetz wrote: > On 3/8/21 3:28 AM, Miaohe Lin wrote: >> Rework the error handling code when alloc_huge_page() failed to remove some >> duplicated code and simplify the code slightly. >> >> Signed-off-by: Miaohe Lin >> --- >> mm/hugetlb.c | 9 +++-- >> 1 file changed,

[PATCH] cpufreq: cppc: simplify default delay_us setting

2021-03-12 Thread Tom Saeger
Simplify case when setting default in cppc_cpufreq_get_transition_delay_us. Signed-off-by: Tom Saeger --- drivers/cpufreq/cppc_cpufreq.c | 14 ++ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/drivers/cpufreq/cppc_cpufreq.c b/drivers/cpufreq/cppc_cpufreq.c index

Re: [PATCH] libbpf: Use the correct fd when attaching to perf events

2021-03-12 Thread Andrii Nakryiko
On Fri, Mar 12, 2021 at 6:43 PM Sultan Alsawaf wrote: > > On Fri, Mar 12, 2021 at 06:33:01PM -0800, Andrii Nakryiko wrote: > > On Fri, Mar 12, 2021 at 6:22 PM Sultan Alsawaf > > wrote: > > > > > > On Fri, Mar 12, 2021 at 05:31:14PM -0800, Andrii Nakryiko wrote: > > > > On Fri, Mar 12, 2021 at

Re: [PATCH 5/5] mm/hugetlb: avoid calculating fault_mutex_hash in truncate_op case

2021-03-12 Thread Miaohe Lin
Hi: On 2021/3/13 4:03, Mike Kravetz wrote: > On 3/8/21 3:28 AM, Miaohe Lin wrote: >> The fault_mutex hashing overhead can be avoided in truncate_op case because >> page faults can not race with truncation in this routine. So calculate hash >> for fault_mutex only in !truncate_op case to save some

Re: [PATCH] perf-stat: introduce bperf, share hardware PMCs with BPF

2021-03-12 Thread Namhyung Kim
On Sat, Mar 13, 2021 at 12:38 AM Song Liu wrote: > > > > > On Mar 12, 2021, at 12:36 AM, Namhyung Kim wrote: > > > > Hi, > > > > On Fri, Mar 12, 2021 at 11:03 AM Song Liu wrote: > >> > >> perf uses performance monitoring counters (PMCs) to monitor system > >> performance. The PMCs are limited

[PATCH RFC] net: sched: implement TCQ_F_CAN_BYPASS for lockless qdisc

2021-03-12 Thread Yunsheng Lin
Currently pfifo_fast has both TCQ_F_CAN_BYPASS and TCQ_F_NOLOCK flag set, but queue discipline by-pass does not work for lockless qdisc because skb is always enqueued to qdisc even when the qdisc is empty, see __dev_xmit_skb(). This patch calles sch_direct_xmit() to transmit the skb directly to

Re: [PATCH] libbpf: Use the correct fd when attaching to perf events

2021-03-12 Thread Sultan Alsawaf
On Fri, Mar 12, 2021 at 06:33:01PM -0800, Andrii Nakryiko wrote: > On Fri, Mar 12, 2021 at 6:22 PM Sultan Alsawaf wrote: > > > > On Fri, Mar 12, 2021 at 05:31:14PM -0800, Andrii Nakryiko wrote: > > > On Fri, Mar 12, 2021 at 1:43 PM Sultan Alsawaf > > > wrote: > > > > > > > > From: Sultan

Re: [PATCH v5] do_wait: make PIDTYPE_PID case O(1) instead of O(n)

2021-03-12 Thread Jim Newsome
Here are the micro-benchmark results. I ended up reworking it to use google's benchmark tool [1]. For each N I timed how long it took to fork a new child and then immediately wait on it, while already having N other children. (Initially I tried to vfork, but that didn't play nicely with the

[PATCH] usb: cdns3: delete repeated clear operations

2021-03-12 Thread Wang Qing
dma_alloc_coherent already zeroes out memory, so memset is not needed. Signed-off-by: Wang Qing --- drivers/usb/cdns3/cdnsp-mem.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/cdns3/cdnsp-mem.c b/drivers/usb/cdns3/cdnsp-mem.c index 7a84e92..1d1b9a4 ---

[PATCH] scsi: qla2xxx: use dma_pool_zalloc instead

2021-03-12 Thread Wang Qing
use dma_pool_zalloc instead of dma_pool_alloc and memset Signed-off-by: Wang Qing --- drivers/scsi/qla2xxx/qla_os.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 0743925..ac5e954 ---

Re: [RFC PATCH v2 07/11] dma-mapping: Add flags to dma_map_ops to indicate PCI P2PDMA support

2021-03-12 Thread Ira Weiny
On Thu, Mar 11, 2021 at 04:31:37PM -0700, Logan Gunthorpe wrote: > +int dma_pci_p2pdma_supported(struct device *dev) ^^^ bool? > +{ > + const struct dma_map_ops *ops = get_dma_ops(dev); > + > + return !ops || ops->flags & DMA_F_PCI_P2PDMA_SUPPORTED; Is this logic correct? I would

Re: [PATCH 4/4] integrity: Load mokx variables into the blacklist keyring

2021-03-12 Thread Eric Snowberg
> On Mar 12, 2021, at 4:53 PM, Dimitri John Ledkov > wrote: > > On 12/03/2021 21:49, Eric Snowberg wrote: >> >>> On Mar 12, 2021, at 11:39 AM, Dimitri John Ledkov >>> wrote: >>> >>> On 25/02/2021 20:59, David Howells wrote: From: Eric Snowberg During boot the Secure Boot

Re: [PATCH v2 1/2] arm64: dts: qcom: sdm845: Move reserved-memory to devices

2021-03-12 Thread Konrad Dybcio
Hi, I'm not sure I can agree. Especially for regions like IPA and TZ-reserved, which seem the same on (almost?) all.. Sure, the configuration for various remoteprocs *can* differ based on what the vendor decided to go with, but more often than not (especially with phones) vendors just take

Re: [PATCH] libbpf: Use the correct fd when attaching to perf events

2021-03-12 Thread Andrii Nakryiko
On Fri, Mar 12, 2021 at 6:22 PM Sultan Alsawaf wrote: > > On Fri, Mar 12, 2021 at 05:31:14PM -0800, Andrii Nakryiko wrote: > > On Fri, Mar 12, 2021 at 1:43 PM Sultan Alsawaf > > wrote: > > > > > > From: Sultan Alsawaf > > > > > > We should be using the program fd here, not the perf event fd. >

Re: [RFC PATCH v2 04/11] PCI/P2PDMA: Introduce pci_p2pdma_should_map_bus() and pci_p2pdma_bus_offset()

2021-03-12 Thread Ira Weiny
On Thu, Mar 11, 2021 at 04:31:34PM -0700, Logan Gunthorpe wrote: > Introduce pci_p2pdma_should_map_bus() which is meant to be called by ^ pci_p2pdma_dma_map_type() ??? FWIW I find this name confusing with pci_p2pdma_map_type() and looking at the

[PATCH] mailbox: fix various typos in comments

2021-03-12 Thread Tom Saeger
Fix trivial typos in mailbox driver comments. s/Intergrated/Integrated/ s/extenstion/extension/ s/atleast/at least/ s/commnunication/communication/ s/assgined/assigned/ s/commnunication/communication/ s/recevied/received/ s/succeded/succeeded/ s/implmentation/implementation/

Re: [PATCH] perf annotate: Fix sample events lost in stdio mode

2021-03-12 Thread Yang Jihong
Hello, On 2021/3/13 10:00, Yang Jihong wrote: Hello, Namhyung On 2021/3/12 18:20, Yang Jihong wrote: Hello, On 2021/3/12 16:39, Namhyung Kim wrote: On Fri, Mar 12, 2021 at 4:19 PM Yang Jihong wrote: Hello, On 2021/3/12 13:49, Namhyung Kim wrote: Hi, On Fri, Mar 12, 2021 at 12:24 PM

Re: [PATCH] libbpf: Use the correct fd when attaching to perf events

2021-03-12 Thread Sultan Alsawaf
On Fri, Mar 12, 2021 at 05:31:14PM -0800, Andrii Nakryiko wrote: > On Fri, Mar 12, 2021 at 1:43 PM Sultan Alsawaf wrote: > > > > From: Sultan Alsawaf > > > > We should be using the program fd here, not the perf event fd. > > Why? Can you elaborate on what issue you ran into with the current

[PATCH 6/9] clk: qcom: gcc-msm8994: Remove the inexistent GDSC_PCIE

2021-03-12 Thread Konrad Dybcio
This GDSC is not present on msm8994. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-msm8994.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8994.c b/drivers/clk/qcom/gcc-msm8994.c index 962107b5f1af..e1e40982ebee 100644 ---

[PATCH 8/9] clk: qcom: gcc-msm8994: Add proper msm8992 support

2021-03-12 Thread Konrad Dybcio
MSM8992 is a cut-down version of MSM8994, featuring largely the same hardware. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-msm8994.c | 70 +- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/drivers/clk/qcom/gcc-msm8994.c

[PATCH 9/9] clk: qcom: gcc-msm8994: Add a quirk for a different SDCC configuration

2021-03-12 Thread Konrad Dybcio
Some devices come with a different SDCC clock configuration, account for that. Signed-off-by: Konrad Dybcio --- .../bindings/clock/qcom,gcc-msm8994.yaml | 4 drivers/clk/qcom/gcc-msm8994.c | 16 2 files changed, 20 insertions(+) diff --git

[PATCH 7/9] clk: qcom: gcc-msm8994: Add modem reset

2021-03-12 Thread Konrad Dybcio
This will be required to support the modem. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-msm8994.c | 1 + include/dt-bindings/clock/qcom,gcc-msm8994.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/clk/qcom/gcc-msm8994.c b/drivers/clk/qcom/gcc-msm8994.c

[PATCH 2/9] clk: qcom: gcc-msm8994: Modernize the driver

2021-03-12 Thread Konrad Dybcio
Switch to the newer-style parent_data and remove the hardcoded xo clock. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-msm8994.c | 868 - 1 file changed, 313 insertions(+), 555 deletions(-) diff --git a/drivers/clk/qcom/gcc-msm8994.c

[PATCH 4/9] clk: qcom: gcc-msm8994: Add missing NoC clocks

2021-03-12 Thread Konrad Dybcio
Add necessary NoC clocks to provide frequency sources for relevant branch clocks. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-msm8994.c | 101 --- include/dt-bindings/clock/qcom,gcc-msm8994.h | 3 + 2 files changed, 92 insertions(+), 12 deletions(-)

[PATCH 5/9] clk: qcom: gcc-msm8994: Add missing clocks

2021-03-12 Thread Konrad Dybcio
This should be the last "add missing clocks" commit, as to my knowledge there are no more clocks registered within gcc. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-msm8994.c | 134 +++ include/dt-bindings/clock/qcom,gcc-msm8994.h | 9 ++ 2 files

[PATCH 3/9] clk: qcom: gcc-msm8994: Fix up SPI QUP clocks

2021-03-12 Thread Konrad Dybcio
Fix up SPI QUP freq tables to account for the fact that not every QUP can run at the same set of frequencies. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/gcc-msm8994.c | 118 + 1 file changed, 105 insertions(+), 13 deletions(-) diff --git

[PATCH 1/9] dt-bindings: clk: qcom: Add bindings for MSM8994 GCC driver

2021-03-12 Thread Konrad Dybcio
Add documentation for the MSM8994 GCC driver. Signed-off-by: Konrad Dybcio --- .../bindings/clock/qcom,gcc-msm8994.yaml | 72 +++ 1 file changed, 72 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/qcom,gcc-msm8994.yaml diff --git

Re: [PATCH 0/4] Expose and manage PCI device reset

2021-03-12 Thread Raphael Norwitz
On Sat, Mar 13, 2021 at 12:10:38AM +0530, Amey Narkhede wrote: > On 21/03/12 11:20AM, Alex Williamson wrote: > > On Fri, 12 Mar 2021 23:04:48 +0530 > > ameynarkhed...@gmail.com wrote: > > > > > From: Amey Narkhede > > > > > > PCI and PCIe devices may support a number of possible reset mechanisms

[PATCH v4] perf annotate: Fix sample events lost in stdio mode

2021-03-12 Thread Yang Jihong
In hist__find_annotations function, since different hist_entry may point to same symbol, we free notes->src to signal already processed this symbol in stdio mode; when annotate, entry will skipped if notes->src is NULL to avoid repeated output. However, there is a problem, for example, run the

[linux-stable-rc CI] Test report for 5.4.106-rc1 /arm64

2021-03-12 Thread hulkrobot
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git Branch: linux-5.4.y Arch: arm64 Version: 5.4.106-rc1 Commit: e8e77f614b2e2ba579aa4ff7c507026bd86dac64 Compiler: gcc version 7.3.0 (GCC) All

[PATCH 1/2] dt-bindings: clock: Add MDM9607 GCC clock bindings

2021-03-12 Thread Konrad Dybcio
Add device tree bindings for global clock controller on MDM9607 SoC. Signed-off-by: Konrad Dybcio --- .../devicetree/bindings/clock/qcom,gcc.yaml | 2 + include/dt-bindings/clock/qcom,gcc-mdm9607.h | 104 ++ 2 files changed, 106 insertions(+) create mode 100644

[PATCH 2/2] clk: qcom: Add MDM9607 GCC driver

2021-03-12 Thread Konrad Dybcio
Add Global Clock Controller (GCC) support for MDM9607 SoC. Signed-off-by: Konrad Dybcio --- drivers/clk/qcom/Kconfig |7 + drivers/clk/qcom/Makefile |1 + drivers/clk/qcom/gcc-mdm9607.c | 1656 3 files changed, 1664 insertions(+) create mode

Re: [PATCH] perf annotate: Fix sample events lost in stdio mode

2021-03-12 Thread Yang Jihong
Hello, Namhyung On 2021/3/12 18:20, Yang Jihong wrote: Hello, On 2021/3/12 16:39, Namhyung Kim wrote: On Fri, Mar 12, 2021 at 4:19 PM Yang Jihong wrote: Hello, On 2021/3/12 13:49, Namhyung Kim wrote: Hi, On Fri, Mar 12, 2021 at 12:24 PM Yang Jihong wrote: Hello, Namhyung On

[PATCH] ACPI: fix various typos in comments

2021-03-12 Thread Tom Saeger
Fix trivial ACPI driver comment typos. s/notifcations/notifications/ s/Ajust/Adjust/ s/preform/perform/ s/atrributes/attributes/ s/Souce/Source/ s/Evalutes/Evaluates/ s/Evalutes/Evaluates/ s/specifiy/specify/ s/promixity/proximity/ s/presuambly/presumably/ s/Evalute/Evaluate/

  1   2   3   4   5   6   7   8   9   10   >