[PATCH] usb: gadget: aspeed: set port_dev dma mask

2021-03-26 Thread rentao . bupt
From: Tao Ren Set aspeed-usb vhub port_dev's dma mask to pass the dma_mask test in "dma_map_page_attrs" function, and the dma_mask test was added in 'commit f959dcd6ddfd ("dma-direct: Fix potential NULL pointer dereference")'. Below is the backtrace without the patch: [<80106550>] show_stack+0x2

[PATCH 1/1] KVM: x86: remove unused declaration of kvm_write_tsc()

2021-03-26 Thread Dongli Zhang
The kvm_write_tsc() was not used since commit 0c899c25d754 ("KVM: x86: do not attempt TSC synchronization on guest writes"). Remove its unused declaration. Signed-off-by: Dongli Zhang --- arch/x86/kvm/x86.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kvm/x86.h b/arch/x86/kvm/x86.

Re: [PATCH] media: uvcvideo: Fix pixel format change for Elgato Cam Link 4K

2021-03-26 Thread Greg KH
On Thu, Mar 25, 2021 at 10:34:59PM +0100, Benjamin Drung wrote: > The Elgato Cam Link 4K HDMI video capture card reports to support three > different pixel formats, where the first format depends on the connected > HDMI device. > > ``` > $ v4l2-ctl -d /dev/video0 --list-formats-ext > ioctl: VIDIOC

High-quality Original IELTS certificate

2021-03-26 Thread Nick
Greetings, We are the leading provider of IELTS CERTIFICATE ONLINE. You don’t have to worry if you can’t pass in the IELTS exam, for we are here to issue you this certificate without constrain. We make it possible for you to get the IELTS certificate even without appearing for the exam or even if

Re: [PATCH] media: sq905.c: fix uninitialized variable

2021-03-26 Thread Greg KH
On Thu, Mar 25, 2021 at 11:22:02PM +0200, Alaa Emad wrote: > Reported-by: syzbot+a4e309017a5f3a24c...@syzkaller.appspotmail.com > Signed-off-by: Alaa Emad > --- I know I do not take patches with no changelog text, but other maintainers might be more leniant :( thanks, greg k-h

Re: [PATCH 5/6] PCI: keystone: Add PCI legacy interrupt support for AM654

2021-03-26 Thread Krzysztof Wilczyński
Hi Kishon, [...] > + if (!legacy_irq_domain) { > + dev_err(dev, "Failed to add irq domain for legacy irqs\n"); > + return -EINVAL; > + } [...] It would be "IRQ" and "IRQs" in the message above. [...] > - ret = ks_pcie_config_legacy_irq(ks_pcie); > - if (re

Re: [PATCH] include/linux: Fix typo issue

2021-03-26 Thread Herbert Xu
On Tue, Mar 16, 2021 at 11:42:13AM +0800, zuoqil...@163.com wrote: > From: zuoqilin > > Change 'bufer' to 'buffer'. > > Signed-off-by: zuoqilin > --- > include/linux/mpi.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Please resend to linux-crypto. Thanks. -- Email: Herbert Xu Ho

Re: [PATCH] media: sq905.c: fix uninitialized variable

2021-03-26 Thread Dmitry Vyukov
On Fri, Mar 26, 2021 at 8:11 AM Greg KH wrote: > > On Thu, Mar 25, 2021 at 11:22:02PM +0200, Alaa Emad wrote: > > Reported-by: syzbot+a4e309017a5f3a24c...@syzkaller.appspotmail.com > > Signed-off-by: Alaa Emad > > --- > > I know I do not take patches with no changelog text, but other > maintainer

[PATCH -next] drivers: crypto: CRYPTO_DEV_HISI_HPRE select CRYPTO_ECC and CRYPTO_ECDH

2021-03-26 Thread Zhang Jianhua
If CRYPTO_DEV_HISI_HPRE=y, the following errors will be seen while building hpre_crypto.c drivers/crypto/hisilicon/hpre/hpre_crypto.o: In function `hpre_curve25519_compute_value': hpre_crypto.c:(.text+0x151b): undefined reference to `ecc_get_curve25519' drivers/crypto/hisilicon/hpre/hpre_crypto.o:

Re: [RFC 1/1] crypto: dcp - add power management support

2021-03-26 Thread Herbert Xu
On Fri, Mar 19, 2021 at 02:22:57AM +0200, Dragos Rosioru (OSS) wrote: > From: Dragos Rosioru > > Added suspend/resume operations for PM support in the DCP driver. > After a suspend/resume cycle DCP would still be in a low-power mode > and have its clocks gated, thus requiring state to be saved be

[PATCH -next] driver/rapidio: Remove unused variable

2021-03-26 Thread Lin Ruizhe
In function rio_txcq_handler the rc set but not used. So we can delete this variable. Reported-by: Hulk Robot Signed-off-by: Lin Ruizhe --- drivers/rapidio/rio_cm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/rapidio/rio_cm.c b/drivers/rapidio/rio_cm.c index 50

[PATCH] fuse: Fix possible deadlock when writing back dirty pages

2021-03-26 Thread Baolin Wang
We can meet below deadlock scenario when writing back dirty pages, and writing files at the same time. The deadlock scenario can be reproduced by: - A writeback worker thread A is trying to write a bunch of dirty pages by fuse_writepages(), and the fuse_writepages() will lock one page (named page

Re: [PATCH 6/6] PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)

2021-03-26 Thread Krzysztof Wilczyński
Hi Kishon, A few small nitpicks. > Errata #i2037 in AM65x/DRA80xM Processors Silicon Revision 1.0 > (SPRZ452D–July 2018–Revised December 2019 [1]) mentions when an > inbound PCIe TLP spans more than two internal AXI 128-byte bursts, > the bus may corrupt the packet payload and the corrupt data ma

Re: [PATCH -next] drivers: crypto: CRYPTO_DEV_HISI_HPRE select CRYPTO_ECC and CRYPTO_ECDH

2021-03-26 Thread yumeng
Thanks, there is a similar patch to yours that was sent in advance: https://www.spinics.net/lists/linux-crypto/msg54238.html 在 2021/3/26 15:16, Zhang Jianhua 写道: If CRYPTO_DEV_HISI_HPRE=y, the following errors will be seen while building hpre_crypto.c drivers/crypto/hisilicon/hpre/hpre_crypto.o

Re: [PATCH] drm/omap: fix misleading indentation in pixinc()

2021-03-26 Thread Tomi Valkeinen
On 22/03/2021 18:41, Arnd Bergmann wrote: From: Arnd Bergmann An old patch added a 'return' statement after each BUG() in this driver, which was necessary at the time, but has become redundant after the BUG() definition was updated to handle this properly. gcc-11 now warns about one such insta

RE: [PATCH v4 2/2] ASoC: rt715:add micmute led state control supports

2021-03-26 Thread Yuan, Perry
Hi Hans,Jaroslav > -Original Message- > From: Hans de Goede > Sent: 2021年3月25日 23:07 > To: Yuan, Perry; Jaroslav Kysela; Mark Brown; pierre- > louis.boss...@linux.intel.com; Limonciello, Mario > Cc: po...@protonmail.com; oder_ch...@realtek.com; ti...@suse.com; > mgr...@linux.intel.com; l

Re: [PATCH v2] drm/omap: dsi: Add missing IRQF_ONESHOT

2021-03-26 Thread Tomi Valkeinen
On 23/03/2021 13:15, Sebastian Reichel wrote: Hi, On Tue, Mar 23, 2021 at 05:34:53PM +0800, Yang Li wrote: fixed the following coccicheck: ./drivers/gpu/drm/omapdrm/dss/dsi.c:4329:7-27: ERROR: Threaded IRQ with no primary handler requested without IRQF_ONESHOT Reported-by: Abaci Robot Signed-

Re: [PATCH] media: sq905.c: fix uninitialized variable

2021-03-26 Thread Pavel Skripkin
Hi! On Fri, 2021-03-26 at 08:14 +0100, 'Dmitry Vyukov' via syzkaller wrote: > On Fri, Mar 26, 2021 at 8:11 AM Greg KH > wrote: > > > > On Thu, Mar 25, 2021 at 11:22:02PM +0200, Alaa Emad wrote: > > > Reported-by: syzbot+a4e309017a5f3a24c...@syzkaller.appspotmail.com > > > Signed-off-by: Alaa Ema

Re: [PATCH] [v2] drivers: gpu: drm: Remove duplicate declaration

2021-03-26 Thread Tomi Valkeinen
On 25/03/2021 15:05, Laurent Pinchart wrote: Hi Wan, Thank you for the patch. On Thu, Mar 25, 2021 at 07:10:24PM +0800, Wan Jiabing wrote: struct dss_device has been declared. Remove the duplicate. And sort these forward declarations alphabetically. Signed-off-by: Wan Jiabing Reviewed-by:

Re: [PATCH v2] f2fs: fix to avoid touching checkpointed data in get_victim()

2021-03-26 Thread Chao Yu
On 2021/3/25 7:49, Jaegeuk Kim wrote: On 03/24, Chao Yu wrote: In CP disabling mode, there are two issues when using LFS or SSR | AT_SSR mode to select victim: 1. LFS is set to find source section during GC, the victim should have no checkpointed data, since after GC, section could not be set f

[PATCH 1/2] dt-bindings: devapc: Update bindings

2021-03-26 Thread Nina Wu
From: Nina Wu To support newer hardware architecture of devapc, update device tree bindings. Signed-off-by: Nina Wu --- .../devicetree/bindings/soc/mediatek/devapc.yaml | 41 ++ 1 file changed, 41 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/mediatek/

[PATCH 2/2] soc: mediatek: Add mt8192 devapc driver

2021-03-26 Thread Nina Wu
From: Nina Wu The hardware architecture of mt8192 devapc is slightly different from that of the previous IC. We add necessary extensions to support mt8192 and be back-compatible with other ICs. Signed-off-by: Nina Wu --- drivers/soc/mediatek/mtk-devapc.c | 213 -

Re: [PATCH v1 1/2] memory: tegra20: Correct comment to MC_STAT registers writes

2021-03-26 Thread Krzysztof Kozlowski
On Wed, 24 Mar 2021 00:04:45 +0300, Dmitry Osipenko wrote: > The code was changed multiple times and the comment to MC_STAT > registers writes became slightly outdated. The MC_STAT programming > now isn't hardcoded to the "bandwidth" mode, let's clarify this in > the comment. Applied, thanks! [1/

Re: [PATCH v1 1/2] memory: tegra20: Correct comment to MC_STAT registers writes

2021-03-26 Thread Krzysztof Kozlowski
On 25/03/2021 18:20, Dmitry Osipenko wrote: > 24.03.2021 00:04, Dmitry Osipenko пишет: >> The code was changed multiple times and the comment to MC_STAT >> registers writes became slightly outdated. The MC_STAT programming >> now isn't hardcoded to the "bandwidth" mode, let's clarify this in >> the

Re: [PATCH] Bluetooth: L2CAP: Rudimentary typo fixes

2021-03-26 Thread Marcel Holtmann
Hi Bhaskar, > s/minium/minimum/ > s/procdure/procedure/ > > Signed-off-by: Bhaskar Chowdhury > --- > net/bluetooth/l2cap_core.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel

Re: [PATCH] ia64: simplify code flow around swiotlb init

2021-03-26 Thread John Paul Adrian Glaubitz
Hi Sergei! On 3/26/21 12:35 AM, Sergei Trofimovich wrote: > Before the change CONFIG_INTEL_IOMMU && !CONFIG_SWIOTLB && !CONFIG_FLATMEM > > could skip `set_max_mapnr(max_low_pfn);` is iommu is not present on system. ^^

Re: [PATCH] media: sq905.c: fix uninitialized variable

2021-03-26 Thread Dmitry Vyukov
On Fri, Mar 26, 2021 at 8:24 AM Pavel Skripkin wrote: > > Hi! > > On Fri, 2021-03-26 at 08:14 +0100, 'Dmitry Vyukov' via syzkaller wrote: > > On Fri, Mar 26, 2021 at 8:11 AM Greg KH > > wrote: > > > > > > On Thu, Mar 25, 2021 at 11:22:02PM +0200, Alaa Emad wrote: > > > > Reported-by: syzbot+a4e30

Re: [PATCH v3 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-26 Thread Krzysztof Wilczyński
Hi, > + /* > + * Regarding to the datasheet, the PCIE_VPH is suggested > + * to be 1.8V. If the PCIE_VPH is supplied by 3.3V, the > + * VREG_BYPASS should be cleared to zero. > + */ [...] A small nitpick here. What about the followi

Re: [PATCH 2/2] streamline_config.pl: Add softtabstop=4 for vim users

2021-03-26 Thread Joe Perches
On Thu, 2021-03-25 at 09:50 -0400, Steven Rostedt wrote: > On Thu, 25 Mar 2021 15:20:13 +0900 Masahiro Yamada > wrote: > > > > The root cause of inconsistency is that > > you mix up space-indentation and tab-indentation. > > I do not know if it is a standard way either. > > This is the default

Re: [PATCH] media: sq905.c: fix uninitialized variable

2021-03-26 Thread Pavel Skripkin
Hi! On Fri, 2021-03-26 at 08:40 +0100, Dmitry Vyukov wrote: > On Fri, Mar 26, 2021 at 8:24 AM Pavel Skripkin > wrote: > > > > Hi! > > > > On Fri, 2021-03-26 at 08:14 +0100, 'Dmitry Vyukov' via syzkaller > > wrote: > > > On Fri, Mar 26, 2021 at 8:11 AM Greg KH > > > > > > wrote: > > > > > > >

Re: [RFT PATCH v3 01/27] arm64: Cope with CPUs stuck in VHE mode

2021-03-26 Thread Hector Martin
On 25/03/2021 05.00, Marc Zyngier wrote: I've come up with this on top of the original patch, spitting a warning when the right conditions are met. It's pretty ugly, but hey, so is the HW this runs on. [...] Folded into v4 and tested; works fine with `kvm-arm.mode=nvhe`, throwing the ugly WAR

linux-next: build warnings after merge of the jc_docs tree

2021-03-26 Thread Stephen Rothwell
Hi all, After merging the jc_docs tree, today's linux-next build (htmldocs) produced these warnings: include/linux/pstore_zone.h:55: warning: Function parameter or member 'write' not described in 'pstore_zone_info' include/linux/pstore_blk.h:43: warning: Function parameter or member 'write' not

[syzbot] KASAN: null-ptr-deref Read in filp_close (2)

2021-03-26 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:5ee96fa9 Merge tag 'irq-urgent-2021-03-21' of git://git.ke.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17fb84bed0 kernel config: https://syzkaller.appspot.com/x/.config?x=6abda3336c698a07 das

RE: Re: [PATCH v3 3/3] PCI: imx: clear vreg bypass when pcie vph voltage is 3v3

2021-03-26 Thread Richard Zhu
> -Original Message- > From: Krzysztof Wilczyński > Sent: Friday, March 26, 2021 3:46 PM > To: Richard Zhu > Cc: l.st...@pengutronix.de; andrew.smir...@gmail.com; > shawn...@kernel.org; bhelg...@google.com; ste...@agner.ch; > lorenzo.pieral...@arm.com; linux-...@vger.kernel.org; dl-linux-

Re: [PATCH v2 0/8] ensure bios aren't split in middle of crypto data unit

2021-03-26 Thread Satya Tangirala
On Thu, Mar 25, 2021 at 08:46:20PM -0700, Bart Van Assche wrote: > On 3/25/21 6:39 PM, Satya Tangirala wrote: > > On Thu, Mar 25, 2021 at 02:51:31PM -0700, Bart Van Assche wrote: > >> Are you sure that the block layer core splits bios at logical block > >> boundaries? Commit 9cc5169cd478 ("block: I

[PATCH] arch/powerpc: Remove unneeded variable: "ret"

2021-03-26 Thread zuoqilin1
From: zuoqilin Remove unneeded variable: "ret". Signed-off-by: zuoqilin --- arch/powerpc/platforms/pseries/cmm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/powerpc/platforms/pseries/cmm.c b/arch/powerpc/platforms/pseries/cmm.c index 45a3a30..95ebb0c 100644 ---

Re: [RFC][PATCH] task_struct::state frobbing

2021-03-26 Thread Peter Zijlstra
On Thu, Mar 25, 2021 at 08:51:10PM +0100, Thomas Gleixner wrote: > On Thu, Mar 25 2021 at 19:11, Peter Zijlstra wrote: > > --- a/block/blk-mq.c > > +++ b/block/blk-mq.c > > @@ -3867,7 +3867,7 @@ static bool blk_mq_poll_hybrid(struct request_queue > > *q, > > int blk_poll(struct request_queue *q,

Re: [RFT PATCH v3 16/27] irqchip/apple-aic: Add support for the Apple Interrupt Controller

2021-03-26 Thread Hector Martin
On 08/03/2021 22.31, Marc Zyngier wrote: + if ((read_sysreg_s(SYS_ICH_HCR_EL2) & ICH_HCR_EN) && + read_sysreg_s(SYS_ICH_MISR_EL2) != 0) { + pr_err("vGIC IRQ fired, disabling.\n"); Please add a _ratelimited here. Whilst debugging KVM on this machine, I ended up

Re: [RFC][PATCH] task_struct::state frobbing

2021-03-26 Thread Peter Zijlstra
On Thu, Mar 25, 2021 at 07:27:35PM +0100, Oleg Nesterov wrote: > On 03/25, Peter Zijlstra wrote: > > > > static void ptrace_unfreeze_traced(struct task_struct *task) > > { > > - if (task->state != __TASK_TRACED) > > + if (READ_ONCE(task->__state) != __TASK_TRACED) > > return; > >

Re: [PATCH -next 1/5] block: add disk sequence number

2021-03-26 Thread Hannes Reinecke
On 3/25/21 6:29 PM, Matteo Croce wrote: On Mon, Mar 15, 2021 at 10:05 PM Matthew Wilcox wrote: On Mon, Mar 15, 2021 at 08:18:24PM +, Matthew Wilcox wrote: On Mon, Mar 15, 2021 at 09:02:38PM +0100, Matteo Croce wrote: From: Matteo Croce Add a sequence number to the disk devices. This nu

Re: [PATCH] ALSA: usb-audio: Don't store returned value and check for errors

2021-03-26 Thread Takashi Iwai
On Thu, 25 Mar 2021 09:36:41 +0100, Muhammad Usama Anjum wrote: > > The returned value by create_autodetect_quirk isn't being used other > than in the success check on next line. Remove the return value > assignement. Check for error values instead of success check. > > Signed-off-by: Muhammad Us

Re: [syzbot] KASAN: null-ptr-deref Read in filp_close (2)

2021-03-26 Thread Dmitry Vyukov
On Fri, Mar 26, 2021 at 8:55 AM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:5ee96fa9 Merge tag 'irq-urgent-2021-03-21' of git://git.ke.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=17fb84bed0 > kernel config:

[PATCH] staging: fbtft: fix a typo

2021-03-26 Thread Carlis
From: "Carlis" Change 'tft' to 'TFT' Signed-off-by: Carlis --- drivers/staging/fbtft/fbtft-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 4f362da..44e7acb 100644 --- a/drivers/staging

Re: [PATCH] media: sq905.c: fix uninitialized variable

2021-03-26 Thread Dmitry Vyukov
On Fri, Mar 26, 2021 at 8:53 AM Pavel Skripkin wrote: > > Hi! > > On Fri, 2021-03-26 at 08:40 +0100, Dmitry Vyukov wrote: > > On Fri, Mar 26, 2021 at 8:24 AM Pavel Skripkin > > wrote: > > > > > > Hi! > > > > > > On Fri, 2021-03-26 at 08:14 +0100, 'Dmitry Vyukov' via syzkaller > > > wrote: > > > >

Re: [PATCH V4 05/18] iommu/ioasid: Redefine IOASID set and allocation APIs

2021-03-26 Thread Jean-Philippe Brucker
On Thu, Mar 25, 2021 at 02:16:45PM -0300, Jason Gunthorpe wrote: > On Thu, Mar 25, 2021 at 10:02:36AM -0700, Jacob Pan wrote: > > Hi Jean-Philippe, > > > > On Thu, 25 Mar 2021 11:21:40 +0100, Jean-Philippe Brucker > > wrote: > > > > > On Wed, Mar 24, 2021 at 03:12:30PM -0700, Jacob Pan wrote: >

Re: [PATCH v3 1/2] ALSA: usb-audio: Carve out connector value checking into a helper

2021-03-26 Thread Takashi Iwai
On Thu, 25 Mar 2021 17:59:12 +0100, Kai-Heng Feng wrote: > > This is preparation for next patch, no functional change intended. > > Signed-off-by: Kai-Heng Feng Applied now. Thanks. Takashi > --- > v3: > - No change. > v2: > - Only return early when ret < 0. > > sound/usb/mixer.c | 34 +

Re: [PATCH v3 2/2] ALSA: usb-audio: Check connector value on resume

2021-03-26 Thread Takashi Iwai
On Thu, 25 Mar 2021 17:59:13 +0100, Kai-Heng Feng wrote: > > Rear Mic on Lenovo P620 cannot record after S3, despite that there's no > error and the other two functions of the USB audio, Line In and Line > Out, work just fine. > > The mic starts to work again after running userspace app like "als

Re: [PATCH V4] ALSA: pcm: Fix couple of typos

2021-03-26 Thread Takashi Iwai
On Fri, 26 Mar 2021 07:42:11 +0100, Bhaskar Chowdhury wrote: > > > s/unconditonally/unconditionally/ > s/succesful/successful/ > > Signed-off-by: Bhaskar Chowdhury > --- > Changes from V3: > Yet another try to make it work Applied now. Thanks. Takashi

[PATCH -next] drivers: net: CONFIG_ATH9K select LEDS_CLASS

2021-03-26 Thread Zhang Jianhua
If CONFIG_ATH9K=y, the following errors will be seen while compiling gpio.c drivers/net/wireless/ath/ath9k/gpio.o: In function `ath_deinit_leds': gpio.c:(.text+0x604): undefined reference to `led_classdev_unregister' gpio.c:(.text+0x604): relocation truncated to fit: R_AARCH64_CALL26 against undef

Re: [PATCH] mm/page_alloc: try oom if reclaim is unable to make forward progress

2021-03-26 Thread Michal Hocko
[Cc Vlastimil] On Thu 25-03-21 21:01:59, Aaron Tomlin wrote: > On Mon 2021-03-22 11:47 +0100, Michal Hocko wrote: > > Costly orders already do have heuristics for the retry in place. Could > > you be more specific what kind of problem you see with those? > > If I understand correctly, when the gf

Re: [PATCH v1 1/1] mfd: intel_quark_i2c_gpio: Don't play dirty trick with const

2021-03-26 Thread Lee Jones
On Thu, 25 Mar 2021, Andy Shevchenko wrote: > As Linus rightfully noticed, the driver plays dirty trick with const, > i.e. it assigns a place holder data structure to the const field > in the MFD cell and then drops the const by explicit casting. This > is not how it should be. > > Replace cell p

RE: [PATCH][next] UAPI: nfsfh.h: Replace one-element array with flexible-array member

2021-03-26 Thread David Laight
From: Gustavo A. R. Silva > Sent: 25 March 2021 21:12 > > On 3/25/21 10:29, David Laight wrote: > > >>> > >>> Could you use the simpler: > struct nfs_fhbase_new { > __u8 fb_version; > __u8 fb_auth_type; > __u8 fb_fsid_type; >

Re: [PATCH -next] mm/page_alloc: remove duplicated include from page_alloc.c

2021-03-26 Thread Qinglang Miao
Hey, Matthew Thanks for your advice towards hulk robot. We'd like to improve the capbility of hulk robot whole the time. This patch is just a small cleanup reported by hulk robot, But the robot can do more than this. For example, it finds crucial and useful bugs as well. As for 'Untangle t

Re: [GIT PULL] Immutable branch between MFD and Input due for the v5.13 merge window

2021-03-26 Thread Lee Jones
On Thu, 25 Mar 2021, Dmitry Torokhov wrote: > Hi Lee, > > On Wed, Mar 10, 2021 at 11:12:50AM +, Lee Jones wrote: > > On Tue, 09 Mar 2021, Lee Jones wrote: > > > > > On Tue, 09 Mar 2021, Lee Jones wrote: > > > > > > > Enjoy! > > > > > > > > The following changes since commit > > > > fe07bf

Re: [PATCH 1/2] Updated locking documentation for transaction_t

2021-03-26 Thread Alexander Lochmann
On 11.02.21 10:30, Jan Kara wrote: >> diff --git a/include/linux/jbd2.h b/include/linux/jbd2.h >> index 99d3cd051ac3..18f77d9b1745 100644 >> --- a/include/linux/jbd2.h >> +++ b/include/linux/jbd2.h >> @@ -594,18 +594,18 @@ struct transaction_s >> */ >> unsigned long t_log_start

drivers/dma/ti/k3-udma.c:4236 bcdma_setup_resources() error: 'rm_res' dereferencing possible ERR_PTR()

2021-03-26 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 002322402dafd846c424ffa9240a937f49b48c42 commit: 017794739702d444ca48115ff0fcdce19edb5559 dmaengine: ti: k3-udma: Initial support for K3 BCDMA config: arm64-randconfig-m031-20210325 (attached as .config) com

Re: [PATCH v25 05/13] mm/damon: Implement primitives for the virtual memory address spaces

2021-03-26 Thread SeongJae Park
From: SeongJae Park On Thu, 18 Mar 2021 10:08:48 + sj38.p...@gmail.com wrote: > From: SeongJae Park > > This commit introduces a reference implementation of the address space > specific low level primitives for the virtual address space, so that > users of DAMON can easily monitor the data

drivers/dma/ti/k3-udma.c:2635 pktdma_alloc_chan_resources() warn: variable dereferenced before check 'uc->rchan' (see line 2556)

2021-03-26 Thread Dan Carpenter
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: db24726bfefa68c606947a86132591568a06bfb4 commit: d2abc982333c02f9e1ff1c6b3782174f5b7662d7 dmaengine: ti: k3-udma: Initial support for K3 PKTDMA config: arm64-randconfig-m031-20210325 (attached as .config) co

Re: [PATCH V2 1/5] powerpc/perf: Expose processor pipeline stage cycles using PERF_SAMPLE_WEIGHT_STRUCT

2021-03-26 Thread Madhavan Srinivasan
On 3/25/21 6:36 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Mar 24, 2021 at 10:05:23AM +0530, Madhavan Srinivasan escreveu: On 3/22/21 8:27 PM, Athira Rajeev wrote: Performance Monitoring Unit (PMU) registers in powerpc provides information on cycles elapsed between different stages in the pi

linux-next: Tree for Mar 26

2021-03-26 Thread Stephen Rothwell
Hi all, Changes since 20210325: The vfs tree gained a conflict against the cifs tree. The akpm-current tree still had its its build failure but I applied a supplied patch. Non-merge commits (relative to Linus' tree): 6585 6374 files changed, 408180 insertions(+), 136625 deletions(-) -

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-26 Thread Michal Hocko
On Thu 25-03-21 23:06:50, Oscar Salvador wrote: > On Thu, Mar 25, 2021 at 05:47:30PM +0100, Michal Hocko wrote: > > On Thu 25-03-21 17:36:22, Michal Hocko wrote: > > > If all it takes is to make pfn_to_online_page work (and my > > > previous attempt is incorrect because it should consult block rath

Re: [syzbot] KASAN: use-after-free Read in disk_part_iter_next (2)

2021-03-26 Thread Ming Lei
On Sun, Mar 14, 2021 at 7:10 PM syzbot wrote: > > Hello, > > syzbot found the following issue on: > > HEAD commit:280d542f Merge tag 'drm-fixes-2021-03-05' of git://anongit.. > git tree: upstream > console output: https://syzkaller.appspot.com/x/log.txt?x=15ade5aed0 > kernel config:

[PATCH 1/4] vfio/type1: fix a couple of spelling mistakes

2021-03-26 Thread Zhen Lei
There are several spelling mistakes, as follows: userpsace ==> userspace Accouting ==> Accounting exlude ==> exclude Signed-off-by: Zhen Lei --- drivers/vfio/vfio_iommu_type1.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/vfio/vfio_iommu_type1.c b/drivers/vfi

[PATCH 2/4] vfio/mdev: Fix spelling mistake "interal" -> "internal"

2021-03-26 Thread Zhen Lei
There is a spelling mistake in a comment, fix it. Signed-off-by: Zhen Lei --- drivers/vfio/mdev/mdev_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vfio/mdev/mdev_private.h b/drivers/vfio/mdev/mdev_private.h index 7d922950caaf3c1..4d62b76c473409d 100644 ---

[PATCH 4/4] vfio/platform: Fix spelling mistake "registe" -> "register"

2021-03-26 Thread Zhen Lei
There is a spelling mistake in a comment, fix it. Signed-off-by: Zhen Lei --- drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/vfio/platform/reset/vfio_platform_calxedaxgmac.c b/drivers/vfio/platform/reset/vfio_

[PATCH 3/4] vfio/pci: fix a couple of spelling mistakes

2021-03-26 Thread Zhen Lei
There are several spelling mistakes, as follows: permision ==> permission thru ==> through presense ==> presence Signed-off-by: Zhen Lei --- drivers/vfio/pci/vfio_pci.c | 2 +- drivers/vfio/pci/vfio_pci_config.c | 2 +- drivers/vfio/pci/vfio_pci_nvlink2.c | 4 ++-- 3 files changed, 4 in

[PATCH 0/4] vfio: fix a couple of spelling mistakes detected by codespell tool

2021-03-26 Thread Zhen Lei
This detection and correction covers the entire driver/vfio directory. Zhen Lei (4): vfio/type1: fix a couple of spelling mistakes vfio/mdev: Fix spelling mistake "interal" -> "internal" vfio/pci: fix a couple of spelling mistakes vfio/platform: Fix spelling mistake "registe" -> "register"

Re: [PATCH] staging: fbtft: fix a typo

2021-03-26 Thread Greg KH
On Fri, Mar 26, 2021 at 04:05:15PM +0800, Carlis wrote: > From: "Carlis" > > Change 'tft' to 'TFT' Why? What is wrong with "tft"? > > Signed-off-by: Carlis Full name please. thanks, greg k-h

[PATCH 7/7] Remove unnecessary variable

2021-03-26 Thread qiumibaozi_1
From: ganjisheng Signed-off-by: ganjisheng --- arch/x86/kvm/emulate.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index f7970ba..7dfd529 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -1403,8 +1403,6

Re: [PATCH 0/3] Fix CONFIG_FUNCTION_TRACER with clang

2021-03-26 Thread Sedat Dilek
On Thu, Mar 25, 2021 at 11:38 PM Nathan Chancellor wrote: > > Hi all, > > This series fixes function tracing with clang. > > Patch 1 adjusts the mcount regex in scripts/recordmcount.pl to handle > the presence of PLT relocations, which happen with clang. Without this, > the mcount_loc section will

Re: [PATCH] livepatch: klp_send_signal should treat PF_IO_WORKER like PF_KTHREAD

2021-03-26 Thread Miroslav Benes
On Thu, 25 Mar 2021, Jens Axboe wrote: > On 3/25/21 3:30 AM, Miroslav Benes wrote: > >> (PF_KTHREAD | PF_IO_WORKER) is open coded in soo many places maybe this is > >> a > >> silly question, but... > >> > >> If the livepatch code could use fake_signal_wake_up(), we could consolidate > >> the patt

Re: [PATCH v2 04/11] PCI: dwc: pcie-kirin: add support for Kirin 970 PCIe controller

2021-03-26 Thread Mauro Carvalho Chehab
Em Wed, 3 Feb 2021 08:34:21 -0600 Rob Herring escreveu: > On Wed, Feb 3, 2021 at 1:02 AM Mauro Carvalho Chehab > wrote: > > > > From: Manivannan Sadhasivam > > > > Add support for HiSilicon Kirin 970 (hi3670) SoC PCIe controller, based > > on Synopsys DesignWare PCIe controller IP. > > > > [mch

Re: [PATCH 1/3] x86: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)

2021-03-26 Thread Sedat Dilek
On Fri, Mar 26, 2021 at 1:04 AM Nathan Chancellor wrote: > > From: John Millikin > > When cross-compiling with Clang, the `$(CLANG_FLAGS)' variable > contains additional flags needed to build C and assembly sources > for the target platform. Normally this variable is automatically > included in `

Re: [PATCH 0/3] Fix cross compiling x86 with clang

2021-03-26 Thread Ard Biesheuvel
On Fri, 26 Mar 2021 at 01:04, Nathan Chancellor wrote: > > Hi all, > > This series fixes cross compiling x86 with clang, which was initially > brought up by John here: > > https://lore.kernel.org/r/cceb074c-861c-d716-5e19-834a8492f...@gmail.com/ > > I have picked up that patch and added the same f

linux-next: build warning after merge of the net-next tree

2021-03-26 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (htmldocs) produced this warning: net/tipc/bearer.c:248: warning: Function parameter or member 'extack' not described in 'tipc_enable_bearer' Introduced by commit b83e214b2e04 ("tipc: add extack messages for bearer/media failu

[PATCH 1/2] mailmap: update email address for Alex Shi

2021-03-26 Thread Alex Shi
Add my kernel.org address for old email address. Signed-off-by: Alex Shi Cc: Andrew Morton Cc: Jonathan Corbet Cc: Kees Cook Cc: Leon Romanovsky Cc: Thomas Bogendoerfer Cc: Alexander Lobakin Cc: linux-kernel@vger.kernel.org --- .mailmap | 5 +++-- 1 file changed, 3 insertions(+), 2

[PATCH 2/2] Docs/zh_CN: update Alex Shi new email address

2021-03-26 Thread Alex Shi
I am leaving Alibaba, udpate the old email address to new one. Signed-off-by: Alex Shi Cc: Harry Wei Cc: Alex Shi Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Documentation/translations/zh_CN/disclaimer-zh_CN.rst | 2 +- MAINTAINERS

Beyond Fair Pay Discussion

2021-03-26 Thread Ywe Cærlyn
Fair Pay discussion being now concluded with LCPU, for inspiration or directly this as advanced may understand, doing more work pr. cycle, as desired by bus aswell. Fair Pay philosophy then being part of the architecture paradigm. Ofcourse there is more work to do, and I now have resumed the b

Re: [PATCH v2 04/11] PCI: dwc: pcie-kirin: add support for Kirin 970 PCIe controller

2021-03-26 Thread Manivannan Sadhasivam
On Fri, Mar 26, 2021 at 09:39:36AM +0100, Mauro Carvalho Chehab wrote: > Em Wed, 3 Feb 2021 08:34:21 -0600 > Rob Herring escreveu: > > > On Wed, Feb 3, 2021 at 1:02 AM Mauro Carvalho Chehab > > wrote: > > > > > > From: Manivannan Sadhasivam > > > > > > Add support for HiSilicon Kirin 970 (hi367

Re: [PATCH v3 2/2] leds: rt4505: Add support for Richtek RT4505 flash LED controller

2021-03-26 Thread Pavel Machek
Hi! > Add support for RT4505 flash LED controller. It can support up to 1.5A > flash current with hardware timeout and low input voltage protection. > > Signed-off-by: ChiYuan Huang > Acked-by: Jacek Anaszewski Thank you, applied and pushed out. Best regards,

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-26 Thread David Hildenbrand
On 26.03.21 09:35, Michal Hocko wrote: On Thu 25-03-21 23:06:50, Oscar Salvador wrote: On Thu, Mar 25, 2021 at 05:47:30PM +0100, Michal Hocko wrote: On Thu 25-03-21 17:36:22, Michal Hocko wrote: If all it takes is to make pfn_to_online_page work (and my previous attempt is incorrect because it

linux-next: build warnings after merge of the arm-perf tree

2021-03-26 Thread Stephen Rothwell
Hi all, After merging the arm-perf tree, today's linux-next build (htmldocs) produced these warnings: Documentation/admin-guide/perf/hisi-pmu.rst:61: WARNING: Unexpected indentation. Documentation/admin-guide/perf/hisi-pmu.rst:62: WARNING: Block quote ends without a blank line; unexpected uninde

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-26 Thread Oscar Salvador
On Fri, Mar 26, 2021 at 09:35:03AM +0100, Michal Hocko wrote: > No problem there. I will not insist on my approach unless I can convince > you that it is a better solution. It seems I have failed and I can live > with that. Well, I am glad we got to discuss it at least. > > +static int memory_blo

Re: [PATCH v5 1/5] mm,memory_hotplug: Allocate memmap from the added memory range

2021-03-26 Thread Oscar Salvador
On Fri, Mar 26, 2021 at 09:52:58AM +0100, David Hildenbrand wrote: > Might have to set fully spanned section online. (vmemmap >= SECTION_SIZE) Hi David, could you elaborate on this a bit? > Something else to note: > > > We'll not call the memory notifier (e.g., MEM_ONLINE) for the vmemmap. The

[RFC PATCH] USB:ohci:fix ohci interruption problem

2021-03-26 Thread Longfang Liu
When OHCI enters the S4 sleep state, the USB sleep process will call check_root_hub_suspend() and ohci_bus_suspend() instead of ohci_suspend() and ohci_bus_suspend(), this causes the OHCI interrupt to not be closed. At this time, if just one device interrupt is reported. Since rh_state has been ch

Re: [PATCH v2] kernel/resource: Fix locking in request_free_mem_region

2021-03-26 Thread David Hildenbrand
On 26.03.21 02:20, Alistair Popple wrote: request_free_mem_region() is used to find an empty range of physical addresses for hotplugging ZONE_DEVICE memory. It does this by iterating over the range of possible addresses using region_intersects() to see if the range is free. Just a high-level qu

Re: [Ksummit-discuss] [2/5] reporting-issues: step-by-step-guide: main and two sub-processes for stable/longterm

2021-03-26 Thread Greg KH
On Fri, Mar 26, 2021 at 07:16:40AM +0100, Thorsten Leemhuis wrote: > On 26.03.21 07:13, Thorsten Leemhuis wrote: > > Lo! Since a few months mainline in > > Documentation/admin-guide/reporting-issues.rst contains a text written > > to obsolete the good old reporting-bugs text. For now, the new docum

Re: linux-next: build failure after merge of the tip tree

2021-03-26 Thread Sedat Dilek
On Mon, Mar 22, 2021 at 10:02 AM Borislav Petkov wrote: > > On Mon, Mar 22, 2021 at 02:37:14PM +1100, Stephen Rothwell wrote: > > Hi all, > > > > After merging the tip tree, today's linux-next build (x86_64 allmodconfig) > > failed like this: > > > > arch/x86/net/bpf_jit_comp.c: In function 'arch_

Re: [RFT PATCH v3 16/27] irqchip/apple-aic: Add support for the Apple Interrupt Controller

2021-03-26 Thread Hector Martin
Hi Will, No worries, I was busy until a couple days ago anyway. On 25/03/2021 04.57, Will Deacon wrote: +#define pr_fmt(fmt) "%s: " fmt, __func__ General nit: but I suspect many of the prints in here probably want to be using the *_ratelimited variants. You're right, everything complaining

linux-next: build warning after merge of the drm-intel-fixes tree

2021-03-26 Thread Stephen Rothwell
Hi all, After merging the drm-intel-fixes tree, today's linux-next build (htmldocs) produced this warning: Documentation/gpu/i915:22: /drivers/gpu/drm/i915/intel_runtime_pm.c:423: WARNING: Inline strong start-string without end-string. Introduced by commit 8840e3bd981f ("drm/i915: Fix the GT

Re: [PATCH v2] sched: Warn on long periods of pending need_resched

2021-03-26 Thread Peter Zijlstra
On Thu, Mar 25, 2021 at 02:58:52PM -0700, Josh Don wrote: > > On Wed, Mar 24, 2021 at 01:39:16PM +, Mel Gorman wrote: > > I'm not going to NAK because I do not have hard data that shows they must > > exist. However, I won't ACK either because I bet a lot of tasty beverages > > the next time we

Re: [Ksummit-discuss] FYI & RFC: obsoleting reporting-bugs and making reporting-issues official

2021-03-26 Thread Greg KH
On Fri, Mar 26, 2021 at 07:13:09AM +0100, Thorsten Leemhuis wrote: > > Lo! Since a few months mainline in > Documentation/admin-guide/reporting-issues.rst contains a text written > to obsolete the good old reporting-bugs text. For now, the new document > still contains a warning at the top that ba

Re: [PATCH] crypto: sm3 - use the more precise type u32 instead of unsigned int

2021-03-26 Thread Ard Biesheuvel
On Fri, 26 Mar 2021 at 03:22, Tianjia Zhang wrote: > > In the process of calculating the hash, use the more accurate type > 'u32' instead of the original 'unsigned int' to avoid ambiguity. > > Signed-off-by: Tianjia Zhang I don't see the point of this patch. u32 and unsigned int are always the s

[PATCH v2] loop: call __loop_clr_fd() with lo_mutex locked to avoid autoclear race

2021-03-26 Thread qiang . zhang
From: Zqiang lo->lo_refcnt = 0 CPU0 CPU1 lo_open()lo_open() mutex_lock(&lo->lo_mutex) atomic_inc(&lo->lo_refcnt) lo_refcnt == 1 mutex_unlock(&lo->lo_mutex)

[PATCH] remove Dan Murphy from TI from MAINTAINERS

2021-03-26 Thread Pavel Machek
Dan's address bounces, and has been bouncing for some time as he moved to other projects. I believe TI should be more careful with this, and should assign alternate contacts for their drivers. Anyway what we can do now is to remove the obsolete address. Signed-off-by: Pavel Machek --- (I'm s

Re: [PATCH 1/2] dt-bindings: phy: add vbus-supply optional property to phy-stm32-usbphyc

2021-03-26 Thread Amelie DELAUNAY
Hi Rob, On 3/26/21 1:28 AM, Rob Herring wrote: On Wed, Mar 17, 2021 at 05:09:53PM +0100, Amelie Delaunay wrote: This patch adds vbus-supply optional property to phy sub-nodes. A regulator for USB VBUS may be needed for host mode. Signed-off-by: Amelie Delaunay --- Documentation/devicetree/b

linux-next: Signed-off-by missing for commit in the cifs tree

2021-03-26 Thread Stephen Rothwell
Hi all, Commit 5d7d1f5dc626 ("cifs: Adjust key sizes and key generation routines for AES256 encryption") is missing a Signed-off-by from its committer. -- Cheers, Stephen Rothwell pgpivHRbs9far.pgp Description: OpenPGP digital signature

RE: [PATCH v2 net-next 4/5] stmmac: intel: add support for multi-vector msi and msi-x

2021-03-26 Thread Ong, Boon Leong
>+static int stmmac_config_multi_msi(struct pci_dev *pdev, >+ struct plat_stmmacenet_data *plat, >+ struct stmmac_resources *res) >+{ For optimum RX & TX queue processing on the same IRQ, we should use irq_set_affinity_hint() to set th

Re: linux-next: build warnings after merge of the arm-perf tree

2021-03-26 Thread Shaokun Zhang
Hi Will & Stephen, Apologies for the mistake. Will, shall I send a new version v5 to fix this issue or other? Thanks, Shaokun On 2021/3/26 16:52, Stephen Rothwell wrote: > Hi all, > > After merging the arm-perf tree, today's linux-next build (htmldocs) > produced these warnings: > > Documenta

Re: [RFC PATCH 1/2] mm,drm/ttm: Block fast GUP to TTM huge pages

2021-03-26 Thread Intel
On 3/25/21 7:24 PM, Jason Gunthorpe wrote: On Thu, Mar 25, 2021 at 07:13:33PM +0100, Thomas Hellström (Intel) wrote: On 3/25/21 6:55 PM, Jason Gunthorpe wrote: On Thu, Mar 25, 2021 at 06:51:26PM +0100, Thomas Hellström (Intel) wrote: On 3/24/21 9:25 PM, Dave Hansen wrote: On 3/24/21 1:22 PM

  1   2   3   4   5   6   7   8   9   10   >