RE: [RFC 1/7] mac80211: Add check for napi handle before WARN_ON

2020-07-26 Thread Rakesh Pillai
> -Original Message- > From: Rakesh Pillai > Sent: Friday, July 24, 2020 11:51 AM > To: 'Johannes Berg' ; > 'ath...@lists.infradead.org' > Cc: 'linux-wirel...@vger.kernel.org' ; > 'linux-kernel@vger.kernel.org' ; > 'kv...@codeaurora.org' ; 'da...@davemloft.net' > ; 'k...@kernel.org' ;

Re: add file system helpers that take kernel pointers for the init code v3

2020-07-26 Thread Christoph Hellwig
On Sun, Jul 26, 2020 at 05:21:13PM +0100, Al Viro wrote: > On Sun, Jul 26, 2020 at 05:52:04PM +0200, Christoph Hellwig wrote: > > On Sun, Jul 26, 2020 at 08:49:28AM -0700, Linus Torvalds wrote: > > > On Sun, Jul 26, 2020 at 12:14 AM Christoph Hellwig wrote: > > > > > > > > Hi Al and Linus, > > > >

Re: add file system helpers that take kernel pointers for the init code v3

2020-07-26 Thread Christoph Hellwig
On Sun, Jul 26, 2020 at 06:24:26PM +0200, Christoph Hellwig wrote: > Btw, care to take a look at > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/kernel_readwrite > > it has been in linux-next for 2 1/2 weeks, and the only interesting > thing found was that btrfs didn't wire u

[PATCH] PCI: correct flag name

2020-07-26 Thread Julia Lawall
RESOURCE_IO does not exist. Rename to IORESOURCE_IO. Signed-off-by: Julia Lawall --- Just a guess based on the most similar name... Documentation/filesystems/sysfs-pci.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/sysfs-pci.rst b/Documen

[tip: core/entry] entry: Correct __secure_computing() stub

2020-07-26 Thread tip-bot2 for Thomas Gleixner
The following commit has been merged into the core/entry branch of tip: Commit-ID: 3135f5b73592988af0eb1b11ccbb72a8667be201 Gitweb: https://git.kernel.org/tip/3135f5b73592988af0eb1b11ccbb72a8667be201 Author:Thomas Gleixner AuthorDate:Sun, 26 Jul 2020 18:14:43 +02:00 Commit

Re: [PATCH 4/4] quota: simplify the quotactl compat handling

2020-07-26 Thread Al Viro
On Sun, Jul 26, 2020 at 06:04:01PM +0200, Christoph Hellwig wrote: > Fold the misaligned u64 workarounds into the main quotactl flow instead > of implementing a separate compat syscall handler. I can live with that (and drop the local quota-related stuff from copy_in_user/compat_alloc_user_space e

Re: [PATCH 1/3] phy: ti: am654: simplify regfield handling

2020-07-26 Thread kernel test robot
suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/Sekhar-Nori/phy-ti-am654-improve-PCIe-enumeration-performance/20200726-030750 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds

Re: add file system helpers that take kernel pointers for the init code v3

2020-07-26 Thread Al Viro
On Sun, Jul 26, 2020 at 06:26:27PM +0200, Christoph Hellwig wrote: > On Sun, Jul 26, 2020 at 06:24:26PM +0200, Christoph Hellwig wrote: > > Btw, care to take a look at > > > > http://git.infradead.org/users/hch/misc.git/shortlog/refs/heads/kernel_readwrite > > > > it has been in linux-next for 2

Re: [PATCH 4/4] quota: simplify the quotactl compat handling

2020-07-26 Thread Christoph Hellwig
On Sun, Jul 26, 2020 at 05:32:14PM +0100, Al Viro wrote: > > +static int compat_copy_fs_qfilestat(struct compat_fs_qfilestat __user *to, > > + struct fs_qfilestat *from) > > +{ > > + if (copy_to_user(to, from, sizeof(*to)) || > > + put_user(from->qfs_nextents, &to->qfs_nextents))

Re: [RESEND PATCH v4 2/3] usb: serial: xr_serial: Add gpiochip support

2020-07-26 Thread Andy Shevchenko
On Sun, Jul 26, 2020 at 6:53 PM Manivannan Sadhasivam wrote: > On Wed, Jul 01, 2020 at 03:02:06PM +0200, Johan Hovold wrote: > > On Sun, Jun 07, 2020 at 09:53:49PM +0530, Manivannan Sadhasivam wrote: ... > > Same here. And perhaps just ignoring the pins managed by gpiolib is > > better (cf. gpio

Re: [PATCH 4/4] quota: simplify the quotactl compat handling

2020-07-26 Thread Al Viro
On Sun, Jul 26, 2020 at 06:34:22PM +0200, Christoph Hellwig wrote: > On Sun, Jul 26, 2020 at 05:32:14PM +0100, Al Viro wrote: > > > +static int compat_copy_fs_qfilestat(struct compat_fs_qfilestat __user > > > *to, > > > + struct fs_qfilestat *from) > > > +{ > > > + if (copy_to_user(to, fro

[tip:x86/cpu] BUILD SUCCESS 3aae57f0c3ba57715cf89201b5a5f290684078a5

2020-07-26 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/cpu branch HEAD: 3aae57f0c3ba57715cf89201b5a5f290684078a5 x86/split_lock: Enable the split lock feature on Sapphire Rapids and Alder Lake CPUs elapsed time: 1633m configs tested: 74 configs skipped: 1 The following

Re: Re: Re: Re: Re: checkpatch: support deprecated terms checking

2020-07-26 Thread Joe Perches
On Sun, 2020-07-26 at 17:36 +0200, SeongJae Park wrote: > On Sun, 26 Jul 2020 07:50:54 -0700 Joe Perches wrote: [] > > I do not want to encourage relatively inexperienced people > > to run checkpatch and submit inappropriate patches. > > Me, neither. But, I think providing more warnings and refe

Re: Kernel compression benchmarks

2020-07-26 Thread Jan Ziak
Hello I looked at the SVG graphs and it appears that the formula used wasn't T_load+T_decompress, but was just T_decompress. Without considering the time it takes to load the compressed data from a storage device, the SVG graphs are only half-done and might be deceiving. There are 3 kinds of typ

[PATCH] MAINTAINERS: Add Git repository for memory controller drivers

2020-07-26 Thread Krzysztof Kozlowski
Add dedicated Krzysztof Kozlowski's Git repository on @kernel.org for memory controller drivers. Signed-off-by: Krzysztof Kozlowski --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index d1cc0afe0762..652abe9a5bc6 100644 --- a/MAINTAINERS +++ b/MAINTA

[Linux-kernel-mentees] [PATCH] media/v4l2-core: Fix kernel-infoleak in video_put_user()

2020-07-26 Thread Peilin Ye
video_put_user() is copying uninitialized stack memory to userspace. Fix it by initializing `vb32` using memset(). Reported-and-tested-by: syzbot+79d751604cb6f29fb...@syzkaller.appspotmail.com Link: https://syzkaller.appspot.com/bug?extid=79d751604cb6f29fbf59 Signed-off-by: Peilin Ye --- drivers

Re: kernel BUG at include/linux/swapops.h:LINE!

2020-07-26 Thread Matthew Wilcox
On Fri, Jul 24, 2020 at 02:13:11PM +0300, Kirill A. Shutemov wrote: > On Thu, Jul 23, 2020 at 03:37:44PM +0800, Hillf Danton wrote: > > > > On Tue, 21 Jul 2020 14:11:31 +0300 Kirill A. Shutemov wrote: > > > On Mon, Jul 20, 2020 at 04:51:44PM -0700, Andrew Morton wrote: > > > > On Sun, 19 Jul 2020

[ANNOUNCE] 4.9.231-rt149

2020-07-26 Thread Clark Williams
Hello RT-list! I'm pleased to announce the 4.9.231-rt149 stable release. Note that since v4.9-rt is in maintenance mode, this is strictly a merge of the latest stable updates for 4.9 and there are no changes to the PREEMPT_RT code. You can get this release via the git tree at: git://git.kernel

Re: [PATCH v10 07/13] dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU

2020-07-26 Thread Rob Clark
On Mon, Jul 20, 2020 at 8:41 AM Jordan Crouse wrote: > > Every Qcom Adreno GPU has an embedded SMMU for its own use. These minor detail: this is true for a3xx and later but not a2xx ;-) > devices depend on unique features such as split pagetables, > different stall/halt requirements and other se

[PATCH] staging/speakup: Update TODO list

2020-07-26 Thread Samuel Thibault
Thanks to Okash's latest work, the TODO list is essentially empty, so the way out from staging now seems open. The status of the remaining issue mentioned in TODO is not clear, we asked the speakup user mailing list for reproducer cases, but didn't get a really specific scenario. One serious bug w

[PATCH 1/2] MIPS: ath79: Remove unused include

2020-07-26 Thread Paul Cercueil
Since commit 3a77e0d75eed ("MIPS: ath79: drop machfiles"), this header is not used anymore. Signed-off-by: Paul Cercueil --- arch/mips/ath79/setup.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c index 4b7c066ac88e..7e7bf9c2ad26 100644 --- a/

[PATCH 2/2] MIPS: Remove legacy MIPS_MACHINE option

2020-07-26 Thread Paul Cercueil
The CONFIG_MIPS_MACHINE option is dead code that hasn't been used in years. The Kconfig option is not selected anywhere, and the is not included anywhere either. To make things worse, for years it co-existed with a separate MIPS machine implementation as . The two defined the 'mips_machine' struc

Re: [PATCH] drm/panel: Fix auo, kd101n80-45na horizontal noise on edges of panel

2020-07-26 Thread Sam Ravnborg
On Tue, Jul 14, 2020 at 08:33:32PM +0800, Jitao Shi wrote: > Fine tune the HBP and HFP to avoid the dot noise on the left and right edges. > > Signed-off-by: Jitao Shi > --- > drivers/gpu/drm/panel/panel-boe-tv101wum-nl6.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff -

Re: [PATCH] drm: panel: simple: Delay HPD checking on boe_nv133fhm_n61 for 15 ms

2020-07-26 Thread Sam Ravnborg
On Thu, Jul 16, 2020 at 01:21:22PM -0700, Douglas Anderson wrote: > On boe_nv133fhm_n62 (and presumably on boe_nv133fhm_n61) a scope shows > a small spike on the HPD line right when you power the panel on. The > picture looks something like this: > > +

Re: [Freedreno] [PATCH v10 06/13] iommu/arm-smmu-qcom: Get and set the pagetable config for split pagetables

2020-07-26 Thread Rob Clark
On Mon, Jul 20, 2020 at 8:41 AM Jordan Crouse wrote: > > The Adreno GPU has the capability to manage its own pagetables and switch > them dynamically from the hardware. To do this the GPU uses TTBR1 for > "global" GPU memory and creates local pagetables for each context and > switches them dynamic

Re: [PATCH v1 0/1] drm/bridge: nwl-dsi: Drop DRM_BRIDGE_ATTACH_NO_CONNECTOR check.

2020-07-26 Thread Sam Ravnborg
Hi Guido. On Sat, Jul 18, 2020 at 08:26:36PM +0200, Guido Günther wrote: > > We don't create a connector but let panel_bridge handle that so there's > no point in rejecting DRM_BRIDGE_ATTACH_NO_CONNECTOR. > > This was prompted by Sam in > https://lore.kernel.org/dri-devel/20200718115734.ga2989..

Re: [PATCH v10 08/13] drm/msm: Add a context pointer to the submitqueue

2020-07-26 Thread Rob Clark
On Mon, Jul 20, 2020 at 8:41 AM Jordan Crouse wrote: > > Each submitqueue is attached to a context. Add a pointer to the > context to the submitqueue at create time and refcount it so > that it stays around through the life of the queue. > > GPU submissions can access the active context via the su

Re: [PATCH] drm/bridge/adv7511: set the bridge type properly

2020-07-26 Thread Sam Ravnborg
On Mon, Jul 20, 2020 at 03:42:27PM +0300, Laurentiu Palcu wrote: > From: Laurentiu Palcu > > After the drm_bridge_connector_init() helper function has been added, the ADV > driver has been changed accordingly. However, the 'type' field of the bridge > structure was left unset, which makes the hel

Re: [PATCH v3 3/4] staging: rtl8723bs: include: Further clean up function declarations

2020-07-26 Thread Joe Perches
On Sun, 2020-07-26 at 17:02 +0200, Greg KH wrote: > On Sun, Jul 26, 2020 at 07:50:12PM +0530, Aditya Jain wrote: > > Cleaning up messy multiline function declarations in hal_phy_cfg.h [] > > diff --git a/drivers/staging/rtl8723bs/include/hal_phy_cfg.h > > b/drivers/staging/rtl8723bs/include/hal_ph

Re: [PATCH] init/do_mounts: fix a coding style error

2020-07-26 Thread Al Viro
On Tue, Jul 14, 2020 at 03:02:58PM +0800, zhouchuangao wrote: > Fix code style errors reported by scripts/checkpatch.pl. NAKed-because: excessive deference to checkpatch.pl It's not a holy oracle than needs to be appeased, no questions asked. Reference to it is absolutely insufficient reason for

Re: [PATCH] video: fbdev: added driver for sharp memory lcd displays

2020-07-26 Thread Sam Ravnborg
Hi Rodrigo. On Fri, Jul 24, 2020 at 05:34:04PM -0300, Rodrigo Alencar wrote: > The supported displays are ls027b7dh01 (tested), ls044q7dh01, > ls013b7dh05, ls013b7dh03 > > Signed-off-by: Rodrigo Alencar <455.rodrigo.alen...@gmail.com> Thanks for submitting this driver. Unfortunately I have some

Re: [PATCH 0/9] powerpc: delete duplicated words

2020-07-26 Thread Randy Dunlap
On 7/26/20 7:29 AM, Christophe Leroy wrote: > Randy Dunlap a écrit : > >> Drop duplicated words in arch/powerpc/ header files. > > How did you detect them ? Do you have some script for tgat, or you just read > all comments ? Yes, it's a script that finds lots of false positives, so I have to c

Re: [PATCH 1/2] drm/fourcc: fix Amlogic Video Framebuffer Compression macro

2020-07-26 Thread Sam Ravnborg
Hi Neil. On Thu, Jul 23, 2020 at 11:05:50AM +0200, Neil Armstrong wrote: > Fix the Amlogic Video Framebuffer Compression modifier macro to > correctly add the layout options, a pair of parenthesis was missing. > > Fixes: d6528ec88309 ("drm/fourcc: Add modifier definitions for describing > Amlogi

Re: [PATCH RFC 4/6] leds: leds-qti-tri-led: Add LED driver for QTI TRI_LED module

2020-07-26 Thread Martin Botka
Hello. This driver has the breath feature of the driver broken as I sent a slightly modified version of it from when I was testing it. The proper version will come when i will be sending out V2 which will be hopefully soon as I'm little busy. Best regards Martin

Re: [PATCH v7 1/3] dt-bindings: drm/bridge: Document Cadence MHDP bridge bindings

2020-07-26 Thread Sam Ravnborg
Hi Swapnil. On Wed, Jul 22, 2020 at 09:40:38AM +0200, Swapnil Jakhade wrote: > From: Yuti Amonkar > > Document the bindings used for the Cadence MHDP DPI/DP bridge in > yaml format. > > Signed-off-by: Yuti Amonkar > Signed-off-by: Swapnil Jakhade > Reviewed-by: Rob Herring > Reviewed-by: Lau

Re: [Linux-kernel-mentees] [PATCH] media/v4l2-core: Fix kernel-infoleak in video_put_user()

2020-07-26 Thread Laurent Pinchart
Hi Peilin, Thank you for the patch. On Sun, Jul 26, 2020 at 12:44:39PM -0400, Peilin Ye wrote: > video_put_user() is copying uninitialized stack memory to userspace. Fix > it by initializing `vb32` using memset(). What makes you think this will fix the issue ? When initializing a structure at de

Re: [greybus-dev] [PATCH] RFC : mikroBUS driver for add-on boards

2020-07-26 Thread Vaishnav M A
On Sun, Jul 26, 2020 at 6:18 PM Alex Elder wrote: > > On 7/24/20 7:06 AM, Vaishnav M A wrote: > > Attached is a patch for the mikroBUS driver which helps to > > instantiate an add-on board device on a mikrobus port by fetching > > the device identifier manifest binary from an EEPROM on-board > > t

Re: [PATCH 4/6] arch, mm: wire up secretmemfd system call were relevant

2020-07-26 Thread Palmer Dabbelt
On Mon, 20 Jul 2020 02:24:33 PDT (-0700), r...@kernel.org wrote: From: Mike Rapoport Wire up secretmemfd system call on architectures that define ARCH_HAS_SET_DIRECT_MAP, namely arm64, risc-v and x86. Signed-off-by: Mike Rapoport --- arch/arm64/include/asm/unistd32.h | 2 ++ arch/arm64/

Re: [PATCH v7 2/3] drm: bridge: Add support for Cadence MHDP DPI/DP bridge

2020-07-26 Thread Sam Ravnborg
Hi Swapnil Thanks for submitting this driver. A few highlevel things. New bridge drivers shall be prepare for use in a chained bridge driver setup. This prompts you to add the following: - Reelvant bridge operations I noticed at least get_edid, and detect seems applicable. - Support the

Re: [PATCH 1/2] entry: Fix CONFIG_SECCOMP assumption

2020-07-26 Thread Ingo Molnar
* Thomas Gleixner wrote: > Ingo Molnar writes: > > The __secure_computing() callback only exists on CONFIG_SECCOMP=y, > > No. There is a stub function for the SECCOMP=n case. Which was buggy: static inline int __secure_computing(void) { return 0; } Note the 'void' argument, while it shou

Re: [PATCH 0/9] powerpc: delete duplicated words

2020-07-26 Thread Joe Perches
On Sun, 2020-07-26 at 10:23 -0700, Randy Dunlap wrote: > On 7/26/20 7:29 AM, Christophe Leroy wrote: > > Randy Dunlap a écrit : > > > > > Drop duplicated words in arch/powerpc/ header files. > > > > How did you detect them ? Do you have some script for tgat, or you just > > read all comments ?

Re: [PATCH v7 3/3] drm: bridge: cdns-mhdp: Add j721e wrapper

2020-07-26 Thread Sam Ravnborg
Hi Swapnil Small nits in the following. Sam On Wed, Jul 22, 2020 at 09:40:40AM +0200, Swapnil Jakhade wrote: > Add j721e wrapper for mhdp, which sets up the clock and data muxes. > > Signed-off-by: Jyri Sarha > Signed-off-by: Yuti Amonkar > Signed-off-by: Swapnil Jakhade > Reviewed-b

Re: [PATCH] init/do_mounts: fix a coding style error

2020-07-26 Thread Joe Perches
On Sun, 2020-07-26 at 18:21 +0100, Al Viro wrote: > On Tue, Jul 14, 2020 at 03:02:58PM +0800, zhouchuangao wrote: > > Fix code style errors reported by scripts/checkpatch.pl. > > NAKed-because: excessive deference to checkpatch.pl > > It's not a holy oracle than needs to be appeased, no questions

Re: [PATCH] MAINTAINERS: adjust kprobes.rst entry to new location

2020-07-26 Thread Naveen N. Rao
Lukas Bulwahn wrote: Commit 2165b82fde82 ("docs: Move kprobes.rst from staging/ to trace/") moved kprobes.rst, but missed to adjust the MAINTAINERS entry. Hence, ./scripts/get_maintainer.pl --self-test=patterns complains: warning: no file matchesF:Documentation/staging/kprobes.rst Ad

[tip: x86/cleanups] x86/ioperm: Initialize pointer bitmap with NULL rather than 0

2020-07-26 Thread tip-bot2 for Colin Ian King
The following commit has been merged into the x86/cleanups branch of tip: Commit-ID: 90fc73928fec2f62bbee1476781754c7392a7b61 Gitweb: https://git.kernel.org/tip/90fc73928fec2f62bbee1476781754c7392a7b61 Author:Colin Ian King AuthorDate:Tue, 21 Jul 2020 11:02:17 +01:00 Commi

Re: [PATCH] staging: rtl8723bs: include: Fix coding style errors

2020-07-26 Thread Larry Finger
On 7/26/20 3:40 AM, Aditya Jain wrote: On Sun, Jul 26, 2020 at 1:56 PM Greg KH wrote: On Sun, Jul 26, 2020 at 01:32:15PM +0530, Aditya Jain wrote: Fixing ERROR: "foo * bar" should be "foo *bar" in hal_phy_cfg.h as reported by checkpatch.pl Signed-off-by: Aditya Jain --- .../staging/rtl87

Re: [GIT PULL] Char/Misc driver fixes for 5.8-rc7

2020-07-26 Thread pr-tracker-bot
The pull request you sent on Sun, 26 Jul 2020 13:14:10 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git > tags/char-misc-5.8-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/1ada9010e578150984039a770c98f41799b30bc4 Thank you! -- Deet-do

Re: [GIT PULL] TTY/Serial driver fixes for 5.8-rc7

2020-07-26 Thread pr-tracker-bot
The pull request you sent on Sun, 26 Jul 2020 13:12:17 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tags/tty-5.8-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7d22af6c5bdb001c5ed0a20185138304ad2af91b Thank you! -- Deet-doot-dot, I am a

Re: [GIT PULL] Driver core fixes for 5.8-rc7

2020-07-26 Thread pr-tracker-bot
The pull request you sent on Sun, 26 Jul 2020 13:13:06 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git > tags/driver-core-5.8-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7f2e231c316591246284b10b008cadfc953f16d3 Thank you! -- Dee

Re: [GIT PULL] SCSI fixes for 5.8-rc5

2020-07-26 Thread pr-tracker-bot
The pull request you sent on Sat, 25 Jul 2020 22:58:11 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/cf48f79b74de2bf900d27c924528bb41d73689c3 Thank you! -- Deet-doot-dot, I am a bot. ht

Re: [GIT PULL] Staging driver fixes for 5.8-rc7

2020-07-26 Thread pr-tracker-bot
The pull request you sent on Sun, 26 Jul 2020 13:12:46 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git > tags/staging-5.8-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f208a76fcb5700a0c5104e5888679acc31d1ce41 Thank you! -- Deet-doot-d

Re: [GIT PULL] USB driver fixes for 5.8-rc7

2020-07-26 Thread pr-tracker-bot
The pull request you sent on Sun, 26 Jul 2020 13:11:43 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-5.8-rc7 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/17f50e28a858e4bab80879995133390aae54 Thank you! -- Deet-doot-dot, I am a

Re: [Linux-kernel-mentees] [PATCH] media/v4l2-core: Fix kernel-infoleak in video_put_user()

2020-07-26 Thread Peilin Ye
On Sun, Jul 26, 2020 at 08:30:44PM +0300, Laurent Pinchart wrote: > Hi Peilin, > > Thank you for the patch. > > On Sun, Jul 26, 2020 at 12:44:39PM -0400, Peilin Ye wrote: > > video_put_user() is copying uninitialized stack memory to userspace. Fix > > it by initializing `vb32` using memset(). >

Re: Re: Re: Re: Re: checkpatch: support deprecated terms checking

2020-07-26 Thread SeongJae Park
On Sun, 26 Jul 2020 09:42:06 -0700 Joe Perches wrote: > On Sun, 2020-07-26 at 17:36 +0200, SeongJae Park wrote: > > On Sun, 26 Jul 2020 07:50:54 -0700 Joe Perches wrote: > [] > > > I do not want to encourage relatively inexperienced people > > > to run checkpatch and submit inappropriate patches

Re: [PATCH] kcsan: Add option to allow watcher interruptions

2020-07-26 Thread Paul E. McKenney
On Sun, Jul 26, 2020 at 01:52:42PM +0200, pet...@infradead.org wrote: > On Sat, Jul 25, 2020 at 03:07:50PM -0700, Paul E. McKenney wrote: > > On Sat, Jul 25, 2020 at 10:21:31PM +0200, pet...@infradead.org wrote: > > > On Sat, Jul 25, 2020 at 10:10:13PM +0200, pet...@infradead.org wrote: > > > > On

Re: [RFC PATCH] iwlwifi: yoyo: don't print failure if debug firmware is missing

2020-07-26 Thread Kalle Valo
Wolfram Sang writes: > On Thu, Jun 25, 2020 at 06:52:10PM +0200, Wolfram Sang wrote: >> Missing this firmware is not fatal, my wifi card still works. Even more, >> I couldn't find any documentation what it is or where to get it. So, I >> don't think the users should be notified if it is missing.

Re: [Linux-kernel-mentees] [PATCH] media/v4l2-core: Fix kernel-infoleak in video_put_user()

2020-07-26 Thread Peilin Ye
Sorry, by this code example: char *p = (char *)&vb32; int i; for (i = 0; i < sizeof(struct vb32); i++, p++) printk("*(p + i): %d", *(p + i)); actually I meant: char *p = (char *)&vb32; int i; for (i = 0; i < sizeof(struct vb32); i

Re: [PATCH v3 3/4] staging: rtl8723bs: include: Further clean up function declarations

2020-07-26 Thread Aditya Jain
On Sun, Jul 26, 2020 at 10:45 PM Joe Perches wrote: > > On Sun, 2020-07-26 at 17:02 +0200, Greg KH wrote: > > On Sun, Jul 26, 2020 at 07:50:12PM +0530, Aditya Jain wrote: > > > Cleaning up messy multiline function declarations in hal_phy_cfg.h > [] > > > diff --git a/drivers/staging/rtl8723bs/incl

[rcu:rcu/next] BUILD SUCCESS c86409b6f860e3da36b14dac6058c722d2cecfd4

2020-07-26 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next branch HEAD: c86409b6f860e3da36b14dac6058c722d2cecfd4 rcu: Move rcu_cpu_started per-CPU variable to rcu_data elapsed time: 940m configs tested: 74 configs skipped: 1 The following configs have been bu

Re: [RFC PATCH] iwlwifi: yoyo: don't print failure if debug firmware is missing

2020-07-26 Thread Wolfram Sang
On Sun, Jul 26, 2020 at 09:11:25PM +0300, Kalle Valo wrote: > Wolfram Sang writes: > > > On Thu, Jun 25, 2020 at 06:52:10PM +0200, Wolfram Sang wrote: > >> Missing this firmware is not fatal, my wifi card still works. Even more, > >> I couldn't find any documentation what it is or where to get it

Re: [PATCH] staging: rtl8723bs: include: Fix coding style errors

2020-07-26 Thread Aditya Jain
On 26/07/20 11:33 pm, Larry Finger wrote: On 7/26/20 3:40 AM, Aditya Jain wrote: On Sun, Jul 26, 2020 at 1:56 PM Greg KH wrote: On Sun, Jul 26, 2020 at 01:32:15PM +0530, Aditya Jain wrote: Fixing ERROR: "foo *  bar" should be "foo *bar" in hal_phy_cfg.h as reported by checkpatch.pl Signed

Re: [tip: x86/entry] x86/entry: Consolidate 32/64 bit syscall entry

2020-07-26 Thread Brian Gerst
On Fri, Jul 24, 2020 at 4:14 PM tip-bot2 for Thomas Gleixner wrote: > > The following commit has been merged into the x86/entry branch of tip: > > Commit-ID: 0b085e68f4072024ecaa3889aeeaab5f6c8eba5c > Gitweb: > https://git.kernel.org/tip/0b085e68f4072024ecaa3889aeeaab5f6c8eba5c > Autho

Re: [PATCH] x86/PCI: Use MMCONFIG by default for KVM guests

2020-07-26 Thread Julia Suvorova
On Wed, Jul 22, 2020 at 11:43 AM Vitaly Kuznetsov wrote: > > Julia Suvorova writes: > > > Scanning for PCI devices at boot takes a long time for KVM guests. It > > can be reduced if KVM will handle all configuration space accesses for > > non-existent devices without going to userspace [1]. But f

Re: [PATCH AUTOSEL 4.19 18/19] RISC-V: Upgrade smp_mb__after_spinlock() to iorw,iorw

2020-07-26 Thread Palmer Dabbelt
On Mon, 20 Jul 2020 14:38:49 PDT (-0700), sas...@kernel.org wrote: From: Palmer Dabbelt [ Upstream commit 38b7c2a3ffb1fce8358ddc6006cfe5c038ff9963 ] While digging through the recent mmiowb preemption issue it came up that we aren't actually preventing IO from crossing a scheduling boundary. Wh

Re: [PATCH v4 4/4] dt-bindings: timer: Add CLINT bindings

2020-07-26 Thread Palmer Dabbelt
On Tue, 21 Jul 2020 20:55:31 PDT (-0700), a...@brainfault.org wrote: On Tue, Jul 21, 2020 at 5:48 PM Sean Anderson wrote: On 7/20/20 9:15 PM, Atish Patra wrote: > On Fri, Jul 17, 2020 at 12:52 AM Anup Patel wrote: >> >> We add DT bindings documentation for CLINT device. >> >> Signed-off-by: A

[PATCH] Documentation/locking/locktypes: fix local_locks documentation

2020-07-26 Thread Marta Rybczynska
Fix issues with local_locks documentation: - fix function names, local_lock.h has local_unlock_irqrestore(), not local_lock_irqrestore() - fix mapping table, local_unlock_irqrestore() maps to local_irq_restore(), not _save() Signed-off-by: Marta Rybczynska --- Documentation/locking/locktypes.rst

Re: [PATCH] x86/PCI: Use MMCONFIG by default for KVM guests

2020-07-26 Thread Julia Suvorova
On Thu, Jul 23, 2020 at 1:19 AM Bjorn Helgaas wrote: > > On Wed, Jul 22, 2020 at 02:15:13AM +0200, Julia Suvorova wrote: > > Scanning for PCI devices at boot takes a long time for KVM guests. It > > can be reduced if KVM will handle all configuration space accesses for > > non-existent devices wit

upstream boot error: BUG: soft lockup in smp_call_function

2020-07-26 Thread syzbot
Hello, syzbot found the following issue on: HEAD commit:8c26c87b Merge tag 'sound-5.8-rc7' of git://git.kernel.org.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=15069c6490 kernel config: https://syzkaller.appspot.com/x/.config?x=455d284425bae0bd das

Re: [PATCH 10/14] bdi: remove BDI_CAP_SYNCHRONOUS_IO

2020-07-26 Thread Minchan Kim
On Sun, Jul 26, 2020 at 05:03:29PM +0200, Christoph Hellwig wrote: > BDI_CAP_SYNCHRONOUS_IO is only checked in the swap code, and used to > decided if ->rw_page can be used on a block device. Just check up for > the method instead. The only complication is that zram needs a second > set of block_

Re: [PATCH 0/9] powerpc: delete duplicated words

2020-07-26 Thread Randy Dunlap
On 7/26/20 10:49 AM, Joe Perches wrote: > On Sun, 2020-07-26 at 10:23 -0700, Randy Dunlap wrote: >> On 7/26/20 7:29 AM, Christophe Leroy wrote: >>> Randy Dunlap a écrit : >>> Drop duplicated words in arch/powerpc/ header files. >>> >>> How did you detect them ? Do you have some script for tga

Re: [greybus-dev] [PATCH] RFC : mikroBUS driver for add-on boards

2020-07-26 Thread Vaishnav M A
On Sun, Jul 26, 2020 at 8:34 PM Alex Elder wrote: > > On 7/24/20 7:06 AM, Vaishnav M A wrote: > > Attached is a patch for the mikroBUS driver which helps to > > instantiate an add-on board device on a mikrobus port by fetching > > the device identifier manifest binary from an EEPROM on-board > > t

[PATCH] scsi: 3w-9xxx: Fix endianness issues found by sparse

2020-07-26 Thread Samuel Holland
The main issue observed was at the call to scsi_set_resid, where the byteswapped parameter would eventually trigger the alignment check at drivers/scsi/sd.c:2009. At that point, the kernel would continuously complain about an "Unaligned partial completion", and no further I/O could occur. This get

[GIT PULL] parisc architecture fixes for kernel v5.8

2020-07-26 Thread Helge Deller
Hi Linus, please pull two late parisc architecture fixes for kernel 5.8 from: git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-5.8-2 Two fixes: - Add the cmpxchg() function for pointers to u8 values. This fixes a kernel linking error when building the tusb1210 dr

Re: [PATCH v2] media: cedrus: Add support for VP8 decoding

2020-07-26 Thread Jernej Škrabec
Hi Ezequiel! Dne sobota, 25. julij 2020 ob 15:08:37 CEST je Ezequiel Garcia napisal(a): > Hi Jernej, > > As you know, I'm not familiar with this hardware, > but I've tried to take a detailed look anyway. > Thanks, any review is welcome. > The driver looks mostly good to me, I just have > some

[PATCH v8 2/2] EDAC: al-mc-edac: Introduce Amazon's Annapurna Labs Memory Controller EDAC

2020-07-26 Thread Talel Shenhar
The Amazon's Annapurna Labs Memory Controller EDAC supports ECC capability for error detection and correction (Single bit error correction, Double detection). This driver introduces EDAC driver for that capability. Signed-off-by: Talel Shenhar Reviewed-by: James Morse --- MAINTAINERS

[PATCH v8 0/2] Amazon's Annapurna Labs Memory Controller EDAC

2020-07-26 Thread Talel Shenhar
This series introduces support for Amazon's Annapurna Labs Memory Controller EDAC driver. Changes since v7: = - rebased and retested for tag Linux 5.8-rc1 Changes since v6: = - removed unused defines - user-visible strings changed to capital - removed static functi

[PATCH v8 1/2] dt-bindings: edac: al-mc-edac: Amazon's Annapurna Labs Memory Controller EDAC

2020-07-26 Thread Talel Shenhar
Document Amazon's Annapurna Labs Memory Controller EDAC SoC binding. Signed-off-by: Talel Shenhar Reviewed-by: Rob Herring --- .../bindings/edac/amazon,al-mc-edac.yaml | 52 +++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/edac/ama

[PATCH] docs: filesystems: vfs: correct flag name

2020-07-26 Thread Julia Lawall
There is no flag REMAP_CAN_SHORTEN. Commit eca3654e3cc7 ("vfs: enable remap callers that can handle short operations") that introduces this text also introduces the flag REMAP_FILE_CAN_SHORTEN. Change the name in the documentation accordingly. Signed-off-by: Julia Lawall --- Documentation/fil

[GIT PULL] ARM: at91: defconfig for 5.9

2020-07-26 Thread Alexandre Belloni
Arnd, Olof, Here are a few sama5 defconfig changes, mainly adding DSA support for the switch on an evaluation board. The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: git://git.kern

[GIT PULL] ARM: at91: DT for 5.9

2020-07-26 Thread Alexandre Belloni
Arnd, Olof, Here is the DT pull request for AT91. It is mainly fixing audio nodes for the evaluation board. It also introduces the RTT node for sama9x60. Finally, it fixes Ethernet on the GMAC interface of sama5d3_xplained. The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c74

[GIT PULL] ARM: at91: SoC for 5.9

2020-07-26 Thread Alexandre Belloni
Arnd, Olof, Two non urgent small fixes for mach-at91 in this pull request. The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407: Linux 5.8-rc1 (2020-06-14 12:45:04 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/at91/linux

[RESEND PATCH v5 00/11] ppc64: enable kdump support for kexec_file_load syscall

2020-07-26 Thread Hari Bathini
Sorry! There was a gateway issue on my system while posting v5, due to which some patches did not make it through. Resending... This patch series enables kdump support for kexec_file_load system call (kexec -s -p) on PPC64. The changes are inspired from kexec-tools code but heavily modified for ke

[RESEND PATCH v5 01/11] kexec_file: allow archs to handle special regions while locating memory hole

2020-07-26 Thread Hari Bathini
Some architectures may have special memory regions, within the given memory range, which can't be used for the buffer in a kexec segment. Implement weak arch_kexec_locate_mem_hole() definition which arch code may override, to take care of special regions, while trying to locate a memory hole. Also

[RESEND PATCH v5 02/11] powerpc/kexec_file: mark PPC64 specific code

2020-07-26 Thread Hari Bathini
Some of the kexec_file_load code isn't PPC64 specific. Move PPC64 specific code from kexec/file_load.c to kexec/file_load_64.c. Also, rename purgatory/trampoline.S to purgatory/trampoline_64.S in the same spirit. No functional changes. Signed-off-by: Hari Bathini Tested-by: Pingfan Liu Reviewed-

[PATCH] net: dev: Add API to check net_dev readiness

2020-07-26 Thread Ilia Lin
From: Ilia Lin Add an API that returns true, if the net_dev_init was already called, and the driver was initialized. Some early drivers, that are initialized during the subsys_initcall may try accessing the net_dev or NAPI APIs before the net_dev_init, and will encounter a kernel bug. This API p

[RESEND PATCH v5 03/11] powerpc/kexec_file: add helper functions for getting memory ranges

2020-07-26 Thread Hari Bathini
In kexec case, the kernel to be loaded uses the same memory layout as the running kernel. So, passing on the DT of the running kernel would be good enough. But in case of kdump, different memory ranges are needed to manage loading the kdump kernel, booting into it and exporting the elfcore of the

[RESEND PATCH v5 05/11] powerpc/drmem: make lmb walk a bit more flexible

2020-07-26 Thread Hari Bathini
Currently, numa & prom are the users of drmem lmb walk code. Loading kdump with kexec_file also needs to walk the drmem LMBs to setup the usable memory ranges for kdump kernel. But there are couple of issues in using the code as is. One, walk_drmem_lmb() code is built into the .init section current

[RESEND PATCH v5 04/11] ppc64/kexec_file: avoid stomping memory used by special regions

2020-07-26 Thread Hari Bathini
crashkernel region could have an overlap with special memory regions like opal, rtas, tce-table & such. These regions are referred to as exclude memory ranges. Setup this ranges during image probe in order to avoid them while finding the buffer for different kdump segments. Override arch_kexec_loc

[RESEND PATCH v5 07/11] ppc64/kexec_file: enable early kernel's OPAL calls

2020-07-26 Thread Hari Bathini
Kernel built with CONFIG_PPC_EARLY_DEBUG_OPAL enabled expects r8 & r9 to be filled with OPAL base & entry addresses respectively. Setting these registers allows the kernel to perform OPAL calls before the device tree is parsed. Signed-off-by: Hari Bathini --- v4 -> v5: * New patch. Updated opal_

[RESEND PATCH v5 06/11] ppc64/kexec_file: restrict memory usage of kdump kernel

2020-07-26 Thread Hari Bathini
Kdump kernel, used for capturing the kernel core image, is supposed to use only specific memory regions to avoid corrupting the image to be captured. The regions are crashkernel range - the memory reserved explicitly for kdump kernel, memory used for the tce-table, the OPAL region and RTAS region a

[RESEND PATCH v5 08/11] ppc64/kexec_file: setup backup region for kdump kernel

2020-07-26 Thread Hari Bathini
Though kdump kernel boots from loaded address, the first 64KB of it is copied down to real 0. So, setup a backup region and let purgatory copy the first 64KB of crashed kernel into this backup region before booting into kdump kernel. Update reserve map with backup region and crashed kernel's memory

[RESEND PATCH v5 09/11] ppc64/kexec_file: prepare elfcore header for crashing kernel

2020-07-26 Thread Hari Bathini
Prepare elf headers for the crashing kernel's core file using crash_prepare_elf64_headers() and pass on this info to kdump kernel by updating its command line with elfcorehdr parameter. Also, add elfcorehdr location to reserve map to avoid it from being stomped on while booting. Signed-off-by: Har

[RESEND PATCH v5 10/11] ppc64/kexec_file: add appropriate regions for memory reserve map

2020-07-26 Thread Hari Bathini
While initrd, elfcorehdr and backup regions are already added to the reserve map, there are a few missing regions that need to be added to the memory reserve map. Add them here. And now that all the changes to load panic kernel are in place, claim likewise. Signed-off-by: Hari Bathini Tested-by:

[RESEND PATCH v5 11/11] ppc64/kexec_file: fix kexec load failure with lack of memory hole

2020-07-26 Thread Hari Bathini
The kexec purgatory has to run in real mode. Only the first memory block maybe accessible in real mode. And, unlike the case with panic kernel, no memory is set aside for regular kexec load. Another thing to note is, the memory for crashkernel is reserved at an offset of 128MB. So, when crashkernel

Re: [PATCH] net: dev: Add API to check net_dev readiness

2020-07-26 Thread Andrew Lunn
On Sun, Jul 26, 2020 at 10:37:54PM +0300, Ilia Lin wrote: > From: Ilia Lin > > Add an API that returns true, if the net_dev_init was already called, > and the driver was initialized. > > Some early drivers, that are initialized during the subsys_initcall > may try accessing the net_dev or NAPI A

sound/core/timer.c:2084:24: sparse: sparse: incorrect type in initializer (different address spaces)

2020-07-26 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1ada9010e578150984039a770c98f41799b30bc4 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 5 weeks ago config: openrisc-randconfig-s031-20200726

[PATCH] docs: filesystems: vfs: correct sync_mode flag names

2020-07-26 Thread Julia Lawall
Change the nonexistent flag names WBC_SYNC_ALL and WBC_SYNC_NONE to WB_SYNC_ALL and WB_SYNC_NONE, respectively, as used in the code with wbc->sync_mode. Signed-off-by: Julia Lawall --- Documentation/filesystems/vfs.rst |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/D

Re: [PATCH v2] net: ipv6: fix use-after-free Read in __xfrm6_tunnel_spi_lookup

2020-07-26 Thread Cong Wang
On Sat, Jul 25, 2020 at 11:12 PM B K Karthik wrote: > > On Sun, Jul 26, 2020 at 11:05 AM Cong Wang wrote: > > > > On Sat, Jul 25, 2020 at 8:09 PM B K Karthik wrote: > > > @@ -103,10 +103,10 @@ static int __xfrm6_tunnel_spi_check(struct net > > > *net, u32 spi) > > > { > > > struct xfrm

Re: WARNING in xfrm_policy_insert

2020-07-26 Thread syzbot
syzbot suspects this issue was fixed by commit: commit ed17b8d377eaf6b4a01d46942b4c647378a79bdd Author: Xin Long Date: Mon May 25 05:53:37 2020 + xfrm: fix a warning in xfrm_policy_insert_list bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=1774b9df10 start commit:

Re: [GIT PULL] parisc architecture fixes for kernel v5.8

2020-07-26 Thread pr-tracker-bot
The pull request you sent on Sun, 26 Jul 2020 21:14:04 +0200: > git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git > parisc-5.8-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/40c60ac32174f0c0c090cd31d0d1712f2478e689 Thank you! -- Deet-doot-dot,

<    1   2   3   4   5   6   7   >