[PATCH v13 1/4] bus: mhi: core: Add helper API to return number of free TREs

2020-11-28 Thread Hemant Kumar
Introduce mhi_get_free_desc_count() API to return number of TREs available to queue buffer. MHI clients can use this API to know before hand if ring is full without calling queue API. Signed-off-by: Hemant Kumar Reviewed-by: Jeffrey Hugo Reviewed-by: Manivannan Sadhasivam ---

Re: [PATCH v5 0/4] Enable Hi3559A SOC clock and HiSilicon Hiedma Controller

2020-11-28 Thread Dongjiu Geng
ping, sorry for the noise. On 2020/11/20 4:01, Dongjiu Geng wrote: > v4->v5: > 1. change the patch author mail name > > v3->v4: > 1. fix the 'make dt_binding_check' issues. > 2. Combine the 'Enable HiSilicon Hiedma Controller' series patches to this > series. > 3. fix the 'make

Re: [PATCH] mm/memcg: bail out early when !memcg in mem_cgroup_lruvec

2020-11-28 Thread Andrew Morton
On Fri, 27 Nov 2020 11:08:35 +0800 Alex Shi wrote: > Sometime, we use NULL memcg in mem_cgroup_lruvec(memcg, pgdat) > so we could get out early in the situation to avoid useless checking. > > Also warning if both parameter are NULL. Why do you think a warning is needed here? > ---

Re: [PATCH v2 1/2] arm64: dts: broadcom: clear the warnings caused by empty dma-ranges

2020-11-28 Thread Florian Fainelli
On Fri, 16 Oct 2020 17:08:32 +0800, Zhen Lei wrote: > The scripts/dtc/checks.c requires that the node have empty "dma-ranges" > property must have the same "#address-cells" and "#size-cells" values as > the parent node. Otherwise, the following warnings is reported: > >

Re: [PATCH v2 bpf-next 05/13] bpf: Rename BPF_XADD and prepare to encode other atomics in .imm

2020-11-28 Thread Yonghong Song
On 11/27/20 9:57 AM, Brendan Jackman wrote: A subsequent patch will add additional atomic operations. These new operations will use the same opcode field as the existing XADD, with the immediate discriminating different operations. In preparation, rename the instruction mode BPF_ATOMIC and

[PATCH v4 2/2] ASoC: qcom: Add support for playback recover after resume

2020-11-28 Thread Srinivasa Rao Mandadapu
To support playback continuation after hard suspend(bypass powerd) and resume add component driver ops and do regcache sync. Signed-off-by: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Mandadapu --- sound/soc/qcom/lpass-platform.c | 35 +++ 1 file changed,

[PATCH V2 net-next 5/7] net: hns3: add more info to hns3_dbg_bd_info()

2020-11-28 Thread Huazhong Tan
Since TX hardware checksum and RX completion checksum have been supported now, so add related information in hns3_dbg_bd_info(). Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 50 +- 1 file changed, 40 insertions(+), 10 deletions(-)

[PATCH V2 net-next 3/7] net: hns3: remove unsupported NETIF_F_GSO_UDP_TUNNEL_CSUM

2020-11-28 Thread Huazhong Tan
Currently, device V1 and V2 do not support segmentation offload for UDP based tunnel packet who needs outer UDP checksum offload, so there is a workaround in the driver to set the checksum of the outer UDP checksum as zero. This is not what the user wants, so remove this feature for device V1 and

[PATCH v2 14/19] ARM: dts: sun8i: v3s: Add nodes for MIPI CSI-2 support

2020-11-28 Thread Paul Kocialkowski
MIPI CSI-2 is supported on the V3s with an A31-based MIPI CSI-2 bridge controller. The controller uses a separate D-PHY, which is the same that is otherwise used for MIPI DSI, but used in Rx mode. On the V3s, the CSI0 controller is dedicated to MIPI CSI-2 as it does not have access to any

[PATCH 3/3] thermal: intel: intel_pch_thermal: Indicate userspace usage

2020-11-28 Thread Kai-Heng Feng
The device isn't present under ACPI ThermalZone, and there's a dedicated userspace daemon for this thermal device. Let thermal core know it shouldn't handle trips to avoid surprising thermal shutdown. Signed-off-by: Kai-Heng Feng --- drivers/thermal/intel/intel_pch_thermal.c | 11 +--

Re: [PATCH] powerpc: fix the allyesconfig build

2020-11-28 Thread Stephen Rothwell
Hi Jakub, On Fri, 27 Nov 2020 17:56:42 -0800 Jakub Kicinski wrote: > > What's the offending structure in hisilicon? I'd rather have a look > packing structs with pointers in 'em sounds questionable. > > I only see these two: > > $ git grep packed drivers/net/ethernet/hisilicon/ >

Re: [RFC PATCH v1 1/4] irqchip/gic-v4.1: Plumb get_irqchip_state VLPI callback

2020-11-28 Thread luojiaxing
Hi, shenming I got few questions about this patch. Although it's a bit late and not very appropriate, I'd like to ask before you send next version. On 2020/11/23 14:54, Shenming Lu wrote: From: Zenghui Yu Up to now, the irq_get_irqchip_state() callback of its_irq_chip leaves

[PATCH v2 2/7] kbuild: doc: replace arch/$(ARCH)/ with arch/$(SRCARCH)/

2020-11-28 Thread Masahiro Yamada
Precisely speaking, the arch directory is specified by $(SRCARCH), not $(ARCH). In old days, $(ARCH) actually matched to the arch directory because 32-bit and 64-bit were supported as separate architectures. Most architectures (except arm/arm64) were unified like follows: arch/i386,

[PATCH v2 15/19] MAINTAINERS: Add entry for the Allwinner A31 MIPI CSI-2 bridge

2020-11-28 Thread Paul Kocialkowski
Add myself as maintainer of the A31 MIPI CSI-2 bridge media driver. Signed-off-by: Paul Kocialkowski --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0644128640fb..a1352171778b 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -709,6

[PATCH v2 1/2] irqchip/gic-v4.1: Reduce the delay time of the poll on the GICR_VPENDBASER.Dirty bit

2020-11-28 Thread Shenming Lu
The 10 delay_us of the poll on the GICR_VPENDBASER.Dirty bit is too high, which might greatly affect the total scheduling latency of a vCPU in our measurement. So we reduce it to 1 to lessen the impact. Signed-off-by: Shenming Lu --- drivers/irqchip/irq-gic-v3-its.c | 2 +- 1 file changed, 1

[PATCH V2 net-next 7/7] net: hns3: keep MAC pause mode when multiple TCs are enabled

2020-11-28 Thread Huazhong Tan
From: Yonglong Liu Bellow HNAE3_DEVICE_VERSION_V3, MAC pause mode just support one TC, when enabled multiple TCs, force enable PFC mode. HNAE3_DEVICE_VERSION_V3 can support MAC pause mode on multiple TCs, so when enable multiple TCs, just keep MAC pause mode, and enable PFC mode just according

[PATCH V2 net-next 2/7] net: hns3: add support for TX hardware checksum offload

2020-11-28 Thread Huazhong Tan
For the device that supports TX hardware checksum, the hardware can calculate the checksum from the start and fill the checksum to the offset position, which reduces the operations of calculating the type and header length of L3/L4. So add this feature for the HNS3 ethernet driver. The previous

[PATCH] f2fs: Fix deadlock between f2fs_quota_sync and block_operation

2020-11-28 Thread Shachar Raindel
f2fs_quota_sync is calling f2fs_lock_op, in an attempt to prevent an AB/BA type deadlock with quota_sem locking in block_operation. However, rwsem in Linux is not recursive. As a result, the following deadlock may occur: f2fs_quota_sync down_read(cp_rwsem) // f2fs_lock_op filemap_fdatawrite

Re: [PATCH 2/2] reset: simple: add BCM4908 MISC PCIe reset controller support

2020-11-28 Thread Florian Fainelli
On 11/27/2020 3:14 AM, Rafał Miłecki wrote: > From: Rafał Miłecki > > It's a trivial reset controller. One register with bit per PCIe core. > > Signed-off-by: Rafał Miłecki Acked-by: Florian Fainelli -- Florian

[GIT PULL] Kbuild fixes for v5.10-rc6

2020-11-28 Thread Masahiro Yamada
Hi Linus, Please pull Kbuild fixes for v5.10 Thanks. The following changes since commit 3cea11cd5e3b00d91caf0b4730194039b45c5891: Linux 5.10-rc2 (2020-11-01 14:43:51 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git

[PATCH 2/3] thermal: int340x: Indicate userspace usage

2020-11-28 Thread Kai-Heng Feng
The device isn't present under ACPI ThermalZone, and there's a dedicated userspace daemon for this thermal device. Let thermal core know it shouldn't handle trips to avoid surprising thermal shutdown. Signed-off-by: Kai-Heng Feng --- drivers/thermal/intel/int340x_thermal/int3400_thermal.c

[PATCH v3 0/2] media: i2c: OV5648 image sensor support

2020-11-28 Thread Paul Kocialkowski
This series adds support for the OV5648 image sensor, as a V4L2 subdev driver. Changes since v2: - Added link-frequencies endpoint property support; - Used NULL ctrl ops for pixel rate and link freq; - Extra cosmetic changes. Changes since v1: - Used runtime pm; - Used assigned-clock-rate; -

[PATCH V2 net-next 4/7] net: hns3: add udp tunnel checksum segmentation support

2020-11-28 Thread Huazhong Tan
For the device who has the capability to handle udp tunnel checksum segmentation, add support for it. Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hnae3.h| 1 + drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c | 6 +-

[PATCH v2] Compiler Attributes: remove CONFIG_ENABLE_MUST_CHECK

2020-11-28 Thread Masahiro Yamada
Revert commit cebc04ba9aeb ("add CONFIG_ENABLE_MUST_CHECK"). A lot of warn_unused_result wearings existed in 2006, but until now they have been fixed thanks to people doing allmodconfig tests. Our goal is to always enable __must_check where appropriate, so this CONFIG option is no longer needed.

[PATCH v2 1/7] kbuild: doc: update the description about kbuild Makefiles

2020-11-28 Thread Masahiro Yamada
This line was written in 2003. Now we have much more Makefiles. The number of Makefiles is not important. The point is we have a Makefile in (almost) every directory. Signed-off-by: Masahiro Yamada --- (no changes since v1) Documentation/kbuild/makefiles.rst | 2 +- 1 file changed, 1

[PATCH v4 1/2] dt-bindings: media: i2c: Add OV5648 bindings documentation

2020-11-28 Thread Paul Kocialkowski
This introduces YAML bindings documentation for the OV5648 image sensor. Signed-off-by: Paul Kocialkowski Reviewed-by: Rob Herring --- .../bindings/media/i2c/ovti,ov5648.yaml | 115 ++ 1 file changed, 115 insertions(+) create mode 100644

Re: [PATCH 7/7] kbuild: doc: document subdir-y syntax

2020-11-28 Thread Masahiro Yamada
On Tue, Nov 24, 2020 at 3:03 AM Randy Dunlap wrote: > > On 11/22/20 8:54 PM, Masahiro Yamada wrote: > > There is no explanation about subdir-y. > > > > Let's document it. > > > > Signed-off-by: Masahiro Yamada > > --- > > > > Documentation/kbuild/makefiles.rst | 14 ++ > > 1 file

Re: [linux-sunxi] Re: [PATCH 3/3] arm64: allwinner: dts: a64: add DT for PineTab developer sample

2020-11-28 Thread Icenowy Zheng
于 2020年11月28日 GMT+08:00 下午7:54:04, "Clément Péron" 写到: >Hi Icenowy, > >On Sat, 28 Nov 2020 at 12:28, Icenowy Zheng wrote: >> >> 在 2020-11-28星期六的 11:38 +0100,Maxime Ripard写道: >> > On Mon, Nov 23, 2020 at 09:10:38PM +0800, Icenowy Zheng wrote: >> > > > > > > > Okay. But I'm not satisfied with a

Re: [PATCH] MAINTAINERS add D: tag for subsystem commit prefix

2020-11-28 Thread Tom Rix
On 11/28/20 8:44 AM, Joe Perches wrote: > On Sat, 2020-11-28 at 08:30 -0800, Tom Rix wrote: >> On 11/28/20 8:00 AM, Joe Perches wrote: >>> On Sat, 2020-11-28 at 07:36 -0800, Tom Rix wrote: On 11/27/20 2:10 PM, Joe Perches wrote: >>> [] > I think an exception mechanism would be better

[PATCH v4 0/2] Platform driver update to support playback recover after resume

2020-11-28 Thread Srinivasa Rao Mandadapu
This patch set is to add support for playback recover after hard suspend and resume. It includes: 1. Reverting part of previous commit, which is for handling registers invalid state after hard suspend. 2. Adding pm ops in component driver and do regcache sync. Srinivasa Rao Mandadapu (2):

[PATCH v4 1/2] Partially revert ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state

2020-11-28 Thread Srinivasa Rao Mandadapu
This reverts part of commit b1824968221c ("ASoC: qcom: Fix enabling BCLK and LRCLK in LPAIF invalid state") To identify LPAIF invalid state after device suspend and resume, made I2S and DMA control registers not volatile, which is not necessary. Instead invalid reg state can be handled with

Re: [PATCH 0/2] ARM/ARM64: Enable SCMI in default configurations

2020-11-28 Thread Florian Fainelli
On 11/9/2020 1:57 AM, Sudeep Holla wrote: > On Sun, Nov 08, 2020 at 08:42:26PM -0800, Florian Fainelli wrote: >> This patch series enables support for the ARM SCMI and the various >> drivers provided (cpufreq, clock, sensors, reset) since these are >> utilized by Broadcom STB platforms. >> >>

Re: [PATCH v2 tip/core/rcu 1/6] srcu: Make Tiny SRCU use multi-bit grace-period counter

2020-11-28 Thread Neeraj Upadhyay
On 11/28/2020 7:46 AM, Paul E. McKenney wrote: On Wed, Nov 25, 2020 at 10:03:26AM +0530, Neeraj Upadhyay wrote: On 11/24/2020 10:48 AM, Neeraj Upadhyay wrote: On 11/24/2020 1:25 AM, Paul E. McKenney wrote: On Mon, Nov 23, 2020 at 10:01:13AM +0530, Neeraj Upadhyay wrote: On 11/21/2020

Re: [PATCH v2 bpf-next 07/13] bpf: Add BPF_FETCH field / create atomic_fetch_add instruction

2020-11-28 Thread Yonghong Song
On 11/27/20 9:57 AM, Brendan Jackman wrote: This value can be set in bpf_insn.imm, for BPF_ATOMIC instructions, in order to have the previous value of the atomically-modified memory location loaded into the src register after an atomic op is carried out. Suggested-by: Yonghong Song

Re: [PATCH] USB:ehci:fix an interrupt calltrace error

2020-11-28 Thread liulongfang
On 2020/11/27 23:47, Alan Stern Wrote: > On Fri, Nov 27, 2020 at 10:29:03AM +0800, liulongfang wrote: >> On 2020/11/27 0:08, Alan Stern Wrote: >>> On Thu, Nov 26, 2020 at 11:34:33AM +0800, Longfang Liu wrote: The system goes to suspend when using USB audio player. This causes the USB

Re: [PATCH 7/7] kbuild: doc: document subdir-y syntax

2020-11-28 Thread Randy Dunlap
On 11/28/20 12:58 AM, Masahiro Yamada wrote: > On Tue, Nov 24, 2020 at 3:03 AM Randy Dunlap wrote: >> >> On 11/22/20 8:54 PM, Masahiro Yamada wrote: >>> There is no explanation about subdir-y. >>> >>> Let's document it. >>> >>> Signed-off-by: Masahiro Yamada >>> --- >>> >>>

Re: [PATCH] MAINTAINERS add D: tag for subsystem commit prefix

2020-11-28 Thread Tom Rix
On 11/27/20 2:10 PM, Joe Perches wrote: > On Fri, 2020-11-27 at 13:43 -0800, t...@redhat.com wrote: >> From: Tom Rix >> >> From >> RFC MAINTAINERS tag for cleanup robot >> https://lkml.org/lkml/2020/11/21/190 > I think this should be RFC. > It looks as as if it's only for subsystems through A

[PATCH v2 18/19] ARM: dts: sun8i: a83t: Add MIPI CSI-2 controller node

2020-11-28 Thread Paul Kocialkowski
MIPI CSI-2 is supported on the A83T with a dedicated controller that covers both the protocol and D-PHY. It can be connected to the CSI interface as a V4L2 subdev through the fwnode graph. This is not done by default since connecting the bridge without a subdev attached to it will cause a failure

[PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

2020-11-28 Thread Guido Günther
This series enables components found on Purism's Librem 5 that are available in mainline. - changes from v2 - As per review comments from Geert Uytterhoeven https://lore.kernel.org/lkml/camuhmduk3gbhwr94bcjrbknvdpqsjrmn0itrs65ay5kquca...@mail.gmail.com/ - Fix commit messages typos

Re: [PATCH] exit: fix a race in release_task when flushing the dentry

2020-11-28 Thread Greg Kroah-Hartman
On Sat, Nov 28, 2020 at 09:59:09PM +0800, Wen Yang wrote: > > > 在 2020/11/28 下午4:06, Greg Kroah-Hartman 写道: > > On Sat, Nov 28, 2020 at 02:47:22PM +0800, Wen Yang wrote: > > > [ Upstream commit 7bc3e6e55acf065500a24621f3b313e7e5998acf ] > > > > No, that is not this commit at all. > > > > What

Re: [PATCH v2 02/18] arm: dts: owl-s500: Set CMU clocks for UARTs

2020-11-28 Thread Manivannan Sadhasivam
On Fri, Nov 20, 2020 at 01:55:56AM +0200, Cristian Ciocaltea wrote: > Set Clock Management Unit clocks for the UART nodes of Actions Semi > S500 SoCs. > > Signed-off-by: Cristian Ciocaltea Also in this patch itself, you need to remove the dummy "uart3_clk" from S500 dts. With that,

Re: [PATCH v10 5/6] dt-bindings: leds: Add bindings for MT6360 LED

2020-11-28 Thread Jacek Anaszewski
Hi Gene, On 11/27/20 4:28 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 | 164 + 1 file changed, 164 insertions(+) create mode 100644

Re: [PATCH v2 04/18] dt-bindings: dma: owl: Add compatible string for Actions Semi S500 SoC

2020-11-28 Thread Manivannan Sadhasivam
On Fri, Nov 20, 2020 at 01:55:58AM +0200, Cristian Ciocaltea wrote: > Add a new compatible string corresponding to the DMA controller found > in the S500 variant of the Actions Semi Owl SoCs family. > > Signed-off-by: Cristian Ciocaltea > --- > Documentation/devicetree/bindings/dma/owl-dma.yaml

scheduling while atomic in z3fold

2020-11-28 Thread Oleksandr Natalenko
Hi. While running v5.10-rc5-rt11 I bumped into the following: ``` BUG: scheduling while atomic: git/18695/0x0002 Preemption disabled at: [] z3fold_zpool_malloc+0x463/0x6e0 … Call Trace: dump_stack+0x6d/0x88 __schedule_bug.cold+0x88/0x96 __schedule+0x69e/0x8c0

Re: [PATCH] subpage_prot.2: SYNOPSIS: Fix return type: s/long/int/

2020-11-28 Thread Michael Kerrisk (man-pages)
Hi Alex, On 11/28/20 12:44 AM, Alejandro Colomar wrote: > The Linux kernel uses 'int' instead of 'long' for the return type. > As glibc provides no wrapper, use the same type the kernel uses. Thanks. Patch applied. Cheers, Michael > .. > > $ grep -n wrapper man-pages/man2/subpage_prot.2

Re: [PATCH v3] drivers/virt: vmgenid: add vm generation id driver

2020-11-28 Thread Mike Rapoport
Hi Adrian, Usually each version of a patch is a separate e-mail thread On Fri, Nov 27, 2020 at 08:26:02PM +0200, Catangiu, Adrian Costin wrote: > - Background > > The VM Generation ID is a feature defined by Microsoft (paper: > http://go.microsoft.com/fwlink/?LinkId=260709) and supported by >

[GIT PULL] USB/PHY driver fixes for 5.10-rc6

2020-11-28 Thread Greg KH
The following changes since commit 09162bc32c880a791c6c0668ce0745cf7958f576: Linux 5.10-rc4 (2020-11-15 16:44:31 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.10-rc6 for you to fetch changes up to

Re: [PATCH v3] iio: ad_sigma_delta: Don't put SPI transfer buffer on the stack

2020-11-28 Thread Jonathan Cameron
On Tue, 24 Nov 2020 14:38:07 +0200 Alexandru Ardelean wrote: > From: Lars-Peter Clausen > > Use a heap allocated memory for the SPI transfer buffer. Using stack memory > can corrupt stack memory when using DMA on some systems. > > This change moves the buffer from the stack of the trigger

Re: [PATCH v2 12/18] i2c: owl: Add compatible for the Actions Semi S500 I2C controller

2020-11-28 Thread Manivannan Sadhasivam
On Fri, Nov 20, 2020 at 01:56:06AM +0200, Cristian Ciocaltea wrote: > Add S500 variant to the list of devices supported by the Actions Semi > Owl I2C driver. > > Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > drivers/i2c/busses/i2c-owl.c | 1 + > 1

Re: [PATCH v2 13/18] arm: dts: owl-s500: Add I2C support

2020-11-28 Thread Manivannan Sadhasivam
On Fri, Nov 20, 2020 at 01:56:07AM +0200, Cristian Ciocaltea wrote: > Add I2C controller nodes for Actions Semi S500 SoC. > > Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > arch/arm/boot/dts/owl-s500.dtsi | 40 + > 1

Re: [PATCH] proc: add locking checks in proc_inode_is_dead

2020-11-28 Thread Oleg Nesterov
On 11/29, Wen Yang wrote: > > The proc_inode_is_dead function might race with __unhash_process. > This will result in a whole bunch of stale proc entries being cached. > To prevent that, add the required locking. I leave this to Eric but I don't understand how can this patch help,

Re: [PATCH v13 4/4] bus: mhi: Add userspace client interface driver

2020-11-28 Thread Manivannan Sadhasivam
Hi Hemant, On Fri, Nov 27, 2020 at 07:26:06PM -0800, Hemant Kumar wrote: > This MHI client driver allows userspace clients to transfer > raw data between MHI device and host using standard file operations. > Driver instantiates UCI device object which is associated to device > file node. UCI

Re: [PATCH v2 01/18] arm: dts: owl-s500: Add Clock Management Unit

2020-11-28 Thread Manivannan Sadhasivam
On Fri, Nov 20, 2020 at 01:55:55AM +0200, Cristian Ciocaltea wrote: > Add Clock Management Unit for Actions Semi S500 SoC. > > Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- > arch/arm/boot/dts/owl-s500.dtsi | 14 ++ > 1 file changed, 14

Re: [PATCH v3] MAINTAINERS: Add Kamel Bouhara as TCB counter driver maintainer

2020-11-28 Thread Jonathan Cameron
On Mon, 23 Nov 2020 20:57:37 + Jonathan Cameron wrote: > On Mon, 23 Nov 2020 07:30:34 -0500 > William Breathitt Gray wrote: > > > On Mon, Nov 23, 2020 at 09:50:34AM +, nicolas.fe...@microchip.com > > wrote: > > > On 21/11/2020 at 19:58, William Breathitt Gray wrote: > > > >

Re: [PATCH] Staging: android: ashmem: Fixed a coding style issue.

2020-11-28 Thread Greg KH
On Sat, Nov 28, 2020 at 05:46:27PM +0530, Vishawanath Jadhav wrote: > Fixed a coding style issue, file_operations structure should be declared as a > constant. Did you test build this change? Also, properly wrap your changelog at 72 columns like the editor asks you to, and use get_maintainer.pl

Re: [PATCH v2 04/18] dt-bindings: dma: owl: Add compatible string for Actions Semi S500 SoC

2020-11-28 Thread Manivannan Sadhasivam
On Fri, Nov 20, 2020 at 01:55:58AM +0200, Cristian Ciocaltea wrote: > Add a new compatible string corresponding to the DMA controller found > in the S500 variant of the Actions Semi Owl SoCs family. > > Signed-off-by: Cristian Ciocaltea Reviewed-by: Manivannan Sadhasivam Thanks, Mani > --- >

Re: [PATCH] exit: fix a race in release_task when flushing the dentry

2020-11-28 Thread Greg Kroah-Hartman
On Sat, Nov 28, 2020 at 02:47:22PM +0800, Wen Yang wrote: > [ Upstream commit 7bc3e6e55acf065500a24621f3b313e7e5998acf ] No, that is not this commit at all. What are you wanting to have happen here? confused, greg k-h

Re: [RFC PATCH v1 1/4] irqchip/gic-v4.1: Plumb get_irqchip_state VLPI callback

2020-11-28 Thread Marc Zyngier
On Sat, 28 Nov 2020 07:19:48 +, luojiaxing wrote: > > Hi, shenming > > > I got few questions about this patch. > > Although it's a bit late and not very appropriate, I'd like to ask > before you send next version. > > On 2020/11/23 14:54, Shenming Lu wrote: > > From: Zenghui Yu > > > >

[PATCH 2/2] tools/memory-model: Fix typo in klitmus7 compatibility table

2020-11-28 Thread Akira Yokosawa
>From 4f577823fa60e14ae58caa2d3c0b2ced64e6eb43 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa Date: Sat, 28 Nov 2020 14:32:15 +0900 Subject: [PATCH 2/2] tools/memory-model: Fix typo in klitmus7 compatibility table klitmus7 of herdtools7 7.48 or earlier depends on ACCESS_ONCE(), which was removed

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-28 Thread Andrew Lunn
> +static int sparx5_port_open(struct net_device *ndev) > +{ > + struct sparx5_port *port = netdev_priv(ndev); > + int err = 0; > + > + sparx5_port_enable(port, true); > + if (port->conf.phy_mode != PHY_INTERFACE_MODE_NA) { > + err =

[PATCH 1/2] tools/memory-model: Remove redundant initialization in litmus tests

2020-11-28 Thread Akira Yokosawa
>From 3a871845825d96a23d64be05b6cf6d4af2bae167 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa Date: Sat, 28 Nov 2020 08:43:45 +0900 Subject: [PATCH 1/2] tools/memory-model: Remove redundant initialization in litmus tests This is a revert of commit 1947bfcf81a9 ("tools/memory-model: Add types to

Re: [PATCH v2 17/18] arm: dts: owl-s500-roseapplepi: Add I2C pinctrl configuration

2020-11-28 Thread Manivannan Sadhasivam
On Fri, Nov 20, 2020 at 01:56:11AM +0200, Cristian Ciocaltea wrote: > Add pinctrl definitions for the I2C controllers used in RoseapplePi SBC. > For the moment enable only I2C0, which is used by the ATC2603C PMIC. > > Signed-off-by: Cristian Ciocaltea Earlier we used to add "_default" suffix

Re: scheduling while atomic in z3fold

2020-11-28 Thread Oleksandr Natalenko
On Sat, Nov 28, 2020 at 03:05:24PM +0100, Oleksandr Natalenko wrote: > Hi. > > While running v5.10-rc5-rt11 I bumped into the following: > > ``` > BUG: scheduling while atomic: git/18695/0x0002 > Preemption disabled at: > [] z3fold_zpool_malloc+0x463/0x6e0 > … > Call Trace: >

[GIT PULL] Char/Misc driver fixes for 5.10-rc6

2020-11-28 Thread Greg KH
The following changes since commit 09162bc32c880a791c6c0668ce0745cf7958f576: Linux 5.10-rc4 (2020-11-15 16:44:31 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git tags/char-misc-5.10-rc6 for you to fetch changes up to

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-28 Thread Andrew Lunn
> +static void sparx5_phylink_mac_config(struct phylink_config *config, > + unsigned int mode, > + const struct phylink_link_state *state) > +{ > + struct sparx5_port *port = netdev_priv(to_net_dev(config->dev)); > +

[PATCH v8 03/12] mm/vmalloc: rename vmap_*_range vmap_pages_*_range

2020-11-28 Thread Nicholas Piggin
The vmalloc mapper operates on a struct page * array rather than a linear physical address, re-name it to make this distinction clear. Signed-off-by: Nicholas Piggin --- mm/vmalloc.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c

[PATCH v8 09/12] mm: Move vmap_range from mm/ioremap.c to mm/vmalloc.c

2020-11-28 Thread Nicholas Piggin
This is a generic kernel virtual memory mapper, not specific to ioremap. Signed-off-by: Nicholas Piggin --- include/linux/vmalloc.h | 3 + mm/ioremap.c| 197 mm/vmalloc.c| 196 +++ 3 files

[PATCH v8 08/12] x86: inline huge vmap supported functions

2020-11-28 Thread Nicholas Piggin
This allows unsupported levels to be constant folded away, and so p4d_free_pud_page can be removed because it's no longer linked to. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: Borislav Petkov Cc: x...@kernel.org Cc: "H. Peter Anvin" Signed-off-by: Nicholas Piggin ---

[PATCH v8 05/12] mm: HUGE_VMAP arch support cleanup

2020-11-28 Thread Nicholas Piggin
This changes the awkward approach where architectures provide init functions to determine which levels they can provide large mappings for, to one where the arch is queried for each call. This removes code and indirection, and allows constant-folding of dead code for unsupported levels. This

[PATCH v8 11/12] mm/vmalloc: Hugepage vmalloc mappings

2020-11-28 Thread Nicholas Piggin
Support huge page vmalloc mappings. Config option HAVE_ARCH_HUGE_VMALLOC enables support on architectures that define HAVE_ARCH_HUGE_VMAP and supports PMD sized vmap mappings. vmalloc will attempt to allocate PMD-sized pages if allocating PMD size or larger, and fall back to small pages if that

Re: [PATCH v2 1/4] HID: hid-sensor-custom: Add custom sensor iio support

2020-11-28 Thread Jonathan Cameron
On Wed, 25 Nov 2020 10:27:21 +0800 "Ye, Xiang" wrote: > On Tue, Nov 24, 2020 at 11:32:11AM +, Jonathan Cameron wrote: > > Hi > > ... > > > > > sysfs_remove_group(_inst->pdev->dev.kobj, > > > > > diff --git a/include/linux/hid-sensor-ids.h > > > > > b/include/linux/hid-sensor-ids.h >

[PATCH v8 07/12] arm64: inline huge vmap supported functions

2020-11-28 Thread Nicholas Piggin
This allows unsupported levels to be constant folded away, and so p4d_free_pud_page can be removed because it's no longer linked to. Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org Acked-by: Catalin Marinas Signed-off-by: Nicholas Piggin ---

[PATCH v8 00/12] huge vmalloc mappings

2020-11-28 Thread Nicholas Piggin
Hi Andrew, Please consider this for -mm. Thanks, Nick Since v7: - Rebase, added some acks, compile fix - Removed "order=" from vmallocinfo, it's a bit confusing (nr_pages is in small page size for compatibility). - Added arch_vmap_pmd_supported() test before starting to allocate the large

[PATCH v8 10/12] mm/vmalloc: add vmap_range_noflush variant

2020-11-28 Thread Nicholas Piggin
As a side-effect, the order of flush_cache_vmap() and arch_sync_kernel_mappings() calls are switched, but that now matches the other callers in this file. Signed-off-by: Nicholas Piggin --- mm/vmalloc.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git

[PATCH v8 12/12] powerpc/64s/radix: Enable huge vmalloc mappings

2020-11-28 Thread Nicholas Piggin
Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Nicholas Piggin --- Documentation/admin-guide/kernel-parameters.txt | 2 ++ arch/powerpc/Kconfig| 1 + 2 files changed, 3 insertions(+) diff --git a/Documentation/admin-guide/kernel-parameters.txt

[PATCH v4] checkpatch: add fix and improve warning msg for non-standard signature

2020-11-28 Thread Aditya Srivastava
Currently checkpatch warns for BAD_SIGN_OFF on non-standard signature styles. A large number of these warnings occur because of typo mistakes in signature tags. An evaluation over v4.13..v5.8 showed that out of 539 warnings due to non-standard signatures, 87 are due to typo mistakes. Following

[PATCH v8 06/12] powerpc: inline huge vmap supported functions

2020-11-28 Thread Nicholas Piggin
This allows unsupported levels to be constant folded away, and so p4d_free_pud_page can be removed because it's no longer linked to. Cc: linuxppc-...@lists.ozlabs.org Acked-by: Michael Ellerman Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/vmalloc.h | 19 ---

Re: [PATCH v3] checkpatch: add warning for unnecessary use of %h[xudi] and %hh[xudi]

2020-11-28 Thread Dwaipayan Ray
> Here was what I tried: > > There are uses like %#06hh", so # was addedto the format block > and multiple line uses were also inspected. > > > scripts/checkpatch.pl | 23 +++ > 1 file changed, 23 insertions(+) > > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl >

Re: [PATCH v5] checkpatch: add fix and improve warning msg for non-standard signature

2020-11-28 Thread Joe Perches
On Sun, 2020-11-29 at 00:05 +0530, Aditya Srivastava wrote: > Currently checkpatch warns for BAD_SIGN_OFF on non-standard signature > styles. Seems OK, but here are some last trivial notes: > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > +sub find_standard_signature { > +

Re: [PATCH v2 0/1] arm64: defconfig: Enable Librem 5 hardware

2020-11-28 Thread Guido Günther
Hi Pavel, On Fri, Nov 27, 2020 at 09:09:08PM +0100, Pavel Machek wrote: > Hi! > > > This series enables components found on Purism's Librem 5 > > that are available in mainline. > > > > - changes from v1 > > - As per review comments from Krzysztof Kozlowski > > > >

[PATCH v8 04/12] mm/ioremap: rename ioremap_*_range to vmap_*_range

2020-11-28 Thread Nicholas Piggin
This will be used as a generic kernel virtual mapping function, so re-name it in preparation. Signed-off-by: Nicholas Piggin --- mm/ioremap.c | 64 +++- 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/mm/ioremap.c b/mm/ioremap.c

Re: [PATCH net-next 3/3] nfc: s3fwrn5: extract the common phy blocks

2020-11-28 Thread Krzysztof Kozlowski
On Fri, Nov 27, 2020 at 08:09:24AM +0900, Bongsu Jeon wrote: > On Fri, Nov 27, 2020 at 2:13 AM Krzysztof Kozlowski wrote: > > > > On Fri, Nov 27, 2020 at 12:33:39AM +0900, bongsu.je...@gmail.com wrote: > > > From: Bongsu Jeon > > > > > > Extract the common phy blocks to reuse it. > > > The UART

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-28 Thread Andrew Lunn
> +static void sparx5_attr_stp_state_set(struct sparx5_port *port, > + struct switchdev_trans *trans, > + u8 state) > +{ > + struct sparx5 *sparx5 = port->sparx5; > + > + if (!test_bit(port->portno, sparx5->bridge_mask)) {

Re: [GIT PULL] Kbuild fixes for v5.10-rc6

2020-11-28 Thread pr-tracker-bot
The pull request you sent on Sun, 29 Nov 2020 02:23:31 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-fixes-v5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/45e885c439e825c19f3a51e46ef8210984bc0a9c Thank you! --

Re: [GIT PULL] USB/PHY driver fixes for 5.10-rc6

2020-11-28 Thread Linus Torvalds
pr-tracker-bot seems a bit under the weather. But this has been pulled. I'm not sure why pt-tracker-bot did react to the Kbuild one, but not the ones by Greg and Arnaldo. The pull requests all look good to me, and seem to have all the required markers.. Konstantin? Linus On Sat, Nov

[PATCH] scsi: ses: Fix crash caused by kfree an invalid pointer

2020-11-28 Thread Ding Hui
We can get a crash when disconnecting the iSCSI session, the call trace like this: [2a00fb70] kfree at 0830e224 [2a00fba0] ses_intf_remove at 01f200e4 [2a00fbd0] device_del at 086b6a98 [2a00fc50] device_unregister at 086b6d58

Re: [PATCH] powerpc: fix the allyesconfig build

2020-11-28 Thread Jakub Kicinski
On Sat, 28 Nov 2020 16:20:54 +1100 Stephen Rothwell wrote: > On Fri, 27 Nov 2020 17:56:42 -0800 Jakub Kicinski wrote: > > > > What's the offending structure in hisilicon? I'd rather have a look > > packing structs with pointers in 'em sounds questionable. > > > > I only see these two: > > > > $

Re: [RESEND PATCH 13/19] phy: sun4i-usb: add support for A100 USB PHY

2020-11-28 Thread André Przywara
On 10/11/2020 06:40, Frank Lee wrote: Hi, > From: Yangtao Li > > Add support for a100's usb phy, which with 2 PHYs. > > Signed-off-by: Yangtao Li > --- > drivers/phy/allwinner/phy-sun4i-usb.c | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-28 Thread Russell King - ARM Linux admin
On Sat, Nov 28, 2020 at 08:06:16PM +0100, Andrew Lunn wrote: > > +static void sparx5_phylink_mac_config(struct phylink_config *config, > > + unsigned int mode, > > + const struct phylink_link_state *state) > > +{ > > + struct

Re: [RESEND PATCH 17/19] mmc: sunxi: add support for A100 mmc controller

2020-11-28 Thread André Przywara
On 10/11/2020 06:46, Frank Lee wrote: Hi, > From: Yangtao Li > > This patch adds support for A100 MMC controller, which use word address > for internal dma. > > Signed-off-by: Yangtao Li > --- > drivers/mmc/host/sunxi-mmc.c | 28 +--- > 1 file changed, 25

[no subject]

2020-11-28 Thread International Monetary Fund
FROM INTERNATIONAL MONETARY FUND. IMF Headquarters: 7001 19th Street, 20219-001 N.W., Washington D. C. 20413, United States of America. Attention: Beneficiary, Have you Received Your Payment.? Your immediate confirmation is needed with your full information, if you are part of the people

[PATCH v4] checkpatch: add warning for unnecessary use of %h[xudi] and %hh[xudi]

2020-11-28 Thread Dwaipayan Ray
Modifiers %h and %hh should never be used. Commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use of unnecessary %h[xudi] and %hh[xudi]") specifies that: "Standard integer promotion is already done and %hx and %hhx is useless so do not encourage the use of %hh[xudi] or %h[xudi]." "The

[PATCH v2] Documentation/admin-guide: mark memmap parameter is supported by a few architectures

2020-11-28 Thread Barry Song
early_param memmap is only implemented on X86, MIPS and XTENSA. To avoid wasting users’ time on trying this on platform like ARM, mark it clearly. Signed-off-by: Barry Song Reviewed-by: Mike Rapoport --- -v2: * add reviewed-by of Mike, thanks! Documentation/admin-guide/kernel-parameters.rst

Re: [PATCH] drm/ingenic: Add basic PM support

2020-11-28 Thread Paul Cercueil
Le sam. 28 nov. 2020 à 19:58, Sam Ravnborg a écrit : Hi Paul. On Sat, Nov 28, 2020 at 05:16:06PM +, Paul Cercueil wrote: Call drm_mode_config_helper_suspend() and drm_mode_config_helper_resume() on suspend and resume, respectively. This makes sure that the display stack is

Re: [RESEND PATCH 18/19] arm64: allwinner: a100: Add MMC related nodes

2020-11-28 Thread André Przywara
On 10/11/2020 06:48, Frank Lee wrote: Hi, > From: Yangtao Li > > The A100 has 3 MMC controllers, one of them being especially targeted to > eMMC. Let's add nodes on dts. > > Signed-off-by: Yangtao Li I don't have a datasheet nor a device for testing, but at least I could check the pins

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-28 Thread Alexandre Belloni
Hi Russell, On 28/11/2020 19:37:07+, Russell King - ARM Linux admin wrote: > On Sat, Nov 28, 2020 at 08:06:16PM +0100, Andrew Lunn wrote: > > > +static void sparx5_phylink_mac_config(struct phylink_config *config, > > > + unsigned int mode, > > > +

Re: [PATCH v4] checkpatch: add warning for unnecessary use of %h[xudi] and %hh[xudi]

2020-11-28 Thread Joe Perches
On Sun, 2020-11-29 at 01:30 +0530, Dwaipayan Ray wrote: > Modifiers %h and %hh should never be used. Seems OK, thanks. Acked-by: Joe Perches > Commit cbacb5ab0aa0 ("docs: printk-formats: Stop encouraging use > of unnecessary %h[xudi] and %hh[xudi]") specifies that: > > "Standard integer

WARNING in close_fs_devices (3)

2020-11-28 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:d5beb314 Merge tag 'hyperv-fixes-signed' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1232777d50 kernel config: https://syzkaller.appspot.com/x/.config?x=7994ac0f2a9b95d9

Re: [RESEND PATCH 12/19] dt-bindings: Add bindings for USB phy on Allwinner A100

2020-11-28 Thread André Przywara
On 11/11/2020 22:50, Rob Herring wrote: Hi, > On Tue, Nov 10, 2020 at 02:39:42PM +0800, Frank Lee wrote: >> From: Yangtao Li >> >> Add a device tree binding for the A100's USB PHY. Not your fault, Yangto, but why do we actually have a separate binding document per SoC, when the differences

Re: [RFC PATCH 2/3] net: sparx5: Add Sparx5 switchdev driver

2020-11-28 Thread Andrew Lunn
> > Maybe if I was copied on the patch submission... I don't have the > > patches, and searching google for them is a faff, especially > > when > > > > site:kernel.org 20201127133307.2969817-1-steen.hegel...@microchip.com > > > > gives: > > > >Your search - site:kernel.org > >

  1   2   3   4   5   >