RE: [PATCH v22 2/4] scsi: ufs: L2P map management for HPB read

2021-02-22 Thread Avri Altman
> + if (!ufshpb_is_hpb_rsp_valid(hba, lrbp, rsp_field)) > + return; > + > + hpb->stats.rb_noti_cnt++; > + switch (rsp_field->hpb_op) { > + case HPB_RSP_NONE: > + /* nothing to do */ > + break; Maybe checks this too in

Re: [PATCH v3 4/4] PCI: j721e: Add support to provide refclk to PCIe connector

2021-02-22 Thread Dan Carpenter
Hi Kishon, url: https://github.com/0day-ci/linux/commits/Kishon-Vijay-Abraham-I/AM64-Add-PCIe-bindings-and-driver-support/20210222-194422 base: https://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci.git next config: i386-randconfig-m021-20210222 (attached as .config) compiler: gcc-9

Re: [PATCH 02/13] dt-bindings: firmware: scm: Add SC7280 support

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:39) > Add compatible for SC7280 SoC > > Signed-off-by: Rajendra Nayak > --- Reviewed-by: Stephen Boyd

Re: [PATCH 01/13] dt-bindings: arm: qcom: Document SC7280 SoC and board

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:38) > Document the SC7280 SoC and the IDP board bindings > > Signed-off-by: Rajendra Nayak > --- Reviewed-by: Stephen Boyd

RE: [PATCH v22 2/4] scsi: ufs: L2P map management for HPB read

2021-02-22 Thread Avri Altman
> +/* > + * This function will parse recommended active subregion information in > sense > + * data field of response UPIU with SAM_STAT_GOOD state. > + */ > +void ufshpb_rsp_upiu(struct ufs_hba *hba, struct ufshcd_lrb *lrbp) > +{ > + struct ufshpb_lu *hpb; > + struct scsi_device

Re: [PATCH 13/13] arm64: dts: qcom: sc7280: Add cpuidle states

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:50) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 8f2002b..3b86052 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -186,12 +207,69 @@ >

Re: [PATCH v2 0/7] Allocate memmap from hotadded memory (per device)

2021-02-22 Thread Oscar Salvador
On Mon, Feb 22, 2021 at 12:28:22PM +0100, David Hildenbrand wrote: > -EBUSY, will try having a look this week! sure, thanks for the effort David ;-) -- Oscar Salvador SUSE L3

[PATCH] i2c/busses:remove unneeded variable: "ret"

2021-02-22 Thread dingsenjie
From: dingsenjie remove unneeded variable: "ret". Signed-off-by: dingsenjie --- drivers/i2c/busses/i2c-aspeed.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-aspeed.c b/drivers/i2c/busses/i2c-aspeed.c index 724bf30..efad900 100644 ---

[tip:x86/entry] BUILD SUCCESS 724c8a23d589d8a002d2e39633c2f9a5a429616f

2021-02-22 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig x86_64 randconfig-a001-20210222 x86_64 randconfig-a002-20210222 x86_64 randconfig-a003-20210222 x86_64

Re: [PATCH 11/13] arm64: dts: qcom: sc7280: Add APSS watchdog node

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:48) > From: Sai Prakash Ranjan > > Add APSS (Application Processor Subsystem) watchdog > DT node for SC7280 SoC. > > Signed-off-by: Sai Prakash Ranjan > Signed-off-by: Rajendra Nayak > --- Reviewed-by: Stephen Boyd

Re: [PATCH v3] erofs: support adjust lz4 history window size

2021-02-22 Thread Gao Xiang
On Tue, Feb 23, 2021 at 03:31:19PM +0800, Huang Jianan via Linux-erofs wrote: > lz4 uses LZ4_DISTANCE_MAX to record history preservation. When > using rolling decompression, a block with a higher compression > ratio will cause a larger memory allocation (up to 64k). It may > cause a large resource

Re: [PATCH 09/13] arm64: dts: qcom: Add reserved memory for fw

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:46) > From: Maulik Shah > > Add fw reserved memory area for CPUCP and AOP. Does CPUCP stand for CPU Content Protection? AOP is Always On Processor. It would help if the commit text told us what these acronyms were. > > Signed-off-by: Maulik Shah >

Re: [PATCH 10/13] dt-bindings: watchdog: Add compatible for SC7280 SoC

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:47) > From: Sai Prakash Ranjan > > Add compatible for watchdog timer on SC7280 SoC. > > Signed-off-by: Sai Prakash Ranjan > Signed-off-by: Rajendra Nayak > --- Reviewed-by: Stephen Boyd

Re: [PATCH 06/13] arm64: dts: qcom: SC7280: Add rpmhcc clock controller node

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:43) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 7848e88..10851e7 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -6,6 +6,7 @@ > */ > >

Re: [PATCH 07/13] dt-bindings: arm-smmu: Add compatible for SC7280 SoC

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:44) > From: Sai Prakash Ranjan > > Add the SoC specific compatible for SC7280 implementing > arm,mmu-500. > > Signed-off-by: Sai Prakash Ranjan > Signed-off-by: Rajendra Nayak > --- Reviewed-by: Stephen Boyd

Re: [PATCH] f2fs: compress: Allow modular (de)compression algorithms

2021-02-22 Thread Geert Uytterhoeven
Hi Yamada-san, On Tue, Feb 23, 2021 at 7:31 AM Masahiro Yamada wrote: > On Mon, Feb 22, 2021 at 9:59 PM Geert Uytterhoeven > wrote: > > If F2FS_FS is modular, enabling the compressions options > > F2FS_FS_{LZ4,LZ4HZ,LZO,LZORLE,ZSTD} will make the (de)compression > > algorithms

Re: [PATCH 05/13] arm64: dts: qcom: sc7280: Add RSC and PDC devices

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:42) > diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi > b/arch/arm64/boot/dts/qcom/sc7280.dtsi > index 1fe2eba..7848e88 100644 > --- a/arch/arm64/boot/dts/qcom/sc7280.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi > @@ -7,6 +7,7 @@ > > #include >

Re: [GIT PULL]: dmaengine updates for 5.12-rc1

2021-02-22 Thread Vinod Koul
On 23-02-21, 09:45, Vinod Koul wrote: > Hello Linus, > > Please consider merging to get dmaengine updates for this cycle. We have > couple of drivers removed a new driver and bunch of new device support > and few updates to drivers for this round. Sorry, not sure why I tagged it as PULL REQUEST,

Re: [PATCH 04/13] dt-bindings: qcom,pdc: Add compatible for sc7280

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:41) > Add the compatible string for sc7180 SoC from Qualcomm > > Signed-off-by: Rajendra Nayak > --- > Documentation/devicetree/bindings/interrupt-controller/qcom,pdc.txt | 1 + Is this being YAML-ified at some point?

Re: [PATCH 04/13] dt-bindings: qcom,pdc: Add compatible for sc7280

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:41) > Add the compatible string for sc7180 SoC from Qualcomm > > Signed-off-by: Rajendra Nayak > --- Reviewed-by: Stephen Boyd

Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup

2021-02-22 Thread Chaitanya Kulkarni
On 2/22/21 23:10, Christoph Hellwig wrote: > On Tue, Feb 23, 2021 at 03:51:23AM +, Chaitanya Kulkarni wrote: >> Looking at the other call sites do we need something like following ? >> Since __blk_queue_bounce() passes the NULL for the passthru case as a >> bio_set value ? > Well, that is a

[PATCH] perf-probe: dso: Add symbols in .text.* subsections to text symbol map in kenrel modules

2021-02-22 Thread Masami Hiramatsu
The kernel modules have .text.* subsections such as .text.unlikely. Since dso__process_kernel_symbol() only identify the symbols in the ".text" section as the text symbols and inserts it in the default dso in the map, the symbols in such subsections can not be found by map__find_symbol(). This

Re: [PATCH 03/13] arm64: dts: sc7280: Add basic dts/dtsi files for SC7280 soc

2021-02-22 Thread Stephen Boyd
Quoting Rajendra Nayak (2021-02-11 23:28:40) > Add initial device tree support for the SC7280 SoC and the IDP > boards based on this SoC > > Signed-off-by: Rajendra Nayak > --- Reviewed-by: Stephen Boyd > diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts >

Re: 'perf probe' and symbols from .text.

2021-02-22 Thread Masami Hiramatsu
On Tue, 23 Feb 2021 10:23:31 +0900 Masami Hiramatsu wrote: > On Mon, 22 Feb 2021 11:51:50 -0600 > Josh Poimboeuf wrote: > > > On Tue, Feb 23, 2021 at 12:05:08AM +0900, Masami Hiramatsu wrote: > > > > Of course, one could place probes using absolute addresses of the > > > > functions but that

Re: [PATCH] perf-probe: Failback to symbol-base probe for probes on module

2021-02-22 Thread Masami Hiramatsu
Please ignore this. I will send a better fix. Thanks, On Tue, 23 Feb 2021 10:48:30 +0900 Masami Hiramatsu wrote: > If an error occurs on post processing (this converts probe point to > _text relative address for identifying non-unique symbols) for the > probes on module, failback to

[PATCH v3] erofs: support adjust lz4 history window size

2021-02-22 Thread Huang Jianan
lz4 uses LZ4_DISTANCE_MAX to record history preservation. When using rolling decompression, a block with a higher compression ratio will cause a larger memory allocation (up to 64k). It may cause a large resource burden in extreme cases on devices with small memory and a large number of concurrent

Re: [PATCH] scripts/gdb: document lx_current is only supported by x86

2021-02-22 Thread Jan Kiszka
On 22.02.21 22:18, Song Bao Hua (Barry Song) wrote: > > >> -Original Message- >> From: Kieran Bingham [mailto:kieran.bing...@ideasonboard.com] >> Sent: Tuesday, February 23, 2021 12:06 AM >> To: Song Bao Hua (Barry Song) ; cor...@lwn.net; >> linux-...@vger.kernel.org;

[PATCH v2] iio: core: use kstrdup_const/kfree_const for buffer attributes

2021-02-22 Thread Alexandru Ardelean
When the buffer attributes were wrapped in iio_dev_attr types, I forgot to duplicate the names, so that when iio_free_chan_devattr_list() gets called on cleanup, these get free'd. I stumbled over this while accidentally breaking a driver doing iio_device_register(), and then the issue appeared.

Re: [PULL] fixes around VM_PFNMAP and follow_pfn for 5.12 merge window

2021-02-22 Thread Daniel Vetter
On Tue, Feb 23, 2021 at 2:42 AM Linus Torvalds wrote: > > On Mon, Feb 22, 2021 at 2:25 AM Daniel Vetter wrote: > > > > Cc all the mailing lists ... my usual script crashed and I had to > > hand-roll the email and screwed it up ofc :-/ > > Oh, and my reply thus also became just a reply to you

Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup

2021-02-22 Thread Christoph Hellwig
On Tue, Feb 23, 2021 at 08:04:08AM +0100, Christoph Hellwig wrote: > The problem is that the blk-crypto fallback code calls bio_split > with a NULL bioset. That was aready broken before, as the mempool > needed to guarantee forward progress was missing, but is not fatal. > > Satya, can you look

Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup

2021-02-22 Thread Chaitanya Kulkarni
On 2/22/21 23:10, Christoph Hellwig wrote: > Well, that is a somewhat odd calling convention. What about the patch below > instead? That being we really need to kill this bouncing code off.. If we can kill it off soon it will be great. > > diff --git a/block/bounce.c b/block/bounce.c > index

Re: [PATCH v4 bpf-next 2/6] bpf: prevent deadlock from recursive bpf_task_storage_[get|delete]

2021-02-22 Thread Andrii Nakryiko
On Mon, Feb 22, 2021 at 11:16 PM Song Liu wrote: > > > > > On Feb 22, 2021, at 10:21 PM, Andrii Nakryiko > > wrote: > > > > On Mon, Feb 22, 2021 at 5:23 PM Song Liu wrote: > >> > >> BPF helpers bpf_task_storage_[get|delete] could hold two locks: > >> bpf_local_storage_map_bucket->lock and

Re: [PATCH v6 0/2] add support for GPIO or IRQ based evemt counter

2021-02-22 Thread Oleksij Rempel
Hi William, On Mon, Feb 22, 2021 at 10:48:56AM +0900, William Breathitt Gray wrote: > On Tue, Feb 16, 2021 at 09:13:54AM +0100, Oleksij Rempel wrote: > > changes v6: > > - rename it to interrupt-counter > > Hi Oleksij, > > Sorry to nitpick again, I think "irq-counter" as Jonathan suggested in >

Re: [PATCH 5.4 00/13] 5.4.100-rc1 review

2021-02-22 Thread Naresh Kamboju
On Mon, 22 Feb 2021 at 17:46, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.4.100 release. > There are 13 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > >

Re: [PATCH v4 bpf-next 2/6] bpf: prevent deadlock from recursive bpf_task_storage_[get|delete]

2021-02-22 Thread Song Liu
> On Feb 22, 2021, at 10:21 PM, Andrii Nakryiko > wrote: > > On Mon, Feb 22, 2021 at 5:23 PM Song Liu wrote: >> >> BPF helpers bpf_task_storage_[get|delete] could hold two locks: >> bpf_local_storage_map_bucket->lock and bpf_local_storage->lock. Calling >> these helpers from fentry/fexit

Re: [PATCH v2] memcg: charge before adding to swapcache on swapin

2021-02-22 Thread kernel test robot
Hi Shakeel, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on next-20210222] [cannot apply to linus/master hnaz-linux-mm/master v5.11 v5.11-rc7 v5.11-rc6 v5.11] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

mipsel-linux-ld: warning: orphan section `.data.$LPBX1' from `arch/mips/kernel/perf_regs.o' being placed in section `.data.$LPBX1'

2021-02-22 Thread kernel test robot
-randconfig-r014-20210222 (attached as .config) compiler: mipsel-linux-gcc (GCC) 9.3.0 reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm

[PATCH v9 4/7] crypto: and expose ecc curves

2021-02-22 Thread Meng Yu
Move 'ecc_get_curve' to 'include/crypto/ecc_curve.h', so everyone in kernel tree can easily get ecc curve params; Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- crypto/ecc.c | 5 - crypto/ecc.h | 37 ++-- include/crypto/ecc_curve.h

[PATCH v9 0/7] add ECDH and CURVE25519 algorithms support for Kunpeng 930

2021-02-22 Thread Meng Yu
1. Move curve ID from the key into the algorithm name (like 'ecdh-nist-pxxx' so we get its tfm like 'crypto_alloc_kpp("ecdh-nist-p256", 0, 0)'), in 'crypto/ecc.c' (has been verified by testmgr) and 'crypto/atmel-ecc.c' (only compiled, not do test), and modify 'testmgr.c' and

[PATCH v9 7/7] crypto: hisilicon/hpre - add 'CURVE25519' algorithm

2021-02-22 Thread Meng Yu
Enable 'CURVE25519' algorithm in Kunpeng 930. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu Reported-by: kernel test robot --- drivers/crypto/hisilicon/Kconfig| 1 + drivers/crypto/hisilicon/hpre/hpre.h| 2 + drivers/crypto/hisilicon/hpre/hpre_crypto.c | 366

[PATCH v9 6/7] crypto: add curve25519 params and expose them

2021-02-22 Thread Meng Yu
1. Add curve 25519 parameters in 'crypto/ecc_curve_defs.h'; 2. Add curve25519 interface 'ecc_get_curve25519_param' in 'include/crypto/ecc_curve.h', to make its parameters be exposed to everyone in kernel tree. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- crypto/ecc.c |

[PATCH v9 2/7] crypto: hisilicon/hpre - add algorithm type

2021-02-22 Thread Meng Yu
Algorithm type is brought in to get hardware HPRE queue to support different algorithms. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre.h| 10 +- drivers/crypto/hisilicon/hpre/hpre_crypto.c | 12 ++--

[PATCH v9 5/7] crypto: hisilicon/hpre - add 'ECDH' algorithm

2021-02-22 Thread Meng Yu
1. Enable 'ECDH' algorithm in Kunpeng 930; 2. HPRE ECDH Support: ecdh-nist-p192, ecdh-nist-p256. Signed-off-by: Meng Yu Reviewed-by: Zaibo Xu --- drivers/crypto/hisilicon/hpre/hpre.h| 2 +- drivers/crypto/hisilicon/hpre/hpre_crypto.c | 515 +++-

[PATCH v9 3/7] crypto: move curve_id of ECDH from the key to algorithm name

2021-02-22 Thread Meng Yu
1. crypto and crypto/atmel-ecc: Move curve id of ECDH from the key into the algorithm name instead in crypto and atmel-ecc, so ECDH algorithm name change form 'ecdh' to 'ecdh-nist-pxxx', and we cannot use 'curve_id' in 'struct ecdh'; 2. crypto/testmgr and net/bluetooth: Modify

[PATCH v9 1/7] crypto: hisilicon/hpre - add version adapt to new algorithms

2021-02-22 Thread Meng Yu
A new generation of accelerator Kunpeng930 has appeared, and the corresponding driver needs to be updated to support some new algorithms of Kunpeng930. To be compatible with Kunpeng920, we add parameter 'struct hisi_qm *qm' to sec_algs_(un)register to identify the chip's version. Signed-off-by:

Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup

2021-02-22 Thread Christoph Hellwig
On Mon, Feb 22, 2021 at 08:22:09PM -0800, John Stultz wrote: > I'm wondering if given there are multiple call sites, that in > bio_alloc_bioset() would something like the following make more sense? > (apologies, copy pasted so this is whitespace corrupted) > thanks No. The fallback from the

Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup

2021-02-22 Thread Christoph Hellwig
On Tue, Feb 23, 2021 at 03:51:23AM +, Chaitanya Kulkarni wrote: > Looking at the other call sites do we need something like following ? > Since __blk_queue_bounce() passes the NULL for the passthru case as a > bio_set value ? Well, that is a somewhat odd calling convention. What about the

Re: 'perf probe' and symbols from .text.

2021-02-22 Thread Masami Hiramatsu
Hi, On Tue, 23 Feb 2021 00:05:08 +0900 Masami Hiramatsu wrote: > > /* Adjust symbol name and address */ > static int post_process_probe_trace_point(struct probe_trace_point *tp, >struct map *map, unsigned long > offs) > { > struct

drivers/video/fbdev/aty/atyfb_base.c:2002:7: error: implicit declaration of function 'aty_ld_lcd'

2021-02-22 Thread kernel test robot
Hi Vaibhav, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 3b9cdafb5358eb9f3790de2f728f765fef100731 commit: 4e139a9abb007370e8d0266ea31192e606c800cf fbdev: aty: remove CONFIG_PM container date: 5 months ago

Re: [PATCH v2] rtw88: 8822ce: fix wifi disconnect after S3/S4 on HONOR laptop

2021-02-22 Thread Kalle Valo
Pkshih writes: >> > --- a/drivers/net/wireless/realtek/rtw88/rtw8822ce.c >> > +++ b/drivers/net/wireless/realtek/rtw88/rtw8822ce.c >> > @@ -25,7 +25,6 @@ static struct pci_driver rtw_8822ce_driver = { >> >   .id_table = rtw_8822ce_id_table, >> >   .probe = rtw_pci_probe, >> >   .remove =

Re: [REGRESSION] "split bio_kmalloc from bio_alloc_bioset" causing crash shortly after bootup

2021-02-22 Thread Christoph Hellwig
The problem is that the blk-crypto fallback code calls bio_split with a NULL bioset. That was aready broken before, as the mempool needed to guarantee forward progress was missing, but is not fatal. Satya, can you look into adding a mempool that can guarantees forward progress here?

[PATCH net v4 1/1] net: introduce CAN specific pointer in the struct net_device

2021-02-22 Thread Oleksij Rempel
Since 20dd3850bcf8 ("can: Speed up CAN frame receiption by using ml_priv") the CAN framework uses per device specific data in the AF_CAN protocol. For this purpose the struct net_device->ml_priv is used. Later the ml_priv usage in CAN was extended for other users, one of them being CAN_J1939.

Re: [PATCH] arp: Remove the arp_hh_ops structure

2021-02-22 Thread Yejune Deng
Thank you for the clarification. On Tue, Feb 23, 2021 at 12:07 AM David Ahern wrote: > > On 2/22/21 1:37 AM, Eric Dumazet wrote: > > > > > > On 2/22/21 4:15 AM, Yejune Deng wrote: > >> The arp_hh_ops structure is similar to the arp_generic_ops structure. > >> but the latter is more general,so

Re: [PATCH v2] memcg: charge before adding to swapcache on swapin

2021-02-22 Thread kernel test robot
Hi Shakeel, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20210222] [cannot apply to linus/master hnaz-linux-mm/master v5.11 v5.11-rc7 v5.11-rc6 v5.11] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we

Re: [PATCH net v3] net: introduce CAN specific pointer in the struct net_device

2021-02-22 Thread Oleksij Rempel
Hi Jakub, On Mon, Feb 22, 2021 at 05:30:12PM -0800, Jakub Kicinski wrote: > On Mon, 22 Feb 2021 16:02:51 +0100 Oleksij Rempel wrote: > > Since 20dd3850bcf8 ("can: Speed up CAN frame receiption by using > > ml_priv") the CAN framework uses per device specific data in the AF_CAN > > protocol. For

Re: [PATCH 10/10] clocksource/drivers/hyper-v: Move handling of STIMER0 interrupts

2021-02-22 Thread Boqun Feng
On Wed, Jan 27, 2021 at 12:23:45PM -0800, Michael Kelley wrote: > STIMER0 interrupts are most naturally modeled as per-cpu IRQs. But > because x86/x64 doesn't have per-cpu IRQs, the core STIMER0 interrupt > handling machinery is done in code under arch/x86 and Linux IRQs are > not used. Adding

Re: [PATCH] sound: core: fixed coding style errors

2021-02-22 Thread Rajesh Kumbhakar
Alright, I will resubmit the patch.

[PATCH] drivers: staging: wimax: fix code style issues

2021-02-22 Thread Hassan Shahbazi
Fixes 'WARNING: Missing a blank line after declarations' generated by checkpatch.pl script. Signed-off-by: Hassan Shahbazi --- drivers/staging/wimax/stack.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/wimax/stack.c b/drivers/staging/wimax/stack.c index

Re: [PATCH] sound: core: fixed coding style errors

2021-02-22 Thread Takashi Iwai
On Mon, 22 Feb 2021 20:41:56 +0100, Rajesh Kumbhakar wrote: > > fixing ERROR: "foo * bar" should be "foo *bar" > fixing WARNING: Missing a blank line after declarations > > Signed-off-by: Rajesh Kumbhakar > --- > sound/core/hwdep_compat.c | 4 +++- > 1 file changed, 3 insertions(+), 1

Re: [PATCH 1/2] iio: core: use kfree_const in iio_free_chan_devattr_list() to free names

2021-02-22 Thread Alexandru Ardelean
On Mon, Feb 22, 2021 at 6:06 PM Jonathan Cameron wrote: > > On Fri, 19 Feb 2021 10:58:25 +0200 > Alexandru Ardelean wrote: > > > When the buffer attributes were wrapped in iio_dev_attr types, I forgot to > > duplicate the names, so that when iio_free_chan_devattr_list() gets called > > on

linux-next: Tree for Feb 23

2021-02-22 Thread Stephen Rothwell
Hi all, Please do not add any changes destined for v5.13 to your linux-next included branches until after v5.12-rc1 has been released. Changes since 20210222: The kbuild tree gained a conflict against Linus' tree and lost its build failure. The pci tree gained a conflict against Linus' tree

Re: [PATCH v3 6/6] iio: buffer-dma: add support for cyclic DMA transfers

2021-02-22 Thread Alexandru Ardelean
On Sun, Feb 21, 2021 at 2:11 PM Jonathan Cameron wrote: > > On Fri, 19 Feb 2021 14:40:12 +0200 > Alexandru Ardelean wrote: > > > From: Lars-Peter Clausen > > > > This change adds support for cyclic DMA transfers using the IIO buffer DMA > > infrastructure. > > To do this, userspace must set the

Re: [PATCH] f2fs: compress: Allow modular (de)compression algorithms

2021-02-22 Thread Masahiro Yamada
On Mon, Feb 22, 2021 at 9:59 PM Geert Uytterhoeven wrote: > > If F2FS_FS is modular, enabling the compressions options > F2FS_FS_{LZ4,LZ4HZ,LZO,LZORLE,ZSTD} will make the (de)compression > algorithms {LZ4,LZ4HC,LZO,ZSTD}_{,DE}COMPRESS builtin instead of > modular, as the former depend on an

Re: [REGRESSION] "add a disk_uevent helper" breaks booting Andorid w/ dynamic partitions

2021-02-22 Thread Christoph Hellwig
Please try the patch below: --- >From 85943345b41ec04f5a9e92dfad85b0fb24e2d2eb Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 23 Feb 2021 07:28:22 +0100 Subject: block: don't skip empty device in in disk_uevent Restore the previous behavior by using the correct flag for the whole

Re: [PATCH] kunit: tool: Fix a python tuple typing error

2021-02-22 Thread Daniel Latypov
On Mon, Feb 22, 2021 at 9:49 PM 'David Gow' via KUnit Development wrote: > > The first argument to namedtuple() should match the name of the type, > which wasn't the case for KconfigEntryBase. > > Fixing this is enough to make mypy show no python typing errors again. Ah, this is something

Re: [PATCH v4 bpf-next 5/6] bpf: runqslower: prefer using local vmlimux to generate vmlinux.h

2021-02-22 Thread Andrii Nakryiko
On Mon, Feb 22, 2021 at 5:24 PM Song Liu wrote: > > Update the Makefile to prefer using $(O)/mvlinux, $(KBUILD_OUTPUT)/vmlinux > (for selftests) or ../../../vmlinux. These two files should have latest > definitions for vmlinux.h. > > Signed-off-by: Song Liu > --- Acked-by: Andrii Nakryiko >

[PATCH] perf tools: check perf_event_paranoid and kptr_restrict on 'perf top'

2021-02-22 Thread Jackie Liu
Perf top will segfault, we should give prompt information like perf record instead of crashing directly. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Jackie Liu ---

[PATCH] selftests: timers: remove unneeded semicolon

2021-02-22 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./tools/testing/selftests/timers/alarmtimer-suspend.c:82:2-3: Unneeded semicolon. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- tools/testing/selftests/timers/alarmtimer-suspend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v4 bpf-next 2/6] bpf: prevent deadlock from recursive bpf_task_storage_[get|delete]

2021-02-22 Thread Andrii Nakryiko
On Mon, Feb 22, 2021 at 5:23 PM Song Liu wrote: > > BPF helpers bpf_task_storage_[get|delete] could hold two locks: > bpf_local_storage_map_bucket->lock and bpf_local_storage->lock. Calling > these helpers from fentry/fexit programs on functions in bpf_*_storage.c > may cause deadlock on either

Re: [PATCH v3 1/1] security: Add CONFIG_LSM_AUTO to handle default LSM stack ordering

2021-02-22 Thread Nicolas Iooss
On Mon, Feb 22, 2021 at 11:46 PM Casey Schaufler wrote: > > > On 2/22/2021 1:12 PM, Nicolas Iooss wrote: > > On Mon, Feb 22, 2021 at 9:32 PM Casey Schaufler > > wrote: > >> On 2/22/2021 10:31 AM, Mickaël Salaün wrote: > >>> On 22/02/2021 17:51, Casey Schaufler wrote: > On 2/22/2021 7:06

[PATCH 7/8] ARM: mstar: Add OPP table for infinity3

2021-02-22 Thread Daniel Palmer
The infinity3 has a slightly higher max frequency compared to the infinity so extend the OPP table. Co-authored-by: Willy Tarreau Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-infinity3.dtsi | 58 ++ 1 file changed, 58 insertions(+) diff --git

[PATCH 6/8] ARM: mstar: Add OPP table for infinity

2021-02-22 Thread Daniel Palmer
Add an OPP table for the inifinity chips so that cpu frequency scaling can happen. Co-authored-by: Willy Tarreau Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-infinity.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git

[PATCH 8/8] ARM: mstar: Add OPP table for mercury5

2021-02-22 Thread Daniel Palmer
Add an OPP table for mercury5 so that cpu frequency scaling can happen. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-mercury5.dtsi | 36 +++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/mstar-mercury5.dtsi

[PATCH 5/8] ARM: mstar: Link cpupll to second core

2021-02-22 Thread Daniel Palmer
The second core also sources it's clock from the CPU PLL. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-infinity2m.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/mstar-infinity2m.dtsi b/arch/arm/boot/dts/mstar-infinity2m.dtsi index

[PATCH V4 3/3] vdpa: introduce virtio pci driver

2021-02-22 Thread Jason Wang
This patch introduce a vDPA driver for virtio-pci device. It bridges the virtio-pci control command to the vDPA bus. This will be used for features prototyping and testing. Note that get/restore virtqueue state is not supported which needs extension on the virtio specification. Signed-off-by:

[PATCH V4 2/3] vdpa: set the virtqueue num during register

2021-02-22 Thread Jason Wang
This patch delay the queue number setting to vDPA device registering. This allows us to probe the virtqueue numbers between device allocation and registering. Reviewed-by: Stefano Garzarella Signed-off-by: Jason Wang --- drivers/vdpa/ifcvf/ifcvf_main.c | 5 ++---

[PATCH V4 1/3] virtio: don't prompt CONFIG_VIRTIO_PCI_MODERN

2021-02-22 Thread Jason Wang
We used to prompt CONFIG_VIRTIO_PCI_MODERN to user which may bring a lot of confusion. E.g it may break various default configs which want virtio devices. So this patch fixes this by hiding the prompot and documenting the dependency. While at it, rename the module to VIRTIO_PCI_LIB. Cc: Arnd

[PATCH 4/8] ARM: mstar: Link cpupll to cpu

2021-02-22 Thread Daniel Palmer
The CPU clock is sourced from the CPU PLL. Link cpupll to the cpu so that frequency scaling can happen. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-v7.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index

[PATCH V4 0/3] virtio-pci: introduce modern device module

2021-02-22 Thread Jason Wang
Hi all: This series tries to implement a vDPA driver for virtio-pci device which will bridge between vDPA bus and virtio-pci device. This could be used for future feature prototyping and testing. Please review Changes since V4: - include the patch to let VIRTIO_PCI_LIB to be auto selected -

[PATCH 3/8] ARM: mstar: Add cpupll to base dtsi

2021-02-22 Thread Daniel Palmer
All MStar/SigmaStar ARMv7 SoCs have the CPU PLL at the same place so add it to the base dtsi. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-v7.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index

[PATCH 2/8] clk: mstar: msc313 cpupll clk driver

2021-02-22 Thread Daniel Palmer
Add a driver for the CPU pll/ARM pll/MIPS pll that is present in MStar SoCs. Currently there is no documentation for this block so it's possible this driver isn't entirely correct. Only tested on the version of this IP in the MStar/SigmaStar ARMv7 SoCs. Co-authored-by: Willy Tarreau

[PATCH 1/8] dt-bindings: clk: mstar msc313 cpupll binding description

2021-02-22 Thread Daniel Palmer
Add a binding description for the MStar/SigmaStar CPU PLL block. Signed-off-by: Daniel Palmer --- .../bindings/clock/mstar,msc313-cpupll.yaml | 45 +++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/mstar,msc313-cpupll.yaml diff

Re: [f2fs-dev] [PATCH v2] f2fs: fix a spelling error

2021-02-22 Thread Chao Yu
On 2021/2/23 9:31, Yehan Xu wrote: From: xuyehan Delete the letter 'e' before 'number' Signed-off-by: xuyehan Reviewed-by: Chao Yu Thanks,

RE: [Linuxarm] Re: [PATCH] Documentation/features: mark BATCHED_UNMAP_TLB_FLUSH doesn't apply to ARM64

2021-02-22 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Anshuman Khandual [mailto:anshuman.khand...@arm.com] > Sent: Tuesday, February 23, 2021 7:10 PM > To: Song Bao Hua (Barry Song) ; cor...@lwn.net; > linux-...@vger.kernel.org; a...@linux-foundation.org; linux...@kvack.org > Cc:

[PATCH 0/8] ARM: mstar: cpupll

2021-02-22 Thread Daniel Palmer
This series adds a scrappy driver for the PLL that generates the cpu clock on MStar/SigmaStar ARMv7 SoCs. Unfortunately there isn't much documentation for this thing so there are few magic values and guesses. This needs to come after the MPLL DT changes. Daniel Palmer (8): dt-bindings: clk:

Re: [PATCH 0/2] optee: fix OOM seen due to tee_shm_free()

2021-02-22 Thread Allen Pais
The following out of memory errors are seen on kexec reboot from the optee core. [0.368428] tee_bnxt_fw optee-clnt0: tee_shm_alloc failed [0.368461] tee_bnxt_fw: probe of optee-clnt0 failed with error -22 tee_shm_release() is not invoked on dma shm buffer. Implement

[PATCH] drm/amd/display: Remove unnecessary conversion to bool

2021-02-22 Thread Jiapeng Chong
Fix the following coccicheck warnings: ./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8260:16-21: WARNING: conversion to bool not needed here. Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 +-- 1 file changed, 1

Re: [PATCH] Documentation/features: mark BATCHED_UNMAP_TLB_FLUSH doesn't apply to ARM64

2021-02-22 Thread Anshuman Khandual
On 2/23/21 6:02 AM, Barry Song wrote: > BATCHED_UNMAP_TLB_FLUSH is used on x86 to do batched tlb shootdown by > sending one IPI to TLB flush all entries after unmapping pages rather > than sending an IPI to flush each individual entry. > On arm64, tlb shootdown is done by hardware. Flush

Re: [PATCH V3 XRT Alveo 02/18] fpga: xrt: driver metadata helper functions

2021-02-22 Thread Lizhi Hou
Hi Tom, On 02/20/2021 09:07 AM, Tom Rix wrote: On 2/17/21 10:40 PM, Lizhi Hou wrote: XRT drivers use device tree as metadata format to discover HW subsystems behind PCIe BAR. Thus libfdt functions are called for driver to parse for the driver to parse the will fix. device tree blob.

[PATCH -next] docs: proc.rst: fix indentation warning

2021-02-22 Thread Randy Dunlap
Fix indentation snafu in proc.rst as reported by Stephen. next-20210219/Documentation/filesystems/proc.rst:697: WARNING: Unexpected indentation. Fixes: 93ea4a0b8fce ("Documentation: proc.rst: add more about the 6 fields in loadavg") Reported-by: Stephen Rothwell Signed-off-by: Randy Dunlap

Re: hi

2021-02-22 Thread dr bharati ghosh

[PATCH v2] memcg: charge before adding to swapcache on swapin

2021-02-22 Thread Shakeel Butt
Currently the kernel adds the page, allocated for swapin, to the swapcache before charging the page. This is fine but now we want a per-memcg swapcache stat which is essential for folks who wants to transparently migrate from cgroup v1's memsw to cgroup v2's memory and swap counters. In addition

[PATCH net v2 2/2] can: fix ref count warning if socket was closed before skb was cloned

2021-02-22 Thread Oleksij Rempel
There are two ref count variables controlling the free()ing of a socket: - struct sock::sk_refcnt - which is changed by sock_hold()/sock_put() - struct sock::sk_wmem_alloc - which accounts the memory allocated by the skbs in the send path. If the socket is closed the struct sock::sk_refcnt will

[PATCH net v2 1/2] skbuff: skb_clone_sk_optional(): add function to always clone a skb and increase refcount on sk if valid

2021-02-22 Thread Oleksij Rempel
There already the function skb_clone_sk(), which clones the skb, but only if the sk is valid. There are several users in the networking stack, which always need a clone of a skb with the sk refcount incremented (but only if the sk is valid). This patch adds such a function. Signed-off-by:

[PATCH net v2 0/2] add support for skb with sk ref cloning

2021-02-22 Thread Oleksij Rempel
changes v2: - drop mac80211 patch for now, it can go separately if needed Hello, this series tries to fix a long standing problem in the CAN echo SKB handling. The problem shows up if an echo SKB for a SKB that references an already closed socket is created. It looks like the mac80211/tx.c has

[PATCH 1/3] entry: Check that syscall entries and syscall exits match

2021-02-22 Thread Andy Lutomirski
If arch code calls the wrong kernel entry helpers, syscall entries and exits can get out of sync. Add a new field to task_struct to track the syscall state and validate that it transitions correctly. Signed-off-by: Andy Lutomirski --- I'm not in love with this patch. I'm imagining moving

[PATCH 2/3] x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls

2021-02-22 Thread Andy Lutomirski
On a 32-bit fast syscall that fails to read its arguments from user memory, the kernel currently does syscall exit work but not syscall exit work. This would confuse audit and ptrace. This is a minimal fix intended for ease of backporting. A more complete cleanup is coming. Cc:

[PATCH 1/1] vsprintf: dump full information of page flags in pGp fix

2021-02-22 Thread Yafang Shao
The name of the flag should be printed using default_str_spec. There's no difference in the output after this change because the string is printed as-is with both default_dec_spec and default_flag_spec. This patch is a followup of the patchset "mm, vsprintf: dump full information of page flags in

[PATCH 0/3] x86/entry: A compat syscall bugfix and some test stuff

2021-02-22 Thread Andy Lutomirski
The compat syscall argument fixup error path is wrong. Fix it. This also adds some sanity checks to the kernel that catch the bug when running selftests. Andy Lutomirski (3): entry: Check that syscall entries and syscall exits match x86/entry: Fix entry/exit mismatch on failed fast 32-bit

[PATCH 3/3] selftests/x86: Add a missing .note.GNU-stack section to thunks_32.S

2021-02-22 Thread Andy Lutomirski
test_syscall_vdso_32 ended up with an executable stacks because the asm was missing the annotation that says that it is modern and doesn't need an executable stack. Add the annotation. This was missed in commit aeaaf005da1d ("selftests/x86: Add missing .note.GNU-stack sections"). Signed-off-by:

  1   2   3   4   5   6   7   8   9   10   >