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

2021-03-06 Thread Mike Rapoport
Hello Rafael, On Fri, Mar 05, 2021 at 02:30:07PM +0100, Rafael J. Wysocki wrote: > On Fri, Mar 5, 2021 at 12:14 AM George Kennedy > wrote: > > > The ibft table, for example, is mapped in via acpi_map() and kmap(). The > > page for the ibft table is not reserved, so it can end up on the

[syzbot] KASAN: use-after-free Read in ovl_real_fdget_meta

2021-03-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:92f791eb Add linux-next specific files for 20210302 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=12696076d0 kernel config: https://syzkaller.appspot.com/x/.config?x=55e0d976097c2fbd dashboard

Re: [bugreport 5.9-rc8] general protection fault in __bfq_deactivate_entity

2021-03-06 Thread Dmitry Vyukov
On Sun, Mar 7, 2021 at 3:15 AM Hillf Danton wrote: > > On Fri, 5 Mar 2021 18:01:04 +0800 Ming Lei wrote: > > On Fri, Mar 05, 2021 at 10:32:04AM +0100, Paolo Valente wrote: > > > I'm thinking of a way to debug this too. The symptom may hint at a > > > use-after-free. Could you enable KASAN in

Re: [RFC v3] scripts: kernel-doc: fix typedef support for struct/union parsing

2021-03-06 Thread Aditya
On 6/3/21 8:50 pm, Matthew Wilcox wrote: > On Sat, Mar 06, 2021 at 01:18:38PM +0530, Aditya wrote: >> On 6/3/21 11:55 am, Lukas Bulwahn wrote: >>> I agree. That might be a suitable clean-up to keep the code for >>> functions and struct/union parsing similar in style/spirit. >>> >>> Aditya, would

[syzbot] general protection fault in bt_accept_unlink (2)

2021-03-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:95b39f07 net: ethernet: mtk-star-emac: fix wrong unmap in .. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=13658a5cd0 kernel config: https://syzkaller.appspot.com/x/.config?x=e2d5ba72abae4f14

[PATCH RESEND v2 STABLE 4.4] futex: fix irq self-deadlock and satisfy assertion

2021-03-06 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer This patch and problem analysis is specific for 4.4 LTS, due to incomplete backporting of other fixes. Later LTS series have different backports. Since v4.4.257 when CONFIG_PROVE_LOCKING=y the following triggers right after reboot of our pre-life systems which equal

[PATCH RESEND v2 STABLE 4.4] futex: fix spin_lock() / spin_unlock_irq() imbalance

2021-03-06 Thread Thomas Schoebel-Theuer
From: Thomas Schoebel-Theuer This patch and problem analysis is specific for 4.4 LTS, due to incomplete backporting of other fixes. Later LTS series have different backports. The following is obviously incorrect: static int wake_futex_pi(u32 __user *uaddr, u32 uval, struct futex_q *this,

[PATCH] ASoC: codecs/jz4770: Remove superfluous error message

2021-03-06 Thread Tang Bin
The function devm_platform_ioremap_resource has already contained error message if failed, so remove superfluous dev_err here. Signed-off-by: Zhang Shengju Signed-off-by: Tang Bin --- sound/soc/codecs/jz4770.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v2] MIPS: kernel: Reserve exception base early to prevent corruption

2021-03-06 Thread Mike Rapoport
On Sat, Mar 06, 2021 at 09:29:09AM +0100, Thomas Bogendoerfer wrote: > BMIPS is one of the few platforms that do change the exception base. > After commit 2dcb39645441 ("memblock: do not start bottom-up allocations > with kernel_end") we started seeing BMIPS boards fail to boot with the > built-in

Re: [PATCH] leds: trigger: fix potential deadlock with libata

2021-03-06 Thread Andrea Righi
On Sun, Mar 07, 2021 at 10:02:32AM +0800, Boqun Feng wrote: > On Sat, Mar 06, 2021 at 09:39:54PM +0100, Marc Kleine-Budde wrote: > > Hello *, > > > > On 02.11.2020 11:41:52, Andrea Righi wrote: > > > We have the following potential deadlock condition: > > > > > >

[PATCH v10 3/6] clk: ralink: add clock driver for mt7621 SoC

2021-03-06 Thread Sergio Paracuellos
The documentation for this SOC only talks about two registers regarding to the clocks: * SYSC_REG_CPLL_CLKCFG0 - provides some information about boostrapped refclock. PLL and dividers used for CPU and some sort of BUS. * SYSC_REG_CPLL_CLKCFG1 - a banch of gates to enable/disable clocks for all or

[PATCH v10 6/6] MAINTAINERS: add MT7621 CLOCK maintainer

2021-03-06 Thread Sergio Paracuellos
Adding myself as maintainer for mt7621 clock driver. Signed-off-by: Sergio Paracuellos --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 809a68af5efd..be5ada6b4309 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11288,6 +11288,12 @@ L:

[PATCH v10 5/6] staging: mt7621-dts: use valid vendor 'mediatek' instead of invalid 'mtk'

2021-03-06 Thread Sergio Paracuellos
Vendor listed for mediatek in kernel vendor file 'vendor-prefixes.yaml' contains 'mediatek' as a valid vendor string. Some nodes in the device tree are using an invalid vendor string vfor 'mtk' instead. Fix all of them in dts file. Update also ralink mt7621 related code to properly match new

[PATCH v10 2/6] dt: bindings: add mt7621-sysc device tree binding documentation

2021-03-06 Thread Sergio Paracuellos
Adds device tree binding documentation for clocks in the MT7621 SOC. Signed-off-by: Sergio Paracuellos --- .../bindings/clock/mediatek,mt7621-sysc.yaml | 68 +++ 1 file changed, 68 insertions(+) create mode 100644

[PATCH v10 4/6] staging: mt7621-dts: make use of new 'mt7621-clk'

2021-03-06 Thread Sergio Paracuellos
Clocks for SoC mt7621 have been properly integrated so there is no need to declare fixed clocks at all in the device tree. Remove all of them, add new device tree nodes for mt7621-clk and update the rest of the nodes to use them. Acked-by: Greg Kroah-Hartman Signed-off-by: Sergio Paracuellos

[PATCH v10 1/6] dt-bindings: clock: add dt binding header for mt7621 clocks

2021-03-06 Thread Sergio Paracuellos
Adds dt binding header for 'mediatek,mt7621-clk' clocks. Acked-by: Rob Herring Signed-off-by: Sergio Paracuellos --- include/dt-bindings/clock/mt7621-clk.h | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 include/dt-bindings/clock/mt7621-clk.h diff --git

[PATCH v10 0/6] MIPS: ralink: add CPU clock detection and clock driver for MT7621

2021-03-06 Thread Sergio Paracuellos
This patchset ports CPU clock detection for MT7621 from OpenWrt and adds a complete clock plan for the mt7621 SOC. The documentation for this SOC only talks about two registers regarding to the clocks: * SYSC_REG_CPLL_CLKCFG0 - provides some information about boostrapped refclock. PLL and

RE: [PATCH] scsi: ufs: fix error return code of ufshcd_populate_vreg()

2021-03-06 Thread Avri Altman
> > When np is NULL or of_parse_phandle() returns NULL, no error return code > of ufshcd_populate_vreg() is assigned. > To fix this bug, ret is assigned with -EINVAL or -ENOENT as error return > code. This changes the flow of ufshcd_parse_regulator_info so you need to: a) get a tested-by tag and

[PATCH] tee: amdtee: unload TA only when its refcount becomes 0

2021-03-06 Thread Rijo Thomas
Same Trusted Application (TA) can be loaded in multiple TEE contexts. If it is a single instance TA, the TA should not get unloaded from AMD Secure Processor, while it is still in use in another TEE context. Therefore reference count TA and unload it when the count becomes zero. Fixes:

Re: [PATCH] Replace __toc_start + 0x8000 with .TOC.

2021-03-06 Thread Fāng-ruì Sòng
On Sat, Mar 6, 2021 at 10:25 PM Segher Boessenkool wrote: > > Hi! > > On Sat, Mar 06, 2021 at 09:14:33PM -0800, Fangrui Song wrote: > > TOC relocations are like GOT relocations on other architectures. > > However, unlike other architectures, GNU ld's ppc64 port defines .TOC. > > relative to the

Re: [PATCH] Replace __toc_start + 0x8000 with .TOC.

2021-03-06 Thread Segher Boessenkool
Hi! On Sat, Mar 06, 2021 at 09:14:33PM -0800, Fangrui Song wrote: > TOC relocations are like GOT relocations on other architectures. > However, unlike other architectures, GNU ld's ppc64 port defines .TOC. > relative to the .got output section instead of the linker synthesized > .got input

Re: [PATCH v9 2/6] dt: bindings: add mt7621-clk device tree binding documentation

2021-03-06 Thread Sergio Paracuellos
Hi, On Sat, Mar 6, 2021 at 10:54 AM Sergio Paracuellos wrote: > > Hi again, > > On Sat, Mar 6, 2021 at 8:12 AM Sergio Paracuellos > wrote: > > > > Hi Rob, > > > > On Fri, Mar 5, 2021 at 11:47 PM Rob Herring wrote: > > [snip] > > > > + > > > > + ralink,sysctl: > > > > +$ref:

Re: [PATCH] Staging: android: ashmem: fixed a struct without const

2021-03-06 Thread kernel test robot
Hi nabil5352, Thank you for the patch! Yet something to improve: [auto build test ERROR on staging/staging-testing] url: https://github.com/0day-ci/linux/commits/nabil5352/Staging-android-ashmem-fixed-a-struct-without-const/20210307-103559 base:

drivers/scsi/fnic/vnic_dev.c:332:32: sparse: sparse: incorrect type in argument 1 (different address spaces)

2021-03-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a38fd8748464831584a19438cbb3082b5a2dab15 commit: 8f28ca6bd8211214faf717677bbffe375c2a6072 iomap: constify ioreadX() iomem argument (as in generic implementation) date: 7 months ago config:

[PATCH] Replace __toc_start + 0x8000 with .TOC.

2021-03-06 Thread Fangrui Song
TOC relocations are like GOT relocations on other architectures. However, unlike other architectures, GNU ld's ppc64 port defines .TOC. relative to the .got output section instead of the linker synthesized .got input section. LLD defines .TOC. as the .got input section plus 0x8000. When

[PATCH] MIPS: ralink: make RALINK_ILL_ACC symbol visible

2021-03-06 Thread Ilya Lipnitskiy
The illegal access driver is optional - it is informational and does not provide critical functionality. Furthermore, it is currently not functional on RT5350 SoCs, so a user may choose to omit non-functional code on that platform. The default is kept at 'y' for backwards compatibility. This

Re: [PATCH] tasklet: Remove tasklet_kill_immediate

2021-03-06 Thread Paul E. McKenney
On Sat, Mar 06, 2021 at 01:36:58PM -0800, Davidlohr Bueso wrote: > Ever since RCU was converted to softirq, it has no users. > > Signed-off-by: Davidlohr Bueso That was a long time ago... Acked-by: Paul E. McKenney > --- > include/linux/interrupt.h | 1 - > kernel/softirq.c | 32

drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c:1807:1: warning: unused variable 'iwl_dbgfs_dbg_time_point_ops'

2021-03-06 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: a38fd8748464831584a19438cbb3082b5a2dab15 commit: 9dbb62a29042e543ab6671dc12c1473c3cbc58c2 iwlwifi: mvm: add debugfs entry to trigger a dump as any time-point date: 4 weeks ago config:

Re: [PATCH 3/4] kbuild: check the minimum assembler version in Kconfig

2021-03-06 Thread Nathan Chancellor
On Sat, Mar 06, 2021 at 02:48:38AM +0900, Masahiro Yamada wrote: > On Fri, Mar 5, 2021 at 10:26 AM Nick Desaulniers > wrote: > > > > On Wed, Mar 3, 2021 at 10:34 AM Masahiro Yamada > > wrote: > > > > > > Documentation/process/changes.rst defines the minimum assembler version > > > (binutils

Re: [PATCH] KVM: arm64: Don't use cbz/adr with external symbols

2021-03-06 Thread Nathan Chancellor
On Fri, Mar 05, 2021 at 12:21:24PM -0800, Sami Tolvanen wrote: > allmodconfig + CONFIG_LTO_CLANG_THIN=y fails to build due to following > linker errors: > > ld.lld: error: irqbypass.c:(function __guest_enter: .text+0x21CC): > relocation R_AARCH64_CONDBR19 out of range: 2031220 is not in >

[PATCH] MIPS: pci-mt7620: fix PLL lock check

2021-03-06 Thread Ilya Lipnitskiy
Upstream a long-standing OpenWrt patch [0] that fixes MT7620 PCIe PLL lock check. The existing code checks the wrong register bit: PPLL_SW_SET is not defined in PPLL_CFG1 and bit 31 of PPLL_CFG1 is marked as reserved in the MT7620 Programming Guide. The correct bit to check for PLL lock is PPLL_LD

Re: [PATCH v2] MIPS: kernel: Reserve exception base early to prevent corruption

2021-03-06 Thread Florian Fainelli
On 3/6/2021 12:29 AM, Thomas Bogendoerfer wrote: > BMIPS is one of the few platforms that do change the exception base. > After commit 2dcb39645441 ("memblock: do not start bottom-up allocations > with kernel_end") we started seeing BMIPS boards fail to boot with the > built-in FDT being

Re: [PATCH 0/2] tracing: Detect unsafe dereferencing of pointers from trace events

2021-03-06 Thread Peter Chen
On 21-03-02 09:56:05, Steven Rostedt wrote: > On Tue, 2 Mar 2021 16:23:55 +0800 > Peter Chen wrote: > > s it looks like it uses %pa which IIUC from the printk code, it > > > >> dereferences the pointer to find it's virtual address. The event has > > > >> this as the field: > > > >> > > > >>

Re: [PATCH 2/2] riscv: Enable generic clockevent broadcast

2021-03-06 Thread Anup Patel
On Sun, Mar 7, 2021 at 7:55 AM wrote: > > From: Guo Ren > > When percpu-timers are stopped by deep power saving mode, we > need system timer help to broadcast IPI_TIMER. > > This is first introduced by broken x86 hardware, where the local apic > timer stops in C3 state. But many other

Re: [PATCH v2] Expose the bus kernel docs to the build docs.

2021-03-06 Thread Wren Turkal
On 3/6/21 7:16 PM, Matthew Wilcox wrote: On Sat, Mar 06, 2021 at 07:12:19PM -0800, Wren Turkal wrote: +Fucntions and Structures Typo, but hold off on a v3 until someone weighs in with an opinion on the rest of the patch. Okay, I fixed the misspelling locally. Looking forward to addtional

Re: [PATCH v2] Expose the bus kernel docs to the build docs.

2021-03-06 Thread Matthew Wilcox
On Sat, Mar 06, 2021 at 07:12:19PM -0800, Wren Turkal wrote: > +Fucntions and Structures Typo, but hold off on a v3 until someone weighs in with an opinion on the rest of the patch.

[PATCH 1/2] net: allwinner: reset control support

2021-03-06 Thread Evgeny Boger
R40 (aka V40/A40i/T3) and A10/A20 share the same EMAC IP. However, on R40 the EMAC is gated by default. Signed-off-by: Evgeny Boger --- drivers/net/ethernet/allwinner/sun4i-emac.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git

[PATCH 2/2] dts: r40: add second ethernet support

2021-03-06 Thread Evgeny Boger
R40 (aka V40, A40i, T3) has two different Ethernet IP called EMAC and GMAC. EMAC only support 10/100 Mbit in MII mode, while GMAC support both 10/100 (MII) and 10/100/1000 (RGMII). In contrast to A10/A20 where GMAC and EMAC share the same pins making EMAC somewhat pointless, on R40 EMAC can be

[PATCH 0/2] sun8i: r40: second ethernet support

2021-03-06 Thread Evgeny Boger
This patch series adds support for two Ethernet ports on Allwinner R40. R40 (aka V40,A40i,T3) has two different Ethernet IPs called EMAC and GMAC. EMAC only support 10/100 Mbit in MII mode, while GMAC support both 10/100 (MII) and 10/100/1000 (RGMII). In contrast to A10/A20 where GMAC and EMAC

[PATCH v2] Expose the bus kernel docs to the build docs.

2021-03-06 Thread Wren Turkal
Before, the bus type related APIs that were defined in the include/linux/device/bus.h were not referenced anywhere in the docs, so I linked it to the bus types api documentation. Signed-off-by: Wren Turkal --- Documentation/driver-api/driver-model/bus.rst | 8

Re: [PATCH 4.9 00/41] 4.9.260-rc1 review

2021-03-06 Thread Naresh Kamboju
On Fri, 5 Mar 2021 at 18:12, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.260 release. > There are 41 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

[PATCH 2/2] riscv: Enable generic clockevent broadcast

2021-03-06 Thread guoren
From: Guo Ren When percpu-timers are stopped by deep power saving mode, we need system timer help to broadcast IPI_TIMER. This is first introduced by broken x86 hardware, where the local apic timer stops in C3 state. But many other architectures(powerpc, mips, arm, hexagon, openrisc, sh) have

[PATCH 1/2] csky: Enable generic clockevent broadcast

2021-03-06 Thread guoren
From: Guo Ren When percpu-timers are stopped by deep power saving mode, we need system timer help to broadcast IPI_TIMER. This is first introduced by broken x86 hardware, where the local apic timer stops in C3 state. But many other architectures(powerpc, mips, arm, hexagon, openrisc, sh) have

[syzbot] general protection fault in klist_iter_exit

2021-03-06 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d310ec03 Merge tag 'perf-core-2021-02-17' of git://git.ker.. git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=1350c796d0 kernel config: https://syzkaller.appspot.com/x/.config?x=2b8307379601586a

Re: [PATCH 5.11 000/104] 5.11.4-rc1 review

2021-03-06 Thread Naresh Kamboju
On Fri, 5 Mar 2021 at 17:55, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.11.4 release. > There are 104 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH] leds: trigger: fix potential deadlock with libata

2021-03-06 Thread Boqun Feng
On Sat, Mar 06, 2021 at 09:39:54PM +0100, Marc Kleine-Budde wrote: > Hello *, > > On 02.11.2020 11:41:52, Andrea Righi wrote: > > We have the following potential deadlock condition: > > > > > > WARNING: possible irq lock inversion

Re: [PATCH] Expose the bus kernel docs to the build docs.

2021-03-06 Thread Wren Turkal
Thanks for the feedback. I will cut another patch in a sec. On 3/6/21 5:44 PM, Matthew Wilcox wrote: Do you want to put a heading in front of it? I did this in xarray.rst: Functions and structures .. kernel-doc:: include/linux/xarray.h .. kernel-doc:: lib/xarray.c

Re: [PATCH] Expose the bus kernel docs to the build docs.

2021-03-06 Thread Matthew Wilcox
On Sat, Mar 06, 2021 at 05:33:01PM -0800, Wren Turkal wrote: > Before, the bus type related APIs that were defined in the > include/linux/device/bus.h were not referenced anywhere in the docs, so > I linked it to the bus types api documentation. I think this is a good thing to do. > +++

[rcu:rcu/next] BUILD SUCCESS 87f839888775b31854553de50d67b1c207dad705

2021-03-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next branch HEAD: 87f839888775b31854553de50d67b1c207dad705 Merge branch 'lkmm-dev.2021.03.04a' into HEAD elapsed time: 3072m configs tested: 131 configs skipped: 2 The following configs have been built

[rcu:dev.2021.03.03b] BUILD SUCCESS b4838c004a52080e221bc224d6425a5a8eba238d

2021-03-06 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git dev.2021.03.03b branch HEAD: b4838c004a52080e221bc224d6425a5a8eba238d net: phy: make mdio_bus_phy_suspend/resume as __maybe_unused elapsed time: 3149m configs tested: 98 configs skipped: 2 The following

[PATCH] Expose the bus kernel docs to the build docs.

2021-03-06 Thread Wren Turkal
Before, the bus type related APIs that were defined in the include/linux/device/bus.h were not referenced anywhere in the docs, so I linked it to the bus types api documentation. Signed-off-by: Wren Turkal --- Documentation/driver-api/driver-model/bus.rst | 2 ++ 1 file changed, 2 insertions(+)

Re: [RFC][PATCH 1/2] x86: remove duplicate TSC DEADLINE MSR definitions

2021-03-06 Thread Dave Hansen
On 3/5/20 9:47 AM, Dave Hansen wrote: > There are two definitions for the TSC deadline MSR in msr-index.h, > one with an underscore and one without. Axe one of them and move > all the references over to the other one. > > Cc: x...@kernel.org > Cc: Peter Zijlstra Better late than never:

Re: [PATCH v10 3/9] crypto: Add math to support fast NIST P384

2021-03-06 Thread Stefan Berger
On 3/6/21 7:03 PM, Vitaly Chikunov wrote: Stefan, On Sat, Mar 06, 2021 at 06:29:18PM -0500, Stefan Berger wrote: On 3/6/21 2:25 PM, Vitaly Chikunov wrote: On Thu, Mar 04, 2021 at 07:51:57PM -0500, Stefan Berger wrote: From: Saulo Alessandre * crypto/ecc.c - add vli_mmod_fast_384 -

Re: [PATCH] PCI: acpiphp: Fixed coding style

2021-03-06 Thread Krzysztof Wilczyński
Hi, Thank you for sending the patch over. Few suggestions below. There seem to be an extra space in the subject line. > In this commit fixed coding style for braces and comments. Where these coding style changes suggested by a tool? For example, was it something like checkpatch.pl? If so,

Re: [PATCH] xhci: Remove unused value len from xhci_unmap_temp_buf

2021-03-06 Thread Zhangkun
On 3/7/21 12:25 AM, Greg Kroah-Hartman wrote: > On Sat, Mar 06, 2021 at 08:06:44PM +0800, zhangkun...@163.com wrote: >> From: Zhang Kun >> >> The value assigned to len by sg_pcopy_from_buffer() never used for >> anything, so remove it. >> >> Signed-off-by: Zhang Kun >> --- >>

Re: [PATCH v3 3/3] dt-bindings: mediatek,dpi: add mt8192 to mediatek,dpi

2021-03-06 Thread Chun-Kuang Hu
Hi, Jitao: Rob Herring 於 2021年2月11日 週四 上午4:19寫道: > > On Mon, 08 Feb 2021 09:42:21 +0800, Jitao Shi wrote: > > Add compatible "mediatek,mt8192-dpi" for the mt8192 dpi. > > > > Signed-off-by: Jitao Shi > > --- > > .../devicetree/bindings/display/mediatek/mediatek,dpi.yaml | 1 + > > 1 file

Re: [PATCH v2 2/2] drm/mediatek: dsi: fine tune the line time cause by EOTp

2021-03-06 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2021年2月1日 週一 上午11:36寫道: > > Enabling EoTp will make the line time larger, so the hfp and > hbp should be reduced to keep line time. Applied to mediatek-drm-next [1], thanks. [1]

Re: [PATCH v2 1/2] drm/mediatek: dsi: Fix EoTp flag

2021-03-06 Thread Chun-Kuang Hu
Hi, Jitao: Jitao Shi 於 2021年2月1日 週一 上午11:36寫道: > > SoC will transmit the EoTp (End of Transmission packet) when > MIPI_DSI_MODE_EOT_PACKET flag is set. I've modified the title and message as: drm/mediatek: dsi: Use symbolized register definition For HSTX_CKLP_EN and DIS_EOT, use symbolized

Re: [PATCH v2] PCI: quirk for preventing bus reset on TI C667X

2021-03-06 Thread Krzysztof Wilczyński
Hi Antti, A few nitpicks, so feel free to ignore these, of course. If possible, capitalise the subject line. Also, perhaps "Add quirk to prevent bus (...)" might read better. > Some TI keystone C667X devices do no support bus/hot reset. Its PCIESS [...] It would be KeyStone in the above

qemu meltdown test failure was Re: [PATCH 4.4 00/30] 4.4.260-rc1 review

2021-03-06 Thread Pavel Machek
Hi! > > Ok, so we ran some tests. > > > > And they failed: > > > > https://gitlab.com/cip-project/cip-testing/linux-stable-rc-ci/-/jobs/1075959449 > > > > [ 26.785861] > > Received signal: TEST_CASE_ID=CVE-2018-3639 RESULT=fail > > > > Testcase name is spectre-meltdown-checker... Failing

Re: [PATCH v10 3/9] crypto: Add math to support fast NIST P384

2021-03-06 Thread Vitaly Chikunov
Stefan, On Sat, Mar 06, 2021 at 06:29:18PM -0500, Stefan Berger wrote: > On 3/6/21 2:25 PM, Vitaly Chikunov wrote: > > > > On Thu, Mar 04, 2021 at 07:51:57PM -0500, Stefan Berger wrote: > > > From: Saulo Alessandre > > > > > > * crypto/ecc.c > > >- add vli_mmod_fast_384 > > >- change

Re: [PATCH] PCI: iproc: Fix return value of iproc_msi_irq_domain_alloc()

2021-03-06 Thread Krzysztof Wilczyński
Hi Pali, > IRQ domain alloc function should return zero on success. Non-zero value > indicates failure. > > Signed-off-by: Pali Rohár > Fixes: fc54bae28818 ("PCI: iproc: Allow allocation of multiple MSIs") [...] Nice catch! Reviewed-by: Krzysztof Wilczyński Krzysztof

[PATCH] iio: adc: axp20x_adc: fix charging current reporting on AXP22x

2021-03-06 Thread Evgeny Boger
Both the charging and discharging currents on AXP22x are stored as 12-bit integers, in accordance with the datasheet. It's also confirmed by vendor BSP (axp20x_adc.c:axp22_icharge_to_mA). The scale factor of 0.5 is never mentioned in datasheet, nor in the vendor source code. I think it was here

Re: [PATCH 03/44] PCI: remove synclink entries from pci_ids

2021-03-06 Thread Krzysztof Wilczyński
Hi Jiri, > The drivers were removed in a1f714b44e34 (tty: Remove redundant synclink > driver) and 3d608a591b2b (tty: Remove redundant synclinkmp driver). > > So remove also the PCI ID entries. [...] Thank you! Reviewed-by: Krzysztof Wilczyński Krzysztof

Re: [PATCH v3 1/2] usb: dwc3: Trigger a GCTL soft reset when switching modes in DRD

2021-03-06 Thread Thinh Nguyen
Wesley Cheng wrote: > > On 1/8/2021 4:44 PM, Thinh Nguyen wrote: >> Hi, >> >> John Stultz wrote: >>> On Fri, Jan 8, 2021 at 4:26 AM Felipe Balbi wrote: Hi, John Stultz writes: > From: Yu Chen > > Just resending this, as discussion died out a bit and I'm not > sure

Re: [PATCH v3 2/2] usb: dwc3: Fix DRD mode change sequence following programming guide

2021-03-06 Thread Thinh Nguyen
Wesley Cheng wrote: > > On 1/7/2021 5:51 PM, John Stultz wrote: >> In reviewing the previous patch, Thinh Nguyen pointed out that >> the DRD mode change sequence should be like the following when >> switching from host -> device according to the programming guide >> (for all DRD IPs): >> 1. Reset

Re: [PATCH v10 3/9] crypto: Add math to support fast NIST P384

2021-03-06 Thread Stefan Berger
On 3/6/21 2:25 PM, Vitaly Chikunov wrote: Stefan, On Thu, Mar 04, 2021 at 07:51:57PM -0500, Stefan Berger wrote: From: Saulo Alessandre * crypto/ecc.c - add vli_mmod_fast_384 - change some routines to pass ecc_curve forward until vli_mmod_fast * crypto/ecc.h - add

Re: [PATCH] dt-bindings: timer: renesas,tmu: add r8a779a0 TMU support

2021-03-06 Thread Niklas Söderlund
Hi Wolfram, Thanks for your work. On 2021-03-05 15:23:59 +0100, Wolfram Sang wrote: > Signed-off-by: Wolfram Sang Reviewed-by: Niklas Söderlund > --- > > This is the correct one. TMU passed the testsuite, CMT needs a second > look. > >

[PATCH] mfd: ab8500: Drop bm disable parameter

2021-03-06 Thread Linus Walleij
Nobody is passing the module parameter to disable the battery management portions so just drop this parameter. Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Rebased on v5.12-rc, seems to have been missed for v5.12 merge window. --- drivers/mfd/ab8500-core.c | 20 ++-- 1

Re: [PATCH 4.4 00/30] 4.4.260-rc1 review

2021-03-06 Thread Pavel Machek
Hi! > > > This is the start of the stable review cycle for the 4.4.260 release. > > > There are 30 patches in this series, all will be posted as a response > > > to this one. If anyone has any issues with these being applied, please > > > let me know. > > > > Ok, so we ran some tests. > > > >

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-06 Thread Thomas Bogendoerfer
On Sat, Mar 06, 2021 at 02:35:21PM -0700, Rob Herring wrote: > On Sat, Mar 6, 2021 at 1:45 AM Thomas Bogendoerfer > wrote: > > > > On Wed, Mar 03, 2021 at 02:37:55PM -0600, Rob Herring wrote: > > > On Wed, Mar 3, 2021 at 1:33 PM Paul Cercueil wrote: > > > > > > > > Since 5.12-rc1, the Device

[PATCH net-next] net: usb: log errors to dmesg/syslog

2021-03-06 Thread Grant Grundler
Errors in protocol should be logged when the driver aborts operations. If the driver can carry on and "humor" the device, then emitting the message as debug output level is fine. Signed-off-by: Grant Grundler --- drivers/net/usb/usbnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH net-next] net: usb: cdc_ncm: emit dev_err on error paths

2021-03-06 Thread Grant Grundler
Several error paths in bind/probe code will only emit output using dev_dbg. But if we are going to fail the bind/probe, emit related output with "err" priority. Signed-off-by: Grant Grundler --- drivers/net/usb/cdc_ncm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-)

[PATCH] tasklet: Remove tasklet_kill_immediate

2021-03-06 Thread Davidlohr Bueso
Ever since RCU was converted to softirq, it has no users. Signed-off-by: Davidlohr Bueso --- include/linux/interrupt.h | 1 - kernel/softirq.c | 32 2 files changed, 33 deletions(-) diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h

Re: [PATCH -next] mfd: ntxec: Support for EC in Tolino Shine 2 HD

2021-03-06 Thread Andreas Kemnade
On Sat, 6 Mar 2021 21:19:38 +0100 Jonathan Neuschäfer wrote: [...] > > > > + case NTXEC_VERSION_TOLINO_SHINE2: > > > > + has_rtc = false; > > > > + ec->regmap = devm_regmap_init(ec->dev, NULL, > > > > + ec->regmap, > >

5.12-rc1 and -rc2 - BUG/crash after KVM/USB connect/disconnect.

2021-03-06 Thread Robert Gadsdon
HP Z220 (xeon).  Fedora 33  GCC 10.2.1 Boot system, connect via KVM (DVI/USB) and disconnect, then: . usb 1-1.1.1: USB disconnect, device number 6 usb 1-1.1.1.2: USB disconnect, device number 8 usb 1-1.1.1.4: USB disconnect, device number 9 usb 1-1.1.1.5: clear tt 5

[PATCH] soc: qcom: Fix typos in the file qmi_encdec.c

2021-03-06 Thread Bhaskar Chowdhury
Rudimentory spelling fixes throughout the file. s/descibing/describing/ s/inforation/information/ Signed-off-by: Bhaskar Chowdhury --- drivers/soc/qcom/qmi_encdec.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/soc/qcom/qmi_encdec.c

Re: [PATCH] MIPS: boot/compressed: Copy DTB to aligned address

2021-03-06 Thread Rob Herring
On Sat, Mar 6, 2021 at 1:45 AM Thomas Bogendoerfer wrote: > > On Wed, Mar 03, 2021 at 02:37:55PM -0600, Rob Herring wrote: > > On Wed, Mar 3, 2021 at 1:33 PM Paul Cercueil wrote: > > > > > > Since 5.12-rc1, the Device Tree blob must now be properly aligned. > > > > I had checked the other

Re: [PATCH 00/11] pragma once: treewide conversion

2021-03-06 Thread Linus Torvalds
On Sat, Mar 6, 2021 at 5:07 AM Miguel Ojeda wrote: > > Concerning #pragma once: I actually would like to have a standard > #once directive if what is a "seen file" could be defined a bit more > precisely. I think it would be ok if you had something like #pragma once IDTOKEN which would

Re: [PATCH 1/3] dt-bindings: phy: convert Broadcom NS USB 2.0 to the json-schema

2021-03-06 Thread Rob Herring
On Fri, 26 Feb 2021 12:44:59 +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > Minor example fixes: > 1. Include bcm-nsp.h > 2. Add address to the node name > > Signed-off-by: Rafał Miłecki > --- > This has been verified using dt_binding_check > --- > .../bindings/phy/bcm-ns-usb2-phy.txt

[PATCH] net: ethernet: chelsio: inline_crypto: Mundane typos fixed throughout the file chcr_ktls.c

2021-03-06 Thread Bhaskar Chowdhury
Mundane typos fixes throughout the file. s/establised/established/ s/availbale/available/ s/vaues/values/ s/Incase/In case/ Signed-off-by: Bhaskar Chowdhury --- .../ethernet/chelsio/inline_crypto/ch_ktls/chcr_ktls.c| 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

Re: [PATCH 2/2] iio: qcom-spmi-vadc: Add definitions for USB DP/DM VADCs

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 22:36:05 +0100, Konrad Dybcio wrote: > From: AngeloGioacchino Del Regno > > Some SoCs do have a USB DP/DM ADC at 0x43, 0x44. > > Signed-off-by: AngeloGioacchino Del Regno > > Signed-off-by: Konrad Dybcio > --- > include/dt-bindings/iio/qcom,spmi-vadc.h | 3 +++ > 1 file

Re: [PATCH 1/2] pinctrl: pmic-mpp: Add missing dt-bindings mpp function defs

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 22:36:04 +0100, Konrad Dybcio wrote: > From: AngeloGioacchino Del Regno > > The pinctrl-spmi-mpp driver supports setting more mpp functions > than the ones defined in the dt-bindings header, specifically, > digital, analog and sink. > > To follow the current way of

Re: [PATCH 1/2] dt-bindings: clock: qcom,gcc: Document MSM8976 compatibles

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 21:18:42 +0100, Konrad Dybcio wrote: > Document the newly added compatibles for 8976 GCC. > > Signed-off-by: Konrad Dybcio > --- > Documentation/devicetree/bindings/clock/qcom,gcc.yaml | 2 ++ > 1 file changed, 2 insertions(+) > Acked-by: Rob Herring

QQQQQQQQQPM

2021-03-06 Thread CAREERR CENTER
We have a Job vacancy for you in your country, the Job cannot stop your business or the work your doing already. Send your CV/ Resume or Name, Phone No. , address to our Email: mec...@xcontrol.it Thanks Jeff.

Re: [PATCH 3/4] dt-bindings: clock: Add BCM63268 timer binding

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 20:42:00 +0100, Álvaro Fernández Rojas wrote: > Document the Broadcom BCM63268 Clock and Reset controller. > > Signed-off-by: Álvaro Fernández Rojas > --- > .../clock/brcm,bcm63268-timer-clocks.yaml | 40 +++ > 1 file changed, 40 insertions(+) > create

Re: [PATCH 2/4] mips: bmips: add BCM63268 timer reset definitions

2021-03-06 Thread Rob Herring
On Thu, Feb 25, 2021 at 08:41:59PM +0100, Álvaro Fernández Rojas wrote: > Add missing timer reset definitions for BCM63268. > > Signed-off-by: Álvaro Fernández Rojas > --- > include/dt-bindings/reset/bcm63268-reset.h | 4 > 1 file changed, 4 insertions(+) > > diff --git

[PATCH] fb_defio: Use __set_page_dirty_no_writeback

2021-03-06 Thread Matthew Wilcox (Oracle)
The home-grown set_page_dirty() implementation had the wrong return value. Use __set_page_dirty_no_writeback() like other in-memory implementations. Signed-off-by: Matthew Wilcox (Oracle) --- drivers/video/fbdev/core/fb_defio.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff

Re: [PATCH 1/4] mips: bmips: add BCM63268 timer clock definitions

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 20:41:58 +0100, Álvaro Fernández Rojas wrote: > Add missing timer clock definitions for BCM63268. > > Signed-off-by: Álvaro Fernández Rojas > --- > include/dt-bindings/clock/bcm63268-clock.h | 13 + > 1 file changed, 13 insertions(+) > Acked-by: Rob Herring

Re: [PATCH v4 15/19] dts: bindings: Document device tree bindings for ETE

2021-03-06 Thread Rob Herring
On Thu, Feb 25, 2021 at 07:35:39PM +, Suzuki K Poulose wrote: > Document the device tree bindings for Embedded Trace Extensions. > ETE can be connected to legacy coresight components and thus > could optionally contain a connection graph as described by > the CoreSight bindings. > > Cc:

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:56 PM Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 9:49 PM Sedat Dilek wrote: > > > > On Sat, Mar 6, 2021 at 9:38 PM Sedat Dilek wrote: > > > > > > On Sat, Mar 6, 2021 at 9:26 PM Sedat Dilek wrote: > > > > > > > > On Sat, Mar 6, 2021 at 5:58 PM Alan Stern > > > >

Re: [PATCH v3 1/3] dt-bindings: mtd: Convert Qcom NANDc binding to YAML

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 19:38:40 +0530, Manivannan Sadhasivam wrote: > Convert Qcom NANDc devicetree binding to YAML. > > Signed-off-by: Manivannan Sadhasivam > --- > .../devicetree/bindings/mtd/qcom,nandc.yaml | 196 ++ > .../devicetree/bindings/mtd/qcom_nandc.txt| 142

Re: [PATCH 1/4] dt-bindings: mfd: Add bindings for Ampere Altra SMPro drivers

2021-03-06 Thread Rob Herring
On Thu, Feb 25, 2021 at 05:18:51PM +0700, Quan Nguyen wrote: > Adds device tree bindings for SMPro drivers found on the Mt.Jade hardware > reference platform with Ampere's Altra Processor family. > > Signed-off-by: Quan Nguyen > --- > .../bindings/hwmon/ampere,ac01-hwmon.yaml | 27 ++ >

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:49 PM Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 9:38 PM Sedat Dilek wrote: > > > > On Sat, Mar 6, 2021 at 9:26 PM Sedat Dilek wrote: > > > > > > On Sat, Mar 6, 2021 at 5:58 PM Alan Stern > > > wrote: > > > > > > > > On Sat, Mar 06, 2021 at 07:42:30AM +0100, Sedat

Re: [PATCH] powerpc: iommu: fix build when neither PCI or IBMVIO is set

2021-03-06 Thread Randy Dunlap
On March 2, 2021 3:08:43 AM PST, Michael Ellerman wrote: >Randy Dunlap writes: >> When neither CONFIG_PCI nor CONFIG_IBMVIO is enabled: >> >> ../arch/powerpc/kernel/iommu.c:178:30: error: >'fail_iommu_bus_notifier' defined but not used >[-Werror=unused-variable] >> 178 | static struct

Re: [PATCH 6/9] dt-bindings: soc: qcom: aoss: Add SC7280 compatible

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 15:00:22 +0530, Sai Prakash Ranjan wrote: > Add SC7280 AOSS QMP compatible to the list of possible bindings. > > Signed-off-by: Sai Prakash Ranjan > --- > Documentation/devicetree/bindings/soc/qcom/qcom,aoss-qmp.txt | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob

Re: [xhci] usb 4-1: reset SuperSpeed Gen 1 USB device number 2 using xhci_hcd

2021-03-06 Thread Sedat Dilek
On Sat, Mar 6, 2021 at 9:38 PM Sedat Dilek wrote: > > On Sat, Mar 6, 2021 at 9:26 PM Sedat Dilek wrote: > > > > On Sat, Mar 6, 2021 at 5:58 PM Alan Stern wrote: > > > > > > On Sat, Mar 06, 2021 at 07:42:30AM +0100, Sedat Dilek wrote: > > > > No, with Debian-Kernel 5.10.19-1 there are no

Re: [PATCH 1/9] dt-bindings: arm: msm: Add LLCC for SC7280

2021-03-06 Thread Rob Herring
On Thu, 25 Feb 2021 15:00:17 +0530, Sai Prakash Ranjan wrote: > Add LLCC compatible for SC7280 SoC. > > Signed-off-by: Sai Prakash Ranjan > --- > Documentation/devicetree/bindings/arm/msm/qcom,llcc.yaml | 1 + > 1 file changed, 1 insertion(+) > Acked-by: Rob Herring

Re: [PATCH v2,1/3] dt-bindings: media: mtk-vcodec: Separating mtk vcodec encoder node

2021-03-06 Thread Rob Herring
On Thu, Feb 25, 2021 at 03:36:01PM +0800, Irui Wang wrote: > Updates binding document since the avc and vp8 hardware encoder in > MT8173 are now separated. Separate "mediatek,mt8173-vcodec-enc" to > "mediatek,mt8173-vcodec-enc-vp8" and "mediatek,mt8173-vcodec-enc". This is not a compatible

Re: [PATCH] leds: trigger: fix potential deadlock with libata

2021-03-06 Thread Marc Kleine-Budde
Hello *, On 02.11.2020 11:41:52, Andrea Righi wrote: > We have the following potential deadlock condition: > > > WARNING: possible irq lock inversion dependency detected > 5.10.0-rc2+ #25 Not tainted >

  1   2   3   4   5   >