Re: [RFC PATCH] PPC: KVM: vfio kvm device: support spapr tce

2013-10-04 Thread Alexey Kardashevskiy
On 10/05/2013 11:52 AM, Alexey Kardashevskiy wrote: > On 05.10.2013 2:05, Alex Williamson wrote: >> On Fri, 2013-10-04 at 22:24 +1000, Alexey Kardashevskiy wrote: >>> This is a very rough change set required for ppc64 to use this KVM device. >>> >>> vfio_rm.c is a piece of code which is going to be

Re: [PATCH 6/9][v5] powerpc/perf: Define big-endian version of perf_mem_data_src

2013-10-04 Thread Sukadev Bhattiprolu
Michael Ellerman [mich...@ellerman.id.au] wrote: | On Tue, Oct 01, 2013 at 05:15:07PM -0700, Sukadev Bhattiprolu wrote: | > perf_mem_data_src is an union that is initialized via the ->val field | > and accessed via the bitmap fields. For this to work on big endian | > platforms, we also need a big-

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-04 Thread H. Peter Anvin
Every FPGA toolchain I know of has a way to emit JAM/STAPL bytecode files... and a fair number of programming scenarios need them. Jason Gunthorpe wrote: >On Fri, Oct 04, 2013 at 04:33:41PM -0700, Greg Kroah-Hartman wrote: > >> > I agree that the firmware interface makes sense when the use of th

[PATCH] ARM: gemini: remove obsolete IRQF_DISABLED

2013-10-04 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- arch/arm/mach-gemini/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-gemini/time.c b/arch/arm/m

[PATCH] net: hamradio/scc: remove deprecated IRQF_DISABLED

2013-10-04 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/net/hamradio/scc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hamradio/scc.c b/drivers/net/

[PATCH] net: hamradio/yam: remove deprecated IRQF_DISABLED

2013-10-04 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/net/hamradio/yam.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/hamradio/yam.c b/drivers/net/

[PATCH] irda: remove deprecated IRQF_DISABLED

2013-10-04 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/net/irda/bfin_sir.c | 4 ++-- drivers/net/irda/donauboe.c | 4 ++-- drivers/net/irda/sh_irda.c | 2 +- drivers/net/irda/sh_sir.

[PATCH] net: wan: remove deprecated IRQF_DISABLED

2013-10-04 Thread Michael Opdenacker
This patch proposes to remove the use of the IRQF_DISABLED flag It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker --- drivers/net/wan/hostess_sv11.c | 2 +- drivers/net/wan/sealevel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --g

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-04 Thread Jason Gunthorpe
On Fri, Oct 04, 2013 at 09:00:28PM -0700, H. Peter Anvin wrote: > Every FPGA toolchain I know of has a way to emit JAM/STAPL bytecode > files... and a fair number of programming scenarios need them. Yes, but now you are talking about JTAG. JTAG is a very different problem than configuring over t

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-04 Thread H. Peter Anvin
I do it all the time. JAM/STAPL seems to me to be more used for exotic connections to serial flash for persistent programming. Jason Gunthorpe wrote: >On Fri, Oct 04, 2013 at 09:00:28PM -0700, H. Peter Anvin wrote: > >> Every FPGA toolchain I know of has a way to emit JAM/STAPL bytecode >> file

[PATCH] kernel/exit.c: call read_unlock() when failure occurs after already called read_lock() in do_wait().

2013-10-04 Thread Chen Gang
If failure occurs after called read_lock(), need call read_unlock() too. It can fail in multiple position, so add new tag 'fail_lock' for it (also can let 'if' only content one jump statement). Signed-off-by: Chen Gang --- kernel/exit.c |8 ++-- 1 files changed, 6 insertions(+), 2 dele

Re: [PATCH v2 3/3] i2c: xilinx: Use devm_* functions

2013-10-04 Thread Wolfram Sang
> > First register the handler, then activate interrupts. You are right, > > this needs to be fixed, too. > > Do you want me to create separate patch just about moving request irq in > front of > xiic_reinit()? And then devm_ conversion? Yes, seperate, please. signature.asc Description: Digi

Re: lustre: why does cfs_get_random_bytes() exist?

2013-10-04 Thread Dilger, Andreas
On 2013/10/03 5:45 PM, "Theodore Ts'o" wrote: >On Thu, Oct 03, 2013 at 11:06:58PM +, Dilger, Andreas wrote: >> >> The Lustre cfs_get_random_bytes() incorporates (via cfs_rand()) a seed >> which also hashes in the addresses from any network interfaces that are >> configured. >> Conversely, cfs

Re: [PATCH 10/26] lustre: Convert ll_get_user_pages() to use get_user_pages_fast()

2013-10-04 Thread Dilger, Andreas
On 2013/10/02 8:27 AM, "Jan Kara" wrote: >CC: Greg Kroah-Hartman >CC: Peng Tao >CC: Andreas Dilger >CC: hpdd-disc...@lists.01.org >Signed-off-by: Jan Kara Acked-by: Andreas Dilger >--- > drivers/staging/lustre/lustre/llite/rw26.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-)

Re: [PATCH] kernel/exit.c: call read_unlock() when failure occurs after already called read_lock() in do_wait().

2013-10-04 Thread Al Viro
On Sat, Oct 05, 2013 at 01:53:26PM +0800, Chen Gang wrote: > If failure occurs after called read_lock(), need call read_unlock() too. > > It can fail in multiple position, so add new tag 'fail_lock' for it > (also can let 'if' only content one jump statement). You know, this is getting too freque

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-04 Thread Michal Simek
On 10/05/2013 01:50 AM, H. Peter Anvin wrote: > On 10/04/2013 04:33 PM, Greg Kroah-Hartman wrote: >> >> Ideally I thought this would be just like "firmware", you dump the file >> to the FPGA, it validates it and away you go with a new image running in >> the chip. >> >> But, it sounds like this is

Re: [PATCH 2/2] mm/sparsemem: Fix a bug in free_map_bootmem when CONFIG_SPARSEMEM_VMEMMAP

2013-10-04 Thread Zhang Yanfei
Hello wanpeng, On 10/05/2013 01:54 PM, Wanpeng Li wrote: > Hi Yanfei, > On Thu, Oct 03, 2013 at 11:32:02AM +0800, Zhang Yanfei wrote: >> From: Zhang Yanfei >> >> We pass the number of pages which hold page structs of a memory >> section to function free_map_bootmem. This is right when >> !CONFIG_

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-04 Thread Michal Simek
On 10/05/2013 07:34 AM, H. Peter Anvin wrote: > I do it all the time. > > JAM/STAPL seems to me to be more used for exotic connections to serial flash > for persistent programming. ok. I expect you have any code which you are using. Why not to share it with us to see how you are using it? I wil

Re: [RFC PATCH v2 0/1] FPGA subsystem core

2013-10-04 Thread Michal Simek
On 10/05/2013 01:49 AM, Jason Gunthorpe wrote: > On Fri, Oct 04, 2013 at 04:33:41PM -0700, Greg Kroah-Hartman wrote: > >>> I agree that the firmware interface makes sense when the use of the >>> FPGA is an implementation detail in a fixed hardware configuration, >>> but that is a fairly restricted

<    1   2   3   4   5   6