Re: [PATCH] Documentation: dmaengine: clean up description of dmatest usage

2019-07-04 Thread Vinod Koul
On 24-06-19, 18:35, Hook, Gary wrote: > Fix the formatting of the multi-channel test usage example. Call out > the note about parameter ordering and add detail on the settings of > parameters for the new version of dmatest. Applied, thanks -- ~Vinod

RE: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-04 Thread Thirupathaiah Annapureddy
> -Original Message- > From: Ilias Apalodimas > Sent: Thursday, July 4, 2019 11:11 AM > To: Thirupathaiah Annapureddy > Cc: Jarkko Sakkinen ; Sasha Levin > ; peterhu...@gmx.de; j...@ziepe.ca; cor...@lwn.net; linux- > ker...@vger.kernel.org; linux-doc@vger.kernel.org; linux- > integr...

[RFC PATCH] string.h: Add stracpy/stracpy_pad (was: Re: [PATCH] checkpatch: Added warnings in favor of strscpy().)

2019-07-04 Thread Joe Perches
On Thu, 2019-07-04 at 13:46 -0700, Joe Perches wrote: > On Thu, 2019-07-04 at 11:24 +0530, Nitin Gote wrote: > > Added warnings in checkpatch.pl script to : > > > > 1. Deprecate strcpy() in favor of strscpy(). > > 2. Deprecate strlcpy() in favor of strscpy(). > > 3. Deprecate strncpy() in favor of

Re: [PATCH] docs: packing: move it to core-api book and adjust markups

2019-07-04 Thread Vladimir Oltean
On Sat, 29 Jun 2019 at 13:37, Mauro Carvalho Chehab wrote: > > The packing.txt file was misplaced, as docs should be part of > a documentation book, and not at the root dir. > > So, move it to the core-api directory and add to its index. > > Also, ensure that the file will be properly parsed and t

Re: [PATCH] checkpatch: Added warnings in favor of strscpy().

2019-07-04 Thread Joe Perches
On Thu, 2019-07-04 at 11:24 +0530, Nitin Gote wrote: > Added warnings in checkpatch.pl script to : > > 1. Deprecate strcpy() in favor of strscpy(). > 2. Deprecate strlcpy() in favor of strscpy(). > 3. Deprecate strncpy() in favor of strscpy() or strscpy_pad(). > > Updated strncpy() section in Doc

Re: [RFC PATCH] binfmt_elf: Extract .note.gnu.property from an ELF file

2019-07-04 Thread Pavel Machek
Hi! > > +static int scan(u8 *buf, u32 buf_size, int item_size, test_item_fn > > test_item, > > + next_item_fn next_item, u32 *arg, u32 type, u32 *pos) > > +{ > > + int found = 0; > > + u8 *p, *max; > > + > > + max = buf + buf_size; > > + if (max < buf) > > +

[PATCH] Documentation: input: Add HID gadget driver's docs to Input subsystem

2019-07-04 Thread Shreeya Patel
Convert gadget_hid file to ReST format, in order to allow it to be parsed by Sphinx. Also move the file in the Input subsystem documentation so as to put it in the right place. Signed-off-by: Shreeya Patel --- .../devices/gadget_hid.rst}| 14 -- 1 file changed

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-04 Thread Ilias Apalodimas
Hi Thirupathaiah, [...] > > > > > I managed to do some quick testing in QEMU. > > > > > Everything works fine when i build this as a module (using IBM's TPM > > > > > 2.0 > > > > > TSS) > > > > > > > > > > - As module > > > > > # insmod > > > > > /lib/modules/5.2.0-rc1/kernel/drivers/char/tpm/tpm

[PATCH v2 0/3] x86/boot: Introduce the kernel_info et consortes

2019-07-04 Thread Daniel Kiper
Hi, Due to very limited space in the setup_header this patch series introduces new kernel_info struct which will be used to convey information from the kernel to the bootloader. This way the boot protocol can be extended regardless of the setup_header limitations. Additionally, the patch series in

[PATCH v2 2/3] x86/boot: Introduce the setup_indirect

2019-07-04 Thread Daniel Kiper
The setup_data is a bit awkward to use for extremely large data objects, both because the setup_data header has to be adjacent to the data object and because it has a 32-bit length field. However, it is important that intermediate stages of the boot process have a way to identify which chunks of me

[PATCH v2 1/3] x86/boot: Introduce the kernel_info

2019-07-04 Thread Daniel Kiper
The relationships between the headers are analogous to the various data sections: setup_header = .data boot_params/setup_data = .bss What is missing from the above list? That's right: kernel_info = .rodata We have been (ab)using .data for things that could go into .rodata or .bss for a lo

[PATCH v2 3/3] x86/boot: Introduce the kernel_info.setup_type_max

2019-07-04 Thread Daniel Kiper
This field contains maximal allowed type for setup_data and setup_indirect structs. And finally bump setup_header version in arch/x86/boot/header.S. Suggested-by: H. Peter Anvin Signed-off-by: Daniel Kiper Reviewed-by: Ross Philipson Reviewed-by: Eric Snowberg --- Documentation/x86/boot.rst

Re: [PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-07-04 Thread Wu Hao
On Thu, Jul 04, 2019 at 01:04:49PM +0200, Greg KH wrote: > On Thu, Jul 04, 2019 at 04:58:55PM +0800, Wu Hao wrote: > > > > Hope things could be more clear now. :) > > > > > > That's nice for the vfio stuff, but you are just a "normal" driver here. > > > You want an ioctl that just does one thing,

Re: [PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-07-04 Thread Greg KH
On Thu, Jul 04, 2019 at 04:58:55PM +0800, Wu Hao wrote: > > > Hope things could be more clear now. :) > > > > That's nice for the vfio stuff, but you are just a "normal" driver here. > > You want an ioctl that just does one thing, no arguments, no flags, no > > anything. No need for a size argume

Re: [PATCH v7 1/2] fTPM: firmware TPM running in TEE

2019-07-04 Thread Jarkko Sakkinen
On Sat, 2019-06-29 at 11:01 -0400, Sasha Levin wrote: > On Thu, Jun 27, 2019 at 02:31:35AM +0300, Jarkko Sakkinen wrote: > > On Tue, 2019-06-25 at 16:13 -0400, Sasha Levin wrote: > > > +static const uuid_t ftpm_ta_uuid = > > > + UUID_INIT(0xBC50D971, 0xD4C9, 0x42C4, > > > + 0x82, 0xCB, 0x

Re: [PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-07-04 Thread Wu Hao
On Thu, Jul 04, 2019 at 10:20:13AM +0200, Greg KH wrote: > On Thu, Jul 04, 2019 at 02:31:06PM +0800, Wu Hao wrote: > > On Thu, Jul 04, 2019 at 07:39:27AM +0200, Greg KH wrote: > > > On Thu, Jul 04, 2019 at 07:30:58AM +0800, Wu Hao wrote: > > > > On Wed, Jul 03, 2019 at 08:07:53PM +0200, Greg KH wro

Re: [PATCH 05/15] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-07-04 Thread Wu Hao
On Thu, Jul 04, 2019 at 10:17:13AM +0200, Greg KH wrote: > On Thu, Jul 04, 2019 at 02:42:08PM +0800, Wu Hao wrote: > > On Thu, Jul 04, 2019 at 07:37:19AM +0200, Greg KH wrote: > > > On Thu, Jul 04, 2019 at 07:38:22AM +0800, Wu Hao wrote: > > > > On Wed, Jul 03, 2019 at 07:59:26PM +0200, Greg KH wro

Re: [PATCH 06/15] fpga: dfl: fme: add DFL_FPGA_FME_PORT_RELEASE/ASSIGN ioctl support.

2019-07-04 Thread Greg KH
On Thu, Jul 04, 2019 at 02:31:06PM +0800, Wu Hao wrote: > On Thu, Jul 04, 2019 at 07:39:27AM +0200, Greg KH wrote: > > On Thu, Jul 04, 2019 at 07:30:58AM +0800, Wu Hao wrote: > > > On Wed, Jul 03, 2019 at 08:07:53PM +0200, Greg KH wrote: > > > > On Thu, Jun 27, 2019 at 05:49:42PM -0700, Moritz Fisc

Re: [PATCH 05/15] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-07-04 Thread Greg KH
On Thu, Jul 04, 2019 at 02:42:08PM +0800, Wu Hao wrote: > On Thu, Jul 04, 2019 at 07:37:19AM +0200, Greg KH wrote: > > On Thu, Jul 04, 2019 at 07:38:22AM +0800, Wu Hao wrote: > > > On Wed, Jul 03, 2019 at 07:59:26PM +0200, Greg KH wrote: > > > > On Thu, Jun 27, 2019 at 05:49:41PM -0700, Moritz Fisc

Re: [PATCH] mm, slab: Extend slab/shrink to shrink all the memcg caches

2019-07-04 Thread Michal Hocko
On Wed 03-07-19 12:16:09, Waiman Long wrote: > On 7/3/19 11:53 AM, Michal Hocko wrote: > > On Wed 03-07-19 11:21:16, Waiman Long wrote: > >> On 7/2/19 5:33 PM, Andrew Morton wrote: > >>> On Tue, 2 Jul 2019 16:44:24 -0400 Waiman Long wrote: > >>> > On 7/2/19 4:03 PM, Andrew Morton wrote: > >>>

Re: [PATCH] Documentation: gpio: Fix reference to gpiod_get_array()

2019-07-04 Thread Linus Walleij
On Mon, Jul 1, 2019 at 4:10 PM Geert Uytterhoeven wrote: > The function is called gpiod_get_array(), not gpiod_array_get(). > > Fixes: 77588c14ac868cae ("gpiolib: Pass array info to get/set array > functions") > Signed-off-by: Geert Uytterhoeven Patch applied. Yours, Linus Walleij