Re: [PATCH v2 00/15] Make the user mode driver code a better citizen

2020-07-03 Thread Tetsuo Handa
On 2020/07/04 7:25, Eric W. Biederman wrote: > Tetsuo Handa writes: > >> On 2020/07/02 22:08, Eric W. Biederman wrote: By the way, commit 4a9d4b024a3102fc ("switch fput to task_work_add") says that use of flush_delayed_fput() has to be careful. Al, is it safe to call flush_delayed_

[GIT PULL] xen: branch for v5.8-rc4

2020-07-03 Thread Juergen Gross
Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git for-linus-5.8b-rc4-tag xen: branch for v5.8-rc4 It contains only 1 small cleanup patch for ARM and two patches for the xenbus driver fixinf latent problems (large stack allocations and bad retu

[no subject]

2020-07-03 Thread George
Did you receive my last mail

Re: [PATCH] i2c: rk3x: support master_xfer_atomic

2020-07-03 Thread Wolfram Sang
On Tue, Jun 23, 2020 at 01:06:46PM +0100, John Keeping wrote: > Enable i2c transactions in irq disabled contexts like poweroff where the > PMIC is connected via i2c. > > Signed-off-by: John Keeping Applied to for-next, thanks! signature.asc Description: PGP signature

BUG: Bad page state (7)

2020-07-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:36e3135d Add linux-next specific files for 20200626 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=14ae892310 kernel config: https://syzkaller.appspot.com/x/.config?x=da5d3b3f1820f562 dashboard

WARNING in __cfg80211_connect_result

2020-07-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:23212a70 Merge branch 'mptcp-add-receive-buffer-auto-tuning' git tree: net-next console output: https://syzkaller.appspot.com/x/log.txt?x=155842d510 kernel config: https://syzkaller.appspot.com/x/.config?x=829871134ca5e230 das

Re: [PATCH V1 0/5] riscv: Add k/uprobe supported

2020-07-03 Thread Pekka Enberg
On Sat, Jul 4, 2020 at 6:34 AM wrote: > The patchset includes kprobe/uprobe support and some related fixups. Nice! On Sat, Jul 4, 2020 at 6:34 AM wrote: > There is no single step exception in riscv ISA, so utilize ebreak to > simulate. Some pc related instructions couldn't be executed out of li

Re: [PATCH v2 2/2] i2c: fsi: Prevent adding adapters for ports without dts nodes

2020-07-03 Thread Wolfram Sang
On Tue, Jun 09, 2020 at 03:15:55PM -0500, Eddie James wrote: > Ports should be defined in the devicetree if they are to be enabled on > the system. The patch description does not really fit anymore, does it? There is no change in behaviour, we just remove a redundant check. > > Signed-off-by: Ed

arch/sparc/include/asm/floppy_32.h:319:17: sparse: sparse: incorrect type in assignment (different address spaces)

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

Re: [PATCH] i2c: jz4780: remove redundant assignment to variable i

2020-07-03 Thread Wolfram Sang
On Wed, Jun 10, 2020 at 01:59:01PM +0100, Colin King wrote: > From: Colin Ian King > > The variable i is being initialized with a value that is > never read and it is being updated later with a new value. The > initialization is redundant and can be removed. > > Addresses-Coverity: ("Unused valu

Re: [PATCH 3/4] Documentation: PCI: pci-error-recovery: drop doubled words

2020-07-03 Thread Linas Vepstas
Acked-by: Linas Vepstas for this and the other patches in the series. On Fri, Jul 3, 2020 at 4:22 PM Randy Dunlap wrote: > > Drop the doubled word "the". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Bjorn Helgaas > Cc: Linas Vepstas > Cc: linu

Re: [PATCH v6] i2c: designware: platdrv: Set class based on DMI

2020-07-03 Thread Wolfram Sang
On Thu, Jul 02, 2020 at 12:33:21PM +0200, Ricardo Ribalda wrote: > Current AMD's zen-based APUs use this core for some of its i2c-buses. > > With this patch we re-enable autodetection of hwmon-alike devices, so > lm-sensors will be able to work automatically. > > It does not affect the boot-time

Re: [PATCH 11/30] usb: dwc2: gadget: Avoid pointless read of EP control register

2020-07-03 Thread Greg KH
On Fri, Jul 03, 2020 at 06:16:26PM +0100, Lee Jones wrote: > On Fri, 03 Jul 2020, Minas Harutyunyan wrote: > > > Hi, > > > > On 7/3/2020 11:29 AM, Greg KH wrote: > > > On Thu, Jul 02, 2020 at 03:46:06PM +0100, Lee Jones wrote: > > >> Commit ec1f9d9f01384 ("usb: dwc2: gadget: parity fix in isochro

Re: [PATCH v2] i2c: algo-pca: Add 0x78 as SCL stuck low status

2020-07-03 Thread Wolfram Sang
On Thu, Jul 02, 2020 at 10:39:11AM +1200, Chris Packham wrote: > The PCA9665 datasheet says that I2CSTA = 78h indicates that SCL is stuck > low, this differs to the PCA9564 which uses 90h for this indication. > Treat either 0x78 or 0x90 as an indication that the SCL line is stuck. > > Based on loo

Re: [PATCH for-5.8 v2] usb: dwc2: Add missing cleanups when usb_add_gadget_udc() fails

2020-07-03 Thread Minas Harutyunyan
On 7/4/2020 2:50 AM, Martin Blumenstingl wrote: > Call dwc2_debugfs_exit() and dwc2_hcd_remove() (if the HCD was enabled > earlier) when usb_add_gadget_udc() has failed. This ensures that the > debugfs entries created by dwc2_debugfs_init() as well as the HCD are > cleaned up in the error path. >

[PATCH] drivers/net/wan/lapbether: Fixed the value of hard_header_len

2020-07-03 Thread Xie He
When transmitting data from upper layers or from AF_PACKET sockets, this driver will first remove a pseudo header of 1 byte, then the lapb module will prepend the LAPB header of 2 or 3 bytes, then this driver will prepend a length field of 2 bytes, then the underlying Ethernet device will p

[git pull] sysctl fix

2020-07-03 Thread Al Viro
More regression fixes in sysctl changes this cycle... 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/viro/vfs.git fixes for

[PATCH] dts: hi3660: Add support for basic usb gadget on Hikey960

2020-07-03 Thread John Stultz
This patch adds basic core dwc3, usb phy and rt1711h nodes for usb support on Hikey960. This does not enable the mux/hub functionality on the board, so the USB-A host ports will not function, but does allow the USB-C port to function in gadget mode (unfortunately not in host, as the hub/mux functi

Re: [PATCH] phy: samsung: Use readl_poll_timeout function

2020-07-03 Thread Anand Moon
hi Krzysztof, On Fri, 3 Jul 2020 at 22:13, Krzysztof Kozlowski wrote: > > On Fri, Jul 03, 2020 at 01:20:12PM +, Anand Moon wrote: > > User readl_poll_timeout function instead of open > > coded handling in crport_handshake function. > > > > Signed-off-by: Anand Moon > > --- > > drivers/phy/s

[PATCH] ASoC: amd: fix Kconfig warning for Renoir

2020-07-03 Thread Randy Dunlap
From: Randy Dunlap SND_SOC_DMIC depends on GPIOLIB so this driver should also depend on GPIOLIB to make kconfig happy. WARNING: unmet direct dependencies detected for SND_SOC_DMIC Depends on [n]: SOUND [=y] && !UML && SND [=y] && SND_SOC [=y] && GPIOLIB [=n] Selected by [y]: - SND_SOC_AMD_

Re: [PATCH] tpm: Define TPM2_SPACE_BUFFER_SIZE to replace the use of PAGE_SIZE

2020-07-03 Thread Jarkko Sakkinen
On Thu, Jul 02, 2020 at 04:55:44PM -0700, Jerry Snitselaar wrote: > On Fri Jul 03 20, Jarkko Sakkinen wrote: > > The size of the buffers for storing context's and sessions can vary from > > arch to arch as PAGE_SIZE can be anything between 4 kB and 256 kB (the > > maximum for PPC64). Define a fixed

[PATCH 17/17] Documentation/driver-api: xillybus: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Eli Billauer --- Documentation/driver-api/xillybus.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/driver-api/xillybus.rst +++

[PATCH 12/17] Documentation/driver-api: ntb: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "with". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Jon Mason Cc: Dave Jiang Cc: Allen Hubbe Cc: linux-...@googlegroups.com --- Documentation/driver-api/ntb.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-nex

[PATCH 09/17] Documentation/driver-api: media/dtv-frontend: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "errors". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/driver-api/media/dtv-frontend.rst |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- linux-

[PATCH 15/17] Documentation/driver-api: usb/URB: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "also". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Greg Kroah-Hartman Cc: linux-...@vger.kernel.org --- Documentation/driver-api/usb/URB.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Docum

[PATCH 14/17] Documentation/driver-api: uio-howto: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "you". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Greg Kroah-Hartman --- Documentation/driver-api/uio-howto.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/driver-api/uio-howto

[PATCH 16/17] Documentation/driver-api: media/v4l2-controls: drop doubled words

2020-07-03 Thread Randy Dunlap
Drop the doubled words "type" and "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/driver-api/media/v4l2-controls.rst |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --

[PATCH 07/17] Documentation/driver-api: iio/buffers: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "struct". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: William Breathitt Gray Cc: linux-...@vger.kernel.org --- Documentation/driver-api/iio/buffers.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.

[PATCH 13/17] Documentation/driver-api: nvdimm: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "to". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Dan Williams Cc: Vishal Verma Cc: Dave Jiang Cc: Ira Weiny Cc: linux-nvd...@lists.01.org --- Documentation/driver-api/nvdimm/nvdimm.rst |2 +- 1 file changed, 1 insertion(+), 1

[PATCH 10/17] Documentation/driver-api: media/v4l2-dev: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "device". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/driver-api/media/v4l2-dev.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200

[PATCH 11/17] Documentation/driver-api: driver-model/platform: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "that". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Greg Kroah-Hartman --- Documentation/driver-api/driver-model/platform.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/driver-

[PATCH 04/17] Documentation/driver-api: firmware/direct-fs-lookup: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "firmware". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Luis Chamberlain Cc: Greg Kroah-Hartman --- Documentation/driver-api/firmware/direct-fs-lookup.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-2020

[PATCH 08/17] Documentation/driver-api: media/cec-core: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/driver-api/media/cec-core.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701

[PATCH 02/17] Documentation/driver-api: firmware/built-in-fw: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "for". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Luis Chamberlain Cc: Greg Kroah-Hartman --- Documentation/driver-api/firmware/built-in-fw.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/D

[PATCH 06/17] Documentation/driver-api: generic-counter: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: William Breathitt Gray Cc: linux-...@vger.kernel.org --- Documentation/driver-api/generic-counter.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701

[PATCH 05/17] Documentation/driver-api: firmware/request_firmware: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "call". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Luis Chamberlain Cc: Greg Kroah-Hartman --- Documentation/driver-api/firmware/request_firmware.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701

[PATCH 03/17] Documentation/driver-api: firmware/firmware_cache: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "if". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Luis Chamberlain Cc: Greg Kroah-Hartman --- Documentation/driver-api/firmware/firmware_cache.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.ori

[PATCH 00/17] Documentation/driver-api: eliminate duplicated words

2020-07-03 Thread Randy Dunlap
Remove occurrences of duplicated words in Documentation/driver-api/. Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Vinod Koul Cc: dmaeng...@vger.kernel.org Cc: Luis Chamberlain Cc: Greg Kroah-Hartman Cc: William Breathitt Gray Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab C

[PATCH 01/17] Documentation/driver-api: dmaengine/provider: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "has". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Vinod Koul Cc: dmaeng...@vger.kernel.org --- Documentation/driver-api/dmaengine/provider.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Doc

[GIT PULL] CIFS/SMB3 Fixes

2020-07-03 Thread Steve French
Please pull the following changes since commit 9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68: Linux 5.8-rc3 (2020-06-28 15:00:24 -0700) are available in the Git repository at: git://git.samba.org/sfrench/cifs-2.6.git tags/5.8-rc3-smb3-fixes for you to fetch changes up to 19e888678bac8c82206eb915

[PATCH V1 5/5] riscv: Add uprobes supported

2020-07-03 Thread guoren
From: Guo Ren This patch adds support for uprobes on riscv architecture. Just like kprobe, it support single-step and simulate instructions. Signed-off-by: Guo Ren Cc: Patrick Stählin Cc: Masami Hiramatsu Cc: Palmer Dabbelt Cc: Björn Töpel --- arch/riscv/Kconfig | 3 +

[PATCH V1 4/5] riscv: Add kprobes supported

2020-07-03 Thread guoren
From: Guo Ren This patch enables "kprobe & kretprobe" to work with ftrace interface. It utilized software breakpoint as single-step mechanism. Some instructions which can't be single-step executed must be simulated in kernel execution slot, such as: branch, jal, auipc, la ... Some instructions

[PATCH V1 1/5] riscv: Fixup __vdso_gettimeofday broke dynamic ftrace

2020-07-03 Thread guoren
From: Guo Ren For linux-5.8-rc1, enable ftrace of riscv will cause boot panic: [2.388980] Run /sbin/init as init process [2.529938] init[39]: unhandled signal 4 code 0x1 at 0x003ff449e000 [2.531078] CPU: 0 PID: 39 Comm: init Not tainted 5.8.0-rc1-dirty #13 [2.532719] epc: 000

[PATCH V1 2/5] RISC-V: Implement ptrace regs and stack API

2020-07-03 Thread guoren
From: Patrick Stählin Needed for kprobes support. Copied and adapted from arm64 code. Guo Ren fixup pt_regs type for linux-5.8-rc1. Signed-off-by: Patrick Stählin Signed-off-by: Guo Ren --- arch/riscv/Kconfig | 1 + arch/riscv/include/asm/ptrace.h | 29 arch/riscv/

[PATCH V1 3/5] riscv: Fixup compile error BUILD_BUG_ON failed

2020-07-03 Thread guoren
From: Guo Ren Unfortunately, the current code couldn't be compiled: CC arch/riscv/kernel/patch.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:9, from ./include/linux/preempt.h:11, from ./include/linux/spi

[PATCH V1 0/5] riscv: Add k/uprobe supported

2020-07-03 Thread guoren
From: Guo Ren The patchset includes kprobe/uprobe support and some related fixups. Patrick provides HAVE_REGS_AND_STACK_ACCESS_API support and some kprobe's code. The framework of k/uprobe is from csky but also refers to other arches'. There is no single step exception in riscv ISA, so utilize e

Re: [PATCH v33 11/21] x86/sgx: Linux Enclave Driver

2020-07-03 Thread Jarkko Sakkinen
On Wed, Jul 01, 2020 at 08:59:02PM -0700, Sean Christopherson wrote: > On Thu, Jun 18, 2020 at 01:08:33AM +0300, Jarkko Sakkinen wrote: > > +static int sgx_validate_secs(const struct sgx_secs *secs, > > +unsigned long ssaframesize) > > +{ > > + if (secs->size < (2 * PAGE_S

Re: [PATCH 13/13] Documentation/admin-guide: xfs: drop doubled word

2020-07-03 Thread Darrick J. Wong
On Fri, Jul 03, 2020 at 08:20:20PM -0700, Randy Dunlap wrote: > Drop the doubled word "for". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: Darrick J. Wong > Cc: linux-...@vger.kernel.org Looks good to me, Reviewed-by: Darrick J. Wong --D > --- >

[PATCH 03/13] Documentation/admin-guide: dm-integrity: drop doubled words

2020-07-03 Thread Randy Dunlap
Drop the doubled words "on" and "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: dm-de...@redhat.com --- Documentation/admin-guide/device-mapper/dm-integrity.rst |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-20200701.orig/D

[PATCH 13/13] Documentation/admin-guide: xfs: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "for". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Darrick J. Wong Cc: linux-...@vger.kernel.org --- Documentation/admin-guide/xfs.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentatio

[PATCH 10/13] Documentation/admin-guide: intel-speed-select: drop doubled words

2020-07-03 Thread Randy Dunlap
Drop the doubled words "that" and "and". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Srinivas Pandruvada Cc: platform-driver-...@vger.kernel.org --- Documentation/admin-guide/pm/intel-speed-select.rst |4 ++-- 1 file changed, 2 insertions(+), 2 deletio

[PATCH 04/13] Documentation/admin-guide: media/building: drop doubled words

2020-07-03 Thread Randy Dunlap
Drop some doubled words. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/admin-guide/media/building.rst |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux-next-2020070

[PATCH 07/13] Documentation/admin-guide: pnfs-scsi-server: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "with". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Trond Myklebust Cc: Anna Schumaker Cc: linux-...@vger.kernel.org --- Documentation/admin-guide/nfs/pnfs-scsi-server.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 11/13] Documentation/admin-guide: sysctl/kernel: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "set". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- Documentation/admin-guide/sysctl/kernel.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/admin-guide/sysctl/kernel.rst +++ linux

[PATCH 12/13] Documentation/admin-guide: tainted-kernels: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- Documentation/admin-guide/tainted-kernels.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/admin-guide/tainted-kernels.rst +++ l

[PATCH 09/13] Documentation/admin-guide: intel_pstate: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "to". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Srinivas Pandruvada Cc: Len Brown Cc: linux...@vger.kernel.org --- Documentation/admin-guide/pm/intel_pstate.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-ne

[PATCH 06/13] Documentation/admin-guide: pnfs-block-server: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "with". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Trond Myklebust Cc: Anna Schumaker Cc: linux-...@vger.kernel.org --- Documentation/admin-guide/nfs/pnfs-block-server.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --

[PATCH 08/13] Documentation/admin-guide: arm-ccn: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "as". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org --- Documentation/admin-guide/perf/arm-ccn.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/admin-guide/perf/arm-ccn.rst +++ linux-ne

[PATCH 05/13] Documentation/admin-guide: mm/ksm: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "the". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Andrew Morton Cc: linux...@kvack.org --- Documentation/admin-guide/mm/ksm.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/admi

[PATCH 02/13] Documentation/admin-guide: cgroup-v1/rdma: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "echo". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: cgro...@vger.kernel.org --- Documentation/admin-guide/cgroup-v1/rdma.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/admin-gui

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

2020-07-03 Thread Randy Dunlap
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.org Cc: Andrew Morton Cc: linux...@kvack.org Cc: Trond Myklebust Cc: Anna

[PATCH 01/13] Documentation/admin-guide: cgroup-v2: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "of". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: cgro...@vger.kernel.org --- Documentation/admin-guide/cgroup-v2.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20200701.orig/Documentation/admin-guide/cgro

Re: objtool clac/stac handling change..

2020-07-03 Thread Linus Torvalds
On Fri, Jul 3, 2020 at 7:30 PM Al Viro wrote: > > Lovely... So basically this is the rare place where we might use those > insns on userland addresses? Honestly, I think the code you quote is just confused. First off, we have special "is this page fault due to a prefetch" logic in the x86 page

Re: mmotm 2020-07-03-15-03 uploaded (drivers/soc/qcom/qcom-geni-se.c)

2020-07-03 Thread Randy Dunlap
On 7/3/20 3:04 PM, a...@linux-foundation.org wrote: > The mm-of-the-moment snapshot 2020-07-03-15-03 has been uploaded to > >http://www.ozlabs.org/~akpm/mmotm/ > > mmotm-readme.txt says > > README for mm-of-the-moment: > > http://www.ozlabs.org/~akpm/mmotm/ > > This is a snapshot of my -mm

Re: [PATCH 09/16] initrd: remove the BLKFLSBUF call in handle_initrd

2020-07-03 Thread hpa
On July 3, 2020 5:18:48 PM PDT, antlists wrote: >On 03/07/2020 04:40, H. Peter Anvin wrote: >> On 2020-06-15 05:53, Christoph Hellwig wrote: >>> BLKFLSBUF used to be overloaded for the ramdisk driver to free the >whole >>> ramdisk, which was completely different behavior compared to all >other >>>

Re: objtool clac/stac handling change..

2020-07-03 Thread Al Viro
On Fri, Jul 03, 2020 at 06:54:15PM -0700, Linus Torvalds wrote: > "Software Prefetches May Report A Page Fault > > Description Software prefetch instructions are defined to ignore > page faults. Under highly specific and detailed internal > circumstances, a prefetch instruction may report a pa

Re: objtool clac/stac handling change..

2020-07-03 Thread Al Viro
On Sat, Jul 04, 2020 at 01:49:59AM +0100, Al Viro wrote: > On Fri, Jul 03, 2020 at 10:02:37PM +0100, Al Viro wrote: > > > PS: I'm still going through the _ASM_EXTABLE... users on x86, so there > > might be more fun. Will post when I'm done... > > Lovely... Not directly related to that, but... W

Re: objtool clac/stac handling change..

2020-07-03 Thread Linus Torvalds
On Fri, Jul 3, 2020 at 5:50 PM Al Viro wrote: > > How could prefetcht0 possibly > raise an exception? Intel manual says that the only exception is #UD if > LOCK PREFETCHT0 is encountered; not here, obviously. AMD manual simply > says "no exceptions". Confused... Several CPU bugs in this ar

Re: [PATCH v33 11/21] x86/sgx: Linux Enclave Driver

2020-07-03 Thread Jarkko Sakkinen
On Mon, Jun 29, 2020 at 08:27:19AM -0700, Sean Christopherson wrote: > On Sat, Jun 27, 2020 at 07:43:35PM +0200, Borislav Petkov wrote: > > On Thu, Jun 18, 2020 at 01:08:33AM +0300, Jarkko Sakkinen wrote: > > > +static int sgx_encl_init(struct sgx_encl *encl, struct sgx_sigstruct > > > *sigstruct,

Re: [PATCH v33 11/21] x86/sgx: Linux Enclave Driver

2020-07-03 Thread Jarkko Sakkinen
On Sat, Jun 27, 2020 at 07:43:35PM +0200, Borislav Petkov wrote: > On Thu, Jun 18, 2020 at 01:08:33AM +0300, Jarkko Sakkinen wrote: > > +static int sgx_encl_init(struct sgx_encl *encl, struct sgx_sigstruct > > *sigstruct, > > +void *token) > > +{ > > + u64 mrsigner[4]; > > +

[tip:master] BUILD SUCCESS a282cddefe90c4b21ef2c22a76a7c3ebd3ec6b86

2020-07-03 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git master branch HEAD: a282cddefe90c4b21ef2c22a76a7c3ebd3ec6b86 Merge branch 'WIP.core/headers' elapsed time: 2145m configs tested: 102 configs skipped: 5 The following configs have been built successfully. More configs may

[tip:auto-latest] BUILD SUCCESS 7e44a91e0445a854af5d34ca0f5baceccd518e73

2020-07-03 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git auto-latest branch HEAD: 7e44a91e0445a854af5d34ca0f5baceccd518e73 Merge branch 'core/urgent' elapsed time: 2132m configs tested: 106 configs skipped: 6 The following configs have been built successfully. More confi

[tip:sched/urgent] BUILD SUCCESS e21cf43406a190adfcc4bfe592768066fb3aaa9b

2020-07-03 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/urgent branch HEAD: e21cf43406a190adfcc4bfe592768066fb3aaa9b sched/cfs: change initial value of runnable_avg elapsed time: 7808m configs tested: 133 configs skipped: 11 The following configs have been built s

Re: [PATCH v6 03/10] iommu/mediatek: Use a u32 flags to describe different HW features

2020-07-03 Thread Yingjoe Chen
On Fri, 2020-07-03 at 12:41 +0800, Chao Hao wrote: > Given the fact that we are adding more and more plat_data bool values, > it would make sense to use a u32 flags register and add the appropriate > macro definitions to set and check for a flag present. > No functional change. > > Cc: Yong Wu >

Re: [PATCH v3 3/3] printk: use the lockless ringbuffer

2020-07-03 Thread lijiang
在 2020年07月02日 21:31, Petr Mladek 写道: > On Thu 2020-07-02 17:43:22, lijiang wrote: >> 在 2020年07月02日 17:02, John Ogness 写道: >>> On 2020-07-02, lijiang wrote: About the VMCOREINFO part, I made some tests based on the kernel patch v3, the makedumpfile and crash-utility can work as expected w

Re: [PATCH 1/2] spi: Add the SPI daisy chain support.

2020-07-03 Thread kernel test robot
Hi Adrian, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on spi/for-next] [also build test WARNING on v5.8-rc3 next-20200703] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use as documented in

[tip:x86/urgent] BUILD SUCCESS cced0b24bb545bfe74fea96de84adc23c0146b05

2020-07-03 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/urgent branch HEAD: cced0b24bb545bfe74fea96de84adc23c0146b05 selftests/x86: Consolidate and fix get/set_eflags() helpers elapsed time: 3860m configs tested: 127 configs skipped: 6 The following configs have been bui

KASAN: out-of-bounds Read in csd_lock_record

2020-07-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9e50b94b Add linux-next specific files for 20200703 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1766709710 kernel config: https://syzkaller.appspot.com/x/.config?x=f99cc0faa1476ed6 dashboard

Re: objtool clac/stac handling change..

2020-07-03 Thread Al Viro
On Fri, Jul 03, 2020 at 10:02:37PM +0100, Al Viro wrote: > PS: I'm still going through the _ASM_EXTABLE... users on x86, so there > might be more fun. Will post when I'm done... Lovely... Not directly related to that, but... WTF? arch/x86/lib/csum-copy_64.S: /* * No _ASM_EXTA

Re: KASAN: stack-out-of-bounds Read in csd_lock_record

2020-07-03 Thread syzbot
syzbot has found a reproducer for the following crash on: HEAD commit:9e50b94b Add linux-next specific files for 20200703 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=1224dc8310 kernel config: https://syzkaller.appspot.com/x/.config?x

[PATCH v3] HID: logitech-hidpp: add support for Logitech G533 headset

2020-07-03 Thread Kamil Domański
Changelog: v2: - changed charging status parsing to account for invalid states v3: - rebased against Linux v5.7 - changed variable naming in hidpp20_adc_map_status_voltage to camel case - corrected comment styling in hidpp_battery_get_property - dropped usage of test_bit macro in

Re: [PATCH v2] arm64/module: Optimize module load time by optimizing PLT counting

2020-07-03 Thread Saravana Kannan
On Thu, Jul 2, 2020 at 8:30 AM Ard Biesheuvel wrote: > > On Tue, 23 Jun 2020 at 03:27, Saravana Kannan wrote: > > > > When loading a module, module_frob_arch_sections() tries to figure out > > the number of PLTs that'll be needed to handle all the RELAs. While > > doing this, it tries to dedupe P

[PATCH v3] HID: logitech-hidpp: add support for Logitech G533 headset

2020-07-03 Thread Kamil Domański
Changelog: v2: - changed charging status parsing to account for invalid states v3: - rebased against Linux v5.7 - changed variable naming in hidpp20_adc_map_status_voltage to camel case - corrected comment styling in hidpp_battery_get_property - dropped usage of test_bit macro in

drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c:1513:13: sparse: sparse: incorrect type in assignment (different address spaces)

2020-07-03 Thread kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0c7d7d1fada70420851b63f2e2669cb4976a303b commit: 00d36494dee9e5020250e9bb5afd54362795847e staging: vc04_services: Replace VCHIQ_STATUS_T enum typedef with enum vchiq_status date: 8 months ago config: x86_6

Re: [PATCH 4/7] Documentation: networking: dsa: drop doubled word

2020-07-03 Thread Andrew Lunn
On Fri, Jul 03, 2020 at 03:41:12PM -0700, Randy Dunlap wrote: > Drop the doubled word "in". > > Signed-off-by: Randy Dunlap > Cc: Jonathan Corbet > Cc: linux-...@vger.kernel.org > Cc: "David S. Miller" > Cc: Jakub Kicinski > Cc: net...@vger.kernel.org > Cc: Andrew Lunn > Cc: Vivien Didelot >

Re: [PATCH v2] HID: logitech-hidpp: add support for Logitech G533 headset

2020-07-03 Thread Kamil Domański
Hi Filipe, >> +bool isConnected; >> +bool isCharging; >> +bool chargingComplete; >> +bool chargingFault; > > From my initial comments: > >> We use snake case. Will be fixed in v3. >> + >> +long flags = (long) data[2]; > >> Use u8 instead. Why are we even using a variable f

Re: [PATCH] perf evsel: Don't set sample_regs_intr/sample_regs_user for dummy event

2020-07-03 Thread Jin, Yao
Hi Jiri, On 7/3/2020 7:00 PM, Jiri Olsa wrote: On Fri, Jul 03, 2020 at 08:42:15AM +0800, Jin Yao wrote: Since commit 0a892c1c9472 ("perf record: Add dummy event during system wide synthesis"), a dummy event is added to capture mmaps. But if we run perf-record as, # perf record -e cycles:p

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

2020-07-03 Thread pr-tracker-bot
The pull request you sent on Fri, 3 Jul 2020 15:03:36 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git > hwmon-for-v5.8-rc4 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/6f216714a6906d6d5d0654313d9f9a47613bb473 Thank you! -- Deet-do

Re: [PATCH 09/16] initrd: remove the BLKFLSBUF call in handle_initrd

2020-07-03 Thread antlists
On 03/07/2020 04:40, H. Peter Anvin wrote: On 2020-06-15 05:53, Christoph Hellwig wrote: BLKFLSBUF used to be overloaded for the ramdisk driver to free the whole ramdisk, which was completely different behavior compared to all other drivers. But this magic overload got removed in commit ff26956

Re: [PATCH v3 00/34] iommu: Move iommu_group setup to IOMMU core code

2020-07-03 Thread Qian Cai
On Tue, Jun 30, 2020 at 08:40:28PM -0400, Qian Cai wrote: > On Wed, Apr 29, 2020 at 03:36:38PM +0200, Joerg Roedel wrote: > > Hi, > > > > here is the third version of this patch-set. Older versions can be found > > here: > > > > v1: https://lore.kernel.org/lkml/20200407183742.4344-1-j...@8byt

Re: [PATCH v33 11/21] x86/sgx: Linux Enclave Driver

2020-07-03 Thread Jarkko Sakkinen
On Fri, Jun 26, 2020 at 05:34:00PM +0200, Borislav Petkov wrote: > On Thu, Jun 18, 2020 at 01:08:33AM +0300, Jarkko Sakkinen wrote: > > ... > > This could use some commenting along the lines of: > > "— If the enclave developer requires measurement of the page as a > proof for the content, use EE

Re: [PATCH 00/11] Documentation: userspace-api/media: eliminate duplicated words

2020-07-03 Thread Matthew Wilcox
On Fri, Jul 03, 2020 at 04:55:25PM -0700, Randy Dunlap wrote: > Drop all doubled words in Documenation/userspace-api/media/ files. Reviewed-by: Matthew Wilcox (Oracle) (for the series)

Re: [PATCH] [net/ipv6] Remove redundant null check in ah_mt6

2020-07-03 Thread Pablo Neira Ayuso
Hi Gaurav, On Wed, Jun 24, 2020 at 10:36:25PM -0400, Gaurav Singh wrote: > ah cannot be NULL since its already checked above after > assignment and is being dereferenced before in pr(). > Remove the redundant null check. Could you collapse all your patches into one? They look like the same logic

Re: [PATCH v3 13/16] exit: Factor thread_group_exited out of pidfd_poll

2020-07-03 Thread Alexei Starovoitov
On Fri, Jul 03, 2020 at 04:37:47PM -0500, Eric W. Biederman wrote: > > > The rest all looks good to me. Tested with and without bpf_preload patches. > > Feel free to create a frozen branch with this set. > > Can I have your Tested-by and Acked-by? For the set: Acked-by: Alexei Starovoitov Teste

Re: [PATCH net] net: qed: prevent buffer overflow when collecting debug data

2020-07-03 Thread Alexander Lobakin
From: David Miller Date: Fri, 03 Jul 2020 12:59:33 -0700 (PDT) > From: Alexander Lobakin > Date: Fri, 3 Jul 2020 12:02:58 +0300 > > > When generating debug dump, driver firstly collects all data in binary > > form, and then performs per-feature formatting to human-readable if it > > is supp

[PATCH 08/11] Documentation: userspace-api/media: v4l/selection-api-config: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "in". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/userspace-api/media/v4l/selection-api-configuration.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 06/11] Documentation: userspace-api/media: dvb/video: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "and". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/userspace-api/media/dvb/video.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-2020

[PATCH 10/11] Documentation: userspace-api/media: v4l/vidioc-g-output: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "standard.". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/userspace-api/media/v4l/vidioc-g-output.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 05/11] Documentation: userspace-api/media: dvb/net: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "and". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/userspace-api/media/dvb/net.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-202007

[PATCH 07/11] Documentation: userspace-api/media: dvb/audio: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "Any". Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org --- Documentation/userspace-api/media/v4l/buffer.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-202

  1   2   3   4   5   6   7   8   9   >