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

2021-03-14 Thread Thomas Bogendoerfer
On Sat, Mar 13, 2021 at 11:33:48AM +0800, Wang Qing wrote: > 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 > --- >

[PATCH 2/4] dt-bindings: ti: dpll: add spread spectrum support

2021-03-14 Thread Dario Binacchi
DT bindings for enabling and adjusting spread spectrum clocking have been added. Signed-off-by: Dario Binacchi --- .../devicetree/bindings/clock/ti/dpll.txt | 20 +++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/ti/dpll.txt

[PATCH v3 11/15] drm/msm: Convert to use resource-managed OPP API

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Use resource-managed OPP API to simplify code. Signed-off-by: Yangtao Li Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 2 +- drivers/gpu/drm/msm/adreno/a6xx_gmu.c | 2 +- drivers/gpu/drm/msm/adreno/a6xx_gpu.c | 11 +++--

[PATCH v3 12/15] drm/lima: Convert to use resource-managed OPP API

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Use resource-managed OPP API to simplify code. Signed-off-by: Yangtao Li Signed-off-by: Dmitry Osipenko --- drivers/gpu/drm/lima/lima_devfreq.c | 47 +++-- drivers/gpu/drm/lima/lima_devfreq.h | 3 -- 2 files changed, 11 insertions(+), 39 deletions(-)

[PATCH v3 14/15] media: venus: Convert to use resource-managed OPP API

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Use resource-managed OPP API to simplify code. Signed-off-by: Yangtao Li Signed-off-by: Dmitry Osipenko --- drivers/media/platform/qcom/venus/core.h | 1 - .../media/platform/qcom/venus/pm_helpers.c| 35 +-- 2 files changed, 8 insertions(+), 28

[PATCH v3 15/15] memory: samsung: exynos5422-dmc: Convert to use resource-managed OPP API

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Use resource-managed OPP API to simplify code. Signed-off-by: Yangtao Li Reviewed-by: Krzysztof Kozlowski Signed-off-by: Dmitry Osipenko --- drivers/memory/samsung/exynos5422-dmc.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git

[PATCH 5/5] mips: bmips: bcm6368: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add watchdog controller. - Add SPI controller. - Add NAND controller. - Add USBH PHY controller. - Add RNG controller. - Add cfi-flash controller. Signed-off-by: Álvaro Fernández Rojas ---

[PATCH v3 05/15] opp: Change return type of devm_pm_opp_register_set_opp_helper()

2021-03-14 Thread Dmitry Osipenko
Make devm_pm_opp_register_set_opp_helper() to return error code instead of opp_table pointer in order to have return type consistent with the other resource-managed OPP helpers. Signed-off-by: Dmitry Osipenko --- drivers/opp/core.c | 18 ++ include/linux/pm_opp.h | 6 +++---

[PATCH v3 07/15] serial: qcom_geni_serial: Convert to use resource-managed OPP API

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Use resource-managed OPP API to simplify code. Signed-off-by: Yangtao Li Signed-off-by: Dmitry Osipenko --- drivers/tty/serial/qcom_geni_serial.c | 23 --- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git

[PATCH v3 06/15] opp: Change return type of devm_pm_opp_attach_genpd()

2021-03-14 Thread Dmitry Osipenko
Make devm_pm_opp_attach_genpd() to return error code instead of opp_table pointer in order to have return type consistent with the other resource-managed OPP helpers. Signed-off-by: Dmitry Osipenko --- drivers/opp/core.c | 18 ++ include/linux/pm_opp.h | 9 + 2

[PATCH v3 08/15] spi: spi-geni-qcom: Convert to use resource-managed OPP API

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Use resource-managed OPP API to simplify code. Signed-off-by: Yangtao Li Acked-by: Mark Brown Signed-off-by: Dmitry Osipenko --- drivers/spi/spi-geni-qcom.c | 16 ++-- include/linux/qcom-geni-se.h | 2 -- 2 files changed, 6 insertions(+), 12 deletions(-) diff

[PATCH 0/5] mips: bmips: populate bcm63xx device trees

2021-03-14 Thread Álvaro Fernández Rojas
These patches improve bmips bcm63xx device tree nodes. Álvaro Fernández Rojas (5): mips: bmips: fix syscon-reboot nodes mips: bmips: bcm6328: populate device tree nodes mips: bmips: bcm6358: populate device tree nodes mips: bmips: bcm6362: populate device tree nodes mips: bmips:

[PATCH 1/5] mips: bmips: fix syscon-reboot nodes

2021-03-14 Thread Álvaro Fernández Rojas
Commit a23c4134955e added the clock controller nodes, incorrectly changing the syscon-reboot nodes addresses. Fixes: a23c4134955e ("MIPS: BMIPS: add clock controller nodes") Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm3368.dtsi | 2 +-

[PATCH v3 09/15] spi: spi-qcom-qspi: Convert to use resource-managed OPP API

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Use resource-managed OPP API to simplify code. Signed-off-by: Yangtao Li Acked-by: Mark Brown Signed-off-by: Dmitry Osipenko --- drivers/spi/spi-qcom-qspi.c | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/drivers/spi/spi-qcom-qspi.c

[PATCH 3/5] mips: bmips: bcm6358: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add watchdog. - Add SPI controller. - Add USBH PHY. - Add cfi-flash. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm6358.dtsi | 83 1 file

[PATCH 4/5] mips: bmips: bcm6362: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add hsspi-osc clock. - Add watchdog. - Add SPI controller. - Add HS SPI controller. - Add NAND controller. - Add USBH PHY. Signed-off-by: Álvaro Fernández Rojas ---

[PATCH 2/5] mips: bmips: bcm6328: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add hsspi-osc clock. - Add watchdog. - Add HS SPI controller. - Add NAND controller. - Add USBH PHY. Signed-off-by: Álvaro Fernández Rojas --- arch/mips/boot/dts/brcm/bcm6328.dtsi | 119

[PATCH v3 02/15] opp: Add devres wrapper for dev_pm_opp_set_regulators

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Add devres wrapper for dev_pm_opp_set_regulators() to simplify drivers code. Signed-off-by: Yangtao Li Signed-off-by: Dmitry Osipenko --- drivers/opp/core.c | 30 ++ include/linux/pm_opp.h | 8 2 files changed, 38 insertions(+) diff

[PATCH v3 01/15] opp: Add devres wrapper for dev_pm_opp_set_clkname

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Add devres wrapper for dev_pm_opp_set_clkname() to simplify drivers code. Signed-off-by: Yangtao Li Signed-off-by: Dmitry Osipenko --- drivers/opp/core.c | 27 +++ include/linux/pm_opp.h | 6 ++ 2 files changed, 33 insertions(+) diff --git

[PATCH v3 04/15] opp: Add devres wrapper for dev_pm_opp_of_add_table

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Add devres wrapper for dev_pm_opp_of_add_table() to simplify drivers code. Signed-off-by: Yangtao Li Signed-off-by: Dmitry Osipenko --- drivers/opp/of.c | 36 include/linux/pm_opp.h | 6 ++ 2 files changed, 42 insertions(+)

[PATCH v3 00/15] Introduce devm_pm_opp_* API

2021-03-14 Thread Dmitry Osipenko
This series adds resource-managed OPP API helpers and makes drivers to use them. Changelog: v3: - Dropped dev_pm_opp_register_notifier(). - Changed return type of the devm helpers from opp_table pointer to errno. - Corrected drm/msm patch which missed to remove

[PATCH v3 03/15] opp: Add devres wrapper for dev_pm_opp_set_supported_hw

2021-03-14 Thread Dmitry Osipenko
From: Yangtao Li Add devres wrapper for dev_pm_opp_set_supported_hw() to simplify drivers code. Signed-off-by: Yangtao Li Signed-off-by: Dmitry Osipenko --- drivers/opp/core.c | 29 + include/linux/pm_opp.h | 8 2 files changed, 37 insertions(+)

[PATCH] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add audio support

2021-03-14 Thread Joel Selvaraj
This patch adds audio support for Xiaomi Poco F1 phone. Phone's primary Mic and 3.5mm Headphone jack are handled through the SDM845 sound card and WCD9340 codec. Signed-off-by: Joel Selvaraj --- .../boot/dts/qcom/sdm845-xiaomi-beryllium.dts | 117 ++ 1 file changed, 117

[PATCH v3 2/2] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_WOWLAN

2021-03-14 Thread Fabio Aiuto
remove conditional code blocks checked by unused CONFIG_WOWLAN cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_mlme.c | 3 - drivers/staging/rtl8723bs/core/rtw_pwrctrl.c

Re: [GIT pull] locking/urgent for v5.12-rc3

2021-03-14 Thread Linus Torvalds
On Sun, Mar 14, 2021 at 8:40 AM Thomas Gleixner wrote: > > - A fix for the static_call mechanism so it handles unaligned >addresses correctly. I'm not disputing the fix in any way, but why weren't the relocation info and function start addresses mutually aligned? Are we perhaps missing

[RESEND PATCH v2 1/2] scripts/gdb: document lx_current is only supported by x86

2021-03-14 Thread Barry Song
x86 is the only architecture which has per_cpu current_task: arch$ git grep current_task | grep -i per_cpu x86/include/asm/current.h:DECLARE_PER_CPU(struct task_struct *, current_task); x86/kernel/cpu/common.c:DEFINE_PER_CPU(struct task_struct *, current_task) cacheline_aligned =

[RESEND PATCH v2 0/2] scripts/gdb: clarify the platforms supporting lx_current and add arm64 support

2021-03-14 Thread Barry Song
lx_current depends on per_cpu current_task variable which exists on x86 only. so it actually works on x86 only. the 1st patch documents this clearly; the 2nd patch adds support for arm64. -resend resending to Andrew as Kieran Bingham explained patches of scripts/gdb usually go through the tree

[RESEND PATCH v2 2/2] scripts/gdb: add lx_current support for arm64

2021-03-14 Thread Barry Song
arm64 uses SP_EL0 to save the current task_struct address. While running in EL0, SP_EL0 is clobbered by userspace. So if the upper bit is not 1 (not TTBR1), the current address is invalid. This patch checks the upper bit of SP_EL0, if the upper bit is 1, lx_current() of arm64 will return the

[PATCH v1] usb: chipidea: tegra: Silence deferred probe error

2021-03-14 Thread Dmitry Osipenko
Silence deferred probe error caused by the PHY driver which is probed later than the ChipIdea driver. Signed-off-by: Dmitry Osipenko --- drivers/usb/chipidea/ci_hdrc_tegra.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/usb/chipidea/ci_hdrc_tegra.c

Re: [PATCH v2] MIPS: Check __clang__ to avoid performance influence with GCC in csum_tcpudp_nofold()

2021-03-14 Thread Maciej W. Rozycki
On Tue, 9 Mar 2021, Tiezhu Yang wrote: > diff --git a/arch/mips/include/asm/checksum.h > b/arch/mips/include/asm/checksum.h > index 1e6c135..80eddd4 100644 > --- a/arch/mips/include/asm/checksum.h > +++ b/arch/mips/include/asm/checksum.h > @@ -128,9 +128,13 @@ static inline __sum16

Re: [PATCH] vmscan: retry without cache trim mode if nothing scanned

2021-03-14 Thread Shakeel Butt
On Thu, Mar 11, 2021 at 12:52 AM Huang, Ying wrote: > > Hi, Butt, > > Shakeel Butt writes: > > > On Wed, Mar 10, 2021 at 4:47 PM Huang, Ying wrote: > >> > >> From: Huang Ying > >> > >> In shrink_node(), to determine whether to enable cache trim mode, the > >> LRU size is gotten via

[PATCH 1/4] habanalabs/gaudi: unsecure TPC cfg status registers

2021-03-14 Thread Oded Gabbay
From: Ofir Bitton Unsecure relevant registers as TPC engine need access to TPC status. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi_security.c | 8 1 file changed, 8 deletions(-) diff --git

[PATCH 2/4] habanalabs/gaudi: Update async events header

2021-03-14 Thread Oded Gabbay
From: Ofir Bitton Update with latest version from the Firmware team. Signed-off-by: Ofir Bitton Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c | 2 +- .../include/gaudi/gaudi_async_events.h| 2 +-

[PATCH 4/4] habanalabs: support dynamic PLL numbering

2021-03-14 Thread Oded Gabbay
From: Ohad Sharabi As part of the effort remove hard-coded assumptions from the F/W-driver communication, introduce support for dynamic pll numbering. Signed-off-by: Ohad Sharabi Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/common/firmware_if.c | 22

[PATCH 3/4] habanalabs: avoid soft lockup bug upon mapping error

2021-03-14 Thread Oded Gabbay
From: farah kassabri Add a little sleep between page unmappings in case mapping of large number of host pages failed, in order to avoid soft lockup bug during the rollback. Signed-off-by: farah kassabri Reviewed-by: Oded Gabbay Signed-off-by: Oded Gabbay ---

Re: [PATCH v3 1/5] thermal/drivers/core: Use a char pointer for the cooling device name

2021-03-14 Thread Daniel Lezcano
On 14/03/2021 13:47, Ido Schimmel wrote: > On Sun, Mar 14, 2021 at 12:13:29PM +0100, Daniel Lezcano wrote: >> We want to have any kind of name for the cooling devices as we do no >> longer want to rely on auto-numbering. Let's replace the cooling >> device's fixed array by a char pointer to be

Re: [PATCH v3] iommu/tegra-smmu: Add pagetable mappings to debugfs

2021-03-14 Thread Dmitry Osipenko
14.03.2021 11:06, Nicolin Chen пишет: > This patch dumps all active mapping entries from pagetable > to a debugfs directory named "mappings". > > Ataching an example: > > SWGROUP: hc > ASID: 0 > reg: 0x250 > PTB_ASID: 0xe0080004 > as->pd_dma: 0x80004000 > { > [1023] 0xf008000b (1) >

Re: [PATCH 3/3] fs: unicode: Add utf8 module and a unicode layer

2021-03-14 Thread Shreeya Patel
On 14/03/21 7:19 am, Gabriel Krisman Bertazi wrote: Shreeya Patel writes: utf8data.h_shipped has a large database table which is an auto-generated decodification trie for the unicode normalization functions. It is not necessary to carry this large table in the kernel hence make UTF-8

ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!

2021-03-14 Thread kernel test robot
weeks ago config: arm-randconfig-r024-20210314 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O

[PATCH v4 04/11] perf/x86/lbr: Move cpuc->lbr_xsave allocation out of sleeping region

2021-03-14 Thread Like Xu
If the kernel is compiled with the CONFIG_LOCKDEP option, the conditional might_sleep_if() deep in kmem_cache_alloc() will generate the following trace, and potentially cause a deadlock when another LBR event is added: [ 243.115549] BUG: sleeping function called from invalid context at

[PATCH v4 06/11] KVM: vmx/pmu: Add MSR_ARCH_LBR_DEPTH emulation for Arch LBR

2021-03-14 Thread Like Xu
The number of Arch LBR entries available for recording operations is dictated by the value in MSR_ARCH_LBR_DEPTH.DEPTH. The supported LBR depth values can be found in CPUID.(EAX=01CH, ECX=0):EAX[7:0] and for each bit "n" set in this field, the MSR_ARCH_LBR_DEPTH.DEPTH value of "8*(n+1)" is

[PATCH v4 03/11] perf/x86/lbr: Skip checking for the existence of LBR_TOS for Arch LBR

2021-03-14 Thread Like Xu
The Architecture LBR does not have MSR_LBR_TOS (0x01c9). KVM will generate #GP for this MSR access, thereby preventing the initialization of the guest LBR. Cc: Kan Liang Cc: Peter Zijlstra Cc: Borislav Petkov Cc: Ingo Molnar Fixes: 47125db27e47 ("perf/x86/intel/lbr: Support Architectural

[PATCH v4 05/11] perf/x86: Move ARCH_LBR_CTL_MASK definition to include/asm/msr-index.h

2021-03-14 Thread Like Xu
The ARCH_LBR_CTL_MASK will be reused for LBR emulation in the KVM. Cc: Kan Liang Cc: Peter Zijlstra Cc: Borislav Petkov Cc: Ingo Molnar Signed-off-by: Like Xu --- arch/x86/events/intel/lbr.c | 2 -- arch/x86/include/asm/msr-index.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-)

[PATCH v4 02/11] perf/x86/lbr: Simplify the exposure check for the LBR_INFO registers

2021-03-14 Thread Like Xu
If the platform supports LBR_INFO register, the x86_pmu.lbr_info will be assigned in intel_pmu_?_lbr_init_?() and it's safe to expose LBR_INFO in the x86_perf_get_lbr() directly, instead of relying on lbr_format check. Also Architectural LBR has IA32_LBR_x_INFO instead of LBR_FORMAT_INFO_x to

[PATCH v4 01/11] perf/x86/intel: Fix the comment about guest LBR support on KVM

2021-03-14 Thread Like Xu
Starting from v5.12, KVM reports guest LBR and extra_regs support when the host has relevant support. Just delete this part of the comment and fix a typo. Cc: Kan Liang Cc: Peter Zijlstra Cc: Borislav Petkov Cc: Ingo Molnar Signed-off-by: Like Xu Reviewed-by: Kan Liang Reviewed-by: Andi

[PATCH v4 00/11] KVM: x86/pmu: Guest Architectural LBR Enabling

2021-03-14 Thread Like Xu
Hi geniuses, Please help review the new version of Arch LBR enabling patch set. The Architectural Last Branch Records (LBRs) is publiced in the 319433-040 release of Intel Architecture Instruction Set Extensions and Future Features Programming Reference[0]. The main advantages for the Arch LBR

Re: [PATCH v8 0/2] add support for GPIO or IRQ based event counter

2021-03-14 Thread Jonathan Cameron
On Mon, 1 Mar 2021 09:03:59 +0100 Oleksij Rempel wrote: > changes v8: > - use use enum index instead of enum value for the counter function > - register signal unconditionally and return error is signal revel is > read > > changes v7: > - make most of structs dynamically allocatable to

Re: [PATCH v2 0/4] staging: rtl8723bs: remove unused code blocks

2021-03-14 Thread Fabio Aiuto
On Sun, Mar 14, 2021 at 04:57:38PM +0100, Greg KH wrote: > On Fri, Mar 12, 2021 at 07:33:13PM +0100, Fabio Aiuto wrote: > > This patch set removes unused code blocks as required in TODO file: > > > > find and remove code blocks guarded by never set CONFIG_FOO defines > > > > Changes in v2: >

Re: [PATCH V1 2/6] soc: qcom: dcc: Add driver support for Data Capture and Compare unit(DCC)

2021-03-14 Thread Sai Prakash Ranjan
On 2021-03-11 22:01, Bjorn Andersson wrote: > On Thu 11 Mar 00:19 CST 2021, Sai Prakash Ranjan wrote: > >> Hi Bjorn, >> >> On 2021-03-11 04:49, Bjorn Andersson wrote: >> > On Wed 10 Mar 10:46 CST 2021, Souradeep Chowdhury wrote: >> > >> > > The DCC is a DMA Engine designed to capture and store

Re: [PATCH 1/1] ACPI: fix acpi table use after free

2021-03-14 Thread Mike Rapoport
On Thu, Mar 11, 2021 at 04:36:31PM +0100, Rafael J. Wysocki wrote: > On Wed, Mar 10, 2021 at 8:47 PM David Hildenbrand wrote: > > > > > > There is some care that should be taken to make sure we get the order > > > right, but I don't see a fundamental issue here. > > Me neither. > > > > If I

Re: [PATCH V1 2/6] soc: qcom: dcc: Add driver support for Data Capture and Compare unit(DCC)

2021-03-14 Thread Sai Prakash Ranjan
On 2021-03-11 22:04, Bjorn Andersson wrote: On Thu 11 Mar 04:06 CST 2021, schow...@codeaurora.org wrote: On 2021-03-11 04:49, Bjorn Andersson wrote: > On Wed 10 Mar 10:46 CST 2021, Souradeep Chowdhury wrote: > > > The DCC is a DMA Engine designed to capture and store data > > during system

[GIT PULL] efi/urgent for v5.12-rc3

2021-03-14 Thread Borislav Petkov
Hi Linus, please pull a single (forwarded) EFI urgent fix for v5.12-rc3. Thx. --- The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15: Linux 5.12-rc2 (2021-03-05 17:33:41 -0800) are available in the Git repository at:

Re: [PATCH v3 1/5] thermal/drivers/core: Use a char pointer for the cooling device name

2021-03-14 Thread Ido Schimmel
On Sun, Mar 14, 2021 at 12:13:29PM +0100, Daniel Lezcano wrote: > We want to have any kind of name for the cooling devices as we do no > longer want to rely on auto-numbering. Let's replace the cooling > device's fixed array by a char pointer to be allocated dynamically > when registering the

Re: [PATCH v2 1/2] xtensa: move CONFIG_CPU_*_ENDIAN defines to Kconfig

2021-03-14 Thread Max Filippov
On Sat, Mar 13, 2021 at 4:24 AM Masahiro Yamada wrote: > > Move the definition of CONFIG_CPU_*_ENDIAN to Kconfig, the best place > for CONFIG options. > > I slightly simplified the test code. You can use the -P option to suppress > linemarker generation. The grep command is unneeded. > > $ echo

Re: [PATCH 1/3] xtensa: stop filling syscall array with sys_ni_syscall

2021-03-14 Thread Max Filippov
On Mon, Mar 1, 2021 at 7:37 AM Masahiro Yamada wrote: > > arch/xtensa/kernel/syscalls/syscalltbl.sh fills missing syscall numbers > with sys_ni_syscall. > > So, the generated arch/xtensa/include/generated/asm/syscall_table.h > has no hole. > > Hence, the line: > > [0 ... __NR_syscalls - 1] =

[PATCH] drivers: tee: optee: removed repeated words in comments

2021-03-14 Thread Anupama K Patil
the word "the" is repeated in the file core.c so it has been removed. Likewise the word "of" is repeated in optee_smc.h and have removed it. Signed-off-by: Anupama K Patil --- drivers/tee/optee/core.c | 2 +- drivers/tee/optee/optee_smc.h | 2 +- 2 files changed, 2 insertions(+), 2

[PATCH v2 1/6] mips: bmips: fix syscon-reboot nodes

2021-03-14 Thread Álvaro Fernández Rojas
Commit a23c4134955e added the clock controller nodes, incorrectly changing the syscon-reboot nodes addresses. Fixes: a23c4134955e ("MIPS: BMIPS: add clock controller nodes") Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/boot/dts/brcm/bcm3368.dtsi | 2 +-

[PATCH v2 0/6] mips: bmips: fix and improve reboot nodes

2021-03-14 Thread Álvaro Fernández Rojas
These patches improve bmips bcm63xx device tree nodes. v2: add missing BCM63268 patch. Álvaro Fernández Rojas (6): mips: bmips: fix syscon-reboot nodes mips: bmips: bcm6328: populate device tree nodes mips: bmips: bcm6358: populate device tree nodes mips: bmips: bcm6362: populate device

[PATCH v2 3/6] mips: bmips: bcm6358: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add watchdog. - Add SPI controller. - Add USBH PHY. - Add cfi-flash. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes arch/mips/boot/dts/brcm/bcm6358.dtsi | 83

[PATCH v2 2/6] mips: bmips: bcm6328: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add hsspi-osc clock. - Add watchdog. - Add HS SPI controller. - Add NAND controller. - Add USBH PHY. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes

[PATCH v2 5/6] mips: bmips: bcm6368: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add watchdog controller. - Add SPI controller. - Add NAND controller. - Add USBH PHY controller. - Add RNG controller. - Add cfi-flash controller. Signed-off-by: Álvaro Fernández Rojas --- v2:

[PATCH v2 4/6] mips: bmips: bcm6362: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add hsspi-osc clock. - Add watchdog. - Add SPI controller. - Add HS SPI controller. - Add NAND controller. - Add USBH PHY. Signed-off-by: Álvaro Fernández Rojas --- v2: no changes

[PATCH v2 6/6] mips: bmips: bcm63268: populate device tree nodes

2021-03-14 Thread Álvaro Fernández Rojas
- Rename periph_clk to periph_osc. - Rename clkctl to periph_clk. - Move syscon-reboot to subnode. - Add hsspi-osc clock. - Add watchdog. - Add HS SPI controller - Add NAND controller. - Add USBH PHY. Signed-off-by: Álvaro Fernández Rojas --- v2: add missing patch

[PATCH v3 0/2] staging: rtl8723bs: remove unused code blocks

2021-03-14 Thread Fabio Aiuto
This patch set removes unused code clocks as required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Changes in v3: - rebase of remaining conflicting patches Changes in v2: - modified subject lines to make them unique - added a

[PATCH v3 1/2] staging: rtl8723bs: remove unused code blocks conditioned by never set CONFIG_PNO_SUPPORT

2021-03-14 Thread Fabio Aiuto
Remove conditional code blocks checked by unused CONFIG_PNO_SUPPORT Cleaning required in TODO file: find and remove code blocks guarded by never set CONFIG_FOO defines Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 18 --

Re: [PATCH] arm64: dts: qcom: sdm845-xiaomi-beryllium: Add audio support

2021-03-14 Thread Amit Pundir
On Sun, 14 Mar 2021 at 22:32, Joel Selvaraj wrote: > > This patch adds audio support for Xiaomi Poco F1 phone. Phone's primary > Mic and 3.5mm Headphone jack are handled through the SDM845 sound card > and WCD9340 codec. > Tested-by: Amit Pundir > Signed-off-by: Joel Selvaraj > --- >

Re: [PATCH net] flow_dissector: fix byteorder of dissected ICMP ID

2021-03-14 Thread Vladimir Oltean
On Sun, Mar 14, 2021 at 09:21:40PM +0100, Jakub Sitnicki wrote: > On Fri, Mar 12, 2021 at 09:08 PM CET, Alexander Lobakin wrote: > > flow_dissector_key_icmp::id is of type u16 (CPU byteorder), > > ICMP header has its ID field in network byteorder obviously. > > Sparse says: > > > >

[PATCH] prctl: fix PR_SET_MM_AUXV kernel stack leak

2021-03-14 Thread Alexey Dobriyan
prctl(PR_SET_MM, PR_SET_MM_AUXV, addr, 1); will copy 1 byte from userspace to (quite big) on-stack array and then stash everything to mm->saved_auxv. AT_NULL terminator will be inserted at the very end. /proc/*/auxv handler will find that AT_NULL terminator and copy original stack

[PATCH net v2] net: hdlc_x25: Prevent racing between "x25_close" and "x25_xmit"/"x25_rx"

2021-03-14 Thread Xie He
"x25_close" is called by "hdlc_close" in "hdlc.c", which is called by hardware drivers' "ndo_stop" function. "x25_xmit" is called by "hdlc_start_xmit" in "hdlc.c", which is hardware drivers' "ndo_start_xmit" function. "x25_rx" is called by "hdlc_rcv" in "hdlc.c", which receives HDLC frames from

[PATCH] hwmon: corsair-psu: add support for critical values

2021-03-14 Thread Wilken Gottwalt
Adds support for reading the critical values of the temperature sensors and the rail sensors (voltage and current) once and caches them. Updates the naming of the constants following a more clear scheme. Also updates the documentation and fixes a typo. The new sensors output of a Corsair HX850i

[PATCH rdma-next 0/2] Spring cleanup

2021-03-14 Thread Leon Romanovsky
From: Leon Romanovsky Bunch of cleanup in RDMA subsystem. Leon Romanovsky (2): RDMA: Fix kernel-doc compilation warnings RDMA: Delete not-used static inline functions drivers/infiniband/hw/cxgb4/iw_cxgb4.h| 11 -- drivers/infiniband/hw/cxgb4/t4.h | 33

[PATCH 3/4] ARM: dts: am33xx-clocks: add spread spectrum support

2021-03-14 Thread Dario Binacchi
Registers for adjusting the spread spectrum clocking (SSC) have been added. As reported by the TI spruh73x RM, SSC is supported only for LCD and MPU PLLs. Signed-off-by: Dario Binacchi --- arch/arm/boot/dts/am33xx-clocks.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH] drm/tilcdc: fix LCD pixel clock setting

2021-03-14 Thread Dario Binacchi
As reported by TI spruh73x RM, the LCD pixel clock (LCD_PCLK) frequency is obtained by dividing LCD_CLK, the LCD controller reference clock, for CLKDIV: LCD_PCLK = LCD_CLK / CLKDIV where CLKDIV must be greater than 1. Therefore LCD_CLK must be set to 'req_rate * CLKDIV' instead of req_rate and

[GIT pull] sched/urgent for v5.12-rc3

2021-03-14 Thread Thomas Gleixner
Linus, please pull the latest sched/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-urgent-2021-03-14 up to: ce29ddc47b91: sched/membarrier: fix missing local execution of ipi_sync_rq_state() A set of scheduler updates: - Prevent a NULL pointer

[GIT pull] timers/urgent for v5.12-rc3

2021-03-14 Thread Thomas Gleixner
Linus, please pull the latest timers/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2021-03-14 up to: 46eb1701c046: hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event() A single fix in for hrtimers to prevent an

Re: [PATCH v7 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-03-14 Thread Jonathan Cameron
On Sat, 13 Mar 2021 11:55:39 -0800 Jyoti Bhayana wrote: > Hi Jonathan, > > I still see the old version 6 in ib-iio-scmi-5.12-rc2-take2 as well. OK. I'm completely confused as to what is going with my local tree. I have the right patch in the history but it didn't end up in the final pushed out

[GIT pull] irq/urgent for v5.12-rc2

2021-03-14 Thread Thomas Gleixner
Linus, please pull the latest irq/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq-urgent-2021-03-14 up to: b470ebc9e0e5: Merge tag 'irqchip-fixes-5.12-1' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/urgent A set of irqchip

[GIT pull] objtool/urgent for v5.12-rc3

2021-03-14 Thread Thomas Gleixner
Linus, please pull the latest objtool/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git objtool-urgent-2021-03-14 up to: ba08abca66d4: objtool,x86: Fix uaccess PUSHF/POPF validation A single objtool fix to handle the PUSHF/POPF validation correctly for the

[GIT pull] locking/urgent for v5.12-rc3

2021-03-14 Thread Thomas Gleixner
Linus, please pull the latest locking/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-urgent-2021-03-14 up to: 4817a52b3061: seqlock,lockdep: Fix seqcount_latch_init() A couple of locking fixes: - A fix for the static_call mechanism so it handles

[PATCH v2] iio:dac:max517.c: Use devm_iio_device_register()

2021-03-14 Thread Mugilraj Dhavachelvan
Use devm_iio_device_register() to avoid remove function and drop explicit call to iio_device_unregister(). Signed-off-by: Mugilraj Dhavachelvan changes v1->v2: -As sugested by Alexandru removed i2c_set_clientdata() because the stored data will be never used. ---

RE: [PATCH 1/2] dt-bindings:pci: Set LTSSM Detect.Quiet state delay.

2021-03-14 Thread Athani Nadeem Ladkhan
Hi Rob, > -Original Message- > From: Rob Herring > Sent: Tuesday, March 9, 2021 10:17 PM > To: Athani Nadeem Ladkhan > Cc: Tom Joseph ; Bjorn Helgaas > ; PCI ; > devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Lorenzo Pieralisi > ; Kishon Vijay Abraham I ; > Milind Parab ;

Re: [GIT PULL] Please pull powerpc/linux.git powerpc-5.12-3 tag

2021-03-14 Thread pr-tracker-bot
The pull request you sent on Sun, 14 Mar 2021 21:15:08 +1100: > https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git > tags/powerpc-5.12-3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/c3c7579f5e3b4826d32af0521e53d5d565ed5a73 Thank you! --

Re: [GIT PULL] efi/urgent for v5.12-rc3

2021-03-14 Thread pr-tracker-bot
The pull request you sent on Sun, 14 Mar 2021 13:21:47 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/efi-urgent-for-v5.12-rc2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/836d7f0572ca42ac85d649235680479740743ac6 Thank you! --

Re: [GIT PULL] KVM fixes for 5.12-rc3

2021-03-14 Thread pr-tracker-bot
The pull request you sent on Sun, 14 Mar 2021 04:38:11 -0400: > https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9d0c8e793f0eb0613efe81d2cdca8c2efa0ad33c Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] x86/urgent for v5.12-rc3

2021-03-14 Thread pr-tracker-bot
The pull request you sent on Sun, 14 Mar 2021 13:07:26 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/x86_urgent_for_v5.12_rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/0a7c10df49eb69dd888ea8b8ddd29bde2aa2fd48 Thank you! --

Re: [GIT PULL] perf/urgent for v5.12-rc3

2021-03-14 Thread pr-tracker-bot
The pull request you sent on Sun, 14 Mar 2021 13:44:11 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > tags/perf_urgent_for_v5.12-rc3 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/75013c6c52d80b2255ba273eedac013d58754b02 Thank you! --

[PATCH 07/10] rsi: rsi_hal: fix file header comment syntax

2021-03-14 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. The header comment used in drivers/net/wireless/rsi/rsi_hal.h follows kernel-doc syntax, i.e. starts with '/**'. But the content inside the comment does not comply with kernel-doc specifications (i.e.,

[PATCH 08/10] rsi: rsi_debugfs: fix file header comment syntax

2021-03-14 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. The header comment used in drivers/net/wireless/rsi/rsi_debugfs.h follows kernel-doc syntax, i.e. starts with '/**'. But the content inside the comment does not comply with kernel-doc specifications

[PATCH 09/10] rsi: rsi_sdio: fix file header comment syntax

2021-03-14 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. The header comment used in drivers/net/wireless/rsi/rsi_sdio.h follows kernel-doc syntax, i.e. starts with '/**'. But the content inside the comment does not comply with kernel-doc specifications (i.e.,

[PATCH 06/10] rsi: rsi_main: fix file header comment syntax

2021-03-14 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. The header comment used in drivers/net/wireless/rsi/rsi_main.h follows kernel-doc syntax, i.e. starts with '/**'. But the content inside the comment does not comply with kernel-doc specifications (i.e.,

[PATCH 10/10] rsi: rsi_usb: fix file header comment syntax

2021-03-14 Thread Aditya Srivastava
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. The header comment used in drivers/net/wireless/rsi/rsi_usb.h follows kernel-doc syntax, i.e. starts with '/**'. But the content inside the comment does not comply with kernel-doc specifications (i.e.,

Re: [PATCH v3 net-next 4/6] linux/etherdevice.h: misc trailing whitespace cleanup

2021-03-14 Thread Vladimir Oltean
On Sun, Mar 14, 2021 at 11:11:32AM +, Alexander Lobakin wrote: > Caught by the text editor. Fix it separately from the actual changes. > > Signed-off-by: Alexander Lobakin > --- > include/linux/etherdevice.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: Errant readings on LM81 with T2080 SoC

2021-03-14 Thread Chris Packham
On 12/03/21 10:25 pm, David Laight wrote: > From: Linuxppc-dev Guenter Roeck >> Sent: 11 March 2021 21:35 >> >> On 3/11/21 1:17 PM, Chris Packham wrote: >>> On 11/03/21 9:18 pm, Wolfram Sang wrote: > Bummer. What is really weird is that you see clock stretching under > CPU load. Normally

Re: [PATCH 0/6] usbip fixes to crashes found by syzbot

2021-03-14 Thread Tetsuo Handa
On 2021/03/13 9:48, Tetsuo Handa wrote: > On 2021/03/12 14:44, Tetsuo Handa wrote: >> And what you are missing in your [PATCH 4,5,6/6] is >> >> diff --git a/drivers/usb/usbip/vhci_sysfs.c >> b/drivers/usb/usbip/vhci_sysfs.c >> index c4457026d5ad..3c64bd06ab53 100644 >> ---

Re: [PATCH v2 07/25] x86/sgx: Initialize virtual EPC driver even when SGX driver is disabled

2021-03-14 Thread Jarkko Sakkinen
On Sat, Mar 13, 2021 at 09:07:36PM +0200, Jarkko Sakkinen wrote: > On Sat, Mar 13, 2021 at 09:05:36PM +0200, Jarkko Sakkinen wrote: > > On Fri, Mar 12, 2021 at 01:44:58PM -0800, Sean Christopherson wrote: > > > On Tue, Mar 09, 2021, Kai Huang wrote: > > > > Modify sgx_init() to always try to

Re: [PATCH] soc: fsl: guts: fix comment syntax in file

2021-03-14 Thread Randy Dunlap
On 3/13/21 11:28 PM, Aditya Srivastava wrote: > The opening comment mark '/**' is used for kernel-doc comments. > There are certain comments in include/linux/fsl/guts.h which follows this > syntax, but the content inside does not comply with kernel-doc. > > E.g., opening comment for "Freecale

[PATCH v2] staging:rtl8723bs:core:rtw_wlan_util:fixed indentation coding style issue

2021-03-14 Thread Shreya
Fixed the indentation of the else part of the conditional statement. Signed-off-by: Shreya --- v1 -> v2: Changed name in signed-off-by to match name in From drivers/staging/rtl8723bs/core/rtw_wlan_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[linux-stable-rc CI] Test report for 4.14.226-rc1 /x86

2021-03-14 Thread hulkrobot
Kernel repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git Branch: linux-4.14.y Arch: x86 Version: 4.14.226-rc1 Commit: 21dddc147970ed44c54e95c59aa4c9d95683733d Compiler: gcc version 7.3.0 (GCC) All

Re: [PATCH 0/9] qcom/sc7280: Enable various hardware blocks on SC7280 SoC

2021-03-14 Thread Sai Prakash Ranjan
On 2021-03-12 04:44, Bjorn Andersson wrote: On Thu 25 Feb 03:30 CST 2021, Sai Prakash Ranjan wrote: This series enables various hardware blocks such as LLCC, IPCC, AOSS QMP and Coresight on SC7280 SoC. This series is dependent on the base support added for SC7280 in [1]. I've picked some

[PATCH] iommu/vt-d: Disable SVM when ATS/PRI/PASID are not enabled in the device

2021-03-14 Thread Kyung Min Park
Currently, the Intel VT-d supports Shared Virtual Memory (SVM) only when IO page fault is supported. Otherwise, shared memory pages can not be swapped out and need to be pinned. The device needs the Address Translation Service (ATS), Page Request Interface (PRI) and Process Address Space

  1   2   3   4   5   >