Re: [PATCH] bpf: doc: "neg" opcode has no operands

2016-03-29 Thread Daniel Borkmann
On 03/28/2016 11:56 PM, Kees Cook wrote: From: Dave Anderson Fixes a copy-paste-o in the BPF opcode table: "neg" takes no arguments and thus has no addressing modes. Signed-off-by: Dave Anderson Signed-off-by: Kees Cook Acked-by: Daniel Borkmann -- To unsubscribe from this list: send the

Re: [PATCHv3 9/9] ARM: dts: Add Altera Arria10 L2 Cache EDAC devicetree entry

2016-03-29 Thread Borislav Petkov
On Mon, Mar 21, 2016 at 11:01:46AM -0500, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the device tree entries needed to support the Altera L2 > cache EDAC on the Arria10 chip. > > Signed-off-by: Thor Thayer > --- > v2 Match register value (l2-ecc@ffd06010) > v3 Set ecc_mana

[PATCH] ARM: kexec: fix crashkernel= handling

2016-03-29 Thread Russell King
When the kernel crashkernel parameter is specified with just a size, we are supposed to allocate a region from RAM to store the crashkernel. However, ARM merely reserves physical address zero with no checking that there is even RAM there. Fix this by lifting similar code from x86, importing it to

Re: [PATCH] Documentation/IRQ-domain.txt: Document irq_domain_create_{linear, tree}

2016-03-29 Thread Marc Zyngier
On 27/03/16 04:51, Jianyu Zhan wrote: > They have the same functionalities as irq_domain_add_{linear, tree}, > except fro accepting different first argument. > > Signed-off-by: Jianyu Zhan > --- > v1->v2: >Fix spelling error. > > Documentation/IRQ-domain.txt | 12 > 1 file chan

Re: [PATCHv3 9/9] ARM: dts: Add Altera Arria10 L2 Cache EDAC devicetree entry

2016-03-29 Thread Dinh Nguyen
Hi Boris, On Tue, Mar 29, 2016 at 3:45 AM, Borislav Petkov wrote: > On Mon, Mar 21, 2016 at 11:01:46AM -0500, ttha...@opensource.altera.com wrote: >> From: Thor Thayer >> >> Add the device tree entries needed to support the Altera L2 >> cache EDAC on the Arria10 chip. >> >> Signed-off-by: Thor

Re: [PATCHv3 9/9] ARM: dts: Add Altera Arria10 L2 Cache EDAC devicetree entry

2016-03-29 Thread Borislav Petkov
On Tue, Mar 29, 2016 at 07:15:38AM -0500, Dinh Nguyen wrote: > If you don't mind, I can take this patch. This will prevent merge > conflicts in the > DTS board files. Fine with me as long as people don't start complaining if they start testing my for-next branch and realize that the Arria10 suppor

Re: [v8,09/10] tpm: Initialize TPM and get durations and timeoutsg

2016-03-29 Thread Jarkko Sakkinen
On Tue, Mar 22, 2016 at 06:54:30AM -0400, Stefan Berger wrote: > On 03/22/2016 02:34 AM, Jarkko Sakkinen wrote: > >On Sun, Mar 13, 2016 at 06:54:39PM -0400, Stefan Berger wrote: > >>Add the retrieval of TPM 1.2 durations and timeouts. Since this requires > >>the startup of the TPM, do this for TPM

Re: [PATCHv3 9/9] ARM: dts: Add Altera Arria10 L2 Cache EDAC devicetree entry

2016-03-29 Thread Dinh Nguyen
On Tue, Mar 29, 2016 at 9:00 AM, Borislav Petkov wrote: > Fine with me as long as people don't start complaining if they start > testing my for-next branch and realize that the Arria10 support is not > complete. > > Unless they test linux-next where your tree is too, I assume. > Yes, I take the p

Re: [v8,09/10] tpm: Initialize TPM and get durations and timeoutsg

2016-03-29 Thread Stefan Berger
On 03/29/2016 11:31 AM, Jarkko Sakkinen wrote: On Tue, Mar 22, 2016 at 06:54:30AM -0400, Stefan Berger wrote: On 03/22/2016 02:34 AM, Jarkko Sakkinen wrote: On Sun, Mar 13, 2016 at 06:54:39PM -0400, Stefan Berger wrote: Add the retrieval of TPM 1.2 durations and timeouts. Since this requires t

[PATCH v9 2/4] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-29 Thread Stefan Berger
This patch implements a proxy driver for supporting multiple emulated TPMs in a system. The driver implements a device /dev/vtpmx that is used to created a client device pair /dev/tpmX (e.g., /dev/tpm10) and a server side that is accessed using a file descriptor returned by an ioctl. The device /d

[PATCH v9 3/4] tpm: Initialize TPM and get durations and timeouts

2016-03-29 Thread Stefan Berger
Add the retrieval of TPM 1.2 durations and timeouts. Since this requires the startup of the TPM, do this for TPM 1.2 and TPM 2. Signed-off-by: Stefan Berger CC: linux-ker...@vger.kernel.org CC: linux-doc@vger.kernel.org CC: linux-...@vger.kernel.org --- drivers/char/tpm/tpm_vtpm_proxy.c | 96 +++

[PATCH v9 4/4] tpm: Add documentation for the tpm_vtpm device driver

2016-03-29 Thread Stefan Berger
Add documentation for the tpm_vtpm device driver that implements support for providing TPM functionality to Linux containers. Parts of this documentation were recycled from the Xen vTPM device driver documentation. Update the documentation for the ioctl numbers. Signed-off-by: Stefan Berger CC:

Re: (mostly) Arch-independent livepatch

2016-03-29 Thread Jessica Yu
+++ Jessica Yu [22/03/16 20:03 -0400]: Patches based on linux-next. Previous patchset (v5) found here: http://lkml.kernel.org/g/1458157628-8264-1-git-send-email-j...@redhat.com v6: - Since we hard-code the field widths for the objname and symbol name for the sscanf() calls, which are suppose

Re: (mostly) Arch-independent livepatch

2016-03-29 Thread Jiri Kosina
On Tue, 29 Mar 2016, Jessica Yu wrote: > > v6: > > - Since we hard-code the field widths for the objname and symbol name > > for the sscanf() calls, which are supposed to correspond to the values > > of MODULE_NAME_LEN and KSYM_NAME_LEN, use BUILD_BUG_ON() to detect when > > the values of th

Re: [PATCH] ARM: kexec: fix crashkernel= handling

2016-03-29 Thread Dave Young
Hi, Russell A long standing issue, but nobody tried to do it. Thank you for bringing up. On 03/29/16 at 11:10am, Russell King wrote: > When the kernel crashkernel parameter is specified with just a size, we > are supposed to allocate a region from RAM to store the crashkernel. > However, ARM mere