[PATCH 41/87] sound: ppc: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- sound/ppc/pmac.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/ppc/pmac

[PATCH 15/87] gpu: drm: Remove call to memset after kzalloc in process_pptable_v1_0.c

2019-06-27 Thread Fuqian Huang
kzalloc has already zeroes the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/process_pptables_v1_0.c b/drivers/gpu/drm/amd/powe

Re: [PATCH] ALSA: hda: Use correct start/count for sysfs init

2019-06-27 Thread Evan Green
On Wed, Jun 26, 2019 at 10:26 PM Takashi Iwai wrote: > > On Wed, 26 Jun 2019 23:59:33 +0200, > Evan Green wrote: > > > > On Wed, Jun 26, 2019 at 2:16 PM Takashi Iwai wrote: > > > > > > On Wed, 26 Jun 2019 22:34:28 +0200, > > > Evan Green wrote: > > > > > > > > On Wed, Jun 26, 2019 at 1:27 AM Taka

[PATCH 38/87] ethernet: atlx: remove memset after pci_alloc_consistent in atl2.c

2019-06-27 Thread Fuqian Huang
pci_alloc_consitent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/athero

[PATCH 43/87] kernel: power: replace kmalloc and memset with kzalloc

2019-06-27 Thread Fuqian Huang
kmalloc + memset(0) -> kzalloc Signed-off-by: Fuqian Huang --- kernel/power/swap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/power/swap.c b/kernel/power/swap.c index e1912ad13bdc..ca0fcb5ced71 100644 --- a/kernel/power/swap.c +++ b/kernel/power/swap.c @@ -974,1

[PATCH 42/87] sound: oss: replace kmalloc + memset with kzalloc

2019-06-27 Thread Fuqian Huang
kmalloc + memset(0) -> kzalloc Signed-off-by: Fuqian Huang --- sound/core/seq/oss/seq_oss_init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/core/seq/oss/seq_oss_init.c b/sound/core/seq/oss/seq_oss_init.c index 6dc94efc19c9..6e8020d4368a 100644 --- a/sound/core/s

[PATCH 44/87] fs: jffs2: replace kmalloc and memset with kzalloc

2019-06-27 Thread Fuqian Huang
kmalloc + memset(0) -> kzalloc Signed-off-by: Fuqian Huang --- fs/jffs2/erase.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/fs/jffs2/erase.c b/fs/jffs2/erase.c index 83b8f06b4a64..30c4385c6545 100644 --- a/fs/jffs2/erase.c +++ b/fs/jffs2/erase.c @@ -43,7 +43,7 @@ stati

[PATCH 46/87] usb: host: remove memset after dma_alloc_coherent in xhci

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/usb/host/xhci-dbgcap.c | 1 - drivers/usb/host/xhci-mem.c| 1 - 2 file

[PATCH 47/87] tty: serial: remove memset after pci_alloc_consistent in icom.c

2019-06-27 Thread Fuqian Huang
pci_alloc_consistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/tty/serial/icom.c

[PATCH 48/87] rtl8723bs: os_dep: replace rtw_malloc and memset with rtw_zmalloc

2019-06-27 Thread Fuqian Huang
rtw_malloc + memset(0) -> rtw_zmalloc Signed-off-by: Fuqian Huang --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 8 ++-- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c| 12 +++- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/drivers/staging/rtl8723bs/os

[PATCH 49/87] rtl8723bs: core: remove memset after rtw_zmalloc

2019-06-27 Thread Fuqian Huang
rtw_zmalloc already zeros the memory. memset is unneeded. Signed-off-by: Fuqian Huang --- drivers/staging/rtl8723bs/core/rtw_ap.c | 2 -- drivers/staging/rtl8723bs/core/rtw_mlme.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_ap.c b/drivers/staging/r

[PATCH 50/87] rtl8712: replace kmalloc and memset with kzalloc

2019-06-27 Thread Fuqian Huang
kmalloc + memset(0) -> kzalloc Signed-off-by: Fuqian Huang --- drivers/staging/rtl8712/rtl871x_io.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_io.c b/drivers/staging/rtl8712/rtl871x_io.c index 17dafeffd6f4..87024d6a465e 100644 --- a/dr

[PATCH 51/87] rtl8188eu: os_dep: replace rtw_malloc and memset with rtw_zmalloc

2019-06-27 Thread Fuqian Huang
rtw_malloc + memset(0) -> rtw_zmalloc Signed-off-by: Fuqian Huang --- drivers/staging/rtl8188eu/os_dep/mlme_linux.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/mlme_linux.c b/drivers/staging/rtl8188eu/os_dep/mlme_linux.c index 9db11b16c

[PATCH 87/87] ethernet: mlx4: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/mellanox/mlx4/eq.c | 2 -- 1 file changed, 2 deletions(-) di

[PATCH 52/87] scsi: qlogicpti: remove memset after dma_alloc_coherent in qlogicpti.c

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/qlogicpti.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driv

[PATCH 86/87] ethernet: mellanox:mlx4: replace kmalloc and memset with kzalloc

2019-06-27 Thread Fuqian Huang
kmalloc + memset(0) -> kzalloc Signed-off-by: Fuqian Huang --- drivers/net/ethernet/mellanox/mlx4/en_rx.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/en_rx.c b/drivers/net/ethernet/mellanox/mlx4/en_rx.c index 6c01314e87b0..f1dff5c4767

[PATCH 53/87] scsi: qla4xxx: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/qla4xxx/ql4_mbx.c | 1 - drivers/scsi/qla4xxx/ql4_os.c | 2 -- 2 fil

[PATCH 85/87] ethernet: mellanox: mlx5: remove memset after kvzalloc

2019-06-27 Thread Fuqian Huang
kvzalloc already zeroes the memory. So memset is unneeded. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/mellanox/mlx5/core/eswitch.c | 1 - drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/net/ethernet/mella

[PATCH 55/87] scsi: qedf: replace vmalloc and memset with vzalloc

2019-06-27 Thread Fuqian Huang
vmalloc + memset(0) -> vzalloc Signed-off-by: Fuqian Huang --- drivers/scsi/qedf/qedf_dbg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/scsi/qedf/qedf_dbg.c b/drivers/scsi/qedf/qedf_dbg.c index e0387e495261..0d2aed82882a 100644 --- a/drivers/scsi/qedf/qedf_dbg.c

[PATCH 54/87] scsi: qla2xxx: replace vmalloc and memset with vzalloc

2019-06-27 Thread Fuqian Huang
vmalloc + memset(0) -> vzalloc Signed-off-by: Fuqian Huang --- drivers/scsi/qla2xxx/qla_attr.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 8d560c562e9c..dabd139fdaeb 100644 --- a/drivers/scsi/q

[PATCH 84/87] ethernet: mellanox: mlxsw: remove memset after pci_alloc_persistent

2019-06-27 Thread Fuqian Huang
pci_alloc_persistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/mella

[PATCH 56/87] scsi: pmcraid: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/pmcraid.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/

[PATCH 58/87] scsi: mvsas: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/mvsas/mv_init.c | 4 1 file changed, 4 deletions(-) diff --git

[PATCH 60/87] scsi: megaraid: remove memset after kcalloc

2019-06-27 Thread Fuqian Huang
kcalloc already zeros the memory. memset is unneeded. Signed-off-by: Fuqian Huang --- drivers/scsi/megaraid/megaraid_sas_base.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c b/drivers/scsi/megaraid/megaraid_sas_base.c index 3dd1df472dc6..342b39bc

[PATCH 82/87] ethernet: netxen: remove memset after pci_alloc_persistent

2019-06-27 Thread Fuqian Huang
pci_alloc_persistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/qlogi

[PATCH 83/87] ethernet: neterion: remove memset after pci_alloc_persistent

2019-06-27 Thread Fuqian Huang
pci_alloc_persistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/neter

[PATCH 59/87] scsi: mpt3sas: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/mpt3sas/mpt3sas_transport.c | 2 -- 1 file changed, 2 deletions(-) d

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-27 Thread Joel Fernandes
On Thu, Jun 27, 2019 at 11:40 AM Sebastian Andrzej Siewior wrote: > > On 2019-06-27 11:37:10 [-0400], Joel Fernandes wrote: > > Sebastian it would be nice if possible to trace where the > > t->rcu_read_unlock_special is set for this scenario of calling > > rcu_read_unlock_special, to give a clear

[PATCH 61/87] scsi: lpfc: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/lpfc/lpfc_init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a

[PATCH 62/87] scsi: lpfc: replace kmalloc and memset with kzalloc

2019-06-27 Thread Fuqian Huang
kmalloc + memset(0) -> kzalloc Signed-off-by: Fuqian Huang --- drivers/scsi/lpfc/lpfc_debugfs.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/scsi/lpfc/lpfc_debugfs.c b/drivers/scsi/lpfc/lpfc_debugfs.c index 1ee857d9d165..0dfac41f2fa8 100644 --- a/drivers/scsi/l

[PATCH 80/87] net: hippi: remove memset after pci_alloc_consistent

2019-06-27 Thread Fuqian Huang
pci_alloc_consistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/hippi/rrunner.

[PATCH 81/87] ethernet: ti: remove memset after pci_alloc_persistent

2019-06-27 Thread Fuqian Huang
pci_alloc_persistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/ti/tl

[PATCH 64/87] scsi: esas2r: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/esas2r/esas2r_init.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 63/87] scsi: ips.c: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/ips.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/sc

[PATCH 79/87] net: vmxnet3: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/vmxnet3/vmxnet3_drv.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 65/87] scsi: dpt_i2o.c: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/dpt_i2o.c | 4 1 file changed, 4 deletions(-) diff --git a/driv

[PATCH 68/87] scsi: be2iscsi: remove memset after dma_alloc_coherent in be_iscsi.c

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/be2iscsi/be_iscsi.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 77/87] wireless: broadcom: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c | 2 -- 1 file changed, 2

[PATCH 66/87] scsi: bnx2fc: remove memset after dma_alloc_coherent in bnx2fc_io.c

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/bnx2fc/bnx2fc_io.c | 2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH 69/87] scsi: arcmsr: remove memset after dma_coherent in arcmsr_hba.c

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/arcmsr/arcmsr_hba.c | 1 - 1 file changed, 1 deletion(-) diff --git

[PATCH 70/87] scsi: aacraid: remove memset after dma_alloc_coherent in rx.c

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/aacraid/rx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drive

[PATCH 67/87] scsi: bfa: remove memset after dma_alloc_coherent in bfad.c

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/bfa/bfad.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers

[PATCH 71/87] scsi: 3w-xxxx: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/scsi/3w-9xxx.c | 2 -- drivers/scsi/3w-.c | 2 -- 2 files changed, 4 d

[PATCH 72/87] ethernet: chelsio: remove memset after kvzalloc

2019-06-27 Thread Fuqian Huang
kvzalloc already zeroes the memory. memset is unneeded. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/chelsio/cxgb4/sched.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ethernet/chelsio/cxgb4/sched.c b/drivers/net/ethernet/chelsio/cxgb4/sched.c index ba6c153ee45c..60218

[PATCH 75/87] ethernet: marvell: remove memset after pci_alloc_consistent

2019-06-27 Thread Fuqian Huang
pci_alloc_consistent calls dma_alloc_coherent directly. In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/marve

[PATCH 76/87] wireless: quantenna: pcie: remove memset after dmam_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dmam_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/wireless/quantenna/qtnfmac/pcie/pearl_pcie.c | 2 -- drivers/net/wire

Re: [PATCH 35/87] mtd: nand: replace kmalloc and memset with kzalloc in nand_bch.c

2019-06-27 Thread Miquel Raynal
Hi Fuqian, Fuqian Huang wrote on Fri, 28 Jun 2019 01:39:05 +0800: > kmalloc + memset(0) -> kzalloc > > Signed-off-by: Fuqian Huang > --- > drivers/mtd/nand/raw/nand_bch.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/mtd/nand/raw/nand_bch.c b/drivers/mtd/

[PATCH 74/87] ethernet: jme.c: remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/jme.c | 5 - 1 file changed, 5 deletions(-) diff --git a

[PATCH 73/87] ethernet: freescale: Remove memset after dma_alloc_coherent

2019-06-27 Thread Fuqian Huang
In commit af7ddd8a627c ("Merge tag 'dma-mapping-4.21' of git://git.infradead.org/users/hch/dma-mapping"), dma_alloc_coherent has already zeroed the memory. So memset is not needed. Signed-off-by: Fuqian Huang --- drivers/net/ethernet/freescale/fec_main.c | 2 -- 1 file changed, 2 deletions(-)

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-27 Thread Joel Fernandes
On Thu, Jun 27, 2019 at 1:43 PM Joel Fernandes wrote: > > On Thu, Jun 27, 2019 at 11:40 AM Sebastian Andrzej Siewior > wrote: > > > > On 2019-06-27 11:37:10 [-0400], Joel Fernandes wrote: > > > Sebastian it would be nice if possible to trace where the > > > t->rcu_read_unlock_special is set for t

Re: [PATCH 79/87] net: vmxnet3: remove memset after dma_alloc_coherent

2019-06-27 Thread David Miller
I'd kindly request that you separate these sets of changes into one set per subsystem and submit them properly that way. I'm really not going to sift through 87 patches and pull out the ones individually that got to my tree(s). That's your job to collect them into appropriate groups properly.

Re: [PATCH] power: Do not clear events_check_enabled in pm_wakeup_pending()

2019-06-27 Thread Rafael J. Wysocki
On Wednesday, June 19, 2019 7:51:42 PM CEST Ravi Chandra Sadineni wrote: > events_check_enabled bool is set when wakeup_count sysfs attribute > is written. User level daemon is expected to write this attribute > just before suspend. > > When this boolean is set, calls to pm_wakeup_event() will res

Re: [PATCH 02/13] xfs: remove the unused xfs_count_page_state declaration

2019-06-27 Thread Darrick J. Wong
On Thu, Jun 27, 2019 at 12:48:25PM +0200, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig Looks ok, Reviewed-by: Darrick J. Wong --D > --- > fs/xfs/xfs_aops.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/fs/xfs/xfs_aops.h b/fs/xfs/xfs_aops.h > index f62b03186c62..45a1e

Re: [PATCH v2] platform/chrome: Expose resume result via debugfs

2019-06-27 Thread Evan Green
On Thu, Jun 27, 2019 at 9:42 AM Enric Balletbo i Serra wrote: > > Hi Evan, > > On 27/6/19 18:07, Evan Green wrote: > > On Wed, Jun 26, 2019 at 1:55 PM Enric Balletbo i Serra > > wrote: > >> > >> Hi Evan, > >> > >> Two few comments and I think I'm fine with it. > >> > >> On 25/6/19 15:05, Lee Jone

Re: [PATCH v2] mtd: spinand: Add initial support for Paragon PN26G0xA

2019-06-27 Thread Schrempf Frieder
On 18.06.19 19:08, Jeff Kletsky wrote: > From: Jeff Kletsky > > Add initial support for Paragon Technology > PN26G01Ax and PN26G02Ax SPI NAND > > Datasheets available at > http://www.xtxtech.com/upfile/2016082517274590.pdf > http://www.xtxtech.com/upfile/2016082517282329.pdf > > Signed-

Re: [PATCH 00/10] x86/CPU and x86/resctrl: Support pseudo-lock regions spanning L2 and L3 cache

2019-06-27 Thread Reinette Chatre
Hi David, On 6/27/2019 2:12 AM, David Laight wrote: > From: Reinette Chatre >> Sent: 26 June 2019 18:49 >> >> Cache pseudo-locking involves preloading a region of physical memory into a >> reserved portion of cache that no task or CPU can subsequently fill into and >> from that point on will only

Re: [RFC PATCH RT 4/4] rcutorture: Avoid problematic critical section nesting

2019-06-27 Thread Paul E. McKenney
On Wed, Jun 26, 2019 at 11:49:16AM -0500, Scott Wood wrote: > On Wed, 2019-06-26 at 11:08 -0400, Steven Rostedt wrote: > > On Fri, 21 Jun 2019 16:59:55 -0700 > > "Paul E. McKenney" wrote: > > > > > I have no objection to the outlawing of a number of these sequences in > > > mainline, but am rathe

[Patch v2] staging: rtl8723bs: hal: sdio_halinit: Remove set but unused varilable pHalData

2019-06-27 Thread Hariprasad Kelam
Remove set but unsed variable pHalData in below functions _InitOperationMode, SetHwReg8723BS. Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/sdio_halinit.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/r

Re: [PATCH v6 7/8] dynamic_debug: add asm-generic implementation for DYNAMIC_DEBUG_RELATIVE_POINTERS

2019-06-27 Thread Nick Desaulniers
On Wed, Jun 26, 2019 at 4:52 PM Rasmus Villemoes wrote: > > On 27/06/2019 01.16, Nick Desaulniers wrote: > > On Tue, Jun 25, 2019 at 3:18 PM Nick Desaulniers > > wrote: > > > > The prints should show up in dmesg right, assuming you do something to > > trigger them? Can you provide more details f

Re: [PATCH v3 0/5] Introduce MADV_COLD and MADV_PAGEOUT

2019-06-27 Thread Kirill A. Shutemov
On Thu, Jun 27, 2019 at 08:54:00PM +0900, Minchan Kim wrote: > - Problem > > Naturally, cached apps were dominant consumers of memory on the system. > However, they were not significant consumers of swap even though they are > good candidate for swap. Under investigation, swapping out only begins

Re: [PATCH] staging: rtl8723bs: hal: sdio_halinit: Remove set but unused varilable pHalData

2019-06-27 Thread Hariprasad Kelam
On Thu, Jun 27, 2019 at 09:38:35AM +0300, Dan Carpenter wrote: > On Wed, Jun 26, 2019 at 11:14:59PM +0530, Hariprasad Kelam wrote: > > @@ -1433,7 +1430,6 @@ static void SetHwReg8723BS(struct adapter *padapter, > > u8 variable, u8 *val) > > #endif > > #endif > > > > - pHalData = GET_HAL_DATA(

Re: [Patch v2] staging: rtl8723bs: hal: sdio_halinit: Remove set but unused varilable pHalData

2019-06-27 Thread Greg Kroah-Hartman
On Thu, Jun 27, 2019 at 11:33:02PM +0530, Hariprasad Kelam wrote: > Remove set but unsed variable pHalData in below functions > _InitOperationMode, SetHwReg8723BS. > > Signed-off-by: Hariprasad Kelam > --- > drivers/staging/rtl8723bs/hal/sdio_halinit.c | 5 - > 1 file changed, 5 deletions(-)

Re: [PATCH 48/87] rtl8723bs: os_dep: replace rtw_malloc and memset with rtw_zmalloc

2019-06-27 Thread Andy Shevchenko
On Thu, Jun 27, 2019 at 8:41 PM Fuqian Huang wrote: > > rtw_malloc + memset(0) -> rtw_zmalloc I have a feeling that everything under os_dep folder should be replaced with native kernel APIs. > drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 8 ++-- > drivers/staging/rtl8723bs/os_dep/io

Re: [PATCH V33 24/30] bpf: Restrict bpf when kernel lockdown is in confidentiality mode

2019-06-27 Thread James Morris
On Thu, 27 Jun 2019, Stephen Smalley wrote: > There are two scenarios where finer-grained distinctions make sense: > > - Users may need to enable specific functionality that falls under the > umbrella of "confidentiality" or "integrity" lockdown. Finer-grained lockdown > reasons free them from h

Re: [PATCH V2 2/2] mailbox: introduce ARM SMC based mailbox

2019-06-27 Thread Florian Fainelli
On 6/26/19 10:09 AM, Sudeep Holla wrote: > On Wed, Jun 26, 2019 at 09:44:06AM -0700, Florian Fainelli wrote: >> On 6/26/19 6:31 AM, Peng Fan wrote: > The firmware driver might not have func-id, such as SCMI/SCPI. > So add an optional func-id to let smc mailbox driver could > use smc SiP

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-27 Thread Paul E. McKenney
On Thu, Jun 27, 2019 at 01:46:27PM -0400, Joel Fernandes wrote: > On Thu, Jun 27, 2019 at 1:43 PM Joel Fernandes wrote: > > > > On Thu, Jun 27, 2019 at 11:40 AM Sebastian Andrzej Siewior > > wrote: > > > > > > On 2019-06-27 11:37:10 [-0400], Joel Fernandes wrote: > > > > Sebastian it would be nic

Re: LTP hugemmap05 test case failure on arm64 with linux-next (next-20190613)

2019-06-27 Thread Mike Kravetz
On 6/24/19 2:53 PM, Mike Kravetz wrote: > On 6/24/19 2:30 PM, Qian Cai wrote: >> So the problem is that ipcget_public() has held the semaphore "ids->rwsem" >> for >> too long seems unnecessarily and then goes to sleep sometimes due to direct >> reclaim (other times LTP hugemmap05 [1] has hugetlb_f

[Patch v3] staging: rtl8723bs: hal: sdio_halinit: Remove set but unused varilable pHalData

2019-06-27 Thread Hariprasad Kelam
Remove set but unsed variable pHalData in below functions _InitOperationMode, SetHwReg8723BS. Signed-off-by: Hariprasad Kelam --- v2 add clean change log v3 remove unneeded blank lines --- drivers/staging/rtl8723bs/hal/sdio_halinit.c | 5 - 1 file changed, 5 deletions(-) diff --git a/driver

Re: [PATCH] arm64: dts: qcom: qcs404: Add missing space for cooling-cells property

2019-06-27 Thread Amit Kucheria
On Thu, Jun 27, 2019 at 7:32 PM Niklas Cassel wrote: > > There should be a space both before and after the equal sign. > Add a missing space for the cooling cells property. > > Fixes: f48cee3239a1 ("arm64: dts: qcom: qcs404: Add thermal zones for each > sensor") > Signed-off-by: Niklas Cassel A

[PATCHv5 1/2] dt-bindings: coresight: Change CPU phandle to required property

2019-06-27 Thread Sai Prakash Ranjan
Do not assume the affinity to CPU0 if cpu phandle is omitted. Update the DT binding rules to reflect the same by changing it to a required property. Signed-off-by: Sai Prakash Ranjan Reviewed-by: Suzuki K Poulose --- .../devicetree/bindings/arm/coresight-cpu-debug.txt | 4 ++-- Documentat

[PATCHv5 0/2] coresight: Do not default to CPU0 for missing CPU phandle

2019-06-27 Thread Sai Prakash Ranjan
In case of missing CPU phandle, the affinity is set default to CPU0 which is not a correct assumption. Fix this in coresight platform to set affinity to invalid and abort the probe in drivers. Also update the dt-bindings accordingly. v5: * Separate out the dt-bindings patch. v4: * Fix return fo

[PATCHv5 2/2] coresight: Do not default to CPU0 for missing CPU phandle

2019-06-27 Thread Sai Prakash Ranjan
Coresight platform support assumes that a missing "cpu" phandle defaults to CPU0. This could be problematic and unnecessarily binds components to CPU0, where they may not be. In coresight etm and cpu-debug drivers, abort the probe for such cases. Signed-off-by: Sai Prakash Ranjan Reviewed-by: Suz

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-27 Thread Joel Fernandes
On Thu, Jun 27, 2019 at 10:38:31AM -0700, Paul E. McKenney wrote: > On Thu, Jun 27, 2019 at 12:47:24PM -0400, Joel Fernandes wrote: > > On Thu, Jun 27, 2019 at 11:55 AM Paul E. McKenney > > wrote: > > > > > > On Thu, Jun 27, 2019 at 11:30:31AM -0400, Joel Fernandes wrote: > > > > On Thu, Jun 27,

Re: [PATCH net-next] net: link_watch: prevent starvation when processing linkwatch wq

2019-06-27 Thread David Miller
From: Yunsheng Lin Date: Tue, 25 Jun 2019 10:28:04 +0800 > So It is ok for me to fall back to reschedule the link watch wq > every 100 items, or is there a better way to fix it properly? Yes, that is fine for now.

Re: [RESEND PATCH v2] mtd: spinand: read return badly if the last page has bitflips

2019-06-27 Thread Miquel Raynal
Hi Miquel, Miquel Raynal wrote on Thu, 27 Jun 2019 19:06:44 +0200: > Hello, > > Schrempf Frieder wrote on Tue, 25 Jun > 2019 07:04:06 +: > > > Hi liaoweixiong, > > > > On 25.06.19 05:08, Greg KH wrote: > > > On Tue, Jun 25, 2019 at 09:02:29AM +0800, liaoweixiong wrote: > > >> In ca

Re: [RESEND PATCHv4 1/1] coresight: Do not default to CPU0 for missing CPU phandle

2019-06-27 Thread Sai Prakash Ranjan
On 6/27/2019 10:54 PM, Mathieu Poirier wrote: I want to apply your code to my tree but it isn't easy for me to do so. Did you notice the checkpatch.pl warning about the DT bindings being in a separate patch? In this case it is not a new binding but following the process gives the DT maintainer

Re: [PATCH v2 1/7] clk: at91: sckc: add support to free slow oscillator

2019-06-27 Thread Stephen Boyd
Quoting Claudiu Beznea (2019-06-27 08:53:39) > Add support to free slow oscillator resources. > > Signed-off-by: Claudiu Beznea > Reviewed-by: Alexandre Belloni > --- Applied to clk-next

Re: [PATCH v2 2/7] clk: at91: sckc: add support to free slow rc oscillator

2019-06-27 Thread Stephen Boyd
Quoting Claudiu Beznea (2019-06-27 08:53:40) > Add support to free slow rc oscillator resources. > > Signed-off-by: Claudiu Beznea > Reviewed-by: Alexandre Belloni > --- Applied to clk-next

Re: [PATCH v2 3/7] clk: at91: sckc: add support to free slow clock osclillator

2019-06-27 Thread Stephen Boyd
Quoting Claudiu Beznea (2019-06-27 08:53:41) > Add support to free slow clock oscillator resources. > > Signed-off-by: Claudiu Beznea > Reviewed-by: Alexandre Belloni > --- Applied to clk-next

Re: [PATCH v2 5/7] clk: at91: sckc: remove unnecessary line

2019-06-27 Thread Stephen Boyd
Quoting Claudiu Beznea (2019-06-27 08:53:43) > Remove unnecessary line. > > Signed-off-by: Claudiu Beznea > Reviewed-by: Alexandre Belloni > --- Applied to clk-next

Re: [PATCH v2 4/7] clk: at91: sckc: improve error path for sam9x5 sck register

2019-06-27 Thread Stephen Boyd
Quoting Claudiu Beznea (2019-06-27 08:53:42) > Improve error path for sam9x5 slow clock registration. > > Signed-off-by: Claudiu Beznea > Reviewed-by: Alexandre Belloni > --- Applied to clk-next

Re: [PATCH v2 7/7] clk: at91: sckc: use dedicated functions to unregister clock

2019-06-27 Thread Stephen Boyd
Quoting Claudiu Beznea (2019-06-27 08:53:45) > Use at91 specific functions to free all resources in case of error. > > Signed-off-by: Claudiu Beznea > Reviewed-by: Alexandre Belloni > --- Applied to clk-next

Re: [PATCH v2 6/7] clk: at91: sckc: improve error path for sama5d4 sck registration

2019-06-27 Thread Stephen Boyd
Quoting Claudiu Beznea (2019-06-27 08:53:44) > Improve error path for sama5d4 sck registration. > > Signed-off-by: Claudiu Beznea > Reviewed-by: Alexandre Belloni > --- Applied to clk-next

Re: [PATCH 07/13] xfs: allow merging ioends over append boundaries

2019-06-27 Thread Darrick J. Wong
On Thu, Jun 27, 2019 at 12:48:30PM +0200, Christoph Hellwig wrote: > There is no real problem merging ioends that go beyond i_size into an > ioend that doesn't. We just need to move the append transaction to the > base ioend. Also use the opportunity to use a real error code instead > of the magi

Re: [PATCH v3 2/3] reset: qcom-pon: Add support for gen2 pon

2019-06-27 Thread Sebastian Reichel
Hi, On Sun, Jun 16, 2019 at 11:56:37AM -0700, Bjorn Andersson wrote: > On Fri 14 Jun 16:14 PDT 2019, John Stultz wrote: > > > Add support for gen2 pon register so "reboot bootloader" can > > work on pixel3 and db845. > > > > Cc: Andy Gross > > Cc: David Brown > > Cc: Bjorn Andersson > > Cc: A

Re: [PATCH v4 1/1] power: supply: Add HWMON compatibility layer

2019-06-27 Thread Sebastian Reichel
Hi, On Wed, Jun 12, 2019 at 01:44:04AM -0700, Andrey Smirnov wrote: > Add code implementing HWMON adapter/compatibility layer to allow > expositing various sensors present on power supply devices via HWMON > subsystem. This is done in order to allow userspace to use single > ABI/library(libsensors

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-27 Thread Joel Fernandes
On Thu, Jun 27, 2019 at 11:11:12AM -0700, Paul E. McKenney wrote: > On Thu, Jun 27, 2019 at 01:46:27PM -0400, Joel Fernandes wrote: > > On Thu, Jun 27, 2019 at 1:43 PM Joel Fernandes > > wrote: > > > > > > On Thu, Jun 27, 2019 at 11:40 AM Sebastian Andrzej Siewior > > > wrote: > > > > > > > > On

Re: [PATCH v5 05/26] leds: core: Add support for composing LED class device names

2019-06-27 Thread Jacek Anaszewski
Hi Oleh, On 6/26/19 10:07 PM, Oleh Kravchenko wrote: > Hello Jacek, > so after this patch will be merged. > > There will be a way to define custom function name by DeviceTree? Yes. We standardize LED functions just to avoid spreading many similarly looking function names with the same semantics.

Re: [PATCH] filesystem-dax: Disable PMD support

2019-06-27 Thread Dan Williams
On Thu, Jun 27, 2019 at 9:06 AM Dan Williams wrote: > > On Thu, Jun 27, 2019 at 5:34 AM Matthew Wilcox wrote: > > > > On Wed, Jun 26, 2019 at 05:15:45PM -0700, Dan Williams wrote: > > > Ever since the conversion of DAX to the Xarray a RocksDB benchmark has > > > been encountering intermittent loc

[PATCH] nfsd4: fix a deadlock on state owner replay mutex

2019-06-27 Thread 黄乐
from: Huang Le In move_to_close_lru(), which only be called on path of nfsd4 CLOSE op, the code could wait for its stid ref count drop to 2 while holding its state owner replay mutex. However, the other stid ref holder (normally a parallel CLOSE op) that move_to_close_lru() is waiting for might

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-27 Thread Paul E. McKenney
On Thu, Jun 27, 2019 at 11:11:12AM -0700, Paul E. McKenney wrote: > On Thu, Jun 27, 2019 at 01:46:27PM -0400, Joel Fernandes wrote: > > On Thu, Jun 27, 2019 at 1:43 PM Joel Fernandes > > wrote: > > > > > > On Thu, Jun 27, 2019 at 11:40 AM Sebastian Andrzej Siewior > > > wrote: > > > > > > > > On

[PATCH] nfsd4: fix a deadlock on state owner replay mutex

2019-06-27 Thread 黄乐
from: Huang Le In move_to_close_lru(), which only be called on path of nfsd4 CLOSE op, the code could wait for its stid ref count drop to 2 while holding its state owner replay mutex. However, the other stid ref holder (normally a parallel CLOSE op) that move_to_close_lru() is waiting for might

Re: [RFC PATCH v2 1/2] printk-rb: add a new printk ringbuffer implementation

2019-06-27 Thread Peter Zijlstra
On Thu, Jun 27, 2019 at 12:40:34AM +0200, Peter Zijlstra wrote: > You have a single linked list going from the tail to the head, while > adding to the head and removing from the tail. And that sounds like a > FIFO queue: > > struct lqueue_head { > struct lqueue_node *head, *tai

Re: [PATCH v4 0/2] Use NVMEM as reboot-mode write interface

2019-06-27 Thread Sebastian Reichel
Hi, On Wed, May 15, 2019 at 10:47:14AM +, Han Nandor wrote: > Description > --- > Extend the reboot mode driver to use a NVMEM cell as writing interface. > > Testing > --- > The testing is done by configuring DT from a custom board. > The NVMEM cell is configured in an RTC non-vol

Re: [PATCH] power: supply: fix semicolon.cocci warnings

2019-06-27 Thread Sebastian Reichel
Hi, On Sat, May 11, 2019 at 02:03:47AM +0800, kbuild test robot wrote: > From: kbuild test robot > > drivers/power/supply/ucs1002_power.c:339:2-3: Unneeded semicolon > > > Remove unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci Thanks, queued. -- Sebastian > F

Re: [PATCH v9 1/2] power_supply: wilco_ec: Add charging config driver

2019-06-27 Thread Sebastian Reichel
Hi, On Wed, May 08, 2019 at 02:38:25PM -0600, Nick Crews wrote: > Add a driver to control the charging algorithm used on Wilco > devices. See Documentation/ABI/testing/sysfs-class-power-wilco > for the userspace interface and other info. > > Signed-off-by: Nick Crews > Reviewed-by: Enric Balletb

Re: [PATCH v4 1/2] power: supply: add input power and voltage limit properties

2019-06-27 Thread Sebastian Reichel
Hi, I just queued both patches. Thanks for the detailed description and documentation. -- Sebastian On Tue, Jun 25, 2019 at 12:04:13PM +0200, Enric Balletbo Serra wrote: > Hi Sebastian, Pavel, > > Missatge de Benson Leung del dia dj., 23 de maig > 2019 a les 21:55: > > > > Hi Enric, > > > > On

Re: [PATCH] mm: vmscan: fix not scanning anonymous pages when detecting file refaults

2019-06-27 Thread Johannes Weiner
On Wed, Jun 19, 2019 at 04:08:35PM +0800, Kuo-Hsin Yang wrote: > When file refaults are detected and there are many inactive file pages, > the system never reclaim anonymous pages, the file pages are dropped > aggressively when there are still a lot of cold anonymous pages and > system thrashes. Th

Re: [RFC] Deadlock via recursive wakeup via RCU with threadirqs

2019-06-27 Thread Paul E. McKenney
On Thu, Jun 27, 2019 at 02:16:38PM -0400, Joel Fernandes wrote: > On Thu, Jun 27, 2019 at 10:38:31AM -0700, Paul E. McKenney wrote: > > On Thu, Jun 27, 2019 at 12:47:24PM -0400, Joel Fernandes wrote: > > > On Thu, Jun 27, 2019 at 11:55 AM Paul E. McKenney > > > wrote: > > > > > > > > On Thu, Jun

[PATCH 2/2] x86, mtrr: generic: Skip cache flushes on CPUs with cache self-snooping

2019-06-27 Thread Ricardo Neri
Programming MTRR registers in multi-processor systems is a rather lengthy process. Furthermore, all processors must program these registers in lock step and with interrupts disabled; the process also involves flushing caches and TLBs twice. As a result, the process may take a considerable amount of

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