On Wed, Feb 24, 2016 at 09:34:11PM +0300, Yury Norov wrote:
> Signed-off-by: Yury Norov
> ---
> arch/Kconfig | 4
> arch/s390/Kconfig | 1 +
> 2 files changed, 5 insertions(+)
>
> diff --git a/arch/Kconfig b/arch/Kconfig
> index f6b649d..6393093 100644
> --- a/arch/Kconfig
> +++ b/arch
On Wed, Feb 24, 2016 at 09:34:12PM +0300, Yury Norov wrote:
> diff --git a/include/linux/syscalls_structs.h
> b/include/linux/syscalls_structs.h
> new file mode 100644
> index 000..a920cbc
> --- /dev/null
> +++ b/include/linux/syscalls_structs.h
> @@ -0,0 +1,60 @@
> +#ifndef _LINUX_SYSCALL_STR
On Wed, Feb 24, 2016 at 09:34:13PM +0300, Yury Norov wrote:
> Some syscalls are declared conditionally, so corresponding wrappers
> are conditional accordingly.
>
> Signed-off-by: Yury Norov
> ---
> arch/s390/kernel/Makefile | 2 +-
> arch/s390/kernel/compat_wrapper.c | 129 ---
On Wed, Feb 24, 2016 at 09:34:09PM +0300, Yury Norov wrote:
> The problem that makes us use wrappers is that some compat
> architectures allows user code to access top halves of registers.
> This is not a problem for syscalls that are already handled by compat
> code, or for that who has types of t
On Wed 2016-02-24 14:31:33, Johannes Berg wrote:
> On Wed, 2016-02-24 at 13:14 +0100, Pavel Machek wrote:
> >
> > Why would it need to? It could look at default triggers for the led
> > if it really wanted to.
>
> And then it needs to change them; if anything goes wrong error recovery
> is practi
Some minor typos:
- make is unbindable -> make it unbindable
- a underlying -> an underlying
- different version -> different versions
Cc: Jonathan Corbet
Signed-off-by: Javi Merino
---
Documentation/filesystems/sharedsubtree.txt | 8
1 file changed, 4 insertions(+), 4 deletions
Hi,
On Wed, Feb 24, 2016 at 06:45:36PM +0530, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration.
>
> Signed-off-by: Laxman Dewangan
> Cc: Mika Westerberg
> Cc: Heikki Krogerus
> ---
> drivers/pinctrl/intel/pinctrl-cherryview.c | 4 ++--
> 1 file changed, 2 inse
On Wed, Feb 24, 2016 at 06:45:37PM +0530, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration.
>
> Signed-off-by: Laxman Dewangan
> Cc: Mika Westerberg
> Cc: Heikki Krogerus
> ---
> drivers/pinctrl/intel/pinctrl-intel.c | 4 ++--
> 1 file changed, 2 insertions(+),
On 24/02/2016 18:16, Parav Pandit wrote:
>>> + struct rdmacg_resource_pool *rpool;
>>> + struct rdmacg_pool_info *pool_info = &device->pool_info;
>>> +
>>> + spin_lock(&cg->rpool_list_lock);
>>> + rpool = find_cg_rpool_locked(cg, device);
>> Is it possible for rpool to be NULL?
>>
>
On Tue, Feb 23, 2016 at 4:15 PM, Laxman Dewangan wrote:
> I have made the repo in git hub as
> https://github.com/ldewangan/linux-upstream.git
Awesome.
> branch name is devm_gpiochip.
> https://github.com/ldewangan/linux-upstream/tree/devm_gpiochip
I've pulled this branch into my tree
On Thu, Feb 25, 2016 at 5:33 PM, Haggai Eran wrote:
+retry:
+ spin_lock(&cg->rpool_list_lock);
+ rpool = find_cg_rpool_locked(cg, device);
+ if (!rpool) {
+ spin_unlock(&cg->rpool_list_lock);
+ ret = alloc_cg_rpool(cg, device);
2016-02-24 14:15 GMT+01:00 Laxman Dewangan :
> Use devm_pinctrl_register() for pin control registration.
>
> Signed-off-by: Laxman Dewangan
> Cc: Maxime Coquelin
> Cc: Patrice Chotard
> ---
> drivers/pinctrl/stm32/pinctrl-stm32.c | 7 ---
> 1 file changed, 4 insertions(+), 3 deletions(-)
A
On Wed, Feb 24, 2016 at 2:15 PM, Laxman Dewangan wrote:
> Add resource manageemnt APIs fro pinctrl_register() and pinctrl_unregister()
> and use these new APIs on hw driver to reduce the error path code and
> remove callback for driver.
As you can probably guess I like this too, so wait a while,
On 24/02/2016 14:16, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration.
>
> Signed-off-by: Laxman Dewangan
Acked-by: John Crispin
> ---
> drivers/pinctrl/pinctrl-lantiq.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pin
> Can we call kfree() with spin_lock held? All these years I tend to
> avoid doing so.
Also it doesn't look correct to hold the lock while freeing the memory
which is totally unrelated to the lock.
With that I think current code appears ok with exception that its
duplicated at two place for code re
On 25/02/2016 15:34, Parav Pandit wrote:
> On Thu, Feb 25, 2016 at 5:33 PM, Haggai Eran wrote:
> +retry:
> + spin_lock(&cg->rpool_list_lock);
> + rpool = find_cg_rpool_locked(cg, device);
> + if (!rpool) {
> + spin_unlock(&cg->rpool_list_lock);
> +
On 25/02/2016 16:26, Parav Pandit wrote:
>> Can we call kfree() with spin_lock held? All these years I tend to
>> avoid doing so.
> Also it doesn't look correct to hold the lock while freeing the memory
> which is totally unrelated to the lock.
> With that I think current code appears ok with excep
Hi Laxman,
Am Mittwoch, den 24.02.2016, 18:45 +0530 schrieb Laxman Dewangan:
> Add device managed APIs devm_pinctrl_register() and
> devm_pinctrl_unregister() for the APIs pinctrl_register()
> and pinctrl_unregister().
>
> This helps in reducing code in error path and sometimes
> removal of .remo
Am Mittwoch, den 24.02.2016, 18:45 +0530 schrieb Laxman Dewangan:
> Use devm_pinctrl_register() for pin control registration and remove
> need of .remove callback.
>
> Signed-off-by: Laxman Dewangan
> Cc: Shawn Guo
> Cc: Stefan Agner
> Cc: Adrian Alonso
> Cc: Uwe Kleine-König
[...]
Reviewed-
On Thu, Feb 25, 2016 at 8:00 AM, Gabor Juhos wrote:
> The 'dev_id' parameter of the GPIO_LOOKUP{,_IDX} macros were removed by
> commit ad824783fb23 ("gpio: better lookup method for platform GPIOs").
>
> Update the documentation to reflect that.
>
> Signed-off-by: Gabor Juhos
Patch applied.
You
On Thu, Feb 25, 2016 at 09:49:43AM +0100, Heiko Carstens wrote:
> On Wed, Feb 24, 2016 at 09:34:11PM +0300, Yury Norov wrote:
> > Signed-off-by: Yury Norov
> > ---
> > arch/Kconfig | 4
> > arch/s390/Kconfig | 1 +
> > 2 files changed, 5 insertions(+)
> >
> > diff --git a/arch/Kconfig
On Thu, Feb 25, 2016 at 09:51:40AM +0100, Heiko Carstens wrote:
> On Wed, Feb 24, 2016 at 09:34:12PM +0300, Yury Norov wrote:
> > diff --git a/include/linux/syscalls_structs.h
> > b/include/linux/syscalls_structs.h
> > new file mode 100644
> > index 000..a920cbc
> > --- /dev/null
> > +++ b/inc
On Wed, Feb 24, 2016 at 09:34:13PM +0300, Yury Norov wrote:
[...]
> +COMPAT_SYSCALL_WRAP3(bpf, int, cmd, union bpf_attr *, attr, unsigned int,
> size);
> +COMPAT_SYSCALL_WRAP3(s390_pci_mmio_write, const unsigned long, mmio_addr,
> const void __user *, user_buffer, const size_t, length);
> +COMP
On 02/24/2016 06:16 AM, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration.
>
> Signed-off-by: Laxman Dewangan
Reviewed-by: Joshua Henderson
Thanks,
Josh
> ---
> drivers/pinctrl/pinctrl-pic32.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff
Hello, Kazimierz.
On Wed, Feb 24, 2016 at 12:53:13PM +0100, Kazimierz Krosman wrote:
> 1. kmsg device does not require maintenance by reader process side.
> Multiple writers can write to a device and new records overwrite logs saved
> earlier.
> When system crashes logs can be restored with pstor
On Thu, Feb 25, 2016 at 11:19:26PM +0300, Yury Norov wrote:
> On Thu, Feb 25, 2016 at 09:49:43AM +0100, Heiko Carstens wrote:
> > On Wed, Feb 24, 2016 at 09:34:11PM +0300, Yury Norov wrote:
> > > Signed-off-by: Yury Norov
> > > ---
> > > arch/Kconfig | 4
> > > arch/s390/Kconfig | 1 +
>
On Thu, Feb 25, 2016 at 11:23:50PM +0300, Yury Norov wrote:
> On Thu, Feb 25, 2016 at 09:51:40AM +0100, Heiko Carstens wrote:
> > On Wed, Feb 24, 2016 at 09:34:12PM +0300, Yury Norov wrote:
> > > diff --git a/include/linux/syscalls_structs.h
> > > b/include/linux/syscalls_structs.h
> > > new file
New bindings document for FPGA Region to support programming
FPGA's under Device Tree control
Signed-off-by: Alan Tull
Signed-off-by: Moritz Fischer
---
v9: initial version added to this patchset
v10: s/fpga/FPGA/g
replace DT overlay example with slightly more complicated example
move
v17 has a rewrite of devicetree/bindings/fpga/fpga-region.txt for clarity
and uses the overlay notifications that I've introduced and are being
discussed.
I'm mostly submitting to see if the bindings are looking acceptable-ish.
The bridge has been stable a long time. I hope that can go in also.
Add bindings documentation for Altera SOCFPGA bridges:
* fpga2sdram
* fpga2hps
* hps2fpga
* lwhps2fpga
Signed-off-by: Alan Tull
Signed-off-by: Matthew Gerlach
Signed-off-by: Dinh Nguyen
---
v2: separate into 2 documents for the 2 drivers
v12: bump version to line up with simple-fpga-bus ve
This framework adds API functions for enabling/
disabling FPGA bridges under kernel control.
This allows the Linux kernel to disable FPGA bridges
during FPGA reprogramming and to enable FPGA bridges
when FPGA reprogramming is done. This framework is
be manufacturer-agnostic, allowing it to be use
Add documentation for new FPGA bridge class's sysfs interface.
Signed-off-by: Alan Tull
--
v15: Document added in v15 of patch set
v16: No change to this patch in v16 of patch set
v17: No change to this patch in v17 of patch set
---
Documentation/ABI/testing/sysfs-class-fpga-bridge | 11 ++
FPGA Regions support programming FPGA under control of the Device
Tree.
Signed-off-by: Alan Tull
---
v9: initial version (this patch added during rest of patchset's v9)
v10: request deferral if fpga mgr or bridges not available yet
cleanup as fpga manager core goes into the real kernel
Supports Altera SOCFPGA bridges:
* fpga2sdram
* fpga2hps
* hps2fpga
* lwhps2fpga
Allows enabling/disabling the bridges through the FPGA
Bridge Framework API functions.
The fpga2sdram driver only supports enabling and disabling
of the ports that been configured early on. This is due to
a hard
On 25 February 2016 at 10:21, Xinliang Liu wrote:
> On 24 February 2016 at 02:37, Mark Rutland wrote:
> Hi Mark, thanks for review.
>
>> On Tue, Feb 23, 2016 at 11:00:21AM +0800, Xinliang Liu wrote:
>>> Add ADE display controller binding doc.
>>> Add DesignWare DSI Host Controller v1.20a binding
On Wed, 2016-02-24 at 18:46:15 +0530, Laxman Dewangan wrote:
> Use devm_pinctrl_register() for pin control registration and
> remove the need of .remove callback.
>
> Signed-off-by: Laxman Dewangan
> Cc: Michal Simek
> Cc: Sören Brinkmann
> Cc: linux-g...@vger.kernel.org
> Cc: linux-arm-ker...@
36 matches
Mail list logo