[PATCH v3 2/4] block: add zone append handling for direct I/O path

2020-07-05 Thread Kanchan Joshi
From: Selvakumar S For zoned block device, subscribe to zone-append by setting FMODE_ZONE_APPEND during open. Make direct IO submission path use IOCB_ZONE_APPEND to send bio with append op. Make direct IO completion return zone-relative offset, in sector unit, to upper layer using kiocb->ki_compl

[PATCH v3 1/4] fs: introduce FMODE_ZONE_APPEND and IOCB_ZONE_APPEND

2020-07-05 Thread Kanchan Joshi
Enable zone-append using existing O_APPEND and RWF_APPEND infra. Unlike file-append, zone-apppend requires bit of additional processing in common path to send completion-result to upper layer. To skip that for non-zoned block-devices/files, introduce FMODE_ZONE_APPEND and IOCB_ZONE_APPEND. When a f

[PATCH v3 4/4] io_uring: add support for zone-append

2020-07-05 Thread Kanchan Joshi
From: Selvakumar S For zone-append, block-layer will return zone-relative offset via ret2 of ki_complete interface. Make changes to collect it, and send to user-space using cqe->flags. Signed-off-by: Selvakumar S Signed-off-by: Kanchan Joshi Signed-off-by: Nitesh Shetty Signed-off-by: Javier

Re: [PATCH v2 5/6] powerpc/pseries: implement paravirt qspinlocks for SPLPAR

2020-07-05 Thread Waiman Long
On 7/3/20 3:35 AM, Nicholas Piggin wrote: Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/paravirt.h | 28 ++ arch/powerpc/include/asm/qspinlock.h | 55 +++ arch/powerpc/include/asm/qspinlock_paravirt.h | 5 ++ arch/powerpc/platforms/p

Re: [PATCH net] bridge: mcast: Fix MLD2 Report IPv6 payload length check

2020-07-05 Thread Linus Lüssing
On Sun, Jul 05, 2020 at 09:33:13PM +0300, Nikolay Aleksandrov wrote: > On 05/07/2020 21:22, Linus Lüssing wrote: > > Commit e57f61858b7c ("net: bridge: mcast: fix stale nsrcs pointer in > > igmp3/mld2 report handling") introduced a small bug which would potentially > > lead to accepting an MLD2 Rep

[PATCH net v2] bridge: mcast: Fix MLD2 Report IPv6 payload length check

2020-07-05 Thread Linus Lüssing
Commit e57f61858b7c ("net: bridge: mcast: fix stale nsrcs pointer in igmp3/mld2 report handling") introduced a bug in the IPv6 header payload length check which would potentially lead to rejecting a valid MLD2 Report: The check needs to take into account the 2 bytes for the "Number of Sources" fie

Re: [PATCH net] bridge: mcast: Fix MLD2 Report IPv6 payload length check

2020-07-05 Thread Nikolay Aleksandrov
On 7/5/20 10:08 PM, Linus Lüssing wrote: On Sun, Jul 05, 2020 at 09:33:13PM +0300, Nikolay Aleksandrov wrote: On 05/07/2020 21:22, Linus Lüssing wrote: Commit e57f61858b7c ("net: bridge: mcast: fix stale nsrcs pointer in igmp3/mld2 report handling") introduced a small bug which would potentiall

general protection fault in bdev_read_page (2)

2020-07-05 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:7c30b859 Merge tag 'spi-fix-v5.8-rc3' of git://git.kernel... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1279b86b10 kernel config: https://syzkaller.appspot.com/x/.config?x=7be693511b29b338 das

[PATCH v2] Fix zone-append error code

2020-07-05 Thread Kanchan Joshi
Changes since v1: - updated commit description - added reviewed-by Kanchan Joshi (1): block: fix error code for zone-append block/bio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4

[PATCH v2] block: fix error code for zone-append

2020-07-05 Thread Kanchan Joshi
Avoid returning success when max_append_sectors is zero. This prevents infinite loop in bio_iov_iter_get_pages(). Signed-off-by: Kanchan Joshi Signed-off-by: Selvakumar S Signed-off-by: Nitesh Shetty Signed-off-by: Javier Gonzalez Reviewed-by: Damien Le Moal --- block/bio.c | 2 +- 1 file ch

Re: Writing to a const pointer: is this supposed to happen?

2020-07-05 Thread Kars Mulder
On Sunday, July 05, 2020 21:05 CEST, Andy Shevchenko wrote: > On Sunday, July 5, 2020, Kars Mulder wrote: > > On Saturday, July 04, 2020 22:54 CEST, Andy Shevchenko wrote: > > > This and similar are not correct. 1/ They are not replacement per se > > > (because of different behaviour). 2/ They

[tip: x86/urgent] x86/entry/32: Fix XEN_PV build dependency

2020-07-05 Thread tip-bot2 for Ingo Molnar
The following commit has been merged into the x86/urgent branch of tip: Commit-ID: a4c0e91d1d65bc58f928b80ed824e10e165da22c Gitweb: https://git.kernel.org/tip/a4c0e91d1d65bc58f928b80ed824e10e165da22c Author:Ingo Molnar AuthorDate:Sun, 05 Jul 2020 21:33:11 +02:00 Committer:

[PATCH v1] arm64: dts: actions: Fix smp Bringing up secondary CPUs

2020-07-05 Thread Matheus Castello
Change the enable-method to fix the failed to boot errors: [0.040330] smp: Bringing up secondary CPUs ... [0.040683] psci: failed to boot CPU1 (-22) [0.040691] CPU1: failed to boot: -22 [0.041062] psci: failed to boot CPU2 (-22) [0.041071] CPU2: failed to boot: -22 [0.04140

Re: [GIT pull] x86/urgent for v5.8-rc4

2020-07-05 Thread Linus Torvalds
On Sun, Jul 5, 2020 at 8:47 AM Thomas Gleixner wrote: > > - Disable 16 bit segments on XEN PV. It's not supported because XEN PV >does not implement ESPFIX64 I don't disagree with this conceptually, and I've pulled it, but christ, that warning is over-engineered. Seriously, it uses a mutex

Re: [PATCH net] bridge: mcast: Fix MLD2 Report IPv6 payload length check

2020-07-05 Thread Linus Lüssing
On Sun, Jul 05, 2020 at 10:11:39PM +0300, Nikolay Aleksandrov wrote: > On 7/5/20 10:08 PM, Linus Lüssing wrote: > > On Sun, Jul 05, 2020 at 09:33:13PM +0300, Nikolay Aleksandrov wrote: > > > On 05/07/2020 21:22, Linus Lüssing wrote: > > > > Commit e57f61858b7c ("net: bridge: mcast: fix stale nsrcs

[PATCH 0/3] arm64: allwinner: a64: add bluetooth support for Pinebook

2020-07-05 Thread Vasily Khoruzhick
Pinebook uses RTL8723CS for WiFi and bluetooth. Unfortunately RTL8723CS has broken BT-4.1 support, so it requires a quirk. Add a quirk, wire up 8723CS support in btrtl and enable bluetooth in Pinebook dts. Vasily Khoruzhick (3): Bluetooth: Add new quirk for broken local ext features max_page

[PATCH 2/3] Bluetooth: btrtl: add support for the RTL8723CS

2020-07-05 Thread Vasily Khoruzhick
The Realtek RTL8723CS is SDIO WiFi chip. It also contains a Bluetooth module which is connected via UART to the host. It shares lmp subversion with 8703B, so Realtek's userspace initialization tool (rtk_hciattach) differentiates varieties of RTL8723CS (CG, VF, XX) with RTL8703B using vendor's comm

[PATCH 1/3] Bluetooth: Add new quirk for broken local ext features max_page

2020-07-05 Thread Vasily Khoruzhick
Some adapters (e.g. RTL8723CS) advertise that they have more than 2 pages for local ext features, but they don't support any features declared in these pages. RTL8723CS reports max_page = 2 and declares support for sync train and secure connection, but it responds with either garbage or with error

Re: [PATCH v6 3/3] ARM: dts: Add Caninos Loucos Labrador

2020-07-05 Thread Matheus Castello
Hi Andreas, let me know if there are any more concerns about this series. BR, Matheus Castello Em 5/25/20 10:22 AM, Matheus Castello escreveu: Add Device Trees for Caninos Loucos Labrador CoM and base board. Based on the work of Andreas Färber on Lemaker Guitar device tree. Signed-off-by: Mat

[PATCH 3/3] arm64: allwinner: a64: enable Bluetooth On Pinebook

2020-07-05 Thread Vasily Khoruzhick
Pinebook has an RTL8723CS WiFi + BT chip, BT is connected to UART1 and uses PL5 as device wake GPIO, PL6 as host wake GPIO the I2C controlling signals are connected to R_I2C bus. Enable it in the device tree. Signed-off-by: Vasily Khoruzhick --- .../arm64/boot/dts/allwinner/sun50i-a64-pinebook.

Re: [PATCH v3 2/3] Fix undefined operation fault that can hang a cpu on crash or panic

2020-07-05 Thread David P. Reed
Thanks, will handle these. 2 questions below. On Sunday, July 5, 2020 2:22pm, "Andy Lutomirski" said: > On Sat, Jul 4, 2020 at 1:38 PM David P. Reed wrote: >> >> Fix: Mask undefined operation fault during emergency VMXOFF that must be >> attempted to force cpu exit from VMX root operation. >> E

ERROR: "min_low_pfn" undefined!

2020-07-05 Thread kernel test robot
: microblaze-randconfig-s031-20200705 (attached as .config) compiler: microblaze-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

Re: [GIT PULL] Kbuild fixes for v5.8-rc4

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Mon, 6 Jul 2020 00:13:09 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kbuild-fixes-v5.8-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4bc927367db11d8c5b1e20d05729f1ee748791b9 Thank you! --

Re: [GIT pull] x86/urgent for v5.8-rc4

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sun, 05 Jul 2020 15:46:56 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-urgent-2020-07-05 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/72674d480076067d627e708c0a062dd900438bd7 Thank you! -- Deet-doot-dot, I

Re: [GIT pull] irq/urgent for v5.8-rc4

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sun, 05 Jul 2020 15:46:55 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > irq-urgent-2020-07-05 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f23dbe18930ba992f5c8c7b31e80f40dd6716081 Thank you! -- Deet-doot-dot, I

Re: [GIT pull] core/urgent for v5.8-rc4

2020-07-05 Thread pr-tracker-bot
The pull request you sent on Sun, 05 Jul 2020 15:46:54 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > core-urgent-2020-07-05 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5465a324af6af2f2debd23a9336650457d6cb0fd Thank you! -- Deet-doot-dot, I

Re: [PATCH] kvm/arm64: Correct incorrect function parameter specification

2020-07-05 Thread Marc Zyngier
On Wed, 1 Jul 2020 08:07:09 -0400, Peng Hao wrote: > update_vmid() just has one parameter "vmid".The other parameter > "kvm" is no longer used. Applied to kvm-arm64/next-5.9, thanks! [1/1] KVM: arm64: Drop long gone function parameter documentation commit: 95fa0ba83e66dea0d3af48ad69842ae8c1

Re: [PATCH v3 3/3] Force all cpus to exit VMX root operation on crash/panic reliably

2020-07-05 Thread David P. Reed
On Sunday, July 5, 2020 2:26pm, "Andy Lutomirski" said: > On Sat, Jul 4, 2020 at 1:38 PM David P. Reed wrote: >> >> Fix the logic during crash/panic reboot on Intel processors that >> can support VMX operation to ensure that all processors are not >> in VMX root operation. Prior code made opti

Re: [PATCH 00/13] Documentation/admin-guide: eliminate duplicated words

2020-07-05 Thread Jonathan Corbet
On Fri, 3 Jul 2020 20:20:07 -0700 Randy Dunlap wrote: > Remove duplicated words from Documentation/admin-guide/ files. > > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: cgro...@vger.kernel.org > Cc: dm-de...@redhat.com > Cc: Mauro Carvalho Chehab > Cc: linux-me...@vger.kernel.o

Re: [PATCH] Documentation: Clarify f_cred vs current_cred() use

2020-07-05 Thread Jonathan Corbet
On Fri, 3 Jul 2020 10:44:22 -0700 Kees Cook wrote: > When making access control choices from a file-based context, f_cred > must be used instead of current_cred() to avoid confused deputy attacks > where an open file may get passed to a more privileged process. Add a > short paragraph to explicit

Re: [PATCH v3] Documentation: Coccinelle: fix various typos etc.

2020-07-05 Thread Jonathan Corbet
On Wed, 1 Jul 2020 12:17:32 -0700 Randy Dunlap wrote: > From: Randy Dunlap > > Fix various typos etc. in dev-tools/coccinelle.rst: > > - punctuation, grammar, wording > > Signed-off-by: Randy Dunlap > Cc: Julia Lawall > Cc: Gilles Muller > Cc: Nicolas Palix > Cc: Michal Marek > Cc: co...

Re: [PATCH] mailmap: add entry for obsolete email address

2020-07-05 Thread Jonathan Corbet
On Wed, 01 Jul 2020 14:58:11 +0300 Konstantin Khlebnikov wrote: > Map old corporate email address @yandex-team.ru to stable private address. > > Signed-off-by: Konstantin Khlebnikov > --- > .mailmap |1 + > 1 file changed, 1 insertion(+) > > diff --git a/.mailmap b/.mailmap > index c69d9c

Re: [PATCH 4/5] kprobes: Do not expose probe addresses to non-CAP_SYSLOG

2020-07-05 Thread Linus Torvalds
On Fri, Jul 3, 2020 at 8:50 AM Kees Cook wrote: > > With 67 kthreads on a booted system, this patch does not immediately > blow up... Did you try making read/write inc/dec that thing too? Or does that just blow up with tons of warnings? Linus

Re: [PATCH] trace doc: fix typo of trace/ftrace.rst

2020-07-05 Thread Jonathan Corbet
On Tue, 30 Jun 2020 11:53:55 -0700 Manbing wrote: > Some documents was converted from the plain text documentation > to reStructuredText format. > > Signed-off-by: Manbing > --- > Documentation/trace/ftrace.rst | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) I've applie

Re: [PATCH v2] Replace HTTP links with HTTPS ones: Documentation/admin-guide

2020-07-05 Thread Jonathan Corbet
On Sat, 27 Jun 2020 09:29:35 +0200 "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 doesn't

Re: [PATCH net] bridge: mcast: Fix MLD2 Report IPv6 payload length check

2020-07-05 Thread Nikolay Aleksandrov
On 7/5/20 10:49 PM, Linus Lüssing wrote: On Sun, Jul 05, 2020 at 10:11:39PM +0300, Nikolay Aleksandrov wrote: On 7/5/20 10:08 PM, Linus Lüssing wrote: On Sun, Jul 05, 2020 at 09:33:13PM +0300, Nikolay Aleksandrov wrote: On 05/07/2020 21:22, Linus Lüssing wrote: Commit e57f61858b7c ("net: brid

Re: [PATCH 4/5] kprobes: Do not expose probe addresses to non-CAP_SYSLOG

2020-07-05 Thread Kees Cook
On Sun, Jul 05, 2020 at 01:10:54PM -0700, Linus Torvalds wrote: > On Fri, Jul 3, 2020 at 8:50 AM Kees Cook wrote: > > > > With 67 kthreads on a booted system, this patch does not immediately > > blow up... > > Did you try making read/write inc/dec that thing too? Or does that > just blow up with

Re: [PATCH] Replace HTTP links with HTTPS ones: DRBD driver

2020-07-05 Thread Jonathan Corbet
On Sat, 27 Jun 2020 12:31:11 +0200 "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 doesn't

Re: [GIT pull] x86/urgent for v5.8-rc4

2020-07-05 Thread Andy Lutomirski
--Andy > On Jul 5, 2020, at 12:46 PM, Linus Torvalds > wrote: > > On Sun, Jul 5, 2020 at 8:47 AM Thomas Gleixner wrote: >> >> - Disable 16 bit segments on XEN PV. It's not supported because XEN PV >> does not implement ESPFIX64 > > I don't disagree with this conceptually, and I've pu

Re: [tip: x86/urgent] x86/entry/32: Fix XEN_PV build dependency

2020-07-05 Thread Andy Lutomirski
> On Jul 5, 2020, at 12:44 PM, tip-bot2 for Ingo Molnar > wrote: > > The following commit has been merged into the x86/urgent branch of tip: > > Commit-ID: a4c0e91d1d65bc58f928b80ed824e10e165da22c > Gitweb: > https://git.kernel.org/tip/a4c0e91d1d65bc58f928b80ed824e10e165da22c >

Re: [PATCH] Replace HTTP links with HTTPS ones: CIFS

2020-07-05 Thread Jonathan Corbet
On Sat, 27 Jun 2020 12:31:25 +0200 "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 doesn't

Re: [PATCH] Replace HTTP links with HTTPS ones: LVM

2020-07-05 Thread Jonathan Corbet
On Sat, 27 Jun 2020 12:31:38 +0200 "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 doesn't

Re: [PATCH] doc: add link to sparse's home page/internal docs

2020-07-05 Thread Jonathan Corbet
On Sun, 28 Jun 2020 11:50:34 +0200 Luc Van Oostenryck wrote: > Sparse's home page used to be a wiki (sparse.wiki.kernel.org) > but this wiki only contained a short intro and the release notes. > But nowadays, sparse's main page is sparse.docs.kernel.org, > which contains all what was in the wiki

Re: [PATCH] docs: fix incorrent references to DMA APIs

2020-07-05 Thread Jonathan Corbet
On Sun, 28 Jun 2020 22:30:17 +0800 Dust Li wrote: > dma-api > dma-api-howto > dma-attributes > dma-isa-lpc > > The above 4 documents have been renamed and moved to > Documentation/core-api/, but there are still some old references > refer to the old files, this patch tries to correct them. > >

Re: [PATCH] riscv: Add STACKPROTECTOR supported

2020-07-05 Thread Kees Cook
On Sun, Jul 05, 2020 at 10:16:14PM +0800, Guo Ren wrote: > On Sun, Jul 5, 2020 at 2:53 PM Kees Cook wrote: > > On Sun, Jul 05, 2020 at 06:24:15AM +, guo...@kernel.org wrote: > > > +static __always_inline void boot_init_stack_canary(void) > > > +{ > > > + unsigned long canary; > > > + > > >

Re: [PATCH v2] doc: add link to sparse's home page/internal docs

2020-07-05 Thread Jonathan Corbet
On Mon, 29 Jun 2020 18:13:10 +0200 Luc Van Oostenryck wrote: > Sparse's home page used to be a wiki (sparse.wiki.kernel.org) > but this wiki only contained a short intro and the release notes. > But nowadays, sparse's main page is sparse.docs.kernel.org, > which contains all what was in the wiki

drivers/staging/wfx/main.c:47:14-21: ERROR: PTR_ERR applied after initialization to constant on line 42

2020-07-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 19a61a753d0705fcb41e7aa130351e0a0a54c3bd commit: 0096214a59a72b3c3c943e27bd03307324d3ce0f staging: wfx: add support for I/O access date: 9 months ago config: c6x-randconfig-c024-20200705 (attached as

Re: [PATCH 0/3] readfile(2): a new syscall to make open/read/close faster

2020-07-05 Thread Vito Caputo
On Sun, Jul 05, 2020 at 01:44:54PM +0200, Greg KH wrote: > On Sun, Jul 05, 2020 at 01:07:14AM -0700, Vito Caputo wrote: > > On Sun, Jul 05, 2020 at 04:27:32AM +0100, Matthew Wilcox wrote: > > > On Sun, Jul 05, 2020 at 05:18:58AM +0200, Jan Ziak wrote: > > > > On Sun, Jul 5, 2020 at 5:12 AM Matthew

Re: [PATCH] doc: cgroup: add f2fs and xfs to supported list for writeback

2020-07-05 Thread Jonathan Corbet
On Mon, 29 Jun 2020 14:08:09 -0500 Eric Sandeen wrote: > f2fs and xfs have both added support for cgroup writeback: > > 578c647 f2fs: implement cgroup writeback support > adfb5fb xfs: implement cgroup aware writeback > > so add them to the supported list in the docs. > > Signed-off-by: Eric Sa

Re: [PATCH 0/3] Documentation: arm64: eliminate duplicated words

2020-07-05 Thread Jonathan Corbet
On Fri, 3 Jul 2020 13:51:07 -0700 Randy Dunlap wrote: > Drop doubled words in Documentation/arm64/. > > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Lorenzo Pieralisi > Cc: Hanjun Guo > Cc: Sudeep Holla > Cc: linux-a...@vger.kernel.org > Cc: linux-arm-ker...@lists.infradead.

Re: [PATCH 0/4] Documentation: PCI: eliminate doubled words

2020-07-05 Thread Jonathan Corbet
On Fri, 3 Jul 2020 14:21:52 -0700 Randy Dunlap wrote: > Fix doubled (duplicated) words in Documentation/PCI/. > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Bjorn Helgaas > Cc: Kishon Vijay Abraham I > Cc: Lorenzo Pieralisi > Cc: linux-...@vger.kernel.org > Cc: Linas Vepstas

Re: [RFC PATCH] riscv: enable per-task stack canaries

2020-07-05 Thread Kees Cook
On Sun, Jul 05, 2020 at 02:13:17PM +, guo...@kernel.org wrote: > From: Guo Ren > > After compare arm64 and x86 implementations, seems arm64's is more > flexible and readable. The key point is how gcc get the offset of > stack_canary from gs/el0_sp. > > x86: Use a fix offset from gs, not flex

Re: [PATCH 0/3] Documentation: trace: eliminate doubled words

2020-07-05 Thread Jonathan Corbet
On Fri, 3 Jul 2020 14:24:50 -0700 Randy Dunlap wrote: > Fix doubled (duplicated) words in trace documentation. > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Steven Rostedt > Cc: Ingo Molnar > Cc: Alexander Shishkin > > > Documentation/trace/ftrace.rst |4 ++-

Re: [PATCH 0/2] Documentation: virt: eliminate duplicated words

2020-07-05 Thread Jonathan Corbet
On Fri, 3 Jul 2020 14:29:04 -0700 Randy Dunlap wrote: > Drop doubled words in Documentation/virt/kvm/. > > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Paolo Bonzini > Cc: k...@vger.kernel.org > > > Documentation/virt/kvm/api.rst | 16 > Documentation

Re: [PATCH 00/10] Documentation: filesystems: eliminate duplicated words

2020-07-05 Thread Jonathan Corbet
On Fri, 3 Jul 2020 14:43:15 -0700 Randy Dunlap wrote: > Fix doubled words in filesystems files. > > > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Ian Kent > Cc: aut...@vger.kernel.org > Cc: David Howells > Cc: linux-cach...@redhat.com > Cc: Joel Becker > Cc: Christoph Hellwig

sound/pcmcia/vx/vxp_ops.c:50:16: sparse: sparse: cast removes address space '__iomem' of expression

2020-07-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bb5a93aaf25261321db0c499cde7da6ee9d8b164 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 2 weeks ago config: riscv-randconfig-s032-20200705

Re: [PATCHv3 2/6] irqchip/irq-pruss-intc: Add a PRUSS irqchip driver for PRUSS interrupts

2020-07-05 Thread Marc Zyngier
On 2020-07-05 14:26, Grzegorz Jaszczyk wrote: On Sat, 4 Jul 2020 at 11:39, Marc Zyngier wrote: On 2020-07-03 15:28, Grzegorz Jaszczyk wrote: [...] It still begs the question: if the HW can support both edge and level triggered interrupts, why isn't the driver supporting this diversity? I a

Re: Writing to a const pointer: is this supposed to happen?

2020-07-05 Thread Kars Mulder
On Sunday, July 05, 2020 21:11 CEST, Andy Shevchenko wrote: > On Sunday, July 5, 2020, Kars Mulder wrote: > > On Saturday, July 04, 2020 22:54 CEST, Andy Shevchenko wrote: > > > This and similar are not correct. 1/ They are not replacement per se > > > (because of different behaviour). 2/ They

Re: [PATCH 5/5] virtio_console: Constify some static variables

2020-07-05 Thread Joe Perches
On Sun, 2020-07-05 at 20:30 +0200, Amit Shah wrote: > On (Wed) 01 Jul 2020 [22:09:50], Rikard Falkeborn wrote: > > The id_table and feature_table pointers in struct virtio_driver are > > pointers to const. Mark the corresponding static variables const to > > allow the compiler to put them in read-o

Re: [PATCH v3 3/3] Force all cpus to exit VMX root operation on crash/panic reliably

2020-07-05 Thread Andy Lutomirski
On Sun, Jul 5, 2020 at 1:00 PM David P. Reed wrote: > > > > On Sunday, July 5, 2020 2:26pm, "Andy Lutomirski" said: > > > On Sat, Jul 4, 2020 at 1:38 PM David P. Reed wrote: > >> > >> Fix the logic during crash/panic reboot on Intel processors that > >> can support VMX operation to ensure that a

Re: [PATCH v3 2/3] Fix undefined operation fault that can hang a cpu on crash or panic

2020-07-05 Thread Andy Lutomirski
On Sun, Jul 5, 2020 at 12:52 PM David P. Reed wrote: > > Thanks, will handle these. 2 questions below. > > On Sunday, July 5, 2020 2:22pm, "Andy Lutomirski" said: > > > On Sat, Jul 4, 2020 at 1:38 PM David P. Reed wrote: > >> > >> Fix: Mask undefined operation fault during emergency VMXOFF that

Re: [PATCH v3 4/4] io_uring: add support for zone-append

2020-07-05 Thread Jens Axboe
On 7/5/20 12:47 PM, Kanchan Joshi wrote: > From: Selvakumar S > > For zone-append, block-layer will return zone-relative offset via ret2 > of ki_complete interface. Make changes to collect it, and send to > user-space using cqe->flags. > > Signed-off-by: Selvakumar S > Signed-off-by: Kanchan Jo

Re: [RFC PATCH 0/4] i2c: core: add generic GPIO bus recovery

2020-07-05 Thread Wolfram Sang
On Fri, Jun 19, 2020 at 05:19:00PM +0300, Codrin Ciubotariu wrote: > GPIO recovery has been added already for some I2C bus drivers, such as > imx, pxa and at91. These drivers use similar bindings and have more or > less the same code for recovery. For this reason, we aim to move the > GPIO bus reco

Re: [RESEND PATCH v2 00/13] Enable GPU for SM8150 and SM8250

2020-07-05 Thread Jonathan Marek
On 7/3/20 1:29 PM, Dmitry Baryshkov wrote: On 03/07/2020 18:14, Dmitry Baryshkov wrote: On 03/07/2020 18:08, Jonathan Marek wrote: On 7/3/20 11:03 AM, Dmitry Baryshkov wrote: On 30/06/2020 00:17, Jonathan Marek wrote: This series adds the missing clock drivers and dts nodes to enable the GPU

Re: [PATCH v3 4/4] io_uring: add support for zone-append

2020-07-05 Thread Matthew Wilcox
On Sun, Jul 05, 2020 at 03:00:47PM -0600, Jens Axboe wrote: > On 7/5/20 12:47 PM, Kanchan Joshi wrote: > > From: Selvakumar S > > > > For zone-append, block-layer will return zone-relative offset via ret2 > > of ki_complete interface. Make changes to collect it, and send to > > user-space using c

Re: [PATCH v1] arm64: dts: actions: Fix smp Bringing up secondary CPUs

2020-07-05 Thread Helen Koike
Hi Matheus, On 7/5/20 4:19 PM, Matheus Castello wrote: > Change the enable-method to fix the failed to boot errors: > > [0.040330] smp: Bringing up secondary CPUs ... > [0.040683] psci: failed to boot CPU1 (-22) > [0.040691] CPU1: failed to boot: -22 > [0.041062] psci: failed to b

Re: [PATCH v3 4/4] io_uring: add support for zone-append

2020-07-05 Thread Jens Axboe
On 7/5/20 3:09 PM, Matthew Wilcox wrote: > On Sun, Jul 05, 2020 at 03:00:47PM -0600, Jens Axboe wrote: >> On 7/5/20 12:47 PM, Kanchan Joshi wrote: >>> From: Selvakumar S >>> >>> For zone-append, block-layer will return zone-relative offset via ret2 >>> of ki_complete interface. Make changes to col

Re: [RFC PATCH 1/4] dt-binding: i2c: add generic properties for GPIO bus recovery

2020-07-05 Thread Wolfram Sang
> +- pinctrl > + add extra pinctrl to configure SCL/SDA pins to GPIO function for bus > + recovery, call it "gpio" or "recovery" state I think we should stick with "gpio" only. That is what at91 and imx have in their bindings. pxa uses "recovery" as a pinctrl state name but I can't find a

Re: [PATCH] scsi: sd: stop SSD (non-rotational) disks before reboot

2020-07-05 Thread Henrique de Moraes Holschuh
On Thu, 18 Jun 2020, Christoph Hellwig wrote: > > For SSDs, I don't think an extra stop should ever be an issue. > > Extra shutdowns will usually cause additional P/E cycles. I am not so sure. We're talking about enforcing clean shutdowns here (from the SSD PoV). A system reboot takes enough ti

[PATCH] Replace HTTP links with HTTPS ones: Hyper-V core and drivers

2020-07-05 Thread Alexander A. Klimov
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 doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] Replace HTTP links with HTTPS ones: security

2020-07-05 Thread Alexander A. Klimov
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 doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] Replace HTTP links with HTTPS ones: AHA152X SCSI driver

2020-07-05 Thread Alexander A. Klimov
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 doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

[PATCH] Replace HTTP links with HTTPS ones: VMWare PVRDMA driver

2020-07-05 Thread Alexander A. Klimov
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 doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

drivers/scsi/pcmcia/nsp_cs.c:1669:34: sparse: sparse: incorrect type in argument 1 (different address spaces)

2020-07-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bb5a93aaf25261321db0c499cde7da6ee9d8b164 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 2 weeks ago config: microblaze-randconfig-s031-20200705

Re: [PATCH v3] x86/speculation/l1tf: Add KConfig for setting the L1D cache flush mode

2020-07-05 Thread Abhishek Bhardwaj
On Sun, Jul 5, 2020 at 11:48 AM Waiman Long wrote: > > On 7/5/20 2:22 PM, Abhishek Bhardwaj wrote: > > On Sun, Jul 5, 2020 at 8:57 AM Waiman Long wrote: > >> On 7/5/20 11:23 AM, Mike Rapoport wrote: > Nothing prevents people from continuing to use the command line > options if they want

[PATCH] usb: core: fix quirks_param_set() writing to a const pointer

2020-07-05 Thread Kars Mulder
The function quirks_param_set() takes as argument a const char* pointer to the new value of the usbcore.quirks parameter. It then casts this pointer to a non-const char* pointer and passes it to the strsep() function, which overwrites the value. Fix this by copying the value to a local buffer on t

Re: [PATCH] Replace HTTP links with HTTPS ones: security

2020-07-05 Thread John Johansen
On 7/5/20 2:45 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 doesn't contain `\bxmlns\b`:

[PATCH] Replace HTTP links with HTTPS ones: RISC-V

2020-07-05 Thread Alexander A. Klimov
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 doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`:

Re: [PATCH v3 2/3] Fix undefined operation fault that can hang a cpu on crash or panic

2020-07-05 Thread David P. Reed
On Sunday, July 5, 2020 4:55pm, "Andy Lutomirski" said: > On Sun, Jul 5, 2020 at 12:52 PM David P. Reed wrote: >> >> Thanks, will handle these. 2 questions below. >> >> On Sunday, July 5, 2020 2:22pm, "Andy Lutomirski" said: >> >> > On Sat, Jul 4, 2020 at 1:38 PM David P. Reed wrote: >> >> >

Re: [PATCH v1] arm64: dts: actions: Fix smp Bringing up secondary CPUs

2020-07-05 Thread Andreas Färber
Hi Matheus, Am 05.07.20 um 21:19 schrieb Matheus Castello: Change the enable-method to fix the failed to boot errors: [0.040330] smp: Bringing up secondary CPUs ... [0.040683] psci: failed to boot CPU1 (-22) [0.040691] CPU1: failed to boot: -22 [0.041062] psci: failed to boot CP

Re: [PATCH] scsi: sd: stop SSD (non-rotational) disks before reboot

2020-07-05 Thread Henrique de Moraes Holschuh
On Tue, 30 Jun 2020, Ming Lei wrote: > On Wed, Jun 24, 2020 at 5:01 AM Henrique de Moraes Holschuh > wrote: > > Cache flushes do not matter that much when SSDs and sudden power cuts > > are involved. Power cuts at the wrong time harm the FLASH itself, it is > > not about still-in-flight data. > >

Re: [PATCH 0/5] RFC: connector: Add network namespace awareness

2020-07-05 Thread Matt Bennett
On Thu, 2020-07-02 at 21:10 +0200, Christian Brauner wrote: > On Thu, Jul 02, 2020 at 08:17:38AM -0500, Eric W. Biederman wrote: > > Matt Bennett writes: > > > > > Previously the connector functionality could only be used by processes > > > running in the > > > default network namespace. This me

Re: [PATCH 0/5] RFC: connector: Add network namespace awareness

2020-07-05 Thread Matt Bennett
On Thu, 2020-07-02 at 13:59 -0500, Eric W. Biederman wrote: > Matt Bennett writes: > > > Previously the connector functionality could only be used by processes > > running in the > > default network namespace. This meant that any process that uses the > > connector functionality > > could not o

[PATCH] fscache: replace open-coded pr_warn_once() with actual call

2020-07-05 Thread Jason A. Donenfeld
There's no reason to open code this here, so instead replace it with pr_warn_once, which amounts to exactly the same thing. Signed-off-by: Jason A. Donenfeld --- fs/fscache/page.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/fs/fscache/page.c b/fs/fscache/page.

Re: [PATCH v1] arm64: dts: actions: Fix smp Bringing up secondary CPUs

2020-07-05 Thread Matheus Castello
Hi Andreas, Em 7/5/20 7:09 PM, Andreas Färber escreveu: Hi Matheus, Am 05.07.20 um 21:19 schrieb Matheus Castello: Change the enable-method to fix the failed to boot errors: [    0.040330] smp: Bringing up secondary CPUs ... [    0.040683] psci: failed to boot CPU1 (-22) [    0.040691] CPU1:

[PATCH 1/2] x86: Expose SERIALIZE for supported cpuid

2020-07-05 Thread Cathy Zhang
SERIALIZE instruction is supported by intel processors, like Sapphire Rapids. Expose it in KVM supported cpuid. The SERIALIZE enumeration kernel patch link is as follows: https://lore.kernel.org/patchwork/patch/1254757/ Signed-off-by: Cathy Zhang --- arch/x86/kvm/cpuid.c | 3 ++- 1 file changed

[PATCH 2/2] x86: Expose TSX Suspend Load Address Tracking

2020-07-05 Thread Cathy Zhang
TSX Suspend Load Address Tracking is supported by intel processors, like Sapphire Rapids. Expose it in KVM supported cpuid. The associated kernel enumeration patches link is as follows: https://lore.kernel.org/patchwork/patch/1254756/ Signed-off-by: Cathy Zhang --- arch/x86/kvm/cpuid.c | 2 +-

[PATCH 0/2] Expose new features for intel processor

2020-07-05 Thread Cathy Zhang
This patchset is to expose two new features for intel processors which support them, like Sapphire Rapids. SERIALIZE is a faster serializing instruction which does not modify registers, arithmetic flags or memory, will not cause VM exit. TSX suspend load tracking instruction aims to give a way to c

Re: [BUG] XHCI getting ZONE_DMA32 memory > than its bus_dma_limit

2020-07-05 Thread David Rientjes
On Fri, 3 Jul 2020, Robin Murphy wrote: > > Just for the record the offending commit is: c84dc6e68a1d2 ("dma-pool: add > > additional coherent pools to map to gfp mask"). > > > > On Thu, 2020-07-02 at 12:49 -0500, Jeremy Linton wrote: > > > Hi, > > > > > > Using 5.8rc3: > > > > > > The rpi4 has

Re: [RFC PATCH 06/16] sched: Add core wide task selection and scheduling.

2020-07-05 Thread Tim Chen
On 7/2/20 5:57 AM, Joel Fernandes wrote: > On Wed, Jul 01, 2020 at 05:54:11PM -0700, Tim Chen wrote: >> >> >> On 7/1/20 4:28 PM, Joel Fernandes wrote: >>> On Tue, Jun 30, 2020 at 09:32:27PM +, Vineeth Remanan Pillai wrote: From: Peter Zijlstra Instead of only selecting a loca

Re: [PATCH v3] f2fs: add symbolic link to kobject in sysfs

2020-07-05 Thread Daeho Jeong
> No Documentation/ABI/ entry for your new sysfs file/link? This is for adding a symbolic link to a pre-existed /sys/fs/f2fs/ directory and it means /sys/fs/f2fs/ points to /sys/fs/f2fs/. I already added the description of this in Documentation/filesystems/f2fs.rst. > > And what does this help wi

Re: [PATCH 04/15] mmc: host: sdhci-s3c: Provide documentation for missing struct properties

2020-07-05 Thread Jaehoon Chung
On 7/1/20 9:46 PM, Lee Jones wrote: > Describe properties; ext_cd_irq, clk_rates and no_divider (x2). > > Squashes the following W=1 kernel build warnings: > > drivers/mmc/host/sdhci-s3c.c:126: warning: Function parameter or member > 'ext_cd_irq' not described in 'sdhci_s3c' > drivers/mmc/host

Re: [PATCH 08/15] mmc: host: dw_mmc-exynos: Add kerneldoc descriptions of for 'dev' args

2020-07-05 Thread Jaehoon Chung
On 7/1/20 9:46 PM, Lee Jones wrote: > Provide missing documentation for dw_mci_exynos_suspend_noirq() and > dw_mci_exynos_resume_noirq() function headers. > > Fixes the following W=1 kernel build warnings: > > drivers/mmc/host/dw_mmc-exynos.c:184: warning: Function parameter or member > 'dev' n

arch/powerpc/math-emu/math.c:237:13: sparse: sparse: incorrect type in initializer (different address spaces)

2020-07-05 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bb5a93aaf25261321db0c499cde7da6ee9d8b164 commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 2 weeks ago config: powerpc64-randconfig-s032-20200705

Re: [PATCH 01/10] Documentation: filesystems: autofs-mount-control: drop doubled words

2020-07-05 Thread Ian Kent
On Fri, 2020-07-03 at 14:43 -0700, Randy Dunlap wrote: > Drop the doubled words "the" and "and". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Ian Kent Acked-by: Ian Kent > Cc: aut...@vger.kernel.org > --- > Documentation/filesystems/autofs-moun

Linux 5.8-rc4

2020-07-05 Thread Linus Torvalds
Well, if rc3 was larger than usual, rc4 now makes up for that by being smaller than usual. It's been quite a calm week. Is that just the normal fluctuation? Probably. The timing of the individual pull requests end up just varying, so some rc's end up large and some end up smaller, and maybe rc4 is

[PATCH v2 0/4] iommu/vt-d: Add prq report and response support

2020-07-05 Thread Lu Baolu
Hi, This series adds page request event reporting and response support to the Intel IOMMU driver. This is necessary when the page requests must be processed by any component other than the vendor IOMMU driver. For example, when a guest page table was bound to a PASID through the iommu_ops->sva_bin

[PATCH v2 1/4] iommu/vt-d: Refactor device_to_iommu() helper

2020-07-05 Thread Lu Baolu
It is refactored in two ways: - Make it global so that it could be used in other files. - Make bus/devfn optional so that callers could ignore these two returned values when they only want to get the coresponding iommu pointer. Signed-off-by: Lu Baolu --- drivers/iommu/intel/iommu.c | 55 +

[PATCH v2 2/4] iommu/vt-d: Add a helper to get svm and sdev for pasid

2020-07-05 Thread Lu Baolu
There are several places in the code that need to get the pointers of svm and sdev according to a pasid and device. Add a helper to achieve this for code consolidation and readability. Signed-off-by: Lu Baolu --- drivers/iommu/intel/svm.c | 121 +- 1 file chan

Re: [PATCH v2 5/6] powerpc/pseries: implement paravirt qspinlocks for SPLPAR

2020-07-05 Thread Nicholas Piggin
Excerpts from Waiman Long's message of July 6, 2020 5:00 am: > On 7/3/20 3:35 AM, Nicholas Piggin wrote: >> Signed-off-by: Nicholas Piggin >> --- >> arch/powerpc/include/asm/paravirt.h | 28 ++ >> arch/powerpc/include/asm/qspinlock.h | 55 +++ >> arch

<    1   2   3   4   5   >