Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Jarkko Sakkinen
On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: > 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

Re: [PATCH 5/9] serial: doc: Document .set_ldisc()

2016-03-19 Thread Peter Hurley
On 03/14/2016 08:16 AM, Geert Uytterhoeven wrote: Reviewed-by: Peter Hurley > Signed-off-by: Geert Uytterhoeven > --- > Documentation/serial/driver | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/serial/driver

Re: [PATCH v15 1/3] drm: rockchip: Add basic drm driver

2016-03-19 Thread Tomeu Vizoso
On 15 March 2016 at 02:30, Mark yao wrote: > On 2016年03月14日 21:35, Tomeu Vizoso wrote: >> >> On 2 December 2014 at 10:15, Mark Yao wrote: >>> >>> diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c >>>

Re: [PATCHv9 1/3] rdmacg: Added rdma cgroup controller

2016-03-19 Thread Parav Pandit
Hi Tejun, On Thu, Mar 17, 2016 at 2:10 AM, Tejun Heo wrote: > >> If this is ok. I will keep the code as it is, because it uses common >> helper functions for max and current files. > > Hmmm... can you please try to refactor the common part to helpers? > It's not a big thing but

Re: [PATCH 3/9] serial: doc: Document .throttle()

2016-03-19 Thread Peter Hurley
On 03/14/2016 08:16 AM, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven > --- > Documentation/serial/driver | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/Documentation/serial/driver b/Documentation/serial/driver > index

[PATCH v6 3/4] i2c: i801: add support of Host Notify

2016-03-19 Thread Benjamin Tissoires
The i801 chip can handle the Host Notify feature since ICH 3 as mentioned in http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf Enable the functionality unconditionally and propagate the alert on each notification. With a T440s and a Synaptics touchpad that

[PATCH v5 2/6] module: preserve Elf information for livepatch modules

2016-03-19 Thread Jessica Yu
For livepatch modules, copy Elf section, symbol, and string information from the load_info struct in the module loader. Persist copies of the original symbol table and string table. Livepatch manages its own relocation sections in order to reuse module loader code to write relocations. Livepatch

Re: [PATCH v5 2/6] module: preserve Elf information for livepatch modules

2016-03-19 Thread kbuild test robot
Hi Jessica, [auto build test WARNING on s390/features] [also build test WARNING on v4.5 next-20160316] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH v6 4/4] Input: synaptics-rmi4 - add SMBus support

2016-03-19 Thread Benjamin Tissoires
Code obtained from https://raw.githubusercontent.com/mightybigcar/synaptics-rmi4/jf/drivers/input/rmi4/rmi_smbus.c and updated to match upstream. And fixed to make it work. Signed-off-by: Benjamin Tissoires Signed-off-by: Andrew Duggan ---

Re: [PATCH v5 2/6] module: preserve Elf information for livepatch modules

2016-03-19 Thread kbuild test robot
Hi Jessica, [auto build test WARNING on s390/features] [also build test WARNING on v4.5 next-20160316] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

[PATCH v5 1/6] Elf: add livepatch-specific Elf constants

2016-03-19 Thread Jessica Yu
Livepatch manages its own relocation sections and symbols in order to be able to reuse module loader code to write relocations. This removes livepatch's dependence on separate "dynrela" sections to write relocations and also allows livepatch to patch modules that are not yet loaded. The livepatch

Re: [PATCH v6 1/4] i2c: add a protocol parameter to the alert callback

2016-03-19 Thread Andrew Duggan
On Wed, Mar 16, 2016 at 9:39 AM, Benjamin Tissoires wrote: > .alert() is meant to be generic, but there is currently no way > for the device driver to know which protocol generated the alert. > Add a parameter in .alert() to help the device driver to understand >

Re: [PATCH v6 3/4] i2c: i801: add support of Host Notify

2016-03-19 Thread Andrew Duggan
On Wed, Mar 16, 2016 at 9:39 AM, Benjamin Tissoires wrote: > The i801 chip can handle the Host Notify feature since ICH 3 as mentioned > in > http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf > > Enable the functionality

Re: [PATCH v5 2/6] module: preserve Elf information for livepatch modules

2016-03-19 Thread kbuild test robot
Hi Jessica, [auto build test ERROR on s390/features] [also build test ERROR on v4.5 next-20160316] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url:

Re: [PATCH 5/8] clk: bcm2835: add the dsi clocks

2016-03-19 Thread Eric Anholt
ker...@martin.sperl.org writes: > From: Martin Sperl > > Add the missing dsi clocks using the currently "best known" > parent-mux available for these clocks. Having been working on DSI support, there is definitely no point in DSI0 and DSI1 pixel clocks without their

Re: [RFC PATCH v4 0/7] vfio-pci: Allow to mmap sub-page MMIO BARs and MSI-X table

2016-03-19 Thread Bjorn Helgaas
On Wed, Mar 16, 2016 at 06:51:56PM +0800, Yongji Xie wrote: > > Ping. This is mainly VFIO stuff, and Alex had some security concerns, so I'm not going to spend much time looking at this until he's satisfied. When I do, I'll be looking hard at the resource_alignment kernel parameter. I'm

Re: [PATCH 6/9] serial: doc: .break_ctl() is called with port->mutex() held

2016-03-19 Thread Peter Hurley
On 03/14/2016 08:16 AM, Geert Uytterhoeven wrote: > Note that mutex_lock() should not be called with interrupts disabled. > > Signed-off-by: Geert Uytterhoeven > --- > Documentation/serial/driver | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git

[PATCH v5 6/6] Documentation: livepatch: outline Elf format and requirements for patch modules

2016-03-19 Thread Jessica Yu
Document livepatch module requirements and the special Elf constants patch modules use. Signed-off-by: Jessica Yu --- Documentation/livepatch/module-elf-format.txt | 311 ++ 1 file changed, 311 insertions(+) create mode 100644

[PATCH v5 5/6] samples: livepatch: mark as livepatch module

2016-03-19 Thread Jessica Yu
Mark the module as a livepatch module so that the module loader can appropriately identify and initialize it. Signed-off-by: Jessica Yu --- samples/livepatch/livepatch-sample.c | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/livepatch/livepatch-sample.c

Re: [RFC PATCH v4 3/7] PCI: Ignore resource_alignment if PCI_PROBE_ONLY was set

2016-03-19 Thread Alex Williamson
On Mon, 7 Mar 2016 15:48:34 +0800 Yongji Xie wrote: > The resource_alignment will releases memory resources > allocated by firmware so that kernel can reassign new > resources later on. But this will cause the problem > that no resources can be allocated by kernel if

Re: [RFC PATCH v4 3/7] PCI: Ignore resource_alignment if PCI_PROBE_ONLY was set

2016-03-19 Thread Yongji Xie
On 2016/3/17 0:31, Alex Williamson wrote: On Mon, 7 Mar 2016 15:48:34 +0800 Yongji Xie wrote: The resource_alignment will releases memory resources allocated by firmware so that kernel can reassign new resources later on. But this will cause the problem that no

Re: [PATCH 2/8] clk: bcm2835: add missing PLL clock divider

2016-03-19 Thread Eric Anholt
ker...@martin.sperl.org writes: > From: Martin Sperl > > Add the missing pll clock divider definitions. > > Signed-off-by: Martin Sperl > --- > drivers/clk/bcm/clk-bcm2835.c | 50 > +++ >

[PATCH v5 4/6] livepatch: reuse module loader code to write relocations

2016-03-19 Thread Jessica Yu
Reuse module loader code to write relocations, thereby eliminating the need for architecture specific relocation code in livepatch. Specifically, reuse the apply_relocate_add() function in the module loader to write relocations instead of duplicating functionality in livepatch's arch-dependent

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Jason Gunthorpe
On Wed, Mar 16, 2016 at 02:09:16PM +0200, Jarkko Sakkinen wrote: > On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: > Alternative to this would be to have /dev/vtpmx create: > > * /dev/vtpm0 for the server > * /dev/tpm0 for the client > > This is how David Howell's PoC worked and

Re: [PATCH 2/5] Documentation: update URL for Michael K. Johnson's articles

2016-03-19 Thread Luis de Bethencourt
On 19/03/16 12:51, Luis de Bethencourt wrote: > The URL for "Writing Linux Device Drivers" hasn't been available in some > time. Updating it to the URL of Michael K. Johnson's "Linux Kernel Hackers' > Guide" > > Signed-off-by: Luis de Bethencourt > --- >

[PATCH 5/5] Documentation: update URL for Porting Linux 2.0 Drivers to 2.2

2016-03-19 Thread Luis de Bethencourt
The URL format of Linux Magazine articles has changed. Updating the URL of the "Porting Linux 2.0 Drivers to Linux 2.2" article by Alan Cox. Signed-off-by: Luis de Bethencourt --- Documentation/kernel-docs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [RESEND PATCH v2] ARM64: ACPI: Update documentation for latest specification version

2016-03-19 Thread Catalin Marinas
On Wed, Mar 16, 2016 at 10:20:23AM +0530, Vikas Sajjan wrote: > On Wed, Mar 16, 2016 at 1:58 AM, Al Stone wrote: > > The ACPI 6.1 specification was recently released at the end of January 2016, > > but the arm64 kernel documentation for the use of ACPI was written for the > >

[RFC v2] Documentation: mmc: Add the introduction for mmc-utils

2016-03-19 Thread Baolin Wang
This patch introduces one mmc test tools called mmc-utils, which is convenient if someone wants to exercise and test MMC/SD devices from userspace. Signed-off-by: Baolin Wang --- Documentation/mmc/00-INDEX |2 ++ Documentation/mmc/mmc-tools.txt | 34

Re: [PATCH v15 1/3] drm: rockchip: Add basic drm driver

2016-03-19 Thread Tomeu Vizoso
On 16 March 2016 at 16:23, Tomeu Vizoso wrote: > On 15 March 2016 at 02:30, Mark yao wrote: >> On 2016年03月14日 21:35, Tomeu Vizoso wrote: >>> >>> On 2 December 2014 at 10:15, Mark Yao wrote: diff --git

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-19 Thread Tilman Schmidt
Am 07.03.2016 um 07:57 schrieb Holger Schurig: > I know that in Germany a good amount of land-line telephone line are > still using ISDN. [...] > Especially company line are using ISDN still, and there are some Linux > programs that act on then, e.g. Asterisk and derived PBX software has > ISDN

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Stefan Berger
On 03/16/2016 04:42 PM, Jarkko Sakkinen wrote: On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: + +/* above flags */ +#define VTPM_PROXY_FLAG_TPM2 1 /* emulator is TPM 2 */ + +/* all supported flags */ +#define VTPM_PROXY_FLAGS_ALL (VTPM_PROXY_FLAG_TPM2) This can be moved

Re: [RFC PATCH v4 5/7] vfio-pci: Allow to mmap sub-page MMIO BARs if the mmio page is exclusive

2016-03-19 Thread Yongji Xie
On 2016/3/17 0:30, Alex Williamson wrote: On Mon, 7 Mar 2016 15:48:36 +0800 Yongji Xie wrote: Current vfio-pci implementation disallows to mmap sub-page(size < PAGE_SIZE) MMIO BARs because these BARs' mmio page may be shared with other BARs. But we should allow to

Re: [PATCH 2/8] clk: bcm2835: add missing PLL clock divider

2016-03-19 Thread Eric Anholt
Martin Sperl writes: >> On 17.03.2016, at 17:57, Eric Anholt wrote: >> >> >> These don't exist on the hardware as far as I've been able to find. "I >> found it in a header file somewhere" is not sufficient justification to >> expose it. >> >> I'm

[PATCH v6 0/4] i2c-smbus: add support for HOST NOTIFY

2016-03-19 Thread Benjamin Tissoires
Hi, this is a quick respin of the series with the kbuild test bot fixes and the requested lm90 change. Again, I think applying the RMI4 input driver needs the merge of the input tree in master first, but having reviews on the Host Notify implementation would be good. Cheers, Benjamin Benjamin

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Stefan Berger
On 03/16/2016 08:09 AM, Jarkko Sakkinen wrote: On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: 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

Re: [PATCH 3/8] clk: bcm2835: add missing osc and per clocks

2016-03-19 Thread Eric Anholt
ker...@martin.sperl.org writes: > From: Martin Sperl > > Add definitions for the following clocks: > * AVE0 > * DFT > * GP0 > * GP1 > * GP2 > * PULSE > * SLIM > * SMI > * TEC > > Signed-off-by: Martin Sperl > --- > drivers/clk/bcm/clk-bcm2835.c

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Jarkko Sakkinen
On Wed, Mar 16, 2016 at 11:49:04AM -0600, Jason Gunthorpe wrote: > On Wed, Mar 16, 2016 at 02:09:16PM +0200, Jarkko Sakkinen wrote: > > On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: > > > Alternative to this would be to have /dev/vtpmx create: > > > > * /dev/vtpm0 for the server

Re: [PATCH v3] can: rcar_canfd: Add Renesas R-Car CAN FD driver

2016-03-19 Thread Rob Herring
On Tue, Mar 15, 2016 at 09:48:14AM +, Ramesh Shanmugasundaram wrote: > This patch adds support for the CAN FD controller found in Renesas R-Car > SoCs. The controller operates in CAN FD only mode by default. > > CAN FD mode supports both Classical CAN & CAN FD frame formats. The > controller

[PATCH v5 0/6] (mostly) Arch-independent livepatch

2016-03-19 Thread Jessica Yu
This patchset removes livepatch's need for architecture-specific relocation code by leveraging existing code in the module loader to perform arch-dependent work. Specifically, instead of duplicating code and re-implementing what the apply_relocate_add() function in the module loader already does

Re: [PATCH v6 1/4] i2c: add a protocol parameter to the alert callback

2016-03-19 Thread Guenter Roeck
On Wed, Mar 16, 2016 at 05:39:05PM +0100, Benjamin Tissoires wrote: > .alert() is meant to be generic, but there is currently no way > for the device driver to know which protocol generated the alert. > Add a parameter in .alert() to help the device driver to understand > what is given in data. >