Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-08-08 Thread Martin Kepplinger
On 07.08.20 16:30, Alan Stern wrote: > On Fri, Aug 07, 2020 at 11:51:21AM +0200, Martin Kepplinger wrote: >> it's really strange: below is the change I'm trying. Of course that's >> only for testing the functionality, nothing how a patch could look like. >> >> While I remember it had worked, now (w

drivers/soc/qcom/socinfo.c:277 qcom_show_pmic_model() error: buffer overflow 'pmic_models' 26 <= 26

2020-08-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 049eb096da48db0421dd5e358b9b082a1a8a2025 commit: e9247e2ce5778678c8d631e26ef79dbccedbe6d0 soc: qcom: socinfo: fix printing of pmic_model date: 6 weeks ago config: x86_64-randconfig-m001-20200808 (attached

Re: [PATCH] tty: synclink_gt: switch from 'pci_' to 'dma_' API

2020-08-08 Thread Jiri Slaby
On 06. 08. 20, 7:44, Christophe JAILLET wrote: > The wrappers in include/linux/pci-dma-compat.h should go away. > > The patch has been generated with the coccinelle script below and has been > hand modified to replace GFP_ with a correct flag. > It has been compile tested. > > When memory is allo

INVESTMENT

2020-08-08 Thread campbellclark016
Good day, You were recommended by a mutual associate. I write you regarding an investment of bearer bonds I made on behalf of a client. The investment was made in 2009 and has been under my management. The said investor is deceased. The window is now available to assign these bonds to any na

[PATCH] mailmap: Update comments for with format and more detalis

2020-08-08 Thread Kees Cook
Without having first read the git-shortlog man-page first, the format of .mailmap may not be immediately obvious. Add comments with pointers to the man-page, along with other details. Signed-off-by: Kees Cook --- I'm adding this to my earlier .mailmap update series: https://lore.kernel.org/lkml/2

答复: 答复: 答复: 答复: 答复: 答复: 答复: 答复: [PATCH] iommu/vt-d:Add support for ACPI device in RMRR

2020-08-08 Thread FelixCui-oc
Hi baolu, The attachment is the new patch. If you have any questions, you can contact me at any time. Thanks. Best regards Felix cui-oc -邮件原件- 发件人: Lu Baolu 发送时间: 2020年8月7日 16:08 收件人: FelixCui-oc ; Joerg Roedel ; io...@lists.linux-foun

Re: [PATCH v7 3/9] net/scm: Regularize compat handling of scm_detach_fds()

2020-08-08 Thread Kees Cook
On Fri, Aug 07, 2020 at 05:02:15PM -0700, John Stultz wrote: > On Fri, Aug 7, 2020 at 3:18 PM Kees Cook wrote: > > > > On Fri, Aug 07, 2020 at 01:29:24PM -0700, John Stultz wrote: > > > On Thu, Jul 9, 2020 at 11:28 AM Kees Cook wrote: > > > > > > > > Duplicate the cleanups from commit 2618d530dd8

[PATCH] gpu/drm: Remove TTM_PL_FLAG_WC of VRAM to fix writecombine issue for Loongson64

2020-08-08 Thread Tiezhu Yang
Loongson processors have a writecombine issue that maybe failed to write back framebuffer used with ATI Radeon or AMD GPU at times, after commit 8a08e50cee66 ("drm: Permit video-buffers writecombine mapping for MIPS"), there exists some errors such as blurred screen and lockup, and so on. Remove t

drivers/vhost/net.c:1010 vhost_net_rx_peek_head_len() error: double unlocked 'sk->sk_receive_queue.lock' (orig line 1002)

2020-08-08 Thread kernel test robot
config: arm-randconfig-m031-20200808 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/vhost/net.c:1010 vhost_net_rx_peek_head_len() error: double unlocked &#x

Re: [PATCH 20/20] arm64: dts: renesas: r8a774e1: Add VIN and CSI-2 nodes

2020-08-08 Thread Niklas Söderlund
Hi Geert and Lad, On 2020-08-07 13:36:46 +0200, Geert Uytterhoeven wrote: > Hi Niklas, > > On Fri, Aug 7, 2020 at 1:27 PM Niklas Söderlund > wrote: > > On 2020-08-06 13:47:58 +0200, Geert Uytterhoeven wrote: > > > On Thu, Aug 6, 2020 at 1:17 PM Lad, Prabhakar > > > wrote: > > > > On Wed, Aug 5,

samsung_tty.c:undefined reference to `dma_release_channel'

2020-08-08 Thread kernel test robot
-20200808 (attached as .config) compiler: nios2-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 git checkout

Re: [GIT PULL] sound updates for 5.9

2020-08-08 Thread Takashi Iwai
On Sat, 08 Aug 2020 08:46:18 +0200, Takashi Iwai wrote: > > On Sat, 08 Aug 2020 02:23:24 +0200, > John Stultz wrote: > > > > On Thu, Aug 6, 2020 at 3:33 AM Takashi Iwai wrote: > > > > > > Linus, > > > > > > please pull sound updates for v5.9 from: > > > > > > git://git.kernel.org/pub/scm/linux

Re: [PATCH V2] drm: Remove unnecessary drm_panel_attach and drm_panel_detach

2020-08-08 Thread Sam Ravnborg
Hi Joe. On Sun, Aug 02, 2020 at 07:34:13PM +0200, Sam Ravnborg wrote: > Hi Joe. > > On Sun, Aug 02, 2020 at 09:43:59AM -0700, Joe Perches wrote: > > These functions are now empty and no longer > > useful so remove the functions and their uses. > > > > Signed-off-by: Joe Perches > > --- > > > >

[PATCH] net: Convert to use the fallthrough macro

2020-08-08 Thread linmiaohe
From: Miaohe Lin Convert the uses of fallthrough comments to fallthrough macro. Signed-off-by: Miaohe Lin --- net/socket.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/socket.c b/net/socket.c index c61f036d24f5..f4d5998bdcba 100644 --- a/net/socket.c +++ b/net/

I NEED YOUR URGENT RESPONSE PLEASE

2020-08-08 Thread Ibrahim
Hello Dear Friend, My name is Mr.ibrahim idewu. I have decided to seek a confidential co-operation with you in the execution of the deal described here-under for our both mutual benefit and I hope you will keep it a top secret because of the nature of the transaction, During the course of ou

[PATCH] cifs: Convert to use the fallthrough macro

2020-08-08 Thread linmiaohe
From: Miaohe Lin Convert the uses of fallthrough comments to fallthrough macro. Signed-off-by: Hongxiang Lou Signed-off-by: Miaohe Lin --- fs/cifs/smb2pdu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 24c2ac360591..667d70

Re: KASAN: use-after-free Read in rc_dev_uevent

2020-08-08 Thread Sean Young
On Fri, Aug 07, 2020 at 09:55:40PM +0800, Hillf Danton wrote: > > On Fri, 7 Aug 2020 10:15:04 +0100 Sean Young wrote: > > On Fri, Aug 07, 2020 at 12:26:29AM -0700, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:7b4ea945 Revert "x86/mm/64:

[PATCH] io_uring: Convert to use the fallthrough macro

2020-08-08 Thread linmiaohe
From: Miaohe Lin Convert the uses of fallthrough comments to fallthrough macro. Signed-off-by: Hongxiang Lou Signed-off-by: Miaohe Lin --- fs/io_uring.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/io_uring.c b/fs/io_uring.c index 2a3af95be4ca..77e932c25312 100644 --

drivers/tty/serial/mvebu-uart.c:605 mvebu_uart_putc() warn: this loop depends on readl() succeeding

2020-08-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e commit: 05933aac7b11911955de307a329dc2a7a14b7bd0 ia64: remove now unused machvec indirections date: 12 months ago config: ia64-randconfig-m031-20200808 (attached

Re: [PATCH v1 1/2] kunit: tool: fix running kunit_tool from outside kernel tree

2020-08-08 Thread Brendan Higgins
On Fri, Aug 7, 2020 at 10:45 PM David Gow wrote: > > On Sat, Aug 8, 2020 at 9:17 AM Brendan Higgins > wrote: > > > > Currently kunit_tool does not work correctly when executed from a path > > outside of the kernel tree, so make sure that the current working > > directory is correct and the kunit_

[PATCH] badblocks: Convert to use the fallthrough macro

2020-08-08 Thread linmiaohe
From: Miaohe Lin Convert the uses of fallthrough comments to fallthrough macro. Signed-off-by: Hongxiang Lou Signed-off-by: Miaohe Lin --- block/badblocks.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/badblocks.c b/block/badblocks.c index 2e5f5697db35..d39056630d

drivers/scsi/ufs/ufshcd.c:6495 ufshcd_host_reset_and_restore() error: double unlocked (orig line 6489)

2020-08-08 Thread kernel test robot
-m031-20200808 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/scsi/ufs/ufshcd.c:6495 ufshcd_host_reset_and_restore() error: double unlocked '*hba-

[PATCH] erofs: Convert to use the fallthrough macro

2020-08-08 Thread linmiaohe
From: Miaohe Lin Convert the uses of fallthrough comments to fallthrough macro. Signed-off-by: Hongxiang Lou Signed-off-by: Miaohe Lin --- fs/erofs/zmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/erofs/zmap.c b/fs/erofs/zmap.c index 7d40d78ea864..ae32554188

Re: KASAN: use-after-free Read in rc_dev_uevent

2020-08-08 Thread Sean Young
Hi Eze, On Fri, Aug 07, 2020 at 08:45:12PM -0300, Ezequiel Garcia wrote: > On Fri, 7 Aug 2020 at 06:15, Sean Young wrote: > > > > On Fri, Aug 07, 2020 at 12:26:29AM -0700, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit:7b4ea945 Revert "x86/

[PATCH] vdpa/mlx5: Missing error code on allocation failure

2020-08-08 Thread Dan Carpenter
This should return -ENOMEM if the allocation fails. Currently it either returns success or an uninitialized value. Fixes: 94abbccdf291 ("vdpa/mlx5: Add shared memory registration code") Signed-off-by: Dan Carpenter --- drivers/vdpa/mlx5/core/mr.c | 4 +++- 1 file changed, 3 insertions(+), 1 del

[PATCH] vdpa/mlx5: Fix pointer math in mlx5_vdpa_get_config()

2020-08-08 Thread Dan Carpenter
There is a pointer math bug here so if "offset" is non-zero then this will copy memory from beyond the end of the array. Fixes: 1a86b377aa21 ("vdpa/mlx5: Add VDPA driver for supported mlx5 devices") Signed-off-by: Dan Carpenter --- drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +- 1 file changed, 1 inse

KASAN: null-ptr-deref Write in l2cap_chan_put

2020-08-08 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:5631c5e0 Merge tag 'xfs-5.9-merge-7' of git://git.kernel.o.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15c2193490 kernel config: https://syzkaller.appspot.com/x/.config?x=afba7c06f91e56eb das

[PATCH] mm: slub: re-initialize randomized freelist sequence in calculate_sizes

2020-08-08 Thread kpark3469
From: Sahara Slab cache flags are exported to sysfs and are allowed to get modified from userspace. Some of those may call calculate_sizes function because the changed flag can take an effect on slab object size and layout, which means kmem_cache may have different order and objects. The freelist

Re: [PATCH v11 2/5] x86: kdump: move reserve_crashkernel_low() into crash_core.c

2020-08-08 Thread Dave Young
On 08/01/20 at 09:08pm, Chen Zhou wrote: > In preparation for supporting reserve_crashkernel_low in arm64 as > x86_64 does, move reserve_crashkernel_low() into kernel/crash_core.c. > > BTW, move x86_64 CRASH_ALIGN to 2M suggested by Dave. CONFIG_PHYSICAL_ALIGN > can be selected from 2M to 16M, mov

Re: [PATCH v11 5/5] kdump: update Documentation about crashkernel

2020-08-08 Thread Dave Young
On 08/01/20 at 09:08pm, Chen Zhou wrote: > Now the behavior of crashkernel=X has been changed, which tries low > allocation in ZONE_DMA, and fall back to high allocation if it fails. > > If requized size X is too large and leads to very little free memory > in ZONE_DMA after low allocation, the sy

drivers/md/dm-mpath.c:432 choose_pgpath() error: double unlocked 'm->lock' (orig line 402)

2020-08-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e commit: 69cea0d45a618ad4ae74f36386ef1af5128b2b19 dm mpath: changes from initial m->flags locking audit date: 4 weeks ago config: arm-randconfig-m031-20200

Re: [RFC] libperf: Add support for user space counter access

2020-08-08 Thread Jiri Olsa
On Fri, Aug 07, 2020 at 05:05:17PM -0600, Rob Herring wrote: > x86 and arm64 can both support direct access of event counters in > userspace. The access sequence is less than trivial and currently exists > in perf test code (tools/perf/arch/x86/tests/rdpmc.c) with copies in > projects such as PAPI

Re: [PATCH v3 0/2] iio: temperature: mlx90632: Add extended calibration calculations

2020-08-08 Thread Andy Shevchenko
On Sat, Aug 8, 2020 at 2:22 AM Crt Mori wrote: > > Since the second patch is dependent on the first and was still not > merged, I have decided to send them together. First patch just makes > second one more readable as it splits out the repeated calculation and > that enables the second patch to t

Re: [PATCH v3] hwmon/pmbus: use simple i2c probe function

2020-08-08 Thread Stephen Kitt
On Fri, 7 Aug 2020 21:07:07 +0200, Stephen Kitt wrote: > On Fri, 7 Aug 2020 10:32:31 -0700, Guenter Roeck wrote: > > On Fri, Aug 07, 2020 at 06:28:01PM +0200, Stephen Kitt wrote: > > > > > > -static int ltc2978_probe(struct i2c_client *client, > > > - const struct i2c_device

Re: [PATCH v3 1/2] iio:temperature:mlx90632: Reduce number of equal calulcations

2020-08-08 Thread Andy Shevchenko
On Sat, Aug 8, 2020 at 2:22 AM Crt Mori wrote: > > TAdut4 was calculated each iteration although it did not change. In light > of near future additions of the Extended range DSP calculations, this > function refactoring will help reduce unrelated changes in that series as > well as reduce the numb

drivers/pci/endpoint/functions/pci-epf-test.c:288:24: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-08-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: parisc-randconfig-s032-20200808

Re: [PATCH v3 2/2] iio:temperature:mlx90632: Adding extended calibration option

2020-08-08 Thread Andy Shevchenko
On Sat, Aug 8, 2020 at 2:24 AM Crt Mori wrote: > > For some time the market wants medical grade accuracy in medical range, > while still retaining the declared accuracy outside of the medical range > within the same sensor. That is why we created extended calibration > which is automatically switc

Re: [PATCH v3 2/2] iio:temperature:mlx90632: Adding extended calibration option

2020-08-08 Thread Crt Mori
On Sat, 8 Aug 2020 at 12:44, Andy Shevchenko wrote: > > On Sat, Aug 8, 2020 at 2:24 AM Crt Mori wrote: > > > > For some time the market wants medical grade accuracy in medical range, > > while still retaining the declared accuracy outside of the medical range > > within the same sensor. That is w

drivers/md/dm-mpath.c:1682 multipath_end_io_bio() error: double unlocked 'm->lock' (orig line 1675)

2020-08-08 Thread kernel test robot
031-20200808 (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot New smatch warnings: drivers/md/dm-mpath.c:1682 multipath_end_io_bio() error: double unlocked 'm->lock' (orig line 167

Re: [PATCH v1 01/12] fbdev: gxfb: use generic power management

2020-08-08 Thread Sam Ravnborg
Hi Vaibhav On Wed, Aug 05, 2020 at 11:37:11PM +0530, Vaibhav Gupta wrote: > Drivers using legacy power management .suspen()/.resume() callbacks > have to manage PCI states and device's PM states themselves. They also > need to take care of standard configuration registers. > > Switch to generic p

Re: [PATCH v1 02/12] fbdev: lxfb: use generic power management

2020-08-08 Thread Sam Ravnborg
Hi Vaibhav On Wed, Aug 05, 2020 at 11:37:12PM +0530, Vaibhav Gupta wrote: > Drivers using legacy power management .suspen()/.resume() callbacks > have to manage PCI states and device's PM states themselves. They also > need to take care of standard configuration registers. > > Switch to generic p

arch/mips/kvm/vz.c:32:10: fatal error: loongson_regs.h: No such file or directory

2020-08-08 Thread kernel test robot
ago config: mips-randconfig-r024-20200808 (attached as .config) compiler: mips64el-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 git checkout

arch/powerpc/platforms/powernv/opal-fadump.c:42:33: sparse: sparse: incorrect type in assignment (different base types)

2020-08-08 Thread kernel test robot
-20200808 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2-118

drivers/virtio/virtio_mem.c:1031 virtio_mem_mb_plug_any_sb() error: uninitialized symbol 'rc'.

2020-08-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e commit: 5f1f79bbc9e26fa9412fa9522f957bb8f030c442 virtio-mem: Paravirtualized memory hotplug date: 9 weeks ago config: x86_64-randconfig-m001-20200808 (attached as

[PATCH] mmc: Kconfig: Add RISCV and CSKY for MMC_DW

2020-08-08 Thread guoren
From: Guo Ren Synopsys DesignWare MMC controller could be used in RISC-V and C-SKY architectures. Signed-off-by: Guo Ren Cc: Ulf Hansson --- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 3

[PATCH v3] drm/vkms: guarantee vblank when capturing crc

2020-08-08 Thread Melissa Wen
VKMS needs vblank interrupts enabled to capture CRC. When vblank is disabled, tests like kms_cursor_crc and kms_pipe_crc_basic getting stuck waiting for a capture that will not occur until vkms wakes up. This patch adds a helper to set composer and ensure that vblank remains enabled as long as the

Re: [PATCH 16/22] crypto: ccree - add check for xts input length equal to zero

2020-08-08 Thread Gilad Ben-Yossef
On Fri, Aug 7, 2020 at 7:22 PM Andrei Botila wrote: > > From: Andrei Botila > > Standardize the way input lengths equal to 0 are handled in all skcipher > algorithms. All the algorithms return 0 for input lengths equal to zero. > This change has implications not only for xts(aes) but also for cts

[PATCH v4 0/4] iio: temperature: mlx90632: Add extended calibration calculations

2020-08-08 Thread Crt Mori
Since the second patch is dependent on the first and was still not merged, I have decided to send them together. First patch just makes second one more readable as it splits out the repeated calculation and that enables the second patch to tweak the variable to the new condition. V4 review comment

[PATCH v4 1/4] iio:temperature:mlx90632: Reduce number of equal calulcations

2020-08-08 Thread Crt Mori
TAdut4 was calculated each iteration although it did not change. In light of near future additions of the Extended range DSP calculations, this function refactoring will help reduce unrelated changes in that series as well as reduce the number of new functions needed. Signed-off-by: Crt Mori ---

drivers/md/dm-mpath.c:524 multipath_clone_and_map() error: double unlocked 'm->lock' (orig line 516)

2020-08-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e commit: 374117ad4736c5a4f8012cfe59fc07d9d58191d5 dm mpath: use double checked locking in fast path date: 4 weeks ago config: arm-randconfig-m031-20200808 (attached

[PATCH v4 3/4] iio:temperature:mlx90632: Add kerneldoc to the internal struct

2020-08-08 Thread Crt Mori
Document internal/private struct for mlx90632 device. Signed-off-by: Crt Mori --- drivers/iio/temperature/mlx90632.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/iio/temperature/mlx90632.c b/drivers/iio/temperature/mlx90632.c index 049c1217a166..4

[PATCH v4 2/4] iio:temperature:mlx90632: Adding extended calibration option

2020-08-08 Thread Crt Mori
For some time the market wants medical grade accuracy in medical range, while still retaining the declared accuracy outside of the medical range within the same sensor. That is why we created extended calibration which is automatically switched to when object temperature is too high. This patch al

[PATCH v4 4/4] iio:temperature:mlx90632: Convert polling while loops to do-while

2020-08-08 Thread Crt Mori
Reduce number of lines and improve readability to convert polling while loops to do-while. The iopoll.h interface was not used, because we require more than 20ms timeout, because time for sensor to perform a measurement is around 10ms and it needs to perform measurements for each channel (which cur

Aw: [PATCH 1/2] arm: dts: mt7623: move more display-related nodes to mt7623n.dtsi

2020-08-08 Thread Frank Wunderlich
Hi, as i made a mistake in cover-letter, it is not assigned to the series. to show its content, i send it here as comment (instead of resending the whole series): based on series from David Woodhouse [1] i moved more display-nodes out of mt7623.dtsi to new mt7623n.dtsi and changed last part fro

[PATCH for-fixes] MIPS: Loongson64: Do not override watch and ejtag feature

2020-08-08 Thread Jiaxun Yang
Do not override ejtag feature to 0 as Loongson 3A1000+ do have ejtag. For watch, as KVM emulated CPU doesn't have watch feature, we should not enable it unconditionally. Signed-off-by: Jiaxun Yang --- This patch should go into mips-fixes tree as watch feature is blocking KVM guest boot in some ca

[GIT PULL] IPMI bug fixes for 5.9

2020-08-08 Thread Corey Minyard
The following changes since commit a5dc8300df75e8b8384b4c82225f1e4a0b4d9b55: scripts/decode_stacktrace: warn when modpath is needed but is unset (2020-06-15 15:37:24 -0700) are available in the Git repository at: https://github.com/cminyard/linux-ipmi.git tags/for-linus-5.9-1 for you to fe

[PATCH] fix arm64 build with lack of __cpu_logical_map exported

2020-08-08 Thread Greg Kroah-Hartman
Currently Linus's tree fails with the following build error on arm64 makeallmodconfig: ERROR: modpost: "__cpu_logical_map" [drivers/cpufreq/tegra194-cpufreq.ko] undefined! Seems that kernel.ci also notices this for the past 2 days: https://lore.kernel.org/r/5f2c97ab.1c69fb81.160f4

arch/powerpc/platforms/powernv/opal-fadump.c:33:41: sparse: sparse: incorrect type in assignment (different base types)

2020-08-08 Thread kernel test robot
-randconfig-s032-20200808 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2

Re: drivers/virtio/virtio_mem.c:1031 virtio_mem_mb_plug_any_sb() error: uninitialized symbol 'rc'.

2020-08-08 Thread David Hildenbrand
> memory hotplug > date: 9 weeks ago > config: x86_64-randconfig-m001-20200808 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > Was there a delay in sending

RE: [PATCH net-next v1] hinic: fix strncpy output truncated compile warnings

2020-08-08 Thread David Laight
From: luobin (L) > Sent: 08 August 2020 04:37 > > On 2020/8/7 17:32, David Laight wrote: > > From: Luo bin > >> Sent: 07 August 2020 03:09 > >> > >> fix the compile warnings of 'strncpy' output truncated before > >> terminating nul copying N bytes from a string of the same length > >> > >> Signed-

[PATCH] usb: xhci-mtk: Fix typo

2020-08-08 Thread Frank Wunderlich
From: Frank Wunderlich fix this small typo u3_ports_disabed => u3_ports_disabled Fixes: 55ba6e9e25a6 (usb: xhci-mtk: support option to disable usb3 ports) Signed-off-by: Frank Wunderlich --- drivers/usb/host/xhci-mtk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d

Re: drivers/dma/pl330.c:2981:9: warning: Identical condition 'ret', second condition is always false

2020-08-08 Thread Vinod Koul
On 08-08-20, 10:53, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 30185b69a2d533c4ba6ca926b8390ce7de495e29 > commit: a39cddc9e3775100100a4272feed64faac831be9 dmaengine: pl330: Drop > boilerplate code for suspend/resume > d

Re: linux plumbers + clang + s390 virtualized testing

2020-08-08 Thread Vasily Gorbik
On Thu, Aug 06, 2020 at 12:02:52PM -0700, Nick Desaulniers wrote: > On Wed, Jul 29, 2020 at 6:51 AM Vasily Gorbik wrote: > > > > > > We were very excited to see your patches going by for enabling Clang > > > > support for s390. Since then, we've added s390 builds to our > > > > continuous integra

Re: [PATCH] mm/memcg: remove useless check on page->mem_cgroup

2020-08-08 Thread Alex Shi
在 2020/8/5 下午9:02, Alex Shi 写道: > > > 在 2020/8/5 下午8:28, Alex Shi 写道: >> The last patch has a problem on define. this version could fix it. >> >> BTW, I see some !memcg happens when MEMCG compilered but disabled by >> cgroup_disable >> >> >> [ 94.657666] ---[ end trace f1f34bfc3b32ed2f ]---

Re: Removal of HCI commands? (Was: Re: OCF_READ_LOCAL_CODECS is permitted only for root user)

2020-08-08 Thread Pali Rohár
On Wednesday 15 April 2020 00:56:18 Pali Rohár wrote: > On Sunday 09 February 2020 14:21:37 Pali Rohár wrote: > > On Saturday 04 January 2020 11:24:36 Pali Rohár wrote: > > > On Saturday 04 January 2020 10:44:52 Marcel Holtmann wrote: > > > > Hi Pali, > > > > > > > > > I wrote a simple script "sco

Re: [PATCH] gpu/drm: Remove TTM_PL_FLAG_WC of VRAM to fix writecombine issue for Loongson64

2020-08-08 Thread Thomas Bogendoerfer
On Sat, Aug 08, 2020 at 03:25:02PM +0800, Tiezhu Yang wrote: > Loongson processors have a writecombine issue that maybe failed to > write back framebuffer used with ATI Radeon or AMD GPU at times, > after commit 8a08e50cee66 ("drm: Permit video-buffers writecombine > mapping for MIPS"), there exist

[PATCH] ext4: use kmemdup_nul() instead of kstrndup()

2020-08-08 Thread Xianting Tian
kmemdup_nul() is more efficient than kmemdup_nul() if the size is known exactly. The description of kstrndup() already suggested: Note: Use kmemdup_nul() instead if the size is known exactly. Signed-off-by: Xianting Tian --- fs/ext4/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v3] hwmon/pmbus: use simple i2c probe function

2020-08-08 Thread Guenter Roeck
On 8/7/20 11:53 PM, Stephen Kitt wrote: > On Fri, 7 Aug 2020 21:07:07 +0200, Stephen Kitt wrote: > >> On Fri, 7 Aug 2020 10:32:31 -0700, Guenter Roeck wrote: >>> On Fri, Aug 07, 2020 at 06:28:01PM +0200, Stephen Kitt wrote: -static int ltc2978_probe(struct i2c_client *client,

Re: [PATCH] gpu/drm: Remove TTM_PL_FLAG_WC of VRAM to fix writecombine issue for Loongson64

2020-08-08 Thread Jiaxun Yang
在 2020/8/8 下午9:41, Thomas Bogendoerfer 写道: On Sat, Aug 08, 2020 at 03:25:02PM +0800, Tiezhu Yang wrote: Loongson processors have a writecombine issue that maybe failed to write back framebuffer used with ATI Radeon or AMD GPU at times, after commit 8a08e50cee66 ("drm: Permit video-buffers wri

RE: [PATCH 25/26] net: pass a sockptr_t into ->setsockopt

2020-08-08 Thread David Laight
From: Eric Dumazet > Sent: 07 August 2020 19:29 > > On 8/7/20 2:18 AM, David Laight wrote: > > From: Eric Dumazet > >> Sent: 06 August 2020 23:21 > >> > >> On 7/22/20 11:09 PM, Christoph Hellwig wrote: > >>> Rework the remaining setsockopt code to pass a sockptr_t instead of a > >>> plain user poi

Re: [ANNOUNCE] v4.4.231-rt202

2020-08-08 Thread Joe Korty
Ping? On Mon, Jul 27, 2020 at 03:10:33PM -0400, Steven Rostedt wrote: > On Sun, 26 Jul 2020 13:55:12 +0200 > Daniel Wagner wrote: > > > Hi, > > > > On 24.07.20 15:41, Daniel Wagner wrote: > > > Known issues: > > > > > > sigwaittest with hackbench as workload is able to trigger a crash on

Re: [PATCH] Replace HTTP links with HTTPS ones: AUXILIARY DISPLAY DRIVERS

2020-08-08 Thread Miguel Ojeda
Hi Alexander, On Wed, Jul 8, 2020 at 2:56 PM Alexander A. Klimov wrote: > > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > If not .svg: > For each line: > If

[rcu:dev.2020.08.05a] BUILD SUCCESS 3893c86425fd2f1480d8740aa6b9f55e72497c4d

2020-08-08 Thread kernel test robot
allmodconfig powerpc allyesconfig powerpc allmodconfig powerpc allnoconfig powerpc defconfig i386 randconfig-a004-20200808 i386 randconfig-a005-20200808 i386

Lieber Freund (Assalamu Alaikum),?

2020-08-08 Thread Aisha Gaddafi
-- Lieber Freund (Assalamu Alaikum), Ich bin vor einer privaten Suche auf Ihren E-Mail-Kontakt gestoßen Ihre Hilfe. Mein Name ist Aisha Al-Qaddafi, eine alleinerziehende Mutter und eine Witwe mit drei Kindern. Ich bin die einzige leibliche Tochter des Spätlibyschen Präsident (verstorbener Oberst

Re: drivers/md/dm-mpath.c:524 multipath_clone_and_map() error: double unlocked 'm->lock' (orig line 516)

2020-08-08 Thread Mike Snitzer
> locking in fast path > date: 4 weeks ago > config: arm-randconfig-m031-20200808 (attached as .config) > compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot All 3 recent reports abou

Re: [PATCH v2] i2c: iproc: fix race between client unreg and isr

2020-08-08 Thread Florian Fainelli
On 8/7/2020 8:55 PM, Dhananjay Phadke wrote: > On 8/7/2020, Florian Fainelli wrote: >>> When i2c client unregisters, synchronize irq before setting >>> iproc_i2c->slave to NULL. >>> >>> (1) disable_irq() >>> (2) Mask event enable bits in control reg >>> (3) Erase slave address (avoid further wri

arch/powerpc/platforms/powernv/opal-fadump.c:72:58: sparse: expected restricted __be64 src

2020-08-08 Thread kernel test robot
-randconfig-s032-20200808 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version: v0.6.2

Re: [PATCH] fix arm64 build with lack of __cpu_logical_map exported

2020-08-08 Thread Catalin Marinas
Hi Greg, On Sat, Aug 08, 2020 at 02:42:42PM +0200, Greg Kroah-Hartman wrote: > diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c > index 87e81d29e6fb..b421a4756793 100644 > --- a/arch/arm64/kernel/setup.c > +++ b/arch/arm64/kernel/setup.c > @@ -275,6 +275,7 @@ static int __init re

Re: [PATCH] scsi: sd: add runtime pm to open / release

2020-08-08 Thread Alan Stern
On Sat, Aug 08, 2020 at 08:59:09AM +0200, Martin Kepplinger wrote: > On 07.08.20 16:30, Alan Stern wrote: > > On Fri, Aug 07, 2020 at 11:51:21AM +0200, Martin Kepplinger wrote: > >> it's really strange: below is the change I'm trying. Of course that's > >> only for testing the functionality, nothin

Re: [PATCH] docs: Fix function name trailing double-()s

2020-08-08 Thread Paul E. McKenney
On Fri, Aug 07, 2020 at 11:49:59PM -0700, Kees Cook wrote: > I noticed a double-() after a function name in deprecated.rst today. Fix > that one and two others in the Documentation/ tree. > > Signed-off-by: Kees Cook For the RCU hunk: Acked-by: Paul E. McKenney Or I could take the Documentati

Re: [PATCH] fix arm64 build with lack of __cpu_logical_map exported

2020-08-08 Thread Greg Kroah-Hartman
On Sat, Aug 08, 2020 at 04:05:00PM +0100, Catalin Marinas wrote: > Hi Greg, > > On Sat, Aug 08, 2020 at 02:42:42PM +0200, Greg Kroah-Hartman wrote: > > diff --git a/arch/arm64/kernel/setup.c b/arch/arm64/kernel/setup.c > > index 87e81d29e6fb..b421a4756793 100644 > > --- a/arch/arm64/kernel/setup.c

Re: [RFC PATCH 0/7] metricfs metric file system and examples

2020-08-08 Thread David Ahern
On 8/7/20 8:06 PM, Andrew Lunn wrote: > So i personally don't think netdev statistics is a good idea, i doubt > it scales. +1

[PATCH v3 0/3] rk3318 A95X Z2 board

2020-08-08 Thread Johan Jonker
Add rk3318 A95X Z2 board. What works: adc key emmc ethernet hdmi gpu ir mmc sd card vop usb2 uart2 Not tested: av uart0 / bt spdif wifi No support in mainline: usb3 (works with manufacturer driver) front display (works with custom gpio driver AD1628/HT1628) Problems: U-boot on

[PATCH v3 3/3] arm64: dts: rockchip: add rk3318 A95X Z2 board

2020-08-08 Thread Johan Jonker
The rk3318 A95X Z2 boards are sold as TV box. No further documentation is given, but from the dts files extracted it seems that the rk3318 processor is simulair to the rk3328. This dts file contains only the basic nodes that have support in the mainline kernel. Features: CPU: RK3318 Quad-Core Cor

[PATCH v3 1/3] dt-bindings: Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd.

2020-08-08 Thread Johan Jonker
Add vendor prefix for Shenzhen Zkmagic Technology Co., Ltd. Signed-off-by: Johan Jonker Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/

[PATCH v3 2/3] dt-bindings: arm: rockchip: add Zkmagic A95X Z2 description

2020-08-08 Thread Johan Jonker
Add Zkmagic A95X Z2 description for a board with rk3318 processor. Signed-off-by: Johan Jonker Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/rockchip.yaml | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.yaml b/Documentat

Re: [PATCH v6 2/2] iio: light: as73211: New driver

2020-08-08 Thread Jonathan Cameron
On Fri, 7 Aug 2020 17:46:36 +0200 Christian Eggers wrote: > Hi Jonathan, > > On Thursday, 6 August 2020, 19:44:51 CEST, Jonathan Cameron wrote: > > Hi Christian, > > > > I'll take this, but please send a follow up patch to add documentation > > for in_intensity_x_raw and all the other new ABI t

[PATCH] docs: cdrom: Fix a typo and rst markup

2020-08-08 Thread Remi Andruccioli
"The capability fags" should be "The capability flags". In rst markup, a incorrect markup expression is causing bad rendering in Sphinx output. Replace the erroneous single quote by a backquote. Signed-off-by: Remi Andruccioli --- Documentation/cdrom/cdrom-standard.rst | 4 ++-- 1 file changed,

RE: [PATCH v3] exfat: integrates dir-entry getting and validation

2020-08-08 Thread Sungjong Seo
> Add validation for num, bh and type on getting dir-entry. > Renamed exfat_get_dentry_cached() to exfat_get_validated_dentry() due to a > change in functionality. > > Integrate type-validation with simplified. > This will also recognize a dir-entry set that contains 'benign secondary' > dir-entri

arch/arm/include/asm/arch_gicv3.h:44:2: error: implicit declaration of function 'write_sysreg'

2020-08-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e commit: d82bcef5157de1368c08244a846ab968b3e5cb7e soc: imx: select ARM_GIC_V3 for i.MX8M date: 4 weeks ago config: arm-randconfig-p002-20200808 (attached as .config

RE: [PATCH 1/2] exfat: add NameLength check when extracting name

2020-08-08 Thread Sungjong Seo
> The current implementation doesn't care NameLength when extracting the > name from Name dir-entries, so the name may be incorrect. > (Without null-termination, Insufficient Name dir-entry, etc) Add a > NameLength check when extracting the name from Name dir-entries to extract > correct name. > An

Re: [GIT PULL] IPMI bug fixes for 5.9

2020-08-08 Thread pr-tracker-bot
The pull request you sent on Sat, 8 Aug 2020 07:34:07 -0500: > https://github.com/cminyard/linux-ipmi.git tags/for-linus-5.9-1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/11030fe96b57ad843518b0e9430f3cd4b3610ce2 Thank you! -- Deet-doot-dot, I am a bot. https://ko

drivers/char/agp/amd-k7-agp.c:46:28: sparse: sparse: incorrect type in assignment (different address spaces)

2020-08-08 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 449dc8c97089a6e09fb2dac4d92b1b7ac0eb7c1e commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 7 weeks ago config: i386-randconfig-s002-20200809 (attached

[PATCH] [net/ipv6] ip6_output: Add ipv6_pinfo null check

2020-08-08 Thread Gaurav Singh
This PR fixes a possible segmentation violation. In function: ip6_xmit(), we have const struct ipv6_pinfo *np = inet6_sk(sk); which returns NULL unconditionally (regardless sk being NULL or not). In include/linux/ipv6.h: static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) {

Re: [PATCH] clk: samsung: Prevent potential endless loop in the PLL set_rate ops

2020-08-08 Thread Tomasz Figa
2020年8月7日(金) 19:06 Sylwester Nawrocki : > > Hi Tomasz, > > On 8/6/20 18:11, Tomasz Figa wrote: > >> --- a/drivers/clk/samsung/clk-pll.c > >> +++ b/drivers/clk/samsung/clk-pll.c > >> @@ -63,6 +63,27 @@ static long samsung_pll_round_rate(struct clk_hw *hw, > >> return rate_table[i - 1].rate;

RE: [PATCH 2/2] exfat: unify name extraction

2020-08-08 Thread Sungjong Seo
> Name extraction in exfat_find_dir_entry() also doesn't care NameLength, so > the name may be incorrect. > Replace the name extraction in exfat_find_dir_entry() with using > exfat_entry_set_cache and exfat_get_uniname_from_name_entries(), > like exfat_readdir(). > Replace the name extraction with

[PATCH] drm/msm/a6xx: fix crashdec section name typo

2020-08-08 Thread Rob Clark
From: Rob Clark Backport note: maybe wait some time for the crashdec MR[1] to look for both the old typo'd name and the corrected name to land in mesa 20.2 [1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6242 Fixes: 1707add81551 ("drm/msm/a6xx: Add a6xx gpu state") Signed-off-by:

Re: [PATCH] mailmap: Update comments for with format and more detalis

2020-08-08 Thread Joe Perches
On Sat, 2020-08-08 at 00:14 -0700, Kees Cook wrote: > Without having first read the git-shortlog man-page first, the format > of .mailmap may not be immediately obvious. Add comments with pointers > to the man-page, along with other details. > > Signed-off-by: Kees Cook > --- > I'm adding this to

Re: [PATCH] [net/ipv6] ip6_output: Add ipv6_pinfo null check

2020-08-08 Thread Cong Wang
On Sat, Aug 8, 2020 at 10:07 AM Gaurav Singh wrote: > > This PR fixes a possible segmentation violation. > > In function: ip6_xmit(), we have > const struct ipv6_pinfo *np = inet6_sk(sk); which returns NULL > unconditionally (regardless sk being NULL or not). > > In include/linux/ipv6.h: > > stat

arch/powerpc/platforms/powernv/opal-fadump.c:70:46: sparse: sparse: incorrect type in assignment (different base types)

2020-08-08 Thread kernel test robot
-randconfig-s032-20200808 (attached as .config) compiler: powerpc64-linux-gcc (GCC) 9.3.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # apt-get install sparse # sparse version

  1   2   3   4   5   >