Re: [f2fs-dev] [f2fs bug] infinite loop in f2fs_get_meta_page_nofail()

2020-10-08 Thread Chao Yu
On 2020/10/8 5:53, jaeg...@kernel.org wrote: On 10/07, Eric Biggers wrote: [moved linux-fsdevel to Bcc] On Wed, Oct 07, 2020 at 02:18:19AM -0700, syzbot wrote: Hello, syzbot found the following issue on: HEAD commit:a804ab08 Add linux-next specific files for 20201006 git tree:

Re: [RFC][PATCH] kexec: Teach indirect pages how to live in high memory

2020-10-08 Thread Joonsoo Kim
On Tue, May 05, 2020 at 01:39:16PM -0500, Eric W. Biederman wrote: > Hari Bathini writes: > > > On 05/05/20 3:29 am, Eric W. Biederman wrote: > >> > >> Recently a patch was proposed to kimage_alloc_page to slightly alter > >> the logic of how pages allocated with incompatible flags were > >>

RE: [PATCH] fs: use correct parameter in notes of generic_file_llseek_size()

2020-10-08 Thread Tianxianting
Sorry Randy, I used my cellphone to send the previous mail, it is html. -Original Message- From: Randy Dunlap [mailto:rdun...@infradead.org] Sent: Thursday, October 08, 2020 12:50 AM To: tianxianting (RD) ; v...@zeniv.linux.org.uk Cc: linux-fsde...@vger.kernel.org;

Re: [PATCH] f2fs: reject CASEFOLD inode flag without casefold feature

2020-10-08 Thread Chao Yu
On 2020/10/9 3:15, Eric Biggers wrote: From: Eric Biggers syzbot reported: general protection fault, probably for non-canonical address 0xdc01: [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0008-0x000f] CPU: 0 PID: 6860 Comm:

Re: [PATCH 35/35] Add documentation for dmemfs

2020-10-08 Thread Randy Dunlap
On 10/8/20 12:54 AM, yulei.ker...@gmail.com wrote: > From: Yulei Zhang > > Introduce dmemfs.rst to document the basic usage of dmemfs. > Please add dmemfs as an entry in Documentation/filesystems/index.rst also. > Signed-off-by: Yulei Zhang > --- > Documentation/filesystems/dmemfs.rst | 59

Re: general protection fault in percpu_ref_exit

2020-10-08 Thread Jens Axboe
On 10/8/20 2:28 PM, syzbot wrote: > syzbot has bisected this issue to: > > commit 2b0d3d3e4fcfb19d10f9a82910b8f0f05c56ee3e > Author: Ming Lei > Date: Thu Oct 1 15:48:41 2020 + > > percpu_ref: reduce memory footprint of percpu_ref in fast path > > bisection log:

Re: [PATCH v3 11/18] dmaengine: idxd: ims setup for the vdcm

2020-10-08 Thread Raj, Ashok
Hi Jason On Thu, Oct 08, 2020 at 08:32:10PM -0300, Jason Gunthorpe wrote: > On Fri, Oct 09, 2020 at 01:17:38AM +0200, Thomas Gleixner wrote: > > Dave, > > > > On Thu, Oct 08 2020 at 09:51, Dave Jiang wrote: > > > On 10/8/2020 12:39 AM, Thomas Gleixner wrote: > > >> On Wed, Oct 07 2020 at 14:54,

Re: [PATCHv2] arm64: initialize per-cpu offsets earlier

2020-10-08 Thread Qian Cai
... It hangs here for more than 10 minutes even with "earlycon" before I gave up. The reverting makes it boot again following by those lines almost immediately. [0.00][T0] Booting Linux on physical CPU 0x000000 [0x431f0af1] [0.00][T0] Linux version 5.9.0-rc8-ne

[PATCH v3 0/6] Intel MAX10 BMC Secure Update Driver

2020-10-08 Thread Russ Weight
The Intel MAX10 BMC Secure Update driver instantiates the FPGA Security Manager class driver and provides the callback functions required to support secure updates on Intel n3000 PAC devices. This driver is implemented as a sub-driver of the Intel MAX10 BMC mfd driver. Future instances of the

[PATCH v3 1/6] mfd: intel-m10-bmc: support for MAX10 BMC Secure Updates

2020-10-08 Thread Russ Weight
Add macros and definitions required by the MAX10 BMC Secure Update driver. Signed-off-by: Russ Weight --- v3: - Changed "MAX10 BMC Secure Engine driver" to "MAX10 BMC Secure Update driver" - Removed wrapper functions (m10bmc_raw_*, m10bmc_sys_*). The underlying functions will be

[PATCH v3 4/6] fpga: m10bmc-sec: expose max10 canceled keys in sysfs

2020-10-08 Thread Russ Weight
Extend the MAX10 BMC Secure Update driver to provide a handler to expose the canceled code signing key (CSK) bit vectors in sysfs. These use the standard bitmap list format (e.g. 1,2-6,9). Signed-off-by: Russ Weight Reviewed-by: Tom Rix --- v3: - Changed: iops -> sops, imgr -> smgr, IFPGA_ ->

[PATCH v3 5/6] fpga: m10bmc-sec: add max10 secure update functions

2020-10-08 Thread Russ Weight
Extend the MAX10 BMC Secure Update driver to include the functions that enable secure updates of BMC images, FPGA images, etc. Signed-off-by: Russ Weight --- v3: - Changed: iops -> sops, imgr -> smgr, IFPGA_ -> FPGA_, ifpga_ to fpga_ - Changed "MAX10 BMC Secure Engine driver" to "MAX10 BMC

[PATCH v3 3/6] fpga: m10bmc-sec: expose max10 flash update counts

2020-10-08 Thread Russ Weight
Extend the MAX10 BMC Secure Update driver to provide a handler to expose the flash update count for the FPGA user image in sysfs. Signed-off-by: Russ Weight Reviewed-by: Tom Rix --- v3: - Changed: iops -> sops, imgr -> smgr, IFPGA_ -> FPGA_, ifpga_ to fpga_ - Changed "MAX10 BMC Secure

[PATCH v3 2/6] fpga: m10bmc-sec: create max10 bmc secure update driver

2020-10-08 Thread Russ Weight
Create a platform driver that can be invoked as a sub driver for the Intel MAX10 BMC in order to support secure updates. This sub-driver will invoke an instance of the FPGA Security Manager class driver in order to expose sysfs interfaces for managing and monitoring secure updates to FPGA and BMC

[PATCH v3 6/6] fpga: m10bmc-sec: add max10 get_hw_errinfo callback func

2020-10-08 Thread Russ Weight
Extend the MAX10 BMC Secure Update driver to include a function that returns 64 bits of additional HW specific data for errors that require additional information. This callback function enables the hw_errinfo sysfs node in the Intel Security Manager class driver. Signed-off-by: Russ Weight ---

Re: [PATCH -next] gnss: simplify the return expression of gnss_uevent

2020-10-08 Thread miaoqinglang
在 2020/10/8 22:42, Johan Hovold 写道: On Mon, Sep 21, 2020 at 09:10:28PM +0800, Qinglang Miao wrote: Simplify the return expression. Signed-off-by: Qinglang Miao The current code was written with an explicit error path on purpose, and there's no need to change it. Same applies to your

Re: io_uring: process task work in io_uring_register()

2020-10-08 Thread Jens Axboe
On 10/8/20 12:23 PM, Colin Ian King wrote: > Hi, > > Static analysis with Coverity has detected a "dead-code" issue with the > following commit: > > commit af9c1a44f8dee7a958e07977f24ba40e3c770987 > Author: Jens Axboe > Date: Thu Sep 24 13:32:18 2020 -0600 > > io_uring: process task work

Re: [PATCH 22/35] kvm, x86: Distinguish dmemfs page from mmio page

2020-10-08 Thread Sean Christopherson
On Thu, Oct 08, 2020 at 03:54:12PM +0800, yulei.ker...@gmail.com wrote: > From: Yulei Zhang > > Dmem page is pfn invalid but not mmio. Support cacheable > dmem page for kvm. > > Signed-off-by: Chen Zhuo > Signed-off-by: Yulei Zhang > --- > arch/x86/kvm/mmu/mmu.c | 5 +++-- >

Re: [PATCH v2 00/11] firmware/soc: ti_sci, ringacc/inta: Preparation for AM64 DMA support

2020-10-08 Thread santosh . shilimkar
On 10/8/20 4:52 AM, Peter Ujfalusi wrote: Santosh: if you plan to take this series for 5.11, then can you create an immutable branch which I can refer to Vinod for the DMA patches I'm going to send soon. I will set it up right after the 5.10-rc1 is tagged. regards, Santosh

Re: [PATCH net-next] selftests: mptcp: interpret \n as a new line

2020-10-08 Thread Jakub Kicinski
On Tue, 06 Oct 2020 18:12:45 +0200 Paolo Abeni wrote: > On Tue, 2020-10-06 at 18:06 +0200, Matthieu Baerts wrote: > > In case of errors, this message was printed: > > > > (...) > > balanced bwidth with unbalanced delay 5233 max 5005 [ fail ] > > client exit code 0, server 0 > >

Re: [PATCH v2 00/11] firmware/soc: ti_sci, ringacc/inta: Preparation for AM64 DMA support

2020-10-08 Thread santosh . shilimkar
On 10/8/20 4:52 AM, Peter Ujfalusi wrote: Santosh: if you plan to take this series for 5.11, then can you create an immutable branch which I can refer to Vinod for the DMA patches I'm going to send soon. I will set it up right after the 5.10-rc1 is tagged. regards, Santosh

Re: inconsistent lock state in xa_destroy

2020-10-08 Thread Jens Axboe
NG: inconsistent lock state >> 5.9.0-rc8-next-20201008-syzkaller #0 Not tainted >> >> inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. >> swapper/0/0 [HC0[0]:SC1[1]:HE0:SE0] takes: >> 888025f65018 (>xa_lock#7){+.?.}-{2:2}, a

Re: [PATCH v3 2/2] power: supply: bq25790: Introduce the BQ25790 charger driver

2020-10-08 Thread kernel test robot
Hi Dan, I love your patch! Perhaps something to improve: [auto build test WARNING on power-supply/for-next] [also build test WARNING on linus/master v5.9-rc8 next-20201008] [cannot apply to linux/master] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting

Re: [PATCH 1/2] extcon: add driver for TI TUSB320

2020-10-08 Thread Chanwoo Choi
Hi, Almost looks good to me. I added some comments. On 10/9/20 7:39 AM, Michael Auchter wrote: > This patch adds an extcon driver for the TI TUSB320 USB Type-C device. > This can be used to detect whether the port is configured as a > downstream or upstream facing port. > > Signed-off-by:

Re: [PATCH 2/2] dt-bindings: extcon: add binding for TUSB320

2020-10-08 Thread Chanwoo Choi
On 10/9/20 7:39 AM, Michael Auchter wrote: > Add a device tree binding for the TI TUSB320. > > Signed-off-by: Michael Auchter > --- > .../bindings/extcon/extcon-usbc-tusb320.yaml | 41 +++ > 1 file changed, 41 insertions(+) > create mode 100644 >

Re: [PATCH v3 11/18] dmaengine: idxd: ims setup for the vdcm

2020-10-08 Thread Dave Jiang
On 10/8/2020 4:32 PM, Jason Gunthorpe wrote: On Fri, Oct 09, 2020 at 01:17:38AM +0200, Thomas Gleixner wrote: Dave, On Thu, Oct 08 2020 at 09:51, Dave Jiang wrote: On 10/8/2020 12:39 AM, Thomas Gleixner wrote: On Wed, Oct 07 2020 at 14:54, Dave Jiang wrote: On 9/30/2020 12:57 PM, Thomas

[PATCH v10 2/4] dt-bindings: usb: Add Qualcomm PMIC type C controller dt-binding

2020-10-08 Thread Wesley Cheng
Introduce the dt-binding for enabling USB type C orientation and role detection using the PM8150B. The driver will be responsible for receiving the interrupt at a state change on the CC lines, reading the orientation/role, and communicating this information to the remote clients, which can

[PATCH v10 1/4] usb: typec: Add QCOM PMIC typec detection driver

2020-10-08 Thread Wesley Cheng
The QCOM SPMI typec driver handles the role and orientation detection, and notifies client drivers using the USB role switch framework. It registers as a typec port, so orientation can be communicated using the typec switch APIs. The driver also attains a handle to the VBUS output regulator, so

Re: [PATCH v3 seccomp 3/5] seccomp/cache: Lookup syscall allowlist for fast path

2020-10-08 Thread YiFei Zhu
On Wed, Sep 30, 2020 at 4:32 PM Kees Cook wrote: > > On Wed, Sep 30, 2020 at 10:19:14AM -0500, YiFei Zhu wrote: > > From: YiFei Zhu > > > > The fast (common) path for seccomp should be that the filter permits > > the syscall to pass through, and failing seccomp is expected to be > > an

Re: [PATCH] mm: swapfile: avoid split_swap_cluster() NULL pointer dereference

2020-10-08 Thread Huang, Ying
Rafael Aquini writes: > On Thu, Oct 01, 2020 at 10:31:57AM -0400, Rafael Aquini wrote: >> On Fri, Sep 25, 2020 at 11:21:58AM +0800, Huang, Ying wrote: >> > Rafael Aquini writes: >> > >> Or, can you help to run the test with a debug kernel based on upstream >> > >> kernel. I can provide some

Re: [PATCH v1 2/6] staging: qlge: coredump via devlink health reporter

2020-10-08 Thread Coiby Xu
On Thu, Oct 08, 2020 at 04:39:40PM +0300, Dan Carpenter wrote: On Thu, Oct 08, 2020 at 07:58:04PM +0800, Coiby Xu wrote: -static int -qlge_reporter_coredump(struct devlink_health_reporter *reporter, - struct devlink_fmsg *fmsg, void *priv_ctx, -

Re: [PATCH v1 1/6] staging: qlge: Initialize devlink health dump framework for the dlge driver

2020-10-08 Thread Coiby Xu
On Thu, Oct 08, 2020 at 04:31:42PM +0300, Dan Carpenter wrote: On Thu, Oct 08, 2020 at 07:58:03PM +0800, Coiby Xu wrote: Initialize devlink health dump framework for the dlge driver so the coredump could be done via devlink. Signed-off-by: Coiby Xu --- drivers/staging/qlge/Kconfig|

Re: How should we handle illegal task FPU state?

2020-10-08 Thread Andy Lutomirski
On Thu, Oct 8, 2020 at 11:08 AM Yu, Yu-cheng wrote: > > On 10/1/2020 3:04 PM, Andy Lutomirski wrote: > > On Thu, Oct 1, 2020 at 2:50 PM Dave Hansen wrote: > >> > >> On 10/1/20 1:58 PM, Sean Christopherson wrote: > >>> One thought for a lowish effort approach to pave the way for CET would be >

syndrome list mlx5

2020-10-08 Thread marc spencer
Hi, Where can I get access to mlx5 syndrome list for e.g when a HCA command is issued, we get a return status (OK/INTERNAL_ERR/BAD_OP/BAD_RES_STATE etc) and also syndrome. To decode the syndrome, I believe there is a list from Mellanox. Can anyone point me to such a list? Thanks Best Regards

[PATCH v10 4/4] arm64: boot: dts: qcom: pm8150b: Add DTS node for PMIC VBUS booster

2020-10-08 Thread Wesley Cheng
Add the required DTS node for the USB VBUS output regulator, which is available on PM8150B. This will provide the VBUS source to connected peripherals. Signed-off-by: Wesley Cheng --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 6 ++ arch/arm64/boot/dts/qcom/sm8150-mtp.dts | 4 2 files

[PATCH v10 0/4] Introduce PMIC based USB type C detection

2020-10-08 Thread Wesley Cheng
Changes in v10: - Modified the type c dt-binding to remove the DRD switch node outside of the connector, as it is more of a SW entity, whereas the USB connector model focuses more on how the connector pins are connected in the HW design. The binding now matches what is specified in the

[PATCH v10 3/4] arm64: boot: dts: qcom: pm8150b: Add node for USB type C block

2020-10-08 Thread Wesley Cheng
The PM8150B has a dedicated USB type C block, which can be used for type C orientation and role detection. Create the reference node to this type C block for further use. Signed-off-by: Wesley Cheng Reviewed-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/pm8150b.dtsi | 7 +++ 1 file

Re: [PATCH] net: stmmac: Don't call _irqoff() with hardirqs enabled

2020-10-08 Thread Vladimir Oltean
On Thu, Oct 08, 2020 at 05:27:49PM +0100, John Keeping wrote: > With threadirqs, stmmac_interrupt() is called on a thread with hardirqs > enabled so we cannot call __napi_schedule_irqoff(). Under lockdep it > leads to: > > [ cut here ] > WARNING: CPU: 0 PID:

Re: [PATCH nf v2] netfilter: conntrack: connection timeout after re-register

2020-10-08 Thread Francesco Ruggeri
On Wed, Oct 7, 2020 at 12:32 PM Francesco Ruggeri wrote: > > If the first packet conntrack sees after a re-register is an outgoing > keepalive packet with no data (SEG.SEQ = SND.NXT-1), td_end is set to > SND.NXT-1. > When the peer correctly acknowledges SND.NXT, tcp_in_window fails > check III

Re: [v2 PATCH] crypto: sun4i-ss - Fix sparse endianness markers

2020-10-08 Thread Eric Biggers
On Thu, Oct 08, 2020 at 08:36:23AM +0200, Corentin Labbe wrote: > On Thu, Oct 08, 2020 at 04:52:38PM +1100, Herbert Xu wrote: > > On Thu, Sep 24, 2020 at 03:27:38PM +0200, Corentin Labbe wrote: > > > > > > This is an example on next-20200923+BigEndian > > > alg: ahash: sha1 test failed (wrong

[PATCH] slub: Actually fix freelist pointer vs redzoning

2020-10-08 Thread Kees Cook
It turns out that SLUB redzoning ("slub_debug=Z") checks from s->object_size rather than from s->inuse (which is normally bumped to make room for the freelist pointer), so a cache created with an object size less than 24 would have their freelist pointer written beyond s->object_size, causing the

Re: [PATCH v3 11/18] dmaengine: idxd: ims setup for the vdcm

2020-10-08 Thread Jason Gunthorpe
On Fri, Oct 09, 2020 at 01:17:38AM +0200, Thomas Gleixner wrote: > Dave, > > On Thu, Oct 08 2020 at 09:51, Dave Jiang wrote: > > On 10/8/2020 12:39 AM, Thomas Gleixner wrote: > >> On Wed, Oct 07 2020 at 14:54, Dave Jiang wrote: > >>> On 9/30/2020 12:57 PM, Thomas Gleixner wrote: > Aside of

Re: [PATCH 5/5] x86/kvm: Add KVM_FEATURE_MSI_EXT_DEST_ID

2020-10-08 Thread Thomas Gleixner
On Thu, Oct 08 2020 at 22:39, David Woodhouse wrote: > On Thu, 2020-10-08 at 23:14 +0200, Thomas Gleixner wrote: >> > >> > (We'd want the x86_vector_domain to actually have an MSI compose >> > function in the !CONFIG_PCI_MSI case if we did this, of course.) >> >> The compose function and the

[PATCH] merge_config.sh: Add switch to specify ARCH variable

2020-10-08 Thread Victor Erminpour
Add a switch to merge_config.sh to specify the ARCH variable which defines the target architecture. Set x86 as the default architecture. Signed-off-by: Victor Erminpour --- scripts/kconfig/merge_config.sh | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/2] thermal: ti-soc-thermal: Enable addition power management

2020-10-08 Thread Daniel Lezcano
On 11/09/2020 14:31, Adam Ford wrote: > The bandgap sensor can be idled when the processor is too, but it > isn't currently being done, so the power consumption of OMAP3 > boards can elevated if the bangap sensor is enabled. > > This patch attempts to use some additional power management > to

Re: [PATCH v4 0/2] Control over userfaultfd kernel-fault handling

2020-10-08 Thread Nick Kralevich
On Wed, Oct 7, 2020 at 9:01 PM Andrea Arcangeli wrote: > > Hello Lokesh, > > On Wed, Oct 07, 2020 at 01:26:55PM -0700, Lokesh Gidra wrote: > > On Wed, Sep 23, 2020 at 11:56 PM Lokesh Gidra > > wrote: > > > > > > This patch series is split from [1]. The other series enables SELinux > > > support

Re: [PATCH v3 11/18] dmaengine: idxd: ims setup for the vdcm

2020-10-08 Thread Thomas Gleixner
Dave, On Thu, Oct 08 2020 at 09:51, Dave Jiang wrote: > On 10/8/2020 12:39 AM, Thomas Gleixner wrote: >> On Wed, Oct 07 2020 at 14:54, Dave Jiang wrote: >>> On 9/30/2020 12:57 PM, Thomas Gleixner wrote: Aside of that this is fiddling in the IMS storage array behind the irq chips back

Request!! .

2020-10-08 Thread Angela Campbell
I am sorry for interrupting your day, with due respect trust and humility, I write to you this proposal, which I believe would be of great interest to you. I am looking for a reliable and capable partner that will assist my family and I to transfer funds to his personal or company account for

Re: Odd-sized kmem_cache_alloc and slub_debug=Z

2020-10-08 Thread Kees Cook
On Mon, Aug 17, 2020 at 08:31:35PM +0200, Marco Elver wrote: > On Fri, 7 Aug 2020 at 21:06, Pekka Enberg wrote: > ... > > Yeah, it reproduces with defconfig too, as long as you remember to > > pass "slub_debug=Z"... :-/ > > > > The following seems to be the culprit: > > > > commit

Re: [PATCH] power: supply: max17040: Fix ptr to enum cast

2020-10-08 Thread Sebastian Reichel
Hi, On Mon, Oct 05, 2020 at 11:00:38PM +0300, Iskren Chernev wrote: > clang complains about casting pointers to smaller enum types. > > Reported-by: kernel test robot > Signed-off-by: Iskren Chernev > --- Thanks, queued. > P.S. I fixed a similar issue in v5, but it was in another patch, and

Re: [PATCH] test_power: add missing newlines when printing parameters by sysfs

2020-10-08 Thread Sebastian Reichel
Hi, On Mon, Oct 05, 2020 at 04:44:17AM +, Harley A.W. Lorenzo wrote: > On Monday, October 5, 2020 12:19 AM, Joe Perches wrote: > > I did not suggest this. > > My apologies. Revised patch (still diffing from Xiongfeng Wang) here. > > [PATCH v2] test_power: revise parameter printing to use

Re: [PATCH v2 5/6] fpga: m10bmc-sec: add max10 secure update functions

2020-10-08 Thread Russ Weight
On 10/6/20 12:08 PM, Tom Rix wrote: > On 10/2/20 6:24 PM, Russ Weight wrote: >> Extend the MAX10 BMC Security Engine driver to include >> the functions that enable secure updates of BMC images, >> FPGA images, etc. >> >> Signed-off-by: Russ Weight >> --- >> v2: >> - Reworked the

Re: [PATCH v2 1/6] mfd: intel-m10-bmc: support for MAX10 BMC Security Engine

2020-10-08 Thread Russ Weight
I just realized that I missed a few questions on my first reply. Please see my responses below. On 10/7/20 5:52 PM, Russ Weight wrote: > > On 10/6/20 9:34 AM, Tom Rix wrote: >> On 10/2/20 6:24 PM, Russ Weight wrote: >>> Add macros and definitions required by the MAX10 BMC >>> Security Engine

Re: [PATCH v3 1/5] dt-bindings: mfd: Add ENE KB930 Embedded Controller binding

2020-10-08 Thread Sebastian Reichel
Hi, On Sun, Sep 06, 2020 at 10:50:59PM +0300, Dmitry Osipenko wrote: > Add binding document for the ENE KB930 Embedded Controller. > > Signed-off-by: Dmitry Osipenko > --- > .../devicetree/bindings/mfd/ene-kb930.yaml| 66 +++ > 1 file changed, 66 insertions(+) > create

Re: [PATCH v3 3/5] power: supply: Add battery gauge driver for Acer Iconia Tab A500

2020-10-08 Thread Sebastian Reichel
Hi, On Sun, Sep 06, 2020 at 10:51:01PM +0300, Dmitry Osipenko wrote: > This patch adds battery gauge driver for Acer Iconia Tab A500 device. > The battery gauge function is provided via the Embedded Controller, > which is found on the Acer A500. > > Signed-off-by: Dmitry Osipenko > ---

[PATCH 3/3] soc: qcom: geni: Optimize select fifo/dma mode

2020-10-08 Thread Douglas Anderson
The functions geni_se_select_fifo_mode() and geni_se_select_fifo_mode() are a little funny. They read/write a bunch of memory mapped registers even if they don't change or aren't relevant for the current protocol. Let's make them a little more sane. NOTE: there is no evidence at all that this

[PATCH 2/3] Revert "i2c: i2c-qcom-geni: Fix DMA transfer race"

2020-10-08 Thread Douglas Anderson
This reverts commit 02b9aec59243c6240fc42884acc958602146ddf6. As talked about in the patch ("soc: qcom: geni: More properly switch to DMA mode"), swapping the order of geni_se_setup_m_cmd() and geni_se_xx_dma_prep() can sometimes cause corrupted transfers. Thus we traded one problem for another.

[PATCH 0/3] i2c: i2c-qcom-geni: More properly fix the DMA race

2020-10-08 Thread Douglas Anderson
Previously I landed commit 02b9aec59243 ("i2c: i2c-qcom-geni: Fix DMA transfer race") to fix a race we were seeing. While that most definitely fixed the race we were seeing, it looks like it causes problems in the TX path, which we didn't stress test until we started trying to update firmware on

[PATCH 1/3] soc: qcom: geni: More properly switch to DMA mode

2020-10-08 Thread Douglas Anderson
On geni-i2c transfers using DMA, it was seen that if you program the command (I2C_READ) before calling geni_se_rx_dma_prep() that it could cause interrupts to fire. If we get unlucky, these interrupts can just keep firing (and not be handled) blocking further progress and hanging the system. In

Re: [PATCH v2] MIPS: replace add_memory_region with memblock

2020-10-08 Thread Serge Semin
On Thu, Oct 08, 2020 at 05:56:17PM +0100, Maciej W. Rozycki wrote: > On Thu, 8 Oct 2020, Serge Semin wrote: > > > > > At least I don't see a decent reason to preserve them. The memory > > > > registration > > > > method does nearly the same sanity checks. The memory reservation > > > > function

[PATCH][next] media: pxa_camera: Use fallthrough pseudo-keyword

2020-10-08 Thread Gustavo A. R. Silva
In order to enable -Wimplicit-fallthrough for Clang[1], replace the existing /* fall through */ comments with the new pseudo-keyword macro fallthrough[2]. [1] https://git.kernel.org/linus/e2079e93f562c7f7a030eb7642017ee5eabaaa10 [2]

Re: [RFC PATCH 1/4] x86/signal: Introduce helpers to get the maximum signal frame size

2020-10-08 Thread Bae, Chang Seok
On Wed, 2020-10-07 at 11:05 +0100, Dave Martin wrote: > On Tue, Oct 06, 2020 at 05:45:24PM +, Bae, Chang Seok wrote: > > On Mon, 2020-10-05 at 14:42 +0100, Dave Martin wrote: > > > On Tue, Sep 29, 2020 at 01:57:43PM -0700, Chang S. Bae wrote: > > > > > > > > +/* > > > > + * The FP state frame

[PATCH 2/2] dt-bindings: extcon: add binding for TUSB320

2020-10-08 Thread Michael Auchter
Add a device tree binding for the TI TUSB320. Signed-off-by: Michael Auchter --- .../bindings/extcon/extcon-usbc-tusb320.yaml | 41 +++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/extcon/extcon-usbc-tusb320.yaml diff --git

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-08 Thread Josh Triplett
On Thu, Oct 08, 2020 at 10:54:48AM -0700, Darrick J. Wong wrote: > IMO, the prominent free software filesystem projects offer (at least) > four layers of social structures to keep everyone on the same page, > including people writing competing implementations. (I certainly hope that this isn't a

[PATCH 1/2] extcon: add driver for TI TUSB320

2020-10-08 Thread Michael Auchter
This patch adds an extcon driver for the TI TUSB320 USB Type-C device. This can be used to detect whether the port is configured as a downstream or upstream facing port. Signed-off-by: Michael Auchter --- drivers/extcon/Kconfig | 7 ++ drivers/extcon/Makefile | 1

Re: [PATCH][next] charger-manager: fix incorrect check on charging_duration_ms

2020-10-08 Thread Sebastian Reichel
Hi Colin, On Wed, Sep 02, 2020 at 02:31:17PM +0100, Colin King wrote: > From: Colin Ian King > > Currently the duration check on the discharging duration setting is > checking the charging duration rather than the discharging duration > due to a cut-n-paste coding error. Fix this by checking

Re: [PATCH] power: supply: charger-manager: Tidy function

2020-10-08 Thread Sebastian Reichel
Hi, On Wed, Sep 02, 2020 at 05:58:16PM +0100, Alex Dewar wrote: > check_charging_duration() contains some copy-pasted code, which makes it > less readable. Refactor the function to be a bit tidier. > > I've also fixed a couple of typos. > > Signed-off-by: Alex Dewar > --- >

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-08 Thread Josh Triplett
On Thu, Oct 08, 2020 at 01:25:57PM -0600, Andreas Dilger wrote: > On Oct 8, 2020, at 1:12 PM, Josh Triplett wrote: > > On Wed, Oct 07, 2020 at 08:57:12PM -0600, Andreas Dilger wrote: > >> I *do* think that inline_data is an under-appreciated feature that I > >> would be happy to see some

Re: inconsistent lock state in xa_destroy

2020-10-08 Thread Matthew Wilcox
If I understand the lockdep report here, this actually isn't an XArray issue, although I do think there is one. On Thu, Oct 08, 2020 at 02:14:20PM -0700, syzbot wrote: > > WARNING: inconsistent lock state > 5.9.0-rc8-next-20201008-syzkaller #0 No

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

2020-10-08 Thread kernel test robot
Hi Gokul, Thank you for the patch! Yet something to improve: [auto build test ERROR on robh/for-next] [also build test ERROR on v5.9-rc8] [cannot apply to next-20201008] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base

[PATCH][next] usb: musb: gadget: Use fallthrough pseudo-keyword

2020-10-08 Thread Gustavo A. R. Silva
In order to enable -Wimplicit-fallthrough for Clang[1], replace the existing /* FALLTHROUGH */ comment with the new pseudo-keyword macro fallthrough[2]. [1] https://git.kernel.org/linus/e2079e93f562c7f7a030eb7642017ee5eabaaa10 [2]

Re: ext4 regression in v5.9-rc2 from e7bfb5c9bb3d on ro fs with overlapped bitmaps

2020-10-08 Thread Josh Triplett
On Wed, Oct 07, 2020 at 10:10:17PM -0400, Theodore Y. Ts'o wrote: > On Wed, Oct 07, 2020 at 01:14:24PM -0700, Josh Triplett wrote: > > That sounds like a conversation that would have been a lot more > > interesting and enjoyable if it hadn't started with "can we shoot it in > > the head", and

[tip:master] BUILD SUCCESS c5cfa92bf59bd3c77180dc619bdeda44ef052c5e

2020-10-08 Thread kernel test robot
defconfig mips allyesconfig mips allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a004-20201008 x86_64

[tip:ras/core] BUILD SUCCESS b3149ffcdb31a8eb854cc442a389ae0b539bf28a

2020-10-08 Thread kernel test robot
x86_64 randconfig-a004-20201008 x86_64 randconfig-a003-20201008 x86_64 randconfig-a005-20201008 x86_64 randconfig-a001-20201008 x86_64 randconfig-a002-20201008 x86_64 randconfig-a006-20201008 i386

[PATCH][next] Input: libps2 - Use fallthrough pseudo-keyword

2020-10-08 Thread Gustavo A. R. Silva
In order to enable -Wimplicit-fallthrough for Clang[1], replace the existing /* Fall through */ comment with the new pseudo-keyword macro fallthrough[2]. [1] https://git.kernel.org/linus/e2079e93f562c7f7a030eb7642017ee5eabaaa10 [2]

Re: [PATCH v2 1/1] i2c: busses: Add support for atomic transfers in Actions Semi Owl driver

2020-10-08 Thread Cristian Ciocaltea
Hi Mani, Wolfram, On Wed, Sep 30, 2020 at 12:00:10AM +0300, Cristian Ciocaltea wrote: > Hi Wolfram, > > On Tue, Sep 29, 2020 at 09:45:23PM +0200, Wolfram Sang wrote: > > > > > Sure, I can handle this. I assume this should be a separate patch, to > > > be applied before the current patch. Should

[PATCH][next] drm/i915/display: Use fallthrough pseudo-keyword

2020-10-08 Thread Gustavo A. R. Silva
In order to enable -Wimplicit-fallthrough for Clang[1], replace the existing /* fall through */ comments with the new pseudo-keyword macro fallthrough[2]. [1] https://git.kernel.org/linus/e2079e93f562c7f7a030eb7642017ee5eabaaa10 [2]

[PATCH] f2fs: fix memory alignment to support 32bit

2020-10-08 Thread Jaegeuk Kim
In 32bit system, 64-bits key breaks memory alignment. This fixes the commit "f2fs: support 64-bits key in f2fs rb-tree node entry". Reported-by: Nicolas Chauvet Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- fs/f2fs/f2fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v2 0/3] power: Add reset support for Microchip Sparx5 SoC

2020-10-08 Thread Sebastian Reichel
Hi, On Tue, Oct 06, 2020 at 10:03:13PM +0200, Lars Povlsen wrote: > This adds reset support for the Sparx5 SoC, using the ocelot reset > driver. > > Changes in v2: > - Dropped the parts for resetting the switch core upon load time - > controlled by the 'microchip,reset-switch-core' DT

[PATCH][next] wlcore: Use fallthrough pseudo-keyword

2020-10-08 Thread Gustavo A. R. Silva
In order to enable -Wimplicit-fallthrough for Clang[1], replace the existing /* fall-through */ comments with the new pseudo-keyword macro fallthrough[2]. [1] https://git.kernel.org/linus/e2079e93f562c7f7a030eb7642017ee5eabaaa10 [2]

Re: [PATCH v11 0/7] Qualcomm's lpass-hdmi ASoC driver to support audio over dp port

2020-10-08 Thread Mark Brown
On Thu, 8 Oct 2020 10:46:56 +0530, Srinivasa Rao Mandadapu wrote: > These patches are to support audio over DP port on Qualcomm's SC7180 LPASS > Asoc. It includes machine driver, cpu driver, platform driver updates for > HDMI path support, device tree documention, lpass variant structure >

Re: [PATCH v4 00/21] spi: dw: Add full Baikal-T1 SPI Controllers support

2020-10-08 Thread Mark Brown
On Thu, 8 Oct 2020 02:54:49 +0300, Serge Semin wrote: > Originally I intended to merge a dedicated Baikal-T1 System Boot SPI > Controller driver into the kernel and leave the DW APB SSI driver > untouched. But after a long discussion (see the link at the bottom of the > letter) Mark and Andy

Re: [PATCH][next] ASoC: mchp-spdifrx: fix spelling mistake "overrrun" -> "overrun"

2020-10-08 Thread Mark Brown
On Tue, 6 Oct 2020 16:20:24 +0100, Colin King wrote: > There is a spelling mistake in a dev_warn message. Fix it. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/1] ASoC: mchp-spdifrx: fix spelling mistake "overrrun" -> "overrun"

Re: [PATCH 0/2] ASoC: stm32: dfsdm: change rate limits

2020-10-08 Thread Mark Brown
On Wed, 7 Oct 2020 17:34:57 +0200, Olivier Moysan wrote: > Widening of the supported rate range in the STM32 DFSDM driver. > The rates were previously limited to 8kHz, 16kHz and 32kHz. > Allow rate capture in the whole range 8kHz-48kHz as there is no hardware > limitation to support it. > Actual

Re: [PATCH v3 1/2] dt-bindings: tas2764: Add the TAS2764 binding doc

2020-10-08 Thread Mark Brown
On Wed, 7 Oct 2020 10:53:40 -0500, Dan Murphy wrote: > Add the binding for the TAS2764 Smart Amplifier. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] dt-bindings: tas2764: Add the TAS2764 binding doc commit:

Re: [PATCH v2 1/2] dt-bindings: tas2764: Add the TAS2764 binding doc

2020-10-08 Thread Mark Brown
On Tue, 6 Oct 2020 12:23:40 -0500, Dan Murphy wrote: > Add the binding for the TAS2764 Smart Amplifier. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] dt-bindings: tas2764: Add the TAS2764 binding doc commit:

[PATCH][next] ray_cs: Use fallthrough pseudo-keyword

2020-10-08 Thread Gustavo A. R. Silva
In order to enable -Wimplicit-fallthrough for Clang[1], replace the existing /* fall through */ comments with the new pseudo-keyword macro fallthrough[2]. [1] https://git.kernel.org/linus/e2079e93f562c7f7a030eb7642017ee5eabaaa10 [2]

Re: [RFC PATCH v2] Add functionality to ipu3-cio2 driver allowing software_node connections to sensors on platforms designed for Windows

2020-10-08 Thread Dan Scally
Hi Andy - sorry for delayed reply, busy week On 01/10/2020 18:37, Andy Shevchenko wrote: > On Thu, Oct 01, 2020 at 10:33:26AM +0100, Daniel Scally wrote: > > Awesome work! > My, almost minor, comments below. Thanks as always for your help - great comments. I'll work through and make the changes

Re: [PATCH v5 2/2] leds: mt6360: Add LED driver for MT6360

2020-10-08 Thread Jacek Anaszewski
Hi Gene, On 10/7/20 3:42 AM, Gene Chen wrote: From: Gene Chen Add MT6360 LED driver include 2-channel Flash LED with torch/strobe mode, 3-channel RGB LED support Register/Flash/Breath Mode, and 1-channel for moonlight LED. Signed-off-by: Gene Chen --- drivers/leds/Kconfig | 12 +

Re: [PATCH 1/4] mm: introduce vma_set_file function v2

2020-10-08 Thread John Hubbard
On 10/8/20 4:23 AM, Christian König wrote: Add the new vma_set_file() function to allow changing vma->vm_file with the necessary refcount dance. v2: add more users of this. Signed-off-by: Christian König --- drivers/dma-buf/dma-buf.c | 16 +---

Re: [PATCH v10 3/3] clk: mediatek: add UART0 clock support

2020-10-08 Thread Stephen Boyd
Quoting Hanks Chen (2020-07-30 06:30:16) > Add MT6779 UART0 clock support. > > Fixes: 710774e04861 ("clk: mediatek: Add MT6779 clock support") > Signed-off-by: Wendell Lin > Signed-off-by: Hanks Chen > Reviewed-by: Matthias Brugger > --- Applied to clk-next

[PATCH 1/3] i2c: owl: Clear NACK and BUS error bits

2020-10-08 Thread Cristian Ciocaltea
When the NACK and BUS error bits are set by the hardware, the driver is responsible for clearing them by writing "1" into the corresponding status registers. Hence perform the necessary operations in owl_i2c_interrupt(). Fixes: d211e62af466 ("i2c: Add Actions Semiconductor Owl family S900 I2C

[PATCH 3/3] i2c: owl: Enable asynchronous probing

2020-10-08 Thread Cristian Ciocaltea
Speed up the boot process by using the asynchronous probing feature supported by the recent kernels. For SBCs based on the Actions Semi S500 SoC, the overall boot time is expected to be reduced by 200-300 ms. Suggested-by: Manivannan Sadhasivam Signed-off-by: Cristian Ciocaltea ---

Re: [PATCH v10 3/3] clk: mediatek: add UART0 clock support

2020-10-08 Thread Stephen Boyd
Quoting Hanks Chen (2020-10-07 19:39:13) > On Wed, 2020-10-07 at 19:00 -0700, Stephen Boyd wrote: > > Quoting Hanks Chen (2020-10-03 03:06:47) > > > Hi Michael & Stephen, > > > > > > Please kindly let me know your comments about this patch. > > > Thanks > > > > > > > What's the base for this

[PATCH 2/3] i2c: owl: Add support for atomic transfers

2020-10-08 Thread Cristian Ciocaltea
Atomic transfers are required to properly power off a machine through an I2C controlled PMIC, such as the Actions Semi ATC260x series. System shutdown may happen with interrupts being disabled and, as a consequence, the kernel may hang if the driver does not support atomic transfers. This

[PATCH 0/3] Improve Actions Semi Owl I2C driver

2020-10-08 Thread Cristian Ciocaltea
This patchset brings a few improvements to the Actions Semiconductor Owl I2C driver driver: - Fixes an issue reported by Mani related to the error handling - Adds support for atomic transfers - Enables asynchronous probing, per Mani's suggestion Please note the first two patches incorporate the

Re: [PATCH v5 1/2] dt-bindings: leds: Add bindings for MT6360 LED

2020-10-08 Thread Jacek Anaszewski
Hi Gene, Thanks for the update. On 10/7/20 3:42 AM, Gene Chen wrote: From: Gene Chen Add bindings document for LED support on MT6360 PMIC Signed-off-by: Gene Chen --- .../devicetree/bindings/leds/leds-mt6360.yaml | 95 ++ 1 file changed, 95 insertions(+)

Re: [PATCH v4 0/4] isolation: limit msix vectors to housekeeping CPUs

2020-10-08 Thread Nitesh Narayan Lal
On 10/1/20 11:49 AM, Frederic Weisbecker wrote: > On Mon, Sep 28, 2020 at 02:35:25PM -0400, Nitesh Narayan Lal wrote: >> Nitesh Narayan Lal (4): >> sched/isolation: API to get number of housekeeping CPUs >> sched/isolation: Extend nohz_full to isolate managed IRQs >> i40e: Limit msix

Re: [PATCH 5/5] x86/kvm: Add KVM_FEATURE_MSI_EXT_DEST_ID

2020-10-08 Thread David Woodhouse
On Thu, 2020-10-08 at 23:14 +0200, Thomas Gleixner wrote: > On Thu, Oct 08 2020 at 17:08, David Woodhouse wrote: > > On Thu, 2020-10-08 at 13:55 +0100, David Woodhouse wrote: > > > > (We'd want the x86_vector_domain to actually have an MSI compose > > function in the !CONFIG_PCI_MSI case if we

Re: [GIT PULL] Networking

2020-10-08 Thread pr-tracker-bot
The pull request you sent on Thu, 8 Oct 2020 13:23:29 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6288c1d8024eebb7a1ccdbab80f6e857ac94eeb0 Thank you! -- Deet-doot-dot, I am a

<    1   2   3   4   5   6   7   8   9   10   >