[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

[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

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 > > --- > >

[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]: -

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

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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(-) ---

[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

[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(-) ---

[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

[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:

[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

[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

[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

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 *

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(-) ---

[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(-) ---

[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

[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(-) ---

[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 +++

[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 +++

[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(-) ---

[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 +++

[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(-) ---

[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(-) ---

[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(-) ---

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

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

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...

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

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 > > >

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

[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

[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

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

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

[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

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

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

[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:

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

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! --

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

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:

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

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

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

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

[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

[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(-) ---

[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(-) ---

[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(-) ---

[PATCH 11/11] Documentation: userspace-api/media: v4l/vidioc-qbuf: 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/userspace-api/media/v4l/vidioc-qbuf.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 09/11] Documentation: userspace-api/media: v4l/vidioc-g-ext-ctrls: drop doubled word

2020-07-03 Thread Randy Dunlap
Drop the doubled word "controls". 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-ext-ctrls.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH 04/11] Documentation: userspace-api/media: dvb/dmx-qbuf: 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/userspace-api/media/dvb/dmx-qbuf.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 02/11] Documentation: userspace-api/media: dvb/ca: 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/ca.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[PATCH 01/11] Documentation: userspace-api/media: dvb/audio: 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/audio.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

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

2020-07-03 Thread Randy Dunlap
Drop all doubled words in Documenation/userspace-api/media/ files. Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: Mauro Carvalho Chehab Cc: linux-me...@vger.kernel.org Documentation/userspace-api/media/dvb/audio.rst |2 +-

[PATCH 03/11] Documentation: userspace-api/media: dvb/demux: 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/demux.rst |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

My Greetings

2020-07-03 Thread Mrs. Anna H. Bruun
My Dear My Name is Mrs. Anna H. Bruun, from Norway. I know that this message will be a surprise to you. Firstly, I am married to Mr. Patrick Bruun, A gold merchant who owns a small gold Mine in Burkina Faso; He died of Cardiovascular Disease in mid-March 2011. During his life time he deposited

Re: [PATCH net-next v2 0/7] Add devlink-health support for devlink ports

2020-07-03 Thread Jakub Kicinski
On Fri, 3 Jul 2020 06:27:31 +0300 Moshe Shemesh wrote: > Implement support for devlink health reporters on per-port basis. First > part in the series prepares common functions parts for health reporter > implementation. Second introduces required API to devlink-health and > mlx5e ones demonstrate

drivers/dma/at_hdmac.c:941:15: 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: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces date: 2 weeks ago config: arm-randconfig-s031-20200703 (attached

KASAN: stack-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=1024b40510 kernel config: https://syzkaller.appspot.com/x/.config?x=f99cc0faa1476ed6 dashboard

kernel BUG at net/rxrpc/recvmsg.c:LINE!

2020-07-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:aab20039 Add linux-next specific files for 20200701 git tree: linux-next console output: https://syzkaller.appspot.com/x/log.txt?x=17a00a5b10 kernel config: https://syzkaller.appspot.com/x/.config?x=739f6fbf326049f4 dashboard

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

WARNING in rxrpc_recvmsg

2020-07-03 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:cd77006e Merge tag 'hyperv-fixes-signed' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=134c490f10 kernel config: https://syzkaller.appspot.com/x/.config?x=7be693511b29b338

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

2020-07-03 Thread Jarkko Sakkinen
On Fri, Jun 26, 2020 at 04:20:19PM +0200, Borislav Petkov wrote: > On Fri, Jun 26, 2020 at 07:16:27AM -0700, Sean Christopherson wrote: > > That being said, I agree that it would be safer to move > > sgx_calc_ssaframesize() > > inside sgx_validate_secs() and only compute encl_size after the secs

  1   2   3   4   5   6   7   8   9   10   >