Re: [GIT PULL] Networking

2020-10-15 Thread patchwork-bot+netdevbpf
Hello: This pull request was applied to netdev/net.git (refs/heads/master): On Thu, 15 Oct 2020 14:13:02 -0700 you wrote: > Hi! > > The following changes since commit 3fdd47c3b40ac48e6e6e5904cf24d12e6e073a96: > > Merge tag 'for_linus' of > git://git.kernel.org/pub/scm/linux/kernel/git/mst/vh

Re: [PATCH 5/6] can: flexcan: add CAN wakeup function for i.MX8QM

2020-10-15 Thread Marc Kleine-Budde
On 10/16/20 3:43 PM, Joakim Zhang wrote: > The System Controller Firmware (SCFW) is a low-level system function > which runs on a dedicated Cortex-M core to provide power, clock, and > resource management. It exists on some i.MX8 processors. e.g. i.MX8QM > (QM, QP), and i.MX8QX (QXP, DX). SCU drive

Re: [PATCH V2 1/2] opp: Allow dev_pm_opp_get_opp_table() to return -EPROBE_DEFER

2020-10-15 Thread Sudeep Holla
On Fri, Oct 16, 2020 at 09:54:34AM +0530, Viresh Kumar wrote: > On 15-10-20, 19:05, Sudeep Holla wrote: > > OK, this breaks with SCMI which doesn't provide clocks but manage OPPs > > directly. Before this change clk_get(dev..) was allowed to fail and > > --EPROBE_DEFER was not an error. > > I thin

Re: linux-next: manual merge of the wireless-drivers tree with the net tree

2020-10-15 Thread Kalle Valo
Stephen Rothwell writes: > Hi all, > > Today's linux-next merge of the wireless-drivers tree got a conflict in: > > tools/testing/selftests/net/Makefile > > between commit: > > 1a01727676a8 ("selftests: Add VRF route leaking tests") > > from the net tree and commit: > > b7cc6d3c5c91 ("selft

[PATCH] scsi: ufs: fix no clkgating due to tag being alive

2020-10-15 Thread Jaegeuk Kim
The below call stack prevents clk_gating at every IO completion. We can remove the condition, ufshcd_any_tag_in_use(), since clkgating_work will check it again. ufshcd_complete_requests(struct ufs_hba *hba) ufshcd_transfer_req_compl() __ufshcd_transfer_req_compl() __ufshcd_release(hba)

Re: [PATCH 6/6] can: flexcan: fix ECC function on LS1021A/LX2160A

2020-10-15 Thread Marc Kleine-Budde
On 10/16/20 3:43 PM, Joakim Zhang wrote: > After double check with Layerscape CAN owner (Pankaj Bansal), confirm > that LS1021A doesn't support ECC, and LX2160A indeed supports ECC. > > For SoCs with ECC supported, even use FLEXCAN_QUIRK_DISABLE_MECR quirk to > disable non-correctable errors inter

[PATCH 2/2] i2c: designware: slave should do WRITE_REQUESTED before WRITE_RECEIVED

2020-10-15 Thread Michael Wu
Sometime we would get the following flows when doing an i2cset: 1. No any WRITE_REQUESTED 0x1 STATUS SLAVE_ACTIVITY=0x1 : RAW_INTR_STAT=0x514 : INTR_STAT=0x4 WRITE_RECEIVED 0x1 STATUS SLAVE_ACTIVITY=0x1 : RAW_INTR_STAT=0x514 : INTR_STAT=0x4 WRITE_RECEIVED 0x1 STATUS SLAVE_ACTIVITY=0x0 : RAW_INTR_S

[PATCH 1/2] i2c: designware: call i2c_dw_read_clear_intrbits_slave() once

2020-10-15 Thread Michael Wu
i2c_dw_read_clear_intrbits_slave() was called per each interrupt handle. It caused some interrupt bits which haven't been handled yet were cleared, the corresponding handlers would do nothing due to interrupt bits been discarded. For example, $ i2cset -f -y 2 0x42 0x00 0x41; dmesg -c [0][clear_int

[PATCH 1/2] fpga: dfl: add driver_override support

2020-10-15 Thread Xu Yilun
Add support for overriding the default matching of a dfl device to a dfl driver. It follows the same way that can be used for PCI and platform devices. This patch adds the 'driver_override' sysfs file. Signed-off-by: Xu Yilun --- Documentation/ABI/testing/sysfs-bus-dfl | 28 ++--- dr

[PATCH 2/2] fpga: dfl: add the userspace I/O device support for DFL devices

2020-10-15 Thread Xu Yilun
This patch supports the DFL drivers be written in userspace. This is realized by exposing the userspace I/O device interfaces. The driver leverages the uio_pdrv_genirq, it adds the uio_pdrv_genirq platform device with the DFL device's resources, and let the generic UIO platform device driver provid

[PATCH 0/2] UIO support for dfl devices

2020-10-15 Thread Xu Yilun
This patchset supports some dfl device drivers written in userspace. The usage is like: # echo dfl_dev.1 > /sys/bus/dfl/drivers//unbind # echo dfl-uio-pdev > /sys/bus/dfl/devices/dfl_dev.1/driver_override # echo dfl_dev.1 > /sys/bus/dfl/drivers_probe Xu Yilun (2): fpga: dfl: add driver_ove

Re: [PATCH] tpm_tis: Disable interrupts on ThinkPad T490s

2020-10-15 Thread Hans de Goede
Hi, On 10/15/20 11:44 PM, Jerry Snitselaar wrote: There is a misconfiguration in the bios of the gpio pin used for the interrupt in the T490s. When interrupts are enabled in the tpm_tis driver code this results in an interrupt storm. This was initially reported when we attempted to enable the in

Re: [PATCH v1 11/29] virtio-mem: use "unsigned long" for nr_pages when fake onlining/offlining

2020-10-15 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:53:05PM +0200, David Hildenbrand wrote: >No harm done, but let's be consistent. > >Cc: "Michael S. Tsirkin" >Cc: Jason Wang >Cc: Pankaj Gupta >Signed-off-by: David Hildenbrand Reviewed-by: Wei Yang >--- > drivers/virtio/virtio_mem.c | 8 > 1 file changed, 4

RE: [PATCH] usb: gadget: fsl: fix null pointer checking

2020-10-15 Thread Peter Chen
> > Fixes: 75eaa498c99e (“usb: gadget: Correct NULL pointer checking in fsl > gadget”) > Signed-off-by: Ran Wang > --- > drivers/usb/gadget/udc/fsl_udc_core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/usb/gadget/udc/fsl_udc_core.c > b/drivers/usb/gadget/

Re: [PATCH] tpm_tis: Disable interrupts on ThinkPad T490s

2020-10-15 Thread Hans de Goede
Hi, On 10/16/20 12:39 AM, Matthew Garrett wrote: On Thu, Oct 15, 2020 at 2:44 PM Jerry Snitselaar wrote: There is a misconfiguration in the bios of the gpio pin used for the interrupt in the T490s. When interrupts are enabled in the tpm_tis driver code this results in an interrupt storm. This

Re: [PATCH] Staging: android: ashmem: changed struct file_operations to const file_operations

2020-10-15 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Fri, Oct 16, 2020 at 01:38

Recall: [PATCH 1/2] i2c: designware: call i2c_dw_read_clear_intrbits_slave() once

2020-10-15 Thread Michael.Wu
Michael.Wu(吳忠益) would like to recall the message, "[PATCH 1/2] i2c: designware: call i2c_dw_read_clear_intrbits_slave() once".

Re: [PATCH] bpfilter: Fix build error with CONFIG_BPFILTER_UMH

2020-10-15 Thread Yuehaibing
On 2020/10/16 3:57, Alexei Starovoitov wrote: > On Thu, Oct 15, 2020 at 12:26 PM Jakub Kicinski wrote: >> >> On Thu, 15 Oct 2020 12:03:14 -0700 Alexei Starovoitov wrote: >>> On Thu, Oct 15, 2020 at 11:56 AM Jakub Kicinski wrote: How so? It's using in-tree headers instead of system ones. >

Re: [PATCH 5/6] can: flexcan: add CAN wakeup function for i.MX8QM

2020-10-15 Thread Marc Kleine-Budde
On 10/16/20 3:43 PM, Joakim Zhang wrote: > The System Controller Firmware (SCFW) is a low-level system function > which runs on a dedicated Cortex-M core to provide power, clock, and > resource management. It exists on some i.MX8 processors. e.g. i.MX8QM > (QM, QP), and i.MX8QX (QXP, DX). SCU drive

Recall: [PATCH 2/2] i2c: designware: slave should do WRITE_REQUESTED before WRITE_RECEIVED

2020-10-15 Thread Michael.Wu
Michael.Wu(吳忠益) would like to recall the message, "[PATCH 2/2] i2c: designware: slave should do WRITE_REQUESTED before WRITE_RECEIVED".

Re: [RFC] PCI: allow sysfs file owner to read the config space with CAP_SYS_RAWIO

2020-10-15 Thread Greg KH
On Fri, Oct 16, 2020 at 11:22:35AM +0530, Allen Pais wrote: > From: Allen Pais > > Access to pci config space is explictly checked with CAP_SYS_ADMIN > in order to read configuration space past the frist 64B. > > Since the path is only for reading, could we use CAP_SYS_RAWIO? Why? What needs

Re: [PATCH 3/6] dt-bindings: can: flexcan: add fsl, can-index property to indicate a resource

2020-10-15 Thread Marc Kleine-Budde
On 10/16/20 3:43 PM, Joakim Zhang wrote: > For SoCs with SCU support, need setup stop mode via SCU firmware, > so this property can help indicate a resource. > > Signed-off-by: Joakim Zhang > --- > Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | 5 + > 1 file changed, 5 insertion

swapon/913 is trying to acquire lock at zcomp_stream_get+0x5/0x90 [zram] but task is already holding lock at zs_map_object+0x7a/0x2e0

2020-10-15 Thread Mikhail Gavrilov
Hi folks, today I joined to testing Kernel 5.10 and see that every boot happens this warning: [9.032096] == [9.032097] WARNING: possible circular locking dependency detected [9.032098] 5.10.0-0.rc0.20201014gitb5fc7a89e58b.41.fc34.x86_

Re: [PATCH 2/6] dt-bindings: can: flexcan: fix fsl,clk-source property

2020-10-15 Thread Marc Kleine-Budde
On 10/16/20 3:43 PM, Joakim Zhang wrote: > Correct fsl,clk-source example since flexcan driver uses "of_property_read_u8" > to get this property. Hopefully today Oleksij will post the next round of the yaml bindings conversion patch. Please resping when Oleksij's patch is applied. Marc -- Pengu

Re: [PATCH] Staging: android: ashmem: changed struct file_operations to const file_operations

2020-10-15 Thread kernel test robot
Hi, 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/kiransuren-osuosl-org/Staging-android-ashmem-changed-struct-file_operations-to-const-file_operations/20201016-131238 base: https://git.ker

Re: [PATCH 4/6] can: flexcan: rename macro FLEXCAN_QUIRK_SETUP_STOP_MODE -> FLEXCAN_QUIRK_SETUP_STOP_MODE_GPR

2020-10-15 Thread Marc Kleine-Budde
On 10/16/20 3:43 PM, Joakim Zhang wrote: > This patch intends to rename FLEXCAN_QUIRK_SETUP_STOP_MODE quirk > to FLEXCAN_QUIRK_SETUP_STOP_MODE_GRP for non-scu SoCs, coming patch will > add quirk for scu SoCs. > > For non-scu SoCs, setup stop mode with GPR register. > For scu SoCs, setup stop mode

Re: [PATCH v1 12/29] virtio-mem: factor out fake-offlining into virtio_mem_fake_offline()

2020-10-15 Thread Wei Yang
On Mon, Oct 12, 2020 at 02:53:06PM +0200, David Hildenbrand wrote: >... which now matches virtio_mem_fake_online(). We'll reuse this >functionality soon. > >Cc: "Michael S. Tsirkin" >Cc: Jason Wang >Cc: Pankaj Gupta >Signed-off-by: David Hildenbrand Reviewed-by: Wei Yang >--- > drivers/virti

Hello....

2020-10-15 Thread Dawuda Usman
Dear Friend, I am Mr. Dawuda Usman working with the department of Audit and accounting manager here in the Bank, There is this fund that was kept in my custody years ago,please I need your assistance for the transferring of this fund to your bank account for both of us benefit for life time i

Re: [PATCH v2 16/16] iomap: Make readpage synchronous

2020-10-15 Thread Christoph Hellwig
On Thu, Oct 15, 2020 at 08:03:12PM +0100, Matthew Wilcox wrote: > I honestly don't see the problem. We have to assign the status > conditionally anyway so we don't overwrite an error with a subsequent > success. Yes, but having a potential NULL pointer to a common structure is just waiting for tr

Re: [PATCH] [PATCH] [v3] wireless: Initial driver submission for pureLiFi STA devices

2020-10-15 Thread Srinivasan Raju
Thanks for your comments Joe, I have resubmitted with the comments addressed Regards, Srini

[PATCH] [v4] wireless: Initial driver submission for pureLiFi STA devices

2020-10-15 Thread Srinivasan Raju
This introduces the pureLiFi LiFi driver for LiFi-X, LiFi-XC and LiFi-XL USB devices. This driver implementation has been based on the zd1211rw driver. Driver is based on 802.11 softMAC Architecture and uses native 802.11 for configuration and management. The driver is compiled and tested in ARM

Re: [PATCH V2 2/2] cpufreq: dt: Refactor initialization to handle probe deferral properly

2020-10-15 Thread Geert Uytterhoeven
Hi Viresh, On Fri, Oct 16, 2020 at 7:03 AM Viresh Kumar wrote: > On 14-10-20, 18:40, Geert Uytterhoeven wrote: > > On this platform (r8a7791-koelsch.dts), there is no opp table in DT. I think you missed the clue above: this DTS does not have an opp-table with operating-points-v2, but cpu0 does h

[PATCH] HID: uclogic: Add ID for Trust Flex Design Tablet

2020-10-15 Thread Martijn van de Streek
The Trust Flex Design Tablet has an UGTizer USB ID and requires the same initialization as the UGTizer GP0610 to be detected as a graphics tablet instead of a mouse. Signed-off-by: Martijn van de Streek --- drivers/hid/hid-ids.h| 1 + drivers/hid/hid-uclogic-core.c | 2 ++ drivers/

Re: [PATCH 6/7] dt-bindings: dmaengine: at_xdmac: add optional microchip,m2m property

2020-10-15 Thread Eugen.Hristev
On 23.09.2020 02:33, Rob Herring wrote: > On Mon, Sep 14, 2020 at 05:09:55PM +0300, Eugen Hristev wrote: >> Add optional microchip,m2m property that specifies if a controller is >> dedicated to memory to memory operations only. >> >> Signed-off-by: Eugen Hristev >> --- >> Documentation/devicetr

RE: [PATCH 5/6] can: flexcan: add CAN wakeup function for i.MX8QM

2020-10-15 Thread Joakim Zhang
Hi Marc, > -Original Message- > From: Marc Kleine-Budde > Sent: 2020年10月16日 14:00 > To: Joakim Zhang ; robh...@kernel.org; > shawn...@kernel.org; s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; dl-linux-imx ; Ying Liu > ; Peng Fan ; > linux-...@vger.kernel.org; Pankaj Bansal ; > net..

RE: [PATCH 6/6] can: flexcan: fix ECC function on LS1021A/LX2160A

2020-10-15 Thread Joakim Zhang
Hi Marc, > -Original Message- > From: Marc Kleine-Budde > Sent: 2020年10月16日 14:05 > To: Joakim Zhang ; robh...@kernel.org; > shawn...@kernel.org; s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; dl-linux-imx ; Ying Liu > ; Peng Fan ; > linux-...@vger.kernel.org; Pankaj Bansal ; > net..

Re: [PATCH 4/5] Add manpage for fsopen(2) and fsmount(2)

2020-10-15 Thread Michael Kerrisk (man-pages)
Hi David, Another ping for these five patches please! Cheers, Michael On Fri, 11 Sep 2020 at 14:44, Michael Kerrisk (man-pages) wrote: > > Hi David, > > A ping for these five patches please! > > Cheers, > > Michael > > On Wed, 2 Sep 2020 at 22:14, Michael Kerrisk (man-pages) > wrote: > > > >

Re: [PATCH v3 7/8] arm64: mm: Set ZONE_DMA size based on early IORT scan

2020-10-15 Thread Hanjun Guo
On 2020/10/16 2:03, Catalin Marinas wrote: On Thu, Oct 15, 2020 at 10:26:18PM +0800, Hanjun Guo wrote: On 2020/10/15 3:12, Nicolas Saenz Julienne wrote: From: Ard Biesheuvel We recently introduced a 1 GB sized ZONE_DMA to cater for platforms incorporating masters that can address less than 32

RE: [PATCH 5/6] can: flexcan: add CAN wakeup function for i.MX8QM

2020-10-15 Thread Joakim Zhang
Hi Marc, > -Original Message- > From: Marc Kleine-Budde > Sent: 2020年10月16日 14:19 > To: Joakim Zhang ; robh...@kernel.org; > shawn...@kernel.org; s.ha...@pengutronix.de > Cc: ker...@pengutronix.de; dl-linux-imx ; Ying Liu > ; Peng Fan ; > linux-...@vger.kernel.org; Pankaj Bansal ; > net..

RE: [PATCH 2/6] dt-bindings: can: flexcan: fix fsl,clk-source property

2020-10-15 Thread Joakim Zhang
Hi Marc, > -Original Message- > From: Marc Kleine-Budde > Sent: 2020年10月16日 14:22 > To: Joakim Zhang ; robh...@kernel.org; > shawn...@kernel.org; s.ha...@pengutronix.de > Cc: devicet...@vger.kernel.org; Peng Fan ; Ying Liu > ; net...@vger.kernel.org; Pankaj Bansal > ; linux-kernel@vger.k

Re: [PATCH 5/7] dmaengine: at_xdmac: add support for sama7g5 based at_xdmac

2020-10-15 Thread Eugen.Hristev
On 23.09.2020 10:08, Tudor Ambarus - M18064 wrote: > On 9/14/20 5:09 PM, Eugen Hristev wrote: >> SAMA7G5 SoC uses a slightly different variant of the AT_XDMAC. >> Added support by a new compatible and a layout struct that copes >> to the specific version considering the compatible string. >> Only t

RE: [PATCH 3/6] dt-bindings: can: flexcan: add fsl, can-index property to indicate a resource

2020-10-15 Thread Joakim Zhang
Hi Marc, > -Original Message- > From: Marc Kleine-Budde > Sent: 2020年10月16日 14:20 > To: Joakim Zhang ; robh...@kernel.org; > shawn...@kernel.org; s.ha...@pengutronix.de > Cc: devicet...@vger.kernel.org; Peng Fan ; Ying Liu > ; net...@vger.kernel.org; Pankaj Bansal > ; linux-kernel@vger.k

Re: [PATCH v3 7/8] arm64: mm: Set ZONE_DMA size based on early IORT scan

2020-10-15 Thread Ard Biesheuvel
On Fri, 16 Oct 2020 at 08:51, Hanjun Guo wrote: > > On 2020/10/16 2:03, Catalin Marinas wrote: > > On Thu, Oct 15, 2020 at 10:26:18PM +0800, Hanjun Guo wrote: > >> On 2020/10/15 3:12, Nicolas Saenz Julienne wrote: > >>> From: Ard Biesheuvel > >>> > >>> We recently introduced a 1 GB sized ZONE_DMA

Re: [PATCH 1/8] powerpc/uaccess: Add unsafe_copy_from_user

2020-10-15 Thread Christoph Hellwig
On Thu, Oct 15, 2020 at 10:01:52AM -0500, Christopher M. Riedl wrote: > Implement raw_copy_from_user_allowed() which assumes that userspace read > access is open. Use this new function to implement raw_copy_from_user(). > Finally, wrap the new function to follow the usual "unsafe_" convention > of

Re: [PATCH 3/8] powerpc: Mark functions called inside uaccess blocks w/ 'notrace'

2020-10-15 Thread Christoph Hellwig
On Thu, Oct 15, 2020 at 10:01:54AM -0500, Christopher M. Riedl wrote: > Functions called between user_*_access_begin() and user_*_access_end() > should be either inlined or marked 'notrace' to prevent leaving > userspace access exposed. Mark any such functions relevant to signal > handling so that

Re: [PATCH v3 7/8] arm64: mm: Set ZONE_DMA size based on early IORT scan

2020-10-15 Thread Ard Biesheuvel
On Thu, 15 Oct 2020 at 12:31, Lorenzo Pieralisi wrote: > > On Wed, Oct 14, 2020 at 09:12:09PM +0200, Nicolas Saenz Julienne wrote: > > [...] > > > +unsigned int __init acpi_iort_get_zone_dma_size(void) > > +{ > > + struct acpi_table_iort *iort; > > + struct acpi_iort_node *node, *end; > >

Re: [oss-security] CVE-2020-25656: Linux kernel concurrency UAF in vt_do_kdgkb_ioctl

2020-10-15 Thread Jiri Slaby
Cc Greg. On 16. 10. 20, 5:39, Minh Yuan wrote: Hi, We recently discovered a uaf read in vt_do_kdgkb_ioctl from linux kernel version 3.4 to the latest version (v5.9 for now). The root cause of this vulnerability is that there exits a race in KDGKBSENT and KDSKBSENT. Here are details: 1. use K

<    5   6   7   8   9   10