linux-next: manual merge of the cel tree with the cel-fixes tree

2021-03-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the cel tree got a conflict in: net/sunrpc/xprtrdma/svc_rdma_recvfrom.c between commit: bade4be69a6e ("svcrdma: Revert "svcrdma: Reduce Receive doorbell rate"") from the cel-fixes tree and commit: 898d455e7277 ("svcrdma: Add a "deferred close" helper"

ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!

2021-03-14 Thread kernel test robot
: arm-randconfig-r024-20210314 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin

[PATCH 0/3] Refine mtk-cmdq-mailbox callback mechanism

2021-03-14 Thread Chun-Kuang Hu
mtk-cmdq-mailbox use proprietary callback mechanism and proprietary error number, but these could be replaced by standard callback mechanism and standard error number. In addition, use cmdq_pkt as callback data to prevent redundnat assignment. Because client driver still use proprietary mechanism,

[PATCH 1/3] mailbox: mtk-cmdq: Remove cmdq_cb_status

2021-03-14 Thread Chun-Kuang Hu
cmdq_cb_status is an error status. Use the standard error number instead of cmdq_cb_status to prevent status duplication. Cc: Jassi Brar Cc: Matthias Brugger Cc: Houlong Wei Cc: Bibby Hsieh Cc: Dennis YC Hsieh Cc: linux-kernel@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Cc: linux

[PATCH 3/3] mailbox: mtk-cmdq: Add struct cmdq_pkt in struct cmdq_cb_data

2021-03-14 Thread Chun-Kuang Hu
Current client use 'struct cmdq_pkt' as callback data, so change 'void *data' to 'struct cmdq_pkt *pkt'. Keep data until client use pkt instead of data. Cc: Jassi Brar Cc: Matthias Brugger Cc: Houlong Wei Cc: Bibby Hsieh Cc: Dennis YC Hsieh Cc: linux-kernel@vger.kernel.org Cc: linux-arm-ker..

[PATCH 2/3] mailbox: mtk-cmdq: Use mailbox rx_callback

2021-03-14 Thread Chun-Kuang Hu
rx_callback is a standard mailbox callback mechanism and could cover the function of proprietary cmdq_task_cb, so use the standard one instead of the proprietary one. But the client driver has already used cmdq_task_cb, so keep cmdq_task_cb until all client driver use rx_callback instead of cmdq_ta

Re: Linux 5.12-rc3

2021-03-14 Thread Bhaskar Chowdhury
On 15:27 Sun 14 Mar 2021, Linus Torvalds wrote: On Sun, Mar 14, 2021 at 3:00 PM Linus Torvalds wrote: So rc3 is pretty big this time around, [..] Oh, and I had planned to mention the historical note that goes along with today's date, but then entirely forgot. Some people think today is π-da

Re: [PATCH V5 0/2] power: bq27xxx: add bq78z100

2021-03-14 Thread Sebastian Reichel
Hi, On Fri, Mar 05, 2021 at 06:49:47AM +, LI Qingwu wrote: > Changes in V5: > > 1. Change [BQ27XXX_REG_TTES] from INVALID_REG_ADDR to 0x1c, > the StandbyTimeToEmpty command of bq78z100. > 2. Add [BQ27XXX_REG_RC] = 0x10. the RemainingCapacity command of > bq78z100. > 3. Set [BQ27XXX_REG_AE] to

Re: [PATCH 2/4] PCI: Add new bitmap for keeping track of supported reset mechanisms

2021-03-14 Thread Pali Rohár
On Friday 12 March 2021 23:04:50 ameynarkhed...@gmail.com wrote: > From: Amey Narkhede > > Introduce a new bitmap reset_methods in struct pci_dev > to keep track of reset mechanisms supported by the > device. Also refactor probing and reset functions > to take advantage of calling convention of r

Re: [PATCH 3/4] PCI: Remove reset_fn field from pci_dev

2021-03-14 Thread Pali Rohár
On Friday 12 March 2021 23:04:51 ameynarkhed...@gmail.com wrote: > From: Amey Narkhede > > reset_fn field is used to indicate whether the > device supports any reset mechanism or not. > Deprecate use of reset_fn in favor of new > reset_methods bitmap which can be used to keep > track of all suppo

Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism

2021-03-14 Thread Pali Rohár
On Friday 12 March 2021 23:04:52 ameynarkhed...@gmail.com wrote: > From: Amey Narkhede > > Add reset_methods_enabled bitmap to struct pci_dev to > keep track of user preferred device reset mechanisms. > Add reset_method sysfs attribute to query and set > user preferred device reset mechanisms. >

Re: [PATCH] scripts: Mere typo fixes in the file kallsyms.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 3:32 PM, Bhaskar Chowdhury wrote: > > Ordinary spelling fixes. > > Signed-off-by: Bhaskar Chowdhury > --- > scripts/kallsyms.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/scripts/kallsyms.c b/scripts/kallsyms.c > index 7ecd2ccba531..4d44aba8c212 1006

Re: [PATCH] ethernet: amazon: ena: A typo fix in the file ena_com.h

2021-03-14 Thread Randy Dunlap
On 3/14/21 3:22 PM, Bhaskar Chowdhury wrote: > > Mundane typo fix. > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/net/ethernet/amazon/ena/ena_com.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/amazon/ena/ena_com.h

Re: [PATCH v2 1/2] media: i2c: imx219: Move out locking/unlocking of vflip and hflip controls from imx219_set_stream

2021-03-14 Thread Laurent Pinchart
Hi Prabhakar, Thank you for the patch. On Thu, Mar 11, 2021 at 09:52:04AM +, Lad Prabhakar wrote: > Move out locking/unlocking of vflip and hflip controls from > imx219_set_stream() to the imx219_start_streaming()/ > imx219_stop_streaming() respectively. > > This fixes an issue in resume cal

Re: [PATCH v1 06/14] mm, x86: support the access bit on non-leaf PMD entries

2021-03-14 Thread Yu Zhao
On Sun, Mar 14, 2021 at 10:51:03PM +, Matthew Wilcox wrote: > On Sun, Mar 14, 2021 at 06:12:42PM -0400, Zi Yan wrote: > > On 13 Mar 2021, at 2:57, Yu Zhao wrote: > > > > > Some architectures support the accessed bit on non-leaf PMD entries > > > (parents) in addition to leaf PTE entries (child

Re: [PATCH v2 2/2] media: i2c: imx219: Balance runtime PM use-count

2021-03-14 Thread Laurent Pinchart
Hi Prabhakar, Thank you for the patch. On Thu, Mar 11, 2021 at 09:52:05AM +, Lad Prabhakar wrote: > Move incrementing/decrementing runtime PM count to > imx219_start_streaming()/imx219_stop_streaming() functions respectively. > > This fixes an issue of unbalanced runtime PM count in resume c

Re: [PATCH] media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30

2021-03-14 Thread Laurent Pinchart
Hi Liu, Thank you for the patch. On Thu, Mar 11, 2021 at 01:53:47PM +0800, Liu Ying wrote: > The media bus bit width of MEDIA_BUS_FMT_RGB101010_1X30 is 30. > So, 'Bit31' and 'Bit30' cells for the 'MEDIA_BUS_FMT_RGB101010_1X30' > row should be spaces instead of '0's. > > Fixes: 54f38fcae536 ("med

Re: [PATCH v2 6/8] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-14 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on stm32/stm32-next] [also build test WARNING on robh/for-next soc/for-next v5.12-rc2 next-20210312] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to

Re: [PATCH v2 4/8] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750

2021-03-14 Thread kernel test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on stm32/stm32-next] [also build test WARNING on robh/for-next soc/for-next v5.12-rc2 next-20210312] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to

Re: [PATCH v1 06/14] mm, x86: support the access bit on non-leaf PMD entries

2021-03-14 Thread Zi Yan
On 14 Mar 2021, at 20:03, Yu Zhao wrote: > On Sun, Mar 14, 2021 at 10:51:03PM +, Matthew Wilcox wrote: >> On Sun, Mar 14, 2021 at 06:12:42PM -0400, Zi Yan wrote: >>> On 13 Mar 2021, at 2:57, Yu Zhao wrote: >>> Some architectures support the accessed bit on non-leaf PMD entries (paren

Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

2021-03-14 Thread Randy Dunlap
On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote: > > Trivial spelling fixes throughout the file. > > Signed-off-by: Bhaskar Chowdhury > --- > arch/powerpc/kernel/head_fsl_booke.S | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/arch/powerpc/kernel/head_fsl_booke.S

Re: [PATCH] iommu/vt-d: Disable SVM when ATS/PRI/PASID are not enabled in the device

2021-03-14 Thread Lu Baolu
On 3/15/21 4:15 AM, Kyung Min Park wrote: Currently, the Intel VT-d supports Shared Virtual Memory (SVM) only when IO page fault is supported. Otherwise, shared memory pages can not be swapped out and need to be pinned. The device needs the Address Translation Service (ATS), Page Request Interfac

[PATCH v2] staging: vt6655: Rename two dimensional array declaration

2021-03-14 Thread Madhumitha Prabakaran
Rename two dimensional array declaration to fix checkpatch warning: Avoid Camelcase and make the declaration more readable and understandable Signed-off-by: Madhumitha Prabakaran --- Changes in v2: Improve commit message --- drivers/staging/vt6655/baseband.c | 6 +++--- 1 file changed, 3 inserti

[syzbot] memory leak in copy_process (2)

2021-03-14 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:88fe4924 Merge tag 'char-misc-5.12-rc3' of git://git.kerne.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=10252462d0 kernel config: https://syzkaller.appspot.com/x/.config?x=815a716b5d0a8bdf das

Re: [PATCH RFC] net: sched: implement TCQ_F_CAN_BYPASS for lockless qdisc

2021-03-14 Thread Yunsheng Lin
On 2021/3/14 18:15, Marc Kleine-Budde wrote: > Cc += linux-...@vger.kernel.org > > On 3/14/21 1:03 AM, Vladimir Oltean wrote: >> On Sat, Mar 13, 2021 at 10:47:47AM +0800, Yunsheng Lin wrote: >>> Currently pfifo_fast has both TCQ_F_CAN_BYPASS and TCQ_F_NOLOCK >>> flag set, but queue discipline by-p

Re: [PATCH v1 00/14] Multigenerational LRU

2021-03-14 Thread Yu Zhao
On Sun, Mar 14, 2021 at 06:48:17PM -0400, Zi Yan wrote: > On 13 Mar 2021, at 2:57, Yu Zhao wrote: > > Problems > > > > 31.03% page_vma_mapped_walk > > 25.59% lzo1x_1_do_compress > >4.63% do_raw_spin_lock > >3.89% vma_interval_tree_iter_next > >3.33% vma_interval_tree

drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c:1807:1: warning: unused variable 'iwl_dbgfs_dbg_time_point_ops'

2021-03-14 Thread kernel test robot
Hi Mordechay, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1e28eed17697bcf343c6743f0028cc3b5dd88bf0 commit: 9dbb62a29042e543ab6671dc12c1473c3cbc58c2 iwlwifi: mvm: add debugfs entry to trigger a dump as any time-p

Re: [PATCH v1 06/14] mm, x86: support the access bit on non-leaf PMD entries

2021-03-14 Thread Yu Zhao
On Sun, Mar 14, 2021 at 08:27:29PM -0400, Zi Yan wrote: > On 14 Mar 2021, at 20:03, Yu Zhao wrote: > > > On Sun, Mar 14, 2021 at 10:51:03PM +, Matthew Wilcox wrote: > >> On Sun, Mar 14, 2021 at 06:12:42PM -0400, Zi Yan wrote: > >>> On 13 Mar 2021, at 2:57, Yu Zhao wrote: > >>> > Some arch

Re: [PATCH v7] i2c: virtio: add a virtio i2c frontend driver

2021-03-14 Thread Jie Deng
On 2021/3/12 16:58, Arnd Bergmann wrote: On Fri, Mar 12, 2021 at 2:33 PM Jie Deng wrote: + +/** + * struct virtio_i2c_req - the virtio I2C request structure + * @out_hdr: the OUT header of the virtio I2C message + * @buf: the buffer into which data is read, or from which it's written + * @in

Re: [PATCH V11 3/5] kbuild: Allow .dtso format for overlay source files

2021-03-14 Thread Frank Rowand
Hi VIresh, On 3/12/21 11:11 PM, Frank Rowand wrote: > On 3/12/21 1:13 AM, Viresh Kumar wrote: >> On 12-03-21, 01:09, Frank Rowand wrote: >>> I suggested having the .dtso files include the .dts file because that is a >>> relatively >>> small and easy change to test. What would probably make more

ERROR: modpost: "__aeabi_unwind_cpp_pr0" undefined!

2021-03-14 Thread kernel test robot
weeks ago config: arm-randconfig-r024-20210314 (attached as .config) compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project dfd27ebbd0eb137c9a439b7c537bb87ba903efd3) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross

[PATCH] block: Few spelling fixes in the file blk-merge.c

2021-03-14 Thread Bhaskar Chowdhury
s/trival/trivial/ s/attributs/attributes/ Signed-off-by: Bhaskar Chowdhury --- block/blk-merge.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-merge.c b/block/blk-merge.c index 808768f6b174..a39327e38276 100644 --- a/block/blk-merge.c +++ b/block/blk-merge.

[PATCH] nfs: Fix a typo in the file nfs42xattr.c

2021-03-14 Thread Bhaskar Chowdhury
s/attribues/attributes/ Signed-off-by: Bhaskar Chowdhury --- fs/nfs/nfs42xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nfs/nfs42xattr.c b/fs/nfs/nfs42xattr.c index 6c2ce799150f..1c4d2a05b401 100644 --- a/fs/nfs/nfs42xattr.c +++ b/fs/nfs/nfs42xattr.c @@ -168,7 +

Re: [PATCH v2 07/27] perf evlist: Hybrid event uses its own cpus

2021-03-14 Thread Jin, Yao
Hi Jiri, On 3/13/2021 3:15 AM, Jiri Olsa wrote: On Thu, Mar 11, 2021 at 03:07:22PM +0800, Jin Yao wrote: On hybrid platform, atom events can be only enabled on atom CPUs. Core events can be only enabled on core CPUs. So for a hybrid event, it can be only enabled on it's own CPUs. But the probl

[PATCH] arm64: csum: cast to the proper type

2021-03-14 Thread Alex Elder
The last line of ip_fast_csum() calls csum_fold(), forcing the type of the argument passed to be u32. But csum_fold() takes a __wsum argument (which is __u32 __bitwise for arm64). As long as we're forcing the cast, cast it to the right type. Signed-off-by: Alex Elder --- With this patch in pla

[PATCH v29 0/4] scsi: ufs: Add Host Performance Booster Support

2021-03-14 Thread Daejun Park
Changelog: v28 -> v29 1. Remove unused variable that reported by kernel test robot. v27 -> v28 1. Fix wrong return value of ufshpb_prep. v26 -> v27 1. Fix wrong refernce of sense buffer in pre_req complete function. 2. Fix read_id error. 3. Fix chunk size checking for HPB 1.0. 4. Mute unnecessar

[PATCH v29 1/4] scsi: ufs: Introduce HPB feature

2021-03-14 Thread Daejun Park
This is a patch for the HPB initialization and adds HPB function calls to UFS core driver. NAND flash-based storage devices, including UFS, have mechanisms to translate logical addresses of IO requests to the corresponding physical addresses of the flash storage. In UFS, Logical-address-to-Physica

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

2021-03-14 Thread Daejun Park
This is a patch for managing L2P map in HPB module. The HPB divides logical addresses into several regions. A region consists of several sub-regions. The sub-region is a basic unit where L2P mapping is managed. The driver loads L2P mapping data of each sub-region. The loaded sub-region is called a

[PATCH v29 3/4] scsi: ufs: Prepare HPB read for cached sub-region

2021-03-14 Thread Daejun Park
This patch changes the read I/O to the HPB read I/O. If the logical address of the read I/O belongs to active sub-region, the HPB driver modifies the read I/O command to HPB read. It modifies the UPIU command of UFS instead of modifying the existing SCSI command. In the HPB version 1.0, the maxim

[PATCH v29 4/4] scsi: ufs: Add HPB 2.0 support

2021-03-14 Thread Daejun Park
This patch supports the HPB 2.0. The HPB 2.0 supports read of varying sizes from 4KB to 512KB. In the case of Read (<= 32KB) is supported as single HPB read. In the case of Read (36KB ~ 512KB) is supported by as a combination of write buffer command and HPB read command to deliver more PPN. The wr

Re: [PATCH v5 06/10] scsi: ufshpb: Add hpb dev reset response

2021-03-14 Thread Can Guo
On 2021-03-02 21:24, Avri Altman wrote: The spec does not define what is the host's recommended response when the device send hpb dev reset response (oper 0x2). We will update all active hpb regions: mark them and do that on the next read. Signed-off-by: Avri Altman --- drivers/scsi/ufs/ufs

Re: [PATCH v5 07/10] scsi: ufshpb: Add "Cold" regions timer

2021-03-14 Thread Can Guo
On 2021-03-02 21:25, Avri Altman wrote: In order not to hang on to “cold” regions, we shall inactivate a region that has no READ access for a predefined amount of time - READ_TO_MS. For that purpose we shall monitor the active regions list, polling it on every POLLING_INTERVAL_MS. On timeout expi

[PATCH v3] ASoC: Intel: Skylake: skl-topology: fix -frame-larger-than

2021-03-14 Thread Nick Desaulniers
Fixes: sound/soc/intel/skylake/skl-topology.c:3613:13: warning: stack frame size of 1304 bytes in function 'skl_tplg_complete' [-Wframe-larger-than=] struct snd_ctl_elem_value is 1224 bytes in my configuration. Heap allocate it, then free it within the current frame. Suggested-by: Andy Shevchenk

[PATCH] media: pci: saa7164: Rudimentary spelling fixes in the file saa7164-types.h

2021-03-14 Thread Bhaskar Chowdhury
s/structues/structures/ s/decies/decides/ Signed-off-by: Bhaskar Chowdhury --- drivers/media/pci/saa7164/saa7164-types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/saa7164/saa7164-types.h b/drivers/media/pci/saa7164/saa7164-types.h index 34dd2be6

[PATCH] net: ethernet: intel: igb: Typo fix in the file igb_main.c

2021-03-14 Thread Bhaskar Chowdhury
s/structue/structure/ Signed-off-by: Bhaskar Chowdhury --- drivers/net/ethernet/intel/igb/igb_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igb/igb_main.c b/drivers/net/ethernet/intel/igb/igb_main.c index 03f78fdb0dcd..afc8ab9046a5 1006

Re: [PATCH 5/5] mm/hugetlb: avoid calculating fault_mutex_hash in truncate_op case

2021-03-14 Thread Miaohe Lin
On 2021/3/14 5:17, Mike Kravetz wrote: > On 3/12/21 6:49 PM, Miaohe Lin wrote: >> Hi: >> On 2021/3/13 4:03, Mike Kravetz wrote: >>> On 3/8/21 3:28 AM, Miaohe Lin wrote: The fault_mutex hashing overhead can be avoided in truncate_op case because page faults can not race with truncation in

[PATCH] net: ethernet: neterion: Fix a typo in the file s2io.c

2021-03-14 Thread Bhaskar Chowdhury
s/structue/structure/ Signed-off-by: Bhaskar Chowdhury --- drivers/net/ethernet/neterion/s2io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/neterion/s2io.c b/drivers/net/ethernet/neterion/s2io.c index 8f2f091bce89..9cfcd5500462 100644 --- a/drivers

Re: [PATCH v2 1/3] power: supply: bq27xxx: fix sign of current_now for newer ICs

2021-03-14 Thread Sebastian Reichel
Hi, On Wed, Mar 03, 2021 at 10:54:18AM +0100, Matthias Schiffer wrote: > Commit cd060b4d0868 ("power: supply: bq27xxx: fix polarity of current_now") > changed the sign of current_now for all bq27xxx variants, but on BQ28Z610 > I'm now seeing negated values *with* that patch. > > The GTA04/Openmok

Re: [PATCH v26 2/4] scsi: ufs: L2P map management for HPB read

2021-03-14 Thread Can Guo
On 2021-03-12 15:17, Daejun Park wrote: > This is a patch for managing L2P map in HPB module. > > The HPB divides logical addresses into several regions. A region > consists > of several sub-regions. The sub-region is a basic unit where L2P > mapping is > managed. The driver loads L2P mapping dat

Re: [PATCH v2 3/3] power: supply: bq27xxx: make status more robust

2021-03-14 Thread Sebastian Reichel
Hi, On Wed, Mar 03, 2021 at 10:54:20AM +0100, Matthias Schiffer wrote: > There are multiple issues in bq27xxx_battery_status(): > > - On BQ28Q610 is was observed that the "full" flag may be set even while > the battery is charging or discharging. With the current logic to make > "full" overri

Re: [PATCH v2 2/3] power: supply: bq27xxx: fix power_avg for newer ICs

2021-03-14 Thread Sebastian Reichel
Hi, On Wed, Mar 03, 2021 at 10:54:19AM +0100, Matthias Schiffer wrote: > On all newer bq27xxx ICs, the AveragePower register contains a signed > value; in addition to handling the raw value as unsigned, the driver > code also didn't convert it to µW as expected. > > At least for the BQ28Z610, the

[PATCH] Staging: rtl8723bs/core: fix space coding style issue

2021-03-14 Thread Qiang Ma
Add one space around (on each side of) '*' binary operators. Signed-off-by: Qiang Ma --- drivers/staging/rtl8723bs/core/rtw_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl8723bs/core/rtw_security.

[PATCH] gpu: drm: amd: pm: Mundane typo fix in the file amdgpu_pm.c

2021-03-14 Thread Bhaskar Chowdhury
s/maxmum/maximum/ Signed-off-by: Bhaskar Chowdhury --- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index 7b6ef05a1d35..7af74d236600 100644 --- a/drivers/gpu/drm/a

[PATCH] docs: usbip: Fix major fields and descriptions in protocol

2021-03-14 Thread Hongren Zheng (Zenithal)
The old document for usbip protocol is misleading and hard to read: * Some fields in header are incorrect * Explanation of some fields are unclear or even wrong * Padding of header (namely all headers have the same length) is not explicitly point out, which is crucial for stream protocol

Re: [PATCH v1 10/14] mm: multigenerational lru: core

2021-03-14 Thread Andi Kleen
Yu Zhao writes: > + > +#ifdef CONFIG_MEMCG > + if (memcg && atomic_read(&memcg->moving_account)) > + goto contended; > +#endif > + if (!mmap_read_trylock(mm)) > + goto contended; These are essentially spinloops. Surely you need a cpu

Re: [PATCH 1/6] mm/huge_memory.c: rework the function vma_adjust_trans_huge()

2021-03-14 Thread Miaohe Lin
Hi: On 2021/3/14 4:03, Matthew Wilcox wrote: > On Sat, Mar 13, 2021 at 05:32:19AM -0500, Miaohe Lin wrote: >> +static inline void try_to_split_huge_pmd_address(struct vm_area_struct >> *vma, unsigned long address) >> +{ >> +if (address & ~HPAGE_PMD_MASK && >> +range_in_vma(vma, address

Re: [PATCH v2 09/27] perf parse-events: Create two hybrid hardware events

2021-03-14 Thread Jin, Yao
Hi Jiri, On 3/13/2021 3:15 AM, Jiri Olsa wrote: On Thu, Mar 11, 2021 at 03:07:24PM +0800, Jin Yao wrote: SNIP cycles: 4: 800933425 1002536659 1002536659 cycles: 5: 800928573 1002528386 1002528386 cycles: 6: 800924347 1002520527 1002520527 cycles: 7: 800922009 1002513176 1002513176

[PATCH] task_work: kasan: record task_work_add() call stack

2021-03-14 Thread Walter Wu
Why record task_work_add() call stack? Syzbot reports many use-after-free issues for task_work, see [1]. After see the free stack and the current auxiliary stack, we think they are useless, we don't know where register the work, this work may be the free call stack, so that we miss the root cause a

Re: [RFC PATCH v4 2/9] tools headers: Add a macro to get HUGETLB page sizes for mmap

2021-03-14 Thread wangyanan (Y)
On 2021/3/12 19:14, Andrew Jones wrote: On Tue, Mar 02, 2021 at 08:57:44PM +0800, Yanan Wang wrote: We know that if a system supports multiple hugetlb page sizes, the desired hugetlb page size can be specified in bits [26:31] of the flag arguments. The value in these 6 bits will be the shift o

Re: [PATCH] tools/x86/kcpuid: Add AMD Secure Encryption leaf

2021-03-14 Thread Feng Tang
On Sun, Mar 14, 2021 at 01:35:27AM +0100, Borislav Petkov wrote: > On Sat, Mar 13, 2021 at 03:01:18PM +0100, Borislav Petkov wrote: > Yeah, I guess we should keep the bit names in lowercase, for simplicity. > > --- > From: Borislav Petkov > Date: Sat, 13 Mar 2021 14:56:16 +0100 > Subject: [PATC

[PATCH] scsi: Mundane spelling fixes in the file qla1280.c

2021-03-14 Thread Bhaskar Chowdhury
s/quantites/quantities/ s/Unfortunely/Unfortunately/ Signed-off-by: Bhaskar Chowdhury --- drivers/scsi/qla1280.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/scsi/qla1280.c b/drivers/scsi/qla1280.c index 46de2541af25..95008811b2d2 100644 --- a/drivers/scs

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

2021-03-14 Thread Daejun Park
> > This is a patch for managing L2P map in HPB module. > > > > The HPB divides logical addresses into several regions. A region > > consists > > of several sub-regions. The sub-region is a basic unit where L2P > > mapping is > > managed. The driver loads L2P mapping dat

Re: [PATCH] media: pci: saa7164: Rudimentary spelling fixes in the file saa7164-types.h

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:39 PM, Bhaskar Chowdhury wrote: > > s/structues/structures/ > s/decies/decides/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/media/pci/saa7164/saa7164-types.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/me

[GIT PULL] extcon fixes for v5.12-rc4

2021-03-14 Thread Chanwoo Choi
Dear Greg, This is extcon-fixes pull request for v5.12. I add detailed description of this pull request on below. Please pull extcon with following updates. Best Regards, Chanwoo Choi The following changes since commit 1e28eed17697bcf343c6743f0028cc3b5dd88bf0: Linux 5.12-rc3 (2021-03-14 14:4

Re: [PATCH] gpu: drm: amd: pm: Mundane typo fix in the file amdgpu_pm.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:57 PM, Bhaskar Chowdhury wrote: > > s/maxmum/maximum/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c > b/drivers/gpu/drm/amd/pm/amdgpu_pm.c

Re: [PATCH v4 07/25] mm: Create FolioFlags

2021-03-14 Thread Matthew Wilcox
On Fri, Mar 05, 2021 at 04:18:43AM +, Matthew Wilcox (Oracle) wrote: > These new functions are the folio analogues of the PageFlags functions. > If CONFIG_DEBUG_VM_PGFLAGS is enabled, we check the folio is not a tail > page at every invocation. Note that this will also catch the PagePoisoned >

[PATCH V2] ata: sata_highbank: delete redundant print and fix return value

2021-03-14 Thread Wang Qing
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, and should corrected to < 0. Also, thhe return value should return a real error. Signed-off-by: Wang Qing --- drivers/ata/sata_highbank.c | 4 +--- 1 file changed, 1 insertion(+), 3 delet

Re: [PATCH] scsi: Mundane spelling fixes in the file qla1280.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 7:16 PM, Bhaskar Chowdhury wrote: > > s/quantites/quantities/ > s/Unfortunely/Unfortunately/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/scsi/qla1280.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/scsi/q

Re: [PATCH] block: Few spelling fixes in the file blk-merge.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:18 PM, Bhaskar Chowdhury wrote: > > > s/trival/trivial/ > s/attributs/attributes/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > block/blk-merge.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/block/blk-merge.c b/block/blk-me

Re: [PATCH] nfs: Fix a typo in the file nfs42xattr.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:24 PM, Bhaskar Chowdhury wrote: > > s/attribues/attributes/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > fs/nfs/nfs42xattr.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/nfs/nfs42xattr.c b/fs/nfs/nfs42xattr.c > index 6c2ce79

Re: [PATCH v2 11/27] perf parse-events: Support hardware events inside PMU

2021-03-14 Thread Jin, Yao
Hi Jiri, On 3/13/2021 3:15 AM, Jiri Olsa wrote: On Thu, Mar 11, 2021 at 03:07:26PM +0800, Jin Yao wrote: On hybrid platform, some hardware events are only available on a specific pmu. For example, 'L1-dcache-load-misses' is only available on 'cpu_core' pmu. And even for the event which can be a

Re: [kbuild-all] Re: [PATCH] gcov: fail build on gcov_info size mismatch

2021-03-14 Thread Rong Chen
On 3/13/21 1:52 AM, Linus Torvalds wrote: On Thu, Mar 11, 2021 at 7:50 PM Rong Chen wrote: The issue is from a=!, and [ "$a $b" = ".size .LPBX0," ] can avoid the error. + [ ! = .size -a ABI = .LPBX0, ] ./kernel/gcov/geninfosize.sh: 13: [: =: unexpected operator But that's not what the pat

Re: [PATCH] net: ethernet: neterion: Fix a typo in the file s2io.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:53 PM, Bhaskar Chowdhury wrote: > > s/structue/structure/ > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/net/ethernet/neterion/s2io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/neterion/s2io.c > b/

Re: [PATCH] net: ethernet: intel: igb: Typo fix in the file igb_main.c

2021-03-14 Thread Randy Dunlap
On 3/14/21 6:48 PM, Bhaskar Chowdhury wrote: > > s/structue/structure/ > > > Signed-off-by: Bhaskar Chowdhury Acked-by: Randy Dunlap > --- > drivers/net/ethernet/intel/igb/igb_main.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/intel/igb/igb

Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

2021-03-14 Thread Michael Ellerman
Randy Dunlap writes: > On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote: >> >> Trivial spelling fixes throughout the file. >> >> Signed-off-by: Bhaskar Chowdhury >> --- >> arch/powerpc/kernel/head_fsl_booke.S | 8 >> 1 file changed, 4 insertions(+), 4 deletions(-) >> >> diff --git a/arch/

[PATCH V3] ata: sata_highbank: delete redundant print and fix return value

2021-03-14 Thread Wang Qing
platform_get_irq() has already checked and printed the return value, the printing here is nothing special, and should corrected to < 0. Also, thhe return value should return a real error. Signed-off-by: Wang Qing --- drivers/ata/sata_highbank.c | 6 ++ 1 file changed, 2 insertions(+), 4 de

Re: [PATCH] rpadlpar: fix potential drc_name corruption in store functions

2021-03-14 Thread Michael Ellerman
Tyrel Datwyler writes: > On 3/13/21 1:17 AM, Michal Suchánek wrote: >> On Wed, Mar 10, 2021 at 04:30:21PM -0600, Tyrel Datwyler wrote: >>> Both add_slot_store() and remove_slot_store() try to fix up the drc_name >>> copied from the store buffer by placing a NULL terminator at nbyte + 1 >>> or in p

[PATCH] fat: Mark dirty just before updating metadata

2021-03-14 Thread Tetsuhiro Kohada
Instead of marking dirty-state on mount, do it just before updating the metadata. Therefore, if no write operation is performed, the boot sector will not be updated. This eliminates unnecessary dirty mark / unmark and reduces the risk of boot sector corruption. Also, keep boot-sec bh in sb to suppr

Re: [PATCH v2 4/5] thermal/drivers/cpuidle_cooling: Use device name instead of auto-numbering

2021-03-14 Thread Viresh Kumar
On 12-03-21, 18:03, Daniel Lezcano wrote: > Currently the naming of a cooling device is just a cooling technique > followed by a number. When there are multiple cooling devices using > the same technique, it is impossible to clearly identify the related > device as this one is just a number. > > F

[PATCH] staging: rtl8723bs: add spaces between operators

2021-03-14 Thread Qiang Ma
Add spaces between operators for a better readability in function 'rtw_secgetmic'. Signed-off-by: Qiang Ma --- drivers/staging/rtl8723bs/core/rtw_security.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_security.c b/drivers/staging/rtl872

[RFC v2] net: sched: implement TCQ_F_CAN_BYPASS for lockless qdisc

2021-03-14 Thread Yunsheng Lin
Currently pfifo_fast has both TCQ_F_CAN_BYPASS and TCQ_F_NOLOCK flag set, but queue discipline by-pass does not work for lockless qdisc because skb is always enqueued to qdisc even when the qdisc is empty, see __dev_xmit_skb(). This patch calls sch_direct_xmit() to transmit the skb directly to the

Re: [PATCH v2 4/5] thermal/drivers/cpuidle_cooling: Use device name instead of auto-numbering

2021-03-14 Thread Daniel Lezcano
On 15/03/2021 04:07, Viresh Kumar wrote: > On 12-03-21, 18:03, Daniel Lezcano wrote: >> Currently the naming of a cooling device is just a cooling technique >> followed by a number. When there are multiple cooling devices using >> the same technique, it is impossible to clearly identify the related

RE: [RFC PATCH v4 1/3] topology: Represent clusters of CPUs within a die.

2021-03-14 Thread Song Bao Hua (Barry Song)
> -Original Message- > From: Song Bao Hua (Barry Song) > Sent: Tuesday, March 2, 2021 12:00 PM > To: tim.c.c...@linux.intel.com; catalin.mari...@arm.com; w...@kernel.org; > r...@rjwysocki.net; vincent.guit...@linaro.org; b...@alien8.de; > t...@linutronix.de; mi...@redhat.com; l...@kernel

Re: [PATCH v7] i2c: virtio: add a virtio i2c frontend driver

2021-03-14 Thread Jason Wang
On 2021/3/15 9:14 上午, Jie Deng wrote: On 2021/3/12 16:58, Arnd Bergmann wrote: On Fri, Mar 12, 2021 at 2:33 PM Jie Deng wrote: + +/** + * struct virtio_i2c_req - the virtio I2C request structure + * @out_hdr: the OUT header of the virtio I2C message + * @buf: the buffer into which data is

Re: [PATCH v2 07/25] x86/sgx: Initialize virtual EPC driver even when SGX driver is disabled

2021-03-14 Thread Kai Huang
On Sun, 14 Mar 2021 17:27:18 +0200 Jarkko Sakkinen wrote: > On Sun, Mar 14, 2021 at 05:25:26PM +0200, Jarkko Sakkinen wrote: > > On Sat, Mar 13, 2021 at 09:07:36PM +0200, Jarkko Sakkinen wrote: > > > On Sat, Mar 13, 2021 at 09:05:36PM +0200, Jarkko Sakkinen wrote: > > > > On Fri, Mar 12, 2021 at 01

Re: [PATCH v5 03/10] scsi: ufshpb: Add region's reads counter

2021-03-14 Thread Can Guo
Hi Avri, On 2021-03-02 21:24, Avri Altman wrote: In host control mode, reads are the major source of activation trials. Keep track of those reads counters, for both active as well inactive regions. We reset the read counter upon write - we are only interested in "clean" reads. less intuitive

Re: [PATCH v1 06/14] mm, x86: support the access bit on non-leaf PMD entries

2021-03-14 Thread Yu Zhao
On Sun, Mar 14, 2021 at 04:22:03PM -0700, Dave Hansen wrote: > On 3/12/21 11:57 PM, Yu Zhao wrote: > > Some architectures support the accessed bit on non-leaf PMD entries > > (parents) in addition to leaf PTE entries (children) where pages are > > mapped, e.g., x86_64 sets the accessed bit on a par

Re: [PATCH v3] iommu/tegra-smmu: Add pagetable mappings to debugfs

2021-03-14 Thread Nicolin Chen
On Sun, Mar 14, 2021 at 06:08:00PM +0300, Dmitry Osipenko wrote: > 14.03.2021 11:06, Nicolin Chen пишет: > > + for (pd_index = 0; pd_index < SMMU_NUM_PDE; pd_index++) { > > + struct page *pt_page; > > + u32 *addr; > > + int i; > > unsigned int > > and then printf s

Re: [PATCH] vfio/type1: fix vaddr_get_pfns() return in vfio_pin_page_external()

2021-03-14 Thread Keqian Zhu
Hi Daniel, [+Cc iommu mail list] This patch looks good to me. (but I don't test it too.) Thanks, Keqian On 2021/3/9 1:24, Daniel Jordan wrote: > vaddr_get_pfns() now returns the positive number of pfns successfully > gotten instead of zero. vfio_pin_page_external() might return 1 to > vfio_i

Re: [PATCH V3] cpufreq: Rudimentary typos fix in the file s5pv210-cpufreq.c

2021-03-14 Thread Viresh Kumar
On 13-03-21, 09:19, Bhaskar Chowdhury wrote: > > Trivial spelling fixes throughout the file. > > Signed-off-by: Bhaskar Chowdhury > --- > Changes from V2: > Incoporated the findings of Tom Saeger > > drivers/cpufreq/s5pv210-cpufreq.c | 12 ++-- > 1 file changed, 6 insertions(+), 6

Re: [PATCH] ia64: fix format string for ia64-acpi-cpu-freq

2021-03-14 Thread Viresh Kumar
On 13-03-21, 10:42, Sergei Trofimovich wrote: > Fix warning with %lx / s64 mismatch: > > CC [M] drivers/cpufreq/ia64-acpi-cpufreq.o > drivers/cpufreq/ia64-acpi-cpufreq.c: In function 'processor_get_pstate': > warning: format '%lx' expects argument of type 'long unsigned int', >

[PATCH] xtensa: simplify coherent_kvaddr logic

2021-03-14 Thread Max Filippov
Functions coherent_kvaddr, clear_page_alias and copy_page_alias use physical address 0 as a special value that means 'this page is in the KSEG mapping and its existing virtual address has the same color as the virtual address of its future mapping, so don't map it to the TLBTEMP_BASE area'. Simpli

[PATCH] xtensa: fix pgprot_noncached assumptions

2021-03-14 Thread Max Filippov
pgprot_noncached assumes that cache bypass attribute is represented as zero. This may not always be true. Fix pgprot_noncached definition by adding _PAGE_CA_BYPASS to the result. Signed-off-by: Max Filippov --- arch/xtensa/include/asm/pgtable.h | 4 +++- 1 file changed, 3 insertions(+), 1 deleti

[PATCH V2] drm: amd: pm: Mundane typo fixes in the file amdgpu_pm.c

2021-03-14 Thread Bhaskar Chowdhury
s/"an minimum"/"a minimum"/ s/"an maxmum"/"a maximum"/ Signed-off-by: Bhaskar Chowdhury --- Changes from V1: Randy's suggestion to adjust the subject line text And missed out a spell too,which now included drivers/gpu/drm/amd/pm/amdgpu_pm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 de

Re: [PATCH] powerpc: kernel: Trivial spelling fixes throughout the file head_fsl_booke.S

2021-03-14 Thread Bhaskar Chowdhury
On 13:48 Mon 15 Mar 2021, Michael Ellerman wrote: Randy Dunlap writes: On 3/14/21 3:04 PM, Bhaskar Chowdhury wrote: Trivial spelling fixes throughout the file. Signed-off-by: Bhaskar Chowdhury --- arch/powerpc/kernel/head_fsl_booke.S | 8 1 file changed, 4 insertions(+), 4 deletio

[PATCH] perf core: Allocate perf_buffer in the target node memory

2021-03-14 Thread Namhyung Kim
I found the ring buffer pages are allocated in the node but the ring buffer itself is not. Let's convert it to use kzalloc_node() too. Signed-off-by: Namhyung Kim --- kernel/events/ring_buffer.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/kernel/events/ring_buff

linux-next: manual merge of the hyperv tree with the tip tree

2021-03-14 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the hyperv tree got a conflict in: arch/x86/include/asm/mshyperv.h between commit: a0e2bf7cb700 ("x86/paravirt: Switch time pvops functions to use static_call()") from the tip tree and commit: eb3e1d370b4c ("clocksource/drivers/hyper-v: Handle sched_

Re: [PATCH v2 08/25] x86/sgx: Expose SGX architectural definitions to the kernel

2021-03-14 Thread Kai Huang
On Fri, 12 Mar 2021 13:58:40 -0800 Sean Christopherson wrote: > On Tue, Mar 09, 2021, Kai Huang wrote: > > From: Sean Christopherson > > > > Expose SGX architectural structures, as KVM will use many of the > > architectural constants and structs to virtualize SGX. > > > > Name the new header fil

[PATCH v4] iommu/tegra-smmu: Add pagetable mappings to debugfs

2021-03-14 Thread Nicolin Chen
This patch dumps all active mapping entries from pagetable to a debugfs directory named "mappings". Ataching an example: SWGROUP: hc ASID: 0 reg: 0x250 PTB_ASID: 0xe0080004 as->pd_dma: 0x80004000 { [1023] 0xf008000b (1) { PTE RANGE | ATTR | PHYS

Re: [PATCH v1 10/14] mm: multigenerational lru: core

2021-03-14 Thread Yu Zhao
On Sun, Mar 14, 2021 at 07:02:01PM -0700, Andi Kleen wrote: > Yu Zhao writes: Hi Andi! Recovering the context a bit: err = -EBUSY; > > + > > +#ifdef CONFIG_MEMCG > > + if (memcg && atomic_read(&memcg->moving_account)) > > + goto contended; > > +#endi

<    1   2   3   4   5   6   >